Re: Mark async-supported=true for non-asynchronous servlets

2015-07-14 Thread Rilak Kun
Hello Chris, Our application is running in OSGi. Servlets are contributed via Eclipse extension point, so they can be registered in different plugins without changing the web.xml. Thank you! Rilak On Tue, Jul 14, 2015 at 8:24 PM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- >

Re: Make Filter Exception Based on Subnet

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 7/14/15 6:24 PM, Eric Robinson wrote: > Our canned tomcat application's web.xml file contains the following > filter... > > SessionFilter > servlet.BlahSession > > SessionFilter > /* > > > Is there a way to make this filter not ap

Re: Mark async-supported=true for non-asynchronous servlets

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rilak, On 7/14/15 9:20 PM, Rilak Kun wrote: > I have only one servlet definition in my web.xml. This servlet acts > as a bridge servlet for delegating requests to the actual 50 > servlets in my application. I would like to make one of the 50 > servl

Mark async-supported=true for non-asynchronous servlets

2015-07-14 Thread Rilak Kun
Hello, I have only one servlet definition in my web.xml. This servlet acts as a bridge servlet for delegating requests to the actual 50 servlets in my application. I would like to make one of the 50 servlets async-supported. I can think of two ways to do it: 1. Create another bridge servlet for h

Re: Spring Scheduled Task is triggered multiple times

2015-07-14 Thread Zoran Avtarovski
Chris, Andre, Thanks for the tip re the context.xml file. The Weird thing is, if I delete the path attribute, NetBeans adds it automatically using the project name. I suspect this is an issue with Netbeans and I¹ll have a look at how to disable it. Thanks again. I really think this is one of th

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Phil Steitz
On 7/14/15 1:11 PM, Christopher Schultz wrote: > Laurence, > > On 7/14/15 2:32 PM, Laurence Cohen wrote: > > We are suddenly having a problem with our Tomcat WebApp connecting > > to the database. Unfortunately I can't give you the whole thing > > because the error is on a network that is restrict

Make Filter Exception Based on Subnet

2015-07-14 Thread Eric Robinson
Our canned tomcat application's web.xml file contains the following filter... SessionFilter servlet.BlahSession SessionFilter /* Is there a way to make this filter not apply to requests that originate from certain IP addresses? -- Eric Robinson

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Philip, On 7/14/15 3:00 PM, Philip Wigg wrote: >> The last error is "FATAL Database is starting up". > > A quick Google search for "FATAL Database is starting up" seems to > suggest that is an error message coming from PostgreSQL and not > from To

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Laurence, On 7/14/15 2:32 PM, Laurence Cohen wrote: > We are suddenly having a problem with our Tomcat WebApp connecting > to the database. Unfortunately I can't give you the whole thing > because the error is on a network that is restricted, and I

Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Philip Wigg
> The last error is "FATAL Database is starting up". A quick Google search for "FATAL Database is starting up" seems to suggest that is an error message coming from PostgreSQL and not from Tomcat itself. Hope that helps. Phil.

Java stack trace, unable to connect to the database

2015-07-14 Thread Laurence Cohen
Hello fellow users, We are suddenly having a problem with our Tomcat WebApp connecting to the database. Unfortunately I can't give you the whole thing because the error is on a network that is restricted, and I can't take anything off of it without writing it down and retyping it. I figured I

RE: Form authentication with Tomcat 7.0.63 behind Apache HTTPD and mod_jk

2015-07-14 Thread Cris Berneburg - US
Mark Look for ***>>> for my response. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com.INVALID] Sent: Monday, July 13, 2015 2:13 PM To: Tomcat Users List Subject: Re: Form authentication with Tomcat 7.0.63 behind Apache HTTPD and mod_jk -BEGIN PGP SIGNED MESSAGE--

Re: Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Yudin, Ilya
Thanks Christopher, putting the whole URL in double quotes worked, problem solved. *--* *Ilya Yudin* *Systems&Technology* *212-556-4050 (office)* *914-755-4880 (cell)**yudi...@nytimes.com* On Tue, Jul 14, 2015 at 11:11 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN

Re: Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Yudin, Ilya
Thanks Theo, but that doesn't work either, I'm getting the exact same error as without "-X CET". By the way, the name is Ilya :) *--* *Ilya Yudin* *Systems&Technology* *212-556-4050 (office)* *914-755-4880 (cell)**yudi...@nytimes.com* On Tue, Jul 14, 2015 at 11:05 AM, wrote: > Hello Yudin - t

Re: Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ilya, On 7/14/15 9:56 AM, Yudin, Ilya wrote: > Hello, > > I'm running Apache Tomcat 7.0.57 on RHEL 6.6 servers for CCI > NewsGate editorial system which uses around 20 applications per > Tomcat server. There is a requirement here (for the reasons o

Re: Tomcat 8 - Manager Deploy

2015-07-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 7/14/15 6:36 AM, Caldarale, Charles R wrote: >> From: theo.swe...@avios.com [mailto:theo.swe...@avios.com] >> Subject: Re: Tomcat 8 - Manager Deploy > > Don't top post. > >> I did search for the "version" tag but was unable to identify

Re: Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Theo . Sweeny
Hello Yudin - try using the -X GET option with curl E.G. curl --user OurName:OurSecurePasswd -X GET http://our.server.fqdn:8080/manager/text/stop?path=/docs Theo Sweeny Web Support Contractor T: 01293 722211 W: www.avios.com From: "Yudin, Ilya" To: users@tomcat.apache.org, Date

Command line requests for starting/reloading/stoping applications are not working in Tomcat 7.0.57 Manager

2015-07-14 Thread Yudin, Ilya
Hello, I'm running Apache Tomcat 7.0.57 on RHEL 6.6 servers for CCI NewsGate editorial system which uses around 20 applications per Tomcat server. There is a requirement here (for the reasons of automating administrative tasks) to enable starting, stoping and reloading individual applications from

RE: Tomcat 8 - Manager Deploy

2015-07-14 Thread Caldarale, Charles R
> From: theo.swe...@avios.com [mailto:theo.swe...@avios.com] > Subject: Re: Tomcat 8 - Manager Deploy Don't top post. > I did search for the "version" tag but was unable to identify > it in the Tomcat 8 documentation. > Would you mind pointing me toward it please? Look here: http://tomcat.apa

Re: Unable to start service on Windows (Tomcat version 8.00.023)

2015-07-14 Thread David kerber
This sounds familiar. Did you just copy your configuration files (especially server.xml) from the 7.x installation to the 8.x installation? Been there, done that, got the gray hairs to prove it! You need to start with TC's default server.xml and make the mods necessary for your configuration.

Re: Unable to start service on Windows (Tomcat version 8.00.023)

2015-07-14 Thread André Warnier
Hi. Nikitha Benny wrote: Hi All, I have installed java JRE version 1.07.079 and Tomcat version 8.00.023. And it installs and runs fine on all unix platforms (Linux_x64, Linux_x86, Solaris and HP-UX). Now when it comes to Windows (both x86 and x64), Tomcat installs fine but does not run. Also

Unable to start service on Windows (Tomcat version 8.00.023)

2015-07-14 Thread Nikitha Benny
Hi All, I have installed java JRE version 1.07.079 and Tomcat version 8.00.023. And it installs and runs fine on all unix platforms (Linux_x64, Linux_x86, Solaris and HP-UX). Now when it comes to Windows (both x86 and x64), Tomcat installs fine but does not run. Also logs are not being thrown.