Re: Filtering HTTP OPTIONS request method from logs?

2013-09-17 Thread Jim Barber
On 17/09/2013 5:05 PM, André Warnier wrote: Jim Barber wrote: All, On 16/09/2013 10:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim

WebSocket message size limits

2013-09-17 Thread Igor Urisman
Dear All, I am looking for help in understanding why the size of the inbound WebSocket message is limited to 125 bytes. I realize that this may not even be the right place for my question, but am still hoping for a clue. >From looking at the RFC 6455, Sec. 5.2 Base Framing Protocol, I am making

Apache Tomcat 8.0.0-RC2

2013-09-17 Thread jieryn
I'm trying out the new Apache Tomcat 8.0.0-RC2 with some existing web applications that work fine under Apache Tomcat 8.0.0-RC1. I am now seeing literally thousands of warning messages at start up time: 17-Sep-2013 20:19:40.346 WARNING [hostname-startStop-1] org.apache.catalina.webresources.Cache

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 4:18 PM, Daniel Mikusa wrote: > On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > >> On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: >> >>> What is your purpose with this configuration and with this setup? It's a >>> legit setup, but may not be doing what you want

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 4:33 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa > wrote: > >> I would disagree with this conclusion. In your test setup you >> absolutely need this. In production, you don't need HTTPD >> becau

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa wrote: > I would disagree with this conclusion. In your test setup you absolutely > need this. In production, you don't need HTTPD because you have a > dedicated hardware load balancer. Unless you have one of those on your > desk, you need HTTPD to

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 3:39 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa > wrote: > >> What is your purpose with this configuration and with this setup? >> It's a legit setup, but may not be doing what you want. >> >> T

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > What is your purpose with this configuration and with this setup? It's a > legit setup, but may not be doing what you want. > > Typically you would use mod_proxy & mod_proxy_balancer (or mod_jk) to > front a cluster of Tomcat servers. In p

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > >> What is your purpose with this configuration and with this setup? It's a >> legit setup, but may not be doing what you want. >> >> Typically you would use mod_proxy & mod_proxy_balan

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:08 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > >> How do you have HTTPD configured? It's important to get this right. >> > > The tomcats are running on 8081 and 8083 and apache is listening on 8080 > and 8082, with each one proxied

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > How do you have HTTPD configured? It's important to get this right. > The tomcats are running on 8081 and 8083 and apache is listening on 8080 and 8082, with each one proxied to the corresponding tomcat instance. I think these are the relev

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 1:21 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R < > chuck.caldar...@unisys.com> wrote: > >>> telnet connects fine... >> >> ??? Previously, you stated: "telnet reports Connection refused". Which is >> it? > > > Apologies for not speci

Re: Deploy a website downloaded from internet using wget (Tomcat 8.0 RC)

2013-09-17 Thread Nicholas Violi
Hi Vikram, > But I want to do in this manner that I want to access "test.org" locally > from my browser as if I am browsing on the internet because links in > the test.org refers to itself. Because when I click any link it goes to > Internet > and not to my locally saved website. > You should be

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > telnet connects fine... > > ??? Previously, you stated: "telnet reports Connection refused". Which is > it? Apologies for not specifying. My first test was "telnet localhost 4000", which refused the c

Re: Deploy a website downloaded from internet using wget (Tomcat 8.0 RC)

2013-09-17 Thread Albert Kam
Why not create a local copy with the links converted ? Take a look at http://stackoverflow.com/questions/6348289/download-a-working-local-copy-of-a-webpage On Wed, Sep 18, 2013 at 12:09 AM, Vikram Singh wrote: > Hi > > I downloaded a website say "test.org" using wget utility. Now I want to > de

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Nicholas Violi [mailto:nvi...@globalgiving.org] > Subject: Re: Problems with Clustering / Session Replication > telnet connects fine... ??? Previously, you stated: "telnet reports Connection refused". Which is it? > > Are you sure you don't have a firewall? > Double checked that my ma

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Problems with Clustering / Session Replication > While the above is true, OP originally said that everything was on > localhost. Note the IP address reported by the OP's netstat: 192.168.1.243. That's decidedly no

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 12:08 PM, Daniel Mikusa wrote: > Good! Since Tomcat is listening on the ports, you just need to figure out > why you can't connect to them. You should be able to telnet to the ports. > Try: telnet 192.168.1.243 4000 and telnet 192.168.1.243 4001. > telnet connects fine

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 9/17/13 12:25 PM, Caldarale, Charles R wrote: >> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Subject: Re: >> Problems with Clustering / Session Replication > >> Are you sure you don't have a firewall? > > Remember that a firewall

Deploy a website downloaded from internet using wget (Tomcat 8.0 RC)

2013-09-17 Thread Vikram Singh
Hi I downloaded a website say "test.org" using wget utility. Now I want to deploy in Apache Tomcat 8.0 RC. That I have done it. But I want to do in this manner that I want to access "test.org" locally from my browser as if I am browsing on the internet because links in the test.org refers to itse

RE: any update on an anticipated release date for 7.0.43?

2013-09-17 Thread Bob DeRemer
> -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Tuesday, September 17, 2013 11:49 AM > To: Tomcat Users List > Subject: Re: any update on an anticipated release date for 7.0.43? > > On 17/09/2013 15:53, Bob DeRemer wrote: > > Has a decision (even tentative) bee

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-17 Thread Mavenpol Saulon
Thank you all for your help. It just came to a point where I just had to delete the old keystore and create a new one, and request for new certificates. Now everything's working. On Tue, Sep 17, 2013 at 9:58 AM, Jan Vávra wrote: > Maybe it'd helpful not using the java key store (JKS). > Persona

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> From: Daniel Mikusa [mailto:dmik...@gopivotal.com] > Subject: Re: Problems with Clustering / Session Replication > Are you sure you don't have a firewall? Remember that a firewall could be on the server, the client, or anywhere in between. The OP should first see if a connection can be made

Re: any update on an anticipated release date for 7.0.43?

2013-09-17 Thread Mark Thomas
On 17/09/2013 15:53, Bob DeRemer wrote: > Has a decision (even tentative) been made on when 7.0.43 GA (w/ jsr 356) will > release? Just curious if this will be before the end of September. The native release this was blocked by has now happened. Running the unit tests has identified a series of

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:32 AM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > >> >> Please don't top post. Either reply at the bottom or reply inline. That >> is the convention we try to follow on this list. >> > > Sorry & thanks. > > Can your run netstat a

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > > Please don't top post. Either reply at the bottom or reply inline. That > is the convention we try to follow on this list. > Sorry & thanks. Can your run netstat and see if anything is listening on those ports? > "netstat -tln" should

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-17 Thread Jan Vávra
Maybe it'd helpful not using the java key store (JKS). Personally on Linux Tomcat installations without native APR I use the .p12 files with this config maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile=${catalina.hom

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:10 AM, Nicholas Violi wrote: > Hi Daniel, Please don't top post. Either reply at the bottom or reply inline. That is the convention we try to follow on this list. > Thanks for the response. It seems that the ports (you're correct, 4000 and > 4001) aren't open; telnet r

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 9:59 AM, Nicholas Violi wrote: > Hello, > I'm setting up clustering/replication on Tomcat 7 on my local machine, to > evaluate it for use with my environment/codebase, and sessions don't appear > to be replicating. Hopefully I've provided enough information below, but > please

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
Hi Daniel, Thanks for the response. It seems that the ports (you're correct, 4000 and 4001) aren't open; telnet reports Connection refused and nmap lists the ports as closed. Shouldn't tomcat be opening them? I'm not running a firewall or anything. I'll come back to your questions about my apache

any update on an anticipated release date for 7.0.43?

2013-09-17 Thread Bob DeRemer
Has a decision (even tentative) been made on when 7.0.43 GA (w/ jsr 356) will release? Just curious if this will be before the end of September. Thanks, Bob - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For addi

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 9:59 AM, Nicholas Violi wrote: > Hello, I'm setting up clustering/replication on Tomcat 7 on my > local machine, to evaluate it for use with my environment/codebase, > and sessions don't appear to be replicating. Hopefully I've

Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
Hello, I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase, and sessions don't appear to be replicating. Hopefully I've provided enough information below, but please let me know if you have any more questions. ___Setup___ I ha

Re: Multi-URL Access 1 Webapp

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 9/16/13 3:42 PM, Chris Arnold wrote: > Chris, > > >>> If you just need 1 deployed webapp, then simply change your >>> webapp to sniff the client's name from the URL. You don't need >>> to change anything: you still only need one (default

Re: Fwd: Atcafe.loopmobile.in

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Poonam, On 9/16/13 7:35 PM, Poonam Vishal wrote: > -- Forwarded message -- From: Poonam Vishal > Date: Tue, Sep 17, 2013 at 11:19 AM Subject: > Atcafe.loopmobile.in To: users@tomcat.apache.org > > > Hi > > I am using Mobile and w

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ognjen, On 9/17/13 4:37 AM, Ognjen Blagojevic wrote: > Mavenpol, > > On 16.9.2013 22:47, Mavenpol Saulon wrote: >> This server where I imported the certificates and has been >> encountering errors is just one of the servers that are >> configured t

[ANN] Apache Tomcat Native 1.1.28 released

2013-09-17 Thread Mladen Turk
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.1.28 stable. Please refer to the change log for the list of changes: http://tomcat.apache.org/native-doc/miscellaneous/changelog.html Downloads: http://tomcat.apache.org/download-native.cgi The Apache Tomcat N

Re: Filtering HTTP OPTIONS request method from logs?

2013-09-17 Thread André Warnier
Jim Barber wrote: All, On 16/09/2013 10:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 9/16/13 10:25 AM, Felix Schumacher wrote: Am Montag, den 16.09.2013, 10:02 -0400 schrieb Christopher Schultz: Jim, On 9/16/13 3:42 AM, Jim Barber wrote: I'm

Re: Tomcat 7 SSL Setup: ERR_CONNECTION_REFUSED

2013-09-17 Thread Ognjen Blagojevic
Mavenpol, On 16.9.2013 22:47, Mavenpol Saulon wrote: This server where I imported the certificates and has been encountering errors is just one of the servers that are configured to run SSL. All of the other servers have the same setup except for the "keytool -delete.." that I used in this parti