About this list Date view Thread view Subject view Author view Attachment view

From: DaveC (freevsd_at_comm.it)
Date: Mon 17 Feb 2003 - 18:15:09 GMT


On Mon, 2003-02-17 at 12:10, Michael Hilscher wrote:

> are there any problems known with tomcat in an vserver? In my debian
> vserver installation tomcat needs neerly 2.5 more memory. In production
> use tomcat sometimes requests more ram until it kills itself (memory-leak).

I have one vserver with tomcat4 installed. It was quite a bit of pain to
configure at the beginning, but all was resolved by configuring it to
bind to the virtual server ip address, as 0.0.0.0 won't do.

The config I'm running is jdk1.4.1_01 + tomcat 4.1. There're some 30
tomcat processes running all the time and the setup is stable (means
months of uptime and no trouble).

Sorry for not being more specific, but here's a quick grep from my
config files.... use it as a hint of what you need to change:

jk2.properties:channelSocket.ip=1.2.3.4

and a longer example of the connector in server.xml

    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
                address="1.2.3.4"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" />
    <!-- Note : To disable connection timeouts, set connectionTimeout
value
     to -1 -->

HTH,
Dave.


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 17 Feb 2003 - 18:44:12 GMT by hypermail 2.1.3