首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > Ruby Rails >

<ERROR> [net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider

2012-07-20 
ERROR [net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider (init:在linux环境下部署一

<ERROR> [net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider (init:
在linux环境下部署一套已经开发好了的应用程序,发布好应用程序包和配置好数据源。访问应用程序的时候抛出以下异常信息。这里信息很让人恼火。都不知道从那里去查找原因。围绕这个问题纠结了一个星期。还是没能出来。 今天无意中在网上搜索解决方法的时候发现一类似的错误信息,有一哥们就提出将电脑连上网络再试试。当时觉得这哥们是在瞎扯,难道我不联网就不能开发了吗?怀着试试的态度将linux虚拟机连上网络。测试,结果异常没有了。

当时郁闷的是我在不同的虚拟机上也部署了一套应用程序,那台虚拟机没有是自动获取的ip,结果部署成功运行正常;我的虚拟机是设的固定ip,运行一老不错。真的恼火。当初怎么就没有想到是联网的问题呢?


[23:38 04/13] - Error starting heartbeat. Error was: No such device
java.net.SocketException: No such device
        at java.net.PlainDatagramSocketImpl.join(Native Method)
        at java.net.PlainDatagramSocketImpl.join(PlainDatagramSocketImpl.java:134)
        at java.net.MulticastSocket.joinGroup(MulticastSocket.java:274)
        at net.sf.ehcache.distribution.MulticastKeepaliveHeartbeatReceiver.init(MulticastKeepaliveHeartbeatReceiver.java:72)
        at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:88)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:204)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:157)
        at cn.softsz.mobile.cp.bizz.UserRegistry.<clinit>(UserRegistry.java:21)
        at cn.softsz.mobile.cp.bizz.AbstractProcessor.<init>(AbstractProcessor.java:10)
        at cn.softsz.mobile.cp.bizz.AbstractLocalProcessor.<init>(AbstractLocalProcessor.java:19)
        at cn.softsz.mobile.cp.bizz.LoginProcessor.<init>(LoginProcessor.java:29)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.handle(ProcessorHandle.java:71)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.excute(ProcessorHandle.java:32)
        at userinter.UserInterBean.unifiedCall(UserInterBean.java:47)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
[23:38 04/13] - Exception:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.reflect.InvocationTargetException
faultActor: null
faultDetail:
        stackTrace: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ExceptionInInitializerError
        at cn.softsz.mobile.cp.bizz.AbstractProcessor.&lt;init&gt;(AbstractProcessor.java:10)
        at cn.softsz.mobile.cp.bizz.AbstractLocalProcessor.&lt;init&gt;(AbstractLocalProcessor.java:19)
        at cn.softsz.mobile.cp.bizz.LoginProcessor.&lt;init&gt;(LoginProcessor.java:29)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.handle(ProcessorHandle.java:71)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.excute(ProcessorHandle.java:32)
        at userinter.UserInterBean.unifiedCall(UserInterBean.java:47)
        ... 26 more
Caused by: net.sf.ehcache.CacheException: No such device
        at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:92)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:204)
        at net.sf.ehcache.CacheManager.&lt;init&gt;(CacheManager.java:157)
        at cn.softsz.mobile.cp.bizz.UserRegistry.&lt;clinit&gt;(UserRegistry.java:21)
        ... 32 more


java.lang.reflect.InvocationTargetException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:280)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        ... 19 more
Caused by: java.lang.ExceptionInInitializerError
        at cn.softsz.mobile.cp.bizz.AbstractProcessor.<init>(AbstractProcessor.java:10)
        at cn.softsz.mobile.cp.bizz.AbstractLocalProcessor.<init>(AbstractLocalProcessor.java:19)
        at cn.softsz.mobile.cp.bizz.LoginProcessor.<init>(LoginProcessor.java:29)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.handle(ProcessorHandle.java:71)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.excute(ProcessorHandle.java:32)
        at userinter.UserInterBean.unifiedCall(UserInterBean.java:47)
        ... 26 more
Caused by: net.sf.ehcache.CacheException: No such device
        at net.sf.ehcache.distribution.MulticastRMICacheManagerPeerProvider.init(MulticastRMICacheManagerPeerProvider.java:92)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:204)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:157)
        at cn.softsz.mobile.cp.bizz.UserRegistry.<clinit>(UserRegistry.java:21)
        ... 32 more
[23:50 04/13] - <?xml version="1.0" encoding="GB2312"?>
<REQUEST>
        <DISPATCHER>
                <VERSION>2.0</VERSION>

                <REQU_ID>101440100170130</REQU_ID>

                <RESP_ID>201440100234000</RESP_ID>

        </DISPATCHER>

        <CONTENT>
                <COMMAND>LOGIN</COMMAND>

                <SERVERENCODING>DEFAULT</SERVERENCODING>

                <ENCODING>GB2312</ENCODING>

                <VERSION>2.0</VERSION>

                <QUERYID>87654321</QUERYID>

                <TERMID>2CAF2CB75AFB75AF2</TERMID>

                <USER>jht</USER>

                <PASSWD>123</PASSWD>

                <CFGVERSION>20100125172607</CFGVERSION>

        </CONTENT>

</REQUEST>

[23:50 04/13] - Exception:
AxisFault
faultCode: {http://xml.apache.org/axis/}Server.userException
faultString: java.lang.reflect.InvocationTargetException
faultActor: null
faultDetail:
        stackTrace: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NoClassDefFoundError
        at cn.softsz.mobile.cp.bizz.AbstractProcessor.&lt;init&gt;(AbstractProcessor.java:10)
        at cn.softsz.mobile.cp.bizz.AbstractLocalProcessor.&lt;init&gt;(AbstractLocalProcessor.java:19)
        at cn.softsz.mobile.cp.bizz.LoginProcessor.&lt;init&gt;(LoginProcessor.java:29)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.handle(ProcessorHandle.java:71)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.excute(ProcessorHandle.java:32)
        at userinter.UserInterBean.unifiedCall(UserInterBean.java:47)
        ... 26 more


java.lang.reflect.InvocationTargetException
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:120)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:280)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:437)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:316)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:701)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:335)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:372)
        at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:292)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:276)
        ... 19 more
Caused by: java.lang.NoClassDefFoundError
        at cn.softsz.mobile.cp.bizz.AbstractProcessor.<init>(AbstractProcessor.java:10)
        at cn.softsz.mobile.cp.bizz.AbstractLocalProcessor.<init>(AbstractLocalProcessor.java:19)
        at cn.softsz.mobile.cp.bizz.LoginProcessor.<init>(LoginProcessor.java:29)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.handle(ProcessorHandle.java:71)
        at cn.softsz.mobile.cp.bizz.ProcessorHandle.excute(ProcessorHandle.java:32)
        at userinter.UserInterBean.unifiedCall(UserInterBean.java:47)
        ... 26 more

热点排行