Re: "Info: WebSocket connection closed, Code: 1006" when try to run websocket sample

2015-04-24 Thread Thusitha Thilina Dayaratne
Hi, First I would like to apologize for the inconvenience. On 4/24/15 7:40 AM, Thusitha Thilina Dayaratne wrote: > Furthermore I've tried following things out and both options works > without issue. > > 1. Running tomcat distributed examples in my server 2. Running the > war file that I built insi

Re: All Status is "S" Tomcat manager

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jian, On 4/24/15 10:17 AM, Jian Wu wrote: > I am running a website with a load balancer (software) and three > web servers, each of which deploys an instance of Tomcat 7. Just to be clear, you have a single load-balancer, 3 web servers (httpd?), an

Re: [OT] Sending HTTP Trailers from a client (not servlet)

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/24/15 10:17 AM, André Warnier wrote: > No, but I tried. But everything I found seems to say that such > trailers are really rarely used, and that's probably why you are > not getting any echo. > > I believe that initially you mentione

Re: [OT] Sending HTTP Trailers from a client (not servlet)

2015-04-24 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Bump. Anyone? No, but I tried. But everything I found seems to say that such trailers are really rarely used, and that's probably why you are not getting any echo. I believe that initially you mentioned that y

All Status is "S" Tomcat manager

2015-04-24 Thread Jian Wu
Hi, I am running a website with a load balancer (software) and three web servers, each of which deploys an instance of Tomcat 7. While the other two web servers look OK, there is one web server which often gives me trouble after restarting Tomcat. Basically, the maxThread (2000) is reached and th

Re: [OT] Sending HTTP Trailers from a client (not servlet)

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, Bump. Anyone? - -chris On 4/18/15 12:19 PM, Christopher Schultz wrote: > All, > > I've got a perfect use-case for HTTP trailers but it doesn't seem > like any existing client (e.g. HttpURLConnection, HttpClient) has > support for them on th

Re: Apache Tomcat jk connector 400 bad request

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, On 4/24/15 9:34 AM, Razi Ansari wrote: > >> Date: Fri, 24 Apr 2015 09:15:29 -0400> From: >> ch...@christopherschultz.net To: users@tomcat.apache.org Subject: >> Re: Apache Tomcat jk connector 400 bad request >> > Razi, > > (What email progr

Re: Where are my non-persistent sessions stored ?

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 4/24/15 9:29 AM, David kerber wrote: > On 4/24/2015 9:21 AM, Christopher Schultz wrote: Sreyan, > > On 4/23/15 9:24 AM, Sreyan Chakravarty wrote: I beg to differ but every time a new request is sent to the server, Tomcat creates

Re: "Info: WebSocket connection closed, Code: 1006" when try to run websocket sample

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thusitha, On 4/24/15 7:40 AM, Thusitha Thilina Dayaratne wrote: > Furthermore I've tried following things out and both options works > without issue. > > 1. Running tomcat distributed examples in my server 2. Running the > war file that I built ins

Re: Tomcat Thread issue

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felix, On 4/24/15 3:19 AM, Felix Schumacher wrote: > Am 24. April 2015 09:08:08 MESZ, schrieb Subhro Paul > : >> >> >> -Subhro Paul wrote: - To: >> users@tomcat.apache.org From: Subhro Paul >> Date: 04/23/2015 06:20PM Subject: Re: Tomca

RE: Apache Tomcat jk connector 400 bad request

2015-04-24 Thread Razi Ansari
> Date: Fri, 24 Apr 2015 09:15:29 -0400> From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Apache Tomcat jk connector 400 bad request > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Razi, > > (What email program are you using? It doesn't seem to understan

Re: Why is Class.forName required to load drivers in Tomcat 8 ?

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 4/23/15 9:22 AM, Sreyan Chakravarty wrote: > So what happens when I add something to the build path of a > web-app? The "build path" is an Eclipse concept that has no meaning after the application has been built. > The dependency is not

Re: Where are my non-persistent sessions stored ?

2015-04-24 Thread David kerber
On 4/24/2015 9:21 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 4/23/15 9:24 AM, Sreyan Chakravarty wrote: I beg to differ but every time a new request is sent to the server, Tomcat creates a new session for it. So yes Tomcat creates a session even i

Re: Apache Tomcat jk connector 400 bad request

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, On 4/22/15 9:41 PM, Razi wrote: > -Original Message- From: Christopher Schultz Sent: > Thursday, April 23, 2015 8:03 AM To: Tomcat Users List Subject: Re: > Apache Tomcat jk connector 400 bad request > > Razi, > > On 4/22/15 6:39 PM,

Re: Where are my non-persistent sessions stored ?

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 4/23/15 9:24 AM, Sreyan Chakravarty wrote: > I beg to differ but every time a new request is sent to the server, > Tomcat creates a new session for it. So yes Tomcat creates a > session even if the application does not ask for it. This i

Re: Tomcat 6.0.37 on As400 don't work more

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Buon Giorno, On 4/23/15 10:06 AM, gio.cot wrote: > this morning (without in appearance have done nothing) I don't > succeed to run my applications Web installed on Tomcat on As400. > If I open the Tomcat console I see listed only the application

Re: Apache Tomcat jk connector 400 bad request

2015-04-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Razi, (What email program are you using? It doesn't seem to understand mailing lists because your replies don't include the thread-id required to properly-group mailing list threads. That's pretty frustrating because all your messages look separate

Re: Apache Tomcat jk connector 400 bad request

2015-04-24 Thread Razi
hi Christopher, I checked up on the firewall, there is none between the webserver and the jboss application server. I had enabled the trace in modjk.log and found the following entries, with KeepAliveTimeout set to 5 Apr21 15:31:53 2015 [4023:140648883541760][trace]ajp_read_fully_from_serv

Re: How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Mark Thomas
On 24/04/2015 12:25, Thusitha Thilina Dayaratne wrote: > Hi, > > Could someone tell me how does Tomcat identify the websocket endpoints in > .war file? > Does it scan all the classes and looks for annotations? Yes, as required by the WebSocket 1.1 spec. Mark ---

Re: How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Ganesh Bms
I think, yes. That's why I went for programmatic endpoint. On Fri, Apr 24, 2015 at 4:55 PM, Thusitha Thilina Dayaratne < thusithathil...@gmail.com> wrote: > Hi, > > Could someone tell me how does Tomcat identify the websocket endpoints in > .war file? > Does it scan all the classes and looks for

Re: "Info: WebSocket connection closed, Code: 1006" when try to run websocket sample

2015-04-24 Thread Thusitha Thilina Dayaratne
Hi, Hi, > Hi, > > I've embedded tomcat 8.0.20 and using that. I build the tomcat websocket > example and when I'm trying to run it in my server for all 4 examples > (Echo, chat, etc..) > I'm getting > >> Info: WebSocket connection closed, Code: 1006 > > > In the console it prints > > WebSocket co

How does Tomcat identify web socket endpoint in a war?

2015-04-24 Thread Thusitha Thilina Dayaratne
Hi, Could someone tell me how does Tomcat identify the websocket endpoints in .war file? Does it scan all the classes and looks for annotations? Thanks Best Regards --

Re: Tomcat Thread issue

2015-04-24 Thread Felix Schumacher
Am 24. April 2015 09:08:08 MESZ, schrieb Subhro Paul : > > >-Subhro Paul wrote: - >To: users@tomcat.apache.org >From: Subhro Paul >Date: 04/23/2015 06:20PM >Subject: Re: Tomcat Thread issue > >-Daniel Mikusa wrote: - >To: Tomcat Users List >From: Daniel Mikusa >Date: 04/23/20

Re: Tomcat Thread issue

2015-04-24 Thread Subhro Paul
-Subhro Paul wrote: - To: users@tomcat.apache.org From: Subhro Paul Date: 04/23/2015 06:20PM Subject: Re: Tomcat Thread issue -Daniel Mikusa wrote: - To: Tomcat Users List From: Daniel Mikusa Date: 04/23/2015 05:01PM Subject: Re: Tomcat Thread issue On Thu, Apr 23, 2015 at