Where can i get the specification of web.xml?

2009-07-02 Thread chenjh
Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh 2009-07-03 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apac

Re: NoClassDefFoundError

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chenjh, On 6/28/2009 11:48 PM, chenjh wrote: > I often get the NoClassDefFoundError from my tomcat 5.5. I had placed > jfreechart.jar and jcommon.jar into [tomcat]/common/lib, but after > running for some time, the producing image page fail with > NoC

Re: Tomcat 5.5, getting exception while creating database driver instance

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kyle, On 6/24/2009 7:23 PM, Kyle Bahr wrote: > The exact exception is java.lang.reflect.InvocationTargetException, but > sadly I don't have a stack trace available. Hmm... that's going to make it pretty hard to debug. Any error message along with the

Re: Question concerning application paths

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 6/23/2009 3:02 AM, smo...@cc.hut.fi wrote: > I have a an application where other people can deploy their own > applications. I would like all the applications to use a common library. > However, when I add some common JARs t

Re: POST request hangs hup

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel, On 7/2/2009 6:20 PM, Daniel Henrique Alves Lima wrote: > I think could be anything: An infinite loop in your app, a database > (or other resource) deadlock, any intensive db query (with a really > long transaction timeout). +1 Take a thread

Re: log4j w/apache

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 6/25/2009 8:54 AM, Christopher Piggott wrote: > log4j.logger.org.apache.commons.digester.Digester=WARN, nowhere > log4j.logger.org.apache.commons.digester.Digester.sax=WARN, nowhere Strictly speaking, it doesn't matter what level (e.g. WARN

RE: POST request hangs hup

2009-07-02 Thread Caldarale, Charles R
> From: Ivan Longhi [mailto:ivan.lon...@gmail.com] > Subject: POST request hangs hup > > Is there a way to kill a single thread in tomcat whitout > restarting it? No. > Is there a way to limit the max execution time for a single > thread/request? No. You need to fix your webapp, since it has a

Re: POST request hangs hup

2009-07-02 Thread Daniel Henrique Alves Lima
is "probably" more guilt :-) On Thu, 2009-07-02 at 19:20 -0300, Daniel Henrique Alves Lima wrote: > On Thu, 2009-07-02 at 23:40 +0200, Ivan Longhi wrote: > > Hi, > > Hi, Ivan. > > > I'm running tomcat 6.0.18 with java 1.6.0_13 on a linux box. > > The only webapp deployed is Sun OpenSSO (h

Re: POST request hangs hup

2009-07-02 Thread Daniel Henrique Alves Lima
On Thu, 2009-07-02 at 23:40 +0200, Ivan Longhi wrote: > Hi, Hi, Ivan. > I'm running tomcat 6.0.18 with java 1.6.0_13 on a linux box. > The only webapp deployed is Sun OpenSSO (http://www.opensso.org) built from > source (20090930). > Sometimes a tomcat thread hangs hup while serving a PO

POST request hangs hup

2009-07-02 Thread Ivan Longhi
Hi, I'm running tomcat 6.0.18 with java 1.6.0_13 on a linux box. The only webapp deployed is Sun OpenSSO (http://www.opensso.org) built from source (20090930). Sometimes a tomcat thread hangs hup while serving a POST request (/UI/Login): monitoring tomcat status I see the processing time grows and

Re: Tomcat

2009-07-02 Thread Pid
On 2/7/09 20:32, Logan, James S wrote: We have been involved with load testing several sites that deploy a Tomcat server. When running a Load session, for some reason, each HTTP request will generate a login, when monitoring the server. The server is being monitored using the Tomcat monitoring

RE: Tomcat

2009-07-02 Thread Caldarale, Charles R
> From: Logan, James S [mailto:james.lo...@oit.gatech.edu] > Subject: Tomcat > > Have you folks seen this type of behavior on a Tomcat site, > where virtual client login generate multiple sessionids ? Sessions are normally tracked with cookies; your client may just be ignoring them, rather than

Tomcat

2009-07-02 Thread Logan, James S
We have been involved with load testing several sites that deploy a Tomcat server. When running a Load session, for some reason, each HTTP request will generate a login, when monitoring the server. The server is being monitored using the Tomcat monitoring tool, and each request to the server wil

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Jim Anderson
Konstantin, Thank you. That did the trick. I kind of guessed it was that sort of problem, but could not find it in documentation of the book that I'm using. Jim Konstantin Kolinko wrote: 2009/7/2 Jim Anderson : Hi, I'm running tomcat 6.0.18 on Linux and I'm having a problem running a j

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Jim Anderson
Pid wrote: On 2/7/09 04:25, Jim Anderson wrote: Hi, I'm running tomcat 6.0.18 on Linux and I'm having a problem running a javabean. I created a bean and was able to call setProperty and getProperty for the property 'startPage' in the bean. When I added a 2nd property to the bean, I got the foll

[Fwd: FIXED: Re: No cookies using proxypass* from apache 2]

2009-07-02 Thread Rainer Jung
Subject: FIXED: Re: No cookies using proxypass* from apache 2 Date: Thu, 2 Jul 2009 07:30:48 -0500 From: Robert Schmid To: Rainer Jung For reasons I can't explain, all my mail back to the list is being rejected as spam. Could you forward this to list so it is archived. It might help someone els

Re: tomcat session is not releasing

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 7/2/2009 5:44 AM, Pid wrote: > On 2/7/09 06:50, jayes...@birlasoft.com wrote: >> 2) During the Deployment we need to stop and start the TOMCAT server >> lots of times. Afte >> r successful deployment when we monitor our database we found that

RE: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Caldarale, Charles R
> From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Subject: Re: Cannot find any information on property 'x' in a bean of > type 'bfs.beans.BFSInfo' > > Search for "return(" and you will find some other references. ;] Yes, I know; Tomcat (and pretty much all open-source code) is full of

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Konstantin Kolinko
2009/7/2 Caldarale, Charles R : >> From: Pid [mailto:p...@pidster.com] >> Subject: Re: Cannot find any information on property 'x' in a bean of >> type 'bfs.beans.BFSInfo' >> >> > 25 public String getMidContent() { >> > 26 return(midContent); >> > 27 } >> >> wow. old school. > > Don't you love it w

Re: DBCP and Firewall timeouts

2009-07-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/1/2009 5:01 PM, David Smith wrote: > Christopher Schultz wrote: >> David, >> >> On 7/1/2009 10:49 AM, David Smith wrote: >>> It would and the performance hit is minimal if you use the ping syntax >>> in your validation query. I believe it

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread David kerber
Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo' 25 public String getMidContent() { 26 return(midContent); 27 } wow. old school. Don't you love it when people think

RE: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Cannot find any information on property 'x' in a bean of > type 'bfs.beans.BFSInfo' > > > 25 public String getMidContent() { > > 26 return(midContent); > > 27 } > > wow. old school. Don't you love it when people think "return" is a method call

RE: tomcat session is not releasing

2009-07-02 Thread Caldarale, Charles R
> From: jayes...@birlasoft.com [mailto:jayes...@birlasoft.com] > Subject: RE: tomcat session is not releasing > > 2) During the Deployment we need to stop and start the TOMCAT server > lots of times. Why? You should be able to simply restart the webapp being changed, not the entire container.

Re: locked JAR files on undeploy - one possible cause

2009-07-02 Thread Mark Thomas
André Warnier wrote: > Mark Thomas wrote: >> André Warnier wrote: >>> Mark Thomas wrote: As locked JARs on undeploy is a popular topic, I thought I would share a recent discovery. If you read your log4j configuration file from a JAR, the JAR will end up locked, preventing a clea

Re: locked JAR files on undeploy - one possible cause

2009-07-02 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: As locked JARs on undeploy is a popular topic, I thought I would share a recent discovery. If you read your log4j configuration file from a JAR, the JAR will end up locked, preventing a clean undeploy. Full details are here: https://is

Re: locked JAR files on undeploy - one possible cause

2009-07-02 Thread Mark Thomas
André Warnier wrote: > Mark Thomas wrote: >> As locked JARs on undeploy is a popular topic, I thought I would share a >> recent discovery. If you read your log4j configuration file from a JAR, >> the JAR will end up locked, preventing a clean undeploy. >> >> Full details are here: >> https://issues

Re: locked JAR files on undeploy - one possible cause

2009-07-02 Thread André Warnier
Mark Thomas wrote: As locked JARs on undeploy is a popular topic, I thought I would share a recent discovery. If you read your log4j configuration file from a JAR, the JAR will end up locked, preventing a clean undeploy. Full details are here: https://issues.apache.org/bugzilla/show_bug.cgi?id=4

Tomcat AJP Keepalive and tcp settings

2009-07-02 Thread J Channel
Hi! There is tcpdump out between tomcat 10.0.0.51 server and apache+mod_jk on 10.0.0.52 Start TCP session: 13:45:47.289899 IP 10.0.0.52.53082 > 10.0.0.51.8003: S 4292589130:4292589130(0) win 5840 13:45:47.289907 IP 10.0.0.51.8003 > 10.0.0.52.53082: S 129259122:129259122(0) ack 4292589131 win 5792

locked JAR files on undeploy - one possible cause

2009-07-02 Thread Mark Thomas
As locked JARs on undeploy is a popular topic, I thought I would share a recent discovery. If you read your log4j configuration file from a JAR, the JAR will end up locked, preventing a clean undeploy. Full details are here: https://issues.apache.org/bugzilla/show_bug.cgi?id=47465 Mark

Re: tomcat session is not releasing

2009-07-02 Thread Pid
On 2/7/09 06:50, jayes...@birlasoft.com wrote: Hi, Please find detailed problem statement below These are details about your problem, not about your setup. What (exact) version of Tomcat are you using? 1) Our Application is developed in Java and its an web based application so we use TOMCAT a

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Konstantin Kolinko
2009/7/2 Jim Anderson : > Hi, > > I'm running tomcat 6.0.18 on Linux and I'm having a problem running > a javabean. I created a bean and was able to call setProperty and > getProperty > for the property 'startPage' in the bean. When I added a 2nd property > to the bean, I got the following message:

Re: Cannot find any information on property 'x' in a bean of type 'bfs.beans.BFSInfo'

2009-07-02 Thread Pid
On 2/7/09 04:25, Jim Anderson wrote: Hi, I'm running tomcat 6.0.18 on Linux and I'm having a problem running a javabean. I created a bean and was able to call setProperty and getProperty for the property 'startPage' in the bean. When I added a 2nd property to the bean, I got the following messag