You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2007/10/04 13:48:23 UTC

[jira] Created: (SM-1085) Additional geronimo deployment plan support

Additional geronimo deployment plan support
-------------------------------------------

                 Key: SM-1085
                 URL: https://issues.apache.org/activemq/browse/SM-1085
             Project: ServiceMix
          Issue Type: New Feature
          Components: geronimo
            Reporter: Kristian Koehler
         Attachments: geronimo-plugin.patch

Hi

the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.

Sample geronimo-jbi.xml:

<sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
  <ger:environment>
    <ger:moduleId>
      <ger:groupId>servicemix-components</ger:groupId>
      <ger:artifactId>servicemix-camel</ger:artifactId>
      <ger:version>0.0</ger:version>
      <ger:type>car</ger:type>
    </ger:moduleId>
    <ger:dependencies>
      <ger:dependency>
        <ger:groupId>org.apache.camel</ger:groupId>
        <ger:artifactId>camel-core</ger:artifactId>
        <ger:version>1.1.0</ger:version>
        <ger:type>jar</ger:type>
        <ger:import>classes</ger:import>
      </ger:dependency>
    </ger:dependencies>
    <ger:hidden-classes/>
    <ger:non-overridable-classes/>
  </ger:environment>
</sjbi:jbi>

Currently only environment entries are supported.

Kristian

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


[jira] Updated: (SM-1085) Additional geronimo deployment plan support

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Koehler updated SM-1085:
---------------------------------

    Attachment: geronimo-servicemix-deployer-patch.patch

here is the new version.

the new files are listed twice... not shure if this is correct....

Let me know if you have any problems.... ;-)

Kristian

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>         Attachments: geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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


[jira] Commented: (SM-1085) Additional geronimo deployment plan support

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40446 ] 

Guillaume Nodet commented on SM-1085:
-------------------------------------

Sending        platforms/geronimo/deployer-service/pom.xml
Adding         platforms/geronimo/deployer-service/src/main/java/org/apache/servicemix/geronimo/DeploymentPlanWrapper.java
Sending        platforms/geronimo/deployer-service/src/main/java/org/apache/servicemix/geronimo/ServiceMixConfigBuilder.java
Adding         platforms/geronimo/deployer-service/src/main/xsd
Adding         platforms/geronimo/deployer-service/src/main/xsd/geronimo-jbi-1.0.xsd
Adding         platforms/geronimo/deployer-service/src/main/xsdconfig
Adding         platforms/geronimo/deployer-service/src/main/xsdconfig/xmlconfig.xml
Adding         platforms/geronimo/deployer-service/src/test
Adding         platforms/geronimo/deployer-service/src/test/java
Adding         platforms/geronimo/deployer-service/src/test/java/org
Adding         platforms/geronimo/deployer-service/src/test/java/org/apache
Adding         platforms/geronimo/deployer-service/src/test/java/org/apache/servicemix
Adding         platforms/geronimo/deployer-service/src/test/java/org/apache/servicemix/geronimo
Adding         platforms/geronimo/deployer-service/src/test/java/org/apache/servicemix/geronimo/DeploymentPlanWrapperTest.java
Adding         platforms/geronimo/deployer-service/src/test/resources
Adding         platforms/geronimo/deployer-service/src/test/resources/geronimo-jbi.xml
Transmitting file data .......
Committed revision 586952.

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>         Attachments: another-patch.patch, geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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


[jira] Commented: (SM-1085) Additional geronimo deployment plan support

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40417 ] 

Guillaume Nodet commented on SM-1085:
-------------------------------------

I have been able to apply the patch, but i have the following error:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The plugin 'org.codehaus.mojo:xmlbeans-maven-plugin' does not exist or no valid version could be found
[INFO] ------------------------------------------------------------------------

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>         Attachments: geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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


[jira] Updated: (SM-1085) Additional geronimo deployment plan support

Posted by "Kristian Koehler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Koehler updated SM-1085:
---------------------------------

    Attachment: another-patch.patch

this is a problem with the geronimo version, i think.

in the top level pom geronimo 1.2-SNAPSHOT is referenced.

I'm specifying 2.0.1 in my local pom under platforms/geronimo. 
The attached patch includes this.

Kristian

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>         Attachments: another-patch.patch, geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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


AW: [jira] Resolved: (SM-1085) Additional geronimo deployment plan support

Posted by Kristian Köhler <Kr...@dmc.de>.
Hi Guillaume

looks ok for me. Thanks!

Kristian

> -----Ursprüngliche Nachricht-----
> Von: Guillaume Nodet (JIRA) [mailto:jira@apache.org]
> Gesendet: Sonntag, 21. Oktober 2007 22:42
> An: servicemix-dev@geronimo.apache.org
> Betreff: [jira] Resolved: (SM-1085) Additional geronimo 
> deployment plan
> support
> 
> 
> 
>      [ 
> https://issues.apache.org/activemq/browse/SM-1085?page=com.atl
assian.jira.plugin.system.issuetabpanels:all-> tabpanel ]
> 
> Guillaume Nodet resolved SM-1085.
> ---------------------------------
> 
>        Resolution: Fixed
>     Fix Version/s: 3.2
> 
> Kristian, given the problems I had, it would be nice if you 
> could check if the commit is ok for you.
> 
> > Additional geronimo deployment plan support
> > -------------------------------------------
> >
> >                 Key: SM-1085
> >                 URL: 
> https://issues.apache.org/activemq/browse/SM-1085
> >             Project: ServiceMix
> >          Issue Type: New Feature
> >          Components: geronimo
> >            Reporter: Kristian Koehler
> >             Fix For: 3.2
> >
> >         Attachments: another-patch.patch, 
> geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
> >
> >
> > Hi
> > the attached patch includes an optional geronimo deployment 
> plan for jbi deployment units. with this patch it's possible 
> to deploy servicemix deployment units and specified 
> additional dependencies. For example if you tried to deploy 
> the camel service unit an ClassNotFound exception is thrown 
> because the class org/apache/camel/Component isn't part of 
> the deployment unit. With the patch it's possible to 
> sepcified the neccessary dependency.
> > Sample geronimo-jbi.xml:
> > <sjbi:jbi 
> xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" 
> xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
> >   <ger:environment>
> >     <ger:moduleId>
> >       <ger:groupId>servicemix-components</ger:groupId>
> >       <ger:artifactId>servicemix-camel</ger:artifactId>
> >       <ger:version>0.0</ger:version>
> >       <ger:type>car</ger:type>
> >     </ger:moduleId>
> >     <ger:dependencies>
> >       <ger:dependency>
> >         <ger:groupId>org.apache.camel</ger:groupId>
> >         <ger:artifactId>camel-core</ger:artifactId>
> >         <ger:version>1.1.0</ger:version>
> >         <ger:type>jar</ger:type>
> >         <ger:import>classes</ger:import>
> >       </ger:dependency>
> >     </ger:dependencies>
> >     <ger:hidden-classes/>
> >     <ger:non-overridable-classes/>
> >   </ger:environment>
> > </sjbi:jbi>
> > Currently only environment entries are supported.
> > Kristian
> 
> -- 
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
> 
> 

[jira] Resolved: (SM-1085) Additional geronimo deployment plan support

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved SM-1085.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2

Kristian, given the problems I had, it would be nice if you could check if the commit is ok for you.

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>             Fix For: 3.2
>
>         Attachments: another-patch.patch, geronimo-plugin.patch, geronimo-servicemix-deployer-patch.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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


[jira] Commented: (SM-1085) Additional geronimo deployment plan support

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40410 ] 

Guillaume Nodet commented on SM-1085:
-------------------------------------

I've tried to apply your patch, but it seems to have become out of sync with the current trunk.
Could you try to update it wrt to the latest trunk so that we can include it before the 3.2 release?

> Additional geronimo deployment plan support
> -------------------------------------------
>
>                 Key: SM-1085
>                 URL: https://issues.apache.org/activemq/browse/SM-1085
>             Project: ServiceMix
>          Issue Type: New Feature
>          Components: geronimo
>            Reporter: Kristian Koehler
>         Attachments: geronimo-plugin.patch
>
>
> Hi
> the attached patch includes an optional geronimo deployment plan for jbi deployment units. with this patch it's possible to deploy servicemix deployment units and specified additional dependencies. For example if you tried to deploy the camel service unit an ClassNotFound exception is thrown because the class org/apache/camel/Component isn't part of the deployment unit. With the patch it's possible to sepcified the neccessary dependency.
> Sample geronimo-jbi.xml:
> <sjbi:jbi xmlns:sjbi="http://servicemix.apache.org/xml/ns/jbi-1.0" xmlns:ger="http://geronimo.apache.org/xml/ns/deployment-1.2">
>   <ger:environment>
>     <ger:moduleId>
>       <ger:groupId>servicemix-components</ger:groupId>
>       <ger:artifactId>servicemix-camel</ger:artifactId>
>       <ger:version>0.0</ger:version>
>       <ger:type>car</ger:type>
>     </ger:moduleId>
>     <ger:dependencies>
>       <ger:dependency>
>         <ger:groupId>org.apache.camel</ger:groupId>
>         <ger:artifactId>camel-core</ger:artifactId>
>         <ger:version>1.1.0</ger:version>
>         <ger:type>jar</ger:type>
>         <ger:import>classes</ger:import>
>       </ger:dependency>
>     </ger:dependencies>
>     <ger:hidden-classes/>
>     <ger:non-overridable-classes/>
>   </ger:environment>
> </sjbi:jbi>
> Currently only environment entries are supported.
> Kristian

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