[jboss-user] [JBoss jBPM] - Re: timer in ear: nothing happens

parszab do-not-reply at jboss.com
Mon Aug 17 08:44:28 EDT 2009


"parszab" wrote : 
  | It seems to work: I get an exception ("Transaction is not active: tx=TransactionImple < ac") -- but the timers are created and run properly.
  | 

I beleive it is because the CMT transactions don't get propagated to the TimerEntity bean somehow when the timers are created.  One issue is that the timers don't get deleted this way -- at least that is, what the log says:


  | 14:37:49,853 WARN  [DatabasePersistencePolicy] Unable to delete timer
  | org.jboss.util.NestedSQLException: Transaction is not active: 
  | tx=TransactionImple < ac, BasicAction: 7f000101:90b1:4a894efe:9a status: ActionStatus.ABORTED >;
  |  - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: 7f000101:90b1:4a894efe:9a status: ActionStatus.ABORTED >)
  | 	at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95)
  | 	at org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.deleteTimer(GeneralPurposeDatabasePersistencePlugin.java:311)
  | 	at org.jboss.ejb.txtimer.DatabasePersistencePolicy.deleteTimer(DatabasePersistencePolicy.java:139)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 	at java.lang.reflect.Method.invoke(Method.java:597)
  | 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | 	at $Proxy243.deleteTimer(Unknown Source)
  | 	at org.jboss.ejb.txtimer.TimerServiceImpl.shutdown(TimerServiceImpl.java:138)
  | ....
  | 

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

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



More information about the jboss-user mailing list