[jboss-jira] [JBoss JIRA] (WFLY-3067) Annotations from .ear/lib are not visible to DUPs when processing subdeployments

Kyle Lape (JIRA) issues at jboss.org
Tue Mar 4 21:41:33 EST 2014


Kyle Lape created WFLY-3067:
-------------------------------

             Summary: Annotations from .ear/lib are not visible to DUPs when processing subdeployments
                 Key: WFLY-3067
                 URL: https://issues.jboss.org/browse/WFLY-3067
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Class Loading
    Affects Versions: 8.0.0.Final
            Reporter: Kyle Lape
            Assignee: David Lloyd


Sample use case:  You have a .war in an .ear, and the .war has a web.xml with a {{<servlet-class>}} that refers to a JAX-WS endpoint, so the class is annotated with {{@WebService}}.  If that class is packaged in a jar found in the ear's lib directory, the JBossWS DUP won't pick it up, and then Undertow will throw an error like this:

{noformat}
UT010009: Servlet ClientEndpoint of type class com.redhat.gss.jaxws.ClientEndpoint does not implement javax.servlet.Servlet
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list