[JBoss-dev] Problem with Classpath specified in manifest.mf

Galder Zamarreno galder.zamarreno at redhat.com
Mon Mar 30 03:13:30 EDT 2009


Sandesh,

What part of Jaikiran's reply didn't you understand? ;)

Quote:

This list is for discussion related to JBoss development. Questions like 
these are better answered in the user forums 
http://www.jboss.org/index.html?module=bb&op=main&c=5 :)

Since this question relates to configuration/deployment, please create a 
new topic at the "Installation, Configuration & Deployment forum" 
http://www.jboss.org/index.html?module=bb&op=viewforum&f=61

Thank you.

sandesh g wrote:
> Hi All,
> 
>           I have small issue, I added one jar in system classpath of JBoss
> server (ie added to JBOSS_CLASSPATH in run.bat) say mycp.jar. In my jar file
> there is a manifest.mf file and I specified the classpath in Manifest file
> as below e.g.:
> Class-Path: ./regexp.jar ./xmlapi.jar ./cloudscape.jar
> 
> My application refers to classes in these jar files. But it looks like it
> does not get the classes specified in jars which are added to classpath in
> manifest.mf (NoClassDefFoundError for these classes).
> If I specify these jars in jboss-service.xml instead then everythig works
> fine.
> 
> Is there any issue in JBoss with the classpath jar entries in manifest.mf
> file?
> 
> Note: I have to put these jars in system classpath only. Our this approach
> works properly for other AppServers like Weblogic, WebSphere & Pramati.
> 
> Your help is highly appreciated!
> 
> Thanks & Regards,
> Sandesh

-- 
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat



More information about the jboss-development mailing list