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

Matthieu Riou resolved ODE-156.
-------------------------------

    Resolution: Fixed
      Assignee: Matthieu Riou  (was: Alex Boisvert)

This is an environment issue, Hibernate seems to be in the classpath for other 
services and is sometimes trying to pick up the persistence.xml used by 
OpenJPA. Looks very much like an Hibernate problem.

> jbi could not start component
> -----------------------------
>
>                 Key: ODE-156
>                 URL: https://issues.apache.org/jira/browse/ODE-156
>             Project: ODE
>          Issue Type: Bug
>          Components: JBI Integration
>         Environment: linux, normal pc, servicemix 3.2-incubating-SNAPSHOT
>            Reporter: Eduardo Burgos
>            Assignee: Matthieu Riou
>             Fix For: 1.1
>
>
> Hi, I'm at revision 556718 on both Ode and servicemix
> I did "rake clean TEST=no package install" on ode trunk
> then I started servicemix and deployed OdeBpelEngine component.
> When servicemix is loading it throws an exception and the component doesnt 
> start.
> When I go through JMX, I click the component's lifecycle and try to start it, 
> I get the following on the console:
> INFO  - ComponentMBeanImpl             - Starting component: OdeBpelEngine
> FATAL - OdeLifeCycle                   - attempt to call start() after init() 
> failure.
> java.lang.IllegalStateException: attempt to call start() after init() failure.
>         at org.apache.ode.jbi.OdeLifeCycle.start(OdeLifeCycle.java:305)
>         at 
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
>         at 
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
>         at 
> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:317)
>         at 
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>         at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>         at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
>         at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>         at java.lang.Thread.run(Thread.java:595)
> ERROR - ComponentMBeanImpl             - Could not start component
> javax.jbi.JBIException: attempt to call start() after init() failure.
>         at org.apache.ode.jbi.OdeLifeCycle.start(OdeLifeCycle.java:307)
>         at 
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:293)
>         at 
> org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
>         at 
> org.apache.servicemix.jbi.management.BaseStandardMBean.invoke(BaseStandardMBean.java:317)
>         at 
> com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
>         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
>         at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
>         at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
>         at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
>         at sun.rmi.transport.Transport$1.run(Transport.java:153)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
>         at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.IllegalStateException: attempt to call start() after 
> init() failure.
>         at org.apache.ode.jbi.OdeLifeCycle.start(OdeLifeCycle.java:305)
>         ... 28 more
> And I get an error on JMX saying "Problem invoking start : 
> java.rmi.UnmarshalException: Error unmarshaling return; nested exception is:
> java.lang.ClassNotFoundException: javax.jbi.JBIException (no security 
> manager: RMI class loader disabled)"
> Anyone experiencing the same? Any ideas?
> the file I deployed to servicemix is ode-jbi-1.1-SNAPSHOT.zip

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