Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-249

Tomcat7:run fails to bring in JDBC class using JNDI Tomcat6:run works

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: tomcat7
    • Labels:
      None
    • Environment:
      OpenSUSE 12.3
      Java 1.7.0_45

      Description

      So when I run Tomcat 6 everything runs fine but when I run tomcat7:run I get the following.

      org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class ' for connect URL 'null' 
      

      Default config of the plugin:

                  <plugin>
                      <groupId>org.apache.tomcat.maven</groupId>
                      <artifactId>tomcat7-maven-plugin</artifactId>
                      <!--artifactId>tomcat6-maven-plugin</artifactId-->
                      <version>2.1</version>
                  </plugin>
      
      

        Attachments

        1. MTOMCAT-249.zip
          7 kB
          Gilberto C Andrade
        2. tomcat6-2.2.log
          8 kB
          Gilberto C Andrade
        3. tomcat7-2.2.log
          5 kB
          Gilberto C Andrade

          Activity

            People

            • Assignee:
              olamy Olivier Lamy
              Reporter:
              gilbertoca Gilberto C Andrade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: