[jboss-dev-forums] [Design of JBoss/Tomcat Integration] - classloader problems in doing injection framework
bill.burke@jboss.com
do-not-reply at jboss.com
Mon Aug 7 19:45:10 EDT 2006
I'm having a classloader problem when implimenting the EE5 injection framework. Maybe this will go away with JBoss 5, I don't know.
here's the description:
Before the WebModule is created and registered with the kernel, I want to scan web.xml and all servlet classes so that I can create a dependency list and register it with the kernel. To do this, I need access to the class so that I can scan it.
One scenario I found that shows up with the Web Services SAR is that there is a WAR that does not contain the servlet class that is defined in its web.xml. This class is in another JAR file at the same SAR level as the WAR and is not being resolved. I'm guessing that the WAR is being deployed before the JAR file which is why the class is not being found.
Am I diagnosing this problem correctly? I thought JARs were deployed before WARs for nested deployments?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3963680#3963680
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3963680
More information about the jboss-dev-forums
mailing list