Michael Mangeng wrote:
Hi
I´ve embedded tomcat within our application.
In the embedded class (API-docs) is described:
...
Call |createConnector()| to create at least one TCP/IP connector, and
then call its property setters as desired.
...
The problem is that the Connector interface (
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/catalina/docs/api/org/apache/catalina/Connector.html
) does not provide any setters for example the min/maxProcessors
attribute.
Do i have to upcast to the coyoteconnector to set these properties (my
sense instructs me not to do this) or is there another way to do this
(with the use of the "createConnector" method) ?
Yes, you have too. Those parameters are specific to the CoyoteConnector.
-- Jeanfrancois
A setPropperty(String propertyName) method would be fine :-)
greets,
mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]