[ 
https://issues.apache.org/activemq/browse/SM-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated SM-807:
-------------------------------

    Fix Version/s:     (was: 3.1)
                   3.2

> Add jboss-service.xml to servicemix component so they can be properly 
> deployed in jboss.
> ----------------------------------------------------------------------------------------
>
>                 Key: SM-807
>                 URL: https://issues.apache.org/activemq/browse/SM-807
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-assembly, servicemix-audit, servicemix-bpe, 
> servicemix-common, servicemix-components, servicemix-core, servicemix-drools, 
> servicemix-eip, servicemix-file, servicemix-ftp, servicemix-http, 
> servicemix-jbi, servicemix-jms, servicemix-jsr181, servicemix-lwcontainer, 
> servicemix-quartz, servicemix-saxon, servicemix-sca, servicemix-script, 
> servicemix-soap, servicemix-wsn2005
>    Affects Versions: 3.1
>         Environment: JBoss 4.0.5 GA
>            Reporter: Eric Dofonsou
>             Fix For: 3.2
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> Right now there are no dependencies set on the servicemix components to 
> ensure that they are loaded after the servicemix deployer.  This can cause 
> bugs when the component are deployed before the servicemix deployer, and thus 
> are not handled by servicemix (and therefore not available).
> The fix for this is do include a dependence in the META-INF/jboss-service.xml 
> of the component .zip file. here is the content of the file :
> ---------
> <?xml version="1.0" encoding="UTF-8"?>
> <server>
>       <depends>org.servicemix:service=Deployer</depends>
> </server>
> ---------
> PS : The servicemix-http component already has a jboss-web.xml see issue 
> (SM-584) file this should be deleted and the content of the new 
> jboss-service.xml file should now be :
> ---------
> <server>
>   <class-loading>
>     <loader-repository>
>       org.apache.commons.httpclient:loader=commons-httpclient-3.0.jar
>     </loader-repository>
>   </class-loading>
> <depends>org.servicemix:service=Deployer</depends>
> </server>
> -----------
> Eric,

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to