Communication between tomcat and linux
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   bala_chandhran
Posted On:   Friday, October 12, 2001 11:09 PM

Is it possible to trigger an event in linux , whenever a particular servlet is requested in the tomcat which is running on that linux machine. Because there is a need for some backend jobs to be done which need not require request & response objects which unnecesserily increase the server load.

Re: Communication between tomcat and linux

Posted By:   Nathan_Meyers  
Posted On:   Saturday, October 13, 2001 05:44 PM

You can execute an arbitrary program from a servlet with Runtime.exec() - it will run as whatever user Tomcat runs as. Does that meet your need to "trigger an event"?
About | Sitemap | Contact