From: Malcolm T. <mt...@wu...> - 2009-08-28 17:00:46
|
Wilfred, Gotcha. Thanks, Malcolm On Friday 28 August 2009 11:55:43 am Wilfred Li wrote: > Hi, Malcolm, > > This part of job life time management is left to the administrators to set > up a proper cron job to do the deletion. The value in opal.properties is > only used to display on the dashboard and advise external users how long > their data is maintained on the server. While Opal could manage this > automatically, it's not implemented yet. > > Thanks > > Wilfred > > > ________________________________________ > From: Malcolm Tobias [mt...@wu...] > Sent: Friday, August 28, 2009 8:11 AM > To: Opa...@li... > Subject: [Opaltoolkit-users] job data not being cleaned > > 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(HibernateUti >l.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(HibernateUti >l.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(HibernateUti >l.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 > > > --------------------------------------------------------------------------- >--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day trial. Simplify your report design, integration and deployment - and > focus on what you do best, core application coding. Discover what's new > with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Opaltoolkit-users mailing list > Opa...@li... > https://lists.sourceforge.net/lists/listinfo/opaltoolkit-users -- Malcolm Tobias 314.362.1594 |