0 Replies Latest reply on Jun 25, 2009 9:54 AM by Sal Carceller

    JBossAS V5.1 - installing/config of JTS not working

    Sal Carceller Newbie

      I installed JBossAS V5.1 and started it up in the default configuration all was well.

      But, I need to replace the default JTA with JTS so that I can have XA transactions span multiple JBoss servers.

      I went to jboss-5.1.0.GA/docs/examples/transactions and followed the readme file for howto install JTS by hand (did not do 'ant jts'). First, the readme is not that clear because it tells you to modify certain .xml files and most can be found in the \server\default\config directory but others such as the conf\jacorb.properties is not located in the default server dir and multiple copies are found under the jboss-5.1.0.GA\ directory. In the end the readme is not specific enough to get JTS configured.

      Has anyone successfully installed/configured JTS in V5.1?

      Right now I get a bunch of errors when I start the server like these:

      ------------
      2009-06-25 09:39:10,343 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to PreInstall: name=TransactionManager state=Real
      java.lang.RuntimeException: Error creating annotation for @org.jboss.aop.microcontainer.aspects.jmx.JMX(name="jboss:service=TransactionManager",
      exposedInterface=com.arjuna.ats.jbossatx.jts.TransactionManagerServiceMBean.class, registerDirectly=true)


      DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "CachedConnectionManager" is missing the following dependencies:
      Dependency "TransactionManager" (should be in state "Configured", but is actually in state "**ERROR**")
      Deployment "DefaultUserTransactionprovider" is missing the following dependencies:
      Dependency "<UNKNOWN DefaultUserTransactionprovider>" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'TransactionManager' **")
      Deployment "JBossTimerServiceFactory" is missing the following dependencies:
      Dependency "jboss.ejb:service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")
      Deployment "RealTransactionManager" is missing the following dependencies:
      Dependency "TransactionManager" (should be in state "Instantiated", but is actually in state "**ERROR**")
      Deployment "UnifiedInvoker" is missing the following dependencies:
      Dependency "TransactionManager" (should be in state "Create", but is actually in state "**ERROR**")
      Deployment "WebServer" is missing the following dependencies:
      Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "WorkManager" is missing the following dependencies:
      Dependency "TransactionManager" (should be in state "Configured", but is actually in state "**ERROR**")
      Deployment "jboss.admin:service=PluginManager" is missing the following dependencies:
      Dependency "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.ejb:persistencePolicy=database,service=EJBTimerService" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.ejb:service=EJBTimerService" is missing the following dependencies:
      Dependency "jboss.ejb:persistencePolicy=database,service=EJBTimerService" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:service=WorkManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")
      Deployment "jboss.jca:name='jboss-xa-jdbc.rar',service=RARDeployment" is missing the following dependencies:
      Dependency "jboss.jca:service=WorkManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")
      Dependency "jboss:service=TransactionManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss.jca:name='jms-ra.rar',service=RARDeployment" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:service=WorkManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")
      Deployment "jboss.jca:name='mail-ra.rar',service=RARDeployment" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:service=WorkManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")
      Deployment "jboss.jca:name='quartz-ra.rar',service=RARDeployment" is missing the following dependencies:
      Dependency "jboss.jca:service=WorkManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **")
      Dependency "jboss:service=TransactionManager" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss.jca:name=DefaultDS,service=DataSourceBinding" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=LocalTxCM" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.jca:name=DefaultDS,service=LocalTxCM" is missing the following dependencies:
      Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")
      Dependency "jboss.jca:name=DefaultDS,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss.jca:name=DefaultDS,service=ManagedConnectionFactory" is missing the following dependencies:
      Dependency "jboss.jca:name='jboss-local-jdbc.rar',service=RARDeployment" (should be in state "Create", but is actually in state "Instantiated")
      Deployment "jboss.jca:name=DefaultDS,service=ManagedConnectionPool" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.jca:name=JmsXA,service=ConnectionFactoryBinding" is missing the following dependencies:
      Dependency "jboss.jca:name=JmsXA,service=TxCM" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.jca:name='jms-ra.rar',service=RARDeployment" (should be in state "Create", but is actually in state "Instantiated")
      Deployment "jboss.jca:name=JmsXA,service=ManagedConnectionPool" is missing the following dependencies:
      Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionFactory" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.jca:name=JmsXA,service=TxCM" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:name=JmsXA,service=ManagedConnectionPool" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.jca:service=CachedConnectionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **")
      Deployment "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" is missing the following dependencies:
      Dependency "jboss:service=invoker,type=jrmp" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.jmx:name=MBeanProxyRemote,protocol=jrmp,type=adaptor" is missing the following dependencies:
      Dependency "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.connectionfactory:service=ClusteredConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.connectionfactory:service=ConnectionFactory" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.destination:name=DLQ,service=Queue" is missing the following dependencies:
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging.destination:name=ExpiryQueue,service=Queue" is missing the following dependencies:
      Dependency "jboss.messaging:service=PostOffice" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging:service=JMSUserManager" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging:service=PersistenceManager" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging:service=PostOffice" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.messaging:service=ServerPeer" is missing the following dependencies:
      Dependency "jboss.messaging:service=PersistenceManager" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.messaging:service=JMSUserManager" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.mq:service=DestinationManager" is missing the following dependencies:
      Dependency "jboss.messaging:service=ServerPeer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/ROOT" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/admin-console" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/invoker" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/jbossws" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/jmx-console" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss.web.deployment:war=/web-console" is missing the following dependencies:
      Dependency "jboss.web:service=WebServer" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss.admin:service=PluginManager" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss:service=ClientUserTransaction" is missing the following dependencies:
      Dependency "jboss:service=proxyFactory,target=ClientUserTransaction" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss:service=proxyFactory,target=ClientUserTransactionFactory" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss:service=KeyGeneratorFactory,type=HiLo" is missing the following dependencies:
      Dependency "jboss.jca:name=DefaultDS,service=DataSourceBinding" (should be in state "Create", but is actually in state "Configured")
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss:service=invoker,type=jrmp" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss:service=invoker,type=local" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss:service=invoker,type=pooled" is missing the following dependencies:
      Dependency "jboss:service=TransactionManager" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss:service=TransactionManager' **")
      Deployment "jboss:service=proxyFactory,target=ClientUserTransaction" is missing the following dependencies:
      Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "Configured")
      Deployment "jboss:service=proxyFactory,target=ClientUserTransactionFactory" is missing the following dependencies:
      Dependency "jboss:service=invoker,type=unified" (should be in state "Create", but is actually in state "Configured")
      Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/" is missing the following dependencies:
      Dependency "interface javax.transaction.TransactionManager" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")
      Dependency "interface javax.transaction.TransactionManager" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")
      Dependency "interface javax.transaction.TransactionManager" (should be in state "Real", but is actually in state "** NOT FOUND Depends on 'interface javax.transaction.TransactionManager' **")