Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread rujin raj
Dear chuck, I tried a lot. I am not able to point out the problem.Herewith i attached my server.xml file.. Please help me where i done mistake? ?xml version='1.0' encoding='utf-8'? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the

Re: Secondary instance of Tomcat on single server does not process requests

2010-11-05 Thread Pid
On 04/11/2010 19:21, Ari King wrote: On Thu, Nov 4, 2010 at 1:09 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2010/11/4 Ari King ari.brandeis.k...@gmail.com: |-- conf |-- server.xml |-- web.xml Those two files are not sufficient. Note, that the conf folder is read only

Re: Is there a GOOD AJP-based cluster reference?

2010-11-05 Thread Pid
On 04/11/2010 20:12, Jeffrey Janner wrote: Notice I don't have any ProxyPassReverse lines. From reading the docs, I'm not sure they are needed for AJP proxying. Check the value of the path attribute, in Set-Cookie: header when a session is created. p 0x62590808.asc Description:

Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Bill Wang
Hi All, I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the services don't run, or have failure, it will start it again automatically. I think I can put the

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rujin, On 11/5/2010 3:39 AM, rujin raj wrote: I tried a lot. I am not able to point out the problem.Herewith i attached my server.xml file.. Please help me where i done mistake? At this point, your server.xml does not match your original warning

How to run *.patch file in windows

2010-11-05 Thread rujin raj
Hi, Recently I downloaded one patch file from Apache bugzilla website.The extension of the file is filename.patch. How can i run the patch in windows environment Please help. Rujinraj

RE: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread Caldarale, Charles R
From: rujin raj [mailto:rujin...@gmail.com] Subject: Re: Connector Setting Problem in tomcat 6.0.29 I tried a lot. I am not able to point out the problem.Herewith i attached my server.xml file.. When posting long XML files, please strip out the comments, so we don't have to wade through

Re: [OT] How to run *.patch file in windows

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rujun, On 11/5/2010 9:02 AM, rujin raj wrote: Recently I downloaded one patch file from Apache bugzilla website.The extension of the file is filename.patch. How can i run the patch in windows environment http://lmgtfy.com/?q=win32+patch -

RE: How to run *.patch file in windows

2010-11-05 Thread Caldarale, Charles R
From: rujin raj [mailto:rujin...@gmail.com] Subject: How to run *.patch file in windows How can i run the patch in windows environment You don't, at least not directly. You have to apply the patch to the Tomcat source and rebuild from source.

Re: [OT] How to run *.patch file in windows

2010-11-05 Thread Brooke Hedrick
You can use patch from the gnuwin32 project - http://gnuwin32.sourceforge.net/packages.html On Fri, Nov 5, 2010 at 8:08 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rujun, On 11/5/2010 9:02 AM, rujin raj wrote: Recently I

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread rujin raj
Please how to add the executor attribute in connector Executor=enable or true Is it like this: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 Executor=enable or true maxThreads=1000 enableLookups=false

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread Jim Riggs
executor=executor_name, so in your case: executor=tomcatThreadPool This is shown in the default/sample server.xml under the comment !-- A Connector using the shared thread pool-- On Nov 5, 2010, at 9:49 AM, rujin raj wrote: Please how to add the executor attribute in connector

RE: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread Caldarale, Charles R
From: rujin raj [mailto:rujin...@gmail.com] Subject: Re: Connector Setting Problem in tomcat 6.0.29 Please how to add the executor attribute in connector You are expected to be able to read the documentation, for which the exact links have been given to you several times. If you're not

JSP Precompilation and Servlet 3.0

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Tim has just given his talk at ApacheCon NA about Servlet 3.0 / Tomcat 7.0. It was really my first taste of the 3.0 spec and I had a thought about the new features available for webapp configuration /other/ than web.xml: - - web.xml fragments -

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Mikolaj Rydzewski
On Fri, 05 Nov 2010 10:13:50 -0400, Christopher Schultz ch...@christopherschultz.net wrote: The precompiler could translate and compile all of the classes and package them into a .jar file for you. Great. What about servlet mappings? Well, we have two options: 1. Use annotations in the

RE: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: JSP Precompilation and Servlet 3.0 Hopefully, this will make JSP precompilation less onerous for users. I don't think the current mechanism is particularly onerous, since Tomcat supplies an ant script to do all the

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: JSP Precompilation and Servlet 3.0 Hopefully, this will make JSP precompilation less onerous for users. I

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill, On 11/5/2010 7:51 AM, Bill Wang wrote: I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the services

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Rainer Frey
On Friday 05 November 2010 12:51:25 Bill Wang wrote: Hi All, I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the services don't run, or have failure, it

Update the tomcat-users.xml file to reflect the new roles?

2010-11-05 Thread Brooke Hedrick
Hey, Would it make sense to update the conf/tomcat-users.xml file to account for the new roles? Here's my patch: 34a35,42 role rolename=manager-gui/ role rolename=manager-script/ role rolename=manager-jmx/ role rolename=manager-status/ user username=manager password=s3cret

CometConnectionManagerValve in Tomcat 7:

2010-11-05 Thread greenstar
In Tomcat 7, is the comet valve (org.apache.catalina.valves.CometConnectionManagerValve) required for native comet implementations (ie: org.apache.catalina.comet.CometProcessor), or servlet 3.0 comet implementations (ie: request.startAsync(), etc), or both? -- View this message in context:

Re: mod_jk makes ajp connector run out of free connections

2010-11-05 Thread Mark Thomas
On 04/11/2010 20:01, Marc Wilmots wrote: Honestlyno, I didn't. The mod_jk scared the hell out of mewouldn't you? :-) Using this option will have a strong performance penalty for Apache and Tomcat. Use this only as a last resort in case of unfixable network problems. Experience has

Re: Update the tomcat-users.xml file to reflect the new roles?

2010-11-05 Thread Mark Thomas
On 05/11/2010 11:27, Brooke Hedrick wrote: Hey, Would it make sense to update the conf/tomcat-users.xml file to account for the new roles? Providing a tomcat-users.xml file that includes a default user with a known password that has access to an administrative interface would be very, very

Re: CometConnectionManagerValve in Tomcat 7:

2010-11-05 Thread Mark Thomas
On 05/11/2010 12:34, greenstar wrote: In Tomcat 7, is the comet valve (org.apache.catalina.valves.CometConnectionManagerValve) required for native comet implementations (ie: org.apache.catalina.comet.CometProcessor), or servlet 3.0 comet implementations (ie: request.startAsync(), etc), or

Re: CometConnectionManagerValve in Tomcat 7:

2010-11-05 Thread greenstar
markt-2 wrote: On 05/11/2010 12:34, greenstar wrote: In Tomcat 7, is the comet valve (org.apache.catalina.valves.CometConnectionManagerValve) required for native comet implementations (ie: org.apache.catalina.comet.CometProcessor), or servlet 3.0 comet implementations (ie:

Re: Is there a GOOD AJP-based cluster reference?

2010-11-05 Thread Rainer Jung
On 04.11.2010 21:24, Mark Eggers wrote: Interesting. I'll have to try something similar for my situation. What I'm trying to do is a bit of the reverse. I want hostname:80/tomcat-host/manager to end up at (tomcat-host) /manager for four different tomcat hosts. The forward stuff works fine, but

Re: Any tools to detect tomcat services failure, and start it again automatically?

2010-11-05 Thread Rainer Jung
On 05.11.2010 16:17, Rainer Frey wrote: On Friday 05 November 2010 12:51:25 Bill Wang wrote: Hi All, I am searching the tool (or script) to be used for my tomcat env, that it can keep running as daemon in background, detect the tomcat services (several versions of tomcat). If it found the

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Pid
On 05/11/2010 15:06, Christopher Schultz wrote: Chuck, On 11/5/2010 10:57 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: JSP Precompilation and Servlet 3.0 Hopefully, this will make JSP precompilation less onerous for users. I

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Tim Funk
While I like the idea of using web-fragment.xml for precompiled jsp's - it would require the meta-data complete flag to be set to false which may as a side effect allow other artifacts to be loaded too. Hopefully jsp-precompile is part of the webapp build/deploy process so a developer can

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread rujin raj
Hi, Now my server.xml file is like this.As you told i added executor=tomcatThreradPool as follows Executor name=tomcatThreadPool namePrefix=catalina-exec- maxThreads=1000 minSpareThreads=150/ Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2