aspose file tools*
The moose likes Websphere and the fly likes Classpath problem � jar files not recognized from EAR in Websphere Application Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Classpath problem � jar files not recognized from EAR in Websphere Application Server" Watch "Classpath problem � jar files not recognized from EAR in Websphere Application Server" New topic
Author

Classpath problem � jar files not recognized from EAR in Websphere Application Server

Lavanya Pervela
Greenhorn

Joined: May 02, 2006
Posts: 1
Hi All,
I am using Websphere Application Server V6.0 (Admin Console) for my application. While deploying the application, I am getting classpath problems. All the required .jar files are present in the .ear. I have five EJB modules which are dependent on each other and some utility jar files.I have mentioned all the required .jar files in the META-INF\MANIFEST.MF file of web-module. I am getting NoClassDefFoundError. If I am copying all the .jar files into the Application server's lib, then my application is working fine.

Are there any options to be made through the console? I tried changing the classloader mode option in admin console from PARENT_FIRST to PARENT_LAST. But this did not work.


I have tried all the options but not loading the .jar files from the application.

Please help on the same.


Thanks in advance,
Lavanya
Pratik Lohia
Ranch Hand

Joined: May 05, 2005
Posts: 88
CAN YOU POST THE MANIFEST FILE?

remember that a manifest file is recognised only with 80 character lines
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Classpath problem � jar files not recognized from EAR in Websphere Application Server