Re: Configuring a context specific JNDI/JDBC Realm

2011-05-03 Thread Mark Hoebeke
Thank you for your quick reply. I made the changes you suggested (and had to re-read some configuration HOWTOs) and the application behaves as expected. Thanks again. Mark Le 02/05/2011 18:22, Mark Thomas a écrit : On 02/05/2011 17:11, Mark Hoebeke wrote: So, I'm using Tomcat 6.0.26 and I'm

Re: Async servlets and Tomcat 7 vs. mod_jk

2011-05-03 Thread Mark Thomas
On 02/05/2011 22:49, Jess Holle wrote: What are the limitations/requirements of using asynchronous servlets in Tomcat 7? We use Apache and mod_jk to balance load over multiple Tomcats. I note that there is no NIO AJP connector -- only BIO and APR. I have /no /interest in the native APR

default document doesnot work with IIS

2011-05-03 Thread Asha K S
HI, Though default document is set in IIS ,it doesn't seem to pick it up when IIS connector is configured with tomcat. When we provide the path like http://localhost/test it doesn't automatically add index.cfm and it return 404,but if I access the full url like http://localhost/test/index.cfm

Re: Async servlets and Tomcat 7 vs. mod_jk

2011-05-03 Thread Jess Holle
On 5/3/2011 3:18 AM, Mark Thomas wrote: As I write this it occurs to me that an AJP-NIO connector would be a big help to you here. I don't know how much work that would be to write but with the refactoring already completed for Tomcat 7 it might be as little as 1000 lines of code. If you would

Re: Async servlets and Tomcat 7 vs. mod_jk

2011-05-03 Thread Jess Holle
On 5/3/2011 6:14 AM, Jess Holle wrote: On 5/3/2011 3:18 AM, Mark Thomas wrote: As I write this it occurs to me that an AJP-NIO connector would be a big help to you here. I don't know how much work that would be to write but with the refactoring already completed for Tomcat 7 it might be as

Changing embedded Tomcat from v6 to v7 causes InitialContext lookup to fail

2011-05-03 Thread Andrew Brock
(Note: this question is also on StackExchange at http://stackoverflow.com/questions/5866237/) I'm using JUnit test cases to exercise my web service using embedded Tomcat. Under Tomcat 6 everything was working fine, but when I switched my project to Tomcat 7 I'm coming unstuck. The code I was

Re: Changing embedded Tomcat from v6 to v7 causes InitialContext lookup to fail

2011-05-03 Thread Mark Thomas
On 03/05/2011 12:54, Andrew Brock wrote: (Note: this question is also on StackExchange at http://stackoverflow.com/questions/5866237/) I'm using JUnit test cases to exercise my web service using embedded Tomcat. Under Tomcat 6 everything was working fine, but when I switched my project to

RE: default document doesnot work with IIS

2011-05-03 Thread Propes, Barry L
Maybe you have to set the index.cfm in a welcome attribute in the web.xml file in the conf folder? -Original Message- From: Asha K S [mailto:a...@adobe.com] Sent: Tuesday, May 03, 2011 6:01 AM To: tomcat-u...@jakarta.apache.org Subject: default document doesnot work with IIS HI,

RE: default document doesnot work with IIS

2011-05-03 Thread Asha K S
HI, Thanks a lot for the reply. Tried that too but doesn't seem to work :( Thanks, Asha -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Tuesday, May 03, 2011 7:05 PM To: Tomcat Users List Subject: RE: default document doesnot work with IIS Maybe you

100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat, the shutdown failed and I took a thread dump which included the one

RE: default document doesnot work with IIS

2011-05-03 Thread Propes, Barry L
Oh, ok. Well then I'm not sure. Maybe in IIS you have to make the index.cfm the first choice in the default queue. As opposed to default.htm or index.htm. Maybe you also have to set both index.cfm and index.cfml ? -Original Message- From: Asha K S [mailto:a...@adobe.com] Sent: Tuesday,

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Mark Thomas
On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat, the shutdown failed and I took a thread dump which included

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread André Warnier
Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat, the shutdown failed and I took a thread dump

Re: Restarting Tomcat remotely

2011-05-03 Thread Ron Wheeler
On 03/05/2011 12:29 AM, Asha K S wrote: Hi, Can anybody please let me know if there is way to start/stop Tomcat remotely(Not start/stop of applications but server itself) Thanks, Asha What operating system? For Linux, you just need to make the shutdown and startup scripts run.

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Mark Thomas
On 03/05/2011 15:46, André Warnier wrote: Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat,

Re: default document doesnot work with IIS

2011-05-03 Thread Jordan Michaels
Asha, What CFML server are you using and what method did you use to install it? There is quite a bit of documentation on how to get the default document working with the open-source CFML engines and if I knew what you were using, I could point you in the right direction. -Jordan -

RE: Restarting Tomcat remotely

2011-05-03 Thread CRANFORD, CHRIS
I use SC which allows you to communication with a remote Service Control Manager on an NT platform to stop the Tomcat service; deploy the WAR file and then restart the server in one simple execution. On *nix you could use some flavor of an secure shell script to stop the process, do your secure

What is JAVA_HOME?

2011-05-03 Thread Varuna Seneviratna
What is the use of the Java Home directory to Tomcat.What are the files of the Java installation that Tomcat uses?I am asking this to determine the set of files and their Home directory which should be set as JAVA_HOME Varuna -

RE: What is JAVA_HOME?

2011-05-03 Thread Caldarale, Charles R
From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: What is JAVA_HOME? What is the use of the Java Home directory to Tomcat.What are the files of the Java installation that Tomcat uses?I am asking this to determine the set of files and their Home directory which should be

Re: What is JAVA_HOME?

2011-05-03 Thread Varuna Seneviratna
On 3 May 2011 22:21, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: What is JAVA_HOME? What is the use of the Java Home directory to Tomcat.What are the files of the Java installation that Tomcat uses?I am asking

Re: What is JAVA_HOME?

2011-05-03 Thread David Smith
Depends on your OS and how you start tomcat (startup script or as a service). --David On 5/3/2011 1:43 PM, Varuna Seneviratna wrote: On 3 May 2011 22:21, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: What is

Re: What is JAVA_HOME?

2011-05-03 Thread Varuna Seneviratna
On 3 May 2011 23:16, David Smith david.sm...@cornell.edu wrote: Depends on your OS and how you start tomcat (startup script or as a service). --David On 5/3/2011 1:43 PM, Varuna Seneviratna wrote: On 3 May 2011 22:21, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Varuna

Re: What is JAVA_HOME?

2011-05-03 Thread André Warnier
Varuna Seneviratna wrote: On 3 May 2011 23:16, David Smith david.sm...@cornell.edu wrote: Depends on your OS and how you start tomcat (startup script or as a service). --David On 5/3/2011 1:43 PM, Varuna Seneviratna wrote: On 3 May 2011 22:21, Caldarale, Charles R chuck.caldar...@unisys.com

Re: What is JAVA_HOME?

2011-05-03 Thread Mark Eggers
From: Varuna Seneviratna varunasenevira...@gmail.com To: Tomcat Users List users@tomcat.apache.org; david.sm...@cornell.edu Cc: Sent: Tuesday, May 3, 2011 10:48 AM Subject: Re: What is JAVA_HOME? On 3 May 2011 23:16, David Smith david.sm...@cornell.edu wrote: Depends on your OS and how

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/3/2011 10:52 AM, Mark Thomas wrote: On 03/05/2011 15:46, André Warnier wrote: Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an OOME after many

Re: Async servlets and Tomcat 7 vs. mod_jk

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/3/2011 4:18 AM, Mark Thomas wrote: In Apache, I note that there are noises about broader/better support for the mod_event MPM worker. Does mod_jk work with mod_event there to reduce the threads required in Apache? Sorry, don't know.

Re: Tomcat 6 Struts 1.3

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 cpanon, On 5/2/2011 4:04 PM, cpanon wrote: Thank you for your attention. No problem. What is odd and almost answers all the questions, leaving the BIG one, is that all three techniques work the first time. Hah... that actually raises more

Re: modjk apache response questions

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/2/2011 12:40 PM, André Warnier wrote: He has 3 tomcats though. Or did I misread that ? Oh, well, there still might be a problem. No httpd configuration was shown (only workers.properties), so there are still situations where the

Re: pure tomcat failover (no loadbalacing)

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 5/2/2011 12:20 PM, Felix Schumacher wrote: That would be nice, if it would work, but sadly it doesn't. redirect is only alowed for a sub-worker, which is referenced indirectly by a load balancer group. See

Re: Can anybody Please tell me How to Configure Tomcat 5 on Fedora 14 or refer me to relevant documentation.

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Varuna, On 5/2/2011 2:19 PM, Varuna Seneviratna wrote: I wont't Tomcat5 becauseI want to study for the SWCDE Exam which uses Tomcat5 Assuming you mean SCWCD, I can tell you you're going to have a rough road ahead of you. Obtaining this

Re: modjk apache response questions

2011-05-03 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/2/2011 12:40 PM, André Warnier wrote: He has 3 tomcats though. Or did I misread that ? Oh, well, there still might be a problem. No httpd configuration was shown (only workers.properties), so there are

Re: Async servlets and Tomcat 7 vs. mod_jk

2011-05-03 Thread Jess Holle
On 5/3/2011 2:55 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/3/2011 4:18 AM, Mark Thomas wrote: In Apache, I note that there are noises about broader/better support for the mod_event MPM worker. Does mod_jk work with mod_event there to reduce the

Re: modjk apache response questions

2011-05-03 Thread Harsimranjit singh Kler
Hi i have done testing as required using ab- please find details :. Please let me knw if anything other details required. Is this always manadatory that maxthread in tomcat shoud equal to maxclient(apache)? in my case traffic always distributes among 3 tomcats so i assume to give 500

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Felix Schumacher
Christopher Schultz ch...@christopherschultz.net schrieb: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/3/2011 10:52 AM, Mark Thomas wrote: On 03/05/2011 15:46, André Warnier wrote: Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our

RE: default document doesnot work with IIS

2011-05-03 Thread Asha K S
HI Jordan, I am trying to deploy Adobe ColdFusion on Tomcat and configured Tomcat IIS connector, but I am not able to get the default document to work. Please point me to the links you had mentioned earlier, i will try those as well. Thanks, Asha -Original Message- From: Jordan