you could create your own
class MyWrapper extends StandardWrapper {
public MyWrapper() {
super();
setMaxInstances(xxx);
}
}
and then in context.xml
<Context wrapperClass="...MyWrapper">
</Context>
something along those lines
Filip
David Steinberg wrote:
Thanks Martin.
But can I access the StandardWrapper through my web application?
Regards
Dave Steinberg
Hello Currency
+44 (0)7810 752 708
www.hellocurrency.com
-----Original Message-----
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wed 12/03/2008 14:56
To: Tomcat Users List
Subject: Re: STM
when you set maxInstances with the setMaxInstances method
setMaxInstances(int maxInstances)
http://www.jdocs.com/tomcat/5.5.17/org/apache/catalina/core/StandardWrapper.
html
?
Martin-
----- Original Message -----
From: "David Steinberg" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Wednesday, March 12, 2008 8:31 AM
Subject: RE: STM
Martin,
No this does not have anything to do with threads. The StandardWrapper
object is limiting STM servlets to a maximum of 20 instances. I would just
like to know if I can set this higher through configuration.
Regards
Dave Steinberg
Hello Currency
+44 (0)7810 752 708
www.hellocurrency.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wed 12/03/2008 14:03
To: Tomcat Users List
Subject: Re: STM
do you mean maxThreads="150" on the connector in server.xml?
could you clarify maxInstances parameter
Regards
Martin-
----- Original Message -----
Wrom: GMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRE
To: <users@tomcat.apache.org>
Sent: Wednesday, March 12, 2008 7:43 AM
Subject: STM
Is there anyway to increase the 'maxInstances' value in the StandardWrapper
from the current limit of 20? I have a short term issue with a STM servlet
and need more than 20 instances.
Regards
Dave Steinberg
Hello Currency
+44 (0)7810 752 708
www.hellocurrency.com
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
----------------------------------------------------------------------------
----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 3/11/2008 1:41 PM
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]