Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes EJB and other Java EE Technologies and the fly likes ejbTimeOut() method called twice on startup of application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ejbTimeOut() method called twice on startup of application" Watch "ejbTimeOut() method called twice on startup of application" New topic
Author

ejbTimeOut() method called twice on startup of application

asim satti
Greenhorn

Joined: Nov 10, 2012
Posts: 11

Hello everyone.

I am using TimeObject to set EJB timer when application starts. ejbTimeout() methods invokes in correct time interval but only problem is tha when i run my jboss server the ejbTimeOut() method invokes twice on startup of application. i want ejbTimeOut() to invoke once on a startup.

Any suggestions what could be reason for this behaviour?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ejbTimeOut() method called twice on startup of application