tomcat manager configuration

2010-02-18 Thread banto
Hi all, i´m trying to figure out where are the configurations for the tomcat manager webapp. I mean how if i would want to change the path of the manager, write my own one, disable it and so oni´m just trying to understand if (apart the access configurations) all the the confs are indeed

Re: tomcat manager configuration

2010-02-18 Thread Mark Thomas
On 18/02/2010 08:05, banto wrote: Hi all, i´m trying to figure out where are the configurations for the tomcat manager webapp. I mean how if i would want to change the path of the manager, write my own one, disable it and so oni´m just trying to understand if (apart the access

tomcat 6.0.18 doesn't fully shutdown

2010-02-18 Thread nocturna_gr
Hallo, i am running an application (Spring+Framework+Quartz) in tomcat 6.0.18 under Windows XP and JDK 1.6.0_16. When i shutdown tomcat (either script or SHUTDOWN via 8005 port), there are always some threads hanging. They are not related to the application, as far as i can see- although it

Re: tomcat 6.0.18 doesn't fully shutdown

2010-02-18 Thread Mark Thomas
On 18/02/2010 10:16, nocturna_gr wrote: Hallo, i am running an application (Spring+Framework+Quartz) in tomcat 6.0.18 under Windows XP and JDK 1.6.0_16. When i shutdown tomcat (either script or SHUTDOWN via 8005 port), there are always some threads hanging. They are not related to the

Re: tomcat manager configuration

2010-02-18 Thread Mark Thomas
On 18/02/2010 11:03, banto wrote: All the available configuration is in the application's web.xml and context.xml files. Path is determined by the directory name. It should be possible to just rename it. If it isn't, that would be a bug. Mark i see the application's web.xml but to be

Re: tomcat 6.0.18 doesn't fully shutdown

2010-02-18 Thread David kerber
Mark Thomas wrote: On 18/02/2010 10:16, nocturna_gr wrote: Hallo, i am running an application (Spring+Framework+Quartz) in tomcat 6.0.18 under Windows XP and JDK 1.6.0_16. When i shutdown tomcat (either script or SHUTDOWN via 8005 port), there are always some threads hanging. They are not

sending request to tomcat failed.....

2010-02-18 Thread Munirathinavel
Hi.. I'm using apache2.2 + tomcat6.0.18 + mod_jk1.2.28 for my portal.While doing load test with 20 more users i'm getting the following message in mod_jk.logand in browser also page is not getting loaded... [Thu Feb 18 18:32:58 2010]worker1 216.205.107.50 0.031250 [Thu Feb 18 18:32:58

Re: sending request to tomcat failed.....

2010-02-18 Thread Pid
On 18/02/2010 14:06, Peter Crowther wrote: On 18 February 2010 13:55, Munirathinavelmunirathina...@gmail.com wrote: I'm using apache2.2 + tomcat6.0.18 + mod_jk1.2.28 for my portal.While doing load test with 20 more users i'm getting the following message in mod_jk.logand in browser also

Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Eric Bauman
Hi there, For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. For example, if I create a JSP containing nothing but Hello, %=world%!, predictably, I get an error: org.apache.jasper.JasperException: Unable to compile class for JSP. Subsequent

Re: Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Peter Crowther
On 18 February 2010 14:14, Eric Bauman baum...@livejournal.dk wrote: For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. [Details elided] Which version of Tomcat's this on, Eric? - Peter

RE: Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Bauman Subject: Why does Tomcat try to use the cache when compilation failed? Any ideas what's going on? Any idea what Tomcat version you're using? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Eric Bauman
On 19/02/2010 01:25, Peter Crowther wrote: On 18 February 2010 14:14, Eric Baumanbaum...@livejournal.dk wrote: For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. [Details elided] Which version of Tomcat's this on, Eric? - Peter Hi there,

Re: sending request to tomcat failed.....

2010-02-18 Thread André Warnier
Peter Crowther wrote: On 18 February 2010 13:55, Munirathinavel munirathina...@gmail.com wrote: I'm using apache2.2 + tomcat6.0.18 + mod_jk1.2.28 for my portal.While doing load test with 20 more users i'm getting the following message in mod_jk.logand in browser also page is not getting

tomcat 6.0.18 shutdown address

2010-02-18 Thread Curtis Garman
I'm moving from tomcat 5.5.25 to tomcat 6.0.18 and have noticed one problem. I use to be able to define the following in my server.xml Server port=8005 shutdown=SHUTDOWN *address=127.0.0.1* ... /Server but now the address portion won't work...I only want shutdown commands to be able to come from

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Pid
On 18/02/2010 15:14, Curtis Garman wrote: I'm moving from tomcat 5.5.25 to tomcat 6.0.18 and have noticed one problem. I use to be able to define the following in my server.xml Server port=8005 shutdown=SHUTDOWN *address=127.0.0.1* ... /Server but now the address portion won't work...I only

xhrGet error loading page

2010-02-18 Thread Camil
I have two servers: The GUI code is under http://vs119.bvr.kstart.ibm.com:8080/com.ibm.ocs.ui/ocstest2.jsp REST APIs is under http://vs118.bvr.kstart.ibm.com:8080/Restlet/it1/OCS/questions This is under the same domain and port wet I am getting an error running on firefox from my local

RE: xhrGet error loading page

2010-02-18 Thread Caldarale, Charles R
From: Camil [mailto:hro...@us.ibm.com] Subject: xhrGet error loading page I have two servers: The GUI code is under http://vs119.bvr.kstart.ibm.com:8080/com.ibm.ocs.ui/ocstest2.jsp REST APIs is under http://vs118.bvr.kstart.ibm.com:8080/Restlet/it1/OCS/questions This is under the same

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Curtis Garman
Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 On Thu, Feb 18, 2010 at 9:27 AM, Pid p...@pidster.com wrote: On 18/02/2010 15:14, Curtis Garman wrote: I'm moving from tomcat 5.5.25 to tomcat 6.0.18 and have noticed one problem. I use

RE: tomcat 6.0.18 shutdown address

2010-02-18 Thread Caldarale, Charles R
From: Curtis Garman [mailto:curt.gar...@gmail.com] Subject: Re: tomcat 6.0.18 shutdown address Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 You were misinformed. The shutdown port has always been open only on 127.0.0.1. Tomcat 6

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Mark Thomas
On 18/02/2010 15:42, Curtis Garman wrote: Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 By whom? It has been this way since Tomcat 4. The issue, if I recall correctly, was with some of the Tomcat 3 releases. Mark On Thu, Feb 18,

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread André Warnier
Curtis Garman wrote: Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 Yes. At some point in time inversion 5.0 or 5.5 or 6.0, someone realised that if this shutdown port allowed connections from anywhere, there was a theoretical

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread André Warnier
Mark Thomas wrote: On 18/02/2010 15:42, Curtis Garman wrote: Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 By whom? It has been this way since Tomcat 4. The issue, if I recall correctly, was with some of the Tomcat 3 releases.

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Pid
On 18/02/2010 15:42, Curtis Garman wrote: Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 I don't see an address property in either of the below: http://tomcat.apache.org/tomcat-5.5-doc/config/server.html

Re: tomcat 6.0.18 doesn't fully shutdown

2010-02-18 Thread nocturna_gr
Thanks for your answer Mark, i thought the same thing, but this is a daemon thread... it should cause any problems, isn't it so? markt-2 wrote: On 18/02/2010 10:16, nocturna_gr wrote: Hallo, i am running an application (Spring+Framework+Quartz) in tomcat 6.0.18 under Windows XP and JDK

RE: tomcat 6.0.18 doesn't fully shutdown

2010-02-18 Thread Caldarale, Charles R
From: nocturna_gr [mailto:kostaspa...@yahoo.gr] Subject: Re: tomcat 6.0.18 doesn't fully shutdown this is a daemon thread... The thread of interest is this one: DelayActionThread prio=6 tid=0x237bd000 nid=0x368 waiting on condition [0x2490f000..0x2490fa14] java.lang.Thread.State:

Re: Trouble with CLIENT-CERT authentication method

2010-02-18 Thread Kevin Mills
On 2/17/10, Mark Thomas ma...@apache.org wrote: CVE-2009-3555? Now that this is working, I'd like to ask what other options exist for using client certificate authentication on a per-webapp basis. Requiring my customers to enable a feature (allowUnsafeLegacyRenegotiation) that exposes them to a

alternate for ng.overrides.spring.properties

2010-02-18 Thread V Jayakumar
Hello Am using Tomcat 5.5 Currently some member variables are initialized by specifying the value as varibleName1=value in ng.overrides.spring.properties For another variable say variable2, I want to the specify the initial value in some other file say, /tmp/initialize In otherwords,

Re: alternate for ng.overrides.spring.properties

2010-02-18 Thread André Warnier
V Jayakumar wrote: Hello Am using Tomcat 5.5 Currently some member variables are initialized by specifying the value as varibleName1=value in ng.overrides.spring.properties For another variable say variable2, I want to the specify the initial value in some other file say, /tmp/initialize

Re: Trouble with CLIENT-CERT authentication method

2010-02-18 Thread Mark Thomas
On 18/02/2010 16:30, Kevin Mills wrote: On 2/17/10, Mark Thomas ma...@apache.org wrote: CVE-2009-3555? Now that this is working, I'd like to ask what other options exist for using client certificate authentication on a per-webapp basis. Requiring my customers to enable a feature

Re: [OT] alternate for ng.overrides.spring.properties

2010-02-18 Thread André Warnier
_ Hotmail: Powerful Free email with security by Microsoft. At least somebody in Redmond has humour. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: alternate for ng.overrides.spring.properties

2010-02-18 Thread Pid
On 18/02/2010 16:46, André Warnier wrote: V Jayakumar wrote: Hello Am using Tomcat 5.5 Currently some member variables are initialized by specifying the value as varibleName1=value in ng.overrides.spring.properties For another variable say variable2, I want to the specify the initial value

SSL APR Tomcat 6.0.20 Not Working

2010-02-18 Thread iainmac
Hi, I am trying to upgrade from 5.0.16 to 6.0.20 and also try to use the APR, with SSL. I had SSL working fine in 6.0.20 with JSSE (i.e. not APR SSL). I have used http://conshell.net/wiki/index.php/Keytool_to_OpenSSL_Conversion_tips to get my private key file and added this to my

How to enable logging when running Tomcat 5.5 under Eclipse 3.5?

2010-02-18 Thread David Griffiths
Hi, I'm running Tomcat 5.5 under Eclipse 3.5. I want to see some access logging because for instance it silently ignores imported style sheets it can't find. I saw a reference somewhere to org.apache.catalina.valves. AccessLogValve so I tried uncommenting that in server.xml but it makes no

RE: How to enable logging when running Tomcat 5.5 under Eclipse 3.5?

2010-02-18 Thread Caldarale, Charles R
From: David Griffiths [mailto:david.griffi...@gmail.com] Subject: How to enable logging when running Tomcat 5.5 under Eclipse 3.5? I'm running Tomcat 5.5 under Eclipse 3.5. Eclipse has this annoying characteristic of using its own configuration for Tomcat, ignoring yours. Try running

Re: How to enable logging when running Tomcat 5.5 under Eclipse 3.5?

2010-02-18 Thread Konstantin Kolinko
2010/2/18 David Griffiths david.griffi...@gmail.com: Hi, I'm running Tomcat 5.5 under Eclipse 3.5. I want to see some access logging because for instance it silently ignores imported style sheets it can't find. I saw a reference somewhere to org.apache.catalina.valves. AccessLogValve so I

Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
Is it possible for a webbaplication to have two instances within single tomcat? I was thinking of having two (almost) identical context files which both point to the same docBase. Mike - To unsubscribe, e-mail:

RE: Two contexts of the same webapp

2010-02-18 Thread Caldarale, Charles R
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Two contexts of the same webapp Is it possible for a webbaplication to have two instances within single tomcat? Yes, just keep the location of the .war (or expansion thereof) outside of the Host appBase directory. Note that

Re: SSL APR Tomcat 6.0.20 Not Working

2010-02-18 Thread Mark Thomas
On 18/02/2010 17:15, iainmac wrote: Connector port=443 protocol=HTTP/1.1 maxHttpHeaderSize=8192 maxThreads=150 enableLookups=false disableUploadTimeout=true acceptCount=100 scheme=https secure=true SSLEnabled=true

Re: tomcat 6 on solaris losing cookies

2010-02-18 Thread George Baxter
So we think we've found a threading problem in the cookie handling. Running on Solaris 10, jdk 1.5, tomcat 6.0.24. We built our 'own' version of 6.0.24, adding logging in some places, and ultimately, this is what we discovered: A bit of information: in these log entries, we're looking at 2

Re: tomcat 6 on solaris losing cookies

2010-02-18 Thread Mark Thomas
On 18/02/2010 20:23, George Baxter wrote: So we think we've found a threading problem in the cookie handling. Hmm. Each request has its own Cookies object. The only way these would be shared between threads is if two threads were using the same request object. That usually happens when custom

Re: Configure tomcat in my development environment, and save session across restart

2010-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 2/17/2010 5:07 PM, Ashish Kulkarni wrote: There is no SESSIONS.ser created under, but there is tldCache.ser These files are unrelated to each other. C:\App\apache-tomcat-5.5.25\work\Catalina\localhost\[webapp] I have created a

Re: Why does Tomcat try to use the cache when compilation failed?

2010-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 2/18/2010 9:28 AM, Eric Bauman wrote: On 19/02/2010 01:25, Peter Crowther wrote: On 18 February 2010 14:14, Eric Baumanbaum...@livejournal.dk wrote: For some reason, it appears Tomcat is trying to hit its compilation cache when

Re: Trouble with CLIENT-CERT authentication method

2010-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin, On 2/17/2010 7:24 PM, Kevin Mills wrote: Sure thing - here is my Connector element: Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=50 scheme=https secure=true

Re: tomcat 6 on solaris losing cookies

2010-02-18 Thread George Baxter
Hmm, well it's possible. However, I'm not entirely confident that each request has its own Cookies object. There is a 'setHeaders()' method on Cookies. What's it for? Checking myself. Will add more logging as you suggested. We are using Spring MVC which uses ThreadLocal to store

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-18 Thread
Hi Chris! Interesting. What is the URL you are trying to access? I tryed access a directory containing images. Each image is accessed correctly, but the whole directory don't, generating the HTTP 404 status. Can you give us more details? I was using a AJAX request (using JQuery) to load the

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
Caldarale, Charles R wrote: From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Two contexts of the same webapp Is it possible for a webbaplication to have two instances within single tomcat? Yes, just keep the location of the .war (or expansion thereof) outside of the Host

RE: Two contexts of the same webapp

2010-02-18 Thread Caldarale, Charles R
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Re: Two contexts of the same webapp But, now, I'm wondering, since I'll be having dozens of the same applications, I'd like to automate deploying using war files. In that case, having separate war file for each instance forces

Re: Two contexts of the same webapp

2010-02-18 Thread André Warnier
Mario Splivalo wrote: ... Thnx! Yes, apps need to be separate, it's just that they're the same. I have separate configurations, logs, everything set up. But, now, I'm wondering, since I'll be having dozens of the same applications, I'd like to automate deploying using war files. In that

Re: SSL APR Tomcat 6.0.20 Not Working

2010-02-18 Thread iainmac
I changed TLSv1 to just TLS and it worked iainmac wrote: Hi, I am trying to upgrade from 5.0.16 to 6.0.20 and also try to use the APR, with SSL. I had SSL working fine in 6.0.20 with JSSE (i.e. not APR SSL). I have used

Re: Howto configure cold failover with Tomcat on 2 different servers?

2010-02-18 Thread Leon Kolchinsky
Anyone guys? Any insights on the following? Thanks On Thu, Feb 18, 2010 at 13:48, Leon Kolchinsky lkolc...@gmail.com wrote: Hello All, My current interest is to install Confluence - http://www.atlassian.com/software/confluence/ in a Cold Failover mode. I'm currently running ApacheHttpd in

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Curtis Garman
yes...this is what I was told...thanks all for the info On Thu, Feb 18, 2010 at 9:52 AM, André Warnier a...@ice-sa.com wrote: Curtis Garman wrote: Is this something new for tomcat 6?...I was told there was a security vulnerability there with tomcat 5 Yes. At some point in time inversion

Re: Howto configure cold failover with Tomcat on 2 different servers?

2010-02-18 Thread Pid
On 18/02/2010 22:49, Leon Kolchinsky wrote: Anyone guys? Any insights on the following? Thanks On Thu, Feb 18, 2010 at 13:48, Leon Kolchinskylkolc...@gmail.com wrote: Hello All, My current interest is to install Confluence - http://www.atlassian.com/software/confluence/ in a Cold Failover

RE: tomcat 6.0.18 shutdown address

2010-02-18 Thread Caldarale, Charles R
From: Curtis Garman [mailto:curt.gar...@gmail.com] Subject: Re: tomcat 6.0.18 shutdown address yes...this is what I was told...thanks all for the info Unfortunately, pretty much all of what André wrote was wrong, as Mark explained. So again, what you were told was false. - Chuck THIS

Re: tomcat 6.0.18 shutdown address

2010-02-18 Thread Pid
On 18/02/2010 23:08, Curtis Garman wrote: yes...this is what I was told... thanks all for the info To be clear: Mark's answer is the correct one. p On Thu, Feb 18, 2010 at 9:52 AM, André Warniera...@ice-sa.com wrote: Curtis Garman wrote: Is this something new for tomcat 6?...I was

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 zé, On 2/18/2010 4:51 PM, zé wrote: Interesting. What is the URL you are trying to access? I tryed access a directory containing images. Each image is accessed correctly, but the whole directory don't, generating the HTTP 404 status. If you got

Re: Howto configure cold failover with Tomcat on 2 different servers?

2010-02-18 Thread Leon Kolchinsky
Constrains of the application :( You can't run 2 instances in same time on the same DB. That's why I have to configure Cold Failover for that I need to find out that Tomcat is in unresponsive state to shut it down completely and start it on another server. But what's the best way (or may be the

Re: Accessing a Tomcat webapp from a PHP webapp

2010-02-18 Thread Krish
Sent from my iPhone On Feb 18, 2010, at 6:32 PM, Christopher Schultz ch...@christopherschultz.net wrote: access? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

tomcat 6.0.24 ssl with windows 7

2010-02-18 Thread Roy Nabel
With jdk1.6.0 and tomcat 6.0.10 ssl works great on windows 7 or windows 2008 R1 . Server.xml ssl fragment Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true

Re: tomcat 6.0.24 ssl with windows 7

2010-02-18 Thread Jason Brittain
Roy, You can try starting Tomcat with one of the following JVM startup switches, and then inspect the logs after trying to connect to Tomcat via HTTPS to see what isn't working: -Djavax.net.debug=all -Djavax.net.debug=ssl:handshake:data -Djavax.net.debug=help -- to get a list of options See

Regarding Connector in tomcat 6

2010-02-18 Thread Nikita Manohar
Hi, My web application is currently deployed on Tomcat 6. Currently it is running on http. I was asked to run it on HTTPS. I was able to run in on HTTPS and for that I need to make changes in server.xml everytime iIf have to run my web app on https. Switching/Toggling between Https and Https

Regarding Connector in tomcat 6

2010-02-18 Thread Cummins College
Hi, My web application is currently deployed on Tomcat 6. Currently it is running on http. I was asked to run it on HTTPS. I was able to run in on HTTPS and for that I need to make changes in server.xml everytime iIf have to run my web app on https. Switching/Toggling between Https and Https

Re: Trouble with CLIENT-CERT authentication method

2010-02-18 Thread Jason Brittain
Christopher: Nope. clientAuth=false means that the webapp's web.xml specifies which resources require the client certificate. See the Connector doc page's description of the accepted values for the clientAuth attribute: http://tomcat.apache.org/tomcat-6.0-doc/config/http.html clientAuth is a

AJP13 shows static content only

2010-02-18 Thread petr kalafatič
Hi, I have problem to configure apache and tomcat (ajp13). I have several virtual hosts (php,jsp). PHP pages are ok, but jsp shows static (html) content only. Someone encountered this problem? Any suggestion ? Thanks, Petr (apache 2.2, tomcat 6, win xp)

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
Caldarale, Charles R wrote: From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Re: Two contexts of the same webapp But, now, I'm wondering, since I'll be having dozens of the same applications, I'd like to automate deploying using war files. In that case, having separate war

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
André Warnier wrote: Mario Splivalo wrote: ... Thnx! Yes, apps need to be separate, it's just that they're the same. I have separate configurations, logs, everything set up. But, now, I'm wondering, since I'll be having dozens of the same applications, I'd like to automate deploying