[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Multiple data sources when using MySQL

cpslo1999 do-not-reply at jboss.com
Wed Apr 15 13:19:31 EDT 2009


Progress update:

1) Copied the deploy/mysql-ds.xml file to deploy/app-mysql-ds.xml
2) Changed the JNDI name, changed the URL, changed the credentials in app-mysql-ds.xml
3) Restarted JBoss
-- No errors and no new warnings --
4) Deployed my JMS queues
-- No errors --
5) Deployed my app and I get a slew of warnings

  | 09:50:27,318 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
  | 09:50:27,318 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
  | 09:50:27,318 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.cancelTimer()
  | 09:50:27,334 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.initializeTimer(java.util.Date,long)
  | 09:50:27,349 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public long myapp.control.aging.AgingImpl.getTimeRemaining()
  | 09:50:27,365 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.initializeTimer()
  | 09:50:27,381 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.ejbTimeout(javax.ejb.Timer)
  | 09:50:27,381 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.cancelTimer()
  | 09:50:27,396 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.initializeTimer(java.util.
  | Date,long)
  | 09:50:27,412 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public long myapp.control.aging.AgingImpl.getTimeRemaining()
  | 09:50:27,427 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.initializeTimer()
  | 09:50:27,443 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public void myapp.control.aging.AgingImpl.ejbTimeout(javax.ejb.Timer)
  | 09:50:27,459 INFO  [AgingImpl] Initializing aging timer.
  | 09:50:27,459 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
  | 09:50:27,459 WARN  [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
  | 09:50:27,459 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.Object myapp.control.setting.SettingsImpl.get(myapp.client.control.setting.Key)
  | 09:50:27,474 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String myapp.control.setting.SettingsImpl.getRaw(myapp.client.control.setting.Key)
  | 09:50:27,474 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.util.EnumMap myapp.control.setting.SettingsImpl.getAll()
  | 09:50:27,490 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.Object myapp.control.setting.SettingsImpl.get(myapp.client.control.setting.Key)
  | 09:50:27,506 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.lang.String myapp.control.setting.SettingsImpl.getRaw(myapp.client.control.setting.Key)
  | 09:50:27,506 WARN  [InterceptorRegistry] applicable interceptors is non-existent for public java.util.EnumMap myapp.control.setting.SettingsImpl.getAll()
  | 

If my internet searching is correct, these can be safely ignored (http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.0/html/EJB3_Interceptors.html the very bottom of the page).

The one that concerns me however is this one.

  | 09:50:27,631 WARN  [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] [com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] Adding multiple last resources is disallowed. Current resource is org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource
  | @26eac5
  | 09:50:27,631 ERROR [AgingImpl] EJB Exception during create timer : javax.ejb.EJBException: Failed to create timer
  | 

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

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



More information about the jboss-user mailing list