Re: Tomcat 7.0.27 graceful shutdown fails

2013-07-12 Thread André Warnier
Caldarale, Charles R wrote: From: Prakash P [mailto:prakash@gmail.com] Subject: Tomcat 7.0.27 graceful shutdown fails Ooops. When I stop the tomcat by calling the shutdown.sh script or sending SIGTERM signal to the java process it's throwing the following exception and the shutdown get

Re: Tomcat 7.0.27 graceful shutdown fails

2013-07-12 Thread André Warnier
Prakash P wrote: W hen I stop the tomcat by calling the shutdown.sh script or sending SIGTERM signal to the java process it's throwing the following exception and the shutdown get hung. INFO: Destroying ProtocolHandler ["http-bio-80"] Jul 11, 2013 10:01:58 AM org.apache.catalina.util.LifecycleMB

RE: Tomcat 7.0.27 graceful shutdown fails

2013-07-12 Thread Caldarale, Charles R
> From: Prakash P [mailto:prakash@gmail.com] > Subject: Tomcat 7.0.27 graceful shutdown fails > When I stop the tomcat by calling the shutdown.sh script or sending SIGTERM > signal to the java process it's throwing the following exception and the > shutdown get hung. And a thread dump shows?

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread André Warnier
Konstantin Kolinko wrote: 2013/7/13 Jerry Lampi : On Fri, Jul 12, 2013 at 4:21 PM, André Warnier wrote: Jerry Lampi wrote: On Fri, Jul 12, 2013 at 2:27 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 7/12/13 2:16

Tomcat 7.0.27 graceful shutdown fails

2013-07-12 Thread Prakash P
W hen I stop the tomcat by calling the shutdown.sh script or sending SIGTERM signal to the java process it's throwing the following exception and the shutdown get hung. INFO: Destroying ProtocolHandler ["http-bio-80"] Jul 11, 2013 10:01:58 AM org.apache.catalina.util.LifecycleMBeanBase unregister

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Konstantin Kolinko
2013/7/13 Jerry Lampi : > On Fri, Jul 12, 2013 at 4:21 PM, André Warnier wrote: > >> Jerry Lampi wrote: >> >>> On Fri, Jul 12, 2013 at 2:27 PM, Christopher Schultz < >>> ch...@christopherschultz.net> wrote: >>> >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Jerry Lampi
On Fri, Jul 12, 2013 at 4:21 PM, André Warnier wrote: > Jerry Lampi wrote: > >> On Fri, Jul 12, 2013 at 2:27 PM, Christopher Schultz < >> ch...@christopherschultz.net> wrote: >> >> -BEGIN PGP SIGNED MESSAGE- >>> Hash: SHA256 >>> >>> Jerry, >>> >>> On 7/12/13 2:16 PM, Jerry Lampi wrote: >

Re: HTTP connection timout

2013-07-12 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 7/12/13 4:16 AM, André Warnier wrote: Harsimranjit singh Kler wrote: Using tomcat 6.I Always confused with connectionTimeout The number of milliseconds this *Connector* will wait, after accepting a connecti

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread André Warnier
Jerry Lampi wrote: On Fri, Jul 12, 2013 at 2:27 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 7/12/13 2:16 PM, Jerry Lampi wrote: When we switched from tomcat 6.0.35 to 6.0.36, the initial load of our sign on page bec

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Jerry Lampi
On Fri, Jul 12, 2013 at 2:27 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Jerry, > > On 7/12/13 2:16 PM, Jerry Lampi wrote: > > When we switched from tomcat 6.0.35 to 6.0.36, the initial load of > > our sign on page became e

Re: [Tomcat 7.x] Tuning the connector for large requests / response

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 7/11/13 11:20 AM, chris derham wrote: > On Thu, Jul 11, 2013 at 11:35 AM, Stefan Magnus Landrø > wrote: >> >> >> Den 11. juli 2013 kl. 15:44 skrev chris derham >> : >> >>> Stefan, >>> but I'm not sure which values to tune. Proba

Re: HTTP connection timout

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 7/12/13 4:16 AM, André Warnier wrote: > Harsimranjit singh Kler wrote: >> Using tomcat 6.I Always confused with >> >> connectionTimeout >> >> The number of milliseconds this *Connector* will wait, after >> accepting a connection, for the

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread André Warnier
Jerry Lampi wrote: When we switched from tomcat 6.0.35 to 6.0.36, the initial load of our sign on page became extremely slow. In 6.0.35, it would load in about 2 seconds; in 6.0.36, it loads in about 60 seconds. Our environment is an IBM mainframe running z/OS. Tomcat runs under USS (Unix Syst

Re: Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jerry, On 7/12/13 2:16 PM, Jerry Lampi wrote: > When we switched from tomcat 6.0.35 to 6.0.36, the initial load of > our sign on page became extremely slow. In 6.0.35, it would load > in about 2 seconds; in 6.0.36, it loads in about 60 seconds. Ca

Enabling protocol="org.apache.coyote.http11.Http11NioProtocol" causes tomcat 6.0.36 to load web page elements

2013-07-12 Thread Jerry Lampi
When we switched from tomcat 6.0.35 to 6.0.36, the initial load of our sign on page became extremely slow. In 6.0.35, it would load in about 2 seconds; in 6.0.36, it loads in about 60 seconds. Our environment is an IBM mainframe running z/OS. Tomcat runs under USS (Unix System Services). The JV

Re: Moving Tomcat to work externally.

2013-07-12 Thread Howard W. Smith, Jr.
On Fri, Jul 12, 2013 at 11:52 AM, Terence M. Bandoian wrote: > Really generous responses. That's very normal on this list. I have found Apache user lists to be very (user) friendly. :)

Re: Moving Tomcat to work externally.

2013-07-12 Thread Terence M. Bandoian
On 7/11/2013 6:46 PM, Mark Eggers wrote: > Comments mostly inline. > > Lots at the end - channeling James Fenimore Cooper. > > On 7/11/2013 3:26 PM, Mark Eggers wrote: >> On 7/11/2013 3:06 PM, Caldarale, Charles R wrote: From: john Matlock [mailto:johndmatl...@gmail.com] Subject: Re: Movi

Re: Expected Delay when Switching to New Version of Application Using Parallel Deployment (Tomcat 7.0.27)

2013-07-12 Thread Majors, Jeremy
Thanks Chris for the suggestions. At this point I think it will be good enough for our needs. Your comments have helped me understand the process/inner-workings better. Jeremy On 7/11/13 10:39 AM, "Christopher Schultz" wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA256 > >Jeremy, > >On

Re: Tomcat 6.0.33 trailing slash redirect looses jsessionid attribute

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Frank, On 7/12/13 5:52 AM, Frank Sommer wrote: > Hello, > > I'm using URL rewriting and recently upgraded my tomcat version > from 6.0.32 to 6.0.33. I figured out that since 6.0.33 the > jsessionid attribute is omitted in the Location header when T

Re: tomcat7 & tldScanJar warning

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 7/11/13 2:51 PM, Chris Cheshire wrote: > I am working on migrating from TC6 to 7, and noticed in the log > file the info messages about jars being needlessly scanned. Did all > my googling and stuff and added all the jars mentioned to the

Re: [OT] WEB-INF

2013-07-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 7/11/13 11:36 AM, André Warnier wrote: > Leo Donahue - RDSA IT wrote: >>> -Original Message- From: Tim Funk >>> [mailto:funk...@apache.org] Subject: Re: [OT] WEB-INF >>> >>> Its a best practice to keep your jsp's inside of WEB-INF

Re: HTTP connection timout

2013-07-12 Thread Harsimranjit singh Kler
> The Connector's are "shared" by all Hosts and all applications. > So the connectionTimeout is already global for all requests that come in > on the corresponding Connector port. > > This parameter is there specifically to fight one type of > Denial-Of-Service attack, whereby some malicious client

Tomcat 6.0.33 trailing slash redirect looses jsessionid attribute

2013-07-12 Thread Frank Sommer
Hello, I'm using URL rewriting and recently upgraded my tomcat version from 6.0.32 to 6.0.33. I figured out that since 6.0.33 the jsessionid attribute is omitted in the Location header when Tomcat forces a trailing slash redirect e.g. from /mypath to /mypath/. The effect is that the session inf

RE: Security Issue in Tomcat

2013-07-12 Thread Paul Beckett
I would second reading the Tomcat security how-to. The OWASP guide to securing tomcat : https://www.owasp.org/index.php/Securing_tomcat is also worth a look. You could also consider starting tomcat with the security manager enabled... although intially finding and configuring all the permissions

Re: Security Issue in Tomcat

2013-07-12 Thread Chanaka Dharmarathna
Hi Ognjen, On 12.7.2013 6:51, Chanaka Dharmarathna wrote: > >> I'm using Tomcat 7.0.40 for hosted application. I have not configured any >> user accounts for tomcat (admin, manager, user etc.). Recently my deployed >> web application was damaged. Restarting tomcat recovered it back. >> >> But it s

Re: HTTP connection timout

2013-07-12 Thread André Warnier
Harsimranjit singh Kler wrote: Using tomcat 6.I Always confused with connectionTimeout The number of milliseconds this *Connector* will wait, after accepting a connection, for the request URI line to be presented. The default value is 6 (i.e. 60 seconds). Helpful if anyone can explain.? I

Re: Security Issue in Tomcat

2013-07-12 Thread Ognjen Blagojevic
Chanaka, On 12.7.2013 6:51, Chanaka Dharmarathna wrote: I'm using Tomcat 7.0.40 for hosted application. I have not configured any user accounts for tomcat (admin, manager, user etc.). Recently my deployed web application was damaged. Restarting tomcat recovered it back. But it seems someone tri

HTTP connection timout

2013-07-12 Thread Harsimranjit singh Kler
Using tomcat 6.I Always confused with connectionTimeout The number of milliseconds this *Connector* will wait, after accepting a connection, for the request URI line to be presented. The default value is 6 (i.e. 60 seconds). Helpful if anyone can explain.? Is there any connector parameter w