ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hart Liu <hart_...@live.com>
Subject RE: ClassNotFoundException: org.springframework.context.ApplicationContext in classloader OdeBpelEngine
Date Thu, 14 Oct 2010 14:18:02 GMT

OK, I installed ODE using ode-jbi-karaf feature file. And tried to deploy a BPEL process.
The previous error did not show up, instead, I have the following error. Is there anything
I am missing?
 
09:52:26,821 | ERROR | mix-4.2.0/deploy | Deployer                         | cemix.jbi.deployer.impl.Deployer
 360 | Error handling bundle start event
javax.jbi.JBIException: java.lang.Exception: Error deploying SU bpel-pingpong-su
 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:101)
 at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:352)
 at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:282)
 at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:800)
 at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:728)
 at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)
 at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3608)
 at org.apache.felix.framework.Felix.startBundle(Felix.java:1706)
 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
 at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1090)
 at org.apache.felix.fileinstall.internal.DirectoryWatcher.start(DirectoryWatcher.java:1076)
 at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:405)
 at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:212)
Caused by: java.lang.Exception: Error deploying SU bpel-pingpong-su
 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:213)
 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)
 ... 13 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/xquery/XQException
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:169)
 at org.apache.ode.bpel.compiler.BpelCompiler.registerExpressionLanguage(BpelCompiler.java:1712)
 at org.apache.ode.bpel.compiler.BpelCompiler20Draft.<init>(BpelCompiler20Draft.java:82)
 at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:221)
 at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:333)
 at org.apache.ode.store.DeploymentUnitDir$5.run(DeploymentUnitDir.java:213)
 at org.apache.ode.utils.InternPool.runBlock(InternPool.java:57)
 at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:210)
 at org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:171)
 at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:200)
 at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:164)
 at org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:74)
 at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:59)
 at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)
 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)
 ... 14 more
Caused by: java.lang.ClassNotFoundException: javax.xml.xquery.XQException
 at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:814)
 at org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
 at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1733)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
 ... 30 more
 
> From: hart_liu@live.com
> To: user@ode.apache.org
> Subject: RE: ClassNotFoundException: org.springframework.context.ApplicationContext in
classloader OdeBpelEngine
> Date: Thu, 14 Oct 2010 08:57:28 -0400
> 
> 
> I used JBI distribution. Should I use OSGi? Is there any documentation on this (running
in SMX 4.2.0)? I did not find any.
> 
> Thanks,
> Hart
> 
> > Date: Thu, 14 Oct 2010 06:50:30 +0200
> > Subject: Re: ClassNotFoundException: org.springframework.context.ApplicationContext
in classloader OdeBpelEngine
> > From: rafal@intalio.com
> > To: user@ode.apache.org
> > 
> > Hello,
> > 
> > Did you use OSGi distribution or JBI in old style?
> > 
> > On Wed, Oct 13, 2010 at 9:36 PM, hart <hart_liu@live.com> wrote:
> > > Anyone ever tried the delivered BPEL examples in ServiceMix 4.2.0? I even put
> > > the spring-context-3.0.4.RELEASE.jar into jre lib, still no help.
> > >
> > >
> > 
> > -- 
> > Regards,
> > RafaƂ Rusin
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message