Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004550 [Resin] trivial always 05-15-11 09:15 05-17-11 10:39
Reporter dicr View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.19 Product Version 4.0.18
  Product Build
Summary 0004550: documentation: ConnectionPoolDataSource init-param
Description http://caucho.com/resin-4.0/admin/database.xtp#driver [^]

Example: mysql configuration
<database>
  <jndi-name>jdbc/mysql</jndi-name>
  <driver>
    <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
    <url>jdbc:mysql://localhost:3306/dbname</url> [^]
    <user>username</user>
    <password>password</password>

    <init-param useUnicode="true"/>
  </driver>
  ...
</database>

Should be:

Example: mysql configuration
<database>
  <jndi-name>jdbc/mysql</jndi-name>
  <driver>
    <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type>
    <url>jdbc:mysql://localhost:3306/dbname</url> [^]
    <user>username</user>
    <password>password</password>

    <useUnicode>true</useUnicode>
  </driver>
  ...
</database>
Steps To Reproduce
Additional Information WEB-INF/resin-web.xml:3: com.caucho.sql.DBPool.init(): <init-param> cannot
be used with a ConnectionPoolDataSource. Use the init-param key as a tag,
like <key>value</key>
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
05-15-11 09:15 dicr New Issue
05-17-11 10:39 ferg Assigned To  => ferg
05-17-11 10:39 ferg Status new => closed
05-17-11 10:39 ferg Resolution open => fixed
05-17-11 10:39 ferg Fixed in Version  => 4.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker