wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes Failed to create timer on Jboss5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Failed to create timer on Jboss5" Watch "Failed to create timer on Jboss5" New topic

Failed to create timer on Jboss5

ray frid
Ranch Hand

Joined: Dec 23, 2010
Posts: 79
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(TimerServiceImpl.java:263)
at org.jboss.ejb.txtimer.TimerServiceImpl.createTimer(TimerServiceImpl.java:171)
at org.jboss.as.ejb3.timerservice.TimerServiceFacade.createTimer(TimerServiceFacade.java:83)
at DispactherBean.dispatchMsg(DispactherBean.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


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()

I agree. Here's the link: http://aspose.com/file-tools
subject: Failed to create timer on Jboss5
It's not a secret anymore!