Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Filip Hanik Mailing Lists
Pretty much you're guaranteed to have a network problem at that point. You see Java caches DNS translations forever, and yanking VPN like that may change around IPs but the JVM is not aware of that. Wireshark would tell you that. Now relying in VPN is never a good thing, but maybe it's required.

Re: chunked encoding

2012-03-22 Thread Konstantin Kolinko
2012/3/23 Alex Samad - Yieldbroker : > Hi > > I saw a thread earlier about chunked encoding and why > a) it might be better to use that > b) that it is not experimental any more > > > Can somebody explain what it is, why it might be better and maybe some pro's > and con's and how not experimental

chunked encoding

2012-03-22 Thread Alex Samad - Yieldbroker
Hi I saw a thread earlier about chunked encoding and why a) it might be better to use that b) that it is not experimental any more Can somebody explain what it is, why it might be better and maybe some pro's and con's and how not experimental is it. Even some pointers to papers, wiki's, blog t

Re: Can't get past 404 error

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/22/12 4:31 PM, David kerber wrote: > P.S. If you want to review the details of my answers to Chris' > questions, they are in-line below. I was checking things and > answering the questions as I went along, so had most of them > answered

Re: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 3/22/12 5:08 PM, Martin Registe, Jr. wrote: >> First question: do all httpd instances know about all Tomcat >> instances? Or, does httpd only know about the two instances that >> are co-located with it on the same physical server? > > Http

RE: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread Martin Registe, Jr.
Chris, Let me see if I've got this straight. You've got: * A hw load-balancer out front * 5 physical servers each running: - 1 Apache httpd - 2 Tomcats This allows you to have physical-server redundancy (x5) and also the ability to take one TC instance down on each server for maintenance while

Re: Can't get past 404 error

2012-03-22 Thread David kerber
I'm being a bad boy by top-posting the final result here, because it turned out that none of the suggestions that Chris so kindly made after reading my long OP was the actual answer, but it pointed me to the problem which is now fixed and everything works. I had upgraded the TC version from 5

Re: Can't get past 404 error

2012-03-22 Thread Konstantin Kolinko
2012/3/22 Christopher Schultz : > >> Mar 22, 2012 11:12:20 AM org.apache.catalina.startup.ContextConfig >> getDefaultWebXmlFragment INFO: No global web.xml found > > That probably is a problem. Is there a web.xml file in either of these > locations? > > C:\TomcatClients\Pelican\conf\web.xml > C:\Pr

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread BFinkeldei
New Question that is related to the bin folder: I extracted the missing items from the bin. and restarted and now Tom cat won't load any JSP's. It will load servlets...just not jsp's getting the following error: It's throwing a 404 with this message: The requested resource (Servlet jsp is not

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Lobb, Janos
On Mar 22, 2012, at 11:31 AM, Pid wrote: > On 22/03/2012 17:05, André Warnier wrote: >> Pid wrote: >>> On 22/03/2012 15:47, Lobb, Janos wrote: On Mar 22, 2012, at 7:40 AM, André Warnier wrote: > Martin Gainty wrote: >> Mitch >> One possible cause >> FE Application creat

Re: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 3/22/12 1:18 PM, Martin Registe, Jr. wrote: > How many *tomcat instances* do you have running ? And can you > explain, in general terms, what you are trying to do ? > > @Andre > > I am trying to run two reduant tomcat instances that are e

Re: Can't get past 404 error

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/22/12 11:21 AM, David kerber wrote: > [I] can't get my opening page to load from: > > http://localhost:81/SiteData/Login.jsp > > Catalina_home is defined in tomcat7w as: -Dcatalina.home=C:\Program > Files\Apache Software Foundation\Tomca

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Pid
On 22/03/2012 20:03, André Warnier wrote: > bfinkel...@aaamissouri.com wrote: >> my system time was messed up and ahead. I think this could have >> caused the issue. I updated my system time. >> > Good that you waited before posting this message, or you could have > ended up ahead of yourself. Di

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 21:12, Mark Eggers wrote: >> >> From: Christopher Schultz >> To: Tomcat Users List >> Sent: Thursday, March 22, 2012 5:35 AM >> Subject: Re: java.lang.IllegalStateException Question >> >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Mark,

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Mark Eggers
> > From: Christopher Schultz >To: Tomcat Users List >Sent: Thursday, March 22, 2012 5:35 AM >Subject: Re: java.lang.IllegalStateException Question > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Mark, > >On 3/22/12 8:15 AM, Mark Thomas wrote: >> On 22/03/20

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
> From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] > Subject: RE: Catalina.bat Not in BIN folder install of 7.0.23 > Since I already installed it yesterday can i just extract the zip > file over my current install and remake my changes? In all the excitement about time trav

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
Hi Filip, Today I have been trying to recreate the issue by disconnecting from the vpn, as: 1. Start app. Pool creates some connections via the vpn. 2. Test app a bit to execute sql queries. 3. Shut down the vpn 4. Force some more queries. Predictably, connections fail and exceptions show up

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread André Warnier
bfinkel...@aaamissouri.com wrote: my system time was messed up and ahead. I think this could have caused the issue. I updated my system time. Good that you waited before posting this message, or you could have ended up ahead of yourself. Did you have a look over your shoulder ? ---

RE: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread Martin Registe, Jr.
How many *tomcat instances* do you have running ? And can you explain, in general terms, what you are trying to do ? @Andre I am trying to run two reduant tomcat instances that are each running two reduant hosts on the same phyiscal server. I have detailed it below. On one physical server I

RE: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23 > For unexplained reasons also, your response seems to be dated about > 16 minutes before the original OP's question. Spooky. Odd, because I only answered it 10 minutes before,

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread BFinkeldei
my system time was messed up and ahead. I think this could have caused the issue. I updated my system time. Brad Finkeldei Systems Programmer - Websphere AAA Missouri 12901 N Forty Drive St. Louis, MO 63141 314-523-7350, extension 8377 André Warnier 03/22/2012 11:38 AM Please respond to "

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread André Warnier
Pid wrote: On 22/03/2012 18:34, bfinkel...@aaamissouri.com wrote: Chuck, Thaks for the info.. Was banging my head up against this cube wall! :) However I don't see a windows installer for the x86 side on the tomcat site. Is there windows installer with all these as well? If so do you have a

Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread André Warnier
Caldarale, Charles R wrote: From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] Subject: Catalina.bat Not in BIN folder install of 7.0.23 I just installed Tomcat 7.0.23 and went to configure the catalina.bat file on a Windows machine and I can not find any of the files there.

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread BFinkeldei
Chuck, Thanks for the help! Since I already installed it yesterday can i just extract the zip file over my current install and remake my changes? Brad Finkeldei Systems Programmer - Websphere AAA Missouri 12901 N Forty Drive St. Louis, MO 63141 314-523-7350, extension 8377

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
> From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] > Subject: Re: Catalina.bat Not in BIN folder install of 7.0.23 > However I don't see a windows installer for the x86 side on the tomcat > site. Is there windows installer with all these as well? Just download the .zip fil

Re: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Pid
On 22/03/2012 18:34, bfinkel...@aaamissouri.com wrote: > Chuck, > Thaks for the info.. Was banging my head up against this cube wall! :) > > However I don't see a windows installer for the x86 side on the tomcat > site. Is there windows installer with all these as well? If so do you > have a l

Re: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread BFinkeldei
Chuck, Thaks for the info.. Was banging my head up against this cube wall! :) However I don't see a windows installer for the x86 side on the tomcat site. Is there windows installer with all these as well? If so do you have a link? can't seem to find one. Brad Finkeldei Systems Programmer -

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Filip Hanik Mailing Lists
> Ultimately tho I'd still like to see some debug logging from the pool > itself. Is there a simple way to turn it on? not to the problem you are looking at. if a connection got taken out of the pool, and it passed validation, then everything is ok. at this point the SQLException you get has all

Re: Operation has timed out(3000 ms.).;

2012-03-22 Thread Filip Hanik Mailing Lists
take a look at the attribute http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-sender.html - Original Message - > From: "Dhaval Jaiswal" > To: "Tomcat Users List" > Sent: Wednesday, March 21, 2012 10:35:14 PM > Subject: Operation has timed out(3000 ms.).; > > Receiving below er

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
> From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] > Subject: Catalina.bat Not in BIN folder install of 7.0.23 > I just installed Tomcat 7.0.23 and went to configure the > catalina.bat file on a Windows machine and I can not find > any of the files there. For reasons that I'

Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread BFinkeldei
I just installed Tomcat 7.0.23 and went to configure the catalina.bat file on a Windows machine and I can not find any of the files there. I don't see it removed in the change log...or i missed that. Any idea? Where should it be? Can I just bring over the catalina.bat file from a 7.0.22 install

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 17:05, André Warnier wrote: > Pid wrote: >> On 22/03/2012 15:47, Lobb, Janos wrote: >>> On Mar 22, 2012, at 7:40 AM, André Warnier wrote: >>> Martin Gainty wrote: > Mitch > One possible cause > FE Application creates session > passes queryString or posted Data (ho

Can't get past 404 error

2012-03-22 Thread David kerber
Running: TC 7.0.26 x64 on Windows server 2008 R2 x64 with JRE 1.6.0_27 x64 I'm trying to configure my app in the recommended manner, where the context is NOT defined in the server.xml (which I've been doing for years), and I'm having trouble, getting 404 errors, and can't get my opening page

Re: java.lang.IllegalStateException Question

2012-03-22 Thread André Warnier
Pid wrote: On 22/03/2012 15:47, Lobb, Janos wrote: On Mar 22, 2012, at 7:40 AM, André Warnier wrote: Martin Gainty wrote: Mitch One possible cause FE Application creates session passes queryString or posted Data (hopefully in Sesion) to backend Axis WebService Objects are serialized to disk

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Konstantin Kolinko
2012/3/22 Torsten Krah : > > What other ways are there for a 2.5 webapp in a mixed environment (3.0 > webapps and 2.5 ones) where i want to disable url rewriting for the 2.5 > one but leave the default untouched? > IIRC it is possible with do in container-independent way by adding a Filter that in

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Am Donnerstag, den 22.03.2012, 14:25 + schrieb Mark Thomas: > You can, but it will be closed as WONTFIX. The reason it was only > added > to 6.0.x was that that in 7.0.x there are other ways of achieving the > same result and supporting this additional option as well would result > in some unne

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Mark Thomas
On 22/03/2012 14:14, Torsten Krah wrote: > Am Donnerstag, den 22.03.2012, 17:43 +0400 schrieb Konstantin Kolinko: >> 2012/3/22 Torsten Krah : >>> Hi, >>> >>> i am using tomcat 7 to run my servlet 2.5 webapps. >>> Im Tomcat 6 it was possible to tell the Context via >>> "disableURLRewriting" that i w

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Am Donnerstag, den 22.03.2012, 17:43 +0400 schrieb Konstantin Kolinko: > 2012/3/22 Torsten Krah : > > Hi, > > > > i am using tomcat 7 to run my servlet 2.5 webapps. > > Im Tomcat 6 it was possible to tell the Context via > > "disableURLRewriting" that i want to track session only via Cookie. > > Th

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
Ah, Wireshark. My friend calls it the "universal debugger". :) I will set the validation interval to 1 and keep an eye on the network to see what's going on. I may also install MySql locally so I can kill it easily to try and simulation connection timeouts. I won't really feel this is resolved

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Colin Ingarfield
Chris, On Thu, Mar 22, 2012 at 7:40 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Colin, > > On 3/21/12 12:11 PM, Colin Ingarfield wrote: > > I added the 3 abandoned settings but I don't see any indication in > > the tomcat lo

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Pid
On 22/03/2012 15:47, Lobb, Janos wrote: > > On Mar 22, 2012, at 7:40 AM, André Warnier wrote: > >> Martin Gainty wrote: >>> Mitch >>> One possible cause >>> FE Application creates session >>> passes queryString or posted Data (hopefully in Sesion) to backend Axis >>> WebService >>> Objects are s

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Lobb, Janos
On Mar 22, 2012, at 7:40 AM, André Warnier wrote: > Martin Gainty wrote: >> Mitch >> One possible cause >> FE Application creates session >> passes queryString or posted Data (hopefully in Sesion) to backend Axis >> WebService >> Objects are serialized to disk with existing JSESSIONID >> FE time

Re: Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Konstantin Kolinko
2012/3/22 Torsten Krah : > Hi, > > i am using tomcat 7 to run my servlet 2.5 webapps. > Im Tomcat 6 it was possible to tell the Context via > "disableURLRewriting" that i want to track session only via Cookie. > This parameter is removed and doc tells me to use It was not removed. It was never pr

Tomcat 7 - servlet 2.5 app and removed Context disableURLRewriting parameter

2012-03-22 Thread Torsten Krah
Hi, i am using tomcat 7 to run my servlet 2.5 webapps. Im Tomcat 6 it was possible to tell the Context via "disableURLRewriting" that i want to track session only via Cookie. This parameter is removed and doc tells me to use COOKIE at session-config element in web.xml. But this is not a valid

Re: how to enable debug logging for Tomcat jdbc pool (Tomcat 6.0.32)

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Colin, On 3/21/12 12:11 PM, Colin Ingarfield wrote: > I added the 3 abandoned settings but I don't see any indication in > the tomcat log that connections are being abandoned. I also made > the max pool size pretty small.. my application would have f

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 3/22/12 8:15 AM, Mark Thomas wrote: > On 22/03/2012 11:40, André Warnier wrote: >> Martin Gainty wrote: >>> Mitch One possible cause >>> >>> FE Application creates session passes queryString or posted >>> Data (hopefully in Sesion) to backen

Re: Session replication problem

2012-03-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, On 3/22/12 4:16 AM, Andy Chapman wrote: > 1. The Tomcat versions are different (7.0.4 and 7.0.20) Note that Tomcat 7.0.6 was the first non-beta version of Tomcat 7. You should definitely upgrade the 7.0.4 version to 7.0.20 and I suspect things

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Mark Thomas
On 22/03/2012 11:40, André Warnier wrote: > Martin Gainty wrote: >> Mitch >> One possible cause >> >> FE Application creates session >> passes queryString or posted Data (hopefully in Sesion) to backend >> Axis WebService >> Objects are serialized to disk with existing JSESSIONID >> FE times out >>

Re: java.lang.IllegalStateException Question

2012-03-22 Thread André Warnier
Martin Gainty wrote: Mitch One possible cause FE Application creates session passes queryString or posted Data (hopefully in Sesion) to backend Axis WebService Objects are serialized to disk with existing JSESSIONID FE times out back end responds to a disconnected session and tries to re-create

Re: How to generate heap dump in Tomcat 5.5 (Windows)

2012-03-22 Thread Konstantin Kolinko
2012/3/22 Adrian Zara : > > Hi guys, > > Good afternoon! > > How can I generate a heap dump from tomcat 5.5 (windows version). I have > downloaded an Eclipse Memory Ananlyzer and the input is .hprof file. Kindly > advise. There are instructions in the Eclipse MAT help, http://wiki.eclipse.org/in

RE: java.lang.IllegalStateException Question

2012-03-22 Thread Martin Gainty
Mitch One possible cause FE Application creates session passes queryString or posted Data (hopefully in Sesion) to backend Axis WebService Objects are serialized to disk with existing JSESSIONID FE times out back end responds to a disconnected session and tries to re-create session with old JSE

Re: java.lang.IllegalStateException Question

2012-03-22 Thread Konstantin Kolinko
2012/3/22 Smith, Mitchell : > Tomcat 5.5.35 > JAVA 5 > > I am seeing: > >> [ERROR] org.apache.catalina.core.ContainerBase.[Catalina].[localhost] - >> Exception Processing ErrorPage[exceptionType=java.lang.Exception, >> location=/base/errors/runtimeError.iface] >> java.lang.IllegalStateException >>

java.lang.IllegalStateException Question

2012-03-22 Thread Smith, Mitchell
Hi, Tomcat 5.5.35 JAVA 5 I am seeing: > [ERROR] org.apache.catalina.core.ContainerBase.[Catalina].[localhost] - > Exception Processing ErrorPage[exceptionType=java.lang.Exception, > location=/base/errors/runtimeError.iface] > java.lang.IllegalStateException > at org.apache.coyote.Respons

Re: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread Mladen Turk
You should learn how to quote messages ;) On 03/21/2012 08:22 PM, Martin Registe, Jr. wrote: Please note that I have two different IP addresses running under the same worker. You will need one worker per host:port thus in your case 4 of them not 2. > Okay so I broke them up and created anoth

Re: Setup of workers.properties with multiple host and TC instances

2012-03-22 Thread André Warnier
Martin Registe, Jr. wrote: -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Wednesday, March 21, 2012 2:09 PM To: users@tomcat.apache.org Subject: Re: Setup of workers.properties with multiple host and TC instances On 03/21/2012 07:47 PM, Martin Registe, Jr. wrote:

Re: Session replication problem

2012-03-22 Thread Mark Thomas
On 22/03/2012 08:16, Andy Chapman wrote: > Hi All, > > I'm using tribes session replication between two Tomcat 7 servers and > getting errors as below. There are various possible causes: > > 1. The Tomcat versions are different (7.0.4 and 7.0.20) It is this one. Mark --

How to generate heap dump in Tomcat 5.5 (Windows)

2012-03-22 Thread Adrian Zara
Hi guys, Good afternoon! How can I generate a heap dump from tomcat 5.5 (windows version). I have downloaded an Eclipse Memory Ananlyzer and the input is .hprof file. Kindly advise. Thank you in advance. Best regards, Adrian --

Session replication problem

2012-03-22 Thread Andy Chapman
Hi All, I'm using tribes session replication between two Tomcat 7 servers and getting errors as below. There are various possible causes: 1. The Tomcat versions are different (7.0.4 and 7.0.20) 2. The Java versions are different (1.6.0_22 for i386_and 1.6.0_27 for x64) 3. One server is 32 bit