Re: How to get Tomcat HTTP port during startup of the server

2011-10-07 Thread Lahiru Gunathilake
Hi On Fri, Oct 7, 2011 at 2:20 AM, Pid * wrote: > On 6 Oct 2011, at 19:22, Lahiru Gunathilake wrote: > > > Hi Charles, > > > > This is my usecase, I want to register my application URL to a repository > > and there is another remote application who reads that URL somewhere and > > invoke my app

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Pid *
On 6 Oct 2011, at 19:22, Lahiru Gunathilake wrote: > Hi Charles, > > This is my usecase, I want to register my application URL to a repository > and there is another remote application who reads that URL somewhere and > invoke my application. So during the startup I need to register them before >

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Lahiru Gunathilake
HI Christopher, That is what I have already done ! I thought its not nice users to put the same configuration in to another properties file ! Somehow currently I have a solution but I am trying to find a better solution. I appreciate your responses ! Tomcat user list seems awesome ! Lahiru On

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lahiru, On 10/6/2011 2:21 PM, Lahiru Gunathilake wrote: > This is my usecase, I want to register my application URL to a > repository and there is another remote application who reads that > URL somewhere and invoke my application. So during the start

Re: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Lahiru Gunathilake
Hi Charles, This is my usecase, I want to register my application URL to a repository and there is another remote application who reads that URL somewhere and invoke my application. So during the startup I need to register them before I get any request. Lahiru On Thu, Oct 6, 2011 at 1:38 PM, Cal

RE: How to get Tomcat HTTP port during startup of the server

2011-10-06 Thread Caldarale, Charles R
> From: Lahiru Gunathilake [mailto:glah...@gmail.com] > Subject: How to get Tomcat HTTP port during startup of the server > I have a requirement of getting the Tomcat HTTP port during > startup of my application. The obvious first question is: why? Also, you must know that Tomcat may be liste