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 Still the minSpareThreads is not taken into account. On 5 November 2010 19:23, Jim Riggs wrote: > executor="", so in your case: > > executor="tomcatThreadPool" > > This is shown in the de

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 ig

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

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 servi

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: 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 (

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

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, ver

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." Experien

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: htt

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 > > > > > > > >

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,

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 do

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.

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 d

Re: JSP Precompilation and Servlet 3.0

2010-11-05 Thread Mikolaj Rydzewski
On Fri, 05 Nov 2010 10:13:50 -0400, Christopher Schultz 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 translated .java files 2. Generat

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: 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 c

Re: Connector Setting Problem in tomcat 6.0.29

2010-11-05 Thread Jim Riggs
executor="", so in your case: executor="tomcatThreadPool" This is shown in the default/sample server.xml under the comment On Nov 5, 2010, at 9:49 AM, rujin raj wrote: > Please how to add the executor attribute in connector > > Executor="enable" or "true" > > Is it like this: >

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: Thanks for helping me upto this level.I am trying this from last one week. Regards rujin On 5 November 2010 18:37, Caldarale, Charles R wrote: > > From: rujin raj [mailto:rujin...@gmail.com] >

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: > > Recent

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. http://tomcat.apache.org/tomcat-6.0-doc/buil

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: 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 throug

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 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

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 scr

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: applicatio

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 > wrote: > >> 2010/11/4 Ari King : >>> |-- conf >>> |-- server.xml >>> |-- web.xml >> >> Those two files are not sufficient. >> >> Note, that the conf folder is read only from the second instance. >>

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?