From: Malcolm T. <mt...@wu...> - 2009-08-28 15:47:46
|
I've got a working implementation of Opal 2.0 that I'm using for running PDB2PQR and APBS jobs. Everything is running fine, but the job data isn't being cleared from the working directory. In my etc/opal.properties I have: # use this key to display how long to save user data on server opal.datalifetime=4 days and I don't see anywhere in the application-specific configuration files where this value is being over-ridden. I searched in the Tomcat directory and the only reference to this variable is also 4 days: /export/home/opal/jakarta-tomcat-5.0.30/webapps/opal2/WEB-INF/classes/opal.properties opal.datalifetime=4 days Yet none of the working directories appear to be getting deleted: [opal@sccne ROOT]$ ls -l /export/home/opal/jakarta-tomcat-5.0.30/webapps/ROOT | less drwxrwxr-x 2 opal opal 4096 Aug 20 10:39 app1250782739797 drwxrwxr-x 2 opal opal 4096 Aug 20 10:40 app1250782810226 drwxrwxr-x 2 opal opal 4096 Aug 20 10:40 app1250782810359 drwxrwxr-x 2 opal opal 4096 Aug 20 10:41 app1250782862526 ... The catalina logs don't show any activity since the last time jobs have been run: [opal@sccne logs]$ tail catalina.out 2009-08-24 12:37:34,074 INFO edu.sdsc.nbcr.opal.state.HibernateUtil.updateJobInfoInDatabase(HibernateUtil.java:213) - Updated status for job: app1250628292907 2009-08-24 12:37:34,078 ERROR edu.sdsc.nbcr.opal.AppServiceImpl$1.run(AppServiceImpl.java:657) - 2009-08-24 12:37:34,078 INFO edu.sdsc.nbcr.opal.state.HibernateUtil.updateJobInfoInDatabase(HibernateUtil.java:213) - Updated status for job: app1250628277496 2009-08-24 12:37:34,081 ERROR edu.sdsc.nbcr.opal.AppServiceImpl$1.run(AppServiceImpl.java:657) - 2009-08-24 12:37:34,086 INFO edu.sdsc.nbcr.opal.state.HibernateUtil.updateJobInfoInDatabase(HibernateUtil.java:213) - Updated status for job: app1250628288751 2009-08-24 12:37:34,090 ERROR edu.sdsc.nbcr.opal.AppServiceImpl$1.run(AppServiceImpl.java:657) - How are the job directories deleted? Is the Tomcat server supposed to check periodically whether it's time to delete the directories? How can I debug what's going wrong? Thanks, Malcolm -- Malcolm Tobias 314.362.1594 |