Re: I'm using jdk1.6 + tomcat 7.0.23
Can you put my E-mail account deleted from the mailing list, thank you! 2015-06-11 12:42 GMT+08:00 chedana jayasinghe : > HI, > In my web application, in a jsp there is a javascript which sends request > to a servlet every twenty seconds, so it kills my applications user idle > time tracking by resetting the lastAccessed time. the funny thing is > lastAccessed time doesn't get updated in tomcat 6 and my applications idle > time tracking works fine in it, but in 7 it gets updated and kills that > functionality of the application . so I'm little bit confused about the > changes in the session tracking of tomcat 6 and tomcat 7 >
Access tomcat instance from Java application
Good afternoon list, I would like to know how to access a running tomcat installation from within another Java application which is not running in the tomcat container. More specifically I would like to end up using the datasource which is configured via in the server.xml. This would allow me to use an existing configuration and so I wouldn't need to specify the jdbc parameters and dialect etc. somewhere else to get a connection pool. Thanks for reading. Daniel - 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