[jboss-jira] [JBoss JIRA] (AS7-5940) Support configuring the transaction subsystem JDBC ObjectStore

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Mon Dec 3 09:38:21 EST 2012


     [ https://issues.jboss.org/browse/AS7-5940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom Jenkinson updated AS7-5940:
-------------------------------

    Description: 
The JDBC ObjectStore has been added back into AS7 as part of JBTM-1230. The transaction subsystem needs to support configuring the store.


NOTE THIS OBJECT STORE TYPE IS OPTIONAL AND SHOULD NOT REPLACE THE DEFAULT OBJECT STORE TYPE, i.e. if the user does not add these config options the AS7 should only provide the config to JBTM as it does today

The properties that need to be set to enable JDBC object store are:

ObjectStoreEnvironmentBean.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
ObjectStoreEnvironmentBean.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
OPTIONAL ObjectStoreEnvironmentBean.tablePrefix=<whatever>
OPTIONAL ObjectStoreEnvironmentBean.dropTable=false

ObjectStoreEnvironmentBean.stateStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
ObjectStoreEnvironmentBean.stateStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
OPTIONAL ObjectStoreEnvironmentBean.stateStore.tablePrefix
OPTIONAL ObjectStoreEnvironmentBean.stateStore.dropTable

ObjectStoreEnvironmentBean.communicationStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
ObjectStoreEnvironmentBean.communicationStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
OPTIONAL ObjectStoreEnvironmentBean.communicationStore.tablePrefix
OPTIONAL ObjectStoreEnvironmentBean.communicationStore.dropTable

  was:
The JDBC ObjectStore has been added back into AS7 as part of JBTM-1230. The transaction subsystem needs to support configuring the store.

To configure the store, take a look at: 
ArjunaCore/arjuna/tests/classes/com/hp/mwtests/ts/arjuna/objectstore/JDBCStoreTest.java

Note, this work is dependent on the AS consuming a version of JBTM with JBTM-1230 completed - this is scheduled for 4.17.3 of JBTM.


    
> Support configuring the transaction subsystem JDBC ObjectStore
> --------------------------------------------------------------
>
>                 Key: AS7-5940
>                 URL: https://issues.jboss.org/browse/AS7-5940
>             Project: Application Server 7
>          Issue Type: Task
>          Components: Transactions
>            Reporter: Tom Jenkinson
>            Assignee: Stefano Maestri
>
> The JDBC ObjectStore has been added back into AS7 as part of JBTM-1230. The transaction subsystem needs to support configuring the store.
> NOTE THIS OBJECT STORE TYPE IS OPTIONAL AND SHOULD NOT REPLACE THE DEFAULT OBJECT STORE TYPE, i.e. if the user does not add these config options the AS7 should only provide the config to JBTM as it does today
> The properties that need to be set to enable JDBC object store are:
> ObjectStoreEnvironmentBean.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
> ObjectStoreEnvironmentBean.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
> OPTIONAL ObjectStoreEnvironmentBean.tablePrefix=<whatever>
> OPTIONAL ObjectStoreEnvironmentBean.dropTable=false
> ObjectStoreEnvironmentBean.stateStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
> ObjectStoreEnvironmentBean.stateStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
> OPTIONAL ObjectStoreEnvironmentBean.stateStore.tablePrefix
> OPTIONAL ObjectStoreEnvironmentBean.stateStore.dropTable
> ObjectStoreEnvironmentBean.communicationStore.objectStoreType=com.arjuna.ats.internal.arjuna.objectstore.jdbc.JDBCStore
> ObjectStoreEnvironmentBean.communicationStore.jdbcAccess=com.arjuna.ats.internal.arjuna.objectstore.jdbc.accessors.DataSourceJDBCAccess;datasourceName=<JNDI-name-of-AS7-configured-none-xa-datasource>
> OPTIONAL ObjectStoreEnvironmentBean.communicationStore.tablePrefix
> OPTIONAL ObjectStoreEnvironmentBean.communicationStore.dropTable

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list