I am trying to install JBossTS-JTS into the default configuration of JBoss.
My understanding is that the ?all? configuration is used for clustering and ?default? is used for stand alone instances. As I am using a standalone instance, I believe that I should run JTS in the default configuration.
Has anyone done this already? If so what steps do I need to take?
I have tried to do this install myself. I believe the main difference between 'all' and 'default' (as far as JBossTS is concerned) is that 'all' has the CORBA stuff.
So, before I went through the JBossTS-JTS install instructions, I did the following:
?server/all/conf/jacorb.properties? to ?server/default/conf/jacorb.properties?
?server/all/deploy/iiop-service.xml? to ?server/default/deploy/iiop-service.xml?
?server/all/lib/avalon-framework.jar? to ?server/default/lib/avalon-framework.jar?
I am unsure if this is all I need to do. However, under this configuration I have tested that recovery works (using a tool similar to the XA recovery examples on the WIKI). This was just using a single JBoss instance.
However, I do get the following exception when I try to look up a session bean within a call to another session bean that is associated with a transaction. I get the same error using both transaction attributes REQUIRED and REQUIRESNEW on the new session bean.
12:15:49,218 INFO [STDOUT] java.lang.reflect.UndeclaredThrowableException 12:15:49,218 INFO [STDOUT] at $Proxy61.create(Unknown Source) 12:15:49,218 INFO [STDOUT] at com.arjuna.xa.logger.LogWrapper.lookup(LogWrapper.java:56) 12:15:49,218 INFO [STDOUT] at com.arjuna.xa.logger.LogWrapper.log(LogWrapper.java:23) 12:15:49,218 INFO [STDOUT] at com.arjuna.xa.resources.FaultyXAResource.crash(FaultyXAResource.java:48) 12:15:49,218 INFO [STDOUT] at com.arjuna.xa.resources.FaultyXAResource.commit(FaultyXAResource.java:65) 12:15:49,218 INFO [STDOUT] at com.arjuna.ats.internal.jta.resources.jts.orbspecific.XAResourceRecord.commit(XAResou rceRecord.java:466) 12:15:49,218 INFO [STDOUT] at com.arjuna.ArjunaOTS.OTSAbstractRecordPOA._invoke(OTSAbstractRecordPOA.java:184) 12:15:49,218 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:299) 12:15:49,218 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:593) 12:15:49,218 INFO [STDOUT] at org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:735) 12:15:49,218 INFO [STDOUT] Caused by: javax.transaction.SystemException 12:15:49,218 INFO [STDOUT] at com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple.getTransaction(Tr ansactionManagerImple.java:82) 12:15:49,234 INFO [STDOUT] at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.getTransaction(BaseTransaction ManagerDelegate.java:106) 12:15:49,234 INFO [STDOUT] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:43) 12:15:49,234 INFO [STDOUT] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) 12:15:49,234 INFO [STDOUT] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) 12:15:49,234 INFO [STDOUT] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) 12:15:49,234 INFO [STDOUT] ... 10 more
Any assistance would be greatly appreciated,