Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.3
-
None
Description
I got the below error when start servicemix 3.3-SNAPSHOT today latest version.
13:54:31,392 | INFO | Timer-3 | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 214 | Starting component: servicemix-wsn2005
13:54:31,393 | INFO | Timer-3 | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 191 | Initializing component: servicemix-wsn2005
13:54:31,449 | ERROR | Timer-3 | ComponentMBeanImpl | i.framework.ComponentMBeanImpl 220 | Could not start component
javax.jbi.JBIException: Error calling init
at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:199)
at org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException: Unable to create JAXB context
at org.apache.servicemix.wsn.jms.JmsPublisher.<init>(JmsPublisher.java:71)
at org.apache.servicemix.wsn.jbi.JbiPublisher.<init>(JbiPublisher.java:47)
at org.apache.servicemix.wsn.jbi.JbiNotificationBroker.createJmsPublisher(JbiNotificationBroker.java:44)
at org.apache.servicemix.wsn.jms.JmsNotificationBroker.createPublisher(JmsNotificationBroker.java:53)
at org.apache.servicemix.wsn.AbstractNotificationBroker.init(AbstractNotificationBroker.java:83)
at org.apache.servicemix.wsn.jms.JmsNotificationBroker.init(JmsNotificationBroker.java:41)
at org.apache.servicemix.wsn.component.WSNComponent.doInit(WSNComponent.java:159)
at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:190)
... 12 more
Caused by: javax.xml.bind.JAXBException
- with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader com.sun.xml.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:195)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:379)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.apache.servicemix.wsn.jms.JmsPublisher.<init>(JmsPublisher.java:69)
... 19 more
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader com.sun.xml.bind.v2.ContextFactory
at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:191)
... 23 more
13:54:31,484 | ERROR | Timer-3 | InstallationService | .framework.InstallationService 340 | Failed to start Component: servicemix-wsn2005
javax.jbi.JBIException: Error calling init
at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:199)
at org.apache.servicemix.common.SyncLifeCycleWrapper.init(SyncLifeCycleWrapper.java:44)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:287)
at org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
at org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:334)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:292)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.RuntimeException: Unable to create JAXB context
at org.apache.servicemix.wsn.jms.JmsPublisher.<init>(JmsPublisher.java:71)
at org.apache.servicemix.wsn.jbi.JbiPublisher.<init>(JbiPublisher.java:47)
at org.apache.servicemix.wsn.jbi.JbiNotificationBroker.createJmsPublisher(JbiNotificationBroker.java:44)
at org.apache.servicemix.wsn.jms.JmsNotificationBroker.createPublisher(JmsNotificationBroker.java:53)
at org.apache.servicemix.wsn.AbstractNotificationBroker.init(AbstractNotificationBroker.java:83)
at org.apache.servicemix.wsn.jms.JmsNotificationBroker.init(JmsNotificationBroker.java:41)
at org.apache.servicemix.wsn.component.WSNComponent.doInit(WSNComponent.java:159)
at org.apache.servicemix.common.AsyncBaseLifeCycle.init(AsyncBaseLifeCycle.java:190)
... 12 more
Caused by: javax.xml.bind.JAXBException - with linked exception:
[java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader com.sun.xml.bind.v2.ContextFactory]
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:195)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:379)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.apache.servicemix.wsn.jms.JmsPublisher.<init>(JmsPublisher.java:69)
... 19 more
Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory in classloader com.sun.xml.bind.v2.ContextFactory
at org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:206)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:191)
... 23 more