[ 
https://issues.apache.org/activemq/browse/SM-1103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40590
 ] 

David Medinets commented on SM-1103:
------------------------------------

I am running into this problem while starting ServiceMix from inside Eclipse 
3.3.  

I am using C:\data\support\apache-servicemix-3.3.0.4-fuse as the home for 
ServiceMix server. Then when I start it from inside of
Eclipse, I get the following error.

Any suggestions?

Starting Apache ServiceMix ESB: 3.3.0.4-fuse

Loading Apache ServiceMix from servicemix.xml on the CLASSPATH
INFO  - ConnectorServerFactoryBean     - JMX connector available at: 
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
INFO  - JBIContainer                   - ServiceMix 3.3.0.4-fuse JBI Container 
(ServiceMix) is starting
INFO  - JBIContainer                   - For help or more informations please 
see: http://incubator.apache.org/servicemix/
INFO  - ComponentMBeanImpl             - Initializing component: 
#SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - JBIContainer                   - ServiceMix JBI Container (ServiceMix) 
started
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-bean-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-bean
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-bean-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing servicemix-bpe-3.3.0.4-fuse-installer.zip
...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-bpe
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-bpe-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-camel-3.3.0.4-fuse-installer.zip ...
INFO  - JDBCAdapterFactory             - Database driver recognized: 
[apache_derby_embedded_jdbc_driver]
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-camel
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-camel-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-cxf-bc-3.3.0.4-fuse-installer.zip ...
INFO  - LogTask                        - Logging system reconfigured using file:
file:/C:/data/support/apache-servicemix-3.3.0.4-fuse/conf/log4j.xml
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-cxf-bc
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-cxf-bc-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-cxf-se-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-cxf-se
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-cxf-se-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-drools-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-drools
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-drools-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing servicemix-eip-3.3.0.4-fuse-installer.zip
...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-eip
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-eip-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-file-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-file
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-file-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing servicemix-ftp-3.3.0.4-fuse-installer.zip
...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-ftp
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-ftp-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-http-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-http
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-http-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing servicemix-jms-3.3.0.4-fuse-installer.zip
...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-jms
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-jms-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-jsr181-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-jsr181
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-jsr181-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-lwcontainer-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the
componentservicemix-lwcontainer installation is suspended and will be resumed 
once the listed shared libraries are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-lwcontainer-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-quartz-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-quartz
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-quartz-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-saxon-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-saxon
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-saxon-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-script-3.3.0.4-fuse-installer.zip ...
WARN  - AutoDeploymentService          - Shared libraries servicemix-shared are 
not installed yet: the componentservicemix-script
installation is suspended and will be resumed once the listed shared libraries 
are installed
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-script-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-shared-3.3.0.4-fuse-installer.zip ...
INFO  - jetty                          - Logging to [EMAIL PROTECTED] via
org.apache.servicemix.http.jetty.JCLLogger
INFO  - ComponentMBeanImpl             - Starting component: servicemix-http
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-http
INFO  - ComponentMBeanImpl             - Starting component: servicemix-bpe
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-bpe
Nov 12, 2007 10:03:33 PM org.apache.ode.bpe.util.BPEProperties lookupBoolean
WARNING: UUID_USE_CONNECTOR_KEY
INFO  - ComponentMBeanImpl             - Starting component: servicemix-eip
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-eip
INFO  - ComponentMBeanImpl             - Starting component: servicemix-script
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-script
INFO  - ComponentMBeanImpl             - Starting component: servicemix-bean
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-bean
INFO  - ComponentMBeanImpl             - Starting component: servicemix-file
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-file
INFO  - ComponentMBeanImpl             - Starting component: servicemix-quartz
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-quartz
1 name = quartz.properties
INFO  - SimpleThreadPool               - Job execution threads will use class 
loader of thread: Timer-3
INFO  - QuartzScheduler                - Quartz Scheduler v.1.5.2 created.
INFO  - RAMJobStore                    - RAMJobStore initialized.
INFO  - StdSchedulerFactory            - Quartz scheduler 
'DefaultQuartzScheduler' initialized from default resource file in Quartz
package: 'quartz.properties'
INFO  - StdSchedulerFactory            - Quartz scheduler version: 1.5.2
INFO  - QuartzScheduler                - Scheduler 
DefaultQuartzScheduler_$_NON_CLUSTERED started.
INFO  - ComponentMBeanImpl             - Starting component: servicemix-cxf-se
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-cxf-se
INFO  - ComponentMBeanImpl             - Starting component: servicemix-jms
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-jms
INFO  - ComponentMBeanImpl             - Starting component: 
servicemix-lwcontainer
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-lwcontainer
INFO  - ComponentMBeanImpl             - Starting component: servicemix-drools
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-drools
INFO  - ComponentMBeanImpl             - Starting component: servicemix-jsr181
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-jsr181
INFO  - ComponentMBeanImpl             - Starting component: servicemix-ftp
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-ftp
ERROR - InstallerMBeanImpl             - Class not found: 
org.apache.servicemix.common.DefaultBootstrap
java.lang.NoClassDefFoundError: org/apache/camel/Component
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at 
org.apache.xbean.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:48)
        at 
org.apache.xbean.classloader.JarFileClassLoader$6.run(JarFileClassLoader.java:272)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.xbean.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:224)
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:200)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:186)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:165)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:326)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:515)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:314)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:251)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
ERROR - AutoDeploymentService          - Failed to update Component: 
servicemix-camel-3.3.0.4-fuse-installer.0.tmp
javax.jbi.management.DeploymentException: 
javax.jbi.management.DeploymentException: java.lang.NoClassDefFoundError:
org/apache/camel/Component
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:328)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:515)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:314)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:251)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
        at 
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.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.NoClassDefFoundError: org/apache/camel/Component
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:201)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:165)
        at 
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:326)
        ... 8 more
Caused by: java.lang.NoClassDefFoundError: org/apache/camel/Component
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at 
org.apache.xbean.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:48)
        at 
org.apache.xbean.classloader.JarFileClassLoader$6.run(JarFileClassLoader.java:272)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.xbean.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:224)
        at 
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:200)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at 
org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:186)
        ... 10 more
INFO  - ComponentMBeanImpl             - Starting component: servicemix-saxon
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-saxon
INFO  - ComponentMBeanImpl             - Starting component: servicemix-cxf-bc
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-cxf-bc
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-shared-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-truezip-3.3.0.4-fuse-installer.zip ...
INFO  - ComponentMBeanImpl             - Starting component: servicemix-truezip
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-truezip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-truezip-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-wsn2005-3.3.0.4-fuse-installer.zip ...
INFO  - ComponentMBeanImpl             - Starting component: servicemix-wsn2005
INFO  - ComponentMBeanImpl             - Initializing component: 
servicemix-wsn2005
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-wsn2005-3.3.0.4-fuse-installer.zip
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: 
processing
servicemix-xmpp-3.3.0.4-fuse-installer.zip ...
INFO  - ComponentMBeanImpl             - Starting component: servicemix-xmpp
INFO  - ComponentMBeanImpl             - Initializing component: servicemix-xmpp
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished 
installation of archive:
servicemix-xmpp-3.3.0.4-fuse-installer.zip



> Class not found (org.apache.camel.Component) while starting servicemix-camel 
> component
> --------------------------------------------------------------------------------------
>
>                 Key: SM-1103
>                 URL: https://issues.apache.org/activemq/browse/SM-1103
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-camel
>    Affects Versions: 3.2
>            Reporter: Gert Vanthienen
>
> servicemix-camel fails with new build from trunk (revision 584233)
> {code}
> ERROR - InstallerMBeanImpl             - Class not found: 
> org.apache.servicemix.common.DefaultBootstrap
> java.lang.NoClassDefFoundError: org/apache/camel/Component
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>         at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>         at 
> org.apache.xbean.classloader.JarFileClassLoader.access$200(JarFileClassLoader.java:48)
>         at 
> org.apache.xbean.classloader.JarFileClassLoader$6.run(JarFileClassLoader.java:272)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> org.apache.xbean.classloader.JarFileClassLoader.findClass(JarFileClassLoader.java:224)
>         at 
> org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:200)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at 
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.activateComponent(InstallerMBeanImpl.java:186)
>         at 
> org.apache.servicemix.jbi.framework.InstallerMBeanImpl.install(InstallerMBeanImpl.java:165)
>         at 
> org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:326)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingComponents(AutoDeploymentService.java:515)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateSharedLibrary(AutoDeploymentService.java:314)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:251)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$2(AutoDeploymentService.java:623)
>         at 
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
>         at java.util.TimerThread.mainLoop(Timer.java:512)
>         at java.util.TimerThread.run(Timer.java:462)
> {code}

-- 
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