sing it. I looked through ServletContext object and
could not find it. Could not find access to Catalina's HttpConnector class
anywhere.
Thanks,
Brian Barnett
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsu
omcat with virtual hosting activated and listening on
both plain 8080 port and SSL port)
Brian Barnett a écrit :
> Can someone provide a java code snippet showing how to get the port that
> Tomcat is listening on? Is there a way to access the settings in the
> server.xml file from wi
specify some arbitrary
value in either of those xml files that would be available at run-time? Is
there some other way to identify the tomcat instance at run-time? Is there a
way to access CATALINA_HOME or CATALINA_BASE at run-time?
Any ideas would be appreciated.
Thanks,
Brian Barnett
Hash: SHA1
Brian,
Don't hijack threads. Please post a new question to the list.
- -chris
Brian Barnett wrote:
> I have a struts-based application running on multiple tomcat instances, load
> balanced by a hardware load balancer, i.e., no Apache Web Server. I need a
> way at run
specify
some arbitrary value in either of those xml files that would be available at
run-time? Is there some other way to identify the tomcat instance at
run-time? Is there a way to access CATALINA_HOME or CATALINA_BASE at
run-time?
Any ideas would be appreciated.
Thanks,
Brian Barnett