Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #2855
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Tomcat7 on Ubuntu 12.04 does not load mySQL JDBC Connector |
| Date | 2013-11-17 11:30 +0100 |
| Organization | 1&1 Internet AG |
| Message-ID | <l6a5sf$if4$1@online.de> (permalink) |
| References | <l676m4$b52$1@online.de> <d7qdneyzpNukDBXPnZ2dnUVZ8oudnZ2d@bt.com> |
On 2013-11-17 09:49:39 +0000, lipska the kat said: > Ubuntu 12.04 LTS > apache-tomcat-7.0.42 > jdk1.7.0_45 Did you use Oracle JDK ? I use in my installation OpenJDK > > Yea, this can be a bit of a PITA sometimes if you are relying on > container managed connection pools as the container needs to find the > jar before a web app that uses it is fully loaded, at least this is > what I have figured out anyway. > > I have the following directory structure > /opt/apache-tomcat-7.0.42/ > > I copied mysql-connector-java-5.1.22-bin.jar > into /opt/apache-tomcat-7.0.42/lib > > I restarted the server and it all just works > no sym links and no fancy obscure directory structure scattered across > the file system. I have copied the Jar to the lib directory (without symlink) but the error exists also. Can it be a problem with the OpenJDK / Oracle JDK? I have installed Tomcat from Ubuntu's package tree also, the OpenJDK (dependency) and the mySQL Connector, so imho it should be okay, because always comes from the package tree Phil
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Tomcat7 on Ubuntu 12.04 does not load mySQL JDBC Connector Philipp Kraus <philipp.kraus@flashpixx.de> - 2013-11-16 08:25 +0100
Re: Tomcat7 on Ubuntu 12.04 does not load mySQL JDBC Connector lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-11-17 09:49 +0000
Re: Tomcat7 on Ubuntu 12.04 does not load mySQL JDBC Connector Philipp Kraus <philipp.kraus@flashpixx.de> - 2013-11-17 11:30 +0100
Re: Tomcat7 on Ubuntu 12.04 does not load mySQL JDBC Connector lipska the kat <"lipskathekat at yahoo dot co dot uk"> - 2013-11-17 14:36 +0000
csiph-web