You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by ma...@uk.bnpparibas.com on 2008/01/16 18:27:37 UTC

HelloWorld problem with 3.2.1

hello all,
 i followed tutorial for HelloWorld ServiceEngine  here 
http://servicemix.apache.org/hello-world-se.html


i have replaced the version with 3.2.1, as it i sthe latest i have

however, after deploying components on servicemix, i got this problem..

ERROR - InstallerMBeanImpl             - Class not found: 
org.apache.servicemix
samples.helloworld.se.MyBootstrap
java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.se.M
Bootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBootstra

        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR - InstallationService            - Deployment of Component failed
javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundException: org
apache.servicemix.samples.helloworld.se.MyBootstrap in classloader 
org.apache.s
rvicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - JDBCAdapterFactory             - Database driver recognized: 
[apache_de
by_embedded_jdbc_driver]
WARN  - EnvironmentContext             - Failed to remove directory 
structure f
r component [version]: hello-world-se [hello-world-se]
ERROR - AutoDeploymentService          - Failed to update Component: 
hello-worl
-se
javax.jbi.management.DeploymentException: 
javax.jbi.management.DeploymentExcept
on: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.
e.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBoot
trap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
WARN  - AutoDeploymentService          - Directory: hotdeploy: Automatic 
instal
 of 
C:\apache-servicemix-3.2.1\hotdeploy\hello-world-se-1.0-SNAPSHOT-installer.
ip failed
javax.jbi.management.DeploymentException: Failed to update Component: 
hello-wor
d-se
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:300)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
javax.jbi.management.Deplo
mentException: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.
elloworld.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworl
..se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        ... 6 more
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - LogTask                        - Logging system reconfigured using 
file
 file:/C:/apache-servicemix-3.2.1/conf/log4j.xml



i suspect i have to go back to 3.1.2..... ?

regards
        marco


This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


Re: AW: HelloWorld problem with 3.2.1

Posted by Bruce Snyder <br...@gmail.com>.
On Jan 17, 2008 8:40 AM,  <ma...@uk.bnpparibas.com> wrote:
> Bruce
>     do we nee dto get latest version, as i was using the one that came
> with official release 3.2.1 and it complained......

Yeah, I just looked and this appears to be an issue in the 3.2 branch.
Please file a JIRA issue about it and I'll fix it so it will make it
into a 3.2.2 release.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: AW: HelloWorld problem with 3.2.1

Posted by ma...@uk.bnpparibas.com.
Bruce
    do we nee dto get latest version, as i was using the one that came 
with official release 3.2.1 and it complained......

regards
 marco



Internet
bruce.snyder@gmail.com

17/01/2008 15:27
Please respond to
users@servicemix.apache.org


To
users
cc

Subject
Re: AW: HelloWorld problem with 3.2.1






On Jan 17, 2008 2:06 AM,  <ma...@uk.bnpparibas.com> wrote:
> hello,
>   will certainly do it as soon as i go thru it :)

I've updated the tutorial to upgrade the version numbers and explain
that the Bootstrap class is no longer needed.

Bruce
-- 
perl -e 'print 
unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/



This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


Re: AW: HelloWorld problem with 3.2.1

Posted by Bruce Snyder <br...@gmail.com>.
On Jan 17, 2008 2:06 AM,  <ma...@uk.bnpparibas.com> wrote:
> hello,
>   will certainly do it as soon as i go thru it :)

I've updated the tutorial to upgrade the version numbers and explain
that the Bootstrap class is no longer needed.

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Re: AW: HelloWorld problem with 3.2.1

Posted by ma...@uk.bnpparibas.com.
hello,
  will certainly do it as soon as i go thru it :)

regards
  marco



Internet
gnodet@gmail.com

16/01/2008 19:21
Please respond to
users@servicemix.apache.org


To
users
cc

Subject
Re: AW: HelloWorld problem with 3.2.1






Any help for updating the tutorial is welcome ;-)
You should be able to update it by clicking on the "edit" link at the 
bottom
of the page if you want to do so.

On Jan 16, 2008 6:57 PM, <ma...@uk.bnpparibas.com> wrote:

> Hello,
>   yes that what i guessed... thx for confirming that
>
> Bruce (Snyder) reply to one of my mail mentioning that in 3.2.1 
bootstrap
> is not needed.... i'd probably have tob uild from sources........
>
> yep got that feeling (tutorial not up to date)  too.......
>
> anyway, the great victories are all obtained thru suffering :))
>
> regards
>  marco
>
>
>
> Internet
> Roland.Sperl@METAFINANZ.DE
>
> 16/01/2008 17:43
> Please respond to
> users@servicemix.apache.org
>
>
> To
> users
> cc
>
> Subject
> AW: HelloWorld problem with 3.2.1
>
>
>
>
>
>
> Hello Marco,
>
> nice to hear from you again! ;-) I think I could help you.
>
> If you replace this version number the Bootstrap.class would not be
> generated. Leave the old version number (3.1.2) and you get what you 
want.
> It compiles and could be deployed.
>
> I have the feeling that much more changed with version 3.2.1 and the
> tutorials are not up to date at the moment.
>
> Regards
> Roland
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: marco.mistroni@uk.bnpparibas.com
> [mailto:marco.mistroni@uk.bnpparibas.com]
> Gesendet: Mittwoch, 16. Januar 2008 18:28
> An: users@servicemix.apache.org
> Betreff: HelloWorld problem with 3.2.1
>
> hello all,
>  i followed tutorial for HelloWorld ServiceEngine  here
> http://servicemix.apache.org/hello-world-se.html
>
>
> i have replaced the version with 3.2.1, as it i sthe latest i have
>
> however, after deploying components on servicemix, i got this problem..
>
> ERROR - InstallerMBeanImpl             - Class not found:
> org.apache.servicemix
> samples.helloworld.se.MyBootstrap
> java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.helloworld.se.M
> Bootstrap in classloader
> org.apache.servicemix.samples.helloworld.se.MyBootstra
>
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> ERROR - InstallationService            - Deployment of Component failed
> javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundException: org
> apache.servicemix.samples.helloworld.se.MyBootstrap in classloader
> org.apache.s
> rvicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> INFO  - JDBCAdapterFactory             - Database driver recognized:
> [apache_de
> by_embedded_jdbc_driver]
> WARN  - EnvironmentContext             - Failed to remove directory
> structure f
> r component [version]: hello-world-se [hello-world-se]
> ERROR - AutoDeploymentService          - Failed to update Component:
> hello-worl
> -se
> javax.jbi.management.DeploymentException:
> javax.jbi.management.DeploymentExcept
> on: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.helloworld.
> e.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se.MyBoot
> trap
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:456)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundExc
> ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in
> classloader o
> g.apache.servicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        ... 10 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> WARN  - AutoDeploymentService          - Directory: hotdeploy: Automatic
> instal
>  of
> 
C:\apache-servicemix-3.2.1\hotdeploy\hello-world-se-1.0-SNAPSHOT-installer
> .
> ip failed
> javax.jbi.management.DeploymentException: Failed to update Component:
> hello-wor
> d-se
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:300)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.management.DeploymentException:
> javax.jbi.management.Deplo
> mentException: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.
> elloworld.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworl
> ..se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:456)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        ... 6 more
> Caused by: javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundExc
> ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in
> classloader o
> g.apache.servicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        ... 10 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> INFO  - LogTask                        - Logging system reconfigured 
using
>
> file
>  file:/C:/apache-servicemix-3.2.1/conf/log4j.xml
>
>
>
> i suspect i have to go back to 3.1.2..... ?
>
> regards
>        marco
>
>
> This communication is confidential, may be privileged and is meant only
> for the intended recipient.  If you are
> not the intended recipient, please notify the sender by reply and delete
> this message from your system.  Any
> unauthorised dissemination, distribution or copying hereof is 
prohibited.
>
> BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
> Limited, BNP Paribas UK Limited,
> BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited 
are
> authorised and regulated by
> the Financial Services Authority.
>
> BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private 
Bank
> are authorised by the CECEI
> and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
> London Branch and BNP Paribas
> Private Bank London Branch are regulated by the Financial Services
> Authority for the conduct of their UK
> business.  BNP Paribas Securities Services London Branch is also a 
member
> of the London Stock Exchange.
>
>
>
> This communication is confidential, may be privileged and is meant only
> for the intended recipient.  If you are
> not the intended recipient, please notify the sender by reply and delete
> this message from your system.  Any
> unauthorised dissemination, distribution or copying hereof is 
prohibited.
>
> BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
> Limited, BNP Paribas UK Limited,
> BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited 
are
> authorised and regulated by
> the Financial Services Authority.
>
> BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private 
Bank
> are authorised by the CECEI
> and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
> London Branch and BNP Paribas
> Private Bank London Branch are regulated by the Financial Services
> Authority for the conduct of their UK
> business.  BNP Paribas Securities Services London Branch is also a 
member
> of the London Stock Exchange.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/



This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


Re: AW: HelloWorld problem with 3.2.1

Posted by Guillaume Nodet <gn...@gmail.com>.
Any help for updating the tutorial is welcome ;-)
You should be able to update it by clicking on the "edit" link at the bottom
of the page if you want to do so.

On Jan 16, 2008 6:57 PM, <ma...@uk.bnpparibas.com> wrote:

> Hello,
>   yes that what i guessed... thx for confirming that
>
> Bruce (Snyder) reply to one of my mail mentioning that in 3.2.1 bootstrap
> is not needed.... i'd probably have tob uild from sources........
>
> yep got that feeling (tutorial not up to date)  too.......
>
> anyway, the great victories are all obtained thru suffering :))
>
> regards
>  marco
>
>
>
> Internet
> Roland.Sperl@METAFINANZ.DE
>
> 16/01/2008 17:43
> Please respond to
> users@servicemix.apache.org
>
>
> To
> users
> cc
>
> Subject
> AW: HelloWorld problem with 3.2.1
>
>
>
>
>
>
> Hello Marco,
>
> nice to hear from you again! ;-) I think I could help you.
>
> If you replace this version number the Bootstrap.class would not be
> generated. Leave the old version number (3.1.2) and you get what you want.
> It compiles and could be deployed.
>
> I have the feeling that much more changed with version 3.2.1 and the
> tutorials are not up to date at the moment.
>
> Regards
> Roland
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: marco.mistroni@uk.bnpparibas.com
> [mailto:marco.mistroni@uk.bnpparibas.com]
> Gesendet: Mittwoch, 16. Januar 2008 18:28
> An: users@servicemix.apache.org
> Betreff: HelloWorld problem with 3.2.1
>
> hello all,
>  i followed tutorial for HelloWorld ServiceEngine  here
> http://servicemix.apache.org/hello-world-se.html
>
>
> i have replaced the version with 3.2.1, as it i sthe latest i have
>
> however, after deploying components on servicemix, i got this problem..
>
> ERROR - InstallerMBeanImpl             - Class not found:
> org.apache.servicemix
> samples.helloworld.se.MyBootstrap
> java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.helloworld.se.M
> Bootstrap in classloader
> org.apache.servicemix.samples.helloworld.se.MyBootstra
>
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> ERROR - InstallationService            - Deployment of Component failed
> javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundException: org
> apache.servicemix.samples.helloworld.se.MyBootstrap in classloader
> org.apache.s
> rvicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> INFO  - JDBCAdapterFactory             - Database driver recognized:
> [apache_de
> by_embedded_jdbc_driver]
> WARN  - EnvironmentContext             - Failed to remove directory
> structure f
> r component [version]: hello-world-se [hello-world-se]
> ERROR - AutoDeploymentService          - Failed to update Component:
> hello-worl
> -se
> javax.jbi.management.DeploymentException:
> javax.jbi.management.DeploymentExcept
> on: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.helloworld.
> e.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se.MyBoot
> trap
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:456)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundExc
> ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in
> classloader o
> g.apache.servicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        ... 10 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> WARN  - AutoDeploymentService          - Directory: hotdeploy: Automatic
> instal
>  of
> C:\apache-servicemix-3.2.1\hotdeploy\hello-world-se-1.0-SNAPSHOT-installer
> .
> ip failed
> javax.jbi.management.DeploymentException: Failed to update Component:
> hello-wor
> d-se
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:300)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
> ve(AutoDeploymentService.java:249)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
> ctory(AutoDeploymentService.java:647)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
> AutoDeploymentService.java:60)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
> eploymentService.java:611)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
> Caused by: javax.jbi.management.DeploymentException:
> javax.jbi.management.Deplo
> mentException: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.
> elloworld.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworl
> ..se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:456)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
> onent(InstallationService.java:429)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
> ive(InstallationService.java:380)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.install(Inst
> llationService.java:306)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
> nent(AutoDeploymentService.java:289)
>        ... 6 more
> Caused by: javax.jbi.management.DeploymentException:
> java.lang.ClassNotFoundExc
> ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in
> classloader o
> g.apache.servicemix.samples.helloworld.se.MyBootstrap
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:127)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
> erMBeanImpl.java:68)
>        at
> org.apache.servicemix.jbi.framework.InstallationService.initializeIn
> taller(InstallationService.java:447)
>        ... 10 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.servicemix.samples.hell
> world.se.MyBootstrap in classloader
> org.apache.servicemix.samples.helloworld.se
> MyBootstrap
>        at
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
> rentClassLoader.java:206)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>        at
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
> p(InstallerMBeanImpl.java:120)
>        ... 12 more
> INFO  - LogTask                        - Logging system reconfigured using
>
> file
>  file:/C:/apache-servicemix-3.2.1/conf/log4j.xml
>
>
>
> i suspect i have to go back to 3.1.2..... ?
>
> regards
>        marco
>
>
> This communication is confidential, may be privileged and is meant only
> for the intended recipient.  If you are
> not the intended recipient, please notify the sender by reply and delete
> this message from your system.  Any
> unauthorised dissemination, distribution or copying hereof is prohibited.
>
> BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
> Limited, BNP Paribas UK Limited,
> BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
> authorised and regulated by
> the Financial Services Authority.
>
> BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank
> are authorised by the CECEI
> and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
> London Branch and BNP Paribas
> Private Bank London Branch are regulated by the Financial Services
> Authority for the conduct of their UK
> business.  BNP Paribas Securities Services London Branch is also a member
> of the London Stock Exchange.
>
>
>
> This communication is confidential, may be privileged and is meant only
> for the intended recipient.  If you are
> not the intended recipient, please notify the sender by reply and delete
> this message from your system.  Any
> unauthorised dissemination, distribution or copying hereof is prohibited.
>
> BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK
> Limited, BNP Paribas UK Limited,
> BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are
> authorised and regulated by
> the Financial Services Authority.
>
> BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank
> are authorised by the CECEI
> and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services
> London Branch and BNP Paribas
> Private Bank London Branch are regulated by the Financial Services
> Authority for the conduct of their UK
> business.  BNP Paribas Securities Services London Branch is also a member
> of the London Stock Exchange.
>
>


-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Re: AW: HelloWorld problem with 3.2.1

Posted by ma...@uk.bnpparibas.com.
Hello,
   yes that what i guessed... thx for confirming that

Bruce (Snyder) reply to one of my mail mentioning that in 3.2.1 bootstrap 
is not needed.... i'd probably have tob uild from sources........

yep got that feeling (tutorial not up to date)  too.......

anyway, the great victories are all obtained thru suffering :))

regards
  marco



Internet
Roland.Sperl@METAFINANZ.DE

16/01/2008 17:43
Please respond to
users@servicemix.apache.org


To
users
cc

Subject
AW: HelloWorld problem with 3.2.1






Hello Marco,

nice to hear from you again! ;-) I think I could help you.

If you replace this version number the Bootstrap.class would not be 
generated. Leave the old version number (3.1.2) and you get what you want.
It compiles and could be deployed.

I have the feeling that much more changed with version 3.2.1 and the 
tutorials are not up to date at the moment.

Regards
Roland



-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com 
[mailto:marco.mistroni@uk.bnpparibas.com] 
Gesendet: Mittwoch, 16. Januar 2008 18:28
An: users@servicemix.apache.org
Betreff: HelloWorld problem with 3.2.1

hello all,
 i followed tutorial for HelloWorld ServiceEngine  here 
http://servicemix.apache.org/hello-world-se.html


i have replaced the version with 3.2.1, as it i sthe latest i have

however, after deploying components on servicemix, i got this problem..

ERROR - InstallerMBeanImpl             - Class not found: 
org.apache.servicemix
samples.helloworld.se.MyBootstrap
java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.se.M
Bootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBootstra

        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR - InstallationService            - Deployment of Component failed
javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundException: org
apache.servicemix.samples.helloworld.se.MyBootstrap in classloader 
org.apache.s
rvicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - JDBCAdapterFactory             - Database driver recognized: 
[apache_de
by_embedded_jdbc_driver]
WARN  - EnvironmentContext             - Failed to remove directory 
structure f
r component [version]: hello-world-se [hello-world-se]
ERROR - AutoDeploymentService          - Failed to update Component: 
hello-worl
-se
javax.jbi.management.DeploymentException: 
javax.jbi.management.DeploymentExcept
on: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.
e.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBoot
trap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
WARN  - AutoDeploymentService          - Directory: hotdeploy: Automatic 
instal
 of 
C:\apache-servicemix-3.2.1\hotdeploy\hello-world-se-1.0-SNAPSHOT-installer.
ip failed
javax.jbi.management.DeploymentException: Failed to update Component: 
hello-wor
d-se
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:300)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
javax.jbi.management.Deplo
mentException: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.
elloworld.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworl
..se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        ... 6 more
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - LogTask                        - Logging system reconfigured using 

file
 file:/C:/apache-servicemix-3.2.1/conf/log4j.xml



i suspect i have to go back to 3.1.2..... ?

regards
        marco


This communication is confidential, may be privileged and is meant only 
for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete 
this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK 
Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are 
authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank 
are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services 
London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services 
Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member 
of the London Stock Exchange.



This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.


AW: HelloWorld problem with 3.2.1

Posted by Roland Sperl <Ro...@METAFINANZ.DE>.
Hello Marco,

nice to hear from you again! ;-) I think I could help you.

If you replace this version number the Bootstrap.class would not be generated. Leave the old version number (3.1.2) and you get what you want.
It compiles and could be deployed.

I have the feeling that much more changed with version 3.2.1 and the tutorials are not up to date at the moment.

Regards
Roland



-----Ursprüngliche Nachricht-----
Von: marco.mistroni@uk.bnpparibas.com [mailto:marco.mistroni@uk.bnpparibas.com] 
Gesendet: Mittwoch, 16. Januar 2008 18:28
An: users@servicemix.apache.org
Betreff: HelloWorld problem with 3.2.1

hello all,
 i followed tutorial for HelloWorld ServiceEngine  here 
http://servicemix.apache.org/hello-world-se.html


i have replaced the version with 3.2.1, as it i sthe latest i have

however, after deploying components on servicemix, i got this problem..

ERROR - InstallerMBeanImpl             - Class not found: 
org.apache.servicemix
samples.helloworld.se.MyBootstrap
java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.se.M
Bootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBootstra

        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR - InstallationService            - Deployment of Component failed
javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundException: org
apache.servicemix.samples.helloworld.se.MyBootstrap in classloader 
org.apache.s
rvicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - JDBCAdapterFactory             - Database driver recognized: 
[apache_de
by_embedded_jdbc_driver]
WARN  - EnvironmentContext             - Failed to remove directory 
structure f
r component [version]: hello-world-se [hello-world-se]
ERROR - AutoDeploymentService          - Failed to update Component: 
hello-worl
-se
javax.jbi.management.DeploymentException: 
javax.jbi.management.DeploymentExcept
on: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.helloworld.
e.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se.MyBoot
trap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
WARN  - AutoDeploymentService          - Directory: hotdeploy: Automatic 
instal
 of 
C:\apache-servicemix-3.2.1\hotdeploy\hello-world-se-1.0-SNAPSHOT-installer.
ip failed
javax.jbi.management.DeploymentException: Failed to update Component: 
hello-wor
d-se
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:300)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArch
ve(AutoDeploymentService.java:249)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDir
ctory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800
AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(Auto
eploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: 
javax.jbi.management.Deplo
mentException: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.
elloworld.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworl
..se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:456)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallCom
onent(InstallationService.java:429)
        at 
org.apache.servicemix.jbi.framework.InstallationService.doInstallArc
ive(InstallationService.java:380)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(Inst
llationService.java:306)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComp
nent(AutoDeploymentService.java:289)
        ... 6 more
Caused by: javax.jbi.management.DeploymentException: 
java.lang.ClassNotFoundExc
ption: org.apache.servicemix.samples.helloworld.se.MyBootstrap in 
classloader o
g.apache.servicemix.samples.helloworld.se.MyBootstrap
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:127)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.<init>(Instal
erMBeanImpl.java:68)
        at 
org.apache.servicemix.jbi.framework.InstallationService.initializeIn
taller(InstallationService.java:447)
        ... 10 more
Caused by: java.lang.ClassNotFoundException: 
org.apache.servicemix.samples.hell
world.se.MyBootstrap in classloader 
org.apache.servicemix.samples.helloworld.se
MyBootstrap
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiP
rentClassLoader.java:206)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.createBootstr
p(InstallerMBeanImpl.java:120)
        ... 12 more
INFO  - LogTask                        - Logging system reconfigured using 
file
 file:/C:/apache-servicemix-3.2.1/conf/log4j.xml



i suspect i have to go back to 3.1.2..... ?

regards
        marco


This communication is confidential, may be privileged and is meant only for the intended recipient.  If you are 
not the intended recipient, please notify the sender by reply and delete this message from your system.  Any 
unauthorised dissemination, distribution or copying hereof is prohibited.

BNP Paribas Fund Services UK Limited, BNP Paribas Trust Corporation UK Limited, BNP Paribas UK Limited, 
BNP Paribas Commodity Futures Ltd and Investment Fund Services Limited are authorised and regulated by 
the Financial Services Authority.

BNP Paribas, BNP Paribas Securities Services and BNP Paribas Private Bank are authorised by the CECEI 
and AMF.  BNP Paribas London Branch, BNP Paribas Securities Services London Branch and BNP Paribas 
Private Bank London Branch are regulated by the Financial Services Authority for the conduct of their UK 
business.  BNP Paribas Securities Services London Branch is also a member of the London Stock Exchange.