You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Paul Singleton <pa...@jbgb.com> on 2005/10/06 15:15:31 UTC
can one app check another is available?
I've split an app into two: one contains many GB of
static images (rarely changes), the other all the
session stuff (this one is updated frequently).
No matter where it is deployed, the real app can
refer to images e.g. src="/maps/....." but I want
the real app to check that the data app is responding
whenever it restarts.
I can do this if I know the full URL, but is there any
way I can check with just the server-relative URL?
Currently I do something like
(new java.net.URL(...)).openConnection()
(hmm, sorry but I guess this isn't Tomcat-specific...)
Paul Singleton
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/120 - Release Date: 5/Oct/2005
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org