[2018-01-10 08:50:18] [ERROR] [net.sf.ehcache.distribution.RMICacheManagerPeerListener:330] Exception starting RMI registry. Error was Port already in use: 40001; nested exception is:
java.net.BindException: 地址已在使用
java.rmi.server.ExportException: Port already in use: 40001; nested exception is:
java.net.BindException: 地址已在使用
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:340)
at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:248)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:122)
at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:108)
at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
at net.sf.ehcache.distribution.RMICacheManagerPeerListener.startRegistry(RMICacheManagerPeerListener.java:326)
at net.sf.ehcache.distribution.RMICacheManagerPeerListener.init(RMICacheManagerPeerListener.java:205)
at net.sf.ehcache.event.CacheManagerEventListenerRegistry.init(CacheManagerEventListenerRegistry.java:104)
at net.sf.ehcache.CacheManager.init(CacheManager.java:365)
at net.sf.ehcache.CacheManager.<init>(CacheManager.java:299)
at net.sf.ehcache.CacheManager.create(CacheManager.java:697)
at org.jeecgframework.core.util.EhcacheUtil.<clinit>(EhcacheUtil.java:20)
at org.jeecgframework.web.system.manager.ClientManager.addClientToCachedMap(ClientManager.java:42)
at org.jeecgframework.web.system.manager.ClientManager.addClinet(ClientManager.java:82)
at org.jeecgframework.web.system.controller.core.LoginController.saveLoginSuccessInfo(LoginController.java:223)
at org.jeecgframework.web.system.controller.core.LoginController.checkuser(LoginController.java:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)