[jboss-jira] [JBoss JIRA] (AS7-3116) implement annotations options when specifying dependencies in jboss-deployment-structure.xml

Peter Skopek (JIRA) jira-events at lists.jboss.org
Thu Jan 12 05:39:21 EST 2012


    [ https://issues.jboss.org/browse/AS7-3116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655466#comment-12655466 ] 

Peter Skopek commented on AS7-3116:
-----------------------------------

See in following server log snippet that @WebServiceProvider at class org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP is processed despite the class was ordered to not be imported in jboss-deployment-structure.xml (see comment above).


11:15:08,018 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "picketlink-sts.war"
11:22:31,125 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-5) Add Service
 id=PicketLinkSTS
 address=http://localhost:8080/picketlink-sts
 implementor=org.picketlink.identity.federation.core.wstrust.PicketLinkSTS
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={urn:picketlink:identity-federation:sts}PicketLinkSTS
 portName={urn:picketlink:identity-federation:sts}PicketLinkSTSPort
 wsdlLocation=null
 mtomEnabled=false
11:22:31,126 INFO  [org.jboss.wsf.stack.cxf.metadata.MetadataBuilder] (MSC service thread 1-5) Add Service
 id=org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP
 address=http://localhost:8080/picketlink-sts/SOAPSAMLXACMLPDP
 implementor=org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP
 invoker=org.jboss.wsf.stack.cxf.JBossWSInvoker
 serviceName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPDP
 portName={urn:picketlink:identity-federation:pdp}SOAPSAMLXACMLPort
 wsdlLocation=null
 mtomEnabled=false



                
> implement annotations options when specifying dependencies in jboss-deployment-structure.xml
> --------------------------------------------------------------------------------------------
>
>                 Key: AS7-3116
>                 URL: https://issues.jboss.org/browse/AS7-3116
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Server
>    Affects Versions: 7.1.0.Beta1b
>            Reporter: Peter Skopek
>            Assignee: Stuart Douglas
>            Priority: Critical
>             Fix For: 7.1.0.Final
>
>         Attachments: AS7-3106.patch
>
>
> Implement annotation option of dependency specification as known in MANIFEST.MF to jboss-deployment-structure.xml.
> {noformat}
> Dependencies: org.picketlink annotations
> {noformat}
> I need to specify something like this for PicketLink STS (form of web app with webservices) which has all the classes in static module in $JBOSS_HOME/modules:
> {noformat}
>  <jboss-deployment-structure>
>    <deployment>
>      <dependencies>
>        <module name="org.picketlink" annotations="true">
>          <imports>
>            <exclude path="org/picketlink/identity/federation/core/pdp/**"/>
>          </imports>
>        </module>
>     </dependencies>
>    </deployment>
>  </jboss-deployment-structure>
> {noformat}
>  
> When combining MANIFEST.MF approach and jboss-deployment-structure.xml the exclude is taken into account we end up with all endpoints of org.picketlink module instantiated which is of course wrong.
> Solution to this problem is necessary for PicketLink STS and PDP being able to deploy and function properly.  
> To be able to try this picketlink resources need to be jandexed. See attached temporary patch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list