• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Jar

 
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic