1 Reply Latest reply: Jul 5, 2013 4:32 AM by PhHein RSS

    i have problem in ejb 3 . i m run ejb 3 in weblogic 10.3 and struts in tomcat. i m call ejb remote from tomcat.

    Goud

      plz help any one solving this problem

       

       

      Im run ejb 3 in  weblogic 10.3 and struts 1.2 in tomcat. i m call remote class from tomcat. i m get class not found exception. i place wlfullclient.jar

       

       

       

      Jul 2, 2013 1:24:14 PM org.apache.catalina.core.StandardWrapperValve invoke

      SEVERE: Servlet.service() for servlet action threw exception

      java.lang.ClassNotFoundException: ejb3.onlyejb.Int6_cls

          at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)

          at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)

          at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)

          at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)

          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:597)

          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)

          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)

          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)

          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

          at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)

          at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)

          at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)

          at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)

          at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)

          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)

          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

          at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)

          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)

          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)

          at javax.naming.InitialContext.lookup(InitialContext.java:392)

          at ejb3.onlywed.Action_cls.execute(Action_cls.java:62)

          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

          at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:619)

      Jul 2, 2013 1:24:21 PM org.apache.catalina.core.ApplicationContext log

      INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'

      Jul 2, 2013 1:24:21 PM org.apache.catalina.core.ApplicationContext log

      INFO: HTMLManager: init: Global resources are available

      Jul 2, 2013 1:24:21 PM org.apache.catalina.core.ApplicationContext log

      INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

      accno=77

      na=nj

      bal=88.0

      enter in to if loop

      jndi properties nuderprocess

      jndi properties nuderprocess22

      loading p file={java.naming.provider.url=t3://localhost:7001, java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory}

      loading p file over=javax.naming.InitialContext@725967

      jndi file is  loaded

      entry in try block

      Jul 2, 2013 1:24:42 PM org.apache.catalina.core.StandardWrapperValve invoke

      SEVERE: Servlet.service() for servlet action threw exception

      java.lang.ClassNotFoundException: ejb3.onlyejb.Int6_cls

          at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.getClassBytes(RemoteBizIntfClassLoader.java:151)

          at weblogic.ejb.container.deployer.RemoteBizIntfClassLoader.loadClass(RemoteBizIntfClassLoader.java:96)

          at weblogic.ejb.container.internal.RemoteBusinessIntfGenerator.generateRemoteInterface(RemoteBusinessIntfGenerator.java:54)

          at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.readObject(RemoteBusinessIntfProxy.java:205)

          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:597)

          at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)

          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1846)

          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

          at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1945)

          at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1869)

          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)

          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)

          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)

          at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)

          at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:564)

          at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)

          at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)

          at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)

          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)

          at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)

          at weblogic.jndi.internal.ServerNamingNode_1030_WLStub.lookup(Unknown Source)

          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:392)

          at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:380)

          at javax.naming.InitialContext.lookup(InitialContext.java:392)

          at ejb3.onlywed.Action_cls.execute(Action_cls.java:62)

          at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)

          at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)

          at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)

          at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

          at java.lang.Thread.run(Thread.java:619)