[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5719) Deployment ordering of WAR and -ds.xml not working in JBoss-5.0 CR1

Ales Justin (JIRA) jira-events at lists.jboss.org
Fri Jul 4 08:48:58 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-5719?page=all ]

Ales Justin resolved JBAS-5719.
-------------------------------

       Resolution: Done
    Fix Version/s: JBossAS-5.0.0.CR2

Added -beans.xml in LegacyDeploymentContextComparator.

Current workaround, see deployers.xml in conf:

 <bean name="topContextComparator">
     <constructor factoryClass="org.jboss.system.deployers.LegacyDeploymentContextComparator" factoryMethod="getInstance"/>
     <property name="suffixOrder">
       <map keyClass="java.lang.String" valueClass="java.lang.Integer">
         <entry>
           <key>-beans.xml</key>
           <value>200</value>
         </entry>
       </map>
     </property>
   </bean>

> Deployment ordering of WAR and -ds.xml not working in JBoss-5.0 CR1
> -------------------------------------------------------------------
>
>                 Key: JBAS-5719
>                 URL: http://jira.jboss.com/jira/browse/JBAS-5719
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: JBossAS-5.0.0.CR1
>         Environment: JBoss-5.0 CR1 
> Windows 2003 Server
> Sun Java 1.5
>            Reporter: jaikiran pai
>         Assigned To: Ales Justin
>             Fix For: JBossAS-5.0.0.CR2
>
>         Attachments: Deployment ordering for WAR and -ds in JBoss5.0 CR1.zip
>
>
> If the server is started with a WAR and a -ds.xml file in the deploy folder, then WAR is deployed first instead of the -ds.xml. This results in the WAR deployment failing, if the WAR is dependent on the datasource to be available.

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

        



More information about the jboss-jira mailing list