tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Vombach <>
Subject autodeploy
Date Mon, 20 Dec 2004 17:50:15 GMT
For some reason if I use a db pool the auto-deploy of war files does not 
seem to work anymore. The change in the server.xml is that the 
jndi-ressources have to be declared.
Are there any known influences? The dbcp only works if I declare it for 
my app, a "global" one is not being found.

  <Service name="Catalina">
    <Connector port="80" redirectPort="8443" maxSpareThreads="75" 
maxThreads="150" minSpareThreads="25">
    <Connector port="8009" protocol="AJP/1.3" 
    <Engine defaultHost="localhost" name="Catalina">
      <Host name="localhost" appBase="webapps" unpackWARs="true" 
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
        <Context displayName="myapp" docBase="myapp" path="/myapp" 
          <Resource auth="Container" description="" 
name="jdbc/JNDI_myapp" type="javax.sql.DataSource" password="***" 
driverClassName="oracle.jdbc.driver.OracleDriver" maxIdle="10" 
maxWait="-1" username="user" url="jdbc:oracle:thin:@mydriver" 
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>

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

View raw message