Re: Graceful Shutdown

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 7/31/14, 12:29 AM, Arseny wrote: > 31.07.2014 6:19, Christopher Schultz пишет: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Arseny, >> >> On 7/30/14, 4:13 PM, Arseny wrote: >>> 30.07.2014 16:19, Ron Holckener пишет: Thi

Re: Graceful Shutdown

2014-07-30 Thread Arseny
31.07.2014 6:19, Christopher Schultz пишет: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 7/30/14, 4:13 PM, Arseny wrote: 30.07.2014 16:19, Ron Holckener пишет: This behavior exists using the regular shutdown.sh script? Is the timeout (10s) configurable? Thanks, Ron Holckener

Re: Graceful Shutdown

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Igal, On 7/30/14, 11:22 PM, Igal @ getRailo.org wrote: > will -force work even if the JVM has a running non-daemon thread? In my experience, "kill -9" is fairly effective. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: GPGTools

Re: Graceful Shutdown

2014-07-30 Thread Igal @ getRailo.org
will -force work even if the JVM has a running non-daemon thread? thanks, Igal On 7/30/2014 8:19 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 7/30/14, 4:13 PM, Arseny wrote: 30.07.2014 16:19, Ron Holckener пишет: This behavior exists using the

Re: Graceful Shutdown

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arseny, On 7/30/14, 4:13 PM, Arseny wrote: > 30.07.2014 16:19, Ron Holckener пишет: >> This behavior exists using the regular shutdown.sh script? Is the >> timeout (10s) configurable? >> >> Thanks, Ron Holckener >> >> > > ./$CATALINA_HOME/bin/ca

Re: How to use Jasper class?

2014-07-30 Thread Aaron Lewis
Thanks guys. I copied all jars from tomcat 7.0.55 binary, libs & bin/*.jar to 'lib' folder, then I start winstone like this: %> java -jar winstone-0.9.10.jar --useJasper --commonLibFolder=lib/ --webroot=webroot/ When I access any JSP file (that works in tomcat), I got an exception, perhaps I'm mis

Re: making all pages to fo index.jsp

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Aryeh, On 7/30/14, 4:12 PM, Aryeh Friedman wrote: > I want to make it so every page that does not have a actual .jsp > file gets sent back index.jsp. I am doing it with but > that also sends a 404 I want zero clue they landed on a > non-existent p

Re: need to keep the connection alive

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dhaval, On 7/30/14, 3:42 PM, Dhaval Jaiswal wrote: > I want to make the connection alive from tomcat to the db server. > As of now connection is getting closed / terminating might be due > to network or idle connection. > > Following is my configur

Re: Graceful Shutdown

2014-07-30 Thread Arseny
30.07.2014 16:19, Ron Holckener пишет: This behavior exists using the regular shutdown.sh script? Is the timeout (10s) configurable? Thanks, Ron Holckener ./$CATALINA_HOME/bin/catalina.sh stop 30 (30 sec. wait) Don't remember same option inside shutdown.sh, but anyway - it call catalina.s

making all pages to fo index.jsp

2014-07-30 Thread Aryeh Friedman
I want to make it so every page that does not have a actual .jsp file gets sent back index.jsp. I am doing it with but that also sends a 404 I want zero clue they landed on a non-existent page -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org

need to keep the connection alive

2014-07-30 Thread Dhaval Jaiswal
I want to make the connection alive from tomcat to the db server. As of now connection is getting closed / terminating might be due to network or idle connection. Following is my configuration. I want to ensure that my connection should be alive and henceforth, I have added following par

Re: How to use Jasper class?

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 7/30/14, 8:16 AM, Daniel Mikusa wrote: > On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis > wrote: > >> Hi, >> >> I'm trying to build a minimal JSP container, just like winstone >> http://winstone.sourceforge.net/#commandLine >> >> But w

Re: tomcat7.exe windows service crash

2014-07-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jan, On 7/29/14, 7:30 AM, Jan Vávra wrote: > Hello, I'm facing a problem of tomcat7.exe crash (from win64 Tomcat > 7.0.54 distribution) installed as a Windows service on Windows > 2012 x64, x64 jdk 1.7.0.65. In the Widows event log is message > (tr

Re: Graceful Shutdown

2014-07-30 Thread Mark Thomas
On 30/07/2014 14:19, Ron Holckener wrote: > This behavior exists using the regular shutdown.sh script? Yes. > Is the timeout (10s) configurable? Yes. Mark > > Thanks, > Ron Holckener > > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, July 30, 20

RE: Graceful Shutdown

2014-07-30 Thread Ron Holckener
This behavior exists using the regular shutdown.sh script? Is the timeout (10s) configurable? Thanks, Ron Holckener -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, July 30, 2014 3:50 PM To: Tomcat Users List Subject: Re: Graceful Shutdown On 30/07/2014 12

Re: Graceful Shutdown

2014-07-30 Thread Mark Thomas
On 30/07/2014 12:24, Ron Holckener wrote: > Hi, > > Does Tomcat server support Graceful Shutdown (like all other App Servers: > Weblogic, Websphere), where new requests are rejected, and the server > finishes in-flight work on existing requests? > Something like the apachectl -k graceful, but in

Re: How to use Jasper class?

2014-07-30 Thread Daniel Mikusa
On Wed, Jul 30, 2014 at 3:43 AM, Aaron Lewis wrote: > Hi, > > I'm trying to build a minimal JSP container, just like winstone > http://winstone.sourceforge.net/#commandLine > > But with tc 7.0.55 it doesn't seem to work, so I had to find my own > ways around the Jasper class: > Error initializing

Graceful Shutdown

2014-07-30 Thread Ron Holckener
Hi, Does Tomcat server support Graceful Shutdown (like all other App Servers: Weblogic, Websphere), where new requests are rejected, and the server finishes in-flight work on existing requests? Something like the apachectl -k graceful, but instead to restart to stop the server. Tomcat 8.0.9, L

How to use Jasper class?

2014-07-30 Thread Aaron Lewis
Hi, I'm trying to build a minimal JSP container, just like winstone http://winstone.sourceforge.net/#commandLine But with tc 7.0.55 it doesn't seem to work, so I had to find my own ways around the Jasper class: Error initializing web application: prefix [] java.lang.NoClassDefFoundError: org/apac