From: <php...@li...> - 2012-07-11 16:45:01
|
You probably don't want to terminate the Java process every time your script runs. I assume that would be very messy in a servlet environment. Instead, see what Java call(s) you need to make to disconnect from SonicMQ and have your PHP invoke it when finished. Thanks, Brandon On Wed, Jul 11, 2012 at 12:23 PM, < php...@li...> wrote: > > I'm using JavaBridge to run some java from within a command line PHP > script. The java code connects to a sonicmq server and started to > download data. When the PHP script exists the java code remains > connected to the sonicmq server, which prevents and new connections. > Sonicmq complains that a user is still logged in. > > My question is: From PHP how can I terminate the java code I initiated > from PHP? > > Thanks. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > php-java-bridge-users mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > |