users@glassfish.java.net

EJB timer service not available

From: Glenn Holmer <gholmer_at_weycogroup.com>
Date: Mon, 24 Oct 2011 16:35:13 -0500

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?

-- 
____________________________________________________________
Glenn Holmer                          gholmer_at_weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601