Public bug reported:

Binary package hint: tomcat5.5

If you install the default tomcat5.5 packages and its dependencies, you
should see that it does not provide the naming-factory-dbcp.jar in the
/usr/share/tomcat5.5/common/lib/ folder.

This JAR must be present to by able a create global Datasource in
Tomcat, using the server.xml file.

This classical example (which is described in the Tomcat 5 documentation
!) could not work using those Tomcat packages. Indeed, the
org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory is only providen in
the naming-factory-dbcp.jar jar from the default Tomcat archive file.

<GlobalNamingResources>

        <Resource name="jdbc/datasource"
                  auth="Container"
                  type="javax.sql.DataSource"
                  factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
                  driverClassName="oracle.jdbc.driver.OracleDriver"
                  url="url"
                  username="username"
                  password="password"
                  maxActive="60"
                  maxIdle="2"
                  maxWait="600000"
                  removeAbandonedTimeout="300"
                  logAbandoned="true"
                  removeAbandoned="true" />
        
</GlobalNamingResources>

** Affects: tomcat5.5 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
The package naming-factory-dbcp.jar is missing
https://launchpad.net/bugs/74781

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to