• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh


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?

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

I need a new interior decorator. This tiny ad just painted every room in my house purple.
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic