[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[smila-dev] Error when running a build.

	Hi,

does anyone have any idea why the following error occurs when running a
BUILD of SMILA extended with several bundels!?
It runs smoothly while called from within Eclipse, but not after creating
the build.

Kind Regards,
   Bogdan Sacaleanu.


2010-11-19 11:28:36,101 ERROR [ODEServerImpl-1
]  vpu.JacobVPU                                  - Method "run" in class
"org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY" threw an unexpected
exception.
java.lang.LinkageError: loader constraint violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name "org/w3c/dom/Document"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(Unknown Source)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Default
ClassLoader.java:188)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathMa
nager.java:580)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpath
Manager.java:550)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Clas
spathManager.java:481)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClas
sLoader(ClasspathManager.java:469)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:449)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:393)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:469)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
2)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
0)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
de.dfki.lt.utils.xml.DOMUtils.createDomDocument(DOMUtils.java:375)
	at
de.dfki.lt.thyssen.services.concept.web.EspaceExtractor.queryExtract(EspaceE
xtractor.java:156)
	at
de.dfki.lt.techwatch.patentsearch.espace.EspaceSearchService.process(EspaceS
earchService.java:126)
	at
org.eclipse.smila.processing.bpel.ProcessingServiceManager.doInvoke(Processi
ngServiceManager.java:127)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeAdapter(ExtensionMa
nager.java:228)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeActivity(ExtensionM
anager.java:164)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:126)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:138)
	at
org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY.run(EXTENSIONACTIVITY.java:62
)
	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
	at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
	at
org.apache.ode.bpel.rtrep.v2.RuntimeInstanceImpl.execute(RuntimeInstanceImpl
.java:639)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContext
Impl.java:593)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.executeCreateInstance(Bpel
RuntimeContextImpl.java:581)
	at
org.apache.ode.bpel.engine.ODEProcess.executeCreateInstance(ODEProcess.java:
373)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:295)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:294)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.doInstanceWork(BpelInstanceWor
ker.java:174)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.execInCurrentThread(BpelInstan
ceWorker.java:108)
	at
org.apache.ode.bpel.engine.ODEProcess.doInstanceWork(ODEProcess.java:487)
	at
org.apache.ode.bpel.engine.ODEProcess.invokeProcess(ODEProcess.java:293)
	at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.doInvoke(MyRoleMessageE
xchangeImpl.java:122)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:44)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:43)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:106)
	at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServer
Impl.java:968)
	at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl
.java:948)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Unknown Source)
 2010-11-19 11:28:36,102 ERROR [ODEServerImpl-1
]  engine.BpelInstanceWorker                     - Work for instance
{http://www.eclipse.org/smila/processor}TechWatchPipeline-1#0 in thread
Thread[ODEServerImpl-1,5,main] resulted in an exception.
java.lang.RuntimeException: java.lang.LinkageError: loader constraint
violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name "org/w3c/dom/Document"
	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
	at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
	at
org.apache.ode.bpel.rtrep.v2.RuntimeInstanceImpl.execute(RuntimeInstanceImpl
.java:639)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContext
Impl.java:593)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.executeCreateInstance(Bpel
RuntimeContextImpl.java:581)
	at
org.apache.ode.bpel.engine.ODEProcess.executeCreateInstance(ODEProcess.java:
373)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:295)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:294)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.doInstanceWork(BpelInstanceWor
ker.java:174)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.execInCurrentThread(BpelInstan
ceWorker.java:108)
	at
org.apache.ode.bpel.engine.ODEProcess.doInstanceWork(ODEProcess.java:487)
	at
org.apache.ode.bpel.engine.ODEProcess.invokeProcess(ODEProcess.java:293)
	at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.doInvoke(MyRoleMessageE
xchangeImpl.java:122)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:44)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:43)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:106)
	at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServer
Impl.java:968)
	at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl
.java:948)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.LinkageError: loader constraint violation: loader
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name
"org/w3c/dom/Document"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(Unknown Source)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Default
ClassLoader.java:188)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathMa
nager.java:580)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpath
Manager.java:550)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Clas
spathManager.java:481)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClas
sLoader(ClasspathManager.java:469)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:449)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:393)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:469)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
2)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
0)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
de.dfki.lt.utils.xml.DOMUtils.createDomDocument(DOMUtils.java:375)
	at
de.dfki.lt.thyssen.services.concept.web.EspaceExtractor.queryExtract(EspaceE
xtractor.java:156)
	at
de.dfki.lt.techwatch.patentsearch.espace.EspaceSearchService.process(EspaceS
earchService.java:126)
	at
org.eclipse.smila.processing.bpel.ProcessingServiceManager.doInvoke(Processi
ngServiceManager.java:127)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeAdapter(ExtensionMa
nager.java:228)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeActivity(ExtensionM
anager.java:164)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:126)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:138)
	at
org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY.run(EXTENSIONACTIVITY.java:62
)
	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
	... 24 more
 2010-11-19 11:28:36,102 FATAL [ODEServerImpl-1
]  engine.BpelServerImpl                         - Internal Error
org.apache.ode.bpel.iapi.BpelEngineException: java.lang.RuntimeException:
java.lang.LinkageError: loader constraint violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name "org/w3c/dom/Document"
	at
org.apache.ode.bpel.engine.ODEProcess.doInstanceWork(ODEProcess.java:490)
	at
org.apache.ode.bpel.engine.ODEProcess.invokeProcess(ODEProcess.java:293)
	at
org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.doInvoke(MyRoleMessageE
xchangeImpl.java:122)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:44)
	at
org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(Unreli
ableMyRoleMessageExchangeImpl.java:43)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:106)
	at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServer
Impl.java:968)
	at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl
.java:948)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: java.lang.LinkageError: loader
constraint violation: loader (instance of
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) previously
initiated loading for a different type with name "org/w3c/dom/Document"
	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:464)
	at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
	at
org.apache.ode.bpel.rtrep.v2.RuntimeInstanceImpl.execute(RuntimeInstanceImpl
.java:639)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContext
Impl.java:593)
	at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.executeCreateInstance(Bpel
RuntimeContextImpl.java:581)
	at
org.apache.ode.bpel.engine.ODEProcess.executeCreateInstance(ODEProcess.java:
373)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:295)
	at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:294)
	at
org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1
206)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.doInstanceWork(BpelInstanceWor
ker.java:174)
	at
org.apache.ode.bpel.engine.BpelInstanceWorker.execInCurrentThread(BpelInstan
ceWorker.java:108)
	at
org.apache.ode.bpel.engine.ODEProcess.doInstanceWork(ODEProcess.java:487)
	... 13 more
Caused by: java.lang.LinkageError: loader constraint violation: loader
(instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader)
previously initiated loading for a different type with name
"org/w3c/dom/Document"
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(Unknown Source)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Default
ClassLoader.java:188)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathMa
nager.java:580)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpath
Manager.java:550)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Clas
spathManager.java:481)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClas
sLoader(ClasspathManager.java:469)
	at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classpat
hManager.java:449)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Defa
ultClassLoader.java:216)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.ja
va:393)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader
.java:469)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:42
2)
	at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:41
0)
	at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultCl
assLoader.java:107)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at
de.dfki.lt.utils.xml.DOMUtils.createDomDocument(DOMUtils.java:375)
	at
de.dfki.lt.thyssen.services.concept.web.EspaceExtractor.queryExtract(EspaceE
xtractor.java:156)
	at
de.dfki.lt.techwatch.patentsearch.espace.EspaceSearchService.process(EspaceS
earchService.java:126)
	at
org.eclipse.smila.processing.bpel.ProcessingServiceManager.doInvoke(Processi
ngServiceManager.java:127)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeAdapter(ExtensionMa
nager.java:228)
	at
org.eclipse.smila.processing.bpel.ExtensionManager.invokeActivity(ExtensionM
anager.java:164)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:126)
	at
org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokeServiceActivity
.run(SMILAExtensionBundle.java:138)
	at
org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY.run(EXTENSIONACTIVITY.java:62
)
	at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at
org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
	... 24 more