You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2008/01/20 21:03:22 UTC

[jira] Resolved: (SM-1199) Current release of ServiceMix 3.2.1 (as per 2008/01/20) still required MyBootstrap class for a ServiceEngine

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

Bruce Snyder resolved SM-1199.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.2

This is just a matter of removing the reference to the {{MyBootstrap}} class from the jbi-maven-plugin configuration in the pom.xml file. 

Committed via [revision 613664|http://svn.apache.org/viewvc?view=rev&revision=613664]. 

> Current release of ServiceMix 3.2.1 (as per 2008/01/20) still required MyBootstrap class for a ServiceEngine
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: SM-1199
>                 URL: https://issues.apache.org/activemq/browse/SM-1199
>             Project: ServiceMix
>          Issue Type: Bug
>            Reporter: Marco Mistroni
>            Assignee: Bruce Snyder
>             Fix For: 3.2.2
>
>
> While using this command for creating a serviceEngine
> mvn archetype:create \
> -DarchetypeGroupId=org.apache.servicemix.tooling \
> -DarchetypeArtifactId=servicemix-service-engine \
> -DarchetypeVersion=3.2.1 \
> -DgroupId=org.apache.servicemix.samples.helloworld.se \
> -DartifactId=hello-world-se
> does not create a  MyBootstrap class, once you deploy your serviceEngine onto servicemix 3.2.1, servicemix will look for MyBootstrap class and it will result in the following exception (as an example)
> Caused by: java.lang.ClassNotFoundException: org.apache.servicemix.tutorial.MyBo
> otstrap in classloader org.apache.servicemix.tutorial.MyBootstrap
>         at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiPa
> rentClassLoader.java:206)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstra
> p(InstallerMBeanImpl.java:120)
>         ... 12 more

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