You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Gilberto C Andrade (JIRA)" <ji...@apache.org> on 2013/11/25 21:33:36 UTC
[jira] [Updated] (MTOMCAT-249) Tomcat7:run fails to bring in JDBC
class using JNDI Tomcat6:run works
[ https://issues.apache.org/jira/browse/MTOMCAT-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilberto C Andrade updated MTOMCAT-249:
---------------------------------------
Attachment: MTOMCAT-249.zip
Just run mvn clean tomcat7:run and hit the browser with http://localhost:8080/MTOMCAT-249/
> Tomcat7:run fails to bring in JDBC class using JNDI Tomcat6:run works
> ---------------------------------------------------------------------
>
> Key: MTOMCAT-249
> URL: https://issues.apache.org/jira/browse/MTOMCAT-249
> Project: Apache Tomcat Maven Plugin
> Issue Type: Bug
> Components: tomcat7
> Affects Versions: 2.1
> Environment: OpenSUSE 12.3
> Java 1.7.0_45
> Reporter: Gilberto C Andrade
> Assignee: Olivier Lamy (*$^¨%`£)
> Priority: Minor
> Attachments: MTOMCAT-249.zip
>
>
> So when I run Tomcat 6 everything runs fine but when I run tomcat7:run I get the following.
> {code:xml}
> org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ' for connect URL 'null'
> {code}
> Default config of the plugin:
> {code:xml}
> <plugin>
> <groupId>org.apache.tomcat.maven</groupId>
> <artifactId>tomcat7-maven-plugin</artifactId>
> <!--artifactId>tomcat6-maven-plugin</artifactId-->
> <version>2.1</version>
> </plugin>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org