Thanks, I will check that out.

----- Original Message ----
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Tuesday, May 8, 2007 8:13:17 PM
Subject: RE: How to programatically determine connector's port numbers?

> From: webzo [mailto:[EMAIL PROTECTED] 
> Subject: Re: How to programatically determine connector's 
> port numbers?
> 
> I am in a class that is loaded earlier than the webapps
> (Bootstrapper kind of class which is loaded when the 
> webapp is being loaded first time). I am trying to get
> BOTH the Non-SSL and SSL ports at that point. Ideas?

Take a look at the code in Tomcat's manager and admin apps as well as
that in Lambda Probe.  I believe all of these use Tomcat's MX beans to
extract the information displayed, which includes port numbers among
many other things.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to