Re: Tomcat connections not closing.

2007-10-07 Thread rgoers
FWIW we have been experiencing this problem intermittently for 2 years and still haven't figured out what is causing it. We changed from IBM JDK 1.4.2 to Sun 1.5, tomcat to JBoss 4.0.3. The only difference is that in our case once the thread gets stuck it never seems to time out - at least as far

Embedded Tomcat Auto Deploy War

2007-10-07 Thread Christopher Johnson
All - I've managed to created a embedded tomcat working based off various examples I've found online and can successfully add the desired context to my server, although when the context is packaged as a war file I my embedded tomcat wont auto deploy it, how to do construct an embedded tomcat to

Re: Authorization on Apache Tomcat the J2ee Way.

2007-10-07 Thread Juha Laiho
Arun wrote: On 10/5/07, Pid [EMAIL PROTECTED] wrote: Arun wrote: I have a tomcat 6 installed. I have a running webapplication . I need to implement a role based access control. How can I combine servers capabilities so that I can use the request.getPrincipal() method ... I also have a list

Problem with session

2007-10-07 Thread Alex79
Hi, I am running a web service on tomcat, which I am not very familiar with (tomcat). A client application that sends requests to this web service sends the session id with a certain type of request. After many requests (over 1000) occurring in the same session (in other words, by the same

RE: Error track can't track the exact line and display the bug line number

2007-10-07 Thread Caldarale, Charles R
From: Oliver Yang [mailto:[EMAIL PROTECTED] Subject: Error track can't track the exact line and display the bug line number The server give the Unknown source for the exact class name. That's the JVM, not Tomcat, displaying Unknown source. That happens for code compiled with the javac

RE: Problem with session

2007-10-07 Thread Caldarale, Charles R
From: Alex79 [mailto:[EMAIL PROTECTED] Subject: Problem with session I am running a web service on tomcat, which I am not very familiar with (tomcat). At least tell us the version of Tomcat you're using; also, although probably not relevant for this problem, include the JRE/JDK level and

RE: Error track can't track the exact line and display the bug line number

2007-10-07 Thread Oliver Yang
Thanks for the prompt reply. I did not set -g option when I compile the application source codes. I checked javac options, by default, line numbers are generated. My buggy code is from a Servlet class and from .java file not .jsp. I use Ant script to build and deploy the application to Tomcat. I

Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Unnsse Khan
Hello there, Having trouble running tomcat on Ubuntu Linux 7.0.4 and am experiencing the exact same problem under OS X Tiger. I installed tomcat under: /home/untz/DevTools/Java/tomcat/apache-tomcat-5.5.25 Created the CATALINA_HOME system environmental variable inside my .profile

Re: Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Oliver Yang
I think you need to check the catalina.sh permission. On Sun, 2007-10-07 at 19:35 -0700, Unnsse Khan wrote: Hello there, Having trouble running tomcat on Ubuntu Linux 7.0.4 and am experiencing the exact same problem under OS X Tiger. I installed tomcat under:

RE: Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Caldarale, Charles R
From: Unnsse Khan [mailto:[EMAIL PROTECTED] Subject: Trouble running tomcat on Ubuntu Linux OS X Tiger When I try to run TOMCAT, this is what I get: $ sh $CATALINA_HOME/bin/startup.sh Try making $CATALINA_HOME/bin your current directory before running the startup script. $ echo

Re: Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Unnsse Khan
Oliver Chuck, Thank you for the response(s)! I already thought of this and conducted a chmod +x catalina.sh ~/DevTools/Java/tomcat/apache-tomcat-5.5.25/bin untz$ ls -al catalina.sh -rwxr-xr-x 1 untz untz 12044 Aug 24 17:34 catalina.sh The only thing this does is when I run sh

RE: Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Caldarale, Charles R
From: Unnsse Khan [mailto:[EMAIL PROTECTED] Subject: Re: Trouble running tomcat on Ubuntu Linux OS X Tiger The BASEDIR environment variable is not defined correctly This environment variable is needed to run this program Looks like you may still have a permissions problem. The above

Re: Trouble running tomcat on Ubuntu Linux OS X Tiger

2007-10-07 Thread Unnsse Khan
It was the tar.gz package that is downloadable from: http://tomcat.apache.org/download-55.cgi#5.5.25 The following distributions on that page are: * Core: o zip (pgp, md5) o tar.gz (pgp, md5) o Windows Service Installer (pgp, md5) *