Mantis - Resin
Viewing Issue Advanced Details
1406 minor always 10-12-06 08:40 11-30-06 08:00
sam  
ferg  
normal  
closed 3.1.0  
fixed  
none    
none 3.1.0  
0001406: startup fails if required files are in ${server.root}/lib
If there is a jar file in ${server.root}/lib that contains a database driver, and the <class-loader> is setup properly, Resin still fails to start. No stack trace is included in the error message.

/path/to/conf/resin.conf:13: java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver

<resin xmlns="http://caucho.com/ns/resin" [^]
       xmlns:resin="http://caucho.com/ns/resin/core"> [^]

  <class-loader>
    <tree-loader path="${resin.home}/lib"/>
    <tree-loader path="${server.root}/lib"/>
  </class-loader>

        <database jndi-name="jdbc/DB1">
          <driver type="org.apache.derby.jdbc.ClientDriver">
            <url>jdbc:derby://localhost:1527/derbyDB;create=true</url> [^]
            <user>user1</user>
            <password>password1</password>
          </driver>
          <xa>true</xa>
          <spy/>
        </database>


There are no notes attached to this issue.