Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004952 [Resin] minor always 02-02-12 13:16 02-21-12 17:38
Reporter rickHigh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004952: Can't deploy mysql jar file to /etc/resin/resin-inf
Description database-conf.xml:5: com.caucho.sql.DriverConfig.setType(): com.caucho.config.ConfigRuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver in EnvironmentClassLoader[resin-system:,NEW]

3:
4: <database jndi-name="jdbc/blogdb">
5: <driver type="com.mysql.jdbc.Driver">
6: <url>jdbc:mysql://localhost:3306/blogdb</url> [^]
7: <user>bloguser</user>

rick@ubuntu:~/examples/blog/database-conf$ ls /etc/resin/resin-inf
database-conf.xml mysql-connector-java-5.1.18.jar

Additional Information
Attached Files

- Relationships

- Notes
(0005694)
rickHigh
02-02-12 13:24

When I add the mysql jar file to /usr/local/share it works.

$ ls /usr/local/share/resin/lib/mysql-connector-java-5.1.18.jar
/usr/local/share/resin/lib/mysql-connector-java-5.1.18.jar


From conversation that I had with Scott, it seems like dropping things in $$/resin-inf like jar files should work as this is similar to resin remote config deploy.
 
(0005699)
ferg
02-21-12 17:38

belongs in /etc/resin/app-inf/* for 4.0.26 or cloud:/app-inf/*
 

- Issue History
Date Modified Username Field Change
02-02-12 13:16 rickHigh New Issue
02-02-12 13:24 rickHigh Note Added: 0005694
02-21-12 17:38 ferg Note Added: 0005699
02-21-12 17:38 ferg Assigned To  => ferg
02-21-12 17:38 ferg Status new => closed
02-21-12 17:38 ferg Resolution open => fixed
02-21-12 17:38 ferg Fixed in Version  => 4.0.26


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