• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Jar  RSS feed

 
Sreedevi Vinod
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to access an EJB deployed on a remote machine from my enterprise application. I have the EJB jar accessible to my client's service locator.
The EJB jar uses utility classes from certain utility jars which are packaged inside the EJB jar itself. The manifest file within the EJB jar refers to these utility jars. The EJB access is happening, but a NoClassDefFoundError is getting thrown by the client stub because these utility classes are not found. How should I package the EJB jar in such a way that these utility classes can be accessed by the client stubs of the beans?

Thanks,
Devi
 
Nithya Subramanian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Pls check the format of the MANIFEST.MF file. the first character for the classpath entry should always be a blank space. THere cannot be more than a certain number of characters in one line. If you have all the names of the utility jars inthe same line, they wont be read.YOu can have them in multiple lines.

Am not sure this is the problem, but worth a try

Nithya
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!