File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Problem with startup class in weblogic 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with startup class in weblogic 6.0" Watch "Problem with startup class in weblogic 6.0" New topic
Author

Problem with startup class in weblogic 6.0

Deepak Tiwari
Greenhorn

Joined: Jul 11, 2001
Posts: 3
I am trying to include a startup class which was earliar working for weblogic 4.5.1 in weblogic 6.0 config.xml but the server is complaining for
java.rmi.server.ExportException: A description for com.smeloan.applicationPageHashImpl was found but it could not be read due to: [Failed to find com.smeloan.applicationPageHashImpl_WLStub or com.smeloan.applicationPageHash_WLStub
Now this is a very strange problem as this is a simple java startup (class com.smeloan.applicationPageHashImpl ) which is working fine in weblogic 4.5.1 but here it's creating problems....
Benjamin Bonnet
Greenhorn

Joined: Jul 11, 2001
Posts: 1
Hi,
Your class is not as simple. It looks like a rmi server that is created and bound into the naming service at start-up. The exception you get occurs because weblogic cannot find the stub correspunding to your object.
In order to solve that problem, you should run rmic on your rmi server before trying to deploy it and/or check weblogic classpath
Regards
Deepak Tiwari
Greenhorn

Joined: Jul 11, 2001
Posts: 3
Hi banjamin,
Thanx for the reply it ur suggestion helped me a ot but I still could'nt figure out ur comment on checking my weblogic path .What exactly do I set in my weblogic 6.0 path so that it automatically does a rmic on the required classes,in case u meant something else pls do let me know.
Thanx again for the help...

Deepak

Originally posted by Benjamin Bonnet:
Hi,
Your class is not as simple. It looks like a rmi server that is created and bound into the naming service at start-up. The exception you get occurs because weblogic cannot find the stub correspunding to your object.
In order to solve that problem, you should run rmic on your rmi server before trying to deploy it and/or check weblogic classpath
Regards

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Problem with startup class in weblogic 6.0