A Dilluns, 14 de juny de 2010, [email protected] va escriure:
> 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?

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.



> 
> Thanks
> Kristof
> 
> ------------------------
> ---------------------------
> Cogetix bvba
> http://www.cogetix.com
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> --
> http://www.openobject.com/forum/viewtopic.php?p=57439#57439
> 
> -------------------- m2f --------------------
> 
> 
> _______________________________________________
> Tinyerp-users mailing list
> http://tiny.be/mailman2/listinfo/tinyerp-users


-- 
Albert Cervera i Areny
http://www.NaN-tic.com
OpenERP Partner
Mòbil: +34 669 40 40 18
_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman2/listinfo/tinyerp-users

Reply via email to