tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jacky" <>
Subject jdbc context
Date Mon, 13 Feb 2006 10:07:10 GMT
   I have deploy a workflow webapp in Tomcat4.1.31. First time, i add the following code in

<Context path="/myworkflow" docBase="myworkflow" reloadable="true" >
          <Resource name="jdbc/DefaultDS" type="javax.sql.DataSource"/>
          <ResourceParams name="jdbc/DefaultDS">
    <!-- Maximum number of DB connections in pool.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.An exception
is thrown if this timeout is exceeded.Set to -1 to wait indefinitely. -->
    <!-- Abandoned DB connections are removed and recycled -->
    <!-- Use the removeAbandonedTimeout parameter to set the number of seconds a DB connection
has been idle before it is considered abandoned.  -->
    <!-- Log a stack trace of the code which abandoned -->
    <!--DBCP Basic Datasource Factory -->

It works well. But now, we need to migrate myworkflow into another tomcat4.1.31, in which
the server.xml can't be modified.
So what shall i do to deploy the jdbc context? Thanks for your help!

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