To: Tomcat Users List
Subject: Re: STM
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
David
Glad to hear that worked for you..keep us apprised if you need any further
help
Martin--
- Original Message -
From: David Steinberg [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Friday, March 14, 2008 4:33 AM
Subject: RE: STM
Filip/Martin,
Many thanks. I
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
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
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
@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
: 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
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
Users List users@tomcat.apache.org
Sent: Wednesday, March 12, 2008 9:10 AM
Subject: RE: STM
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