You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by xenHalfLife <xe...@gmail.com> on 2008/02/09 23:51:30 UTC

ODE in XA-JTA environment

Hello all,

I am still trying to configure ODE in XA environment. Next example is based on
MockBpelServer class found in org.apache.ode.bpel.runtime package. That example
demonstrates how to manage transactions using TransactionManager interface.

Only changes I have made to MockBpelServer are the injection of DataSource and
TransactionManager objects by me. These 2 objects are created externally, and
set to MockBpelServer for further usage. All other code of MockBpelServer is
untouched, including 2 crucial methods: deploy and invoke.

MySql is used as database and Bitrnoix as JTA transaction manager. I have tested
these two with ActiveMq JMS broker, and they function correctly.

Thanks in advance.

Main method contains following code, and it tries only to transactionally invoke
ODE by using JTA API (it is not trying to invoke ODE and some other XA
resource,
that would be next step when this is working)

================================================================================
MockBpelServer server = new MockBpelServer();
TransactionManager transactionManager = server.getTransactionManager();
DataSource dataSource = server.getDataSource();

// ensure its not MySql or Bitronix transaction manager problem
System.out.println("================ Testing MySql standalone");
transactionManager.begin();
Connection conn = dataSource.getConnection();
Statement statement = conn.createStatement();
statement.executeUpdate("insert into mytable values('somevalue" +
System.currentTimeMillis() + "')");
conn.close();
transactionManager.commit();
System.out.println("================ MySql standalone ok");
			
server.deploy(new File("data/bpel/2.0/TestIf"));
================================================================================

Following error occurs:

================================================================================

2008-02-09 23:23:32,578 DEBUG
[org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader]
- Loading bean definitions
2008-02-09 23:23:32,625 DEBUG
[org.springframework.beans.factory.xml.XmlBeanDefinitionReader] -
Loaded 3 bean definitions from location pattern [bpel-ds.xml]
2008-02-09 23:23:32,625 INFO
[org.springframework.context.support.ClassPathXmlApplicationContext] -
Bean factory for application context
[org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@1fa1bb6
2008-02-09 23:23:32,625 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] -
3 beans defined in
org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9:
display name [org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9];
startup date [Sat Feb 09 23:23:32 CET 2008]; root of context hierarchy
2008-02-09 23:23:32,656 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] -
Unable to locate MessageSource with name 'messageSource': using
default [org.springframework.context.support.DelegatingMessageSource@55e55f]
2008-02-09 23:23:32,656 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] -
Unable to locate ApplicationEventMulticaster with name
'applicationEventMulticaster': using default
[org.springframework.context.event.SimpleApplicationEventMulticaster@785d65]
2008-02-09 23:23:32,656 INFO
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@1fa1bb6:
defining beans [mySqlDataSource,btmConfig,bitronixTransactionManager];
root of factory hierarchy
2008-02-09 23:23:32,656 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating shared instance of singleton bean 'mySqlDataSource'
2008-02-09 23:23:32,656 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating instance of bean 'mySqlDataSource' with merged definition
[Root bean: class [bitronix.tm.resource.jdbc.PoolingDataSource];
scope=singleton; abstract=false; lazyInit=false;
autowireCandidate=true; autowireMode=0; dependencyCheck=0;
factoryBeanName=null; factoryMethodName=null; initMethodName=init;
destroyMethodName=close; defined in class path resource [bpel-ds.xml]]
2008-02-09 23:23:32,750 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Eagerly caching bean 'mySqlDataSource' to allow for resolving
potential circular references
2008-02-09 23:23:32,843 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating shared instance of singleton bean 'btmConfig'
2008-02-09 23:23:32,843 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating instance of bean 'btmConfig' with merged definition [Root
bean: class [bitronix.tm.TransactionManagerServices]; scope=singleton;
abstract=false; lazyInit=false; autowireCandidate=true;
autowireMode=0; dependencyCheck=0; factoryBeanName=null;
factoryMethodName=getConfiguration; initMethodName=null;
destroyMethodName=null; defined in class path resource [bpel-ds.xml]]
Feb 9, 2008 11:23:32 PM bitronix.tm.Configuration <init>
INFO: loading default configuration
2008-02-09 23:23:32,859 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Eagerly caching bean 'btmConfig' to allow for resolving potential
circular references
2008-02-09 23:23:32,859 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating shared instance of singleton bean
'bitronixTransactionManager'
2008-02-09 23:23:32,859 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Returning cached instance of singleton bean 'btmConfig'
2008-02-09 23:23:32,859 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Returning cached instance of singleton bean 'mySqlDataSource'
2008-02-09 23:23:32,859 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Creating instance of bean 'bitronixTransactionManager' with merged
definition [Root bean: class [bitronix.tm.TransactionManagerServices];
scope=singleton; abstract=false; lazyInit=false;
autowireCandidate=true; autowireMode=0; dependencyCheck=0;
factoryBeanName=null; factoryMethodName=getTransactionManager;
initMethodName=null; destroyMethodName=shutdown; defined in class path
resource [bpel-ds.xml]]
Feb 9, 2008 11:23:32 PM bitronix.tm.Configuration <init>
INFO: no configuration file found, using default settings
Feb 9, 2008 11:23:32 PM bitronix.tm.BitronixTransactionManager logVersion
INFO: Bitronix Transaction Manager version 1.2
Feb 9, 2008 11:23:32 PM bitronix.tm.Configuration buildServerIdArray
INFO: JVM unique ID: <spring-btm>
Feb 9, 2008 11:23:33 PM bitronix.tm.recovery.Recoverer run
INFO: recovery committed 0 dangling transaction(s) and rolled back 0
aborted transaction(s) on resource(s) mysql-1
2008-02-09 23:23:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Eagerly caching bean 'bitronixTransactionManager' to allow for
resolving potential circular references
2008-02-09 23:23:33,234 DEBUG
[org.springframework.context.support.ClassPathXmlApplicationContext] -
Publishing event in context
[org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9]:
org.springframework.context.event.ContextRefreshedEvent[source=org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9:
display name [org.springframework.context.support.ClassPathXmlApplicationContext@d0a5d9];
startup date [Sat Feb 09 23:23:32 CET 2008]; root of context
hierarchy]
2008-02-09 23:23:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Returning cached instance of singleton bean 'mySqlDataSource'
2008-02-09 23:23:33,234 DEBUG
[org.springframework.beans.factory.support.DefaultListableBeanFactory]
- Returning cached instance of singleton bean
'bitronixTransactionManager'
Bitronix successfully loaded...
2008-02-09 23:23:33,843 DEBUG [openjpa.Runtime] - Setting the
following properties from
"jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-dao-jpa-1.1.1.jar!/META-INF/persistence.xml"
into configuration: {openjpa.FlushBeforeQueries=false,
openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=false),
openjpa.BrokerFactory=jdbc, openjpa.ConnectionFactory=a
PoolingDataSource containing an XAPool of resource mysql-1 with 1
connection(s) (1 still available), openjpa.Log=log4j,
openjpa.MetaDataFactory=jpa(Types=org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl;org.apache.ode.dao.jpa.CorrelationSetDAOImpl;org.apache.ode.dao.jpa.CorrelatorDAOImpl;org.apache.ode.dao.jpa.EventDAOImpl;org.apache.ode.dao.jpa.FaultDAOImpl;org.apache.ode.dao.jpa.MessageDAOImpl;org.apache.ode.dao.jpa.MessageExchangeDAOImpl;org.apache.ode.dao.jpa.MessageRouteDAOImpl;org.apache.ode.dao.jpa.PartnerLinkDAOImpl;org.apache.ode.dao.jpa.ProcessDAOImpl;org.apache.ode.dao.jpa.ProcessInstanceDAOImpl;org.apache.ode.dao.jpa.ScopeDAOImpl;org.apache.ode.dao.jpa.XmlDataDAOImpl;org.apache.ode.dao.jpa.CorrSetProperty;org.apache.ode.dao.jpa.MexProperty;org.apache.ode.dao.jpa.XmlDataProperty),
openjpa.ManagedRuntime=org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl$TxMgrProvider@1ab2b55,
javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl,
openjpa.ConnectionFactoryMode=managed, openjpa.Id=ode-dao}
2008-02-09 23:23:33,953 DEBUG [openjpa.Runtime] - Setting the
following properties from
"jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-store-1.1.1.jar!/META-INF/persistence.xml"
into configuration:
{openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=false),
openjpa.BrokerFactory=jdbc, openjpa.ConnectionFactory=a
PoolingDataSource containing an XAPool of resource mysql-1 with 1
connection(s) (1 still available), openjpa.Log=log4j,
openjpa.MetaDataFactory=jpa(Types=org.apache.ode.store.jpa.ProcessConfDaoImpl;org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl;org.apache.ode.store.jpa.DeploymentUnitDaoImpl;org.apache.ode.store.jpa.VersionTrackerDAOImpl),
javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl,
openjpa.Id=ode-store}
2008-02-09 23:23:33,953 DEBUG
[org.apache.ode.bpel.engine.BpelServerImpl] - BPEL SERVER initializing
2008-02-09 23:23:33,968 DEBUG
[org.apache.ode.bpel.engine.BpelServerImpl] - BPEL SERVER starting.
2008-02-09 23:23:33,968 INFO
[org.apache.ode.bpel.engine.BpelServerImpl] - BPEL Server Started.
================ Testing MySql standalone
================ MySql standalone ok
2008-02-09 23:23:33,984 INFO [org.apache.ode.store.ProcessStoreImpl] -
Starting deployment of processes from directory
"data\bpel\2.0\TestIf".
2008-02-09 23:23:34,453 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
compile(URL)
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://schemas.xmlsoap.org/ws/2003/03/business-process/ ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/bpel4ws_1_1-fivesight.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://schemas.xmlsoap.org/ws/2004/03/business-process/ ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/wsbpel_main-draft-Apr-29-2006.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://docs.oasis-open.org/wsbpel/2.0/process/abstract ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/ws-bpel_abstract_common_base.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://docs.oasis-open.org/wsbpel/2.0/process/executable ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/ws-bpel_executable.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://docs.oasis-open.org/wsbpel/2.0/plnktype ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/ws-bpel_plnktype.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://docs.oasis-open.org/wsbpel/2.0/serviceref ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/ws-bpel_serviceref.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://docs.oasis-open.org/wsbpel/2.0/varprop ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/ws-bpel_varprop.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://www.w3.org/2001/xml.xsd ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/xml.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://schemas.xmlsoap.org/wsdl/ ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/wsdl.xsd
2008-02-09 23:23:34,500 DEBUG
[org.apache.ode.bpel.compiler.bom.LocalEntityResolver] - mapping
http://schemas.xmlsoap.org/ws/2004/03/partner-link/ ==>
jar:file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/lib/ode-bpel-schemas-1.1.1.jar!/wsbpel_plinkType-draft-Apr-29-2006.xsd
2008-02-09 23:23:34,546 INFO [org.apache.ode.bpel.compiler.BpelC] -
info: [CompilingProcess] Compiling BPEL process.
2008-02-09 23:23:34,578 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.EmptyActivity =
org.apache.ode.bpel.compiler.EmptyGenerator@96ad7c
2008-02-09 23:23:34,578 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.CompensateScopeActivity
= org.apache.ode.bpel.compiler.CompensateScopeGenerator@11cc367
2008-02-09 23:23:34,578 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.CompensateActivity =
org.apache.ode.bpel.compiler.CompensateGenerator@8a52b6
2008-02-09 23:23:34,578 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.FlowActivity =
org.apache.ode.bpel.compiler.FlowGenerator@fd1810
2008-02-09 23:23:34,578 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.SequenceActivity =
org.apache.ode.bpel.compiler.SequenceGenerator@88b1e6
2008-02-09 23:23:34,593 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.AssignActivity =
org.apache.ode.bpel.compiler.AssignGenerator@b3cac9
2008-02-09 23:23:34,593 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.ThrowActivity =
org.apache.ode.bpel.compiler.ThrowGenerator@1dfd90f
2008-02-09 23:23:34,593 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.WhileActivity =
org.apache.ode.bpel.compiler.WhileGenerator@e2433b
2008-02-09 23:23:34,593 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.RepeatUntilActivity =
org.apache.ode.bpel.compiler.RepeatUntilGenerator@1270107
2008-02-09 23:23:34,593 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.IfActivity =
org.apache.ode.bpel.compiler.IfGenerator@2d0479
2008-02-09 23:23:34,609 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.PickActivity =
org.apache.ode.bpel.compiler.PickGenerator@1c63e8c
2008-02-09 23:23:34,609 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.ReplyActivity =
org.apache.ode.bpel.compiler.ReplyGenerator@dfe303
2008-02-09 23:23:34,609 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.ReceiveActivity =
org.apache.ode.bpel.compiler.ReceiveGenerator@d22462
2008-02-09 23:23:34,609 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.InvokeActivity =
org.apache.ode.bpel.compiler.InvokeGenerator@cb07ef
2008-02-09 23:23:34,625 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.WaitActivity =
org.apache.ode.bpel.compiler.WaitGenerator@1758cd1
2008-02-09 23:23:34,625 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.TerminateActivity =
org.apache.ode.bpel.compiler.TerminateGenerator@15a94f
2008-02-09 23:23:34,625 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.RethrowActivity =
org.apache.ode.bpel.compiler.RethrowGenerator@e555bd
2008-02-09 23:23:34,625 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Adding compiler for
nodes class "org.apache.ode.bpel.compiler.bom.ForEachActivity =
org.apache.ode.bpel.compiler.ForEachGenerator@1e1ec86
2008-02-09 23:23:34,781 DEBUG
[org.apache.ode.bpel.compiler.DefaultResourceFinder] - openResource:
uri=file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/data/bpel/2.0/TestIf/TestIf.wsdl
relativeDir=C:\DEVELOPMENT\workspaces\mia\bpel-xa\data\bpel\2.0\TestIf
absoluteDir=C:\DEVELOPMENT\workspaces\mia\bpel-xa\data\bpel\2.0\TestIf
2008-02-09 23:23:34,812 DEBUG
[org.apache.ode.bpel.compiler.WSDLRegistry] -
addDefinition(http://ode/bpel/unit-test.wsdl from
file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/data/bpel/2.0/TestIf/TestIf.wsdl)
2008-02-09 23:23:34,812 DEBUG
[org.apache.ode.bpel.compiler.WSDLRegistry] - Processing XSD schemas
in file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/data/bpel/2.0/TestIf/TestIf.wsdl
2008-02-09 23:23:34,812 DEBUG
[org.apache.ode.bpel.compiler.WSDLRegistry] - Processing <imports> in
file:/C:/DEVELOPMENT/workspaces/mia/bpel-xa/data/bpel/2.0/TestIf/TestIf.wsdl
2008-02-09 23:23:34,812 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Added WSDL Definition:
TestIf.wsdl
2008-02-09 23:23:34,859 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled variable
{Variable __PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}
2008-02-09 23:23:34,859 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled variable
{Variable __PROCESS_SCOPE:TestIf.tmpVar:OXsdTypeVarType#4}
2008-02-09 23:23:34,875 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
OPickReceive#11-start
2008-02-09 23:23:34,875 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - verifying copy:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.tmpVar:OXsdTypeVarType#4}}={VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}}
2008-02-09 23:23:34,875 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - Copy verified OK:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.tmpVar:OXsdTypeVarType#4}}={VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}}
2008-02-09 23:23:34,875 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
{OAssign : assign1, joinCondition=null}
2008-02-09 23:23:34,906 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - verifying copy:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}={Literal
[#document: null]}}
2008-02-09 23:23:34,906 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - Copy verified OK:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}={Literal
[#document: null]}}
2008-02-09 23:23:34,906 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
{OAssign : assignError, joinCondition=null}
2008-02-09 23:23:34,937 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - verifying copy:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}={Literal
[#document: null]}}
2008-02-09 23:23:34,937 DEBUG
[org.apache.ode.bpel.compiler.AssignGenerator] - Copy verified OK:
{OCopy {VarRef {Variable
__PROCESS_SCOPE:TestIf.myVar:OMessageVarType#6}.TestPart}={Literal
[#document: null]}}
2008-02-09 23:23:34,937 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
{OAssign : assignZut, joinCondition=null}
2008-02-09 23:23:34,937 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
OSwitch#18-if-activity-line-57
2008-02-09 23:23:34,937 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
OReply#32-end
2008-02-09 23:23:34,953 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled activity
OSequence#10-sequence-activity-line-42
2008-02-09 23:23:34,953 DEBUG
[org.apache.ode.bpel.compiler.BpelCompiler] - Compiled default catch
block {OCatch faultName=null, faultVariable=null} for {OScope
'__PROCESS_SCOPE:TestIf' id=3}
2008-02-09 23:23:34,953 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
Sett output to stream java.io.BufferedOutputStream@1b8b3bb
2008-02-09 23:23:34,953 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
Writing compilation results to
C:\DEVELOPMENT\workspaces\mia\bpel-xa\data\bpel\2.0\TestIf\TestIf.cbp
2008-02-09 23:23:35,015 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
Sett output to stream null
2008-02-09 23:23:35,015 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
Sett output to stream null
2008-02-09 23:23:35,062 INFO [openjpa.Runtime] - Starting OpenJPA 1.0.1
2008-02-09 23:23:35,062 DEBUG [openjpa.Runtime] - Properties:
openjpa.EntityManagerFactory: default
openjpa.DataCache: false
openjpa.MetaDataFactory:
jpa(Types=org.apache.ode.store.jpa.ProcessConfDaoImpl;org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl;org.apache.ode.store.jpa.DeploymentUnitDaoImpl;org.apache.ode.store.jpa.VersionTrackerDAOImpl)
openjpa.InverseManager: false
openjpa.ReadLockLevel: read
openjpa.jdbc.SubclassFetchMode: join
openjpa.DataCacheManager: default
openjpa.jdbc.UpdateManager: default
openjpa.jdbc.SynchronizeMappings: buildSchema(ForeignKeys=false)
openjpa.NontransactionalRead: true
openjpa.QueryCompilationCache: true
openjpa.MaxFetchDepth: -1
openjpa.RetainState: true
openjpa.DynamicDataStructs: false
openjpa.BrokerFactory: jdbc
openjpa.WriteLockLevel: write
openjpa.ManagedRuntime: auto
openjpa.jdbc.EagerFetchMode: parallel
openjpa.RestoreState: immutable
openjpa.jdbc.SchemaFactory: dynamic
openjpa.LockManager: version
openjpa.BrokerImpl: default
openjpa.NontransactionalWrite: true
openjpa.MetaDataRepository: default
openjpa.Log: log4j
openjpa.jdbc.ResultSetType: forward-only
openjpa.AutoDetach:
openjpa.ConnectionRetainMode: on-demand
openjpa.RuntimeUnenhancedClasses: supported
openjpa.SavepointManager: in-mem
openjpa.ConnectionFactory: a PoolingDataSource containing an XAPool of
resource mysql-1 with 1 connection(s) (1 still available)
openjpa.Optimistic: true
openjpa.ConnectionFactoryMode: local
openjpa.Sequence: table
openjpa.FetchGroups: default
openjpa.jdbc.Schemas:
openjpa.Id: ode-store
openjpa.OrphanedKeyAction: log
openjpa.FlushBeforeQueries: true
openjpa.AutoClear: datastore
openjpa.Compatibility: default
openjpa.jdbc.LRSSize: query
openjpa.DetachState: loaded
openjpa.Multithreaded: false
openjpa.FetchBatchSize: -1
openjpa.jdbc.SQLFactory: default
openjpa.IgnoreChanges: false
javax.persistence.provider:
org.apache.openjpa.persistence.PersistenceProviderImpl
openjpa.jdbc.MappingDefaults: jpa
openjpa.TransactionMode: local
openjpa.RetryClassRegistration: false
openjpa.jdbc.FetchDirection: forward
openjpa.ClassResolver: default
openjpa.LockTimeout: -1
openjpa.DataCacheTimeout: -1
openjpa.QueryCache: true
openjpa.jdbc.DriverDataSource: simple
openjpa.jdbc.TransactionIsolation: default
openjpa.ProxyManager: default
2008-02-09 23:23:35,156 DEBUG [openjpa.MetaData] - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@b44eb4".
2008-02-09 23:23:35,156 DEBUG [openjpa.jdbc.JDBC] - OpenJPA will now
connect to the database to attempt to determine what type of database
dictionary to use. You may prevent this connection in the future by
setting your openjpa.jdbc.DBDictionary configuration property to the
appropriate value for your database (see the documentation for
available values).
2008-02-09 23:23:35,203 INFO [openjpa.jdbc.JDBC] - Using dictionary
class "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL
5.0.22-community-nt ,MySQL-AB JDBC Driver mysql-connector-java-5.1.5 (
Revision: ${svn.Revision} )).
2008-02-09 23:23:35,203 DEBUG [openjpa.jdbc.JDBC] - catalogSeparator: .
catalogTerm: database
databaseProductName: MySQL
databaseProductVersion: 5.0.22-community-nt
driverName: MySQL-AB JDBC Driver
driverVersion: mysql-connector-java-5.1.5 ( Revision: ${svn.Revision} )
extraNameCharacters: #@
identifierQuoteString: `
numericFunctions:
ABS,ACOS,ASIN,ATAN,ATAN2,BIT_COUNT,CEILING,COS,COT,DEGREES,EXP,FLOOR,LOG,LOG10,MAX,MIN,MOD,PI,POW,POWER,RADIANS,RAND,ROUND,SIN,SQRT,TAN,TRUNCATE
procedureTerm: PROCEDURE
schemaTerm:
searchStringEscape: \
sqlKeywords: ACCESSIBLE,ANALYZE,ASENSITIVE,BEFORE,BIGINT,BINARY,BLOB,CALL,CHANGE,CONDITION,DATABASE,DATABASES,DAY_HOUR,DAY_MICROSECOND,DAY_MINUTE,DAY_SECOND,DELAYED,DETERMINISTIC,DISTINCTROW,DIV,DUAL,EACH,ELSEIF,ENCLOSED,ESCAPED,EXIT,EXPLAIN,FLOAT4,FLOAT8,FORCE,FULLTEXT,HIGH_PRIORITY,HOUR_MICROSECOND,HOUR_MINUTE,HOUR_SECOND,IF,IGNORE,INFILE,INOUT,INT1,INT2,INT3,INT4,INT8,ITERATE,KEYS,KILL,LEAVE,LIMIT,LINEAR,LINES,LOAD,LOCALTIME,LOCALTIMESTAMP,LOCK,LONG,LONGBLOB,LONGTEXT,LOOP,LOW_PRIORITY,MEDIUMBLOB,MEDIUMINT,MEDIUMTEXT,MIDDLEINT,MINUTE_MICROSECOND,MINUTE_SECOND,MOD,MODIFIES,NO_WRITE_TO_BINLOG,OPTIMIZE,OPTIONALLY,OUT,OUTFILE,PURGE,RANGE,READS,READ_ONLY,READ_WRITE,REGEXP,RELEASE,RENAME,REPEAT,REPLACE,REQUIRE,RETURN,RLIKE,SCHEMAS,SECOND_MICROSECOND,SENSITIVE,SEPARATOR,SHOW,SPATIAL,SPECIFIC,SQLEXCEPTION,SQL_BIG_RESULT,SQL_CALC_FOUND_ROWS,SQL_SMALL_RESULT,SSL,STARTING,STRAIGHT_JOIN,TERMINATED,TINYBLOB,TINYINT,TINYTEXT,TRIGGER,UNDO,UNLOCK,UNSIGNED,USE,UTC_DATE,UTC_TIME,UTC_TIMESTAMP,VARBINARY,VARCHARACTER,WHILE,X509,XOR,YEAR_MONTH,ZEROFILL
stringFunctions:
ASCII,BIN,BIT_LENGTH,CHAR,CHARACTER_LENGTH,CHAR_LENGTH,CONCAT,CONCAT_WS,CONV,ELT,EXPORT_SET,FIELD,FIND_IN_SET,HEX,INSERT,INSTR,LCASE,LEFT,LENGTH,LOAD_FILE,LOCATE,LOCATE,LOWER,LPAD,LTRIM,MAKE_SET,MATCH,MID,OCT,OCTET_LENGTH,ORD,POSITION,QUOTE,REPEAT,REPLACE,REVERSE,RIGHT,RPAD,RTRIM,SOUNDEX,SPACE,STRCMP,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING_INDEX,TRIM,UCASE,UPPER
systemFunctions:
DATABASE,USER,SYSTEM_USER,SESSION_USER,PASSWORD,ENCRYPT,LAST_INSERT_ID,VERSION
timeDateFunctions:
DAYOFWEEK,WEEKDAY,DAYOFMONTH,DAYOFYEAR,MONTH,DAYNAME,MONTHNAME,QUARTER,WEEK,YEAR,HOUR,MINUTE,SECOND,PERIOD_ADD,PERIOD_DIFF,TO_DAYS,FROM_DAYS,DATE_FORMAT,TIME_FORMAT,CURDATE,CURRENT_DATE,CURTIME,CURRENT_TIME,NOW,SYSDATE,CURRENT_TIMESTAMP,UNIX_TIMESTAMP,FROM_UNIXTIME,SEC_TO_TIME,TIME_TO_SEC
url: jdbc:mysql://:3306/bpel
userName: root@localhost
defaultTransactionIsolation: 2
driverMajorVersion: 5
driverMinorVersion: 1
maxBinaryLiteralLength: 16777208
maxCatalogNameLength: 32
maxCharLiteralLength: 16777208
maxColumnNameLength: 64
maxColumnsInGroupBy: 64
maxColumnsInIndex: 16
maxColumnsInOrderBy: 64
maxColumnsInSelect: 256
maxColumnsInTable: 512
maxConnections: 0
maxCursorNameLength: 64
maxIndexLength: 256
maxProcedureNameLength: 0
maxRowSize: 2147483639
maxSchemaNameLength: 0
maxStatementLength: 65531
maxStatements: 0
maxTableNameLength: 64
maxTablesInSelect: 256
maxUserNameLength: 16
isCatalogAtStart: true
isReadOnly: false
nullPlusNonNullIsNull: true
nullsAreSortedAtEnd: false
nullsAreSortedAtStart: false
nullsAreSortedHigh: false
nullsAreSortedLow: true
storesLowerCaseIdentifiers: true
storesLowerCaseQuotedIdentifiers: true
storesMixedCaseIdentifiers: false
storesMixedCaseQuotedIdentifiers: false
storesUpperCaseIdentifiers: false
storesUpperCaseQuotedIdentifiers: true
supportsAlterTableWithAddColumn: true
supportsAlterTableWithDropColumn: true
supportsANSI92EntryLevelSQL: true
supportsANSI92FullSQL: false
supportsANSI92IntermediateSQL: false
supportsCatalogsInDataManipulation: true
supportsCatalogsInIndexDefinitions: true
supportsCatalogsInPrivilegeDefinitions: true
supportsCatalogsInProcedureCalls: true
supportsCatalogsInTableDefinitions: true
supportsColumnAliasing: true
supportsConvert: false
supportsCoreSQLGrammar: true
supportsCorrelatedSubqueries: true
supportsDataDefinitionAndDataManipulationTransactions: false
supportsDataManipulationTransactionsOnly: false
supportsDifferentTableCorrelationNames: true
supportsExpressionsInOrderBy: true
supportsExtendedSQLGrammar: false
supportsFullOuterJoins: false
supportsGroupBy: true
supportsGroupByBeyondSelect: true
supportsGroupByUnrelated: true
supportsIntegrityEnhancementFacility: false
supportsLikeEscapeClause: true
supportsLimitedOuterJoins: true
supportsMinimumSQLGrammar: true
supportsMixedCaseIdentifiers: false
supportsMixedCaseQuotedIdentifiers: false
supportsMultipleResultSets: false
supportsMultipleTransactions: true
supportsNonNullableColumns: true
supportsOpenCursorsAcrossCommit: false
supportsOpenCursorsAcrossRollback: false
supportsOpenStatementsAcrossCommit: false
supportsOpenStatementsAcrossRollback: false
supportsOrderByUnrelated: false
supportsOuterJoins: true
supportsPositionedDelete: false
supportsPositionedUpdate: false
supportsSchemasInDataManipulation: false
supportsSchemasInIndexDefinitions: false
supportsSchemasInPrivilegeDefinitions: false
supportsSchemasInProcedureCalls: false
supportsSchemasInTableDefinitions: false
supportsSelectForUpdate: true
supportsStoredProcedures: true
supportsSubqueriesInComparisons: true
supportsSubqueriesInExists: true
supportsSubqueriesInIns: true
supportsSubqueriesInQuantifieds: true
supportsTableCorrelationNames: true
supportsTransactions: true
supportsUnion: true
supportsUnionAll: true
usesLocalFilePerTable: false
usesLocalFiles: false
allProceduresAreCallable: false
allTablesAreSelectable: false
dataDefinitionCausesTransactionCommit: true
dataDefinitionIgnoredInTransactions: false
doesMaxRowSizeIncludeBlobs: true
supportsBatchUpdates: true
2008-02-09 23:23:35,218 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
29773528> [0 ms] close
2008-02-09 23:23:35,250 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
6142443> [0 ms] close
2008-02-09 23:23:35,359 DEBUG [org.apache.ode.bpel.compiler.BpelC] -
Sett output to stream null
2008-02-09 23:23:35,406 DEBUG [openjpa.MetaData] - Scanning resource
"META-INF/orm.xml" for persistent types.
2008-02-09 23:23:35,406 DEBUG [openjpa.MetaData] -
parsePersistentTypeNames() found
[org.apache.ode.store.jpa.VersionTrackerDAOImpl,
org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl,
org.apache.ode.store.jpa.ProcessConfDaoImpl,
org.apache.ode.store.jpa.DeploymentUnitDaoImpl].
2008-02-09 23:23:35,406 DEBUG [openjpa.MetaData] - Found 4 classes
with metadata in 16 milliseconds.
2008-02-09 23:23:35,421 DEBUG [openjpa.MetaData] - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@128215d".
2008-02-09 23:23:35,421 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:35,421 DEBUG [openjpa.MetaData] - Scanning resource
"META-INF/orm.xml" for persistent types.
2008-02-09 23:23:35,421 DEBUG [openjpa.MetaData] -
parsePersistentTypeNames() found
[org.apache.ode.store.jpa.VersionTrackerDAOImpl,
org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl,
org.apache.ode.store.jpa.ProcessConfDaoImpl,
org.apache.ode.store.jpa.DeploymentUnitDaoImpl].
2008-02-09 23:23:35,421 DEBUG [openjpa.MetaData] - Found 4 classes
with metadata in 0 milliseconds.
2008-02-09 23:23:35,468 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,468 DEBUG [openjpa.MetaData] - Parsing package
"org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,531 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,562 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
2008-02-09 23:23:35,562 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@3790865".
2008-02-09 23:23:35,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@3790865._version".
2008-02-09 23:23:35,578 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@3790865._version".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] - 	"_version" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@3790865".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" under
mode "[META][QUERY]".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:35,593 DEBUG [openjpa.MetaData] - Generating default
metadata for type
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" to "null".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139._key".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139._value".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139._key".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	"_key" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139._value".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - 	"_value" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl<discriminator>"
has mapping strategy "none".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl<version>" has
mapping strategy "none".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@20217139".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" has mapping
strategy "full".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.ProcessConfDaoImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:35,609 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.JpaObj" under mode
"[META][QUERY]".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.JpaObj".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.ProcessConfDaoImpl" to "null".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._du".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:35,625 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl" to "null".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._processId".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._properties".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._state".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._type".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._version".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._deployDate".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._deployer".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._dir".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._name".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._processes".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._processId".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	"_processId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._state".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	"_state" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._type".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	"_type" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._version".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	"_version" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._name".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,640 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._deployDate".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	"_deployDate" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._deployer".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	"_deployer" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._dir".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	"_dir" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl" has mapping strategy
"full".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._du".
2008-02-09 23:23:35,656 DEBUG [openjpa.MetaData] - 	"_du" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:35,671 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9607550._properties".
2008-02-09 23:23:35,671 DEBUG [openjpa.MetaData] - 	"_properties" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationMapTableFieldStrategy".
2008-02-09 23:23:35,671 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320".
2008-02-09 23:23:35,671 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
"full".
2008-02-09 23:23:35,671 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@1726320._processes".
2008-02-09 23:23:35,687 DEBUG [openjpa.MetaData] - 	"_processes" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:35,718 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name
"OPENJPA_SEQUENCE_TABLE".
2008-02-09 23:23:35,718 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "openjpa_sequence_table".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "ID" on table "openjpa_sequence_table".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_DU".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, STORE_DU, null
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_du".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "NAME" on table "store_du".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "DEPLOYDT" on table "store_du".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "DEPLOYER" on table "store_du".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Found existing
column "DIR" on table "store_du".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROCESS".
2008-02-09 23:23:35,734 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, STORE_PROCESS, null
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "PID" on table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "STATE" on table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "TYPE" on table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "VERSION" on table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "DU" on table "store_process".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROCESS_PROP".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, STORE_PROCESS_PROP, null
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_process_prop".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "id" on table "store_process_prop".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "PROP_KEY" on table "store_process_prop".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Found existing
column "PROP_VAL" on table "store_process_prop".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROC_TO_PROP".
2008-02-09 23:23:35,750 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, STORE_PROC_TO_PROP, null
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_proc_to_prop".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Found existing
column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Found existing
column "element_id" on table "store_proc_to_prop".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_VERSIONS".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> getColumns: bpel, null, STORE_VERSIONS, null
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_versions".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Found existing
column "id" on table "store_versions".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Found existing
column "VERSION" on table "store_versions".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.Schema] - Reading sequence
information for schema "null", sequence name "null".
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> [0 ms] commit
2008-02-09 23:23:35,765 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
32073193> [0 ms] close
2008-02-09 23:23:35,906 DEBUG [openjpa.MetaData] - Processing
registered persistence-capable class "class
org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,906 DEBUG [openjpa.MetaData] - Processing
registered persistence-capable class "class
org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:35,906 DEBUG [openjpa.MetaData] - Processing
registered persistence-capable class "class
org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:35,906 DEBUG [openjpa.MetaData] - Processing
registered persistence-capable class "class
org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:35,906 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:35,921 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,921 DEBUG [openjpa.MetaData] - Parsing package
"org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472._version".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472._version".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - 	"_version" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - Initializing
mapping for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472".
2008-02-09 23:23:35,937 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@3919472._version".
2008-02-09 23:23:35,968 DEBUG [openjpa.Query] - Executing query:
select v from VersionTrackerDAOImpl v
2008-02-09 23:23:36,031 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
22251202> executing prepstmnt 32417776 SELECT t0.id, t0.VERSION FROM
STORE_VERSIONS t0
2008-02-09 23:23:36,031 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
22251202> [0 ms] spent
2008-02-09 23:23:36,078 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
22251202> [0 ms] close
2008-02-09 23:23:36,093 DEBUG [org.apache.ode.store.ProcessConfImpl] -
Processing <provide> element for process
{http://ode/bpel/unit-test}TestIf: partnerlink helloPartnerLink -->
{http://ode/bpel/unit-test.wsdl}HelloService : HelloPort
2008-02-09 23:23:36,109 INFO [org.apache.ode.store.ProcessStoreImpl] -
Process {http://ode/bpel/unit-test}TestIf-8 deployed from
"{http://ode/bpel/unit-test}TestIf-8".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl" to "null".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployDate".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployer".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._dir".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._name".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._processes".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.ProcessConfDaoImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:36,109 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.ProcessConfDaoImpl" to "null".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._du".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._processId".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._properties".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" under
mode "[META][QUERY]".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Generating default
metadata for type
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" to "null".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._state".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._type".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._version".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._key".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._value".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._name".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployDate".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_deployDate" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployer".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_deployer" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._dir".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_dir" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.ProcessConfDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._processId".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_processId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._state".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_state" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._type".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_type" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._version".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_version" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._key".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_key" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._value".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_value" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl<discriminator>"
has mapping strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl<version>" has
mapping strategy "none".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
"full".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._processes".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._du".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_du" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_processes" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Initializing
mapping for "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployDate".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._deployer".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._dir".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._name".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.DeploymentUnitDaoImpl@6711891._processes".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfDaoImpl" has mapping strategy
"full".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._properties".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	"_properties" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationMapTableFieldStrategy".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Initializing
mapping for "org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._du".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._processId".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._properties".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._state".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._type".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfDaoImpl@9505547._version".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] -
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl" has mapping
strategy "full".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - Initializing
mapping for "org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._key".
2008-02-09 23:23:36,125 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl@7080114._value".
2008-02-09 23:23:36,140 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
14972779> executing prepstmnt 2019307 SELECT t0.DEPLOYDT, t0.DEPLOYER,
t0.DIR, t1.DU, t1.PID, t1.STATE, t1.TYPE, t1.VERSION FROM STORE_DU t0
LEFT OUTER JOIN STORE_PROCESS t1 ON t0.NAME = t1.DU WHERE t0.NAME = ?
ORDER BY t1.DU ASC [params=(String) TestIf]
2008-02-09 23:23:36,140 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
14972779> [0 ms] spent
2008-02-09 23:23:36,171 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
14972779> executing prepstmnt 18686163 SELECT t1.id, t1.PROP_KEY,
t1.PROP_VAL FROM STORE_PROC_TO_PROP t0 INNER JOIN STORE_PROCESS_PROP
t1 ON t0.element_id = t1.id WHERE t0.ProcessConfDaoImpl_PID = ?
[params=(String) {http://ode/bpel/unit-test}TestIf-7]
2008-02-09 23:23:36,171 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
14972779> [0 ms] spent
2008-02-09 23:23:36,171 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
14972779> [0 ms] close
2008-02-09 23:23:36,171 WARN [org.apache.ode.store.ProcessStoreImpl] -
Database out of synch for DU TestIf
2008-02-09 23:23:36,171 DEBUG [openjpa.Query] - Executing query:
select v from VersionTrackerDAOImpl v
2008-02-09 23:23:36,171 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
13298201> executing prepstmnt 27086706 SELECT t0.id, t0.VERSION FROM
STORE_VERSIONS t0
2008-02-09 23:23:36,171 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
13298201> [0 ms] spent
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
13298201> [0 ms] close
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 25808591 DELETE FROM STORE_PROC_TO_PROP
WHERE ProcessConfDaoImpl_PID = ? [params=(String)
{http://ode/bpel/unit-test}TestIf-7]
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 21693418 INSERT INTO STORE_PROCESS (PID,
STATE, TYPE, VERSION, DU) VALUES (?, ?, ?, ?, ?) [params=(String)
{http://ode/bpel/unit-test}TestIf-8, (String) ACTIVE, (String)
{http://ode/bpel/unit-test}TestIf, (long) 8, (String) TestIf]
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 4799946 UPDATE STORE_VERSIONS SET VERSION
= ? WHERE id = ? [params=(long) 8, (long) 1]
2008-02-09 23:23:36,187 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 12833564 DELETE FROM STORE_DU WHERE NAME
= ? [params=(String) TestIf]
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 24655070 INSERT INTO STORE_DU (NAME,
DEPLOYDT, DEPLOYER, DIR) VALUES (?, ?, ?, ?) [params=(String) TestIf,
(Timestamp) 2008-02-09 23:23:36.171, (null) null, (String)
C:\DEVELOPMENT\workspaces\mia\bpel-xa\data\bpel\2.0\TestIf]
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> executing prepstmnt 6399974 DELETE FROM STORE_PROCESS WHERE
PID = ? [params=(String) {http://ode/bpel/unit-test}TestIf-7]
2008-02-09 23:23:36,203 DEBUG [openjpa.jdbc.SQL] - <t 1389308, conn
6847200> [0 ms] spent
2008-02-09 23:23:36,218 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
6847200> [15 ms] commit
2008-02-09 23:23:36,218 DEBUG [openjpa.jdbc.JDBC] - <t 1389308, conn
6847200> [0 ms] close
2008-02-09 23:23:36,218 DEBUG [org.apache.ode.store.ProcessStoreImpl]
- firing event:
{ProcessStoreEvent#DEPLOYED:{http://ode/bpel/unit-test}TestIf-8}
2008-02-09 23:23:36,218 DEBUG [org.apache.ode.store.ProcessStoreImpl]
- firing event:
{ProcessStoreEvent#ACTVIATED:{http://ode/bpel/unit-test}TestIf-8}
2008-02-09 23:23:36,218 DEBUG
[org.apache.ode.bpel.engine.BpelServerImpl] - register:
{http://ode/bpel/unit-test}TestIf-8
2008-02-09 23:23:36,218 DEBUG
[org.apache.ode.bpel.engine.BpelServerImpl] - Registering process
{http://ode/bpel/unit-test}TestIf-8 with server.
2008-02-09 23:23:36,234 DEBUG
[org.apache.ode.bpel.engine.BpelEngineImpl] - Register process:
serviceId={http://ode/bpel/unit-test.wsdl}HelloService:HelloPort,
process=BpelProcess[{http://ode/bpel/unit-test}TestIf-8]
2008-02-09 23:23:36,234 DEBUG [org.apache.ode.bpel.engine.BpelProcess]
- Activating {http://ode/bpel/unit-test}TestIf-8
2008-02-09 23:23:36,234 DEBUG [org.apache.ode.bpel.engine.BpelProcess]
- Activated {http://ode/bpel/unit-test}TestIf-8 myrole
helloPartnerLink: EPR is org.ode.xa.MockBpelServer$3$1@b27c38
2008-02-09 23:23:36,234 DEBUG [org.apache.ode.bpel.engine.BpelProcess]
- Activated {http://ode/bpel/unit-test}TestIf-8
2008-02-09 23:23:36,234 DEBUG [org.apache.ode.bpel.engine.NStateLatch]
- Rehydrating process {http://ode/bpel/unit-test}TestIf-8
2008-02-09 23:23:36,328 INFO [openjpa.Runtime] - Starting OpenJPA 1.0.1
2008-02-09 23:23:36,328 DEBUG [openjpa.Runtime] - Properties:
openjpa.EntityManagerFactory: default
openjpa.DataCache: false
openjpa.MetaDataFactory:
jpa(Types=org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl;org.apache.ode.dao.jpa.CorrelationSetDAOImpl;org.apache.ode.dao.jpa.CorrelatorDAOImpl;org.apache.ode.dao.jpa.EventDAOImpl;org.apache.ode.dao.jpa.FaultDAOImpl;org.apache.ode.dao.jpa.MessageDAOImpl;org.apache.ode.dao.jpa.MessageExchangeDAOImpl;org.apache.ode.dao.jpa.MessageRouteDAOImpl;org.apache.ode.dao.jpa.PartnerLinkDAOImpl;org.apache.ode.dao.jpa.ProcessDAOImpl;org.apache.ode.dao.jpa.ProcessInstanceDAOImpl;org.apache.ode.dao.jpa.ScopeDAOImpl;org.apache.ode.dao.jpa.XmlDataDAOImpl;org.apache.ode.dao.jpa.CorrSetProperty;org.apache.ode.dao.jpa.MexProperty;org.apache.ode.dao.jpa.XmlDataProperty)
openjpa.InverseManager: false
openjpa.ReadLockLevel: read
openjpa.DataCacheManager: default
openjpa.jdbc.SubclassFetchMode: join
openjpa.jdbc.UpdateManager: default
openjpa.jdbc.SynchronizeMappings: buildSchema(ForeignKeys=false)
openjpa.NontransactionalRead: true
openjpa.QueryCompilationCache: true
openjpa.MaxFetchDepth: -1
openjpa.RetainState: true
openjpa.DynamicDataStructs: false
openjpa.BrokerFactory: jdbc
openjpa.WriteLockLevel: write
openjpa.ManagedRuntime:
org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl$TxMgrProvider
openjpa.jdbc.EagerFetchMode: parallel
openjpa.RestoreState: immutable
openjpa.jdbc.SchemaFactory: dynamic
openjpa.LockManager: version
openjpa.BrokerImpl: default
openjpa.NontransactionalWrite: true
openjpa.MetaDataRepository: default
openjpa.Log: log4j
openjpa.jdbc.ResultSetType: forward-only
openjpa.AutoDetach:
openjpa.ConnectionRetainMode: on-demand
openjpa.RuntimeUnenhancedClasses: supported
openjpa.SavepointManager: in-mem
openjpa.Optimistic: true
openjpa.ConnectionFactoryMode: managed
openjpa.Sequence: table
openjpa.FetchGroups: default
openjpa.jdbc.Schemas:
openjpa.Id: ode-dao
openjpa.OrphanedKeyAction: log
openjpa.FlushBeforeQueries: false
openjpa.AutoClear: datastore
openjpa.Compatibility: default
openjpa.jdbc.LRSSize: query
openjpa.DetachState: loaded
openjpa.Multithreaded: false
openjpa.FetchBatchSize: -1
openjpa.jdbc.SQLFactory: default
openjpa.IgnoreChanges: false
openjpa.jdbc.MappingDefaults: jpa
openjpa.TransactionMode: local
openjpa.RetryClassRegistration: false
openjpa.jdbc.FetchDirection: forward
openjpa.ClassResolver: default
openjpa.LockTimeout: -1
openjpa.DataCacheTimeout: -1
openjpa.QueryCache: true
openjpa.jdbc.DriverDataSource: simple
openjpa.jdbc.TransactionIsolation: default
openjpa.ProxyManager: default
2008-02-09 23:23:36,328 DEBUG [openjpa.MetaData] - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@81933a".
2008-02-09 23:23:36,328 DEBUG [openjpa.jdbc.JDBC] - OpenJPA will now
connect to the database to attempt to determine what type of database
dictionary to use. You may prevent this connection in the future by
setting your openjpa.jdbc.DBDictionary configuration property to the
appropriate value for your database (see the documentation for
available values).
2008-02-09 23:23:36,328 INFO [openjpa.jdbc.JDBC] - Using dictionary
class "org.apache.openjpa.jdbc.sql.MySQLDictionary" (MySQL
5.0.22-community-nt ,MySQL-AB JDBC Driver mysql-connector-java-5.1.5 (
Revision: ${svn.Revision} )).
2008-02-09 23:23:36,328 DEBUG [openjpa.jdbc.JDBC] - catalogSeparator: .
catalogTerm: database
databaseProductName: MySQL
databaseProductVersion: 5.0.22-community-nt
driverName: MySQL-AB JDBC Driver
driverVersion: mysql-connector-java-5.1.5 ( Revision: ${svn.Revision} )
extraNameCharacters: #@
identifierQuoteString: `
numericFunctions:
ABS,ACOS,ASIN,ATAN,ATAN2,BIT_COUNT,CEILING,COS,COT,DEGREES,EXP,FLOOR,LOG,LOG10,MAX,MIN,MOD,PI,POW,POWER,RADIANS,RAND,ROUND,SIN,SQRT,TAN,TRUNCATE
procedureTerm: PROCEDURE
schemaTerm:
searchStringEscape: \
sqlKeywords: ACCESSIBLE,ANALYZE,ASENSITIVE,BEFORE,BIGINT,BINARY,BLOB,CALL,CHANGE,CONDITION,DATABASE,DATABASES,DAY_HOUR,DAY_MICROSECOND,DAY_MINUTE,DAY_SECOND,DELAYED,DETERMINISTIC,DISTINCTROW,DIV,DUAL,EACH,ELSEIF,ENCLOSED,ESCAPED,EXIT,EXPLAIN,FLOAT4,FLOAT8,FORCE,FULLTEXT,HIGH_PRIORITY,HOUR_MICROSECOND,HOUR_MINUTE,HOUR_SECOND,IF,IGNORE,INFILE,INOUT,INT1,INT2,INT3,INT4,INT8,ITERATE,KEYS,KILL,LEAVE,LIMIT,LINEAR,LINES,LOAD,LOCALTIME,LOCALTIMESTAMP,LOCK,LONG,LONGBLOB,LONGTEXT,LOOP,LOW_PRIORITY,MEDIUMBLOB,MEDIUMINT,MEDIUMTEXT,MIDDLEINT,MINUTE_MICROSECOND,MINUTE_SECOND,MOD,MODIFIES,NO_WRITE_TO_BINLOG,OPTIMIZE,OPTIONALLY,OUT,OUTFILE,PURGE,RANGE,READS,READ_ONLY,READ_WRITE,REGEXP,RELEASE,RENAME,REPEAT,REPLACE,REQUIRE,RETURN,RLIKE,SCHEMAS,SECOND_MICROSECOND,SENSITIVE,SEPARATOR,SHOW,SPATIAL,SPECIFIC,SQLEXCEPTION,SQL_BIG_RESULT,SQL_CALC_FOUND_ROWS,SQL_SMALL_RESULT,SSL,STARTING,STRAIGHT_JOIN,TERMINATED,TINYBLOB,TINYINT,TINYTEXT,TRIGGER,UNDO,UNLOCK,UNSIGNED,USE,UTC_DATE,UTC_TIME,UTC_TIMESTAMP,VARBINARY,VARCHARACTER,WHILE,X509,XOR,YEAR_MONTH,ZEROFILL
stringFunctions:
ASCII,BIN,BIT_LENGTH,CHAR,CHARACTER_LENGTH,CHAR_LENGTH,CONCAT,CONCAT_WS,CONV,ELT,EXPORT_SET,FIELD,FIND_IN_SET,HEX,INSERT,INSTR,LCASE,LEFT,LENGTH,LOAD_FILE,LOCATE,LOCATE,LOWER,LPAD,LTRIM,MAKE_SET,MATCH,MID,OCT,OCTET_LENGTH,ORD,POSITION,QUOTE,REPEAT,REPLACE,REVERSE,RIGHT,RPAD,RTRIM,SOUNDEX,SPACE,STRCMP,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING,SUBSTRING_INDEX,TRIM,UCASE,UPPER
systemFunctions:
DATABASE,USER,SYSTEM_USER,SESSION_USER,PASSWORD,ENCRYPT,LAST_INSERT_ID,VERSION
timeDateFunctions:
DAYOFWEEK,WEEKDAY,DAYOFMONTH,DAYOFYEAR,MONTH,DAYNAME,MONTHNAME,QUARTER,WEEK,YEAR,HOUR,MINUTE,SECOND,PERIOD_ADD,PERIOD_DIFF,TO_DAYS,FROM_DAYS,DATE_FORMAT,TIME_FORMAT,CURDATE,CURRENT_DATE,CURTIME,CURRENT_TIME,NOW,SYSDATE,CURRENT_TIMESTAMP,UNIX_TIMESTAMP,FROM_UNIXTIME,SEC_TO_TIME,TIME_TO_SEC
url: jdbc:mysql://:3306/bpel
userName: root@localhost
defaultTransactionIsolation: 2
driverMajorVersion: 5
driverMinorVersion: 1
maxBinaryLiteralLength: 16777208
maxCatalogNameLength: 32
maxCharLiteralLength: 16777208
maxColumnNameLength: 64
maxColumnsInGroupBy: 64
maxColumnsInIndex: 16
maxColumnsInOrderBy: 64
maxColumnsInSelect: 256
maxColumnsInTable: 512
maxConnections: 0
maxCursorNameLength: 64
maxIndexLength: 256
maxProcedureNameLength: 0
maxRowSize: 2147483639
maxSchemaNameLength: 0
maxStatementLength: 65531
maxStatements: 0
maxTableNameLength: 64
maxTablesInSelect: 256
maxUserNameLength: 16
isCatalogAtStart: true
isReadOnly: false
nullPlusNonNullIsNull: true
nullsAreSortedAtEnd: false
nullsAreSortedAtStart: false
nullsAreSortedHigh: false
nullsAreSortedLow: true
storesLowerCaseIdentifiers: true
storesLowerCaseQuotedIdentifiers: true
storesMixedCaseIdentifiers: false
storesMixedCaseQuotedIdentifiers: false
storesUpperCaseIdentifiers: false
storesUpperCaseQuotedIdentifiers: true
supportsAlterTableWithAddColumn: true
supportsAlterTableWithDropColumn: true
supportsANSI92EntryLevelSQL: true
supportsANSI92FullSQL: false
supportsANSI92IntermediateSQL: false
supportsCatalogsInDataManipulation: true
supportsCatalogsInIndexDefinitions: true
supportsCatalogsInPrivilegeDefinitions: true
supportsCatalogsInProcedureCalls: true
supportsCatalogsInTableDefinitions: true
supportsColumnAliasing: true
supportsConvert: false
supportsCoreSQLGrammar: true
supportsCorrelatedSubqueries: true
supportsDataDefinitionAndDataManipulationTransactions: false
supportsDataManipulationTransactionsOnly: false
supportsDifferentTableCorrelationNames: true
supportsExpressionsInOrderBy: true
supportsExtendedSQLGrammar: false
supportsFullOuterJoins: false
supportsGroupBy: true
supportsGroupByBeyondSelect: true
supportsGroupByUnrelated: true
supportsIntegrityEnhancementFacility: false
supportsLikeEscapeClause: true
supportsLimitedOuterJoins: true
supportsMinimumSQLGrammar: true
supportsMixedCaseIdentifiers: false
supportsMixedCaseQuotedIdentifiers: false
supportsMultipleResultSets: false
supportsMultipleTransactions: true
supportsNonNullableColumns: true
supportsOpenCursorsAcrossCommit: false
supportsOpenCursorsAcrossRollback: false
supportsOpenStatementsAcrossCommit: false
supportsOpenStatementsAcrossRollback: false
supportsOrderByUnrelated: false
supportsOuterJoins: true
supportsPositionedDelete: false
supportsPositionedUpdate: false
supportsSchemasInDataManipulation: false
supportsSchemasInIndexDefinitions: false
supportsSchemasInPrivilegeDefinitions: false
supportsSchemasInProcedureCalls: false
supportsSchemasInTableDefinitions: false
supportsSelectForUpdate: true
supportsStoredProcedures: true
supportsSubqueriesInComparisons: true
supportsSubqueriesInExists: true
supportsSubqueriesInIns: true
supportsSubqueriesInQuantifieds: true
supportsTableCorrelationNames: true
supportsTransactions: true
supportsUnion: true
supportsUnionAll: true
usesLocalFilePerTable: false
usesLocalFiles: false
allProceduresAreCallable: false
allTablesAreSelectable: false
dataDefinitionCausesTransactionCommit: true
dataDefinitionIgnoredInTransactions: false
doesMaxRowSizeIncludeBlobs: true
supportsBatchUpdates: true
2008-02-09 23:23:36,328 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
20914474> [0 ms] close
2008-02-09 23:23:36,328 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26894471> [0 ms] close
2008-02-09 23:23:36,328 DEBUG [openjpa.MetaData] - Scanning resource
"META-INF/orm.xml" for persistent types.
2008-02-09 23:23:36,328 DEBUG [openjpa.MetaData] -
parsePersistentTypeNames() found
[org.apache.ode.dao.jpa.XmlDataDAOImpl,
org.apache.ode.dao.jpa.CorrelatorDAOImpl,
org.apache.ode.dao.jpa.MexProperty,
org.apache.ode.dao.jpa.XmlDataProperty,
org.apache.ode.dao.jpa.ProcessInstanceDAOImpl,
org.apache.ode.dao.jpa.ScopeDAOImpl,
org.apache.ode.dao.jpa.PartnerLinkDAOImpl,
org.apache.ode.dao.jpa.ProcessDAOImpl,
org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl,
org.apache.ode.dao.jpa.MessageDAOImpl,
org.apache.ode.dao.jpa.CorrelationSetDAOImpl,
org.apache.ode.dao.jpa.EventDAOImpl,
org.apache.ode.dao.jpa.MessageExchangeDAOImpl,
org.apache.ode.dao.jpa.CorrSetProperty,
org.apache.ode.dao.jpa.MessageRouteDAOImpl,
org.apache.ode.dao.jpa.FaultDAOImpl].
2008-02-09 23:23:36,328 DEBUG [openjpa.MetaData] - Found 16 classes
with metadata in 0 milliseconds.
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Using metadata
factory "org.apache.openjpa.persistence.jdbc.PersistenceMappingFactory@1ed2bbd".
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.XmlDataDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Scanning resource
"META-INF/orm.xml" for persistent types.
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] -
parsePersistentTypeNames() found
[org.apache.ode.dao.jpa.XmlDataDAOImpl,
org.apache.ode.dao.jpa.CorrelatorDAOImpl,
org.apache.ode.dao.jpa.MexProperty,
org.apache.ode.dao.jpa.XmlDataProperty,
org.apache.ode.dao.jpa.ProcessInstanceDAOImpl,
org.apache.ode.dao.jpa.ScopeDAOImpl,
org.apache.ode.dao.jpa.PartnerLinkDAOImpl,
org.apache.ode.dao.jpa.ProcessDAOImpl,
org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl,
org.apache.ode.dao.jpa.MessageDAOImpl,
org.apache.ode.dao.jpa.CorrelationSetDAOImpl,
org.apache.ode.dao.jpa.EventDAOImpl,
org.apache.ode.dao.jpa.MessageExchangeDAOImpl,
org.apache.ode.dao.jpa.CorrSetProperty,
org.apache.ode.dao.jpa.MessageRouteDAOImpl,
org.apache.ode.dao.jpa.FaultDAOImpl].
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Found 16 classes
with metadata in 0 milliseconds.
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.XmlDataDAOImpl".
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Parsing package
"org.apache.ode.dao.jpa.XmlDataDAOImpl".
2008-02-09 23:23:36,390 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.XmlDataDAOImpl".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.XmlDataDAOImpl" to "null".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._data".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._id".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._isSimpleType".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._name".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._props".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.XmlDataProperty" under mode
"[META][QUERY]".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.XmlDataProperty".
2008-02-09 23:23:36,406 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.XmlDataProperty".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.XmlDataProperty" to "null".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._scope".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.ScopeDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.ScopeDAOImpl".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.ScopeDAOImpl".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Parsing query "ScopeEvents".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.OpenJPADAO" under mode
"[META][QUERY]".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.OpenJPADAO".
2008-02-09 23:23:36,421 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ScopeDAOImpl" to "null".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.XmlDataProperty@5132374".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374._id".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374._xmlData".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374.propertyKey".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374.propertyValue".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.ScopeDAOImpl@24924345".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._childScopes".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._correlationSets".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.CorrelationSetDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.CorrelationSetDAOImpl".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl" to "null".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._modelId".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._name".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._parentScope".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._partnerLinks".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.PartnerLinkDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl".
2008-02-09 23:23:36,437 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.PartnerLinkDAOImpl".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl" to "null".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._processInstance".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.ProcessInstanceDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.ProcessInstanceDAOImpl".
2008-02-09 23:23:36,453 DEBUG [openjpa.MetaData] - Parsing query "ScopeById".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl" to "null".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._scopeInstanceId".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._scopeState".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._variables".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._correlationKey".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._correlationSetId".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._name".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._props".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.CorrSetProperty" under mode
"[META][QUERY]".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.CorrSetProperty".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.CorrSetProperty".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.CorrSetProperty" to "null".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._scope".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.CorrSetProperty@33475307".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307._corrSet".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307._id".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307.propertyKey".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307.propertyValue".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._id".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myEPR".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myRoleName".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myRoleServiceName".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._mySessionId".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerEPR".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerLinkModelId".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerLinkName".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerRoleName".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerSessionId".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._scope".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._dateCreated".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._executionState".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._fault".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.FaultDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.FaultDAOImpl".
2008-02-09 23:23:36,468 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.FaultDAOImpl".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.FaultDAOImpl" to "null".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._instanceId".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._instantiatingCorrelator".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.CorrelatorDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.CorrelatorDAOImpl".
2008-02-09 23:23:36,484 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.CorrelatorDAOImpl".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.CorrelatorDAOImpl" to "null".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._lastActive".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._lastRecovery".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._previousState".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._process".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.ProcessDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.ProcessDAOImpl".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.ProcessDAOImpl".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Parsing query
"InstanceByCKey".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Parsing query
"CorrelatorByKey".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ProcessDAOImpl" to "null".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._recoveries".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl".
2008-02-09 23:23:36,500 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl" to "null".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._rootScope".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._scopes".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._sequence".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._state".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._actions".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._activityId".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._channel".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._dateTime".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._details".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._id".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._instance".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._reason".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._retries".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.FaultDAOImpl@10623141".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._activityId".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._data".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._explanation".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._id".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._lineNo".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._name".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._correlatorId".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._correlatorKey".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._exchanges".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.MessageExchangeDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl".
2008-02-09 23:23:36,515 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.MessageExchangeDAOImpl".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl" to "null".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._process".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ProcessDAOImpl" to "null".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._routes".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.MessageRouteDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.MessageRouteDAOImpl".
2008-02-09 23:23:36,531 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.MessageRouteDAOImpl".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.MessageRouteDAOImpl" to "null".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._callee".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._channel".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationId".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationKeys".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationStatus".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlator".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._createTime".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._direction".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._epr".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._fault".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._faultExplanation".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._id".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._operation".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._partnerLink".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._partnerLinkModelId".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._pattern".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._pipedMessageExchangeId".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._portType".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._process".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.ProcessDAOImpl" to "null".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._processInst".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._propagateTransactionFlag".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._props".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.MexProperty" under mode
"[META][QUERY]".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.MexProperty".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.MexProperty".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of "org.apache.ode.dao.jpa.MexProperty"
to "null".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._request".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.MessageDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.MessageDAOImpl".
2008-02-09 23:23:36,546 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.MessageDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.MessageDAOImpl" to "null".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._response".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.MessageDAOImpl" to "null".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._status".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.MessageDAOImpl@14536088".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._data".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._messageExchange".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._type".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._correlationKey".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._correlator".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._groupId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._index".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._processInst".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.MexProperty@11202659".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659._mex".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659.propertyKey".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659.propertyValue".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.ProcessDAOImpl@9171948".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._correlators".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._guid".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._processId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._processType".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._version".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.XmlDataDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._data".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_data" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._isSimpleType".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_isSimpleType"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._name".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.XmlDataProperty".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374.propertyKey".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"propertyKey" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374.propertyValue".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"propertyValue"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataProperty<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataProperty<version>" has mapping strategy
"none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.ScopeDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._scopeInstanceId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_scopeInstanceId"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._modelId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_modelId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._name".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._scopeState".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_scopeState" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ScopeDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ScopeDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.CorrelationSetDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._correlationSetId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
	"_correlationSetId" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._correlationKey".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_correlationKey"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._name".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.CorrSetProperty".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307.propertyKey".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"propertyKey" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307.propertyValue".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"propertyValue"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrSetProperty<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrSetProperty<version>" has mapping strategy
"none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.PartnerLinkDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._id".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myEPR".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_myEPR" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myRoleName".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_myRoleName" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._myRoleServiceName".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
	"_myRoleServiceName" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._mySessionId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_mySessionId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerEPR".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_partnerEPR" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerLinkModelId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
	"_partnerLinkModelId" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerLinkName".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_partnerLinkName"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerRoleName".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_partnerRoleName"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._partnerSessionId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
	"_partnerSessionId" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.ProcessInstanceDAOImpl".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._instanceId".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_instanceId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._dateCreated".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	"_dateCreated" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,562 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._executionState".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_executionState"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._lastActive".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_lastActive" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._lastRecovery".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_lastRecovery"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._previousState".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_previousState"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._sequence".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_sequence" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._state".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_state" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._id".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._actions".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_actions" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._activityId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_activityId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._channel".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_channel" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._dateTime".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_dateTime" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._details".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_details" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._reason".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_reason" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._retries".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_retries" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.FaultDAOImpl".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._id".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._activityId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_activityId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._data".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_data" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._explanation".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_explanation" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._lineNo".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_lineNo" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.FaultDAOImpl@10623141._name".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_name" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.FaultDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.FaultDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.CorrelatorDAOImpl".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._correlatorId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_correlatorId"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._correlatorKey".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_correlatorKey"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelatorDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelatorDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.MessageExchangeDAOImpl".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._id".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._callee".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_callee" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._channel".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_channel" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_correlationId"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationKeys".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_correlationKeys"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlationStatus".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
	"_correlationStatus" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._createTime".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_createTime" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._direction".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_direction" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._epr".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_epr" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._fault".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_fault" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._faultExplanation".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
	"_faultExplanation" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._operation".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_operation" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._partnerLinkModelId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
	"_partnerLinkModelId" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._pattern".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_pattern" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._pipedMessageExchangeId".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
	"_pipedMessageExchangeId" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._portType".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_portType" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._propagateTransactionFlag".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
	"_propagateTransactionFlag" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._status".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] - 	"_status" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,578 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.MessageDAOImpl".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._id".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._data".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_data" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._type".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_type" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.MessageRouteDAOImpl".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._id".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._correlationKey".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_correlationKey"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._groupId".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_groupId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._index".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_index" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageRouteDAOImpl<discriminator>" has
mapping strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageRouteDAOImpl<version>" has mapping
strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.MexProperty".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659._id".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659.propertyKey".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"propertyKey" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659.propertyValue".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"propertyValue"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MexProperty<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MexProperty<version>" has mapping strategy
"none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.ProcessDAOImpl".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._id".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._guid".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_guid" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._processId".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_processId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._processType".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_processType" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._version".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_version" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._props".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataProperty@5132374._xmlData".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_xmlData" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_props" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.XmlDataDAOImpl@6486837._scope".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_scope" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.XmlDataProperty@5132374".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.XmlDataProperty" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.ScopeDAOImpl@24924345".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ScopeDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._childScopes".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._parentScope".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_parentScope" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_childScopes" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._correlationSets".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._scope".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_scope" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_correlationSets"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._partnerLinks".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707._scope".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_scope" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_partnerLinks"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._processInstance".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_processInstance"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ScopeDAOImpl@24924345._variables".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_variables" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelationSetDAOImpl@8960088._props".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrSetProperty@33475307._corrSet".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_corrSet" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_props" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.CorrSetProperty@33475307".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrSetProperty" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.PartnerLinkDAOImpl@12329707".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.PartnerLinkDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._fault".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_fault" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._instantiatingCorrelator".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
	"_instantiatingCorrelator" has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._process".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_process" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._recoveries".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240._instance".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_instance" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_recoveries" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._rootScope".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_rootScope" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessInstanceDAOImpl@26768045._scopes".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_scopes" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl@5854240".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ActivityRecoveryDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.FaultDAOImpl@10623141".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.FaultDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.CorrelatorDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._exchanges".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._correlator".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_correlator" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_exchanges" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._process".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_process" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.CorrelatorDAOImpl@8082967._routes".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._correlator".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_correlator" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_routes" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._partnerLink".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_partnerLink" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._process".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_process" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._processInst".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_processInst" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._props".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MexProperty@11202659._mex".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_mex" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_props" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._request".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_request" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageExchangeDAOImpl@24815969._response".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_response" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.MessageDAOImpl@14536088".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageDAOImpl@14536088._messageExchange".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - 	"_messageExchange"
has mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,593 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MessageRouteDAOImpl" has mapping strategy
"full".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.MessageRouteDAOImpl@31768270._processInst".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_processInst" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.MexProperty@11202659".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.MexProperty" has mapping strategy "full".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.ProcessDAOImpl@9171948".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.ProcessDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.ProcessDAOImpl@9171948._correlators".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_correlators" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.dao.jpa.EventDAOImpl" under mode
"[META][QUERY]".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.dao.jpa.EventDAOImpl".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.dao.jpa.EventDAOImpl".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Set
persistence-capable superclass of
"org.apache.ode.dao.jpa.EventDAOImpl" to "null".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Resolving metadata
for "org.apache.ode.dao.jpa.EventDAOImpl@14266481".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._detail".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._event".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Loading metadata
for "class org.apache.ode.bpel.evt.BpelEvent" under mode
"[META][QUERY]".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Parsing class
"org.apache.ode.bpel.evt.BpelEvent".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Parsing package
"org.apache.ode.bpel.evt.BpelEvent".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._id".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._instance".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._process".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._scopeId".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._tstamp".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._type".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Preparing mapping
for "org.apache.ode.dao.jpa.EventDAOImpl".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._id".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_id" has mapping
strategy "org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._detail".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_detail" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._event".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_event" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._scopeId".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_scopeId" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._tstamp".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_tstamp" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._type".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	"_type" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.StringFieldStrategy".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.EventDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.EventDAOImpl<version>" has mapping strategy
"none".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - Resolving mapping
for "org.apache.ode.dao.jpa.EventDAOImpl@14266481".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] -
"org.apache.ode.dao.jpa.EventDAOImpl" has mapping strategy "full".
2008-02-09 23:23:36,609 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._instance".
2008-02-09 23:23:36,625 DEBUG [openjpa.MetaData] - 	"_instance" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,625 DEBUG [openjpa.MetaData] - 	Resolving field
"org.apache.ode.dao.jpa.EventDAOImpl@14266481._process".
2008-02-09 23:23:36,625 DEBUG [openjpa.MetaData] - 	"_process" has
mapping strategy
"org.apache.openjpa.jdbc.meta.strats.RelationFieldStrategy".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name
"ODE_ACTIVITY_RECOVERY".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_ACTIVITY_RECOVERY, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_CORRELATION_SET".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_CORRELATION_SET, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_CORRELATOR".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_CORRELATOR, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_CORSET_PROP".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_CORSET_PROP, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_EVENT".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_EVENT, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_FAULT".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_FAULT, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_MESSAGE".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_MESSAGE, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_MESSAGE_EXCHANGE".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_MESSAGE_EXCHANGE, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_MESSAGE_ROUTE".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_MESSAGE_ROUTE, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_MEX_PROP".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_MEX_PROP, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_PARTNER_LINK".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_PARTNER_LINK, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_PROCESS".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_PROCESS, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_PROCESS_INSTANCE".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_PROCESS_INSTANCE, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_SCOPE".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_SCOPE, null
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_XML_DATA".
2008-02-09 23:23:36,625 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_XML_DATA, null
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "ODE_XML_DATA_PROP".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, ODE_XML_DATA_PROP, null
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name
"OPENJPA_SEQUENCE_TABLE".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "openjpa_sequence_table".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Found existing
column "ID" on table "openjpa_sequence_table".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Found existing
column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.Schema] - Reading sequence
information for schema "null", sequence name "null".
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> [0 ms] commit
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
26780509> [0 ms] close
2008-02-09 23:23:36,640 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
16453941> [0 ms] rollback
2008-02-09 23:23:36,656 DEBUG [openjpa.jdbc.SQL] - <t 19263049, conn
16453941> executing stmnt 31947175 CREATE TABLE ODE_ACTIVITY_RECOVERY
(ID BIGINT NOT NULL, ACTIONS VARCHAR(255), ACTIVITY_ID BIGINT, CHANNEL
VARCHAR(255), DATE_TIME DATETIME, DETAILS TEXT, REASON VARCHAR(255),
RETRIES INTEGER, INSTANCE_ID BIGINT, PRIMARY KEY (ID)) TYPE = innodb
2008-02-09 23:23:36,656 DEBUG [openjpa.jdbc.SQL] - <t 19263049, conn
16453941> [0 ms] spent
2008-02-09 23:23:36,656 DEBUG [openjpa.jdbc.JDBC] - <t 19263049, conn
16453941> [0 ms] close
2008-02-09 23:23:36,656 ERROR [org.apache.ode.il.MockScheduler] -
Caught an exception during transaction
<openjpa-1.0.1-r420667:592145 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: XAER_RMFAIL: The
command cannot be executed when global transaction is in the  ACTIVE
state {stmnt 31947175 CREATE TABLE ODE_ACTIVITY_RECOVERY (ID BIGINT
NOT NULL, ACTIONS VARCHAR(255), ACTIVITY_ID BIGINT, CHANNEL
VARCHAR(255), DATE_TIME DATETIME, DETAILS TEXT, REASON VARCHAR(255),
RETRIES INTEGER, INSTANCE_ID BIGINT, PRIMARY KEY (ID)) TYPE = innodb}
[code=1399, state=XAE07]
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:549)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:449)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:170)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:130)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:186)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
	at org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.getConnection(BPELDAOConnectionFactoryImpl.java:82)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$3.call(BpelProcess.java:802)
	at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:134)
	at org.apache.ode.il.MockScheduler$4.call(MockScheduler.java:147)
	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:
XAER_RMFAIL: The command cannot be executed when global transaction is
in the  ACTIVE state {stmnt 31947175 CREATE TABLE
ODE_ACTIVITY_RECOVERY (ID BIGINT NOT NULL, ACTIONS VARCHAR(255),
ACTIVITY_ID BIGINT, CHANNEL VARCHAR(255), DATE_TIME DATETIME, DETAILS
TEXT, REASON VARCHAR(255), RETRIES INTEGER, INSTANCE_ID BIGINT,
PRIMARY KEY (ID)) TYPE = innodb} [code=1399, state=XAE07]
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:754)
	at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1185)
	at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:949)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:526)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:344)
	at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:321)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:497)
	... 16 more
2008-02-09 23:23:36,656 ERROR [org.apache.ode.bpel.engine.NStateLatch] - DbError
java.util.concurrent.ExecutionException:
org.apache.ode.bpel.iapi.ContextException: Error in tx
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
	at java.util.concurrent.FutureTask.get(FutureTask.java:80)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:800)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:704)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:716)
	at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
	at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:597)
	at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:284)
	at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:93)
	at org.ode.xa.Main2.main(Main2.java:28)
Caused by: org.apache.ode.bpel.iapi.ContextException: Error in tx
	at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:140)
	at org.apache.ode.il.MockScheduler$4.call(MockScheduler.java:147)
	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: <openjpa-1.0.1-r420667:592145 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: XAER_RMFAIL: The
command cannot be executed when global transaction is in the  ACTIVE
state {stmnt 31947175 CREATE TABLE ODE_ACTIVITY_RECOVERY (ID BIGINT
NOT NULL, ACTIONS VARCHAR(255), ACTIVITY_ID BIGINT, CHANNEL
VARCHAR(255), DATE_TIME DATETIME, DETAILS TEXT, REASON VARCHAR(255),
RETRIES INTEGER, INSTANCE_ID BIGINT, PRIMARY KEY (ID)) TYPE = innodb}
[code=1399, state=XAE07]
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:549)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:449)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:170)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:130)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:186)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
	at org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.getConnection(BPELDAOConnectionFactoryImpl.java:82)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$3.call(BpelProcess.java:802)
	at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:134)
	... 6 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException:
XAER_RMFAIL: The command cannot be executed when global transaction is
in the  ACTIVE state {stmnt 31947175 CREATE TABLE
ODE_ACTIVITY_RECOVERY (ID BIGINT NOT NULL, ACTIONS VARCHAR(255),
ACTIVITY_ID BIGINT, CHANNEL VARCHAR(255), DATE_TIME DATETIME, DETAILS
TEXT, REASON VARCHAR(255), RETRIES INTEGER, INSTANCE_ID BIGINT,
PRIMARY KEY (ID)) TYPE = innodb} [code=1399, state=XAE07]
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:754)
	at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1185)
	at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:949)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:526)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:344)
	at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:321)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:497)
	... 16 more
2008-02-09 23:23:36,656 ERROR [org.apache.ode.bpel.engine.NStateLatch]
- Latch error, was releasing for state 1 but actually in -1
org.apache.ode.bpel.iapi.BpelEngineException: DbError
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:809)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.access$100(BpelProcess.java:704)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$2.run(BpelProcess.java:716)
	at org.apache.ode.bpel.engine.NStateLatch.latch(NStateLatch.java:89)
	at org.apache.ode.bpel.engine.BpelProcess.hydrate(BpelProcess.java:597)
	at org.apache.ode.bpel.engine.BpelServerImpl.register(BpelServerImpl.java:284)
	at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:93)
	at org.ode.xa.Main2.main(Main2.java:28)
Caused by: java.util.concurrent.ExecutionException:
org.apache.ode.bpel.iapi.ContextException: Error in tx
	at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
	at java.util.concurrent.FutureTask.get(FutureTask.java:80)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch.doHydrate(BpelProcess.java:800)
	... 7 more
Caused by: org.apache.ode.bpel.iapi.ContextException: Error in tx
	at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:140)
	at org.apache.ode.il.MockScheduler$4.call(MockScheduler.java:147)
	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: <openjpa-1.0.1-r420667:592145 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: XAER_RMFAIL: The
command cannot be executed when global transaction is in the  ACTIVE
state {stmnt 31947175 CREATE TABLE ODE_ACTIVITY_RECOVERY (ID BIGINT
NOT NULL, ACTIONS VARCHAR(255), ACTIVITY_ID BIGINT, CHANNEL
VARCHAR(255), DATE_TIME DATETIME, DETAILS TEXT, REASON VARCHAR(255),
RETRIES INTEGER, INSTANCE_ID BIGINT, PRIMARY KEY (ID)) TYPE = innodb}
[code=1399, state=XAE07]
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:549)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:449)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:170)
	at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:130)
	at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:186)
	at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
	at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
	at org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.getConnection(BPELDAOConnectionFactoryImpl.java:82)
	at org.apache.ode.bpel.engine.BpelProcess$HydrationLatch$3.call(BpelProcess.java:802)
	at org.apache.ode.il.MockScheduler.execTransaction(MockScheduler.java:134)
	... 6 more
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException:
XAER_RMFAIL: The command cannot be executed when global transaction is
in the  ACTIVE state {stmnt 31947175 CREATE TABLE
ODE_ACTIVITY_RECOVERY (ID BIGINT NOT NULL, ACTIONS VARCHAR(255),
ACTIVITY_ID BIGINT, CHANNEL VARCHAR(255), DATE_TIME DATETIME, DETAILS
TEXT, REASON VARCHAR(255), RETRIES INTEGER, INSTANCE_ID BIGINT,
PRIMARY KEY (ID)) TYPE = innodb} [code=1399, state=XAE07]
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(LoggingConnectionDecorator.java:192)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$800(LoggingConnectionDecorator.java:57)
	at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection$LoggingStatement.executeUpdate(LoggingConnectionDecorator.java:754)
	at org.apache.openjpa.jdbc.schema.SchemaTool.executeSQL(SchemaTool.java:1185)
	at org.apache.openjpa.jdbc.schema.SchemaTool.createTable(SchemaTool.java:949)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:526)
	at org.apache.openjpa.jdbc.schema.SchemaTool.add(SchemaTool.java:344)
	at org.apache.openjpa.jdbc.schema.SchemaTool.run(SchemaTool.java:321)
	at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:497)
	... 16 more

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Maybe XA is reason why IONA integrates with ActiveBPEL and not with ODE =).

Don't know if ActiveBPEL supports XA, just blind guess.

http://www.iona.com/support/docs/artix/orchestration/5.1/orch_relnotes/wwhelp/wwhimpl/common/html/wwhelp.htm?context=release_notes&file=release_notes2.html

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Hi Alex,

I will gladly contribute stuff done while learning/testing, however I'm not
sure are we referring to the same concepts when talking about Bitronix and
Tranql.

If I get this right, based on the experience with ServiceMix, Tranql ain't
transaction manager but rather "framework for building persistence engines"
as written on official web site, and ServiceMix uses Geronimo Tx manager
with Tranql. Have not looked at Tranql source code but from my understanding
of it can act as wrapper around DataSources, similar to the Enhydra JDBC
driver wrapper.
Bitronix provides its own DataSources wrappers though.

Anyways, if I missed something above please correct me, and if ODE would
need XA support (which in my opinion should have), if you could provide some
additional notes and details of current state of implementation, I might
actually contribute this.

Regards

Re: ODE in XA-JTA environment

Posted by Alex Boisvert <bo...@intalio.com>.
Well, Bitronix as a replacement for Tranql should work.  I'd have to
investigate why the two aren't cooperating.  If you feel like opening an
issue about this and attaching what you've got so far, we could pick it up
from there and eventually make it part of Ode as an alternative to Tranql.

alex


On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
>
> Thanks a lot for the update! I almost lost the confidence in myself trying
> to configure this =).
>
> Cheers
>
> On Feb 19, 2008 11:12 PM, Alex Boisvert <bo...@intalio.com> wrote:
>
> > Correct.   The 1.1.x branch (including 1.1.1) doesn't support XA for the
> > general case.  That's one of the main reason we split off to create the
> > BART
> > branch (now trunk).
> >
> > alex
> >
> >
> > On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> > >
> > > Thank a lot for the tips Alex.
> > >
> > > Does this mean that latest, 1.1.1 distribution supports XA, or entire
> > > 1.x.xbranch has no support for the XA?
> > >
> > > Thanks
> > >
> > > On Feb 19, 2008 5:30 PM, Alex Boisvert <bo...@intalio.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > My general feeling is this is the type of integration that either
> > works
> > > > right away, or you have to get your hands dirty into the code.
> OpenJPA
> > > and
> > > > Bitronix don't seem to see eye-to-eye and I don't know whose side is
> > at
> > > > fault.  Regardless, I'd say getting to the bottom of it will require
> a
> > > > good
> > > > understanding of the code.
> > > >
> > > > Any reason you're not using the pre-packaged Tranql transaction
> > manager?
> > > > (mode=internal).  If you're using the 1.1-branch, there's no support
> > for
> > > > XA
> > > > transaction.
> > > >
> > > > alex
> > > >
> > > >
> > > > On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > >
> > > > > Still struggling with this one, have tried to configure two data
> > > sources
> > > > > (one managed) in both configuration files and manually,
> > > > > but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does
> > not
> > > > > implement nor use setUnmanagedDataSource,
> > > > > actually its implementation is empty.
> > > > >
> > > > > Any thoughts about this? Is this actually solvable by n00b like me
> > =)
> > > > > without having to learn source code and dig deeper into ODE
> > > > implementation
> > > > > details?
> > > > >
> > > > > Regards,
> > > > >
> > > > > On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com>
> wrote:
> > > > >
> > > > > > I have managed to configure and test OpenJPA in XA environment,
> > and
> > > > > > everything works ok,
> > > > > > but cant configure it together with ODE.
> > > > > >
> > > > > > Thanks in advance
> > > > > >
> > > > > >
> > > > > > On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com>
> > wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I have created database before running but now get some other
> > > error
> > > > > > > which I cant solve. Example
> > > > > > > in usage is same as previously explained. Also, running with
> or
> > > > > without
> > > > > > > file persistence.xml in META-INF/ folder
> > > > > > > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > > > > > > definition).
> > > > > > >
> > > > > > > Contents of the persistence.xml are as follows:
> > > > > > > =========================================================
> > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> > > > > > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > > >     version="1.0">
> > > > > > >     <persistence-unit name="testunit"
> > > > > transaction-type="RESOURCE_LOCAL">
> > > > > > >         <class>my.jpa.test.Message</class>
> > > > > > >         <properties>
> > > > > > >             <property name="openjpa.Connection2URL"
> > > > > > > value="jdbc:mysql://localhost/bpel"/>
> > > > > > >             <property name="openjpa.Connection2DriverName"
> > value="
> > > > > > > com.mysql.jdbc.Driver"/>
> > > > > > >             <property name="openjpa.Connection2UserName"
> > > > > value="root"/>
> > > > > > >             <property name="openjpa.Connection2Password"
> > > > > value="root"/>
> > > > > > >             <property name="openjpa.Log"
> > > > value="DefaultLevel=TRACE"/>
> > > > > > >         </properties>
> > > > > > >     </persistence-unit>
> > > > > > > </persistence>
> > > > > > > =========================================================
> > > > > > >
> > > > > > > Following error occurs, thanks for any tips in advance:
> > > > > > >
> > > > > > > =========================================================
> > > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving
> > > mapping
> > > > > for
> > > > > > > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping
> > > strategy
> > > > > > > "full".
> > > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -
> Resolving
> > > > field
> > > > > "
> > > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596
> > > ._processes".
> > > > > > > org.apache.ode.bpel.iapi.ContextException: DbError
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > > > ProcessStoreImpl.java
> > > > > > > :545)
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > > > > > > ProcessStoreImpl.java:179)
> > > > > > >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java
> :91)
> > > > > > >     at org.ode.xa.Main2.main(Main2.java:29)
> > > > > > > Caused by: java.util.concurrent.ExecutionException: <
> > > > > > > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > > > > org.apache.openjpa.persistence.PersistenceException: error
> > > enlisting
> > > > a
> > > > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > > > mysql-1
> > > > > in
> > > > > > > state ACCESSIBLE wrapping
> > > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > > t0.id
> > > > ,
> > > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0,
> > state=null]2008-02-18
> > > > > > > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has
> > > mapping
> > > > > > > strategy "
> > > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > > > > > > ".
> > > > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name
> > > > > "OPENJPA_SEQUENCE_TABLE".
> > > > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "openjpa_sequence_table".
> > > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "ID" on table "openjpa_sequence_table".
> > > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > > > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name "STORE_DU".
> > > > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, STORE_DU, null
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "store_du".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "NAME" on table "store_du".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "DEPLOYDT" on table "store_du".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "DEPLOYER" on table "store_du".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "DIR" on table "store_du".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name
> "STORE_PROCESS".
> > > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > > > > > > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "PID" on table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "STATE" on table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "TYPE" on table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "VERSION" on table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "DU" on table "store_process".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name
> > > "STORE_PROCESS_PROP".
> > > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "store_process_prop".
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "id" on table "store_process_prop".
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "PROP_KEY" on table "store_process_prop".
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "PROP_VAL" on table "store_process_prop".
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name
> > > "STORE_PROC_TO_PROP".
> > > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "store_proc_to_prop".
> > > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "element_id" on table "store_proc_to_prop".
> > > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> > > table
> > > > > > > information for schema name "null", table name
> "STORE_VERSIONS".
> > > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > > > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading
> > > column
> > > > > > > information for table "store_versions".
> > > > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "id" on table "store_versions".
> > > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found
> > > existing
> > > > > > > column "VERSION" on table "store_versions".
> > > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading
> > > > sequence
> > > > > > > information for schema "null", sequence name "null".
> > > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> [0 ms] commit
> > > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 17189485> [0 ms] close
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > > registered
> > > > > > > persistence-capable class "class
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > > registered
> > > > > > > persistence-capable class "class
> > > > > > > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > > registered
> > > > > > > persistence-capable class "class
> > > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > > registered
> > > > > > > persistence-capable class "class
> > > > > > > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading
> > > metadata
> > > > > for
> > > > > > > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under
> > mode
> > > > > > > "[META][QUERY]".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing
> class
> > "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing
> > package
> > > "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating
> > > > default
> > > > > > > metadata for type "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl
> > > ".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > > > > > > persistence-capable superclass of "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> > > > metadata
> > > > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> Resolving
> > > > field
> > > > > "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> > ._version".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing
> > > mapping
> > > > > for
> > > > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> Resolving
> > > > field
> > > > > "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> > ._version".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> > "_version"
> > > > has
> > > > > > > mapping strategy "
> > > > > > > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>"
> > has
> > > > > > > mapping strategy "none".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has
> > > mapping
> > > > > > > strategy "none".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> > > mapping
> > > > > for
> > > > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping
> > > strategy
> > > > > > > "full".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> Initializing
> > > > > mapping
> > > > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> Resolving
> > > > field
> > > > > "
> > > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> > ._version".
> > > > > > > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing
> query:
> > > > > select
> > > > > > > v from VersionTrackerDAOImpl v
> > > > > > > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t
> 21324485,
> > > > conn
> > > > > > > 18330704> [0 ms] close
> > > > > > >
> > > > > > >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown
> > > Source)
> > > > > > >     at java.util.concurrent.FutureTask.get(Unknown Source)
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > > > ProcessStoreImpl.java
> > > > > > > :543)
> > > > > > >     ... 3 more
> > > > > > > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general
> error>
> > > > > > > org.apache.openjpa.persistence.PersistenceException: error
> > > enlisting
> > > > a
> > > > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > > > mysql-1
> > > > > in
> > > > > > > state ACCESSIBLE wrapping
> > > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > > t0.id
> > > > ,
> > > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > > > >     at
> > org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > > > > > > DBDictionary.java:3938)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > > SQLExceptions.java:97)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > > SQLExceptions.java:83)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > > SQLExceptions.java:59)
> > > > > > >     at
> > > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > > > > > > (SelectResultObjectProvider.java:155)
> > > > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > > > EagerResultList.java:40)
> > > > > > >     at org.apache.openjpa.kernel.QueryImpl.toResult(
> > QueryImpl.java
> > > > > :1223)
> > > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> > QueryImpl.java
> > > > :990)
> > > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> > QueryImpl.java
> > > > :799)
> > > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> > QueryImpl.java
> > > > :769)
> > > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> > QueryImpl.java
> > > > :765)
> > > > > > >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > > > > > > DelegatingQuery.java:517)
> > > > > > >     at org.apache.openjpa.persistence.QueryImpl.execute(
> > > > QueryImpl.java
> > > > > > > :238)
> > > > > > >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > > > > > > QueryImpl.java:277)
> > > > > > >     at
> > > > org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > > > > > > ConfStoreConnectionJpa.java:76)
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > > > ProcessStoreImpl.java:181)
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > > > ProcessStoreImpl.java:180)
> > > > > > >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > > > > > > ProcessStoreImpl.java:702)
> > > > > > >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException:
> > > error
> > > > > > > enlisting a JdbcConnectionHandle of a JdbcPooledConnection
> from
> > > > > datasource
> > > > > > > mysql-1 in state ACCESSIBLE wrapping
> > > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > > t0.id
> > > > ,
> > > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > > > >     at
> > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap
> > > (
> > > > > > > LoggingConnectionDecorator.java:201)
> > > > > > >     at
> > > > > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > > > > > > (LoggingConnectionDecorator.java:57)
> > > > > > >     at
> > > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > > > > > > (LoggingConnectionDecorator.java:228)
> > > > > > >     at
> > > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > > (DelegatingConnection.java:163)
> > > > > > >     at
> > > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > > > > > > (ConfiguringConnectionDecorator.java:140)
> > > > > > >     at
> > > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > > (DelegatingConnection.java:163)
> > > > > > >     at
> > > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > > > > > > (JDBCStoreManager.java:1308)
> > > > > > >     at
> > > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > > (DelegatingConnection.java:152)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > > > SQLBuffer.java:475)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > > > SQLBuffer.java:455)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > > > SelectImpl.java
> > > > > > > :354)
> > > > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > > > SelectImpl.java
> > > > > > > :327)
> > > > > > >     at
> > > org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > > > > > > LogicalUnion.java:407)
> > > > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > > > LogicalUnion.java:218)
> > > > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > > > LogicalUnion.java:208)
> > > > > > >     at
> > > > org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > > > > > > SelectResultObjectProvider.java:94)
> > > > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > > > EagerResultList.java:34)
> > > > > > >     ... 17 more
> > > > > > > Feb 18, 2008 10:42:14 AM
> > > > bitronix.tm.BitronixTransactionManagershutdown
> > > > > > > INFO: shutting down Bitronix Transaction Manager
> > > > > > > =========================================================
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com>
> > > wrote:
> > > > > > >
> > > > > > > > Looks like OpenJPA is trying to synchronize your database
> > schema
> > > > > with
> > > > > > > > its
> > > > > > > > own internal model... which results in DDL statements and
> > those
> > > > are
> > > > > > > > not
> > > > > > > > transactional so can't run within a transaction.
> > > > > > > >
> > > > > > > > I would try either,
> > > > > > > > 1) initialize/synchronize your database schema before
> starting
> > > Ode
> > > > > > > > 2) disable schema synchronization in OpenJPA
> > > > > > > >
> > > > > > > >
> > > > >
> > > >
> > >
> >
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > > > > > > >
> > > > > > > > alex
> > > > > > > >
> > > > > > > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > > > > > >
> > > > > > > > > Hello all,
> > > > > > > > >
> > > > > > > > > I am still trying to configure ODE in XA environment. Next
> > > > example
> > > > > > > > is
> > > > > > > > > based on
> > > > > > > > > MockBpelServer class found in
> > > org.apache.ode.bpel.runtimepackage.
> > > > > > > > That
> > > > > > > > > example
> > > > > > > > > demonstrates how to manage transactions using
> > > TransactionManager
> > > > > > > > > interface.
> > > > > > > > >
> > > > > > > > > Only changes I have made to MockBpelServer are the
> injection
> > > of
> > > > > > > > DataSource
> > > > > > > > > and
> > > > > > > > > TransactionManager objects by me. These 2 objects are
> > created
> > > > > > > > externally,
> > > > > > > > > and
> > > > > > > > > set to MockBpelServer for further usage. All other code of
> > > > > > > > MockBpelServer
> > > > > > > > > is
> > > > > > > > > untouched, including 2 crucial methods: deploy and invoke.
> > > > > > > > >
> > > > > > > > > MySql is used as database and Bitrnoix as JTA transaction
> > > > manager.
> > > > > I
> > > > > > > > have
> > > > > > > > > tested
> > > > > > > > > these two with ActiveMq JMS broker, and they function
> > > correctly.
> > > > > > > > >
> > > > > > > > > Thanks in advance.
> > > > > > > > >
> > > > > > > > > Main method contains following code, and it tries only to
> > > > > > > > transactionally
> > > > > > > > > invoke
> > > > > > > > > ODE by using JTA API (it is not trying to invoke ODE and
> > some
> > > > > other
> > > > > > > > XA
> > > > > > > > > resource,
> > > > > > > > > that would be next step when this is working)
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Thanks a lot for the update! I almost lost the confidence in myself trying
to configure this =).

Cheers

On Feb 19, 2008 11:12 PM, Alex Boisvert <bo...@intalio.com> wrote:

> Correct.   The 1.1.x branch (including 1.1.1) doesn't support XA for the
> general case.  That's one of the main reason we split off to create the
> BART
> branch (now trunk).
>
> alex
>
>
> On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> >
> > Thank a lot for the tips Alex.
> >
> > Does this mean that latest, 1.1.1 distribution supports XA, or entire
> > 1.x.xbranch has no support for the XA?
> >
> > Thanks
> >
> > On Feb 19, 2008 5:30 PM, Alex Boisvert <bo...@intalio.com> wrote:
> >
> > > Hi,
> > >
> > > My general feeling is this is the type of integration that either
> works
> > > right away, or you have to get your hands dirty into the code. OpenJPA
> > and
> > > Bitronix don't seem to see eye-to-eye and I don't know whose side is
> at
> > > fault.  Regardless, I'd say getting to the bottom of it will require a
> > > good
> > > understanding of the code.
> > >
> > > Any reason you're not using the pre-packaged Tranql transaction
> manager?
> > > (mode=internal).  If you're using the 1.1-branch, there's no support
> for
> > > XA
> > > transaction.
> > >
> > > alex
> > >
> > >
> > > On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> > > >
> > > > Still struggling with this one, have tried to configure two data
> > sources
> > > > (one managed) in both configuration files and manually,
> > > > but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does
> not
> > > > implement nor use setUnmanagedDataSource,
> > > > actually its implementation is empty.
> > > >
> > > > Any thoughts about this? Is this actually solvable by n00b like me
> =)
> > > > without having to learn source code and dig deeper into ODE
> > > implementation
> > > > details?
> > > >
> > > > Regards,
> > > >
> > > > On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com> wrote:
> > > >
> > > > > I have managed to configure and test OpenJPA in XA environment,
> and
> > > > > everything works ok,
> > > > > but cant configure it together with ODE.
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > >
> > > > > On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com>
> wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have created database before running but now get some other
> > error
> > > > > > which I cant solve. Example
> > > > > > in usage is same as previously explained. Also, running with or
> > > > without
> > > > > > file persistence.xml in META-INF/ folder
> > > > > > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > > > > > definition).
> > > > > >
> > > > > > Contents of the persistence.xml are as follows:
> > > > > > =========================================================
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> > > > > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > > >     version="1.0">
> > > > > >     <persistence-unit name="testunit"
> > > > transaction-type="RESOURCE_LOCAL">
> > > > > >         <class>my.jpa.test.Message</class>
> > > > > >         <properties>
> > > > > >             <property name="openjpa.Connection2URL"
> > > > > > value="jdbc:mysql://localhost/bpel"/>
> > > > > >             <property name="openjpa.Connection2DriverName"
> value="
> > > > > > com.mysql.jdbc.Driver"/>
> > > > > >             <property name="openjpa.Connection2UserName"
> > > > value="root"/>
> > > > > >             <property name="openjpa.Connection2Password"
> > > > value="root"/>
> > > > > >             <property name="openjpa.Log"
> > > value="DefaultLevel=TRACE"/>
> > > > > >         </properties>
> > > > > >     </persistence-unit>
> > > > > > </persistence>
> > > > > > =========================================================
> > > > > >
> > > > > > Following error occurs, thanks for any tips in advance:
> > > > > >
> > > > > > =========================================================
> > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving
> > mapping
> > > > for
> > > > > > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping
> > strategy
> > > > > > "full".
> > > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving
> > > field
> > > > "
> > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596
> > ._processes".
> > > > > > org.apache.ode.bpel.iapi.ContextException: DbError
> > > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > > ProcessStoreImpl.java
> > > > > > :545)
> > > > > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > > > > > ProcessStoreImpl.java:179)
> > > > > >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
> > > > > >     at org.ode.xa.Main2.main(Main2.java:29)
> > > > > > Caused by: java.util.concurrent.ExecutionException: <
> > > > > > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > > > org.apache.openjpa.persistence.PersistenceException: error
> > enlisting
> > > a
> > > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > > mysql-1
> > > > in
> > > > > > state ACCESSIBLE wrapping
> > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > t0.id
> > > ,
> > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0,
> state=null]2008-02-18
> > > > > > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has
> > mapping
> > > > > > strategy "
> > > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > > > > > ".
> > > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name
> > > > "OPENJPA_SEQUENCE_TABLE".
> > > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "openjpa_sequence_table".
> > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "ID" on table "openjpa_sequence_table".
> > > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name "STORE_DU".
> > > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, STORE_DU, null
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "store_du".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "NAME" on table "store_du".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "DEPLOYDT" on table "store_du".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "DEPLOYER" on table "store_du".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "DIR" on table "store_du".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name "STORE_PROCESS".
> > > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > > > > > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "PID" on table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "STATE" on table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "TYPE" on table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "VERSION" on table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "DU" on table "store_process".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name
> > "STORE_PROCESS_PROP".
> > > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "store_process_prop".
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "id" on table "store_process_prop".
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "PROP_KEY" on table "store_process_prop".
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "PROP_VAL" on table "store_process_prop".
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name
> > "STORE_PROC_TO_PROP".
> > > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "store_proc_to_prop".
> > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "element_id" on table "store_proc_to_prop".
> > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> > table
> > > > > > information for schema name "null", table name "STORE_VERSIONS".
> > > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading
> > column
> > > > > > information for table "store_versions".
> > > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "id" on table "store_versions".
> > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found
> > existing
> > > > > > column "VERSION" on table "store_versions".
> > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading
> > > sequence
> > > > > > information for schema "null", sequence name "null".
> > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> [0 ms] commit
> > > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 17189485> [0 ms] close
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > registered
> > > > > > persistence-capable class "class
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > registered
> > > > > > persistence-capable class "class
> > > > > > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > registered
> > > > > > persistence-capable class "class
> > > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > > registered
> > > > > > persistence-capable class "class
> > > > > > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading
> > metadata
> > > > for
> > > > > > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under
> mode
> > > > > > "[META][QUERY]".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class
> "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing
> package
> > "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating
> > > default
> > > > > > metadata for type "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl
> > ".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > > > > > persistence-capable superclass of "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> > > metadata
> > > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > > field
> > > > "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> ._version".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing
> > mapping
> > > > for
> > > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > > field
> > > > "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> ._version".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -
> "_version"
> > > has
> > > > > > mapping strategy "
> > > > > > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>"
> has
> > > > > > mapping strategy "none".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has
> > mapping
> > > > > > strategy "none".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> > mapping
> > > > for
> > > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping
> > strategy
> > > > > > "full".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing
> > > > mapping
> > > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > > field
> > > > "
> > > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590
> ._version".
> > > > > > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query:
> > > > select
> > > > > > v from VersionTrackerDAOImpl v
> > > > > > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > > conn
> > > > > > 18330704> [0 ms] close
> > > > > >
> > > > > >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown
> > Source)
> > > > > >     at java.util.concurrent.FutureTask.get(Unknown Source)
> > > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > > ProcessStoreImpl.java
> > > > > > :543)
> > > > > >     ... 3 more
> > > > > > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > > > org.apache.openjpa.persistence.PersistenceException: error
> > enlisting
> > > a
> > > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > > mysql-1
> > > > in
> > > > > > state ACCESSIBLE wrapping
> > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > t0.id
> > > ,
> > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > > >     at
> org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > > > > > DBDictionary.java:3938)
> > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > SQLExceptions.java:97)
> > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > SQLExceptions.java:83)
> > > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > > SQLExceptions.java:59)
> > > > > >     at
> > > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > > > > > (SelectResultObjectProvider.java:155)
> > > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > > EagerResultList.java:40)
> > > > > >     at org.apache.openjpa.kernel.QueryImpl.toResult(
> QueryImpl.java
> > > > :1223)
> > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> QueryImpl.java
> > > :990)
> > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> QueryImpl.java
> > > :799)
> > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> QueryImpl.java
> > > :769)
> > > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(
> QueryImpl.java
> > > :765)
> > > > > >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > > > > > DelegatingQuery.java:517)
> > > > > >     at org.apache.openjpa.persistence.QueryImpl.execute(
> > > QueryImpl.java
> > > > > > :238)
> > > > > >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > > > > > QueryImpl.java:277)
> > > > > >     at
> > > org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > > > > > ConfStoreConnectionJpa.java:76)
> > > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > > ProcessStoreImpl.java:181)
> > > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > > ProcessStoreImpl.java:180)
> > > > > >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > > > > > ProcessStoreImpl.java:702)
> > > > > >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException:
> > error
> > > > > > enlisting a JdbcConnectionHandle of a JdbcPooledConnection from
> > > > datasource
> > > > > > mysql-1 in state ACCESSIBLE wrapping
> > > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> > t0.id
> > > ,
> > > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > > >     at
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap
> > (
> > > > > > LoggingConnectionDecorator.java:201)
> > > > > >     at
> > > > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > > > > > (LoggingConnectionDecorator.java:57)
> > > > > >     at
> > > > > >
> > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > > > > > (LoggingConnectionDecorator.java:228)
> > > > > >     at
> > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > (DelegatingConnection.java:163)
> > > > > >     at
> > > > > >
> > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > > > > > (ConfiguringConnectionDecorator.java:140)
> > > > > >     at
> > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > (DelegatingConnection.java:163)
> > > > > >     at
> > > > > >
> > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > > > > > (JDBCStoreManager.java:1308)
> > > > > >     at
> > > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > > (DelegatingConnection.java:152)
> > > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > > SQLBuffer.java:475)
> > > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > > SQLBuffer.java:455)
> > > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > > SelectImpl.java
> > > > > > :354)
> > > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > > SelectImpl.java
> > > > > > :327)
> > > > > >     at
> > org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > > > > > LogicalUnion.java:407)
> > > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > > LogicalUnion.java:218)
> > > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > > LogicalUnion.java:208)
> > > > > >     at
> > > org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > > > > > SelectResultObjectProvider.java:94)
> > > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > > EagerResultList.java:34)
> > > > > >     ... 17 more
> > > > > > Feb 18, 2008 10:42:14 AM
> > > bitronix.tm.BitronixTransactionManagershutdown
> > > > > > INFO: shutting down Bitronix Transaction Manager
> > > > > > =========================================================
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com>
> > wrote:
> > > > > >
> > > > > > > Looks like OpenJPA is trying to synchronize your database
> schema
> > > > with
> > > > > > > its
> > > > > > > own internal model... which results in DDL statements and
> those
> > > are
> > > > > > > not
> > > > > > > transactional so can't run within a transaction.
> > > > > > >
> > > > > > > I would try either,
> > > > > > > 1) initialize/synchronize your database schema before starting
> > Ode
> > > > > > > 2) disable schema synchronization in OpenJPA
> > > > > > >
> > > > > > >
> > > >
> > >
> >
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > > > > > >
> > > > > > > alex
> > > > > > >
> > > > > > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > > > > >
> > > > > > > > Hello all,
> > > > > > > >
> > > > > > > > I am still trying to configure ODE in XA environment. Next
> > > example
> > > > > > > is
> > > > > > > > based on
> > > > > > > > MockBpelServer class found in
> > org.apache.ode.bpel.runtimepackage.
> > > > > > > That
> > > > > > > > example
> > > > > > > > demonstrates how to manage transactions using
> > TransactionManager
> > > > > > > > interface.
> > > > > > > >
> > > > > > > > Only changes I have made to MockBpelServer are the injection
> > of
> > > > > > > DataSource
> > > > > > > > and
> > > > > > > > TransactionManager objects by me. These 2 objects are
> created
> > > > > > > externally,
> > > > > > > > and
> > > > > > > > set to MockBpelServer for further usage. All other code of
> > > > > > > MockBpelServer
> > > > > > > > is
> > > > > > > > untouched, including 2 crucial methods: deploy and invoke.
> > > > > > > >
> > > > > > > > MySql is used as database and Bitrnoix as JTA transaction
> > > manager.
> > > > I
> > > > > > > have
> > > > > > > > tested
> > > > > > > > these two with ActiveMq JMS broker, and they function
> > correctly.
> > > > > > > >
> > > > > > > > Thanks in advance.
> > > > > > > >
> > > > > > > > Main method contains following code, and it tries only to
> > > > > > > transactionally
> > > > > > > > invoke
> > > > > > > > ODE by using JTA API (it is not trying to invoke ODE and
> some
> > > > other
> > > > > > > XA
> > > > > > > > resource,
> > > > > > > > that would be next step when this is working)
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Re: ODE in XA-JTA environment

Posted by Alex Boisvert <bo...@intalio.com>.
Correct.   The 1.1.x branch (including 1.1.1) doesn't support XA for the
general case.  That's one of the main reason we split off to create the BART
branch (now trunk).

alex


On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
>
> Thank a lot for the tips Alex.
>
> Does this mean that latest, 1.1.1 distribution supports XA, or entire
> 1.x.xbranch has no support for the XA?
>
> Thanks
>
> On Feb 19, 2008 5:30 PM, Alex Boisvert <bo...@intalio.com> wrote:
>
> > Hi,
> >
> > My general feeling is this is the type of integration that either works
> > right away, or you have to get your hands dirty into the code. OpenJPA
> and
> > Bitronix don't seem to see eye-to-eye and I don't know whose side is at
> > fault.  Regardless, I'd say getting to the bottom of it will require a
> > good
> > understanding of the code.
> >
> > Any reason you're not using the pre-packaged Tranql transaction manager?
> > (mode=internal).  If you're using the 1.1-branch, there's no support for
> > XA
> > transaction.
> >
> > alex
> >
> >
> > On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> > >
> > > Still struggling with this one, have tried to configure two data
> sources
> > > (one managed) in both configuration files and manually,
> > > but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does not
> > > implement nor use setUnmanagedDataSource,
> > > actually its implementation is empty.
> > >
> > > Any thoughts about this? Is this actually solvable by n00b like me =)
> > > without having to learn source code and dig deeper into ODE
> > implementation
> > > details?
> > >
> > > Regards,
> > >
> > > On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com> wrote:
> > >
> > > > I have managed to configure and test OpenJPA in XA environment, and
> > > > everything works ok,
> > > > but cant configure it together with ODE.
> > > >
> > > > Thanks in advance
> > > >
> > > >
> > > > On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have created database before running but now get some other
> error
> > > > > which I cant solve. Example
> > > > > in usage is same as previously explained. Also, running with or
> > > without
> > > > > file persistence.xml in META-INF/ folder
> > > > > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > > > > definition).
> > > > >
> > > > > Contents of the persistence.xml are as follows:
> > > > > =========================================================
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> > > > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > > >     version="1.0">
> > > > >     <persistence-unit name="testunit"
> > > transaction-type="RESOURCE_LOCAL">
> > > > >         <class>my.jpa.test.Message</class>
> > > > >         <properties>
> > > > >             <property name="openjpa.Connection2URL"
> > > > > value="jdbc:mysql://localhost/bpel"/>
> > > > >             <property name="openjpa.Connection2DriverName" value="
> > > > > com.mysql.jdbc.Driver"/>
> > > > >             <property name="openjpa.Connection2UserName"
> > > value="root"/>
> > > > >             <property name="openjpa.Connection2Password"
> > > value="root"/>
> > > > >             <property name="openjpa.Log"
> > value="DefaultLevel=TRACE"/>
> > > > >         </properties>
> > > > >     </persistence-unit>
> > > > > </persistence>
> > > > > =========================================================
> > > > >
> > > > > Following error occurs, thanks for any tips in advance:
> > > > >
> > > > > =========================================================
> > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving
> mapping
> > > for
> > > > > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping
> strategy
> > > > > "full".
> > > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving
> > field
> > > "
> > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596
> ._processes".
> > > > > org.apache.ode.bpel.iapi.ContextException: DbError
> > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > ProcessStoreImpl.java
> > > > > :545)
> > > > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > > > > ProcessStoreImpl.java:179)
> > > > >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
> > > > >     at org.ode.xa.Main2.main(Main2.java:29)
> > > > > Caused by: java.util.concurrent.ExecutionException: <
> > > > > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > > org.apache.openjpa.persistence.PersistenceException: error
> enlisting
> > a
> > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > mysql-1
> > > in
> > > > > state ACCESSIBLE wrapping
> > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> t0.id
> > ,
> > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
> > > > > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has
> mapping
> > > > > strategy "
> > > > >
> > >
> >
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > > > > ".
> > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name
> > > "OPENJPA_SEQUENCE_TABLE".
> > > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "openjpa_sequence_table".
> > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "ID" on table "openjpa_sequence_table".
> > > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name "STORE_DU".
> > > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, STORE_DU, null
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "store_du".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "NAME" on table "store_du".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "DEPLOYDT" on table "store_du".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "DEPLOYER" on table "store_du".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "DIR" on table "store_du".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name "STORE_PROCESS".
> > > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > > > > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "PID" on table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "STATE" on table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "TYPE" on table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "VERSION" on table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "DU" on table "store_process".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name
> "STORE_PROCESS_PROP".
> > > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "store_process_prop".
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "id" on table "store_process_prop".
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "PROP_KEY" on table "store_process_prop".
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "PROP_VAL" on table "store_process_prop".
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name
> "STORE_PROC_TO_PROP".
> > > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "store_proc_to_prop".
> > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "element_id" on table "store_proc_to_prop".
> > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading
> table
> > > > > information for schema name "null", table name "STORE_VERSIONS".
> > > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading
> column
> > > > > information for table "store_versions".
> > > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "id" on table "store_versions".
> > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found
> existing
> > > > > column "VERSION" on table "store_versions".
> > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading
> > sequence
> > > > > information for schema "null", sequence name "null".
> > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> [0 ms] commit
> > > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 17189485> [0 ms] close
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > registered
> > > > > persistence-capable class "class
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > registered
> > > > > persistence-capable class "class
> > > > > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > registered
> > > > > persistence-capable class "class
> > > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > > registered
> > > > > persistence-capable class "class
> > > > > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading
> metadata
> > > for
> > > > > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
> > > > > "[META][QUERY]".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package
> "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating
> > default
> > > > > metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl
> ".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > > > > persistence-capable superclass of "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> > metadata
> > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > field
> > > "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing
> mapping
> > > for
> > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > field
> > > "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version"
> > has
> > > > > mapping strategy "
> > > > > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
> > > > > mapping strategy "none".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has
> mapping
> > > > > strategy "none".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> mapping
> > > for
> > > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping
> strategy
> > > > > "full".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing
> > > mapping
> > > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> > field
> > > "
> > > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query:
> > > select
> > > > > v from VersionTrackerDAOImpl v
> > > > > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> > conn
> > > > > 18330704> [0 ms] close
> > > > >
> > > > >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown
> Source)
> > > > >     at java.util.concurrent.FutureTask.get(Unknown Source)
> > > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > > ProcessStoreImpl.java
> > > > > :543)
> > > > >     ... 3 more
> > > > > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > > org.apache.openjpa.persistence.PersistenceException: error
> enlisting
> > a
> > > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > mysql-1
> > > in
> > > > > state ACCESSIBLE wrapping
> > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> t0.id
> > ,
> > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > >     at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > > > > DBDictionary.java:3938)
> > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > SQLExceptions.java:97)
> > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > SQLExceptions.java:83)
> > > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > > SQLExceptions.java:59)
> > > > >     at
> > > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > > > > (SelectResultObjectProvider.java:155)
> > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > EagerResultList.java:40)
> > > > >     at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java
> > > :1223)
> > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> > :990)
> > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> > :799)
> > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> > :769)
> > > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> > :765)
> > > > >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > > > > DelegatingQuery.java:517)
> > > > >     at org.apache.openjpa.persistence.QueryImpl.execute(
> > QueryImpl.java
> > > > > :238)
> > > > >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > > > > QueryImpl.java:277)
> > > > >     at
> > org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > > > > ConfStoreConnectionJpa.java:76)
> > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > ProcessStoreImpl.java:181)
> > > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > > ProcessStoreImpl.java:180)
> > > > >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > > > > ProcessStoreImpl.java:702)
> > > > >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException:
> error
> > > > > enlisting a JdbcConnectionHandle of a JdbcPooledConnection from
> > > datasource
> > > > > mysql-1 in state ACCESSIBLE wrapping
> > > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT
> t0.id
> > ,
> > > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > > >     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap
> (
> > > > > LoggingConnectionDecorator.java:201)
> > > > >     at
> > > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > > > > (LoggingConnectionDecorator.java:57)
> > > > >     at
> > > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > > > > (LoggingConnectionDecorator.java:228)
> > > > >     at
> > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > (DelegatingConnection.java:163)
> > > > >     at
> > > > >
> > >
> >
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > > > > (ConfiguringConnectionDecorator.java:140)
> > > > >     at
> > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > (DelegatingConnection.java:163)
> > > > >     at
> > > > >
> > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > > > > (JDBCStoreManager.java:1308)
> > > > >     at
> > > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > > (DelegatingConnection.java:152)
> > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > SQLBuffer.java:475)
> > > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > > SQLBuffer.java:455)
> > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > SelectImpl.java
> > > > > :354)
> > > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> > SelectImpl.java
> > > > > :327)
> > > > >     at
> org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > > > > LogicalUnion.java:407)
> > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > LogicalUnion.java:218)
> > > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > > LogicalUnion.java:208)
> > > > >     at
> > org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > > > > SelectResultObjectProvider.java:94)
> > > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > > EagerResultList.java:34)
> > > > >     ... 17 more
> > > > > Feb 18, 2008 10:42:14 AM
> > bitronix.tm.BitronixTransactionManagershutdown
> > > > > INFO: shutting down Bitronix Transaction Manager
> > > > > =========================================================
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com>
> wrote:
> > > > >
> > > > > > Looks like OpenJPA is trying to synchronize your database schema
> > > with
> > > > > > its
> > > > > > own internal model... which results in DDL statements and those
> > are
> > > > > > not
> > > > > > transactional so can't run within a transaction.
> > > > > >
> > > > > > I would try either,
> > > > > > 1) initialize/synchronize your database schema before starting
> Ode
> > > > > > 2) disable schema synchronization in OpenJPA
> > > > > >
> > > > > >
> > >
> >
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > > > > >
> > > > > > alex
> > > > > >
> > > > > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > > > >
> > > > > > > Hello all,
> > > > > > >
> > > > > > > I am still trying to configure ODE in XA environment. Next
> > example
> > > > > > is
> > > > > > > based on
> > > > > > > MockBpelServer class found in
> org.apache.ode.bpel.runtimepackage.
> > > > > > That
> > > > > > > example
> > > > > > > demonstrates how to manage transactions using
> TransactionManager
> > > > > > > interface.
> > > > > > >
> > > > > > > Only changes I have made to MockBpelServer are the injection
> of
> > > > > > DataSource
> > > > > > > and
> > > > > > > TransactionManager objects by me. These 2 objects are created
> > > > > > externally,
> > > > > > > and
> > > > > > > set to MockBpelServer for further usage. All other code of
> > > > > > MockBpelServer
> > > > > > > is
> > > > > > > untouched, including 2 crucial methods: deploy and invoke.
> > > > > > >
> > > > > > > MySql is used as database and Bitrnoix as JTA transaction
> > manager.
> > > I
> > > > > > have
> > > > > > > tested
> > > > > > > these two with ActiveMq JMS broker, and they function
> correctly.
> > > > > > >
> > > > > > > Thanks in advance.
> > > > > > >
> > > > > > > Main method contains following code, and it tries only to
> > > > > > transactionally
> > > > > > > invoke
> > > > > > > ODE by using JTA API (it is not trying to invoke ODE and some
> > > other
> > > > > > XA
> > > > > > > resource,
> > > > > > > that would be next step when this is working)
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> >
>

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Thank a lot for the tips Alex.

Does this mean that latest, 1.1.1 distribution supports XA, or entire
1.x.xbranch has no support for the XA?

Thanks

On Feb 19, 2008 5:30 PM, Alex Boisvert <bo...@intalio.com> wrote:

> Hi,
>
> My general feeling is this is the type of integration that either works
> right away, or you have to get your hands dirty into the code. OpenJPA and
> Bitronix don't seem to see eye-to-eye and I don't know whose side is at
> fault.  Regardless, I'd say getting to the bottom of it will require a
> good
> understanding of the code.
>
> Any reason you're not using the pre-packaged Tranql transaction manager?
> (mode=internal).  If you're using the 1.1-branch, there's no support for
> XA
> transaction.
>
> alex
>
>
> On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
> >
> > Still struggling with this one, have tried to configure two data sources
> > (one managed) in both configuration files and manually,
> > but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does not
> > implement nor use setUnmanagedDataSource,
> > actually its implementation is empty.
> >
> > Any thoughts about this? Is this actually solvable by n00b like me =)
> > without having to learn source code and dig deeper into ODE
> implementation
> > details?
> >
> > Regards,
> >
> > On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com> wrote:
> >
> > > I have managed to configure and test OpenJPA in XA environment, and
> > > everything works ok,
> > > but cant configure it together with ODE.
> > >
> > > Thanks in advance
> > >
> > >
> > > On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I have created database before running but now get some other error
> > > > which I cant solve. Example
> > > > in usage is same as previously explained. Also, running with or
> > without
> > > > file persistence.xml in META-INF/ folder
> > > > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > > > definition).
> > > >
> > > > Contents of the persistence.xml are as follows:
> > > > =========================================================
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> > > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > > >     version="1.0">
> > > >     <persistence-unit name="testunit"
> > transaction-type="RESOURCE_LOCAL">
> > > >         <class>my.jpa.test.Message</class>
> > > >         <properties>
> > > >             <property name="openjpa.Connection2URL"
> > > > value="jdbc:mysql://localhost/bpel"/>
> > > >             <property name="openjpa.Connection2DriverName" value="
> > > > com.mysql.jdbc.Driver"/>
> > > >             <property name="openjpa.Connection2UserName"
> > value="root"/>
> > > >             <property name="openjpa.Connection2Password"
> > value="root"/>
> > > >             <property name="openjpa.Log"
> value="DefaultLevel=TRACE"/>
> > > >         </properties>
> > > >     </persistence-unit>
> > > > </persistence>
> > > > =========================================================
> > > >
> > > > Following error occurs, thanks for any tips in advance:
> > > >
> > > > =========================================================
> > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving mapping
> > for
> > > > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
> > > > "full".
> > > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving
> field
> > "
> > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596._processes".
> > > > org.apache.ode.bpel.iapi.ContextException: DbError
> > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > ProcessStoreImpl.java
> > > > :545)
> > > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > > > ProcessStoreImpl.java:179)
> > > >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
> > > >     at org.ode.xa.Main2.main(Main2.java:29)
> > > > Caused by: java.util.concurrent.ExecutionException: <
> > > > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > org.apache.openjpa.persistence.PersistenceException: error enlisting
> a
> > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> mysql-1
> > in
> > > > state ACCESSIBLE wrapping
> > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id
> ,
> > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
> > > > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has mapping
> > > > strategy "
> > > >
> >
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > > > ".
> > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name
> > "OPENJPA_SEQUENCE_TABLE".
> > > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "openjpa_sequence_table".
> > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "ID" on table "openjpa_sequence_table".
> > > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name "STORE_DU".
> > > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, STORE_DU, null
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "store_du".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "NAME" on table "store_du".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "DEPLOYDT" on table "store_du".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "DEPLOYER" on table "store_du".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "DIR" on table "store_du".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name "STORE_PROCESS".
> > > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > > > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "PID" on table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "STATE" on table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "TYPE" on table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "VERSION" on table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "DU" on table "store_process".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name "STORE_PROCESS_PROP".
> > > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "store_process_prop".
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "id" on table "store_process_prop".
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "PROP_KEY" on table "store_process_prop".
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "PROP_VAL" on table "store_process_prop".
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name "STORE_PROC_TO_PROP".
> > > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "store_proc_to_prop".
> > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "element_id" on table "store_proc_to_prop".
> > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > > information for schema name "null", table name "STORE_VERSIONS".
> > > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > > information for table "store_versions".
> > > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "id" on table "store_versions".
> > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > > column "VERSION" on table "store_versions".
> > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading
> sequence
> > > > information for schema "null", sequence name "null".
> > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> [0 ms] commit
> > > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 17189485> [0 ms] close
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > registered
> > > > persistence-capable class "class
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > registered
> > > > persistence-capable class "class
> > > > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > registered
> > > > persistence-capable class "class
> > > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> > registered
> > > > persistence-capable class "class
> > > > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading metadata
> > for
> > > > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
> > > > "[META][QUERY]".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating
> default
> > > > metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > > > persistence-capable superclass of "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving
> metadata
> > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> field
> > "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing mapping
> > for
> > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> field
> > "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version"
> has
> > > > mapping strategy "
> > > > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
> > > > mapping strategy "none".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
> > > > strategy "none".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving mapping
> > for
> > > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
> > > > "full".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing
> > mapping
> > > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving
> field
> > "
> > > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query:
> > select
> > > > v from VersionTrackerDAOImpl v
> > > > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485,
> conn
> > > > 18330704> [0 ms] close
> > > >
> > > >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
> > > >     at java.util.concurrent.FutureTask.get(Unknown Source)
> > > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> > ProcessStoreImpl.java
> > > > :543)
> > > >     ... 3 more
> > > > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > > org.apache.openjpa.persistence.PersistenceException: error enlisting
> a
> > > > JdbcConnectionHandle of a JdbcPooledConnection from datasource
> mysql-1
> > in
> > > > state ACCESSIBLE wrapping
> > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id
> ,
> > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > >     at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > > > DBDictionary.java:3938)
> > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > SQLExceptions.java:97)
> > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > SQLExceptions.java:83)
> > > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > > SQLExceptions.java:59)
> > > >     at
> > > >
> >
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > > > (SelectResultObjectProvider.java:155)
> > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > EagerResultList.java:40)
> > > >     at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java
> > :1223)
> > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> :990)
> > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> :799)
> > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> :769)
> > > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java
> :765)
> > > >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > > > DelegatingQuery.java:517)
> > > >     at org.apache.openjpa.persistence.QueryImpl.execute(
> QueryImpl.java
> > > > :238)
> > > >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > > > QueryImpl.java:277)
> > > >     at
> org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > > > ConfStoreConnectionJpa.java:76)
> > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > ProcessStoreImpl.java:181)
> > > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > > ProcessStoreImpl.java:180)
> > > >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > > > ProcessStoreImpl.java:702)
> > > >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException: error
> > > > enlisting a JdbcConnectionHandle of a JdbcPooledConnection from
> > datasource
> > > > mysql-1 in state ACCESSIBLE wrapping
> > > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id
> ,
> > > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > > >     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
> > > > LoggingConnectionDecorator.java:201)
> > > >     at
> > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > > > (LoggingConnectionDecorator.java:57)
> > > >     at
> > > >
> >
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > > > (LoggingConnectionDecorator.java:228)
> > > >     at
> > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > (DelegatingConnection.java:163)
> > > >     at
> > > >
> >
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > > > (ConfiguringConnectionDecorator.java:140)
> > > >     at
> > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > (DelegatingConnection.java:163)
> > > >     at
> > > >
> >
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > > > (JDBCStoreManager.java:1308)
> > > >     at
> > org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > > (DelegatingConnection.java:152)
> > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > SQLBuffer.java:475)
> > > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > > SQLBuffer.java:455)
> > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> SelectImpl.java
> > > > :354)
> > > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(
> SelectImpl.java
> > > > :327)
> > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > > > LogicalUnion.java:407)
> > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > LogicalUnion.java:218)
> > > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > > LogicalUnion.java:208)
> > > >     at
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > > > SelectResultObjectProvider.java:94)
> > > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > > EagerResultList.java:34)
> > > >     ... 17 more
> > > > Feb 18, 2008 10:42:14 AM
> bitronix.tm.BitronixTransactionManagershutdown
> > > > INFO: shutting down Bitronix Transaction Manager
> > > > =========================================================
> > > >
> > > >
> > > >
> > > >
> > > > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com> wrote:
> > > >
> > > > > Looks like OpenJPA is trying to synchronize your database schema
> > with
> > > > > its
> > > > > own internal model... which results in DDL statements and those
> are
> > > > > not
> > > > > transactional so can't run within a transaction.
> > > > >
> > > > > I would try either,
> > > > > 1) initialize/synchronize your database schema before starting Ode
> > > > > 2) disable schema synchronization in OpenJPA
> > > > >
> > > > >
> >
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > > > >
> > > > > alex
> > > > >
> > > > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > > >
> > > > > > Hello all,
> > > > > >
> > > > > > I am still trying to configure ODE in XA environment. Next
> example
> > > > > is
> > > > > > based on
> > > > > > MockBpelServer class found in org.apache.ode.bpel.runtimepackage.
> > > > > That
> > > > > > example
> > > > > > demonstrates how to manage transactions using TransactionManager
> > > > > > interface.
> > > > > >
> > > > > > Only changes I have made to MockBpelServer are the injection of
> > > > > DataSource
> > > > > > and
> > > > > > TransactionManager objects by me. These 2 objects are created
> > > > > externally,
> > > > > > and
> > > > > > set to MockBpelServer for further usage. All other code of
> > > > > MockBpelServer
> > > > > > is
> > > > > > untouched, including 2 crucial methods: deploy and invoke.
> > > > > >
> > > > > > MySql is used as database and Bitrnoix as JTA transaction
> manager.
> > I
> > > > > have
> > > > > > tested
> > > > > > these two with ActiveMq JMS broker, and they function correctly.
> > > > > >
> > > > > > Thanks in advance.
> > > > > >
> > > > > > Main method contains following code, and it tries only to
> > > > > transactionally
> > > > > > invoke
> > > > > > ODE by using JTA API (it is not trying to invoke ODE and some
> > other
> > > > > XA
> > > > > > resource,
> > > > > > that would be next step when this is working)
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
>

Re: ODE in XA-JTA environment

Posted by Alex Boisvert <bo...@intalio.com>.
Hi,

My general feeling is this is the type of integration that either works
right away, or you have to get your hands dirty into the code. OpenJPA and
Bitronix don't seem to see eye-to-eye and I don't know whose side is at
fault.  Regardless, I'd say getting to the bottom of it will require a good
understanding of the code.

Any reason you're not using the pre-packaged Tranql transaction manager?
(mode=internal).  If you're using the 1.1-branch, there's no support for XA
transaction.

alex


On 2/19/08, xenHalfLife <xe...@gmail.com> wrote:
>
> Still struggling with this one, have tried to configure two data sources
> (one managed) in both configuration files and manually,
> but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does not
> implement nor use setUnmanagedDataSource,
> actually its implementation is empty.
>
> Any thoughts about this? Is this actually solvable by n00b like me =)
> without having to learn source code and dig deeper into ODE implementation
> details?
>
> Regards,
>
> On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com> wrote:
>
> > I have managed to configure and test OpenJPA in XA environment, and
> > everything works ok,
> > but cant configure it together with ODE.
> >
> > Thanks in advance
> >
> >
> > On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com> wrote:
> >
> > > Hi,
> > >
> > > I have created database before running but now get some other error
> > > which I cant solve. Example
> > > in usage is same as previously explained. Also, running with or
> without
> > > file persistence.xml in META-INF/ folder
> > > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > > definition).
> > >
> > > Contents of the persistence.xml are as follows:
> > > =========================================================
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> > >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> > >     version="1.0">
> > >     <persistence-unit name="testunit"
> transaction-type="RESOURCE_LOCAL">
> > >         <class>my.jpa.test.Message</class>
> > >         <properties>
> > >             <property name="openjpa.Connection2URL"
> > > value="jdbc:mysql://localhost/bpel"/>
> > >             <property name="openjpa.Connection2DriverName" value="
> > > com.mysql.jdbc.Driver"/>
> > >             <property name="openjpa.Connection2UserName"
> value="root"/>
> > >             <property name="openjpa.Connection2Password"
> value="root"/>
> > >             <property name="openjpa.Log" value="DefaultLevel=TRACE"/>
> > >         </properties>
> > >     </persistence-unit>
> > > </persistence>
> > > =========================================================
> > >
> > > Following error occurs, thanks for any tips in advance:
> > >
> > > =========================================================
> > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving mapping
> for
> > > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
> > > "full".
> > > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving field
> "
> > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596._processes".
> > > org.apache.ode.bpel.iapi.ContextException: DbError
> > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> ProcessStoreImpl.java
> > > :545)
> > >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > > ProcessStoreImpl.java:179)
> > >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
> > >     at org.ode.xa.Main2.main(Main2.java:29)
> > > Caused by: java.util.concurrent.ExecutionException: <
> > > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > org.apache.openjpa.persistence.PersistenceException: error enlisting a
> > > JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1
> in
> > > state ACCESSIBLE wrapping
> > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
> > > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has mapping
> > > strategy "
> > >
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > > ".
> > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name
> "OPENJPA_SEQUENCE_TABLE".
> > > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "openjpa_sequence_table".
> > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "ID" on table "openjpa_sequence_table".
> > > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name "STORE_DU".
> > > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, STORE_DU, null
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "store_du".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "NAME" on table "store_du".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "DEPLOYDT" on table "store_du".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "DEPLOYER" on table "store_du".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "DIR" on table "store_du".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name "STORE_PROCESS".
> > > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "PID" on table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "STATE" on table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "TYPE" on table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "VERSION" on table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "DU" on table "store_process".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name "STORE_PROCESS_PROP".
> > > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "store_process_prop".
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "id" on table "store_process_prop".
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "PROP_KEY" on table "store_process_prop".
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "PROP_VAL" on table "store_process_prop".
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name "STORE_PROC_TO_PROP".
> > > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "store_proc_to_prop".
> > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "element_id" on table "store_proc_to_prop".
> > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading table
> > > information for schema name "null", table name "STORE_VERSIONS".
> > > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading column
> > > information for table "store_versions".
> > > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "id" on table "store_versions".
> > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found existing
> > > column "VERSION" on table "store_versions".
> > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading sequence
> > > information for schema "null", sequence name "null".
> > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> [0 ms] commit
> > > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 17189485> [0 ms] close
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> registered
> > > persistence-capable class "class
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> registered
> > > persistence-capable class "class
> > > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> registered
> > > persistence-capable class "class
> > > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing
> registered
> > > persistence-capable class "class
> > > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading metadata
> for
> > > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
> > > "[META][QUERY]".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating default
> > > metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > > persistence-capable superclass of "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving metadata
> > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field
> "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing mapping
> for
> > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field
> "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version" has
> > > mapping strategy "
> > > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
> > > mapping strategy "none".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
> > > strategy "none".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving mapping
> for
> > > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
> > > "full".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing
> mapping
> > > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field
> "
> > > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query:
> select
> > > v from VersionTrackerDAOImpl v
> > > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > > 18330704> [0 ms] close
> > >
> > >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
> > >     at java.util.concurrent.FutureTask.get(Unknown Source)
> > >     at org.apache.ode.store.ProcessStoreImpl.exec(
> ProcessStoreImpl.java
> > > :543)
> > >     ... 3 more
> > > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> > > org.apache.openjpa.persistence.PersistenceException: error enlisting a
> > > JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1
> in
> > > state ACCESSIBLE wrapping
> > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > >     at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > > DBDictionary.java:3938)
> > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > SQLExceptions.java:97)
> > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > SQLExceptions.java:83)
> > >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > > SQLExceptions.java:59)
> > >     at
> > >
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > > (SelectResultObjectProvider.java:155)
> > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > EagerResultList.java:40)
> > >     at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java
> :1223)
> > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:990)
> > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:799)
> > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:769)
> > >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
> > >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > > DelegatingQuery.java:517)
> > >     at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java
> > > :238)
> > >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > > QueryImpl.java:277)
> > >     at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > > ConfStoreConnectionJpa.java:76)
> > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > ProcessStoreImpl.java:181)
> > >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > > ProcessStoreImpl.java:180)
> > >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > > ProcessStoreImpl.java:702)
> > >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException: error
> > > enlisting a JdbcConnectionHandle of a JdbcPooledConnection from
> datasource
> > > mysql-1 in state ACCESSIBLE wrapping
> > > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> > >     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
> > > LoggingConnectionDecorator.java:201)
> > >     at
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > > (LoggingConnectionDecorator.java:57)
> > >     at
> > >
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > > (LoggingConnectionDecorator.java:228)
> > >     at
> org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > (DelegatingConnection.java:163)
> > >     at
> > >
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > > (ConfiguringConnectionDecorator.java:140)
> > >     at
> org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > (DelegatingConnection.java:163)
> > >     at
> > >
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > > (JDBCStoreManager.java:1308)
> > >     at
> org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > > (DelegatingConnection.java:152)
> > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > SQLBuffer.java:475)
> > >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > > SQLBuffer.java:455)
> > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java
> > > :354)
> > >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java
> > > :327)
> > >     at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > > LogicalUnion.java:407)
> > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > LogicalUnion.java:218)
> > >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > > LogicalUnion.java:208)
> > >     at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > > SelectResultObjectProvider.java:94)
> > >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > > EagerResultList.java:34)
> > >     ... 17 more
> > > Feb 18, 2008 10:42:14 AM bitronix.tm.BitronixTransactionManagershutdown
> > > INFO: shutting down Bitronix Transaction Manager
> > > =========================================================
> > >
> > >
> > >
> > >
> > > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com> wrote:
> > >
> > > > Looks like OpenJPA is trying to synchronize your database schema
> with
> > > > its
> > > > own internal model... which results in DDL statements and those are
> > > > not
> > > > transactional so can't run within a transaction.
> > > >
> > > > I would try either,
> > > > 1) initialize/synchronize your database schema before starting Ode
> > > > 2) disable schema synchronization in OpenJPA
> > > >
> > > >
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > > >
> > > > alex
> > > >
> > > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > > >
> > > > > Hello all,
> > > > >
> > > > > I am still trying to configure ODE in XA environment. Next example
> > > > is
> > > > > based on
> > > > > MockBpelServer class found in org.apache.ode.bpel.runtime package.
> > > > That
> > > > > example
> > > > > demonstrates how to manage transactions using TransactionManager
> > > > > interface.
> > > > >
> > > > > Only changes I have made to MockBpelServer are the injection of
> > > > DataSource
> > > > > and
> > > > > TransactionManager objects by me. These 2 objects are created
> > > > externally,
> > > > > and
> > > > > set to MockBpelServer for further usage. All other code of
> > > > MockBpelServer
> > > > > is
> > > > > untouched, including 2 crucial methods: deploy and invoke.
> > > > >
> > > > > MySql is used as database and Bitrnoix as JTA transaction manager.
> I
> > > > have
> > > > > tested
> > > > > these two with ActiveMq JMS broker, and they function correctly.
> > > > >
> > > > > Thanks in advance.
> > > > >
> > > > > Main method contains following code, and it tries only to
> > > > transactionally
> > > > > invoke
> > > > > ODE by using JTA API (it is not trying to invoke ODE and some
> other
> > > > XA
> > > > > resource,
> > > > > that would be next step when this is working)
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Still struggling with this one, have tried to configure two data sources
(one managed) in both configuration files and manually,
but class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl does not
implement nor use setUnmanagedDataSource,
actually its implementation is empty.

Any thoughts about this? Is this actually solvable by n00b like me =)
without having to learn source code and dig deeper into ODE implementation
details?

Regards,

On Feb 19, 2008 10:15 AM, xenHalfLife <xe...@gmail.com> wrote:

> I have managed to configure and test OpenJPA in XA environment, and
> everything works ok,
> but cant configure it together with ODE.
>
> Thanks in advance
>
>
> On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com> wrote:
>
> > Hi,
> >
> > I have created database before running but now get some other error
> > which I cant solve. Example
> > in usage is same as previously explained. Also, running with or without
> > file persistence.xml in META-INF/ folder
> > does not help either. (Tried with both JTA and RESOURCE_LOCAL
> > definition).
> >
> > Contents of the persistence.xml are as follows:
> > =========================================================
> > <?xml version="1.0" encoding="UTF-8"?>
> > <persistence xmlns="http://java.sun.com/xml/ns/persistence"
> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >     version="1.0">
> >     <persistence-unit name="testunit" transaction-type="RESOURCE_LOCAL">
> >         <class>my.jpa.test.Message</class>
> >         <properties>
> >             <property name="openjpa.Connection2URL"
> > value="jdbc:mysql://localhost/bpel"/>
> >             <property name="openjpa.Connection2DriverName" value="
> > com.mysql.jdbc.Driver"/>
> >             <property name="openjpa.Connection2UserName" value="root"/>
> >             <property name="openjpa.Connection2Password" value="root"/>
> >             <property name="openjpa.Log" value="DefaultLevel=TRACE"/>
> >         </properties>
> >     </persistence-unit>
> > </persistence>
> > =========================================================
> >
> > Following error occurs, thanks for any tips in advance:
> >
> > =========================================================
> > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving mapping for
> > "org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> > org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
> > "full".
> > 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving field "
> > org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596._processes".
> > org.apache.ode.bpel.iapi.ContextException: DbError
> >     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> > :545)
> >     at org.apache.ode.store.ProcessStoreImpl.deploy(
> > ProcessStoreImpl.java:179)
> >     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
> >     at org.ode.xa.Main2.main(Main2.java:29)
> > Caused by: java.util.concurrent.ExecutionException: <
> > openjpa-1.0.1-r420667:592145 nonfatal general error>
> > org.apache.openjpa.persistence.PersistenceException: error enlisting a
> > JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1 in
> > state ACCESSIBLE wrapping
> > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
> > 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has mapping
> > strategy "
> > org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> > ".
> > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> > 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "openjpa_sequence_table".
> > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "ID" on table "openjpa_sequence_table".
> > 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "STORE_DU".
> > 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, STORE_DU, null
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "store_du".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "NAME" on table "store_du".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "DEPLOYDT" on table "store_du".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "DEPLOYER" on table "store_du".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "DIR" on table "store_du".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "STORE_PROCESS".
> > 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, STORE_PROCESS, null
> > 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "PID" on table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "STATE" on table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "TYPE" on table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "VERSION" on table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "DU" on table "store_process".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "STORE_PROCESS_PROP".
> > 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "store_process_prop".
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "id" on table "store_process_prop".
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "PROP_KEY" on table "store_process_prop".
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "PROP_VAL" on table "store_process_prop".
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "STORE_PROC_TO_PROP".
> > 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "store_proc_to_prop".
> > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "element_id" on table "store_proc_to_prop".
> > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading table
> > information for schema name "null", table name "STORE_VERSIONS".
> > 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading column
> > information for table "store_versions".
> > 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "id" on table "store_versions".
> > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found existing
> > column "VERSION" on table "store_versions".
> > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading sequence
> > information for schema "null", sequence name "null".
> > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> [0 ms] commit
> > 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 17189485> [0 ms] close
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> > persistence-capable class "class
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> > persistence-capable class "class
> > org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> > persistence-capable class "class
> > org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> > persistence-capable class "class
> > org.apache.ode.store.jpa.ProcessConfDaoImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading metadata for
> > "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
> > "[META][QUERY]".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating default
> > metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set
> > persistence-capable superclass of "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving metadata
> > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing mapping for
> > "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version" has
> > mapping strategy "
> > org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has
> > mapping strategy "none".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
> > strategy "none".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving mapping for
> > "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
> > "full".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing mapping
> > for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> > 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> > org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> > 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query: select
> > v from VersionTrackerDAOImpl v
> > 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> > 18330704> [0 ms] close
> >
> >     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
> >     at java.util.concurrent.FutureTask.get(Unknown Source)
> >     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> > :543)
> >     ... 3 more
> > Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> > org.apache.openjpa.persistence.PersistenceException: error enlisting a
> > JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1 in
> > state ACCESSIBLE wrapping
> > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> >     at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> > DBDictionary.java:3938)
> >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > SQLExceptions.java:97)
> >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > SQLExceptions.java:83)
> >     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> > SQLExceptions.java:59)
> >     at
> > org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> > (SelectResultObjectProvider.java:155)
> >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > EagerResultList.java:40)
> >     at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1223)
> >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:990)
> >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:799)
> >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:769)
> >     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
> >     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> > DelegatingQuery.java:517)
> >     at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java
> > :238)
> >     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> > QueryImpl.java:277)
> >     at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> > ConfStoreConnectionJpa.java:76)
> >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > ProcessStoreImpl.java:181)
> >     at org.apache.ode.store.ProcessStoreImpl$1.call(
> > ProcessStoreImpl.java:180)
> >     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> > ProcessStoreImpl.java:702)
> >     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: org.apache.openjpa.lib.jdbc.ReportingSQLException: error
> > enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource
> > mysql-1 in state ACCESSIBLE wrapping
> > com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> > com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> > t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
> >     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
> > LoggingConnectionDecorator.java:201)
> >     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000
> > (LoggingConnectionDecorator.java:57)
> >     at
> > org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> > (LoggingConnectionDecorator.java:228)
> >     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > (DelegatingConnection.java:163)
> >     at
> > org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> > (ConfiguringConnectionDecorator.java:140)
> >     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > (DelegatingConnection.java:163)
> >     at
> > org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> > (JDBCStoreManager.java:1308)
> >     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement
> > (DelegatingConnection.java:152)
> >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > SQLBuffer.java:475)
> >     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> > SQLBuffer.java:455)
> >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java
> > :354)
> >     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java
> > :327)
> >     at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> > LogicalUnion.java:407)
> >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > LogicalUnion.java:218)
> >     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(
> > LogicalUnion.java:208)
> >     at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> > SelectResultObjectProvider.java:94)
> >     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> > EagerResultList.java:34)
> >     ... 17 more
> > Feb 18, 2008 10:42:14 AM bitronix.tm.BitronixTransactionManager shutdown
> > INFO: shutting down Bitronix Transaction Manager
> > =========================================================
> >
> >
> >
> >
> > On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com> wrote:
> >
> > > Looks like OpenJPA is trying to synchronize your database schema with
> > > its
> > > own internal model... which results in DDL statements and those are
> > > not
> > > transactional so can't run within a transaction.
> > >
> > > I would try either,
> > > 1) initialize/synchronize your database schema before starting Ode
> > > 2) disable schema synchronization in OpenJPA
> > >
> > > http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> > >
> > > alex
> > >
> > > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > > >
> > > > Hello all,
> > > >
> > > > I am still trying to configure ODE in XA environment. Next example
> > > is
> > > > based on
> > > > MockBpelServer class found in org.apache.ode.bpel.runtime package.
> > > That
> > > > example
> > > > demonstrates how to manage transactions using TransactionManager
> > > > interface.
> > > >
> > > > Only changes I have made to MockBpelServer are the injection of
> > > DataSource
> > > > and
> > > > TransactionManager objects by me. These 2 objects are created
> > > externally,
> > > > and
> > > > set to MockBpelServer for further usage. All other code of
> > > MockBpelServer
> > > > is
> > > > untouched, including 2 crucial methods: deploy and invoke.
> > > >
> > > > MySql is used as database and Bitrnoix as JTA transaction manager. I
> > > have
> > > > tested
> > > > these two with ActiveMq JMS broker, and they function correctly.
> > > >
> > > > Thanks in advance.
> > > >
> > > > Main method contains following code, and it tries only to
> > > transactionally
> > > > invoke
> > > > ODE by using JTA API (it is not trying to invoke ODE and some other
> > > XA
> > > > resource,
> > > > that would be next step when this is working)
> > > >
> > > >
> > >
> >
> >
>

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
I have managed to configure and test OpenJPA in XA environment, and
everything works ok,
but cant configure it together with ODE.

Thanks in advance

On Feb 18, 2008 11:00 AM, xenHalfLife <xe...@gmail.com> wrote:

> Hi,
>
> I have created database before running but now get some other error which
> I cant solve. Example
> in usage is same as previously explained. Also, running with or without
> file persistence.xml in META-INF/ folder
> does not help either. (Tried with both JTA and RESOURCE_LOCAL definition).
>
> Contents of the persistence.xml are as follows:
> =========================================================
> <?xml version="1.0" encoding="UTF-8"?>
> <persistence xmlns="http://java.sun.com/xml/ns/persistence"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     version="1.0">
>     <persistence-unit name="testunit" transaction-type="RESOURCE_LOCAL">
>         <class>my.jpa.test.Message</class>
>         <properties>
>             <property name="openjpa.Connection2URL"
> value="jdbc:mysql://localhost/bpel"/>
>             <property name="openjpa.Connection2DriverName" value="
> com.mysql.jdbc.Driver"/>
>             <property name="openjpa.Connection2UserName" value="root"/>
>             <property name="openjpa.Connection2Password" value="root"/>
>             <property name="openjpa.Log" value="DefaultLevel=TRACE"/>
>         </properties>
>     </persistence-unit>
> </persistence>
> =========================================================
>
> Following error occurs, thanks for any tips in advance:
>
> =========================================================
> 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving mapping for "
> org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
> 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
> org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy
> "full".
> 2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving field "
> org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596._processes".
> org.apache.ode.bpel.iapi.ContextException: DbError
>     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> :545)
>     at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java
> :179)
>     at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
>     at org.ode.xa.Main2.main(Main2.java:29)
> Caused by: java.util.concurrent.ExecutionException: <openjpa-1.0.1-r420667:592145
> nonfatal general error>
> org.apache.openjpa.persistence.PersistenceException: error enlisting a
> JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1 in
> state ACCESSIBLE wrapping
> com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
> 10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has mapping
> strategy "
> org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
> ".
> 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
> 2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
> 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "openjpa_sequence_table".
> 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "ID" on table "openjpa_sequence_table".
> 2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "SEQUENCE_VALUE" on table "openjpa_sequence_table".
> 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "STORE_DU".
> 2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, STORE_DU, null
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "store_du".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "NAME" on table "store_du".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "DEPLOYDT" on table "store_du".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "DEPLOYER" on table "store_du".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "DIR" on table "store_du".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "STORE_PROCESS".
> 2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, STORE_PROCESS, null
> 2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "PID" on table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "STATE" on table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "TYPE" on table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "VERSION" on table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "DU" on table "store_process".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "STORE_PROCESS_PROP".
> 2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "store_process_prop".
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "id" on table "store_process_prop".
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "PROP_KEY" on table "store_process_prop".
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "PROP_VAL" on table "store_process_prop".
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "STORE_PROC_TO_PROP".
> 2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
> 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "store_proc_to_prop".
> 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
> 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "element_id" on table "store_proc_to_prop".
> 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading table
> information for schema name "null", table name "STORE_VERSIONS".
> 2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> getColumns: bpel, null, STORE_VERSIONS, null
> 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading column
> information for table "store_versions".
> 2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "id" on table "store_versions".
> 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found existing
> column "VERSION" on table "store_versions".
> 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading sequence
> information for schema "null", sequence name "null".
> 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> [0 ms] commit
> 2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 17189485> [0 ms] close
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> persistence-capable class "class
> org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> persistence-capable class "class
> org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> persistence-capable class "class
> org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
> persistence-capable class "class
> org.apache.ode.store.jpa.ProcessConfDaoImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading metadata for
> "class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
> "[META][QUERY]".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> 2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating default
> metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set persistence-capable
> superclass of "org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving metadata for
> "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing mapping for "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version" has
> mapping strategy "
> org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has mapping
> strategy "none".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
> strategy "none".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving mapping for "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy
> "full".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing mapping
> for "org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
> 2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
> org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
> 2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query: select v
> from VersionTrackerDAOImpl v
> 2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
> 18330704> [0 ms] close
>
>     at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
>     at java.util.concurrent.FutureTask.get(Unknown Source)
>     at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java
> :543)
>     ... 3 more
> Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
> org.apache.openjpa.persistence.PersistenceException: error enlisting a
> JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1 in
> state ACCESSIBLE wrapping
> com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
>     at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
> DBDictionary.java:3938)
>     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> SQLExceptions.java:97)
>     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> SQLExceptions.java:83)
>     at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(
> SQLExceptions.java:59)
>     at
> org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
> (SelectResultObjectProvider.java:155)
>     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> EagerResultList.java:40)
>     at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1223)
>     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:990)
>     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:799)
>     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:769)
>     at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
>     at org.apache.openjpa.kernel.DelegatingQuery.execute(
> DelegatingQuery.java:517)
>     at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java
> :238)
>     at org.apache.openjpa.persistence.QueryImpl.getResultList(
> QueryImpl.java:277)
>     at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
> ConfStoreConnectionJpa.java:76)
>     at org.apache.ode.store.ProcessStoreImpl$1.call(ProcessStoreImpl.java
> :181)
>     at org.apache.ode.store.ProcessStoreImpl$1.call(ProcessStoreImpl.java
> :180)
>     at org.apache.ode.store.ProcessStoreImpl$Callable.call(
> ProcessStoreImpl.java:702)
>     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: org.apache.openjpa.lib.jdbc.ReportingSQLException: error
> enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource
> mysql-1 in state ACCESSIBLE wrapping
> com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
> com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
> t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
>     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
> LoggingConnectionDecorator.java:201)
>     at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000(
> LoggingConnectionDecorator.java:57)
>     at
> org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
> (LoggingConnectionDecorator.java:228)
>     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
> DelegatingConnection.java:163)
>     at
> org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
> (ConfiguringConnectionDecorator.java:140)
>     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
> DelegatingConnection.java:163)
>     at
> org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
> (JDBCStoreManager.java:1308)
>     at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
> DelegatingConnection.java:152)
>     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> SQLBuffer.java:475)
>     at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(
> SQLBuffer.java:455)
>     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:354)
>     at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:327)
>     at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
> LogicalUnion.java:407)
>     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java
> :218)
>     at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java
> :208)
>     at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
> SelectResultObjectProvider.java:94)
>     at org.apache.openjpa.lib.rop.EagerResultList.<init>(
> EagerResultList.java:34)
>     ... 17 more
> Feb 18, 2008 10:42:14 AM bitronix.tm.BitronixTransactionManager shutdown
> INFO: shutting down Bitronix Transaction Manager
> =========================================================
>
>
>
>
> On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com> wrote:
>
> > Looks like OpenJPA is trying to synchronize your database schema with
> > its
> > own internal model... which results in DDL statements and those are not
> > transactional so can't run within a transaction.
> >
> > I would try either,
> > 1) initialize/synchronize your database schema before starting Ode
> > 2) disable schema synchronization in OpenJPA
> >
> > http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
> >
> > alex
> >
> > On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> > >
> > > Hello all,
> > >
> > > I am still trying to configure ODE in XA environment. Next example is
> > > based on
> > > MockBpelServer class found in org.apache.ode.bpel.runtime package.
> > That
> > > example
> > > demonstrates how to manage transactions using TransactionManager
> > > interface.
> > >
> > > Only changes I have made to MockBpelServer are the injection of
> > DataSource
> > > and
> > > TransactionManager objects by me. These 2 objects are created
> > externally,
> > > and
> > > set to MockBpelServer for further usage. All other code of
> > MockBpelServer
> > > is
> > > untouched, including 2 crucial methods: deploy and invoke.
> > >
> > > MySql is used as database and Bitrnoix as JTA transaction manager. I
> > have
> > > tested
> > > these two with ActiveMq JMS broker, and they function correctly.
> > >
> > > Thanks in advance.
> > >
> > > Main method contains following code, and it tries only to
> > transactionally
> > > invoke
> > > ODE by using JTA API (it is not trying to invoke ODE and some other XA
> > > resource,
> > > that would be next step when this is working)
> > >
> > >
> >
>
>

Re: ODE in XA-JTA environment

Posted by xenHalfLife <xe...@gmail.com>.
Hi,

I have created database before running but now get some other error which I
cant solve. Example
in usage is same as previously explained. Also, running with or without file
persistence.xml in META-INF/ folder
does not help either. (Tried with both JTA and RESOURCE_LOCAL definition).

Contents of the persistence.xml are as follows:
=========================================================
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    version="1.0">
    <persistence-unit name="testunit" transaction-type="RESOURCE_LOCAL">
        <class>my.jpa.test.Message</class>
        <properties>
            <property name="openjpa.Connection2URL"
value="jdbc:mysql://localhost/bpel"/>
            <property name="openjpa.Connection2DriverName" value="
com.mysql.jdbc.Driver"/>
            <property name="openjpa.Connection2UserName" value="root"/>
            <property name="openjpa.Connection2Password" value="root"/>
            <property name="openjpa.Log" value="DefaultLevel=TRACE"/>
        </properties>
    </persistence-unit>
</persistence>
=========================================================

Following error occurs, thanks for any tips in advance:

=========================================================
2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - Resolving mapping for "
org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596".
2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] - "
org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has mapping strategy "full".
2008-02-18 10:42:13,440 DEBUG [openjpa.MetaData] -     Resolving field "
org.apache.ode.store.jpa.DeploymentUnitDaoImpl@30948596._processes".
org.apache.ode.bpel.iapi.ContextException: DbError
    at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:545)
    at org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java
:179)
    at org.ode.xa.MockBpelServer.deploy(MockBpelServer.java:91)
    at org.ode.xa.Main2.main(Main2.java:29)
Caused by: java.util.concurrent.ExecutionException:
<openjpa-1.0.1-r420667:592145
nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
error enlisting a JdbcConnectionHandle of a JdbcPooledConnection from
datasource mysql-1 in state ACCESSIBLE wrapping
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]2008-02-18
10:42:13,455 DEBUG [openjpa.MetaData] -     "_processes" has mapping
strategy "
org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy
".
2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "OPENJPA_SEQUENCE_TABLE".
2008-02-18 10:42:13,502 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, OPENJPA_SEQUENCE_TABLE, null
2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "openjpa_sequence_table".
2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing column
"ID" on table "openjpa_sequence_table".
2008-02-18 10:42:13,565 DEBUG [openjpa.jdbc.Schema] - Found existing column
"SEQUENCE_VALUE" on table "openjpa_sequence_table".
2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_DU".
2008-02-18 10:42:13,612 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, STORE_DU, null
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_du".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing column
"NAME" on table "store_du".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing column
"DEPLOYDT" on table "store_du".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing column
"DEPLOYER" on table "store_du".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Found existing column
"DIR" on table "store_du".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROCESS".
2008-02-18 10:42:13,643 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, STORE_PROCESS, null
2008-02-18 10:42:13,659 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing column
"PID" on table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing column
"STATE" on table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing column
"TYPE" on table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing column
"VERSION" on table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Found existing column
"DU" on table "store_process".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROCESS_PROP".
2008-02-18 10:42:13,674 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, STORE_PROCESS_PROP, null
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_process_prop".
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing column
"id" on table "store_process_prop".
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing column
"PROP_KEY" on table "store_process_prop".
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Found existing column
"PROP_VAL" on table "store_process_prop".
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_PROC_TO_PROP".
2008-02-18 10:42:13,705 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, STORE_PROC_TO_PROP, null
2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_proc_to_prop".
2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing column
"ProcessConfDaoImpl_PID" on table "store_proc_to_prop".
2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Found existing column
"element_id" on table "store_proc_to_prop".
2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.Schema] - Reading table
information for schema name "null", table name "STORE_VERSIONS".
2008-02-18 10:42:13,737 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> getColumns: bpel, null, STORE_VERSIONS, null
2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Reading column
information for table "store_versions".
2008-02-18 10:42:13,752 DEBUG [openjpa.jdbc.Schema] - Found existing column
"id" on table "store_versions".
2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Found existing column
"VERSION" on table "store_versions".
2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.Schema] - Reading sequence
information for schema "null", sequence name "null".
2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> [0 ms] commit
2008-02-18 10:42:13,768 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
17189485> [0 ms] close
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
persistence-capable class "class
org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
persistence-capable class "class
org.apache.ode.store.jpa.ProcessConfPropertyDaoImpl".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
persistence-capable class "class
org.apache.ode.store.jpa.DeploymentUnitDaoImpl".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Processing registered
persistence-capable class "class org.apache.ode.store.jpa.ProcessConfDaoImpl
".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Loading metadata for
"class org.apache.ode.store.jpa.VersionTrackerDAOImpl" under mode
"[META][QUERY]".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing class "
org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Parsing package "
org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-18 10:42:14,065 DEBUG [openjpa.MetaData] - Generating default
metadata for type "org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Set persistence-capable
superclass of "org.apache.ode.store.jpa.VersionTrackerDAOImpl" to "null".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving metadata for "
org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Preparing mapping for "
org.apache.ode.store.jpa.VersionTrackerDAOImpl".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     "_version" has
mapping strategy "org.apache.openjpa.jdbc.meta.strats.PrimitiveFieldStrategy
".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
org.apache.ode.store.jpa.VersionTrackerDAOImpl<discriminator>" has mapping
strategy "none".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
org.apache.ode.store.jpa.VersionTrackerDAOImpl<version>" has mapping
strategy "none".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Resolving mapping for "
org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - "
org.apache.ode.store.jpa.VersionTrackerDAOImpl" has mapping strategy "full".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] - Initializing mapping for
"org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590".
2008-02-18 10:42:14,080 DEBUG [openjpa.MetaData] -     Resolving field "
org.apache.ode.store.jpa.VersionTrackerDAOImpl@15474590._version".
2008-02-18 10:42:14,159 DEBUG [openjpa.Query] - Executing query: select v
from VersionTrackerDAOImpl v
2008-02-18 10:42:14,268 DEBUG [openjpa.jdbc.JDBC] - <t 21324485, conn
18330704> [0 ms] close

    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:543)
    ... 3 more
Caused by: <openjpa-1.0.1-r420667:592145 nonfatal general error>
org.apache.openjpa.persistence.PersistenceException: error enlisting a
JdbcConnectionHandle of a JdbcPooledConnection from datasource mysql-1 in
state ACCESSIBLE wrapping
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
    at org.apache.openjpa.jdbc.sql.DBDictionary.newStoreException(
DBDictionary.java:3938)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:97)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:83)
    at org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java
:59)
    at
org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.handleCheckedException
(SelectResultObjectProvider.java:155)
    at org.apache.openjpa.lib.rop.EagerResultList.<init>(
EagerResultList.java:40)
    at org.apache.openjpa.kernel.QueryImpl.toResult(QueryImpl.java:1223)
    at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:990)
    at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:799)
    at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:769)
    at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:765)
    at org.apache.openjpa.kernel.DelegatingQuery.execute(
DelegatingQuery.java:517)
    at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:238)
    at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java
:277)
    at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getNextVersion(
ConfStoreConnectionJpa.java:76)
    at org.apache.ode.store.ProcessStoreImpl$1.call(ProcessStoreImpl.java
:181)
    at org.apache.ode.store.ProcessStoreImpl$1.call(ProcessStoreImpl.java
:180)
    at org.apache.ode.store.ProcessStoreImpl$Callable.call(
ProcessStoreImpl.java:702)
    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: org.apache.openjpa.lib.jdbc.ReportingSQLException: error
enlisting a JdbcConnectionHandle of a JdbcPooledConnection from datasource
mysql-1 in state ACCESSIBLE wrapping
com.mysql.jdbc.jdbc2.optional.MysqlXAConnection@1087d61 on
com.mysql.jdbc.jdbc2.optional.ConnectionWrapper@5f7d3f {SELECT t0.id,
t0.VERSION FROM STORE_VERSIONS t0} [code=0, state=null]
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.wrap(
LoggingConnectionDecorator.java:201)
    at org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator.access$000(
LoggingConnectionDecorator.java:57)
    at
org.apache.openjpa.lib.jdbc.LoggingConnectionDecorator$LoggingConnection.prepareStatement
(LoggingConnectionDecorator.java:228)
    at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
DelegatingConnection.java:163)
    at
org.apache.openjpa.lib.jdbc.ConfiguringConnectionDecorator$ConfiguringConnection.prepareStatement
(ConfiguringConnectionDecorator.java:140)
    at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
DelegatingConnection.java:163)
    at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$RefCountConnection.prepareStatement
(JDBCStoreManager.java:1308)
    at org.apache.openjpa.lib.jdbc.DelegatingConnection.prepareStatement(
DelegatingConnection.java:152)
    at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java
:475)
    at org.apache.openjpa.jdbc.sql.SQLBuffer.prepareStatement(SQLBuffer.java
:455)
    at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:354)
    at org.apache.openjpa.jdbc.sql.SelectImpl.execute(SelectImpl.java:327)
    at org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.execute(
LogicalUnion.java:407)
    at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java
:218)
    at org.apache.openjpa.jdbc.sql.LogicalUnion.execute(LogicalUnion.java
:208)
    at org.apache.openjpa.jdbc.kernel.SelectResultObjectProvider.open(
SelectResultObjectProvider.java:94)
    at org.apache.openjpa.lib.rop.EagerResultList.<init>(
EagerResultList.java:34)
    ... 17 more
Feb 18, 2008 10:42:14 AM bitronix.tm.BitronixTransactionManager shutdown
INFO: shutting down Bitronix Transaction Manager
=========================================================



On Feb 11, 2008 5:47 PM, Alex Boisvert <bo...@intalio.com> wrote:

> Looks like OpenJPA is trying to synchronize your database schema with its
> own internal model... which results in DDL statements and those are not
> transactional so can't run within a transaction.
>
> I would try either,
> 1) initialize/synchronize your database schema before starting Ode
> 2) disable schema synchronization in OpenJPA
>
> http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings
>
> alex
>
> On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
> >
> > Hello all,
> >
> > I am still trying to configure ODE in XA environment. Next example is
> > based on
> > MockBpelServer class found in org.apache.ode.bpel.runtime package. That
> > example
> > demonstrates how to manage transactions using TransactionManager
> > interface.
> >
> > Only changes I have made to MockBpelServer are the injection of
> DataSource
> > and
> > TransactionManager objects by me. These 2 objects are created
> externally,
> > and
> > set to MockBpelServer for further usage. All other code of
> MockBpelServer
> > is
> > untouched, including 2 crucial methods: deploy and invoke.
> >
> > MySql is used as database and Bitrnoix as JTA transaction manager. I
> have
> > tested
> > these two with ActiveMq JMS broker, and they function correctly.
> >
> > Thanks in advance.
> >
> > Main method contains following code, and it tries only to
> transactionally
> > invoke
> > ODE by using JTA API (it is not trying to invoke ODE and some other XA
> > resource,
> > that would be next step when this is working)
> >
> >
>

Re: ODE in XA-JTA environment

Posted by Alex Boisvert <bo...@intalio.com>.
Looks like OpenJPA is trying to synchronize your database schema with its
own internal model... which results in DDL statements and those are not
transactional so can't run within a transaction.

I would try either,
1) initialize/synchronize your database schema before starting Ode
2) disable schema synchronization in OpenJPA
http://openjpa.apache.org/docs/latest/manual/manual.html#openjpa.jdbc.SynchronizeMappings

alex

On 2/9/08, xenHalfLife <xe...@gmail.com> wrote:
>
> Hello all,
>
> I am still trying to configure ODE in XA environment. Next example is
> based on
> MockBpelServer class found in org.apache.ode.bpel.runtime package. That
> example
> demonstrates how to manage transactions using TransactionManager
> interface.
>
> Only changes I have made to MockBpelServer are the injection of DataSource
> and
> TransactionManager objects by me. These 2 objects are created externally,
> and
> set to MockBpelServer for further usage. All other code of MockBpelServer
> is
> untouched, including 2 crucial methods: deploy and invoke.
>
> MySql is used as database and Bitrnoix as JTA transaction manager. I have
> tested
> these two with ActiveMq JMS broker, and they function correctly.
>
> Thanks in advance.
>
> Main method contains following code, and it tries only to transactionally
> invoke
> ODE by using JTA API (it is not trying to invoke ODE and some other XA
> resource,
> that would be next step when this is working)
>
>