-
1. Re: What happened to jbossts-properties.xml in JBoss AS 6.0.0.M3
robert.geisler Jul 9, 2010 2:43 AM (in response to heyyou)hi you ; )
com.arjuna.* properties should be in deploy/transaction-jboss-beans.xml.
for com.arjuna.ats.arjuna.recovery.* have a look at RecoveryEnvironmentBean.
regards
robert
-
2. Re: What happened to jbossts-properties.xml in JBoss AS 6.0.0.M3
heyyou Jul 9, 2010 5:53 PM (in response to robert.geisler)Thanks for the response Robert.
The differences between the files are considerable.
Any guidance on where the following would be place and the format/syntax :
<property name="com.arjuna.common.util.logging.FacilityLevel" type="System" value="0xffffffff"/>
<property name="com.arjuna.common.util.logging.VisibilityLevel" type="System" value="0xffffffff"/>
<property name="com.arjuna.ats.jta.recovery.XAResourceRecovery1" value="com.arjuna.ats.internal.jbossatx.jta.AppServerJDBCXARecovery;jndiname=MYJDBCXASOURCE"/>
<property name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="15"/>
<property name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="5"/>
<property name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/>
<property name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
<property name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
Also, do you know if this is documented any where for the 6.0 release ?
Thanks again,
-
3. Re: What happened to jbossts-properties.xml in JBoss AS 6.0.0.M3
robert.geisler Jul 12, 2010 3:28 AM (in response to heyyou)orry, but i did not see any documentation for transaction-jboss-beans.xml or com.arjuna.* mbeans.
nevertheless i guess that these mbeans are just scanned by PropertyConfigurator.
that means, you have to put all your com.arjuna.ats.arjuna.recovery.* properties under com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean mbean:
{code:xml}<deployment ...
...
<bean class="com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean"
name="RecoveryEnvironmentBean">
...
<property name="periodicRecoveryPeriod">15</property>
<property name="recoveryBackoffPeriod">5</property>
<property name="expiryScanInterval">12</property>
<property name="transactionStatusManagerExpiryTime">12</property>
...
</bean>
...
</deployment>{code:xml}
have a look at com.arjuna.ats.arjuna.common.RecoveryEnvironmentBean to find out some more properties to set.
com.arjuna.ats.jta.recovery.XAResourceRecovery1 seems to be configured by JTAEnvironmentBean:
{code:xml}<deployment ...
...
<bean class="com.arjuna.ats.jta.common.JTAEnvironmentBean"
name="JTAEnvironmentBean">
...
<property name="xaRecoveryNodes" preinstantiate="false">
<list elementClass="java.lang.String">
<value>1</value>
...
</list>
</property>
...
</bean>
...
</deployment>{code:xml}
<value>com.arjuna.ats.internal.jbossatx.jta.AppServerJDBCXARecovery;jndiname=MYJDBCXASOURCE</value> should do it for you...?
in the same way com.arjuna.common.util.logging.* properties should belong to LoggingEnvironmentBean:
{code:xml}<deployment ...
...
<bean class="com.arjuna.common.internal.util.logging.LoggingEnvironmentBean"
name="LoggingEnvironmentBean">
...
<property name="facilityLevel">0xffffffff</property>
<property name="visibilityLevel">0xffffffff</property>
...
</bean>
...
</deployment>{code:xml}regards
robert