users@glassfish.java.net

Re: GV2.1 - EJB Timer Service error when restart server

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Mon, 13 Apr 2009 16:04:39 -0700

Are there any other errors in the server.log? If EJB Timer Service is not able
to start, you'll see explicit messages.

Can it be that your EJB components that use Timer Service got undeployed?

thanks,
-marina

Paulo Cesar Reis wrote:
> Hi all,
>
> Im getting some odd errors on my glassfish when I restart the server
> using CLI commands.
>
> I have some EJB components installed that use Timer Service and when my
> server restart it seems like the scheduled timers don’t run anymore (not
> sure about that but today the timers were gone.)
>
> Follow the error (glassfish says warning but it’s really only a warning
> log?):
>
> [#|2009-04-13T10:06:50.550-0300|WARNING|sun-appserver2.1|javax.enterprise.system.tools.admin|_ThreadID=13;_ThreadName=Thread-12;_RequestID=7d1896f3-a154-43db-9abe-d5e8b1c04a36;|java.lang.IllegalArgumentExcepti
> on: "timers"
> com.sun.enterprise.management.support.OldTypesBase.oldObjectNameToJ2EEType(OldTypesBase.java:153)
> com.sun.enterprise.management.support.oldconfig.OldProps.<init>(OldProps.java:187)
> com.sun.enterprise.management.support.LoaderOfOldMonitor.oldToNewObjectName(LoaderOfOldMonitor.java:265)
> com.sun.enterprise.management.support.LoaderOfOld.syncWithOld(LoaderOfOld.java:414)
> com.sun.enterprise.management.support.Loader._sync(Loader.java:542)
> com.sun.enterprise.management.support.Loader.sync(Loader.java:516)
> com.sun.enterprise.management.support.Loader.handleMBeanRegistered(Loader.java:220)
> com.sun.enterprise.management.support.LoaderRegThread.processRegistration(LoaderRegThread.java:184)
> com.sun.enterprise.management.support.LoaderRegThread.processItem(LoaderRegThread.java:227)
> com.sun.enterprise.management.support.LoaderRegThread.processFOREVER(LoaderRegThread.java:288)
> com.sun.enterprise.management.support.LoaderRegThread.run(LoaderRegThread.java:311)
> |#]
>
> Thanks.