[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Incorrect api for looking up TransactionManager

adrian@jboss.org do-not-reply at jboss.com
Thu Oct 11 12:15:32 EDT 2007


When I remove the old transaction from jboss-head, I'm seeing this error
with JBossMessaging:


  | 18:08:12,510 ERROR [ExceptionUtil] org.jboss.messaging.core.jmx.JDBCPersistenceManagerService at 18c3efb startService
  | java.lang.NoClassDefFoundError: org/jboss/tm/TransactionManagerServiceMBean
  |         at org.jboss.messaging.core.jmx.JDBCServiceSupport.getTransactionManagerReference(JDBCServiceSupport.java:171)
  |         at org.jboss.messaging.core.jmx.JDBCPersistenceManagerService.startService(JDBCPersistenceManagerService.java:84)
  | 

+ one other


  | *** CONTEXTS IN ERROR: Name -> Error
  | 
  | jboss.messaging:service=JMSUserManager -> java.lang.NoClassDefFoundError: org/jboss/tm/TransactionManagerServiceMBean
  | 
  | jboss.messaging:service=PersistenceManager -> java.lang.NoClassDefFoundError: org/jboss/tm/TransactionManagerServiceMBean
  | 

The correct api to get the transaction manager is

  | TransactionManager tm = TransactionManagerLocator.getInstance().locate();
  | 

for now I'm going to move this interface to the server project, but this needs
fixing.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094185#4094185

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094185



More information about the jboss-dev-forums mailing list