Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 23:10, schrieb Mark Thomas: On 23/11/2012 22:07, Michael-O wrote: Am 2012-11-23 23:02, schrieb Mark Thomas: On 23/11/2012 22:00, Michael-O wrote: I am aware of that implementation detail. I was solely referring to the definition in the JavaDocs. They seem to be misleading. At

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Mark Thomas
On 23/11/2012 22:07, Michael-O wrote: > Am 2012-11-23 23:02, schrieb Mark Thomas: >> On 23/11/2012 22:00, Michael-O wrote: >>> I am aware of that implementation detail. I was solely referring to the >>> definition in the JavaDocs. They seem to be misleading. At least to me. >> >> I was referring

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 23:02, schrieb Mark Thomas: On 23/11/2012 22:00, Michael-O wrote: Am 2012-11-23 22:50, schrieb Mark Thomas: On 23/11/2012 21:44, Michael-O wrote: Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Mark Thomas
On 23/11/2012 22:00, Michael-O wrote: > Am 2012-11-23 22:50, schrieb Mark Thomas: >> On 23/11/2012 21:44, Michael-O wrote: >>> Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: > Am 2012-11-23 22:16, schrieb Mark Thomas: >> On 23/11/2012 21:09, Michael-O w

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

2012-11-23 Thread André Warnier
Zorro wrote: Op 23-11-2012 22:04, André Warnier schreef: Zorro wrote: Op 23-11-2012 20:06, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: Hi, I tried to use the Apache Tomcat Native Library 1.1.24 using APR version 1.4.6

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:50, schrieb Mark Thomas: On 23/11/2012 21:44, Michael-O wrote: Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently with this builtin

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Mark Thomas
On 23/11/2012 21:44, Michael-O wrote: > Am 2012-11-23 22:28, schrieb Mark Thomas: >> On 23/11/2012 21:23, Michael-O wrote: >>> Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: > Hi, > > I've been struggling recently with this builtin valve and some >>

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:28, schrieb Mark Thomas: On 23/11/2012 21:23, Michael-O wrote: Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 4

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

2012-11-23 Thread Zorro
Op 23-11-2012 22:04, André Warnier schreef: Zorro wrote: Op 23-11-2012 20:06, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: Hi, I tried to use the Apache Tomcat Native Library 1.1.24 using APR version 1.4.6 with my Tomcat

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Mark Thomas
On 23/11/2012 21:23, Michael-O wrote: > Am 2012-11-23 22:16, schrieb Mark Thomas: >> On 23/11/2012 21:09, Michael-O wrote: >>> Hi, >>> >>> I've been struggling recently with this builtin valve and some >>> Spring-based REST services. I some cases I do return states like 404 or >>> 400. SendError se

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Am 2012-11-23 22:16, schrieb Mark Thomas: On 23/11/2012 21:09, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters the respo

Re: HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Mark Thomas
On 23/11/2012 21:09, Michael-O wrote: > Hi, > > I've been struggling recently with this builtin valve and some > Spring-based REST services. I some cases I do return states like 404 or > 400. SendError seems to be the right thing to do but Tomcat alters the > response with the HTML page. Which is

HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-23 Thread Michael-O
Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters the response with the HTML page. Which is highly unwanted for a REST API. I have check

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

2012-11-23 Thread André Warnier
Zorro wrote: Op 23-11-2012 20:06, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: Hi, I tried to use the Apache Tomcat Native Library 1.1.24 using APR version 1.4.6 with my Tomcat 7.0.32 server but after installing it I cann

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

2012-11-23 Thread Zorro
Op 23-11-2012 20:06, Christopher Schultz schreef: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: Hi, I tried to use the Apache Tomcat Native Library 1.1.24 using APR version 1.4.6 with my Tomcat 7.0.32 server but after installing it I cannot connect ove

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

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Zorro, On 11/22/12 5:07 PM, Zorro wrote: > Hi, > > I tried to use the Apache Tomcat Native Library 1.1.24 using APR > version 1.4.6 with my Tomcat 7.0.32 server but after installing it > I cannot connect over ipv4. > > Using Tomcat with the Native

Re: Apache Tomcat upgrade from 6.0.20 to 6.0.36

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 11/22/12 3:19 AM, Pid * wrote: > Compare the configuration, adjust the new one as required and as > per the docs. NB don't blindly copy old config files. > > Stop the old one. > > Start the new one. > > Deploy your app to it. 3. Profit. -

Re: "tagging" log messages

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johan, On 11/21/12 11:48 AM, Johan Gunnarsson wrote: > Is there some way to "tag" log messages in log4j.properties > depending on different criteria? If you are definitely going to be using log4j, try reading about "Nested Diagnostic Contexts". - -c

Re: Page not redirected after waitFor() call on Process object.

2012-11-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrei, On 11/21/12 4:42 AM, Andrei Petru Mura wrote: > TheProcessing.logoutSubscriberByMac(mac) has that code on it: > > public static void logoutSubscriberByMac(String mac) { try { > > Process proc = Runtime.getRuntime().exec("logout subscriber >

Re: Upgrading from Apache Tomcat 7.0.22 to 7.0.32

2012-11-23 Thread Aditi Sinha
Sorry for not mentioning the platform details. The platform is windows on which upgrade has to be done.

Re: How to stop mod_jk.log in apache 2.2

2012-11-23 Thread lokesh borse
Hi Felix, Thanks for the link however I could not find how to stop mod_jk logs on Windows. There is a command line parameter given for Linux --disable-trace but could not find anything for windows. Can I set JKLoglevel in some file? If yes, where to set it? I am afraid of doing some testing as it

Upgrading from Apache Tomcat 7.0.22 to 7.0.32

2012-11-23 Thread Aditi Sinha
Hi, What is the best way to upgrade from Tomcat version 7.0.22 to 7.0.32? I have gone through the link http://tomcat.apache.org/migration.html but not sure what steps should be followed for upgrade. We are installing Tomcat using the zip way. Thanks & Regards, Aditi

Re: two questions about websocket in tomcat7.0.30

2012-11-23 Thread Pid *
On 23 Nov 2012, at 03:06, "zane_zh...@wistronits.com" wrote: > Dears, > My PC environment are windows XP professional Version 2002 Service Pack 3, > JDK1.6, Tomcat7.0.30. > my Java web project is an internet online chat-room based on websocket. I run > the local-host service in Tomcat and then