tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Patel" <>
Subject Re: Migration from Tomcat 4.1 to Tomcat 5.0
Date Wed, 02 Mar 2005 14:39:38 GMT
Thank you.
I setup an environment variable JAVS_HOME and it is working now.

Now, I have another question.  How to setup a context?  In Tomcat 4.1, I have it in server.xml.
 What I found from the documentation is that to create a separate file for context, but I
don't know where to put the file and what to include in it.  The context for my webapps in
server.xml is as follow.  Please help.

<!-- Class Act App Context -->
 <Context path="/CA" docBase="ca" debug="0"
   <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_ca_log." suffix=".txt"
   <ResourceParams name="jdbc/cms">   
  <!-- DBCP -->
  <!-- Maximum number of dB connections in pool. Make sure you
       configure your mysqld max_connections large enough to handle
       all of your db connections. Set to 0 for no limit.
  <!-- Maximum number of idle dB connections to retain in pool.
       Set to 0 for no limit.
  <!-- Maximum time to wait for a dB connection to become available
       in ms, in this example 10 seconds. An Exception is thrown if
       this timeout is exceeded.  Set to -1 to wait indefinitely.
   <!-- dB username and password for dB connections -->
   <!-- Class name for JDBC driver -->
   <!-- The JDBC connection url for connecting to your dB -->

Kiran Patel
Software Engineer
Solutions Inc.
817.637.9060 [Work]

> hi!

> look at your environment-variables JAVA_HOME should be set correctly!

> hth


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message