Re: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-06 Thread Chema
> There's nothing like chasing your tail for a few days on a mailing list. > > - -chris ok, ok ...it was my fault ... sorry :-/ Regards - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mai

Re: JDBC Pool - Error handling during connection creation

2012-03-06 Thread amit shah
Comments below. Thanks, Amit. On Tue, Mar 6, 2012 at 8:07 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Amit, > > On 3/6/12 4:46 AM, amit shah wrote: > > Hello, I am using the tomcat jdbc pool independently in my > > applicat

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Rainer Jung
On 06.03.2012 18:21, Pid * wrote: On 6 Mar 2012, at 08:16, "André Warnier" wrote: Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following ap

Trying to compile the tomcat connector

2012-03-06 Thread Alex Samad - Yieldbroker
Hi I am trying to compile the latest version from svn. (I have started a new thread at it a different topic) I have downloaded the latest trunk version, made a patch to Makefile.amd64 Index: Makefile.amd64 === --- Makefile.amd64

RE: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Alex Samad - Yieldbroker
Hi > -Original Message- > From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] > Sent: Wednesday, 7 March 2012 9:35 AM > To: Tomcat Users List > Subject: RE: Issues with the tomcat connector (On W2k8 + IIS7.5) > [snip] > I tried the x86 version and it compiled okay ! Sorr

RE: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Alex Samad - Yieldbroker
> -Original Message- > From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] > Sent: Wednesday, 7 March 2012 9:30 AM > To: Tomcat Users List > Subject: RE: Issues with the tomcat connector (On W2k8 + IIS7.5) > > [snip] > .\Release_amd64\isapi_redirect.exp > jk_isapi_plugin

RE: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Alex Samad - Yieldbroker
-Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Tuesday, 6 March 2012 9:39 PM To: users@tomcat.apache.org Subject: Re: Issues with the tomcat connector (On W2k8 + IIS7.5) [snip] > That's easy. > Open VSxxx command prompt for target CPU and cd to native/iis the

RE: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Alex Samad - Yieldbroker
> -Original Message- > From: Mladen Turk [mailto:mt...@apache.org] > Sent: Tuesday, 6 March 2012 11:52 PM > To: users@tomcat.apache.org > Subject: Re: Issues with the tomcat connector (On W2k8 + IIS7.5) > > On 03/06/2012 06:35 AM, Alex Samad - Yieldbroker wrote: > > Hi > > > > Under load

RE: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-06 Thread Caldarale, Charles R
> From: Jim Garrison [mailto:jim.garri...@troux.com] > Subject: tomcat6w.exe -- 32bit and 64bit versions identical? > The two versions of tomcat6w.exe are identical. > Is this correct? That is correct. The tomcat6w.exe program does not access the JVM, so it need not match the JVM's execution

Re: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-06 Thread markt
Jim Garrison wrote: >I am in an environment where I deploy tomcat via a script. Rather than >keep two entire copies of Tomcat for 32- and 64-bit systems I have the >complete 32-bit download plus the 64-bit tomcat6*.exe files. I'm >upgrading from 6.0.20 to 6.0.35 and my usual procedure is to dif

tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-06 Thread Jim Garrison
I am in an environment where I deploy tomcat via a script. Rather than keep two entire copies of Tomcat for 32- and 64-bit systems I have the complete 32-bit download plus the 64-bit tomcat6*.exe files. I'm upgrading from 6.0.20 to 6.0.35 and my usual procedure is to diff the 32- and 64-bit ve

Re: Problem with JMXProxy after upgrading from 6.0.29 to 7.0.26

2012-03-06 Thread hodgesz
This appears to be another variant of the following bug that was supposed to be fixed in 7.0.26. https://issues.apache.org/bugzilla/show_bug.cgi?id=52591 -- View this message in context: http://tomcat.10.n6.nabble.com/Problem-with-JMXProxy-after-upgrading-from-6-0-29-to-7-0-26-tp4551753p4551993

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread Pid *
On 6 Mar 2012, at 08:16, "André Warnier" wrote: > Pid wrote: >> On 06/03/2012 07:12, Rainer Frey wrote: >>> On 05.03.2012, at 14:14, Philippe ROUXEL wrote: >>> >> When I set JAVA_OPTS= -Xmx1024m -Xss75m > That means: each thread get a stack of 75MB. One of the following applies: > * t

Re: Proxypass Question

2012-03-06 Thread André Warnier
Truckman wrote: As per list member "Pid", I am starting a new thread rather than lobotomizing an existing one. Pid, you're right, my apologies, I was being lazy. Using apache virtual hosting, I am trying to forward port 443 to tomcat, yet have port 80 serve "normal" local content in the traditi

Problem with JMXProxy after upgrading from 6.0.29 to 7.0.26

2012-03-06 Thread hodgesz
Hi, We have been using the following two JMXProxy URLs for monitoring without issue in 6.0.29. http://localhost:8080/manager/jmxproxy/?qry=*:type=Executor,name=tomcatThreadPool OK - Number of results: 1 Name: Catalina:type=Executor,name=tomcatThreadPool modelerType: org.apache.tomcat.util.

Proxypass Question

2012-03-06 Thread Truckman
As per list member "Pid", I am starting a new thread rather than lobotomizing an existing one. Pid, you're right, my apologies, I was being lazy. Using apache virtual hosting, I am trying to forward port 443 to tomcat, yet have port 80 serve "normal" local content in the traditional fashion. The

Re: Retrieve context path in lifecycle listener

2012-03-06 Thread sgfan
Hi Konstantin, > 2012/3/6 : > > Hi folks, > > > > I'd like to retrieve the context path from the a startup event in a > context lifecycle listener. My usecase is register that contextpath in the > initial context and access its value through Logback. > > Unfortunately, LifecycleEvent does not see

Re: Fwd: JMX MBean for active sessions

2012-03-06 Thread Konstantin Kolinko
2012/3/6 Christopher Schultz : > On 3/6/12 7:13 AM, Attila Balogh wrote: >> can anyone please tell me where can I find any information about >> changes between Tomcat 6 and 7 regarding MBean names? > > I dunno about /changes/ specifically (I'm not going to try to guess > your version and then do a

Re: Fwd: JMX MBean for active sessions

2012-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Attila, On 3/6/12 7:13 AM, Attila Balogh wrote: > can anyone please tell me where can I find any information about > changes between Tomcat 6 and 7 regarding MBean names? I dunno about /changes/ specifically (I'm not going to try to guess your versio

Re: JDBC Pool - Error handling during connection creation

2012-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Amit, On 3/6/12 4:46 AM, amit shah wrote: > Hello, I am using the tomcat jdbc pool independently in my > application and frequently I faced a NullPointerException with the > below stack trace > > null at > org.apache.tomcat.jdbc.pool.ConnectionPool.

Re: Retrieve context path in lifecycle listener

2012-03-06 Thread Konstantin Kolinko
2012/3/6 : > Hi folks, > > I'd like to retrieve the context path from the a startup event in a context > lifecycle listener. My usecase is register that contextpath in the initial > context and access its value through Logback. > Unfortunately, LifecycleEvent does not seem to contain this data.

Retrieve context path in lifecycle listener

2012-03-06 Thread sgfan
Hi folks, I'd like to retrieve the context path from the a startup event in a context lifecycle listener. My usecase is register that contextpath in the initial context and access its value through Logback. Unfortunately, LifecycleEvent does not seem to contain this data. Is there a way? Thank

Re: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Mladen Turk
On 03/06/2012 06:35 AM, Alex Samad - Yieldbroker wrote: Hi Under load, IIS will first start 1 process and then if enough request another and another depending on load. So what I see is 4 process starting at about the same time and the shared memory is getting corrupted and from there it turn

Fwd: JMX MBean for active sessions

2012-03-06 Thread Attila Balogh
Hi all, can anyone please tell me where can I find any information about changes between Tomcat 6 and 7 regarding MBean names? Our operations team is using Bridgeways Tomcat pack for SCOM and since we switched to Tomcat 7 the active session data is missing from the monitors - everything else is th

RE: Proxypass Question

2012-03-06 Thread Martin Gainty
Perfectly Normal if a http request comes in yoiu want to 1)log the request ( writing the HTTP Env Vars) 2)forward to https if a https request comes in you want to 1)log (writing the HTTP Env vars) 2)authenticate does your client that uses Tomcat have at least *read access* to /mnt/html/examp

Re: Issues with the tomcat connector (On W2k8 + IIS7.5)

2012-03-06 Thread Mladen Turk
On 03/06/2012 06:35 AM, Alex Samad - Yieldbroker wrote: Hi ... a very long post :) In general I agree that newest IIS's needs some tune up. You are very welcome to provide patches. Does somebody have a tar ball of a tree what I can just point to and compile :) (or maybe some instruction o

Re: RE : Tomcat7 OutOFMemoryError

2012-03-06 Thread André Warnier
Pid wrote: On 06/03/2012 07:12, Rainer Frey wrote: On 05.03.2012, at 14:14, Philippe ROUXEL wrote: When I set JAVA_OPTS= -Xmx1024m -Xss75m That means: each thread get a stack of 75MB. One of the following applies: * the operating system has a limit on thread stack size * the per process memor