Re: Problems with logout with Tomcat JDBCRealm

2008-07-01 Thread Thomas Haines
Hi André I'm using Tomcat JDBCRealm to authentication and authorization in my app. Login works fine, and when the user press the logout button(calls the session.invalidate()), he cannot login again. You could try adding: session.removeAttribute("User"); before you invalidate the session. W

Re: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-01 Thread Filip Hanik - Dev Lists
if you are using keep alive connections, (Tomcat default config) then once a request is done, the system goes into reading the next request, and that is done by calling parseRequestLine, so this is not a bottleneck, but expected behavior. if you switch to the NIO connector, that doesn't do block

Re: Tomcat 6 CometProcessor interface

2008-07-01 Thread Filip Hanik - Dev Lists
Ken Bowen wrote: This is a follow up on using Tomcat 6 and the CometProcessor interface: A. From Kris Zyp's post on [http://cometdaily.com/2007/12/10/comet-gazing-scaling/ ], with the Tomcat CometProcessor, connections and threads are decoupled, so that the number of connections ca

RE: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 09:16 -0500, Caldarale, Charles R wrote: > > When, on the other hand, I'm running two requests to "/ls" > > simultaneously, there is only one thread from the pool in > > the doGet function. > > Any chance the client (or some overly helpful anti-DOS firewall) > is serializing

RE: Trouble getting Tomcat to start

2008-07-01 Thread Caldarale, Charles R
> From: David Ash > [mailto:[EMAIL PROTECTED] > Subject: Trouble getting Tomcat to start > > Any ideas? Perhaps you should try sending from a less obnoxious e-mail address. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by th

Trouble getting Tomcat to start

2008-07-01 Thread David Ash
Hello, I am having trouble when I try to start the Apache Tomcat 6.0.16 Server. I get a popup with the following message: 'Windows could not start the Apache Tomcat on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service ven

Re: multiple instances and context roots

2008-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom, tom_goring wrote: | I'm after a simple setting that appends a prefix on the URI so a WAR dropped | in webapp's dir is prefixed with dev/test/etc. Does not look like there is | one though. mod_rewrite is a magical beast. Read the httpd document

Jasper jspx compiling gives NoClassDefFoundError for custom tag

2008-07-01 Thread Ashley Schroder
Hi all, Firstly I'm running on Java 1.6, Tomcat 6.0.14 and Linux 2.6.16. I'm a little stumped and would appreciate some tips on where to even start debugging this problem. Particularly if you would advise hardcoding a JSP compile classpath or precompiling. Recently after a startup of Tomcat I ha

Re: Strange behaviour of JPDA within Tomcat 5.5

2008-07-01 Thread Gregor Schneider
Hi Chuck, On Tue, Jul 1, 2008 at 6:20 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: > > Yes - use the address=localhost: option on the -agentlib startup > parameter. > That was the hint I was looking for - however, I did it a bit more simple: I just changed JPDA_ADRESS to 127.0.0.1:8787 in

RE: Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-01 Thread Caldarale, Charles R
> From: Christophe Fondacci > [mailto:[EMAIL PROTECTED] > Subject: Tomcat bottleneck on InternalInputBuffer.parseRequestLine > > This problem may be related to the one listed here : > http://grokbase.com/profile/id:hNxqA0ZEdnD-6GYFRNs-iIkKEvF907F > NWdczKYQ719Q I would have my doubts about a five-

RE: Strange behaviour of JPDA within Tomcat 5.5

2008-07-01 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:[EMAIL PROTECTED] > Subject: Re: Strange behaviour of JPDA within Tomcat 5.5 > > java version "1.5.0_14" It would be interesting to try with JDK 6, just to see if Sun has fixed this in the newer version. > I'm wondering if I could let JPDA know to accept > traffi

Solaris 9 and 10 deliver Tomcat 4 by default

2008-07-01 Thread Brandie.B.Huber
Vulnerabilities in the Tomcat 4.0 that comes with Solaris 9 and Solaris 10 and installs by default: http://secunia.com/advisories/30899/ http://secunia.com/advisories/30908/ The Sun fix for Solaris 10 is to upgrade to Tomcat 5.5. http://sunsolve.sun.com/search/document.do?assetkey=1-66-239312-1 N

Re: Strange behaviour of JPDA within Tomcat 5.5

2008-07-01 Thread Gregor Schneider
Hi Chuck, there you go: java version "1.5.0_14" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_14-b03, mixed mode) OS: Linux version 2.6.18-4-amd64 (Debian 2.6.18.dfsg.1-12etch2) ([EMAIL PROTECTED]) (gcc version 4.1.2 2006111

Tomcat bottleneck on InternalInputBuffer.parseRequestLine

2008-07-01 Thread Christophe Fondacci
Hello all, We have a problem with tomcat on our production server. This problem may be related to the one listed here : http://grokbase.com/profile/id:hNxqA0ZEdnD-6GYFRNs-iIkKEvF907FNWdczKYQ719Q Here it is : - We got 2 tomcat servers on 2 distinct machines. - 1 server is our application (let's c

RE: Strange behaviour of JPDA within Tomcat 5.5

2008-07-01 Thread Caldarale, Charles R
> From: Gregor Schneider [mailto:[EMAIL PROTECTED] > Subject: Strange behaviour of JPDA within Tomcat 5.5 > > While fiddling out the ports with our firewall-guys, we tested wether > we could reach Tomcat's JPDA-port (i.e. 8787) via Telnet and entered > some dummy-stuff over Telnet. > Tomcat crashed

Strange behaviour of JPDA within Tomcat 5.5

2008-07-01 Thread Gregor Schneider
Hi guys, today we faced a problem on on of our production-servers, unfortunateley,we were not able to replay it on our test-servers. Therefore, we decided to use remote-debugging (JPDA) to track down the error. While fiddling out the ports with our firewall-guys, we tested wether we could reach

Re: Blocking threads in Tomcat

2008-07-01 Thread Mikolaj Rydzewski
Fredrik Tolf wrote: When, on the other hand, I'm running two requests to "/ls" simultaneously, What tool do you use to perform requests? Regular web browser? Try with something more 'generic' - wget or ab. -- Mikolaj Rydzewski <[EMAIL PROTECTED]> -

RE: Blocking threads in Tomcat

2008-07-01 Thread Caldarale, Charles R
> From: Fredrik Tolf [mailto:[EMAIL PROTECTED] > Subject: Re: Blocking threads in Tomcat > > There's no way I could be doing any such thing unknowingly, > such as it being the default, right? No, single-thread is not the default. > When, on the other hand, I'm running two requests to "/ls" > simu

Tomcat RemotingPhaseListener

2008-07-01 Thread Calimero
Hi, Tomcat writes in a log all connections to jsf pages in this way : 01-jul-2008 8:06:00 org.apache.shale.remoting.faces.RemotingPhaseListener afterPhase INFO: Checking view identifier '/registro/reservas.jsp' I'm dealing with JSF lifecycle. Maybe I've to precise i use a "Login" filter which h

Re: Blocking threads in Tomcat

2008-07-01 Thread Leon Rosenberg
interesting, can you provide your webapp + configs for download and test? Leon On Tue, Jul 1, 2008 at 3:16 PM, Fredrik Tolf <[EMAIL PROTECTED]> wrote: > On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: >> Hello Frederic, >> >> unless you are using the SingleThreaded Model (and you shouldn

Re: Blocking threads in Tomcat

2008-07-01 Thread Fredrik Tolf
On Tue, 2008-07-01 at 08:46 +0200, Leon Rosenberg wrote: > Hello Frederic, > > unless you are using the SingleThreaded Model (and you shouldn't) > tomcat does no such thing. There's no way I could be doing any such thing unknowingly, such as it being the default, right? > I assume the best way i

RE: Tomcat support for RedHat Linux 5.0

2008-07-01 Thread Brandie.B.Huber
RedHat Enterprise AS 5 Update 2 maps to Tomcat 5.5.23. Hope that helps! Brandie -Original Message- From: Jandhyam, Venugopal [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 01, 2008 6:56 AM To: Tomcat Users List Subject: Tomcat support for RedHat Linux 5.0 Hi All, Can you please let me

RE: Tomcat support for RedHat Linux 5.0

2008-07-01 Thread Jason Pyeron
RHEL 5 or Very, Very, Very old RH 5 (circa 1990's) ? -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West

Tomcat support for RedHat Linux 5.0

2008-07-01 Thread Jandhyam, Venugopal
Hi All, Can you please let me know which version of the Tomcat support RedHat Linux 5.0?? Thanks for your time, -Venugopal - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-07-01 Thread Rainer Jung
sur_1805 schrieb: I am using tomcat 4 and write jsp page to upload a image in server it works with tomcat 4 but it gives error in upload image in tomcat 6 with the same jsp page .It gives some java.lang.IndexOutOfBoundsException If you are using 6.0.16 and the size of the uploaded images os bi

RE: Blocking threads in Tomcat

2008-07-01 Thread Steffen Heil
Hi If you are on linux, do the following: killall -3 java Then look into catalina.out. It will print all stack traces, including monitors being hold and waited for. Regards, Steffen > -Original Message- > From: Fredrik Tolf [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2

RE: give error in upload a image in tomcat 6 but works well in tomcat 4

2008-07-01 Thread sur_1805
but i m not using windows i m working on linux, and i had given the full path... Walter Thompson wrote: > > I have run into a simular problem going from Tomcat 5 to Tomcat 6, I had > to set many of the file paths as absolute. > > Try changing : > > save_File ="/data2/opt/jakarta

Re: Problem connecting Tomcat to Apache using mod_jk

2008-07-01 Thread Rainer Jung
Hi Laurence, Laurence Samuels schrieb: JkWorkersFile "/usr/local/apache2/workers.properties" JkLogFile "/usr/local/apache-tomcat-5.5.17/logs/mod_jk.log" JkMountFile "/usr/local/apache2/uriworkermap.properties" JkLogLevel debug And you get plenty of startup messages in your JkLogFile including

Problem connecting Tomcat to Apache using mod_jk

2008-07-01 Thread Laurence Samuels
Hello All, A. I'm trying to connect Apache with Tomcat, using mod_jk. My Apache version is Apache/2.2.3. Tomcat version is Apache Tomcat/5.5.17. B. Doing uname -a on my machine gave me Linux 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x86_64 GNU/Linux. I downloaded tomcat-connectors-1.2.

RE: Blocking threads in Tomcat

2008-07-01 Thread Peter Crowther
Tomcat version? Java version? Anything in the servlet that synchronises on a common lock? In general, one worker thread handles one request, from start to finish; then it's returned to the pool to be reused. Is that what you would expect? - Peter > From: Fredrik Tolf [mailto:[E

Re: How to close an out Stream if a client aborts

2008-07-01 Thread Lyallex
On Mon, Jun 30, 2008 at 1:52 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > - Original Message - From: "Lyallex" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Monday, June 30, 2008 10:11 AM > Subject: How to close an out Stream if a client aborts > > >> Good Morning >> >> Java 1.5.

Re: multiple instances and context roots

2008-07-01 Thread tom_goring
Thanks for the info Guys. I'm already using proxy forwarding but it is not really acceptable for production env's (e.g. you loose the clients IP, error handling is not as good, etc). I'm after a simple setting that appends a prefix on the URI so a WAR dropped in webapp's dir is prefixed with d

Memory Consumption - Using Process Commands from Java program in Tomcat

2008-07-01 Thread Arun Raj Ramkumar
Hi all, Can you tell me the impact of using following commands in a java program in tomcat? Will they take more memory? Will they take time to release memory? Is there any other way we can call? to find best way print statments on the child perl will affect the parent tomcat? Will the followin