--- miscJava/Test3/src/dk/thoerup/schedulesamples/TimedEjb.java 2011/04/18 12:04:33 1297 +++ miscJava/Test3/src/dk/thoerup/schedulesamples/TimedEjb.java 2011/04/18 12:28:14 1298 @@ -12,14 +12,15 @@ import javax.ejb.TimerService; /* GFv3: before using a timed bean make sure the ejb timer service is correctly configured with a datasource and the timer table is created - * cd /inst/glassfishv3/glassfish/domains/domain1/lib/databases/ejbtimer + * cd /glassfish/domains/domain1/lib/databases/ejbtimer * /usr/lib/jvm/java-6-sun/db/bin/ij * connect 'jdbc:derby:.'; - * paste content from /home/torben/inst/glassfishv3/glassfish/lib/install/databases/ejbtimer_derby.sql - * + * paste content from /glassfish/lib/install/databases/ejbtimer_derby.sql + * and content from /glassfish/lib/install/databases/upgrade/ejbtimer_upgrade_derby.sql (need the applicationID column) + * after this make sure that all the files are owned by the user your GFv3 instance is running as * */ -//@Stateless +@Stateless public class TimedEjb implements TimedObject { @Resource