-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Karan,
On 6/30/2009 3:12 AM, k...@dossier.no wrote: > Loading of jar files under WEB-INF/lib/a_foolder/*.jar wont work. On JBoss > 5.0.1GA this works fine but > The tomcat class loader cant load thease files. Tomcat is following the servlet specification, which does not have any provisions for subdirectories within WEB-INF/lib. JBoss is operating outside the servlet specification in order to support this. > Thease jar files (WEB-INF/lib/a_foolder/*.jar) is referenced from the > main.jar file (WEB-INF/lib/main.jar) manifest: > > WEB-INF/lib/main.jar/META-INF/MANIFEST.MF: > > /WEB-INF/lib/a_folder/cxf-rt-frontend-jaxws-2.2.jar > /a_folder/geronimo-ws-metadata_2.0_spec-1.1.2.jar A JAR file's manifest isn't used for any class loading operations, unless the JAR file is being "run" by the JVM such as "java -jar [jarfile]" and the MANIFEST.MF file contains a "Class-Path" entry. The contents of your MANIFEST.MF file are not relevant. > I have also tried with prefix without any success, > WEB-INF/lib/a_folder/cxf-rt-frontend-jaxws-2.2.jar > WEB-FIN/lib/a_folder/geronimo-ws-metadata_2.0_spec-1.1.2.jar > > Dosnt tomcat support loading of jar libs within a folder in WEB-INF/lib ? No. If you must have subdirectories within your WEB-INF/lib, you can either attempt to configure Tomcat's class loaders to do that (I'm not sure how that would be done) or you can write your own ClassLoader and use /that/ for your webapp. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkpKNlgACgkQ9CaO5/Lv0PB6jwCgqPdUOpEVa5JYKkmD+SyrxkY+ 7IUAniOVjinJSx7Nd43VpMbjE4F6lOv4 =loFf -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org