tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zaki, Karim R UTCHQ" <Karim.Z...@UTC.COM>
Subject RE: Running Tomcat 5.0.28 in server mode
Date Fri, 02 Sep 2005 15:20:59 GMT
Thanks Yassine,

I'll look into the PDF you provided. As for server.xml, here it is.


<?xml version='1.0' encoding='utf-8'?>
<Server debug="2">
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
  <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
  <GlobalNamingResources>
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <Resource auth="Container" description="User database that can be
updated and saved" name="UserDatabase"
type="org.apache.catalina.UserDatabase"/>
    <ResourceParams name="UserDatabase">
      <parameter>
        <name>factory</name>
        <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
      </parameter>
      <parameter>
        <name>pathname</name>
        <value>conf/tomcat-users.xml</value>
      </parameter>
    </ResourceParams>
  </GlobalNamingResources>
  <Service debug="2" name="Catalina">
    <Connector acceptCount="100" connectionTimeout="20000" debug="2"
disableUploadTimeout="true" port="8080" redirectPort="8443"
threadPriority="10" maxSpareThreads="75" maxThreads="150"
minSpareThreads="25">
    </Connector>
    <Connector port="8009" protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
redirectPort="8443">
    </Connector>
    <Engine debug="2" defaultHost="localhost" name="Catalina">
      <Host appBase="webapps" debug="2" name="localhost">
        <Logger className="org.apache.catalina.logger.FileLogger" debug="2"
prefix="localhost_log." suffix=".txt" timestamp="true" verbosity="2"/>
      </Host>
      <Logger className="org.apache.catalina.logger.FileLogger" debug="2"
prefix="catalina_log." suffix=".txt" timestamp="true" verbosity="2"/>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
debug="2"/>
    </Engine>
  </Service>
</Server>


As you can see, very little customization. Any idea why I can't set
"-server"?

Thanks,
Karim
-----Original Message-----
From: Yassine ELassad [mailto:yel@directbox.com] 
Sent: Friday, September 02, 2005 11:03 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Running Tomcat 5.0.28 in server mode

Dear Karim,

Please provide relevant peaces of your server.xml so we can get a chance to
help you or have a look here 
http://jakarta.apache.org/tomcat/articles/performance.pdf
you may already finde whats causing your problem there

Greetings
================
YEL... 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message