[jboss-jira] [JBoss JIRA] Resolved: (JBAS-8940) OSGi webapps processed by web subsystem

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Mar 11 04:17:45 EST 2011


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

Thomas Diesler resolved JBAS-8940.
----------------------------------

    Fix Version/s: 7.0.0.Beta1
       Resolution: Done


DUPs that are not targeted for OSGi bundle deployments must ignore these. The recommended approach is 
        if(deploymentUnit.hasAttachment(Attachments.OSGI_MANIFEST))
   return;

For this to work the OSGi Manifest processor must come early in the processing chain. I changed the order to

    public static final int STRUCTURE_MOUNT                             = 0x0000;
    public static final int STRUCTURE_MANIFEST                          = 0x0100;
    public static final int STRUCTURE_OSGI_MANIFEST                     = 0x0200;
    public static final int STRUCTURE_RAR                               = 0x0300;
    public static final int STRUCTURE_WAR_DEPLOYMENT_INIT               = 0x0400;
...


> OSGi webapps processed by web subsystem
> ---------------------------------------
>
>                 Key: JBAS-8940
>                 URL: https://issues.jboss.org/browse/JBAS-8940
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: 7.0.0.Beta1
>
>
> OSGi webapps should be treated as bundles and processed by the OSGi subsystem

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list