Re: Thread pool per webapp?

2006-11-04 Thread Pid
lol I wouldn't have the list without it(?) though, makes light work to have a bit of alt.humour while you're reading through. Maybe we can design a test? Christopher Schultz wrote: Tomcat List, Does anyone else suspect that Martin is actually an expert system designed to read and

Re: Thread pool per webapp?

2006-11-04 Thread Andrew Miehs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 As a quick hack If you only want to partition between 2 webapps you could always use the nasty method of using 2 tomcats. The other alternative would be to configure a second HTTP connector, and then use one for the one webapp, and the

Re: Locale difference with Console and Windows Service

2006-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max, I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08. I am in Australia. To test localization, my Windows Region is set to English, US. Is the locale of your /user/ set to en_US, or is the whole OS set to that? When using the Console,

Re: Apologies to the list (and Martin)

2006-11-04 Thread Martin Gainty
Hi Chris- Working 80 hours a week nonstop and trying to stay on top of everything here would make anyone more than a bit testy If you want my suggestion..Taking the weekend off to enjoy yourself will make you feel a whole lot better on monday- Looking forward to hearing more of your suggestions

Is context.xml Tomcat specific?

2006-11-04 Thread Mikolaj Rydzewski
Hi, It is a common practice to create META-INF/context.xml with various configuration options (links to JNDI resources, etc.). Is it a Tomcat specific option? Will it work with Weblogic for example? -- Mikolaj Rydzewski [EMAIL PROTECTED]http://ceti.pl/~miki/

Re: Is context.xml Tomcat specific?

2006-11-04 Thread Mark Thomas
Mikolaj Rydzewski wrote: Hi, It is a common practice to create META-INF/context.xml with various configuration options (links to JNDI resources, etc.). Is it a Tomcat specific option? Will it work with Weblogic for example? It is Tomcat specific. As far as I am aware, it will be ignored in

Re: Locale difference with Console and Windows Service

2006-11-04 Thread maxt
Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max, I am using Windows XP, Tomcat 5.5.17, JRE 1.5.0_08. I am in Australia. To test localization, my Windows Region is set to English, US. Is the locale of your /user/ set to en_US, or is the whole OS set

Re: Locale difference with Console and Windows Service

2006-11-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max, maxt wrote: Is the locale of your /user/ set to en_US, or is the whole OS set to that? The Windows OS is therefore set to US. When I refer to a user, I am not referring to a Unix type user but a customer who may be in any Region or Locale.

Re: Thread pool per webapp?

2006-11-04 Thread Martin Gainty
Dave- to look at all of the properties of all the attributes you can do so by interrogating jmxproxy ..assuming tomcat is running on localhost and listener is configured on 8080 http://localhost:8080/manager/jmxproxy/?qry=*%3Atype%3DRequestProcessor%2C* I guess I dont understand the nomenclature

Re: Thread pool per webapp?

2006-11-04 Thread David Smith
Quoting the original question: Let's say I have webapps A and B, and A is more critical webapp. Let's say my connector's pool size is 100, and there are 100 concurrent requests destined for A and B each (so total 200 requests here). I would like to allocate 70 threads to process A's

Re: Thread pool per webapp?

2006-11-04 Thread Andrew Miehs
Why not, as i asked before, just start two tomcats? - not pretty but it works... ie: Tomcat1 (webapp1) - Port 8080 Tomcat2 (webapp2) - Port 8081 - Then setup tomcat1 with 70 threads, and tomcat2 with 30 threads Cheers Andrew On 04/11/2006, at 9:56 PM, David Smith wrote: Quoting the

Re: Thread pool per webapp?

2006-11-04 Thread Mark Thomas
Andrew Miehs wrote: Why not, as i asked before, just start two tomcats? - not pretty but it works... ie: Tomcat1 (webapp1) - Port 8080 Tomcat2 (webapp2) - Port 8081 - Then setup tomcat1 with 70 threads, and tomcat2 with 30 threads This also gives good isolation between the web

Re: Thread pool per webapp?

2006-11-04 Thread David Smith
No argument here. I don't see any other way do to what the OP wanted. --David Andrew Miehs wrote: Why not, as i asked before, just start two tomcats? - not pretty but it works... ie: Tomcat1 (webapp1) - Port 8080 Tomcat2 (webapp2) - Port 8081 - Then setup tomcat1 with 70 threads, and

Re: StandartSession.accessCount bug?

2006-11-04 Thread Mark Thomas
Christopher Schultz wrote: 150ns per request (on my hardware) is still probably more than we want to add to every request. Really? If you say so... Sorry. I was having a bad day. I was reading nano and thinking micro. Various performance figures show a 'fast' request takes about 100 micro

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-11-04 Thread Eric Yin
Hi Chris, Thanks for the help. After I move the Connector/J 5.0 to the Tomcat's server-wise common/lib directory and remove the autoReconnect=true, i still get the same error. thanks, Eric. Quoting Christopher Schultz [EMAIL PROTECTED]: Eric, Eric Yin wrote: Hi, I'm using tomcat5.5.2

Re: Cannot create JDBC driver of class '' for connect URL 'null'

2006-11-04 Thread Eric Yin
Hi Guys, I just found out the reason. My index.jsp in the the Root directory, however, the path of the sever.xml/context is /DBTest. thanks for all the help. Eric. Quoting Eric Yin [EMAIL PROTECTED]: Hi Chris, Thanks for the help. After I move the Connector/J 5.0 to the Tomcat's

Re: virtual host getRealPath

2006-11-04 Thread Peter Warren
Hi Chris, Thanks for your response. After poking around a little more, it seems that the call application.getRealPath(request.getServletPath()) provides the proper local file path for me. Any reason not to use that? Peter Christopher Schultz [EMAIL PROTECTED] wrote: Peter, I'm