Re: Apache Tomcat 8.0.22 server on different machines
-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
Re: Apache Tomcat 8.0.22 server on different machines
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. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat 8.0.22 server on different machines
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.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Apache Tomcat 8.0.22 server on different machines
-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? - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVhI17AAoJEBzwKT+lPKRY85oQAIgfPY0Mx7W9GGgpKp6lqOqp XYK7Ugkt+zGzWHlls5B7FFox6+zML9AzeEA/a4nmGaoHqp++oFPZygKnVOQwQACF fbuNBGMbS9I93/mixJR/f4kb5BV3yxobmXtrd9Vud1Tykc6t6VMxYWQbSlNHXMXc l7svsgAmA25EKX/PI0Cm8H22F6MKme7rG8ldaP1AtGFzXMKtnrdHxlI0/5/gxKkK i0ajZH4L0CsCH3JZbfhogsw3GVHjdEMSblz1vFlA/jY4BoVg/CGxDOJJueQYR1Ho r+rD/kS8bmir1Of+dUA5HES0/ntBOb4h1vCyHWGHyC38bYPhlbquNMN8xr8mI716 En/nQPVHt48AK2jK9ssc0F/FRNARxeH1jsKkYWfBaJzn+sO+ewwS/ZNXWqqxCfr4 CFlO6PgpjCEwP2kg1Hs8ts+9Qlfu6ZHTPSpSLGxFHrN0U7uCEaHXXotn7oVmQ6aE ceJqeAPAldobORdpAtSPeUJ5M7ceCR/AagNSuv9h1vU1EThadfw5jVvUtFtmZcdo TIgkHp7LPLZe0CGnZqfXVhJmdewwEOapO2yfhAFWBgmExuxJSOh/728PdMDjiZT6 +Dx7AL6qZtvy12p5Km9OTnmzV8n1RsilJJCRBW01EZ5OpaazttIFijEwfcMIoXq7 UEoQs69wdmdeJ3kW3Mjx =3iko -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Apache Tomcat 8.0.22 server on different machines
Hi, 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? Thanks. Regards, Prarthana - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org