You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by wagner <wa...@gmail.com> on 2012/08/28 16:34:25 UTC

Re: installing ODE on servicemix

Hi,

Jean, I am facing the same "feature not installed" problem

But I think that, in this post:
http://jee-bpel-soa.blogspot.com.br/2010/06/servicemix-fuse-esb-and-ws-bpel.html,
the post author propose another approach to install ode:
Drop Ode as a just jbi component in deploy folder seams a easier way to me.

Unfortunately, not works for me too, because when I droped the
ode-jbi-1.3.5.zip on my apache-servicemix-4.4.1-fuse-07-11 deploy folder, I
receive the follow log line:

11:14:24,020 | INFO  | use-07-11/deploy | Deployer                         |
154 - org.apache.servicemix.jbi.deployer - 1.5.1.fuse-06-11 | Deploying
bundle 'null (OdeBpelEngine)' as a JBI component


Wich way of install ode are you recomend? 
May I invest the time in install ode as a jbi component? If yes, how should
I to interpret this log line and what should I do to solve the problem?

If the best way is build ode, could you provide some link? Are there some
recommendation to deploy the artifact in my nexus repository?


best regards



--
View this message in context: http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5714282.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: installing ODE on servicemix

Posted by wagner <wa...@gmail.com>.
another question in the same subject:

in the jbi.xml, of the ode jbi component, we can see this line:
*
  <component type="service-engine"
component-class-loader-delegation="parent-first"
bootstrap-class-loader-delegation="parent-first">
*

the "parent-firts" string did not means that the LogFactory class should be
loaded by servicemix classloader? If yes,  is weird smx not found LogFactory
class. 





--
View this message in context: http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5714294.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: installing ODE on servicemix

Posted by wagner <wa...@gmail.com>.
deploying ode-jbi-1.3.5.zip in servicemix deploy folder result in the log
below. In general this kind of error is solved putting the apropriete jar in
classpath and maybe commong-logging.jar will fix it. Taking a sigth of the
lib of the ode jbi component don't have commong-logging. How to advise ode
to find LogFactory, please?


karaf@root> ERROR: Bundle org.apache.servicemix.jbi.deployer [154]
EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory)
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
	at org.apache.ode.jbi.OdeLifeCycle.<clinit>(OdeLifeCycle.java:60)
	at org.apache.ode.jbi.OdeComponent.<init>(OdeComponent.java:37)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at java.lang.Class.newInstance0(Class.java:355)
	at java.lang.Class.newInstance(Class.java:308)
	at
org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.initComponent(ComponentInstaller.java:419)
	at
org.apache.servicemix.jbi.deployer.impl.ComponentInstaller.install(ComponentInstaller.java:140)
	at
org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)
	at
org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)
	at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:795)
	at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:717)
	at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3781)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1792)
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)
	at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1183)
	at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1161)
	at
org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:466)
	at
org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:271)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.logging.LogFactory in classloader OdeBpelEngine
	at
org.apache.xbean.classloader.MultiParentClassLoader.doLoadClass(MultiParentClassLoader.java:228)
	at
org.apache.xbean.classloader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:172)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	... 22 more




--
View this message in context: http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5714293.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.