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?
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