Re: EJB timer service not available
Try this instead:
http://download.oracle.com/docs/cd/E18930_01/html/821-2418/beahw.html#gktqo
-marina
Glenn Holmer wrote:
> We're learning to set up clustering, and got the clusterjsp test app
> working successfully (fronted by Apache mod_jk load balancing).
>
> Now it's on to the harder stuff, so we tried to deploy our eCommerce
> app, which uses timers. All of them are non-persistent, declared with
> @Schedule(...persistent=false).
>
> When we deploy this app to the cluster, we get this:
>
> [#|2011-10-24T16:17:07.153-0500|SEVERE|glassfish3.1.1|
> javax.enterprise.system.tools.deployment.org.glassfish.de
> ployment.common|_ThreadID=145;_ThreadName=Thread-2;|Exception while
> invoking class org.glassfish.ejb.startup.EjbApplication start method
> java.lang.RuntimeException: EJB Timer Service is not available
>
> Mr. Google suggested this:
>
> http://download.oracle.com/docs/cd/E18930_01/html/821-2434/ggrvi.html#glhnl
>
> But I added com.sun.ejb.timer.ReadDBBeforeTimeout=false to the JVM
> properties of the cluster config and still got the error after
> re-deploying.
>
> Anybody got any suggestions?
>
>