I am very puzzled now.

When i use servicemix3.1.2 and ode1.1, i configure the database to mysql.

it also threw the exceptions:

INFO  - AutoDeploymentService          - Uninstalling component:
OdeBpelEngine
INFO  - JDBCAdapterFactory             - Database driver recognized:
[apache_derby_embedded_jdbc_dri
ver]
INFO  - LogTask                        - Logging system reconfigured using
file: file:/F:/apache-ser
vicemix-3.1.2/conf/log4j.xml
INFO  - AutoDeploymentService          - Directory: install: Archive
changed: processing ode-jbi-1.1
.zip ...
INFO  - ComponentMBeanImpl             - Starting component: OdeBpelEngine
INFO  - ComponentMBeanImpl             - Initializing component:
OdeBpelEngine
WARN  - JdbcDelegate                   - Unable to determine database
dialect
java.sql.SQLException
        at
org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61)
        at
org.apache.ode.scheduler.simple.JdbcDelegate.getConnection(JdbcDelegate.java:254)
        at
org.apache.ode.scheduler.simple.JdbcDelegate.guessDialect(JdbcDelegate.java:289)
        at
org.apache.ode.scheduler.simple.JdbcDelegate.<init>(JdbcDelegate.java:78)
        at
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:207)
        at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:28
7)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)

        at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:
331)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentSer
vice.java:277)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeployment
Service.java:646)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentServic
e.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.jav
a:606)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.resource.ResourceException: The pooling strategy does not
match the MatchManagedCon
nections implementation.  Please investigate and reconfigure this pool
        at
org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnect
ion(SinglePoolConnectionInterceptor.java:105)
        at
org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnect
ion(AbstractSinglePoolConnectionInterceptor.java:78)
        at
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(Tran
sactionEnlistingInterceptor.java:46)
        at
org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(Transa
ctionCachingInterceptor.java:95)
        at
org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(Connecti
onHandleInterceptor.java:43)
        at
org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java
:39)
        at
org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(Connec
tionTrackingInterceptor.java:66)
        at
org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(Abstr
actConnectionManager.java:61)
        at
org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        ... 15 more
INFO  - Runtime                        - Starting OpenJPA 0.9.7-incubating
INFO  - JDBC                           - OpenJPA will now connect to the
database to attempt to dete
rmine what type of database dictionary to use.  To prevent this connection
in the future, set your o
penjpa.jdbc.DBDictionary configuration property to the appropriate value for
your database (see the
documentation for available values).
ERROR - ComponentMBeanImpl             - Could not start component
org.apache.ode.bpel.iapi.ContextException: DbError
        at
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:545)
        at
org.apache.ode.store.ProcessStoreImpl.loadAll(ProcessStoreImpl.java:457)
        at
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:213)
        at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:28
7)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)

        at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:
331)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentSer
vice.java:277)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeployment
Service.java:646)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentServic
e.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.jav
a:606)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.util.concurrent.ExecutionException: <0.9.7-incubating fatal
general error> org.apach
e.openjpa.persistence.PersistenceException: null
        at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
        at java.util.concurrent.FutureTask.get(FutureTask.java:80)
        at
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:543)
        ... 13 more
Caused by: <0.9.7-incubating fatal general error>
org.apache.openjpa.persistence.PersistenceExceptio
n: null
        at
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:
102)
        at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurat
ionImpl.java:567)
        at
org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:11
85)
        at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:450)
        at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:375)
        at
org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
        at
org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
        at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPACon
figurationImpl.java:831)
        at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPACon
figurationImpl.java:826)
        at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:5
39)
        at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:157)

        at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:
142)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:190)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:143)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:55)
        at
org.apache.ode.store.jpa.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnection
Factory.java:49)
        at
org.apache.ode.store.ProcessStoreImpl.getConnection(ProcessStoreImpl.java:550)
        at
org.apache.ode.store.ProcessStoreImpl.access$200(ProcessStoreImpl.java:77)
        at
org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:699)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        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.sql.SQLException
        at
org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61)
        at
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:
106)
        at
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:
87)
        at
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:
92)
        ... 23 more
Caused by: javax.resource.ResourceException: The pooling strategy does not
match the MatchManagedCon
nections implementation.  Please investigate and reconfigure this pool
        at
org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor.internalGetConnect
ion(SinglePoolConnectionInterceptor.java:105)
        at
org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInterceptor.getConnect
ion(AbstractSinglePoolConnectionInterceptor.java:78)
        at
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConnection(Tran
sactionEnlistingInterceptor.java:46)
        at
org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnection(Transa
ctionCachingInterceptor.java:95)
        at
org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(Connecti
onHandleInterceptor.java:43)
        at
org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java
:39)
        at
org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(Connec
tionTrackingInterceptor.java:66)
        at
org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(Abstr
actConnectionManager.java:61)
        at
org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:56)
        ... 26 more
ERROR - AutoDeploymentService          - Failed to update Component:
OdeBpelEngine
org.apache.ode.bpel.iapi.ContextException: DbError
        at
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:545)
        at
org.apache.ode.store.ProcessStoreImpl.loadAll(ProcessStoreImpl.java:457)
        at
org.apache.ode.jbi.OdeLifeCycle.initBpelServer(OdeLifeCycle.java:213)
        at org.apache.ode.jbi.OdeLifeCycle.init(OdeLifeCycle.java:115)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.init(ComponentMBeanImpl.java:201)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.doStart(ComponentMBeanImpl.java:28
7)
        at
org.apache.servicemix.jbi.framework.ComponentMBeanImpl.start(ComponentMBeanImpl.java:216)

        at
org.apache.servicemix.jbi.framework.InstallationService.install(InstallationService.java:
331)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentSer
vice.java:277)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeployment
Service.java:646)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentServic
e.java:62)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.jav
a:606)
        at java.util.TimerThread.mainLoop(Timer.java:512)
        at java.util.TimerThread.run(Timer.java:462)
Caused by: java.util.concurrent.ExecutionException: <0.9.7-incubating fatal
general error> org.apach
e.openjpa.persistence.PersistenceException: null
        at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
        at java.util.concurrent.FutureTask.get(FutureTask.java:80)
        at
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:543)
        ... 13 more
Caused by: <0.9.7-incubating fatal general error>
org.apache.openjpa.persistence.PersistenceExceptio
n: null
        at
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:
102)
        at
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDBDictionaryInstance(JDBCConfigurat
ionImpl.java:567)
        at
org.apache.openjpa.jdbc.meta.MappingRepository.endConfiguration(MappingRepository.java:11
85)
        at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:450)
        at
org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:375)
        at
org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:102)
        at
org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:79)
        at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.newMetaDataRepositoryInstance(OpenJPACon
figurationImpl.java:831)
        at
org.apache.openjpa.conf.OpenJPAConfigurationImpl.getMetaDataRepositoryInstance(OpenJPACon
figurationImpl.java:826)
        at
org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:5
39)
        at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:157)

        at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:
142)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:190)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:143)
        at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManager
FactoryImpl.java:55)
        at
org.apache.ode.store.jpa.DbConfStoreConnectionFactory.getConnection(DbConfStoreConnection
Factory.java:49)
        at
org.apache.ode.store.ProcessStoreImpl.getConnection(ProcessStoreImpl.java:550)
        at
org.apache.ode.store.ProcessStoreImpl.access$200(ProcessStoreImpl.java:77)
        at
org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:699)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        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.sql.SQLException
        at
org.tranql.connector.jdbc.DataSource.getConnection(DataSource.java:61)
        at
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:
106)
        at
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:
87)
        at
org.apache.openjpa.jdbc.sql.DBDictionaryFactory.newDBDictionary(DBDictionaryFactory.java:
92)
        ... 23 more



yebo wrote:
> 
> in this page
> http://www.nabble.com/Problem-in-deploying-Ode-Engine-in-serviceMix-td15645367.html#a15645955
> there is also the prolbem.
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-error-when-start-servicemix-with-ODE-tp19602756p19664206.html
Sent from the Apache Ode User mailing list archive at Nabble.com.

Reply via email to