RE: Re: deploying as ROOT application

2010-10-26 Thread Maximilian Stocker
Are you fronting tomcat with something else? Like Apache httpd? I wouldn't classify deploying a ROOT application as experimental either way... -Original Message- From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Sent: Tuesday, October 26, 2010 4:13 PM To: Tomcat Users List Subject:

RE: Error while running jsp with MYSQL DB Connections\

2010-10-21 Thread Maximilian Stocker
A jsp page with database connections? That's poor. There is a bug in *your* code. You should find that bug and fix it. Then the problem will go away. -Original Message- From: Amal Thayyil [mailto:amalthay...@gmail.com] Sent: Thursday, October 21, 2010 4:27 AM To: users@tomcat.apache.org

RE: Inconsistent output of Java 5 enums

2010-10-15 Thread Maximilian Stocker
Or, just consistently use EL, since that actually works as you expect. +1 'c:out' seems surplus. And how do you escape XML characters to entity codes using pure EL? This seems a valid reason except that is this a problem for your enum? If it really is a problem then did you try and create

RE: SSL/TLS, Tomcat 6.0.29 and Chrome: The connection had to be retried using SSL 3.0.

2010-10-15 Thread Maximilian Stocker
There are some issues with Chrome regarding SSL, essentially Chrome is more restrictive than other browsers and will get upset with proxied connections etc. For example http://www.google.com/support/forum/p/Chrome/thread?tid=6cbb881fc85406f4hl=en Especially see reply #2 there. Are you sure

RE: SSL/TLS, Tomcat 6.0.29 and Chrome: The connection had to be retried using SSL 3.0.

2010-10-15 Thread Maximilian Stocker
SSL 3.0. On 10/15/2010 1:12 PM, Maximilian Stocker wrote: There are some issues with Chrome regarding SSL, essentially Chrome is more restrictive than other browsers and will get upset with proxied connections etc. For example http://www.google.com/support/forum/p/Chrome/thread?tid

RE: Inconsistent output of Java 5 enums

2010-10-15 Thread Maximilian Stocker
...@siegmar.org] Sent: Friday, October 15, 2010 1:29 PM To: Tomcat Users List Subject: Re: Inconsistent output of Java 5 enums Hello, Am Friday 15 October 2010 schrieb Maximilian Stocker: Or, just consistently use EL, since that actually works as you expect. +1 'c:out' seems surplus. And how

RE: Inconsistent output of Java 5 enums

2010-10-15 Thread Maximilian Stocker
PM To: Tomcat Users List Subject: Re: Inconsistent output of Java 5 enums Am Friday 15 October 2010 schrieb Maximilian Stocker: On tomcat 5.5. I get #1 = A is for Apple #2 = A is for Apple On tomcat 6 I get #1 = APPLE #2 = A is for Apple Which is obviously not the same, and surprised me

RE: Handling Tomcat crash

2010-10-14 Thread Maximilian Stocker
The easiest thing would be to use the tools provided by the OS. Go into services and configure the recovery options as you desire. Restart the service is an option. But why is tomcat crashing? -Original Message- From: Tarun Gupta [mailto:tarun.gu...@digitalmountain.com] Sent: Thursday,

RE: Tabbed browsers sharing session - work around.

2010-10-05 Thread Maximilian Stocker
This application (or mess of applications munged together) is a big mistake, the source of all your problems and should be the only thing that you address. That's why nobody else has this problem. This problem is a sign of serious misconceptions in design and development. And if you really

RE: Tomcat 6.0 and Windows 7

2010-09-27 Thread Maximilian Stocker
Sorry but no. This statement does not match the localhost part you also mentioned. So really what is changing is that both the client and the server are changing to Windows 7. Start by looking at your firewall settings. -Original Message- From: Julie Gautier

RE: Automatically Add Session ID

2010-09-23 Thread Maximilian Stocker
How are you planning on logging/tracking this information anyway? My thinking would be to use a filter for all requests. And then you can do what you want with the information in the filter. And getSession() is to me clearer. A couple of other things though. 1) Are you sure you don't have

RE: In org.apache.catalina.connector.Request.doGetSession, java.lang.IllegalStateException: Cannot create a session after the response has been committed

2010-09-23 Thread Maximilian Stocker
Rather than chasing it at the view end why don't you just call getSession in the controller or a filter? Then you have no need of doing anything with any buffers etc. As to what exception is happening it's the illegal state. Whatever has happened up to that point of the processing has flushed

RE: Automatically Add Session ID

2010-09-23 Thread Maximilian Stocker
, Maximilian Stocker m...@talentoyster.com wrote: How are you planning on logging/tracking this information anyway? My thinking would be to use a filter for all requests. And then you can do what you want with the information in the filter. And getSession() is to me clearer. A couple

RE: Problems with SSI

2010-09-09 Thread Maximilian Stocker
My apologies, when I hit submit it took me to an error page so I did it a few times. As the OP, can I delete? -- This is an email list, not a forum so no. Every time you submitted it sent an email which can't be undone. If nabble is giving you troubles you might try actually subscribing to the

RE: Tomcat 5.0 which gets stuck

2010-09-08 Thread Maximilian Stocker
I don't know what you mean by We are using Apache Tomcat 5.0 which gets stuck sometimes and needs a stop and restart but the stack trace you posted is almost certainly evidence of a bug in your code. It's an illegal state exception to try and send an error if you have already sent normal

RE: Tomcat 5.0 which gets stuck

2010-09-08 Thread Maximilian Stocker
that message should appear in the logs). -Original Message- From: Maximilian Stocker m...@talentoyster.com Date: Wed, 8 Sep 2010 12:43:01 To: 'Tomcat Users List'users@tomcat.apache.org Reply-To: Tomcat Users List users@tomcat.apache.org Subject: RE: Tomcat 5.0 which gets stuck I don't know

RE: URL rewrite

2010-09-02 Thread Maximilian Stocker
Mohit, Have you really not heard of servlet mapping before? Are you sure you are using Tomcat and not just Apache webserver? Max Stocker|Director of Technology|TalentOyster|O) 416.342.1145 x 297 www.TalentOyster.com TalentOyster.com: talent for the New Mainstream

RE: URL rewrite

2010-09-02 Thread Maximilian Stocker
This sounds bad... :( There are options like: - you could set up apache in front of tomcat and url rewrite there - you could use filters - you could have an app that actually uses any servlets.. But maybe you want to consider a forum or discussion list about servlet/jsp development?

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-09-01 Thread Maximilian Stocker
The version that was being used (using java -version) was an OpenJDK java version 1.6.0_0 OpenJDK Runtime Environment (IcedTea6 1.6) (rhel-1.13.b16.el5-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) However as a test yesterday the most recent Sun/Oracle version was installed java

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-09-01 Thread Maximilian Stocker
...@christopherschultz.net] Sent: Wednesday, September 01, 2010 10:29 AM To: Tomcat Users List Subject: Re: undeploy failure - stack overflow tomcat 5 on RHEL 5 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maximilian, On 9/1/2010 10:08 AM, Maximilian Stocker wrote: The version that was being used

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-09-01 Thread Maximilian Stocker
...@unisys.com] Sent: Wednesday, September 01, 2010 11:19 AM To: Tomcat Users List Subject: RE: undeploy failure - stack overflow tomcat 5 on RHEL 5 From: Maximilian Stocker [mailto:m...@talentoyster.com] Subject: RE: undeploy failure - stack overflow tomcat 5 on RHEL 5 work - /var/cache/tomcat5

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-09-01 Thread Maximilian Stocker
root root 23 Aug 27 15:53 common - /var/lib/tomcat5/common drwxr-xr-x 2 root root 4096 Aug 27 15:53 bin -Original Message- From: Maximilian Stocker [mailto:m...@talentoyster.com] Sent: Wednesday, September 01, 2010 11:39 AM To: 'Tomcat Users List' Subject: RE: undeploy failure - stack

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-09-01 Thread Maximilian Stocker
I finally found some others with the same issue (and the same stackoverflow) https://jira.jboss.org/browse/JBPAPP-3753 The workaround to unpackWAR=false mentioned by the last commenter does resolve it at least temporarily for me at least. Looking at the stack trace posted there, I have a

undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
I have a tomcat 5.5 running on a server with redhat enterprise linux 5 and everything has been working for the last 7 -8 months without problems. On Friday the IT department patched/upgraded the server (I believe both tomcat and java were moved up minor versions) and now any undeploy fails.

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, August 31, 2010 3:28 PM To: Tomcat Users List Subject: Re: undeploy failure - stack overflow tomcat 5 on RHEL 5 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maximilian, On 8/31/2010 2:15 PM, Maximilian Stocker wrote

RE: undeploy failure - stack overflow tomcat 5 on RHEL 5

2010-08-31 Thread Maximilian Stocker
The whole webapps folder is a symlink. But it has also been so and all the permission have not changed. Also there are no links inside the extracted WAR directory. I just checked this to make sure of my sanity. -Original Message- From: Caldarale, Charles R

Tomcat 5.5 connection reset

2010-01-20 Thread Maximilian Stocker
I have the following basic configuration RHEL 5 with Tomcat 5.5.23. This server is in a DMZ in my office and from here I can connect to it via LAN rather than the internet. When I try to download a file (a simple PDF about 1 MB in size) chucked into WebContent from the server over the internet

RE: Http 500 and %b in access log

2010-01-20 Thread Maximilian Stocker
-Original Message- From: Mohit Anchlia [mailto:mohitanch...@gmail.com] Sent: Wednesday, January 20, 2010 5:40 PM To: Tomcat Users List Subject: Re: Http 500 and %b in access log I suspect the following as you mentioned. Is there a way I can write small application that simulates this