You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by quiet <il...@mail.ru> on 2012/04/26 23:54:07 UTC
installing ODE on servicemix
Hi.
Trying to install ODE like it is described here:
http://ode.apache.org/smx4-osgi-deployment.html
and i got the following messages:
karaf@root> features:addUrl
mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features
Could not add Feature Repository:
java.lang.RuntimeException: URL
[mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features] could
not be resolved.
karaf@root>
Could please somebody tell me what i am doing wrong or what reasons might
occure that?
Thank you.
--
View this message in context: http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5668761.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.
Re: installing ODE on servicemix
Posted by wagner <wa...@gmail.com>.
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 Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi guys,
the problem is that the features XML is no more present on Apache repo:
https://repository.apache.org/content/groups/snapshots/org/apache/ode/ode-jbi-karaf/1.3.5-SNAPSHOT/
you can see that only signature are presents, not the XML artifact itself.
The ODE team has to deploy a new SNAPSHOT or you have to build your own
one in your local Maven repo (.m2/repository).
Regards
JB
On 04/27/2012 03:11 PM, ajs6f@virginia.edu wrote:
> I may be wrong about this, but I suspect that ServiceMix, out of the box,
> is not configured to pull Maven dependencies from the Apache snapshot Maven
> repository. In that case you would have to add the Apache snapshot repo to
> the configuration for Pax Maven Url.
>
> ---
> A. Soroka
> Software and Systems Engineering :: Online Library Environment
> the University of Virginia Library
>
> On Thu, Apr 26, 2012 at 5:54 PM, quiet<il...@mail.ru> wrote:
>
>> Hi.
>>
>> Trying to install ODE like it is described here:
>> http://ode.apache.org/smx4-osgi-deployment.html
>>
>> and i got the following messages:
>> karaf@root> features:addUrl
>> mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features
>> Could not add Feature Repository:
>> java.lang.RuntimeException: URL
>> [mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features] could
>> not be resolved.
>> karaf@root>
>>
>> Could please somebody tell me what i am doing wrong or what reasons might
>> occure that?
>> Thank you.
>>
>> --
>> View this message in context:
>> http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5668761.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com
Re: installing ODE on servicemix
Posted by "ajs6f@virginia.edu" <aj...@virginia.edu>.
I may be wrong about this, but I suspect that ServiceMix, out of the box,
is not configured to pull Maven dependencies from the Apache snapshot Maven
repository. In that case you would have to add the Apache snapshot repo to
the configuration for Pax Maven Url.
---
A. Soroka
Software and Systems Engineering :: Online Library Environment
the University of Virginia Library
On Thu, Apr 26, 2012 at 5:54 PM, quiet <il...@mail.ru> wrote:
> Hi.
>
> Trying to install ODE like it is described here:
> http://ode.apache.org/smx4-osgi-deployment.html
>
> and i got the following messages:
> karaf@root> features:addUrl
> mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features
> Could not add Feature Repository:
> java.lang.RuntimeException: URL
> [mvn:org.apache.ode/ode-jbi-karaf/1.3.5-SNAPSHOT/xml/features] could
> not be resolved.
> karaf@root>
>
> Could please somebody tell me what i am doing wrong or what reasons might
> occure that?
> Thank you.
>
> --
> View this message in context:
> http://servicemix.396122.n5.nabble.com/installing-ODE-on-servicemix-tp5668761p5668761.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>