Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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();
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic