• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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();
 
Clowns were never meant to be THAT big! We must destroy it with this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic