Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Failed to create timer on Jboss5  RSS feed

ray frid
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using EJB3.0 jboss5.1AS

I have some weird problem which didnt happen before.
I am trying to test my ejb stateless bean.

I used to simulate ejb call from a servlet which inside my ear(inside WAR project) and everything worked fine.

now we try to test this ejb via servlet which is outside the EAR from an extrnal tomcat server by doing EJB-call

and all of a sudden I get this exception:

7 May 12 13:13:11, ERROR DispactherBean:dispatchMsg:113 Exception. The error msg=Failed to create timer
javax.ejb.EJBException: Failed to create timer
at org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(
at org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(
at DispactherBean.dispatchMsg(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(


I am triggering my timer this way:

{ DispactherBeanRemote.class })
@RemoteBinding(jndiBinding = "DispactherBean")
public class DispactherBean implements DispactherBeanRemote, Serializable

private static final long serialVersionUID = 1L;
private final static Logger logger = Logger.getLogger(DispactherBean.class);

private TimerService timerService;

public void someMethod()

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!