Re: Parameterized the server.xml

2013-05-28 Thread vicky007aggarwal
Thanks a ton Kolinko for your help..it works Thanks, Vicky On May 27, 2013, at 6:52 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2013/5/27 vicky007aggar...@yahoo.co.in: Team, Is there a way by which we can pass the tomcat port numbers via config file or command line.i don't want

Reuse work temp directories

2013-05-28 Thread vicky007aggarwal
Hi Guys, Is there is a way by which we can create work temp directories on run time so that we can avoid creating multiple tomcat instances having there individual work temp directories. Please suggest that we can achieve it Thanks, Vicky

allow domains *and* ip range

2013-05-28 Thread Miklos Espak
Hi, is it possible to allow access to Tomcat for hosts in a certain domain or IP range? The RemoteHostValve and RemoteAddrValve works well until I have only one of them, but if I have a domain name filter and an IP filter together, every request is refused. Is there a way to combine these

Re: Reuse work temp directories

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 5/28/13 2:30 AM, vicky007aggar...@yahoo.co.in wrote: Is there is a way by which we can create work temp directories on run time so that we can avoid creating multiple tomcat instances having there individual work temp directories.

Re: Reuse work temp directories

2013-05-28 Thread David kerber
On 5/28/2013 12:22 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 5/28/13 2:30 AM, vicky007aggar...@yahoo.co.in wrote: Is there is a way by which we can create work temp directories on run time so that we can avoid creating multiple tomcat instances

Re: Exeptions after upgrading to tomcat 7

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Manuel, On 5/25/13 4:41 PM, Manuel LeNormand wrote: Hello all, I have a Solr instance running on a Tomcat 6 servlet, everything worked fine. While upgrading to Tomcat 7.0.34, I get exceptions I'm having a hard time to deal with. Two kind of

Re: allow domains *and* ip range

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Miklos, On 5/28/13 9:17 AM, Miklos Espak wrote: is it possible to allow access to Tomcat for hosts in a certain domain or IP range? The RemoteHostValve and RemoteAddrValve works well until I have only one of them, but if I have a domain name

Re: Bug 47678 - Unable to allocate shared memory when using isapi_redirect.dll as an extension and filter

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Asha, On 5/27/13 8:22 AM, Asha K S wrote: We are facing the same issue as mentioned in bug 47678. Is anyone else facing the same issue ? Please let me know if there are any plans of fixing this issue. You should comment on the bug that you

Re: Reuse work temp directories

2013-05-28 Thread vicky007aggarwal
Thanks David Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat instances. I am doing this by using variables in server.xml for port numbers,work directories etc. then i am passing

Re: Reuse work temp directories

2013-05-28 Thread David kerber
On 5/28/2013 1:21 PM, vicky007aggar...@yahoo.co.in wrote: Thanks David Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat instances. I am doing this by using variables in server.xml

Re: Reuse work temp directories

2013-05-28 Thread Mark Eggers
Comments in-line. On 5/28/2013 10:21 AM, vicky007aggar...@yahoo.co.in wrote: Thanks David Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat instances. I am doing this by using

Re: Reuse work temp directories

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 5/28/13 1:21 PM, vicky007aggar...@yahoo.co.in wrote: Thanks David Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat

Re: [OT] ab and load testing

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rainer, On 5/25/13 1:49 AM, Rainer Jung wrote: On 24.05.2013 17:54, Christopher Schultz wrote: Top reported that Tomcat was taking somewhere between 550-600% CPU. (This is a 4-core hyperthreaded CPU so I have 8 logical cores. 'ab' was taking

Re: Apache tomcat thread's issue

2013-05-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Gabriel, On 5/24/13 9:43 PM, Gabriel Huerta Araujo wrote: I developed an application using two threads where in one of them I started to run one socket to ask for information and in the another, application runs a serversocket to receive the

Is there a way to make manager applications be first ones loaded?

2013-05-28 Thread Nick Williams
At $work, we have an automated build system that twice-daily compiles our application and deploys it to the Tomcat servers in our QA environment. It uses the Tomcat manager web service (and the Tomcat Ant tasks) to manage this behavior. More precisely, it first builds the application, then

Re: Is there a way to make manager applications be first ones loaded?

2013-05-28 Thread Nick Williams
On May 28, 2013, at 4:49 PM, Nick Williams wrote: At $work, we have an automated build system that twice-daily compiles our application and deploys it to the Tomcat servers in our QA environment. It uses the Tomcat manager web service (and the Tomcat Ant tasks) to manage this behavior.

RE: Is there a way to make manager applications be first ones loaded?

2013-05-28 Thread Caldarale, Charles R
From: Nick Williams [mailto:nicho...@nicholaswilliams.net] Subject: Is there a way to make manager applications be first ones loaded? The FileNotFoundExceptions in our Ant build happen when the Ant task successfully contacts Tomcat but Tomcat returns a 404 for the manager because that

Re: allow domains *and* ip range

2013-05-28 Thread Miklos Espak
Hi Chris, Note that the allow and deny attributes are regular expressions, so you can get as creative as possible. There was a request a while back for a filter/valve that would operate on CIDR ranges... I don't think that ever got committed. A quick BZ search didn't find anything. It must

Making sure I understand application startup order correctly

2013-05-28 Thread Nick Williams
Guys, Can some of the fine experts on this list double check my assertions below and let me know if I'm going wrong anywhere? I hope I got it all right. :-) Assertion #1 If metadata-complete=true is present in the deployment descriptor: A) The container does NOT scan /WEB-INF/classes for

Re: mem usage

2013-05-28 Thread Daniel Mikusa
On May 24, 2013, at 8:59 PM, dario iannaccone dario.iannacc...@gmail.com wrote: Hi all, afther starting tomcat I not that free memory of my VPS still near 0. So it is normal this large usage of RAM? Hard to say. How much memory are you allocating to your Tomcat process? i.e. what JVM

Re: jdbc connection pool, hanging threads and same physical connection usage

2013-05-28 Thread Daniel Mikusa
On May 27, 2013, at 7:40 AM, Huub Sepers h.sep...@portbase.com wrote: Hi, We are experiencing some problems while using the tomcat jdbc pool. Tomcat version: apache-tomcat-7.0.29 Try the latest version. Your's is pretty old. Pool settings: Resource name=PilDevDS