Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.2
-
None
-
Deployment of Apaceh ode 1.2 fails in smx4(JBI Container)
Description
17:23:38,031 | ERROR | pool-1-thread-1 | OdeLifeCycle | org.apache.ode.jbi.OdeLifeCycle 178 | Database configuration error.
java.lang.RuntimeException: TransactionManager is not recoverable.
at org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)
at org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:232)
at org.apache.ode.il.dbutil.Database.initDataSource(Database.java:147)
at org.apache.ode.il.dbutil.Database.start(Database.java:99)
at org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:175)
at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:113)
at org.apache.servicemix.jbi.deployer.impl.ComponentImpl$ComponentWrapper.init(ComponentImpl.java:249)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:97)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:37)
at org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:47)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.osgi.util.internal.ReflectionUtils.invokeMethod(ReflectionUtils.java:108)
at org.springframework.osgi.config.CustomListenerAdapterUtils.invokeCustomMethods(CustomListenerAdapterUtils.java:154)
at org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter.bind(OsgiServiceLifecycleListenerAdapter.java:186)
at org.springframework.osgi.service.importer.support.internal.util.OsgiServiceBindingUtils.callListenersBind(OsgiServiceBindingUtils.java:50)
at org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection$Listener.serviceChanged(OsgiServiceCollection.java:106)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3612)
at org.apache.felix.framework.Felix.access$000(Felix.java:36)
at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:626)
at org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:559)
at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:75)
at org.apache.felix.framework.Felix.registerService(Felix.java:2702)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:232)
at org.apache.servicemix.jbi.deployer.impl.Deployer.registerService(Deployer.java:463)
at org.apache.servicemix.jbi.deployer.impl.Deployer.installComponent(Deployer.java:265)
at org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:186)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:80)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.access$000(AbstractBundleWatcher.java:34)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher$1.bundleChanged(AbstractBundleWatcher.java:53)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:690)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:619)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:532)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3601)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1616)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:543)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:290)
at org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
17:23:38,033 | WARN | pool-1-thread-1 | ComponentRegistryImpl | mix.nmr.core.ServiceRegistryImpl 49 | Unable to register service org.apache.servicemix.jbi.deployer.impl.ComponentImpl@144ffa4 with properties
javax.jbi.JBIException: Database configuration error.
at org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:179)
at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:113)
at org.apache.servicemix.jbi.deployer.impl.ComponentImpl$ComponentWrapper.init(ComponentImpl.java:249)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:97)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:37)
at org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:47)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.osgi.util.internal.ReflectionUtils.invokeMethod(ReflectionUtils.java:108)
at org.springframework.osgi.config.CustomListenerAdapterUtils.invokeCustomMethods(CustomListenerAdapterUtils.java:154)
at org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter.bind(OsgiServiceLifecycleListenerAdapter.java:186)
at org.springframework.osgi.service.importer.support.internal.util.OsgiServiceBindingUtils.callListenersBind(OsgiServiceBindingUtils.java:50)
at org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection$Listener.serviceChanged(OsgiServiceCollection.java:106)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3612)
at org.apache.felix.framework.Felix.access$000(Felix.java:36)
at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:626)
at org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:559)
at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:75)
at org.apache.felix.framework.Felix.registerService(Felix.java:2702)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:232)
at org.apache.servicemix.jbi.deployer.impl.Deployer.registerService(Deployer.java:463)
at org.apache.servicemix.jbi.deployer.impl.Deployer.installComponent(Deployer.java:265)
at org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:186)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:80)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.access$000(AbstractBundleWatcher.java:34)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher$1.bundleChanged(AbstractBundleWatcher.java:53)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:690)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:619)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:532)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3601)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1616)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:543)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:290)
at org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.RuntimeException: TransactionManager is not recoverable.
at org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)
at org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:232)
at org.apache.ode.il.dbutil.Database.initDataSource(Database.java:147)
at org.apache.ode.il.dbutil.Database.start(Database.java:99)
at org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:175)
... 43 more
17:23:38,034 | WARN | pool-1-thread-1 | CustomListenerAdapterUtils | onfig.CustomListenerAdapterUtils 161 | custom method [public void org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(java.lang.Object,java.util.Map)] threw exception when passing service type [$Proxy28]
org.apache.servicemix.nmr.api.ServiceMixException: Unable to register service org.apache.servicemix.jbi.deployer.impl.ComponentImpl@144ffa4 with properties {NAME=OdeBpelEngine, objectClass=[Ljava.lang.String;@14f4c7a, service.id=176, TYPE=service-engine}
. Reason: javax.jbi.JBIException: Database configuration error.
at org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:52)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.springframework.osgi.util.internal.ReflectionUtils.invokeMethod(ReflectionUtils.java:108)
at org.springframework.osgi.config.CustomListenerAdapterUtils.invokeCustomMethods(CustomListenerAdapterUtils.java:154)
at org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter.bind(OsgiServiceLifecycleListenerAdapter.java:186)
at org.springframework.osgi.service.importer.support.internal.util.OsgiServiceBindingUtils.callListenersBind(OsgiServiceBindingUtils.java:50)
at org.springframework.osgi.service.importer.support.internal.collection.OsgiServiceCollection$Listener.serviceChanged(OsgiServiceCollection.java:106)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:765)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:623)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:554)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3612)
at org.apache.felix.framework.Felix.access$000(Felix.java:36)
at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:626)
at org.apache.felix.framework.ServiceRegistry.fireServiceChanged(ServiceRegistry.java:559)
at org.apache.felix.framework.ServiceRegistry.registerService(ServiceRegistry.java:75)
at org.apache.felix.framework.Felix.registerService(Felix.java:2702)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:254)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:232)
at org.apache.servicemix.jbi.deployer.impl.Deployer.registerService(Deployer.java:463)
at org.apache.servicemix.jbi.deployer.impl.Deployer.installComponent(Deployer.java:265)
at org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:186)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:80)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.access$000(AbstractBundleWatcher.java:34)
at org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher$1.bundleChanged(AbstractBundleWatcher.java:53)
at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:690)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:619)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:532)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3601)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1616)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:543)
at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:290)
at org.apache.servicemix.kernel.filemonitor.FileMonitor$3$1.run(FileMonitor.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.jbi.JBIException: Database configuration error.
at org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:179)
at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:113)
at org.apache.servicemix.jbi.deployer.impl.ComponentImpl$ComponentWrapper.init(ComponentImpl.java:249)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:97)
at org.apache.servicemix.jbi.runtime.impl.ComponentRegistryImpl.doRegister(ComponentRegistryImpl.java:37)
at org.apache.servicemix.nmr.core.ServiceRegistryImpl.register(ServiceRegistryImpl.java:47)
... 38 more
Caused by: java.lang.RuntimeException: TransactionManager is not recoverable.
at org.apache.ode.il.dbutil.Database.initInternalDb(Database.java:179)
at org.apache.ode.il.dbutil.Database.initEmbeddedDb(Database.java:232)
at org.apache.ode.il.dbutil.Database.initDataSource(Database.java:147)
at org.apache.ode.il.dbutil.Database.start(Database.java:99)
at org.apache.ode.jbi.OdeLifeCycle.initDataSource(OdeLifeCycle.java:175)
... 43 more
17:23:38,037 | INFO | pool-1-thread-1 | FileMonitor | x.kernel.filemonitor.FileMonitor 544 | Started: OdeBpelEngine [110]
Attachments
Issue Links
- is related to
-
ODE-705 Provide OSGi packaging and Karaf feature descriptor for deployment to ServiceMix 4.1
- Resolved