[jboss-jira] [JBoss JIRA] Commented: (JBAS-8403) <service-ref> element specified in jboss-web.xml is ignored for annotation driven servlets

Richard Opalka (JIRA) jira-events at lists.jboss.org
Tue Sep 14 06:58:12 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550757#action_12550757 ] 

Richard Opalka commented on JBAS-8403:
--------------------------------------

I confirm that if there's now web.xml in .war then JBossWebAppParsingDeployer isn't executed at all (although there's jboss-web.xml provided) :(
I was playing little bit with JBossWebAppParsingDeployer inputs (no success). This deployer should be executed even if there's no web.xml.

> <service-ref>  element specified in jboss-web.xml is ignored for annotation driven servlets
> -------------------------------------------------------------------------------------------
>
>                 Key: JBAS-8403
>                 URL: https://jira.jboss.org/browse/JBAS-8403
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service
>            Reporter: Richard Opalka
>            Assignee: Remy Maucherat
>            Priority: Blocker
>             Fix For: 6.0.0.CR1
>
>         Attachments: jaxws-jbws3123.ear, working-jaxws-jbws3123.ear
>
>
> I have Servlet 3 spec. compliant servlet that injects Web Service references.
> I provide jboss-web.xml to override some runtime data (wsdl-location namely).
> However this jboss-web.xml provided file seems ignored.
> I was debugging this problem and I found that 
> org.jboss.web.deployers.WarAnnotationMetaDataDeployer
> creates JBossWebMetaData that are later used for Web Service References injection.
> What I'm missing is some "merge" code that will override WarAnnotationMetaDataDeployer
> provided JBossWebMetaData with JBossWebMetaData specified in jboss-web.xml

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

        


More information about the jboss-jira mailing list