ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yebo <yebo1...@qq.com>
Subject Problem error when start servicemix with ODE
Date Mon, 22 Sep 2008 06:54:52 GMT

When i use loadrunner to test the servicemix with ode in it, at first it run
well, but after a moment it throws many errors, and i even can not stop it
with the command ctrl+c. 

And after that i restart the servicemix, it still throws exceptions. But if
i delete the directory OdeBpelEngine in the directoty
apache-servicemix-3.2.2\data\smx\components, i restart again it works well.
anyone know why? Thank you very much. 

When i use loadrunner to test the servicemix with ode in it, error is: 

<openjpa-1.1.0-r422266:657916 nonfatal general error>
org.apache.openjpa.persistence.PersistenceExce 
ption: No current connection. {UPDATE ODE_PROCESS_INSTANCE SET
EXECUTION_STATE = ?, LAST_ACTIVE_TIME 
 = ?, SEQUENCE = ? WHERE ID = ?} [code=40000, state=08003] 
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.narrow(SQLExceptions.java:146) 
        at
org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(DBDictionary.java:4150) 
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:102) 
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:88) 
        at
org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:64) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManage

rImpl.java:74) 
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java

:543) 
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java

:106) 
        at
org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUp

dateManager.java:56) 
        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:89)


        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)


        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:549) 
        at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) 
        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007) 
        at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1905) 
        at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1823) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.

java:514) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.

java:498) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:472

) 
        at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManage

rImpl.java:250) 
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:183)


        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335) 
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332) 
        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: org.apache.openjpa.lib.jdbc.ReportingSQLException: No current
connection. {UPDATE ODE_PRO 
CESS_INSTANCE SET EXECUTION_STATE = ?, LAST_ACTIVE_TIME = ?, SEQUENCE = ?
WHERE ID = ?} [code=40000, 
 state=08003] 
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.ja

va:201) 
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000(LoggingConnectionDecora

tor.java:57) 
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement

(LoggingConnectionDecorator.java:228) 
        at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.ja

va:164) 
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement(JDBCS

toreManager.java:1343) 
        at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.ja

va:153) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.prepareStatement(PreparedStat

ementManagerImpl.java:160) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatem

entManagerImpl.java:114) 
        at
org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(Batchi

ngPreparedStatementManagerImpl.java:82) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStateme

ntManagerImpl.java:89) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManage

rImpl.java:72) 
        ... 22 more 
NestedThrowables: 
java.sql.SQLException: No current connection. 
        at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source) 
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source) 
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source) 
        at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown
Source) 
        at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown
Source) 
        at
org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source) 
        at
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) 
        at
org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) 
        at
org.tranql.connector.jdbc.ConnectionHandle.prepareStatement(ConnectionHandle.java:271) 
        at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.ja

va:166) 
        at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement

(LoggingConnectionDecorator.java:225) 
        at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.ja

va:164) 
        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement(JDBCS

toreManager.java:1343) 
        at
org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(DelegatingConnection.ja

va:153) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.prepareStatement(PreparedStat

ementManagerImpl.java:160) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushAndUpdate(PreparedStatem

entManagerImpl.java:114) 
        at
org.apache.openjpa.jdbc.kernel.BatchingPreparedStatementManagerImpl.flushAndUpdate(Batchi

ngPreparedStatementManagerImpl.java:82) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flushInternal(PreparedStateme

ntManagerImpl.java:89) 
        at
org.apache.openjpa.jdbc.kernel.PreparedStatementManagerImpl.flush(PreparedStatementManage

rImpl.java:72) 
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java

:543) 
        at
org.apache.openjpa.jdbc.kernel.ConstraintUpdateManager.flush(ConstraintUpdateManager.java

:106) 
        at
org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager.flush(BatchingConstraintUp

dateManager.java:56) 
        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:89)


        at
org.apache.openjpa.jdbc.kernel.AbstractUpdateManager.flush(AbstractUpdateManager.java:72)


        at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.flush(JDBCStoreManager.java:549) 
        at
org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130) 
        at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007) 
        at
org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1905) 
        at
org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1823) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.

java:514) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.

java:498) 
        at
org.apache.geronimo.transaction.manager.TransactionImpl.rollback(TransactionImpl.java:472

) 
        at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManage

rImpl.java:250) 
        at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:183)


        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:335) 
        at
org.apache.ode.scheduler.simple.SimpleScheduler$4.call(SimpleScheduler.java:332) 
        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) 
WARN  - Transaction                    - Unexpected exception from
beforeCompletion; transaction wil 
l roll back
-- 
View this message in context: http://www.nabble.com/Problem-error-when-start-servicemix-with-ODE-tp19602756p19602756.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Mime
View raw message