tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Vombach <andreas.vomb...@psi.ch>
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>
    <Connector port="8009" protocol="AJP/1.3" 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" 
redirectPort="8443">
    </Connector>
    <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" 
workDir="work\Catalina\localhost\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" 
maxActive="20"/>
        </Context>
      </Host>
      <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
    </Engine>
  </Service>


---------------------------------------------------------------------
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