[weld-issues] [JBoss JIRA] Created: (WELD-240) Incorrect detection of Tomcat

Daniel Munzinger (JIRA) jira-events at lists.jboss.org
Fri Oct 30 10:13:05 EDT 2009


Incorrect detection of Tomcat
-----------------------------

                 Key: WELD-240
                 URL: https://jira.jboss.org/jira/browse/WELD-240
             Project: Weld
          Issue Type: Bug
          Components: Web Tier integration (JSF, JSP, EL and Servlet) 
    Affects Versions: 1.0.0.CR1
         Environment: Windows, Tomcat 7.0.0 from trunk, Weld Servlet 1.0.0.CR1
            Reporter: Daniel Munzinger
            Priority: Minor


I've been playing around with the Tomcat 7 development stream from SVN trunk when I came across this litte message:

"JSR-299 injection will not be available in Servlets, Filters etc. This facility is only available in Tomcat"

I managed to locate the source of this message at org.jboss.weld.environment.servlet.Listener:114 when calling
Reflections.classForName("org.apache.AnnotationProcessor");

This class is not present in the current code base which makes "tomcat = false" and Weld thinks that there is no tomcat.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list