[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
Mon Sep 13 09:58:12 EDT 2010
[ https://jira.jboss.org/browse/JBAS-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550544#action_12550544 ]
Richard Opalka commented on JBAS-8403:
--------------------------------------
I'll give it a try on tomorrow (quite late here now) - I'll debug it further.
But IMHO the problem will be somewhere in JBoss Web (I might be wrong of course).
I think so because I provided you two ears. One with annotation driven servlet
and one with web.xml driven metadata. There's no other difference there.
The WebMetaData and JBossWebMetaData merge code doesn't execute
for annotation driven servlet.
Are you sure annotation driven metadata are bound to the same key in deploymentUnit
like metadata created from web.xml? Also ordering of deployers might be problem here.
Is JBossWebMetaData deployer executed after both web.xml deployer and servlet annotations deployer?
> <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