Hi,
I have deployed my
ejb's on one weblogic server. I have a client (
servlets) running on another weblogic server. The client machine has a jar which contains the Home and the Remote Interfaces of the beans that are deployed on the main server hosting the ejb's. However, I get the following exception when i try to access the beans on the server from the client.
=================================================================
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: class com.opus.epg.useraccess.AdminSystemBeanHomeImpl_ServiceStub previously not found]
at weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(BasicWLContext_WLStub.java:256)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.opus.epg.classes.utils.EpgApplicationContext.lookup(EpgApplicationContext.java:161)
at com.opus.epg.classes.wi.EpgNavigationController.getInstance(EpgNavigationController.java:110)
at com.opus.epg.servlets.wi.EpgControllerServlet.init(EpgControllerServlet.java:48)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:390)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:349)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:338)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:164)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:99)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:247)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
=================================================================
I turned on the "-verbose" option while running the server. I find that the class AdminSystemHome is not being loaded. I have placed the jar containing the Home and the remote interfaces in the weblogic\myserver\serverclasses directory and specified path in the weblogic classpath .
Could anyone please shed some light on the possible solution?
Thanks in advance.
Ashutosh