Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-14 Thread André Warnier
Pid * wrote: On 13 May 2012, at 20:33, André Warnier a...@ice-sa.com wrote: Pid wrote: On 11/05/2012 18:53, Vickie Troy-McKoy wrote: Hi, I am in need of a little help. I have 2 tomcat instances running on the same machine and one apache instance running on a different machine. I configured

Re: IE caching problem-

2012-05-14 Thread André Warnier
chris derham wrote: never had this problem when i deployed to SolarisI'll try again tommorrow when i have a REAL Operating System to deploy my webapp So you have a web app, serving up web pages, that are being cached in a browser. The browser is not refreshing, for reasons unknown. You

Cluster and SSO

2012-05-14 Thread Riccardo Venittelli
Hello to all, i'm using apache tomcat 7.0.25 with cluster configuration, apache server 2.2 for load balancing and SSO (tomcat) for authentication. With SimpleTcpCluster, DeltaManager and ClusterSingleSignOn configuration all works fine but if i use BackupManger SSO authentication fail. I attach

Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread rohit patil
Hi All, I have written the below piece of code (NewServlet.java) to try the Servlet 3.0 async feature. But it is failing by throwing up the below mentioned error. Tomcat Version: 7.0.27 (32 bit) OS: Windows 7 java.lang.IllegalStateException: Not supported. at

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread Konstantin Kolinko
2012/5/14 rohit patil sparkb...@gmail.com: Hi All, I have written the below piece of code (NewServlet.java) to try the Servlet 3.0 async feature. But it is failing by throwing up the below mentioned error. Tomcat Version: 7.0.27 (32 bit) OS: Windows 7 java.lang.IllegalStateException: Not

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread rohit patil
Thanks for replying, 1. I do not have any filters configured. 2. Yes my web.xml does mark themselves as adhering to the Sevlet 3.0 specification 3. Yes apps under http://localhost:8080/examples/jsp/ also does NOT work, they also throw up the same exception. Here is the stack trace

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread Konstantin Kolinko
2012/5/14 rohit patil sparkb...@gmail.com: Thanks for replying, 1. I do not have any filters configured. 2. Yes my web.xml does mark themselves as adhering to the Sevlet 3.0 specification 3. Yes apps under http://localhost:8080/examples/jsp/ also does NOT work, they also throw up the same

Re: IE caching problem-

2012-05-14 Thread Pid
On 14/05/2012 02:37, Martin Gainty wrote: i plan to run the windows IE code in Solaris thru WINE Eh?! How will that help? /rhetorical p thanks again, Martin From: mgai...@hotmail.com To: users@tomcat.apache.org Subject: RE: IE caching problem- Date: Sun, 13 May 2012 21:21:11

Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
Hi! I configured the Manager's maxActiveSessions attribute in context.xml. If the configured value is exceeded an IllegalStateException createSession: Too many active sessions is thrown in ManagerBase class. In our application we catch this exception around httpServletRequest.getSession(true)

Re: Manager activeSessions and customized error page

2012-05-14 Thread Konstantin Kolinko
2012/5/14 Thomas Rohde t...@ordix.de: Hi! I configured the Manager's maxActiveSessions attribute in context.xml. If the configured value is exceeded an IllegalStateException createSession: Too many active sessions is thrown in ManagerBase class. In our application we catch this exception

How to start a continuous java application in tomcat

2012-05-14 Thread Rishad Ali
Hi, The scenario is: I have a java application which collects some data from sensors and stores in the database. This java application has to run continuously. On the other hand I have a web application which I am running on tomcat which collects the data from database and display it on the

Re: Servlet 3.0 async NOT working on Tomcat 7.0.27 on Windows

2012-05-14 Thread rohit patil
Hi I undid the changes i had done in server.xml and that seems to fix the issue. Connector connectionTimeout=2 port=8084 protocol=HTTP/1.1 redirectPort=8443/ !--Connector connectionTimeout=2 port=8084 protocol=org.apache.coyote.http11.Http11NioProtocol redirectPort=8443/-- could you

AW: Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von:Konstantin Kolinko knst.koli...@gmail.com Gesendet: Mo 14.05.2012 15:00 Betreff:Re: Manager activeSessions and customized error page An: Tomcat Users List users@tomcat.apache.org; 2012/5/14 Thomas Rohde t...@ordix.de: Hi! I

Re: How to start a continuous java application in tomcat

2012-05-14 Thread Hassan Schroeder
On Mon, May 14, 2012 at 6:46 AM, Rishad Ali rishad@turnkey-instruments.com wrote: I have a java application which collects some data from sensors and stores in the database. This java application has to run continuously. On the other hand I have a web application which I am running on

RE: How to start a continuous java application in tomcat

2012-05-14 Thread Rishad Ali
Hi Hassan, I don't want to run mash them. I just want to run the java application. On the local server it is working fine but when I try it in the dedicated linux server it does not work. Thank you -Original Message- From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] Sent: 14 May

Re: How to start a continuous java application in tomcat

2012-05-14 Thread Hassan Schroeder
On Mon, May 14, 2012 at 7:33 AM, Rishad Ali rishad@turnkey-instruments.com wrote: I don't want to run mash them. I just want to run the java application. On the local server it is working fine but when I try it in the dedicated linux server it does not work. WTF does not work mean? This

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/12/12 6:24 PM, Konstantin Kolinko wrote: I remember seeing someone adding a few KBs of HTML comments into the error page, because that suppresses this behaviour of IE. +1 Looks like 512 bytes of response is the magic number for

Re: Slow downloads through mod_jk on Windows XP

2012-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy, On 5/10/12 6:36 PM, Andy Wang wrote: Direct to apache http: Transfer rate: 21925.90 [Kbytes/sec] received Through AJP: Transfer rate: 36732.95 [Kbytes/sec] received Direct to tomcat http: Transfer rate:

Re: AW: Manager activeSessions and customized error page

2012-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 5/14/12 9:44 AM, Thomas Rohde wrote: A Filter was my first approach. But the filter is invoked after authentication has taken place. And for authentication a session is needed. ;-) Right: the form authenticator is in a Valve and

Re: Slow downloads through mod_jk on Windows XP

2012-05-14 Thread Andy Wang
On 05/11/2012 04:51 AM, Mladen Turk wrote: I was following this tread and was hoping that someone will say: Do not use workstation grade software for server applications but no. XP (Win7 falls in the same category) has good network stack but focused on client applications. There is a good

Re: AW: Manager activeSessions and customized error page

2012-05-14 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/05/2012 16:58, Christopher Schultz wrote: Thomas, On 5/14/12 9:44 AM, Thomas Rohde wrote: A Filter was my first approach. But the filter is invoked after authentication has taken place. And for authentication a session is needed. ;-)

AW: Manager activeSessions and customized error page

2012-05-14 Thread Thomas Rohde
-Ursprüngliche Nachricht- Von:Mark Thomas ma...@apache.org Gesendet: Mo 14.05.2012 18:25 Betreff:Re: AW: Manager activeSessions and customized error page An: Tomcat Users List users@tomcat.apache.org; -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 14/05/2012

Re: How to start a continuous java application in tomcat

2012-05-14 Thread Pid
On 14/05/2012 15:41, Hassan Schroeder wrote: On Mon, May 14, 2012 at 7:33 AM, Rishad Ali rishad@turnkey-instruments.com wrote: I don't want to run mash them. I just want to run the java application. On the local server it is working fine but when I try it in the dedicated linux server

Re: How to start a continuous java application in tomcat

2012-05-14 Thread Hassan Schroeder
On Mon, May 14, 2012 at 11:48 AM, Pid p...@pidster.com wrote: .oO( another chance to post the smart questions link ) Now that mail clients are smart enough e.g. to prompt the user if the message contains the word attachment but nothing is attached, maybe we should lobby for a check against

Tomcat - Slowloris

2012-05-14 Thread Peter Zola
1. Is Apache Tomcat version 7.0.27 (or any version) susceptible to Slowloris (Dos) attack? 2. If tomcat is susceptible to Slowloris, how to fix it. Thanks.

Re: Tomcat - Slowloris

2012-05-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 5/14/12 3:20 PM, Peter Zola wrote: 1. Is Apache Tomcat version 7.0.27 (or any version) susceptible to Slowloris (Dos) attack? 2. If tomcat is susceptible to Slowloris, how to fix it. I believe all web servers are vulnerable to

RE: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-14 Thread Vickie Troy-McKoy
Date: Mon, 14 May 2012 10:37:07 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Multiple tomcat Instances on Same Server and One Apache Instance Pid * wrote: On 13 May 2012, at 20:33, André Warnier a...@ice-sa.com wrote: Pid wrote: On 11/05/2012 18:53,

Re: How to start a continuous java application in tomcat

2012-05-14 Thread André Warnier
Rishad Ali wrote: Hi Hassan, I don't want to run mash them. I just want to run the java application. On the local server it is working fine but when I try it in the dedicated linux server it does not work. Thank you Ali, you have not so far provided much information that would enable anyone to

Re: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-14 Thread André Warnier
Apologies, I probably confused you too. See below. Vickie Troy-McKoy wrote: ... When I call abc*, it goes to instance1; and when I call xyz*, it goes to instance2. However, both instances have apps that start with tsa. How do I configure the apache webserver to service the tsa app for

Re: IE 9 ignoring my custom error pages with 404 codes

2012-05-14 Thread Kiran Badi
Thanks everyone, I added lot of comments and now my custom error page is close to 1kb and this resolved my issue. Now I am battling another weird issue,maybe again I need help of community till I come to some speed. On 5/14/2012 9:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED

Links not resolving to their correct path in TC 7.0.27

2012-05-14 Thread Kiran Badi
Hi, I have installed tomcat 7.0.27 on Windows Home premium 32 bit system with JDK 1.6.32. The tomcat is running successfully as service.I can access the home page of tomcat along with manager application. I deployed my application war file via manager application.The war file was pulled

RE: Multiple tomcat Instances on Same Server and One Apache Instance

2012-05-14 Thread Vickie Troy-McKoy
Date: Tue, 15 May 2012 01:18:06 +0200 From: a...@ice-sa.com To: users@tomcat.apache.org Subject: Re: Multiple tomcat Instances on Same Server and One Apache Instance Apologies, I probably confused you too. See below. Vickie Troy-McKoy wrote: ... When I call abc*, it goes to

Re: Links not resolving to their correct path in TC 7.0.27

2012-05-14 Thread Kiran Badi
Sorry fixed it, it was my fault. Base tag was pointing to 8080.Make sense now. On 5/15/2012 5:27 AM, Kiran Badi wrote: Hi, I have installed tomcat 7.0.27 on Windows Home premium 32 bit system with JDK 1.6.32. The tomcat is running successfully as service.I can access the home page of tomcat

HTTP 500.0 on IIS7.5 + JK1.2.36 + TC7.0.26

2012-05-14 Thread Tommy Pham
Hi, I'm trying to get the connector (JK 1.2.36) to work for IIS7.5 (Windows 7 Enterprise) but keep on running into HTTP 500.0 Error following the documentation [1]: Error Summary HTTP Error 500.0 - Internal Server Error Calling GetFilterVersion on ISAPI filter