RE: Implementing service chaining with Tomcat6

2009-01-11 Thread Caldarale, Charles R
> From: uma...@comcast.net [mailto:uma...@comcast.net] > Subject: Re: Implementing service chaining with Tomcat6 > > Is there a way for me to have org.apache.catalina.startup.Bootstrap > block till it receives a JMS notification or some such? I'm not aware of any Tomcat co

Re: Implementing service chaining with Tomcat6

2009-01-11 Thread uma_rk
Thanks Rusty. I was hoping for a 'Java' solution ( as in 'OS independent'). The daemon is a java application (actually the activemq JMS broker); Is there a way for me to have org.apache.catalina.startup.Bootstrap block till it receives a JMS notification or some such? The desired startup sequence

Re: Implementing service chaining with Tomcat6

2009-01-11 Thread Rusty Wright
Too many bins; I meant /tmp/zzz (as it is in the script). Rusty Wright wrote: What options are available to you to determine if the daemon is ready? For example, does it create a lock file? If so, you could modify your tomcat startup script in /etc/init.d, the one that calls /usr/local/tomca

Re: Implementing service chaining with Tomcat6

2009-01-10 Thread Rusty Wright
What options are available to you to determine if the daemon is ready? For example, does it create a lock file? If so, you could modify your tomcat startup script in /etc/init.d, the one that calls /usr/local/tomcat/bin/startup.sh, and have it check if the daemon is ready and wait until it is

Implementing service chaining with Tomcat6

2009-01-10 Thread uma_rk
I am using Tomcat6.0.14 with Jdk1.6 on Linux RH4. My application comprises a daemon and Tomcat6. The daemon is slow in starting up. I need Tomcat6 to be started after the daemon is operational. While the daemon is a Java application, its a third-party tool whose src I do not control. Is there