I think I already answered your question. AFAIK, if you include your servlets in a jar in WEB-INF/lib then they will be loaded by the War (i.e. the WebAppClassLoader) classloader. If you put your servlets in a jar and put that jar at the ear level, the only way your WebAppClassLoader will use them is if you add a 'Class-Path' entry to your war's MANIFEST.MF file. I am not 100% on the latter as I have never tested it.
The real questions is why you would want to do this. Servlet classes are only relavant in a war. If there are Servlets that you want to share between war's JBoss does that by default (unless your deployment is isolated.) Please let me know if this solves your problem, or if the later works. Later, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946796#3946796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946796 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
