[weld-issues] [JBoss JIRA] Closed: (WELDX-45) Incorrect detection of Tomcat

Matija Mazi (JIRA) jira-events at lists.jboss.org
Tue Apr 13 12:11:25 EDT 2010


     [ https://jira.jboss.org/jira/browse/WELDX-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matija Mazi closed WELDX-45.
----------------------------

    Resolution: Done
      Assignee: Matija Mazi


This is now changed due to changes in WELDX-23 and WELDX-84. The message in Tomcat 7 now reads:

INFO: No supported servlet container detected, JSR-299 injection will NOT be available in Servlets, Filters etc.

Due to major changes between Tomcat 6 and Tomcat 7, servlet injection must be implemented differently in Tomcat 7 and is yet to be done.

> Incorrect detection of Tomcat
> -----------------------------
>
>                 Key: WELDX-45
>                 URL: https://jira.jboss.org/jira/browse/WELDX-45
>             Project: Weld Extensions
>          Issue Type: Bug
>          Components: Servlet Containers
>    Affects Versions: Servlet Containers 1.0.0.CR2
>         Environment: Windows, Tomcat 7.0.0 from trunk, Weld Servlet 1.0.0.CR1
>            Reporter: Daniel Munzinger
>            Assignee: Matija Mazi
>            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