Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-24 Thread André Warnier
Jaikit Savla wrote: Hi, You are right it does regrex matching. I wanted to say that it does not do any kind of dnslookup in filter. @configuration: I do not have any particular configuration or firewall set up. I have mentioned below output from tcpdump (listening on loopback interface) and as

Re: Static Membership Session Replication

2012-09-24 Thread Keiichi Fujino
Hi According to this log, it does not seem to able to register for membership. In your configuration, TcpFailureDetector behaves as an administrator of a membership. Therefore, TcpFailureDetector#performBasicCheck logs following messages. [WARNING: Member added, even though we werent

RE: Cluster Logging Options

2012-09-24 Thread Alex Samad - Yieldbroker
Been thinking about Log4j - syslog - syslog server That way you can look at the server and also at the syslog server ... give you a real time view. I keep my per server syslogs for 4-7 days and the on the syslog server for months .. A -Original Message- From: John Rellis

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 10:12 AM, Alex Samad - Yieldbroker alex.sa...@yieldbroker.com wrote: Been thinking about Log4j - syslog - syslog server That way you can look at the server and also at the syslog server ... give you a real time view. I keep my per server syslogs for 4-7 days and

Re: Cluster Logging Options

2012-09-24 Thread André Warnier
John Rellis wrote: On Mon, Sep 24, 2012 at 10:12 AM, Alex Samad - Yieldbroker alex.sa...@yieldbroker.com wrote: Been thinking about Log4j - syslog - syslog server That way you can look at the server and also at the syslog server ... give you a real time view. I keep my per server syslogs

Re: AuthenticatorBase setChangeSessionIdOnAuthentication without cookies

2012-09-24 Thread Brian Burch
On 23/09/12 11:10, Mark Thomas wrote: Thanks for looking at my questions, Mark. I hoped you would find time, because you fixed the original bug quite recently and would still remember the rather convoluted logic for FORM authentication. On 23/09/2012 10:46, Brian Burch wrote: With

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 10:57 AM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: On Mon, Sep 24, 2012 at 10:12 AM, Alex Samad - Yieldbroker alex.sa...@yieldbroker.com wrote: Been thinking about Log4j - syslog - syslog server That way you can look at the server and also at the

running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread manuel aldana
Is there a way to support both DIGEST and BASIC in one servlet container (we use tomcat 6.0.35)? We want to support BASIC over SSL but we need to keep running DIGEST for down-compatibility reasons with api-clients. As I see in web.xml config, there is only one entry possible for auth-method:

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-24 Thread Nicolas Sarazin
Hi Christopher, And thank you for this invaluable information ! I shall continue the discussion if the problem persists after the update of my configuration. Nicolas SARAZIN 2012/9/21 Christopher Schultz ch...@christopherschultz.net: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicholas,

Re: Cluster Logging Options

2012-09-24 Thread André Warnier
John Rellis wrote: On Mon, Sep 24, 2012 at 10:57 AM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: On Mon, Sep 24, 2012 at 10:12 AM, Alex Samad - Yieldbroker alex.sa...@yieldbroker.com wrote: Been thinking about Log4j - syslog - syslog server That way you can look at the

Re: Cluster Logging Options

2012-09-24 Thread Joseph
Or you could just use a simple socketappender from log4j and let all instances write to configured host port 在 2012-9-25,0:29,André Warnier a...@ice-sa.com 写道: John Rellis wrote: On Mon, Sep 24, 2012 at 10:57 AM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: On Mon, Sep 24, 2012

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 1:36 PM, Joseph wutong...@gmail.com wrote: Or you could just use a simple socketappender from log4j and let all instances write to configured host port 在 2012-9-25,0:29,André Warnier a...@ice-sa.com 写道: John Rellis wrote: On Mon, Sep 24, 2012 at 10:57 AM, André

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Konstantin Kolinko
2012/9/24 Pradeep chaudhariprade...@gmail.com: I have one domain hosted on cloud server. Let's say o.com Now i want to add a.com and b.com to same cloud server, for that , i added host entries inside server.xml as below, Host name=localhost appBase=webapps unpackWARs=true

RE: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Caldarale, Charles R
From: Pradeep [mailto:chaudhariprade...@gmail.com] Subject: Fwd: Problem with hosting mulitple websites on single tomcat 7 Host name=a.com appBase=webapps_a/Host Host name=b.com appBase=webapps_b/Host they both are pointing to o.com and not to their respective domains/webapp directories

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread chaudharipradeep9
It goes to o.com Sent from BlackBerry® on Airtel -Original Message- From: Caldarale, Charles R chuck.caldar...@unisys.com Date: Mon, 24 Sep 2012 09:59:19 To: Tomcat Users Listusers@tomcat.apache.org Reply-To: Tomcat Users List users@tomcat.apache.org Subject: RE: Problem with hosting

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread chaudharipradeep9
+1 more thing, I have also added ip table entries for forwarding all port 80 requests to 8080 Sent from BlackBerry® on Airtel -Original Message- From: chaudhariprade...@gmail.com Date: Mon, 24 Sep 2012 15:00:50 To: Tomcat Users Listusers@tomcat.apache.org Reply-To:

RE: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Caldarale, Charles R
From: chaudhariprade...@gmail.com [mailto:chaudhariprade...@gmail.com] Subject: Re: Problem with hosting mulitple websites on single tomcat 7 Don't top post. It goes to o.com So much for the admonition to be precise... What it are you talking about? What client are you using? Where is

org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Denise Wu
Hi, I developed a simple webservice to return a string based on an input string sent by the client. I configured my apache tomcat and axis2 for https on port 8443. When I send a query, it got received by the server as I can display the input string from the skeleton class and see it on tomcat

Tomcat currentThreadsBusy Mbean - JSP query page

2012-09-24 Thread Shanti Suresh
Greetings. I would like to query the CurrentThreadsBusy MBean and am running into issues creating a JSP page for that query. The questions I have are: (1) when does one use get vs qry. For e.g., the following URLs work: CurrentThreadsBusy -

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Mark Eggers
On 9/24/2012 8:00 AM, chaudhariprade...@gmail.com wrote: It goes to o.com Sent from BlackBerry® on Airtel -Original Message- From: Caldarale, Charles R chuck.caldar...@unisys.com Date: Mon, 24 Sep 2012 09:59:19 To: Tomcat Users Listusers@tomcat.apache.org Reply-To: Tomcat Users List

Re: Tomcat currentThreadsBusy Mbean - JSP query page

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shanti, On 9/24/12 12:07 PM, Shanti Suresh wrote: I would like to query the CurrentThreadsBusy MBean and am running into issues creating a JSP page for that query. The questions I have are: (1) when does one use get vs qry. qry is a search

Re: AuthenticatorBase setChangeSessionIdOnAuthentication without cookies

2012-09-24 Thread Mark Thomas
On 24/09/2012 11:41, Brian Burch wrote: I draw the following conclusions: 1. A client that can accept a Set-Cookie for JSESSIONID will be able to maintain a persistent session (is that incorrectly overloading a reserved word?), no matter whether the session ID is changed once, many times,

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denise, On 9/24/12 12:05 PM, Denise Wu wrote: I developed a simple webservice to return a string based on an input string sent by the client. I configured my apache tomcat and axis2 for https on port 8443. When I send a query, it got received

Re: running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuel, On 9/24/12 7:55 AM, manuel aldana wrote: Is there a way to support both DIGEST and BASIC in one servlet container (we use tomcat 6.0.35)? We want to support BASIC over SSL but we need to keep running DIGEST for down-compatibility reasons

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Tom Anthony
Hi Chris, On the server side there is no error, I can even see the system.outs I put in the server class (skeleton). Thanks very much for your help! -- View this message in context:

Re: Tomcat currentThreadsBusy Mbean - JSP query page

2012-09-24 Thread Shanti Suresh
Hi Chris, On Mon, Sep 24, 2012 at 12:44 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shanti, qry is a search operation, while get queries a specific MBean and has other options (like going into a compound value and pulling-out

Re: running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/09/2012 17:51, Christopher Schultz wrote: I'm curious how you will check DIGEST first and then apply BASIC. Are you expecting some clients to simply send DIGEST credentials without first contacting the server? I don't think that's possible.

Re: running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread manuel aldana
Am 24.09.12 18:51, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuel, On 9/24/12 7:55 AM, manuel aldana wrote: Is there a way to support both DIGEST and BASIC in one servlet container (we use tomcat 6.0.35)? We want to support BASIC over SSL but we need to keep

Re: running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 9/24/12 1:49 PM, Mark Thomas wrote: On 24/09/2012 17:51, Christopher Schultz wrote: I'm curious how you will check DIGEST first and then apply BASIC. Are you expecting some clients to simply send DIGEST credentials without first

Re: running auth-methods DIGEST + BASIC in parallel

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuel, On 9/24/12 2:00 PM, manuel aldana wrote: Am 24.09.12 18:51, schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuel, 2. Write a custom Authenticator Valve If you want to use Tomcat's container-managed

Re: org.apache.axis2.AxisFault: [was class java.net.ConnectException] Connection refused: connect

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tom/Denise, On 9/24/12 1:17 PM, Tom Anthony wrote: On the server side there is no error, I can even see the system.outs I put in the server class (skeleton). If you can see the System.out.println's executing on the server side, then I suspect that

Re: AuthenticatorBase setChangeSessionIdOnAuthentication without cookies

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, On 9/23/12 5:46 AM, Brian Burch wrote: However, in the case where the client is not using cookies (my test disables them for its Context), there does not appear to be a way for the server to communicate the new jsessionid value to the

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaikit, On 9/22/12 6:04 PM, Jaikit Savla wrote: I have some admin api's which I want to have restricted access I think you mean APIs. admin api's which is a possessive even a native English speaker can't figure out. - such that only if the

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/24/12 3:58 AM, André Warnier wrote: 1) curl http://localhost/something Result in log : ::1 - - [24/Sep/2012:09:22:51 +0200] GET /something HTTP/1.1 404 282 - curl/7.21.0 (i486-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o

Re: Where do I store Images in tomcat structure so that I can retrive it properly in all browsers

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kiran, On 9/23/12 12:10 AM, Kiran Badi wrote: On 9/17/2012 10:20 PM, Christopher Schultz wrote: If you instead implemented your own aliases feature using a servlet, you could do it in a smarter way because you understand your own URL space: you

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 9/22/12 3:36 PM, André Warnier wrote: Patrick Flaherty wrote: Is this a Windows platform ? :-) If you manage to run tomcat.exe on a platform other than Windows, let us know. It would greatly simplify the Tomcat releases. I wonder if

PDF Download problem tomcat = 7.0.27

2012-09-24 Thread Ted Smith
Hello: I just upgraded to Tomcat 7.0.29 from Tomcat 6 and encountered the exact issue as described in http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/223299 Is there any workaround? I would be fine if there is an option to disable the range handling function so that Tomcat would

Re: PDF Download problem tomcat = 7.0.27

2012-09-24 Thread Mark Thomas
Ted Smith ted_smi...@verizon.net wrote: Hello: I just upgraded to Tomcat 7.0.29 from Tomcat 6 and encountered the exact issue as described in http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/223299 Is there any workaround? I would be fine if there is an option to disable the range

Re: PDF Download problem tomcat = 7.0.27

2012-09-24 Thread Ted Smith
Thanks. Does it mean this bug can be worked around by setting its init parameter useAcceptRanges to the value of false? BTW I found the following that is acked by Adobe http://helpx.adobe.com/acrobat/kb/pdf-files-dont-display-some.html On 9/24/2012 4:26 PM, Mark Thomas wrote: Ted Smith

Re: PDF Download problem tomcat = 7.0.27

2012-09-24 Thread Konstantin Kolinko
2012/9/25 Ted Smith ted_smi...@verizon.net: Thanks. Does it mean this bug can be worked around by setting its init parameter useAcceptRanges to the value of false? BTW I found the following that is acked by Adobe http://helpx.adobe.com/acrobat/kb/pdf-files-dont-display-some.html

Re: Authenticate requests from localhost using tomcat RemoteAddrFilter

2012-09-24 Thread jaikit
One of the platform team's filter was overriding the remote address with actual ip :( I removed their filter and verified. Apologies and thanks everyone for their time. Thanks On 9/24/12 11:58 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaikit, On 9/22/12

Re: Problem with hosting mulitple websites on single tomcat 7

2012-09-24 Thread Pradeep
Hi Konstantin , Here are the details , 1. Tomcat Version - Server version: Apache Tomcat/7.0.21 2. It is Standalone 3. I am just using default setting , it is running on 8080 , Only thing ,i have added following entries to forward all 80 requests to 8080