AW: Tomcat closes a websocket connection with an error

2015-12-09 Thread Daniel Kretz
Thanks for your answer. But if it is a firewall, that drops the connection, why not for the websocket ws://echo.websocket.org which is not hosted on a Tomcat server? What has this websocket what the websocket on a tomcat server not have? I would agree with you if the connection of other

Re: Today's Apache Tomcat: TLS Virtual Hosting webinar is now available on YouTube

2015-12-09 Thread tomcat
On 09.12.2015 01:13, Yu, Yujin wrote: Hi, Please kindly remove myself in this e-mail group. Please see instructions for that at the bottom of *each message* on this list. ... - To unsubscribe, e-mail:

Re: Creating another Tomcat copy in hot stand-by when original goes down.

2015-12-09 Thread Kernel freak
Hi everyone, @Andre : Yes, the material is quite enough, I am using a AJP connector and as Spring-security automatically rewrites/redirects to https, that is not the problem I am having. The problem is that even if *one* Tomcat is going down, the whole setup is dying, Not the point of this task.

Re: Custom Connector class

2015-12-09 Thread Mark Thomas
On 09/12/2015 11:13, Roel Storms wrote: > Hello, > > In Tomcat 4.1 it used to be possible to specify a custom class for the > Connector: https://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html > > In the newest versions it's only possible to provide a custom Protocol. > However I would like

Re: Tomcat Thread Dump

2015-12-09 Thread Konstantin Kolinko
2015-12-09 10:09 GMT+03:00 Yogesh Patel : > *Tomcat version* : 7.0.53 > *OS *: Windows 7 > > We are using tomcat as standalone application not as service, In task > manager it does not showing PID for Tomcat. How to get PID of that tomcat > in order to take tomcat thread

Re: AW: Tomcat closes a websocket connection with an error

2015-12-09 Thread Mark Thomas
On 09/12/2015 10:13, Daniel Kretz wrote: > Thanks for your answer. > > But if it is a firewall, that drops the connection, why not for the > websocket ws://echo.websocket.org which is not hosted on a Tomcat server? > What has this websocket what the websocket on a tomcat server not have? Regular

Re: Custom Connector class

2015-12-09 Thread Konstantin Kolinko
2015-12-09 14:13 GMT+03:00 Roel Storms : > Hello, > > In Tomcat 4.1 it used to be possible to specify a custom class for the > Connector: https://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html > > In the newest versions it's only possible to provide a custom Protocol. >

Re: Custom Connector class

2015-12-09 Thread tomcat
On 09.12.2015 14:03, Roel Storms wrote: The real requirement is being able to process the body of a request in a Valve without restricting the servlet to call request.getInputStream, getReader and getStream. I have tried by wrapping the request but some behavior can't be masked. It is also much

Re: Custom Connector class

2015-12-09 Thread Roel Storms
The real requirement is being able to process the body of a request in a Valve without restricting the servlet to call request.getInputStream, getReader and getStream. I have tried by wrapping the request but some behavior can't be masked. It is also much more simple to implement by just extending

Custom Connector class

2015-12-09 Thread Roel Storms
Hello, In Tomcat 4.1 it used to be possible to specify a custom class for the Connector: https://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html In the newest versions it's only possible to provide a custom Protocol. However I would like to modify the Request that is created by the

Failover not working even after configuration.

2015-12-09 Thread Kernel freak
I am working on Apache and tomcat to setup Load-balancing and fail-over. Initially I thought that load-balancing would include fail-over, but I was wrong. I thought that if one instance is not active, then consuming other instance also becomes a part of load-management. Enough with the

RE: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Cris Berneburg - US
Aww phooey, I missed it! I set my reminder incorrectly and ended up trying to sign in 20 minutes late. By the time I did sign in, the place was empty. “Hello, anybody there?” -- Cris Berneburg, Lead Software Engineer CACI, IRMA Project, 703-679-5313 From: Mark Thomas

Re: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Mark Thomas
On 09/12/2015 13:39, Cris Berneburg - US wrote: > Aww phooey, I missed it! I set my reminder incorrectly and ended up trying > to sign in 20 minutes late. By the time I did sign in, the place was empty. > “Hello, anybody there?” All is not lost:

Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread Chiranga Alwis
Hi, I have been attempting to extend the Single Sign On feature of Apache Tomcat by extending the org.apache.catalina.authenticator.SingleSignOn class. My attempt is to create a Java Maven project extending the above class which outputs a jar and add the resultant jar file to the

Re: Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread kidambi madhu
Hi Chiranga, Are you providing the SSO feature as a server side single Sign on or as a Servlet that can be used as a Controller in the desired apps to enable Application SSO? Regards, Madhu On Wed, Dec 9, 2015 at 8:43 PM, Chiranga Alwis wrote: > Hi, > > I have been

Re: Failover not working even after configuration.

2015-12-09 Thread tomcat
On 09.12.2015 15:56, Kernel freak wrote: I am working on Apache and tomcat to setup Load-balancing and fail-over. Initially I thought that load-balancing would include fail-over, but I was wrong. I thought that if one instance is not active, then consuming other instance also becomes a part of

Apache failover configuration not working(Update)

2015-12-09 Thread Kernel freak
Hello friends, I am working on a server-configuration in which I would like to setup load-balancing with fail-over. Unfortunately, I am not having much luck with the process. I will be posting my updated config, so it is easier to understand. Kindly have a look. First Tomcat's server.xml : >

Re: Failover not working even after configuration.

2015-12-09 Thread Kernel freak
Hi, Thank you for finding out that mistake with port-number. What I fail to understand is, where to redirect the AJP request then? Can you tell me that. I am as of now creating additional mail, as I changed the config and added a Cluster in tomcat. I just need to know what's the deal with those

Re: Apache failover configuration not working(Update)

2015-12-09 Thread Kernel freak
Yes, I can do that, but Spring-security switches back and forth http/https depending upon the security-configuration in webapp, that's why I have not removed it. What do you mean by your worker members should appear in workers.properties? File: workers.properties worker.list=loadbalancer

Re: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Rainer Frey (Inxmail GmbH)
Hi, > On 08.12.2015, at 11:41, Mark Thomas wrote: > The meetings are currently set up so you have to use a telephone to > connect to the audio. You can either dial in or get the system to call > you back. I am pretty sure that I have attended webex meetings with audio in the

Re: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Mark Thomas
On 09/12/2015 15:39, Rainer Frey (Inxmail GmbH) wrote: > Hi, > >> On 08.12.2015, at 11:41, Mark Thomas wrote: >> The meetings are currently set up so you have to use a telephone to >> connect to the audio. You can either dial in or get the system to call >> you back. > > I am

Re: Apache failover configuration not working(Update)

2015-12-09 Thread Mikel Ibiricu
Hi I was reading your previous message and Andre's reply and I could not figured out why you don't manage https certificates in Apache Httpd and take all its configuration out of the tomcats. Second way, not sure about that, it's been a while since the last time I used a load balancer, but

Re: Custom Connector class

2015-12-09 Thread Christopher Schultz
Roel, On 12/9/15 8:03 AM, Roel Storms wrote: > The real requirement is being able to process the body of a request in a > Valve without restricting the servlet to call request.getInputStream, > getReader and getStream. I have tried by wrapping the request but some > behavior can't be masked. It

Re: Creating another Tomcat copy in hot stand-by when original goes down.

2015-12-09 Thread Christopher Schultz
Akshay, On 12/9/15 5:33 AM, Kernel freak wrote: > @Andre : Yes, the material is quite enough, I am using a AJP connector and > as Spring-security automatically rewrites/redirects to https, that is not > the problem I am having. The problem is that even if *one* Tomcat is going > down, the whole

Re: WebEx meeting invitation: Apache Tomcat: TLS Virtual Hosting

2015-12-09 Thread Christopher Schultz
Mark, On 12/9/15 8:46 AM, Mark Thomas wrote: > On 09/12/2015 13:39, Cris Berneburg - US wrote: >> Aww phooey, I missed it! I set my reminder incorrectly and ended up trying >> to sign in 20 minutes late. By the time I did sign in, the place was empty. >> “Hello, anybody there?” > > All is

Re: Failover not working even after configuration.

2015-12-09 Thread tomcat
On 09.12.2015 17:02, Kernel freak wrote: Hi, Thank you for finding out that mistake with port-number. What I fail to understand is, where to redirect the AJP request then? Why would you need to ? Again : Your AJP (in Tomcat) will *never* receive requests that are HTTPS. It expects (and

Frequent tomcat outages

2015-12-09 Thread Akbar Thanakalacheruvu
Hi We are using Tomcat 7.0.62 (with JVM version 1.7.0_79-b15) in our production servers. This web server has 16 GB RAM and out of which we allocated 12 GB RAM (xms and xmx) to tomcat (through Tomcat7w.exe). When I monitor tomcat manager application, I see that "CMS old Gen" is increasing

Re: Frequent tomcat outages

2015-12-09 Thread Mark Thomas
On 09/12/2015 21:36, Akbar Thanakalacheruvu wrote: > Hi > > We are using Tomcat 7.0.62 (with JVM version 1.7.0_79-b15) in our production > servers. This web server has 16 GB RAM and out of which we allocated 12 GB > RAM (xms and xmx) to tomcat (through Tomcat7w.exe). > When I monitor tomcat

Re: Frequent tomcat outages

2015-12-09 Thread Christopher Schultz
Mark, On 12/9/15 4:51 PM, Mark Thomas wrote: > On 09/12/2015 21:36, Akbar Thanakalacheruvu wrote: >> Hi >> >> We are using Tomcat 7.0.62 (with JVM version 1.7.0_79-b15) in our production >> servers. This web server has 16 GB RAM and out of which we allocated 12 GB >> RAM (xms and xmx) to tomcat

tomcat embedded / hcr within a maven environment

2015-12-09 Thread Tobias Soloschenko
Hello everyone, is anyone able to give me a little hint about what I can do to automatically deploy changes made in java files to an embedded tomcat? (hot code replacement). Maybe it is a m2e related topic, but I just try to figure out. Currently I am starting a Runner class in test scope to

Re: Tomcat Thread Dump

2015-12-09 Thread 侯树成
You can use the java tool *jps*, this is a command tool. When use like this : jps -lv , you can get detail infomation of all java instance.Hope help to you. 2015-12-09 19:28 GMT+08:00 Konstantin Kolinko : > 2015-12-09 10:09 GMT+03:00 Yogesh Patel

Re: Apache failover configuration not working(Update)

2015-12-09 Thread Christopher Schultz
Akshay, On 12/9/15 11:24 AM, Kernel freak wrote: > I am working on a server-configuration in which I would like to setup > load-balancing with fail-over. Unfortunately, I am not having much luck > with the process. I will be posting my updated config, so it is easier to > understand. Kindly have

Re: Extending Apache Tomcat's Single Sign On feature with org.apache.catalina.authenticator.SingleSignOn

2015-12-09 Thread Chiranga Alwis
Hi kidambi, In my understanding (since I am new to most of these technologies), this SSO feature is provided as a server side single sign on feature. To be more descriptive, I am intending to use this as a valve in server.xml of Tomcat distribution instead of the existing, default SingleSignOn