tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuri Schimke <>
Subject How to set ServerSocketFactory
Date Thu, 03 Jul 2003 11:31:11 GMT

I'm trying to set the ServerSocketFactory in Tomcat 4.1.24.  My factory
is getting created (by the catalina digester), but it never actually
gets used by the PoolTcpEndpoint. I can see this from debugging I am
using.  Its using the DefaultServerSocketFactory instead of mine.

0 [main] INFO net.BlahServerSocketFactory  - new
BlahServerSocketFactory() Permission denied
        at Method)
        at ....PoolTcpEndpoint.initEndpoint(:277)
        at ....http11.Http11Protocol.init(:150)
        at ....CoyoteConnector.initialize(:1117)

My class is like (I also tried extending

public final class BlahServerSocketFactory 
implements {

My config is 

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               address="localhost" port="80"
               minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="100" debug="0" connectionTimeout="60000"
               useURIValidationHack="false" disableUploadTimeout="true">
      <Factory className="" />

I searched for anywhere PoolTcpEndpoint.setServerSocketFactory() gets
called, but I don't think it ever is.

Could someone let me know how I am meant to achieve this?


Yuri Schimke
Aqris Software
+372 53 415 579

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message