dcsimg
Classpath Prblem in JBOSS - Sequence of jar files in the classpath
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhishek_Arun
Posted On:   Tuesday, April 5, 2005 09:18 AM

Hi All, We have a J2EE application deployed on JBOSS 4.0.0 on Solaris 8. The site starts properly without error. However we are facing problems in the way the jar files put in the lib folder is interpreted by JBOSS. Ideally the sequence/order of jar files should be alphabetically. This is the way it works on Windows environment also. Since this(sequence/order of jar files) is not happening in JBOSS on Solaris few of the overriden classes (packged in side the jar) don't appear in the classpath. Hence the application doesn't work as it supposed to. Any help/pointers is most welcomed. Nirmalya    More>>

Hi All,


We have a J2EE application deployed on JBOSS 4.0.0 on Solaris 8.
The site starts properly without error.
However we are facing problems in the way the jar files put in the lib folder is interpreted by JBOSS.
Ideally the sequence/order of jar files should be alphabetically.
This is the way it works on Windows environment also.
Since this(sequence/order of jar files) is not happening in JBOSS on Solaris few of the overriden classes (packged in side the jar) don't appear in the classpath.
Hence the application doesn't work as it supposed to.

Any help/pointers is most welcomed.

Nirmalya

   <<Less

Re: Classpath Prblem in JBOSS - Sequence of jar files in the classpath

Posted By:   Anonymous  
Posted On:   Tuesday, April 5, 2005 10:13 AM

You can control this explicitly by defining the class path that JBoss should search. A better way, though, is to use manifests in packaging your JARs. Manipulating your server classpath is inefficient and error prone.
About | Sitemap | Contact