Calling a CGI script from Servlet

2010-07-31 Thread troylparrish
I am new to configuring tomcat (I have run it for a few years as it is packaged with Netbeans) and new to linux and I am stuck on a particular problem. I have a project in which I am trying to call a python code from a servlet. I am using tomcat6 on Ubuntu 10.04. I have used both Runtime.exe

RE: Tomcat stops loading page half way through on runtime exception

2010-07-31 Thread David Parks
Ok, I'm with it now I think, the two factors are the use of flush() (I'm not using that anywhere) and the buffer size, I probably exceed the buffer before the exception occurred. You did call me out on my poor best practices, I do have too much unchecked code in my JSP, so thanks for pointing t

Re: UTF-8 encoding in Tomcat 6.0

2010-07-31 Thread arun kumar
I ran my example webapp on a standalone tomcat and the behavior was the same: When the param is being sent using GET, I need to send the param as %25xx for it to be read correctly When the method is PUT, %xx works fine. I believe this is a known issue with Tomcat: I remember reading this on many

Re: UTF-8 encoding in Tomcat 6.0

2010-07-31 Thread Mark Thomas
On 31/07/2010 15:40, arun kumar wrote: > Hi Erik > Thanks very much for your responses. > I can assure that i'm interested in this topic even now :). > > My scenario is this: > > 1. I use a web application that runs in JBOSS. > > 2. JBOSS uses a tomcat web container from what i can see. > > 3

Re: UTF-8 encoding in Tomcat 6.0

2010-07-31 Thread arun kumar
Hi Erik Thanks very much for your responses. I can assure that i'm interested in this topic even now :). My scenario is this: 1. I use a web application that runs in JBOSS. 2. JBOSS uses a tomcat web container from what i can see. 3. To my application if i pass a UTF-8 encoded value in hex e.

Re: Fire off asynch task in Tomcat.

2010-07-31 Thread Wesley Acheson
This is very useful for me slightly different circumstance. +1 On Thu, Jul 22, 2010 at 10:17 AM, Pid wrote: > On 22/07/2010 05:58, Eric P wrote: > > Hi all, > > > > In my Tomcat app I'm looking for a good (or commonly used) method for > > firing off an asynchronous task. For example, a user re

Re: Session ID changes when a node goes down

2010-07-31 Thread Rainer Jung
On 31.07.2010 15:06, Mark Thomas wrote: On 31/07/2010 13:58, Oscar Segarra Rey wrote: Hi, We are developing a web application wich uses session listeners and such kind of stuff in order to control which users are loged in every time. Nevertheless we have experienced a developement problem due

Re: Session ID changes when a node goes down

2010-07-31 Thread Mark Thomas
On 31/07/2010 13:58, Oscar Segarra Rey wrote: Hi, We are developing a web application wich uses session listeners and such kind of stuff in order to control which users are loged in every time. Nevertheless we have experienced a developement problem due to the session ID changes when one node g

Session ID changes when a node goes down

2010-07-31 Thread Oscar Segarra Rey
Hi, We are developing a web application wich uses session listeners and such kind of stuff in order to control which users are loged in every time. Nevertheless we have experienced a developement problem due to the session ID changes when one node goes down. 30/07/2010 13:08:27 org.apache.catal

Re: Is it possible to set up an alias to a directory?

2010-07-31 Thread Mark Thomas
On 31/07/2010 04:36, Andrew Knight wrote: Hi, I've got a general configuration question for Tomcat 6. I've read the documentation and done a bit of searching but could not find a solution. I'm looking to set up the following: International site: widgets.com Local sites like: widgets.com/au, wi