Re: Session Timeout - Filter Not Called

2010-04-13 Thread Bob Hall
Paul, --- On Mon, 4/12/10 at 7:21 AM, Paul Carroll pcarr...@nfmail.net wrote: That works in that my filter is called when the session times out and the user is redirected to the login page.  However, the Referer header makes no indication that the user is logging in. What does the referrer

web page rendering is slow

2010-04-13 Thread Karthik Nanjangude
Hi SPEC JDK 1.5 TOMCAT 5.x (JBOSS Embedded) OS : LINUX Problem Our application caters to B2C process with embedded with 3rd party URL's for Advertisement process in display How ever some times this URL's are slow in response, hence our web page rendering is slow Is there any way to

Re: web page rendering is slow

2010-04-13 Thread Pid
On 13/04/2010 08:53, Karthik Nanjangude wrote: Hi SPEC JDK 1.5 TOMCAT 5.x (JBOSS Embedded) OS : LINUX Problem Our application caters to B2C process with embedded with 3rd party URL's for Advertisement process in display How ever some times this URL's are slow in response, hence our web

Re: Context.xml being deleted

2010-04-13 Thread Mark Thomas
On 13/04/2010 02:24, Hassan Schroeder wrote: On Mon, Apr 12, 2010 at 6:08 PM, Sam Stephens samspad...@gmail.com wrote: I have a forum application. When we update it we want to distribute a new war file (previously we updated all files individually). If we give out a new war file to our

Tomcat 6.0.26, JSF problems

2010-04-13 Thread Peter Kovgan
I have simple and standard MyFaces app. deployed, that worked successfully on 6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686). After deploy on 6.0.26 it stops to work correctly. 1) message bundles not recognized, code like that not working: h:commandButton

RE: web page rendering is slow

2010-04-13 Thread Karthik Nanjangude
Hi Embed them in an iframe. The design of this Web application is in Tiles / Struts format. When we did load testing ..we did not encounter any problems. The Tags are in embedded in script function adv1()/script format And the script function is provided by the 3rd party sponsor. Any ideas

Re: How to reload webapp automaticly under tomcat 6.0.20

2010-04-13 Thread Pid
On 13/04/2010 04:38, red phoenix wrote: I set following statement in conf/server.xml, it can run well before tomcat6.0.20,when I modify class file,tomcat can reload automaticly. Context path=/Test docBase=Test reloadable=true crossContext=true/Context But when I use tomcat 6.0.2,I find it can't

Re: Tomcat 6.0.26, JSF problems

2010-04-13 Thread Konstantin Kolinko
2010/4/13 Peter Kovgan peter.kov...@gmail.com: I have simple and standard MyFaces app. deployed, that worked successfully on 6.0.18 tomcat on the same OS(Ubuntu kernel 2.6.31-20-generic, i686). After deploy on 6.0.26 it stops to work correctly. For the #{} expressions to be recognized in

The question of automatic restart Tomcat

2010-04-13 Thread Mirgorodskiy Eugene
Good afternoon. I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start Tomcat, at end of its work as a result of an error or failure in software work. If such

Re: Context.xml being deleted

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hassan, On 4/12/2010 9:24 PM, Hassan Schroeder wrote: On Mon, Apr 12, 2010 at 6:08 PM, Sam Stephens samspad...@gmail.com wrote: I have a forum application. When we update it we want to distribute a new war file (previously we updated all files

Re: web page rendering is slow

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 4/13/2010 5:32 AM, Karthik Nanjangude wrote: Embed them in an iframe. The design of this Web application is in Tiles / Struts format. When we did load testing ..we did not encounter any problems. If your load testing did not

Re: Installing certificate chain on Tomat

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 4/12/2010 4:55 PM, Michael Dockery wrote: because tomcat has the root for the client cert loaded into its truststore, and the matching client cert subject name (ie: user) loaded in its auth realm the client is therefore

Re: web page rendering is slow

2010-04-13 Thread Pid
(With apologies to Karthik, as I inadvertently sent this to him directly) On 13/04/2010 10:32, Karthik Nanjangude wrote: Hi Embed them in an iframe. The design of this Web application is in Tiles / Struts format. When we did load testing ..we did not encounter any problems. Perhaps your

Re: web page rendering is slow

2010-04-13 Thread Pid
On 13/04/2010 14:36, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 4/13/2010 5:32 AM, Karthik Nanjangude wrote: Embed them in an iframe. The design of this Web application is in Tiles / Struts format. When we did load testing ..we did not encounter any

Hung threads

2010-04-13 Thread Jeffrey Janner
I had a connector go from minimal connections (restart) to all threads hung overnight. The current thread dump shows the threads as follows: http-172.16.27.1-443-150 daemon prio=6 tid=0x66793800 nid=0xe43c in Object.wait() [0x7063f000] java.lang.Thread.State: WAITING (on object monitor)

ASF servers hacked (JIRA, Bugzilla, Confluence)

2010-04-13 Thread Gregor Schneider
Don't know if you guys are aware of it, but the above mentioned system have been compromised. According to their blog (https://blogs.apache.org/infra/entry/apache_org_04_09_2010), the ASF infrastructure-team recommends to change your passwords for said systems. Rgds Gregor -- just because

RE: Hung threads

2010-04-13 Thread Jeffrey Janner
Before someone asks for it: Connector address=172.16.27.1 port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=5 maxSpareThreads=75 enableLookups=false acceptCount=100 connectionTimeout=2 disableUploadTimeout=true compression=on

Re: Context.xml being deleted

2010-04-13 Thread hassan.schroeder
On Tue, Apr 13, 2010 at 6:33 AM, Christopher Schultz ch...@christopherschultz.net wrote: Well, AFAIK it's either symlinks (which can be scripted in deployment processes pretty easily) or put all that stuff in a separate context that you never, ever, EVER undeploy :-) Sheesh, yeah.

Re: web page rendering is slow

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 4/13/2010 10:45 AM, Pid wrote: On 13/04/2010 14:36, Christopher Schultz wrote: Karthik, On 4/13/2010 5:32 AM, Karthik Nanjangude wrote: Embed them in an iframe. The design of this Web application is in Tiles / Struts format. When we

Re: Hung threads

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 4/13/2010 10:44 AM, Jeffrey Janner wrote: I had a connector go from minimal connections (restart) to all threads hung overnight. The current thread dump shows the threads as follows: http-172.16.27.1-443-150 daemon prio=6

SSL session resuming

2010-04-13 Thread Meandron80
Hi, I have a problem with tomcat SSL session resuming using MSIE. In my webapp, user authentication is done using the org.apache.catalina.authenticator.SingleSignOn valve and a corresponding realm (PKI authentication). Now accessing the webapp, which uses a frameset that might be part of the

Re: Hung threads

2010-04-13 Thread Filip Hanik - Dev Lists
Looks like just idle threads, not really a problem If you want the thread pool to shrink and stop idle threads, use an Executor element in server.xml Filip On 04/13/2010 08:50 AM, Jeffrey Janner wrote: Before someone asks for it: Connector address=172.16.27.1 port=443

RE: Hung threads

2010-04-13 Thread Jeffrey Janner
*** NOTICE * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of

Re: Hung threads

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 4/13/2010 12:10 PM, Jeffrey Janner wrote: Sorry I was extremely clear. My config has each customer in a separate service structure, so each get his own set of connectors (IPs). Gotcha. Yes, I am unable to get a response on this

RE: Hung threads

2010-04-13 Thread Jeffrey Janner
Thanks, but Executor is not available in 5.5 -- at least according to the documentation. -Original Message- From: Filip Hanik - Dev Lists [mailto:devli...@hanik.com] Sent: Tuesday, April 13, 2010 11:03 AM To: Tomcat Users List Subject: Re: Hung threads Looks like just idle threads, not

Re: The question of automatic restart Tomcat

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eugene, On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote: I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start

RE: Hung threads

2010-04-13 Thread Jeffrey Janner
I got no response. No error from Tomcat or the browser. In IE, the status bar progress bar runs a bit, then goes to the end and disappears. The page doesn't change. I had to use jstack to get the dump. I just posted a sample of a few of the connectors. I've included the entire dump file

Re: The question of automatic restart Tomcat

2010-04-13 Thread David kerber
On 4/13/2010 7:18 AM, Mirgorodskiy Eugene wrote: Good afternoon. I apologise if this theme described in documentation Tomcat, I badly understand English language. Whether you could not answer me is in tomcat 6.0.X Service which automatically would start Tomcat, at end of its work as a result

Re: Hung threads

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 4/13/2010 12:46 PM, Jeffrey Janner wrote: http-172.16.27.1-443-Poller-7 daemon prio=6 tid=0x649cnVVpEWVZadmQxSnJTbEpXDQpWVnBFV1ZaYWRtUXhTbkpUYkVwWERRcFdWbkJGVjFaYVlXUnRVWGhU

RE: Hung threads

2010-04-13 Thread Jeffrey Janner
You're right, that was weird. Not sure what did that. It wasn't that way in the original file. And it wasn't that way before I hit send. Here's the rest of the dump, picking up from just before encoding: RMI Scheduler(0) daemon prio=6 tid=0x64885400 nid=0xaa8c waiting on condition

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
We use automatic restarts on OutOfMemory errors and it works fantastically. I don't do it the way described here, though. I use the JVM's -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver ...which restarts tcServer whenever

Re: Hung threads

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, Okay, you're running into the limits of my knowledge of the APR connector's internals. On 4/13/2010 1:24 PM, Jeffrey Janner wrote: http-172.16.27.1-443-Acceptor-0 daemon prio=6 tid=0x6425c400 nid=0xb6c4 in Object.wait() [0x65d7f000]

connection pool issues with mod_proxy_ajp when tomcat is remote

2010-04-13 Thread Russell Uman
howdy! we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache 2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28 and we've run into a troubling bug/configuration/networking problem with apache 2.0 and mod_proxy, things are very well behaved. apache has a connection pool of

Re: The question of automatic restart Tomcat

2010-04-13 Thread Gregor Schneider
On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin jon.bris...@npcinternational.com wrote: We use automatic restarts on OutOfMemory errors and it works fantastically. I don't do it the way described here, though. I use the JVM's -XX:OnOutOfMemoryError option. I add the following to CATALINA_OPTS:

Re: The question of automatic restart Tomcat

2010-04-13 Thread Bob Hall
Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider rc4...@googlemail.com wrote: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver I'm not aware of that option within my standard sun jdk 1.6.x - what Java-version are you running offering this really useful feature? I wasn't

Re: The question of automatic restart Tomcat

2010-04-13 Thread Thad Humphries
This looks to be a feature of Java HotSpot, and available since v1.4: http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp On Tue, Apr 13, 2010 at 4:19 PM, Gregor Schneider rc4...@googlemail.comwrote: On Tue, Apr 13, 2010 at 7:46 PM, Jon Brisbin jon.bris...@npcinternational.com wrote:

Re: The question of automatic restart Tomcat

2010-04-13 Thread Jon Brisbin
comments below... On Apr 13, 2010, at 3:40 PM, Bob Hall wrote: Gregor, --- On Tue, 4/13/10 at 1:19 PM, Gregor Schneider rc4...@googlemail.com wrote: -XX:OnOutOfMemoryError=/usr/sbin/restart_tcserver I'm not aware of that option within my standard sun jdk 1.6.x - what Java-version

Installing Tomcat as daeon on Mac 10.6 (Snow Leopard)

2010-04-13 Thread laredotornado
Hi, I've installed Tomcat 6.0.26 on my Mac 10.6.3 system. I'm trying to run it as a daemon on system startup and I was following the instructions here -- http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-JSVC. But the site says to untar the ~/Downloads/tomcat-plist.tar.gz file and I can't

Re: Installing Tomcat as daeon on Mac 10.6 (Snow Leopard)

2010-04-13 Thread Hassan Schroeder
On Tue, Apr 13, 2010 at 1:58 PM, laredotornado laredotorn...@gmail.com wrote: I've installed Tomcat 6.0.26 on my Mac 10.6.3 system.  I'm trying to run it as a daemon on system startup and I was following the instructions here -- http://www.malisphoto.com/tips/tomcatonosx.html#Anchor-JSVC.  But

Re: web page rendering is slow

2010-04-13 Thread Pid
On 13/04/2010 16:41, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 4/13/2010 10:45 AM, Pid wrote: On 13/04/2010 14:36, Christopher Schultz wrote: Karthik, On 4/13/2010 5:32 AM, Karthik Nanjangude wrote: Embed them in an iframe. The design of this Web

Re: connection pool issues with mod_proxy_ajp when tomcat is remote

2010-04-13 Thread Pid
On 13/04/2010 20:53, Russell Uman wrote: howdy! we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache 2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28 mod_proxy_ajp was fairly new in 2.2.3, there are significant improvements in it since then. Upgrading is essential if you

Re: connection pool issues with mod_proxy_ajp when tomcat is remote

2010-04-13 Thread Russell Uman
we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache 2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28 mod_proxy_ajp was fairly new in 2.2.3, there are significant improvements in it since then. Upgrading is essential if you want to use it in production. Otherwise, go back

Re: connection pool issues with mod_proxy_ajp when tomcat is remote

2010-04-13 Thread Pid
On 13/04/2010 23:25, Russell Uman wrote: we're trying to move from apache 2.0.52 with mod_jk 1.2.19 to apache 2.2.3 with mod_proxy_ajp in front of tomcat 5.5.28 mod_proxy_ajp was fairly new in 2.2.3, there are significant improvements in it since then. Upgrading is essential if you want to use

Re: connection pool issues with mod_proxy_ajp when tomcat is remote

2010-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Russell, On 4/13/2010 3:53 PM, Russell Uman wrote: tomcat server.xml: Connector port=8009 enableLookups=false redirectPort=8443 protocol=AJP/1.3 minSpareThreads=5 maxThreads=300 connectionTimeout=12 URIEncoding=UTF-8

Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-13 Thread Godmar Back
Hi, I have a simple question I was unable to find an answer to even after 2 hours of reading documentation, APIs, and (partly) Tomcat source code. In my web application, I'm using the 'reloadable='true'' attribute to Context to reload the application automatically when a .class or jar files

Re: Q: how to obtain notification when a WebApp is unloaded/reloaded?

2010-04-13 Thread Bob Hall
Godmar, --- On Tue, 4/13/10 at 9:22 PM, Godmar Back god...@gmail.com wrote: What API function can be used to notify my application that it is about to be shut down, so that the thread in question can exit? First, is there a standard API that would work also in other J2EE containers

Read timed out in tomcat 4.1.31

2010-04-13 Thread Ningappa Koneri
Dear All, I am getting a strange issue with an application deployed under tomcat 4(4.1.31) that when I am trying to upload a file through browser along with the form data to the tomcat, file stream reader getting read timed out exception. In fileupload application I am using following code