2 Replies Latest reply: Aug 9, 2013 8:43 AM by Ricardo Ferreira-Oracle RSS

    coherence on jboss

    1010032

      I am able to get the code running as a standalone java program. when deployed the same with coherence.jar on the jboss. I am getting the following exception. any ideas?

       

      21:44:48,409 ERROR [org.apache.axis2.rpc.receivers.RPCMessageReceiver] (http-localhost-127.0.0.1-8080-1) Exception occurred while trying to invoke service method null: org.apache.axis2.AxisFault: (Wrapped) null

        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.util.Utils.createServiceObject(Utils.java:777) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.receivers.AbstractMessageReceiver.makeNewServiceObject(AbstractMessageReceiver.java:245) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.receivers.AbstractMessageReceiver.getTheImplementationObject(AbstractMessageReceiver.java:282) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:78) [axis2-adb-1.6.2.jar:1.6.2]

        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) [axis2-transport-http-1.6.2.jar:]

        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) [axis2-transport-http-1.6.2.jar:]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

        at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]

      Caused by: (Wrapped) java.lang.reflect.InvocationTargetException

        at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)

        at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)

        at com.tangosol.net.CacheFactory.getCluster(CacheFactory.java:401)

        at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:421)

        at com.apple.exad.aoscontacts.utils.cache.impl.CoherenceCacheUtil.<init>(CoherenceCacheUtil.java:34)

        at com.apple.exad.aoscontacts.AOSContactOptions.<init>(AOSContactOptions.java:40)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [classes.jar:1.6.0_35]

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [classes.jar:1.6.0_35]

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [classes.jar:1.6.0_35]

        at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [classes.jar:1.6.0_35]

        at java.lang.Class.newInstance0(Class.java:355) [classes.jar:1.6.0_35]

        at java.lang.Class.newInstance(Class.java:308) [classes.jar:1.6.0_35]

        at org.apache.axis2.util.Utils$8.run(Utils.java:768) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:132) [axis2-kernel-1.6.2.jar:1.6.2]

        at org.apache.axis2.util.Utils.createServiceObject(Utils.java:765) [axis2-kernel-1.6.2.jar:1.6.2]

        ... 23 more

      Caused by: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [classes.jar:1.6.0_35]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [classes.jar:1.6.0_35]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [classes.jar:1.6.0_35]

        at java.lang.reflect.Method.invoke(Method.java:597) [classes.jar:1.6.0_35]

        at com.tangosol.net.CacheFactory.getCluster(CacheFactory.java:397)

        ... 35 more

      Caused by: java.lang.NoClassDefFoundError: sun/rmi/server/MarshalInputStream

        at java.lang.ClassLoader.defineClass1(Native Method) [classes.jar:1.6.0_35]

        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [classes.jar:1.6.0_35]

        at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [classes.jar:1.6.0_35]

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [classes.jar:1.6.0_35]

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [classes.jar:1.6.0_35]

        at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [classes.jar:1.6.0_35]

        at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [classes.jar:1.6.0_35]

        at java.security.AccessController.doPrivileged(Native Method) [classes.jar:1.6.0_35]

        at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [classes.jar:1.6.0_35]

        at org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:82) [axis2-kernel-1.6.2.jar:1.6.2]

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [classes.jar:1.6.0_35]

        at org.apache.axis2.deployment.DeploymentClassLoader.loadClass(DeploymentClassLoader.java:277) [axis2-kernel-1.6.2.jar:1.6.2]

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [classes.jar:1.6.0_35]

        at com.tangosol.util.ExternalizableHelper.<clinit>(ExternalizableHelper.java:5103)

        at com.tangosol.run.xml.SimpleParser.instantiateDocument(SimpleParser.java:230)

        at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:179)

        at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:94)

        at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:163)

        at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:138)

        at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:177)

        at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:322)

        at com.tangosol.run.xml.XmlHelper.loadResource(XmlHelper.java:251)

        at com.tangosol.coherence.component.application.console.Coherence.loadConfiguration(Coherence.CDB:19)

        at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:13)

        at com.tangosol.coherence.component.application.console.Coherence.ensureRunningLogger(Coherence.CDB:15)

        at com.tangosol.coherence.component.application.console.Coherence.getSafeCluster(Coherence.CDB:18)

        ... 40 more

      Caused by: java.lang.ClassNotFoundException: Class Not found : sun.rmi.server.MarshalInputStream

        at org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:96) [axis2-kernel-1.6.2.jar:1.6.2]

        at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [classes.jar:1.6.0_35]

        at org.apache.axis2.deployment.DeploymentClassLoader.loadClass(DeploymentClassLoader.java:277) [axis2-kernel-1.6.2.jar:1.6.2]

        at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [classes.jar:1.6.0_35]

        ... 66 more