[quote="kboden"]Hi, I'm looking for the proper way to shut down the jasperreport server process. The first time a report gets displayed, the JasperServer process is spawned and opens up port 8090 on the localhost. However, when I try to stop the openerp-server process afterwards (init.d script uses start-stop-daemon to send the TERM signal), the openerp-server cannot be terminated because the java process is still running as a child process. On the other hand, terminating the java process before openerp-server results in a defunct java process.
Any ideas how I can adapt my startup script to ensure a proper shutdown? Thanks Kristof[/quote] You can add: jasperpid = your-path/openerp-jasper.pid to the server's rc file and use it to stop the java application in your script, after openerp server has finished. ------------------------ Albert Cervera i Areny http://www.NaN-tic.com OpenERP Partners -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=57840#57840 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users