[jboss-user] [EJB 3.0 Users] - EJB destroyed after a period
Enishi
do-not-reply at jboss.com
Thu Nov 12 02:18:17 EST 2009
Hello,
I have about 10 ServiceMBeans.
They are running fine after a period (6-8h) but somehow suddenly JBoss is destroying them and trys to start them again.
I'm using in some ServiceMBeans the java.util.TimerTask instead of the TimerService and they are running fine, but only those ServiceMbeans which are using a TimerService (@Resource private TimerService ts;) were destroyed.
The starting failed because an NullPointerException occure in the startService() methods where i'm creating a timer, but the TimerService is null.
Anyone have an idea why that happen?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265165#4265165
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265165
More information about the jboss-user
mailing list