users@glassfish.java.net

Re: Cluster timer issues

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Dec 2007 03:13:24 PST

Hi,

In cluster you have to use an external database's datasource (the default datasource for the timer service does not work in cluster).
- In glassfish/lib/install/database directory you can find the script for creating the table that the timer needs. Create that table.
- Create a datasource that connects to that database.
- In Configuration -> cluster's config -> EJB Container selected the 'EJB Timer Service' tab, the last property is the datasource. Set it to the one that you just created (which contains the timer table)

Hope that helps (it works for me...)

Zoltan Fulop
[Message sent by forum member 'zfulop' (zfulop)]

http://forums.java.net/jive/thread.jspa?messageID=250367