aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Getting Error while runnning Session Bean Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getting Error while runnning Session Bean Client " Watch "Getting Error while runnning Session Bean Client " New topic
Author

Getting Error while runnning Session Bean Client

chandra reddy
Greenhorn

Joined: Apr 11, 2007
Posts: 10
Hi folks,

I am wondering some body would help me to come out from my issue.

I written a simple EJB state less session bean application,i did buil by using the weblogic builder,deplyed in weblogic successfully.

But when ever i am running the client i am getting the folloing error (Even though i have putted the corresponding jar in the classpath that is weblogic.jar):
"java.lang.InternalError: error initializing kernel caused by: java.lang.NoClassD
efFoundError: weblogic.management.configuration.KernelMBean"

Please help me to resolve issue.


Thanks,
Chandra.
John Gregory
Ranch Hand

Joined: Oct 05, 2006
Posts: 118
Chandra,

Not sure if anyone's responded or you figured this out yet, but
after you do your getRemoteHome needs a bit of modification:

Object o = ic.lookup("jndiName");
MyRemoteHome home = PortableRemoteObject.narrow(o, MyRemoteHome.class);

Then you can do:
MyRemote = home.create();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Error while runnning Session Bean Client