Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread Pid
On 15/03/2010 22:50, mirkocal wrote: Thanks for your answers, but maybe I have not been enaugh clear. What I want is that my web application can be launched asking for www.myapp.it and, in the future, deploy other web apps on the same physical machine under Tomcat, each one responding to a

Re: How to surpress The requested resource XYZ is not available - response

2010-03-16 Thread Pid
On 16/03/2010 02:01, Song Thuy Nguyen wrote: The thing is, I'm using the failover behaviour in Apache Synapse (Enterprise Service Bus). I can give Synapse a list of web service endpoints that have the same interface. One is the primary service endpoint and the others are the backups in case

Re: JMX authentication failure

2010-03-16 Thread Pid
On 16/03/2010 05:22, Mercy wrote: JMX does not need to authenticate for access. No, it doesn't, but that's what you're trying to configure isn't it? My question that is how to enable authentication on Tomcat. You asked how to configure authentication for JMX and Gurkan answered you.

RE: Problem setting up multiple hosts

2010-03-16 Thread puttea
Hi Chuck I have also tried this option whitout the context path and with different appBase Host name=localhost appBase=webapps/OpenClinica unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host Host name=oc3.signifikans.dk

Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Richard John
I want to monitor the Tomcat server remotley with jconsole. I added the properties described in http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8050-Dcom.sun.management.jmxremote.ssl=false

Re: Tomcat 6 on RHEL3

2010-03-16 Thread Peter Crowther
On 16 March 2010 10:02, Ningappa Koneri ningappa.kon...@comviva.com wrote: Dear All, I have an issue with tomcat 6 Version? which is deployed under RHEL3 with JDK5 Version? , the problem is tomcat is taking hell lot of time in deploying the war files when started. It's so busy that

AW: Comet Request identification

2010-03-16 Thread Steffen Heil
Hi I am using a ConcurrentHashMap on event.getHttpServletRequest() and this works quite well. - I am not sure, if this is by occasion or by design though. Regards, Steffen -Ursprüngliche Nachricht- Von: Animesh Sonkar [mailto:akson...@gmail.com] Gesendet: Montag, 15. März 2010 15:30

RE: Tomcat 6 on RHEL3

2010-03-16 Thread Ningappa Koneri
Sorry forgot to mention, it's apache tomcat 6.0.20. Regards, Ningappa Koneri mLifestyle | www.comviva.com -Original Message- From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] On Behalf Of Peter Crowther Sent: Tuesday, March 16, 2010 3:39 PM To: Tomcat Users

Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Gurkan Erdogdu
try service:jmx:rmi:///jndi/rmi://localhost:8050/jmxrmi --Gurkan 2010/3/16 Richard John rich4rd.j...@gmail.com I want to monitor the Tomcat server remotley with jconsole. I added the properties described in http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html set

Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Gurkan Erdogdu
Also remove from CATALINA_OPTS, like this set CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8050 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false 2010/3/16 Gurkan Erdogdu cgurkanerdo...@gmail.com try

Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread mirkocal
Well, I need to install on the same physical machine multiple application running under Tomcat, let's say - MyApp1 - URL www.myapp1.it - MyApp2 - URL www.myapp2.it What I need is that both application can be launched simply asking for respectively www.myapp1.it and www.myapp2.it using port 80.

Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Richard John
was a typo, of course i tried port 8050, but removing the Quotation mark did the trick, thanks! Why are they in the documentation? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread Pid
On 16/03/2010 12:18, mirkocal wrote: Well, I need to install on the same physical machine multiple application running under Tomcat, let's say - MyApp1 - URL www.myapp1.it - MyApp2 - URL www.myapp2.it What I need is that both application can be launched simply asking for respectively

[OT] Sergey A. Yatcenko

2010-03-16 Thread Pid
Is currently winning the prize for most annoying list member. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: jvm exits without trace

2010-03-16 Thread Taylan Develioglu
With parent I meant the main JVM process as opposed to forked processes or threads, sorry to confuse you there. Stracing the threads generates too much data to store so I had to settle with the parent process. To answer your other questions. The code is 100% pure java, why it causes this messy

Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread Electronjockey
I've done this many times. First you need to configure IIS to handle host headers. You can do this one of two ways. You can (a) create multiple virtual sites in IIS or (b) use an ISAPI redirector to simulate virtual hosts. I recommend option (a). Next you have to decide if you can afford to

RE: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread Caldarale, Charles R
From: Electronjockey [mailto:electronjoc...@hotmail.com] Subject: Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll First you need to configure IIS to handle host headers. Actually, the first thing to do is get rid of IIS, since it doesn't appear to be playing any

RE: Problem setting up multiple hosts

2010-03-16 Thread Caldarale, Charles R
From: puttea [mailto:putt...@gmail.com] Subject: RE: Problem setting up multiple hosts Host name=localhost appBase=webapps/OpenClinica unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false /Host Host name=oc3.signifikans.dk

RE: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Caldarale, Charles R
From: Richard John [mailto:rich4rd.j...@gmail.com] Subject: Re: Can't connect remotely to Tomcat via JMX on Windows removing the Quotation mark did the trick, thanks! Why are they in the documentation? The erroneous quotes have been removed in the current doc:

Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll

2010-03-16 Thread Electronjockey
Yes, my error, I just surmised that since he was using IIS with the Tomcat connector that he did in fact have a reason for using it. If that is not the case, then you are correct. The desired result can be achieved by disabling or removing IIS and reconfiguring Tomcat to respond on port 80 and

Re: Can't connect remotely to Tomcat via JMX on Windows

2010-03-16 Thread Richard John
The documentation was correct for Linux / Unix maybe the documentation should point out the difference between Windows and Linux configuration - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Sporadic errors during high load

2010-03-16 Thread Patrik Kudo
Hi all! We run a fairly large web application which we're currently trying to do some load tests on but we're experiencing some sporadic errors which we can't find the cause of. We run a load test scenario using the Proxysniffer load testing tool on a machine connected to the same switch as

Re: Sporadic errors during high load

2010-03-16 Thread Peter Crowther
Thanks for a comprehensive statement of the problem - so many people don't include the basics, let alone the details! A few thoughts inline. On 16 March 2010 13:58, Patrik Kudo k...@pingpong.net wrote: We run a load test scenario using the Proxysniffer load testing tool on a machine connected

Re: jvm exits without trace

2010-03-16 Thread Carl
Taylan, I have had a similar problem that is yet unsolved (see the thread 'Tomcat dies suddenly'.) In my case, the death left a core file which showed the JVM stopped with a seg fault. A week ago yesterday, we switched to the Sun 1.6.0_7 JVM (from 1.6.0_17 and 1.6.0_17) (Chuck suggested

Tomcat httpd - Avoiding Session Fixation Attacks by using Identity Confirmation

2010-03-16 Thread Richard.Paul
I'm trying to avoid session fixation attacks by using Identity Confirmation (invalidating the user's session and creating a new one when they sign in). This works fine when just using Tomcat, however when httpd is handling the requests and forwarding through mod_jk the post signin JSESSIONID is

Setting HTTP Response Headers Through Tomcat Configurations

2010-03-16 Thread Anurag Kapur
Hello, I wanted to poll this group to know if there are any settings/configurations in Tomcat (version 5.5.27) that can set default HTTP response headers, fir example Cache-Control? I know this can be done through application specific code using

Re: [OT] Sergey A. Yatcenko

2010-03-16 Thread Mark Thomas
On 16/03/2010 12:27, Pid wrote: Is currently winning the prize for most annoying list member. Working on it... Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

[OT] Re: jvm exits without trace

2010-03-16 Thread Ognjen Blagojevic
Hi, Tomcat dies suddenly thread was exciting almost as Prison Break TV series. I couldn't wait to find out what would be solution to the problem, and I must admit that just downgrading to lower sub-sub-sub version JVM left me a bit disappointed. :) Regards, Ognjen Carl wrote: Taylan, I

Re: [OT] Re: jvm exits without trace

2010-03-16 Thread David kerber
Ognjen Blagojevic wrote: Hi, Tomcat dies suddenly thread was exciting almost as Prison Break TV series. I couldn't wait to find out what would be solution to the problem, and I must admit that just downgrading to lower sub-sub-sub version JVM left me a bit disappointed. :) Well, I wouldn't

apache responds with 413 for duplicate http header

2010-03-16 Thread Prabhat Karki
Hello, I have apache installed on redhat linux. The version is below Server version: Apache/2.2.11 (Unix) This server is basically accepting requests on port 80. However if the incoming requests has duplicate http headers for the same requests the apache responds with a 413 error. In the example

Re: apache responds with 413 for duplicate http header

2010-03-16 Thread David kerber
Prabhat Karki wrote: Hello, I have apache installed on redhat linux. The version is below Server version: Apache/2.2.11 (Unix) This server is basically accepting requests on port 80. However if the incoming requests has duplicate http headers for the same requests the apache responds with a

Re: apache responds with 413 for duplicate http header

2010-03-16 Thread Peter Crowther
There are lots of Apache projects. You want the mailing list for Apache httpd; this is the mailing list for Apache Tomcat. Try re-posting on a more appropriate list :-) - Peter On 16 March 2010 18:30, Prabhat Karki bruno...@yahoo.com wrote: Hello, I have apache installed on redhat linux.

Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread 2smart4u
Hi guys, long time no see ;) I hope somebody can shed some light here since meanwhile I'm running out of ideas: I set up a Vanilla Debian Lenny and downloaded the latest Tomcat 6.0.26 from tomcat.apache.org. I've also installed libapr1, libapr1-dev, openssl and libssl-dev I untared

Re: Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread Mladen Turk
On 03/16/2010 07:57 PM, 2smart4u wrote: Hi guys, long time no see ;) And we were all sick of worrying what's going on with you ;) configure:3135: checking for gcc configure:3162: result: i486-linux-gnu-gcc configure:3394: checking for C compiler version configure:3402: i486-linux-gnu-gcc

Re: Unable to compile APR (tomcat-native-1.1.20) on Debian Lenny

2010-03-16 Thread 2smart4u
Mabye a little piece of infor which might be helpful: excerpt from config.log (not working): configure:3402: i486-linux-gnu-gcc --version 5 ./configure: line 3404: i486-linux-gnu-gcc: command not found in config.log (working) the output is configure:2737: i486-linux-gnu-gcc --version /dev/null

Re: [OT] Re: jvm exits without trace

2010-03-16 Thread André Warnier
Ognjen Blagojevic wrote: Hi, Tomcat dies suddenly thread was exciting almost as Prison Break TV series. I couldn't wait to find out what would be solution to the problem, and I must admit that just downgrading to lower sub-sub-sub version JVM left me a bit disappointed. :) +1 It sounds

Re: apache responds with 413 for duplicate http header

2010-03-16 Thread André Warnier
Peter Crowther wrote: There are lots of Apache projects. You want the mailing list for Apache httpd; this is the mailing list for Apache Tomcat. Try re-posting on a more appropriate list :-) And apart from that : fix the client. It is not the server which is the problem here.

Re: [OT] Re: jvm exits without trace

2010-03-16 Thread Carl
My approach is to get something (a JVM) that works and then gradually change until it breaks. Then, I know what is causing the problem. To date, I haven't been able to get a JVM that works. In my case, it might be something in my application that is causing the crash on 64 bit Slackware as

mod_jk - apache to tomcat using SSL

2010-03-16 Thread Campbell, Lance
I have a web server and an application server. I use mod_jk to communicate between apache2.0 and tomcat 6. I don't believe the communication between apache and tomcat is secured by default. Is there a way to have it send the information in a secure way. Thanks, Lance Campbell

Re: [OT] Re: jvm exits without trace

2010-03-16 Thread André Warnier
Carl wrote: My approach is to get something (a JVM) that works and then gradually change until it breaks. Then, I know what is causing the problem. To date, I haven't been able to get a JVM that works. I think we understand that, and agree. Our remarks were tongue in cheek, if that is the

Re: mod_jk - apache to tomcat using SSL

2010-03-16 Thread André Warnier
Campbell, Lance wrote: I have a web server and an application server. I use mod_jk to communicate between apache2.0 and tomcat 6. I don't believe the communication between apache and tomcat is secured by default. Is there a way to have it send the information in a secure way. Taking your

Re: mod_jk - apache to tomcat using SSL

2010-03-16 Thread Mark Thomas
On 16/03/2010 21:07, André Warnier wrote: Campbell, Lance wrote: I have a web server and an application server. I use mod_jk to communicate between apache2.0 and tomcat 6. I don't believe the communication between apache and tomcat is secured by default. Is there a way to have it send the

RE: mod_jk - apache to tomcat using SSL

2010-03-16 Thread Campbell, Lance
What group is responsible for the Tomcat AJP protocol? Is there a way to request a feature to add SSL encryption to the protocol? Thanks, Lance Campbell Software Architect/DBA/Project Manager Web Services at Public Affairs 217-333-0382 -Original Message- From: André Warnier

Re: mod_jk 1.2.30 error problem after upgrade

2010-03-16 Thread Mladen Turk
On 03/16/2010 10:07 PM, Anthony J. Biacco wrote: The errors are: [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): sending to ajp13 pos=4 len=4 max=8192 [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (1152): 12 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -

Re: mod_jk - apache to tomcat using SSL

2010-03-16 Thread Mladen Turk
On 03/16/2010 10:23 PM, Campbell, Lance wrote: What group is responsible for the Tomcat AJP protocol? Is there a way to request a feature to add SSL encryption to the protocol? You can try, but the answer will be no. Like people already said, use either tunnelling or mod_proxy_http

Re: mod_jk - apache to tomcat using SSL

2010-03-16 Thread André Warnier
Campbell, Lance wrote: I have a web server and an application server. I use mod_jk to communicate between apache2.0 and tomcat 6. I don't believe the communication between apache and tomcat is secured by default. Is there a way to have it send the information in a secure way. I do not

Re: Setting HTTP Response Headers Through Tomcat Configurations

2010-03-16 Thread Konstantin Kolinko
2010/3/16 Anurag Kapur anuragka...@gmail.com: I wanted to poll this group to know if there are any settings/configurations in Tomcat (version 5.5.27) that can set default HTTP response headers, fir example Cache-Control? There is none. You can either implement a Filter [1] (inside a web

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
Well, I'm at a loss. After even downloading 6.0.24 with the Windows Installer service and cleaning up the context.xml and web.xml files in the respective places: /webapps/META-INF/context.xml And /webapps/WEB-INF/web.xml Still, the errors I get: javax.servlet.ServletException:

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Propes, Barry L
And I should have added the proper path(s) was/were /webapps/chngctrl/META-INF/context.xml And /webapps/chngctrl/WEB-INF/web.xml Regards, Barry -Original Message- From: Propes, Barry L [GCG-NAOT] Sent: Tuesday, March 16, 2010 6:04 PM To: 'Tomcat Users List' Subject: RE: DB

RE: DB connection error -Tomcat 6 config

2010-03-16 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: DB connection error -Tomcat 6 config Still, the errors I get: Have you looked in the logs? Resource name=jdbc/myoracle auth=Container type=javax.sql.DataSource factory=org.apache.tomcat.dbcp.DataSourceConnectionFactory

How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Goo Sam Kong
May I know how to set the SSL session timeout in Tomcat 5.5.16. I am running JDK 1.5.0 update 7 on RedHat Enterprise. Thank you. Regards, SamKong Goo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

RE: How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Caldarale, Charles R
From: Goo Sam Kong [mailto:skgo...@gmail.com] Subject: How to set SSL session timeout in Tomcat 5.5.16 May I know how to set the SSL session timeout in Tomcat 5.5.16. The session timeout value is independent of the session security, and set by the session-timeout value in the webapp's

Re: How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Goo Sam Kong
Hi Chuck, I am referring to invalidate SSL session. My application is using client certificate authentication, the XML-RPC client is using USB token as a keystore during SSL session, we want to force client to re-authenticate with my application on every XML-RPC request to prevent user remove the

log rotation of locahost,manager,jakarta,stdout, and stderr files on windows

2010-03-16 Thread fins60254
Running tomcat-6.0.26 on Windows XP out of the box. Is there a way to rotate the stdout, stderr, localhost, manager, jarkata log files that get created under the logs directory when tomcat gets started up via the windows service ? Currently one is forced to stop the service, and restart it to

RE: How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Caldarale, Charles R
From: Goo Sam Kong [mailto:skgo...@gmail.com] Subject: Re: How to set SSL session timeout in Tomcat 5.5.16 Can I invalidate the SSL session on server side? Look at the servlet API doc: http://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpSession.html#invalidate()

Re: How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Goo Sam Kong
Hi Chuck, I attempted that, that is HTTP Session not SSL session. I modified XML-RPC client to include code below to terminate client's SSL session, it worked but we preferred server to terminate SSL session instead. SSLContext.getClientSessionContext().setSessionTimeout(seconds); Do you know

RE: How to set SSL session timeout in Tomcat 5.5.16

2010-03-16 Thread Caldarale, Charles R
From: Goo Sam Kong [mailto:skgo...@gmail.com] Subject: Re: How to set SSL session timeout in Tomcat 5.5.16 I attempted that, that is HTTP Session not SSL session. Depending on how your webapp is configured, you may have two HttpSession objects - one protected, and one not. Make sure you're