• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Getting Error while runnning Session Bean Client

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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();
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic