-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

André,

On 6/20/15 7:34 AM, André Warnier wrote:
> André Warnier wrote:
>> Christopher Schultz wrote:
>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
>>> 
>>> Prarthana,
>>> 
>>> On 6/19/15 5:08 AM, Prarthana Agwania wrote:
>>>> We have a requirement wherein we would like to know the urls
>>>> of each of the tomcat instance running on different servers.
>>>> The scenario is somewhat like,
>>>> 
>>>> 1. There are multiple servers running on different machines
>>>> say Server1, Server2, Server3
>>>> 
>>>> 2. There are multiple Tomcat instances running on each of
>>>> the machines as independent instances say, Server1-->
>>>> Tomcat1, Tomcat2, Tomcat3.....Server2--> Tomcat5, Tomcat6, 
>>>> Tomcat7.........Server3-->Tomcat8, Tomcat9, Tomcat10 P.S. -
>>>> Tomcat servers are not clustered
>>>> 
>>>> Now, is there a way that an external user who does not have
>>>> access to the servers can know the urls for each Tomcat
>>>> running under different servers? Or, is it possible that
>>>> Server1 or Tomcat1 can act as the master and have the
>>>> information about other servers(remember they are not
>>>> clustered)?Can this information be made available under one
>>>> hood and used further to deploy wars or modify any
>>>> configuration etc?
>>> 
>>> This is something you will have to build yourself. You may be
>>> able to build something using components Tomcat provides (e.g.
>>> Tribes), but there is nothing like this that exists already.
>>> 
>>> Usually, people want to mask the size of their cluster from
>>> external users. What's your use case here?
>>> 
>> 
>> I think that the OP just explained it above, at the end of his
>> message.
>> 
>> Prarthana, you may want to have a look at something like Bonjour 
>> (https://en.wikipedia.org/wiki/Bonjour_%28software%29).
>> 
>> Each Tomcat would have to register with the service when it
>> starts up, and de-register when it stops.  And then some client
>> could find out about the available Tomcats. Looks like something
>> for a LifeCycleListener..
>> 
> 
> Add-on : as a matter of fact, someone seems to have a similar idea
> : http://www.floop.org.uk/projects/tomcat-registry Not much there
> yet, but it may be worth talking to them.

Also: https://wiki.apache.org/tomcat/TomcatGridDesign

Note: that's a design and not a product.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJViBnpAAoJEBzwKT+lPKRYqOMQALdWbqwqaxH2IEaZA39zwx9V
JW3MxeBg5uYGlgOFeW2cs3+bJOZ5Vr4agEZWQb0iG17dFVdtuT8d0pqGe2ILeiXl
BlkRVM6AYDoGzfzTNw8J2jWYwrZ4vsN7CeX/CqAxbQ1dWA3rBQmWVRsDGgy/r5pP
odRtuJoiXT9DproFaOa2/B0K28vLHwzrLXyiUo/O0m+PnaBkA6XdrR4o8vGip8st
BxjXZ9Yt1zjfjEzyzfhqmHSXT7na/vlVi2MQ09y0iRTbNYwp/+Eob7d3zk7gtpo+
6exxz6fvCAjjDveqA7sGMdskdHK8entKKRKjLj/6oWDwhmRwMsNA10mb/lB6/z3B
BLS4wVc8iLiPYcMFrbc1WGVmcnhvMAjGZxHKA2x2QPPNlT8W12tlBiLrlEcBbLec
QiTEynbsfziPva8L3mMo9BfZpK/KRp6ADwId8cbjktQevOL3NcelWjrt42xKU9bf
LFpGxgUnkI1lf35P5/UCKfAZIIWfbtqmd2nnGqMUFU/euQrvoWF+kITyPRSAwD8M
ot6070UiZtjFbSU76co4sUbz1OT+uIBE7rztlEsf2YbGECmrZX5dfQkKnkhsJBvl
txIZ/5hUPAPZOzXRE9bqyyQAsB/c8upMk+la4shaVrwV7Kp8FCf0GiiLoUAccn2d
eKkRsSKPupdzlPzkKk+x
=Qiie
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to