From: Ryan H. <rh...@is...> - 2003-03-26 19:46:24
|
I am using JBoss 3.0.6 with Tomcat and I put classpath entries in the manifest file for each of my wars in my ear. These entries denote jars inside the ear. Everything is working fine for me. -- Ryan Hoegg ISIS Networks http://www.isisnetworks.net Dan Durkin wrote: >I was hoping someone could clear this up. > >I've seen in the forums and on the list people mention that you can >specify classpath dependencies of ejb jars and wars within ear archives >by putting Class-path entries in the MANIFEST.MF file of the war or ear. > >The ejb jar works fine and finds several other library jars packaged in >the ear. > >The war however doesn't seem to pick up any Class-Path references from >the manifest. > >I looked in the jmx-console for the classpath of the webcontext and it >only contained references to the directory where jetty upacked the war. > >This isn't a huge deal as you can put any needed jars in the WEB-INF/lib >directory and they're picked up find but I just thought that manifest >entries were ok for wars and that this allowed you to deploy a single >copy of a library jar and access it from ejbs and servlets. > >I'm using 3.2.0RC4( standard with jetty ) > >Dan > |