• Post Reply Bookmark Topic Watch Topic
  • New Topic

connecting to weblogic 4.5--- urgent

 
seetarama raju
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can somebody please help me soon, as this is very urgent for me. actually when iam trying to connect to a weblogic 4.5 instance, it is giving a class not found exception, even though the jar file in my class path has the home interface stub.
the following is the error.
java.lang.ClassNotFoundException: com.strong.rtp.server.RTPClientBeanHomeImpl_ServiceStub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at weblogic.common.internal.TengahClassLoaders.loadClass(TengahClassLoaders.java:71)
at weblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.java:63)
at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:236)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:190)
at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:943)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:292)
at weblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInputStream2.java:22)
at weblogic.jndi.WLContext_WLStub.lookup(WLContext_WLStub.java:196)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.strong.crd.domain.common.CRDRTPHelpertest.getPrice(CRDRTPHelpertest.java:95)
at com.strong.crd.domain.common.CRDRTPHelpertest.getRTPPrice(CRDRTPHelpertest.java:33)
at com.strong.crd.domain.common.testRTPloader.main(testRTPloader.java:29)
javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: Could not instantiate new instance of [com.strong.rtp.server.RTPClientBeanHomeImpl_ServiceStub]
Either the class is missing from classpath, the class does not have a public constructor, or the constructor raised an error; the actual exception was a : java.lang.ClassNotFoundException:
at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjectInputStreamBase.java:239)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObjectInputStreamBase.java:190)
at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectInputStreamBase.java:943)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjectInputStreamBase.java:292)
at weblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInputStream2.java:22)
at weblogic.jndi.WLContext_WLStub.lookup(WLContext_WLStub.java:196)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.strong.crd.domain.common.CRDRTPHelpertest.getPrice(CRDRTPHelpertest.java:95)
at com.strong.crd.domain.common.CRDRTPHelpertest.getRTPPrice(CRDRTPHelpertest.java:33)
at com.strong.crd.domain.common.testRTPloader.main(testRTPloader.java:29)
--------------- nested within: ------------------
weblogic.rmi.UnmarshalException: Unmarshalling return
- with nested exception:
[java.lang.ClassNotFoundException: Could not instantiate new instance of [com.strong.rtp.server.RTPClientBeanHomeImpl_ServiceStub]
Either the class is missing from classpath, the class does not have a public constructor, or the constructor raised an error; the actual exception was a : java.lang.ClassNotFoundException:
at weblogic.jndi.WLContext_WLStub.lookup(WLContext_WLStub.java:200)
at weblogic.jndi.toolkit.WLContextStub.lookup(WLContextStub.java:545)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at com.strong.crd.domain.common.CRDRTPHelpertest.getPrice(CRDRTPHelpertest.java:95)
at com.strong.crd.domain.common.CRDRTPHelpertest.getRTPPrice(CRDRTPHelpertest.java:33)
at com.strong.crd.domain.common.testRTPloader.main(testRTPloader.java:29)
---
can somebody help me with this please
thanks
 
Dave Landers
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put the stubs in your client jar
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!