Re: Tomcat with multiple domains

2012-11-28 Thread Paul van Hoven
Hi! Thanks for your quick and detailed answers. Actually I think I did all the things you mentioned but it still does not work. So here are the changes I made: 1. I checked that the following entries are in the engine tag: ... ... 2. In the host file I altered the entries to 8

Re: Using the Tomcat Native Library can only connect over ipv6 But not over ipv4

2012-11-28 Thread André Warnier
Zorro wrote: Op 27-11-2012 23:56, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harm-Jan, On 11/27/12 3:32 PM, Zorro wrote: Op 27-11-2012 20:00, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harm-Jan, On 11/26/12 3:16 PM, Zorro wrot

Re: Using the Tomcat Native Library can only connect over ipv6 But not over ipv4

2012-11-28 Thread Zorro
Op 27-11-2012 23:56, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harm-Jan, On 11/27/12 3:32 PM, Zorro wrote: Op 27-11-2012 20:00, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harm-Jan, On 11/26/12 3:16 PM, Zorro wrote: I have now

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Will Nordmeyer
On Wed, Nov 28, 2012 at 1:39 PM, André Warnier wrote: > Daniel Mikusa wrote: >> >> On Nov 28, 2012, at 11:56 AM, Will Nordmeyer wrote: >> >>> On Wed, Nov 28, 2012 at 9:03 AM, Will Nordmeyer >>> wrote: On Wed, Nov 28, 2012 at 8:45 AM, Daniel Mikusa wrote: > > On Nov 28, 201

Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:41, schrieb Caldarale, Charles R: From: Michael-O [mailto:1983-01...@gmx.net] Subject: Writing to response and issuing sendError The exception is thrown out to the console but the response is still written. As it should be - it's already committed, and may well have been del

Re: Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Am 2012-11-28 21:39, schrieb Mark Thomas: On 28/11/2012 20:34, Michael-O wrote: Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet(

RE: Writing to response and issuing sendError

2012-11-28 Thread Caldarale, Charles R
> From: Michael-O [mailto:1983-01...@gmx.net] > Subject: Writing to response and issuing sendError > The exception is thrown out to the console but the response is still > written. As it should be - it's already committed, and may well have been delivered. > If I leave out the flush (which com

Re: Writing to response and issuing sendError

2012-11-28 Thread Mark Thomas
On 28/11/2012 20:34, Michael-O wrote: > Hi, > > I am having again trouble with the respone.sendError method. The docs > say that an IllegalStateException is thrown if response has already been > committed. So this should cause an exception: > > protected void doGet(HttpServletRequest request, Htt

Writing to response and issuing sendError

2012-11-28 Thread Michael-O
Hi, I am having again trouble with the respone.sendError method. The docs say that an IllegalStateException is thrown if response has already been committed. So this should cause an exception: protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletExcept

Re: Invocation condition of ErrorReportValve

2012-11-28 Thread Michael-O
Am 2012-11-28 18:26, schrieb Mark Thomas: Michael-O <1983-01...@gmx.net> wrote: Hi, why does the ErrorReportValve trigger the report on this condition only? if ((statusCode < 400) || (response.getContentCount() > 0)) return; So, even if I do a reponse.setStatus(404), this valve is executed

Tomcat8 Cartridge for OpenShift PaaS

2012-11-28 Thread William DeCoste
Hi all, Development has begun on supporting Tomcat8 on Red Hat's OpenShift PaaS (https://openshift.redhat.com). OpenShift supports various development frameworks via cartridges. There are currently cartridges for Tomcat6 (via JBossEWS1.0) and soon will be a cartridge for Tomcat7 (via JBossEWS

Re: tomcat6 with crl doesn't load

2012-11-28 Thread André Warnier
Daniel Mikusa wrote: On Nov 28, 2012, at 11:56 AM, Will Nordmeyer wrote: On Wed, Nov 28, 2012 at 9:03 AM, Will Nordmeyer wrote: On Wed, Nov 28, 2012 at 8:45 AM, Daniel Mikusa wrote: On Nov 28, 2012, at 8:35 AM, Will Nordmeyer wrote: On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote:

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Daniel Mikusa
On Nov 28, 2012, at 11:56 AM, Will Nordmeyer wrote: > On Wed, Nov 28, 2012 at 9:03 AM, Will Nordmeyer wrote: >> On Wed, Nov 28, 2012 at 8:45 AM, Daniel Mikusa wrote: >>> On Nov 28, 2012, at 8:35 AM, Will Nordmeyer wrote: >>> On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote: > On N

Re: Invocation condition of ErrorReportValve

2012-11-28 Thread Mark Thomas
Michael-O <1983-01...@gmx.net> wrote: >Hi, > >why does the ErrorReportValve trigger the report on this condition >only? > > if ((statusCode < 400) || (response.getContentCount() > 0)) >return; > >So, even if I do a reponse.setStatus(404), this valve is executed. >According to the Jav

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Will Nordmeyer
On Wed, Nov 28, 2012 at 9:03 AM, Will Nordmeyer wrote: > On Wed, Nov 28, 2012 at 8:45 AM, Daniel Mikusa wrote: >> On Nov 28, 2012, at 8:35 AM, Will Nordmeyer wrote: >> >>> On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote: On Nov 27, 2012, at 12:56 PM, Will Nordmeyer wrote: > On

Re: Nagios plugin script for use with JMXProxy

2012-11-28 Thread Athanasios Kostopoulos
On 28/11/12 17:19, Mark H. Wood wrote: On Tue, Nov 27, 2012 at 05:37:18PM -0500, Christopher Schultz wrote: I have developed a Perl script that can be used with Nagios to check on a Tomcat instance via the manager's JMXProxyServlet. Someone asked me to publish it, which I'm happy to do. I'm just

Re: Nagios plugin script for use with JMXProxy

2012-11-28 Thread Mark H. Wood
On Tue, Nov 27, 2012 at 05:37:18PM -0500, Christopher Schultz wrote: > I have developed a Perl script that can be used with Nagios to check > on a Tomcat instance via the manager's JMXProxyServlet. Someone asked > me to publish it, which I'm happy to do. I'm just wondering what the > best thing to

Invocation condition of ErrorReportValve

2012-11-28 Thread Michael-O
Hi, why does the ErrorReportValve trigger the report on this condition only? if ((statusCode < 400) || (response.getContentCount() > 0)) return; So, even if I do a reponse.setStatus(404), this valve is executed. According to the Javadoc: if setStatus is invoked [1], the response sh

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Will Nordmeyer
On Wed, Nov 28, 2012 at 8:45 AM, Daniel Mikusa wrote: > On Nov 28, 2012, at 8:35 AM, Will Nordmeyer wrote: > >> On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote: >>> On Nov 27, 2012, at 12:56 PM, Will Nordmeyer wrote: >>> On Tue, Nov 27, 2012 at 12:24 PM, Daniel Mikusa wrote: > On N

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Daniel Mikusa
On Nov 28, 2012, at 8:35 AM, Will Nordmeyer wrote: > On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote: >> On Nov 27, 2012, at 12:56 PM, Will Nordmeyer wrote: >> >>> On Tue, Nov 27, 2012 at 12:24 PM, Daniel Mikusa wrote: On Nov 27, 2012, at 9:55 AM, Will Nordmeyer wrote: > I h

Re: tomcat6 with crl doesn't load

2012-11-28 Thread Will Nordmeyer
On Tue, Nov 27, 2012 at 5:12 PM, Daniel Mikusa wrote: > On Nov 27, 2012, at 12:56 PM, Will Nordmeyer wrote: > >> On Tue, Nov 27, 2012 at 12:24 PM, Daniel Mikusa wrote: >>> On Nov 27, 2012, at 9:55 AM, Will Nordmeyer wrote: >>> I have a self signed server certificate - and the user certs have

Data sources definitions are lost in memory

2012-11-28 Thread Robert Anderson
Hi, We've some data sources defined in server.xml as following: ... ... ... ... conf/context.xml ... ... Everything has worked normal during many months...until now. At least once a day, since 11/21, webapplications throw NullPointerException because t

Tomcat 7 SSL Session ID

2012-11-28 Thread Vincent Goelen
Hey, I'm doing some research about the SSL session tracking / SSL Session id's. Now I'm having some problems when requests are send to the server in quick succession, I notice the problem is fixed or at least less occuring when the keepAlive server setting is set to 0.. When the keepAliveTimeout