[
https://issues.apache.org/jira/browse/MTOMCAT-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831627#comment-13831627
]
Gilberto C Andrade commented on MTOMCAT-152:
--------------------------------------------
is referring to this stackoverflow question[1] and this behavior happens with
me on 2.1 version as well:
{code:xml}
--- tomcat7-maven-plugin:2.1:run (default-cli) @ map ---
Running war on http://localhost:8080/map
Creating Tomcat server configuration at
/home/gilberto.andrade/dev/netbeans-config/map/target/tomcat
create webapp with contextPath: /map
Nov 25, 2013 2:47:03 PM org.apache.coyote.AbstractProtocol init
Informações: Initializing ProtocolHandler ["http-bio-8080"]
Nov 25, 2013 2:47:03 PM org.apache.catalina.core.StandardService startInternal
Informações: Starting service Tomcat
Nov 25, 2013 2:47:03 PM org.apache.catalina.core.StandardEngine startInternal
Informações: Starting Servlet Engine: Apache Tomcat/7.0.37
14:47:06,110 [localhost-startStop-1] INFO ActionServlet : Loading chain
catalog from
jar:file:/home/gilberto.andrade/.m2/repository/org/apache/struts/struts-core/1.3.10/struts-core-1.3.10.jar!/org/apache/struts/chain/chain-config.xml
14:47:06,306 [localhost-startStop-1] INFO TilesPlugin : Tiles definition
factory loaded for module ''.
14:47:06,308 [localhost-startStop-1] INFO ValidatorPlugIn : Loading
validation rules file from '/WEB-INF/validator-rules.xml'
14:47:06,309 [localhost-startStop-1] INFO ValidatorPlugIn : Loading
validation rules file from '/WEB-INF/validation.xml'
Nov 25, 2013 2:47:06 PM org.apache.coyote.AbstractProtocol start
Informações: Starting ProtocolHandler ["http-bio-8080"]
Nao foi possivel abrir a conexão:
org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of
class '' for connect URL 'null'
{code}
Regards,
[1]
http://stackoverflow.com/questions/14854882/jtds-no-suitable-driver-maven-tomcat-run
> Tomcat6 run works but Tomcat7 run fails with JDBC driver error
> --------------------------------------------------------------
>
> Key: MTOMCAT-152
> URL: https://issues.apache.org/jira/browse/MTOMCAT-152
> Project: Apache Tomcat Maven Plugin
> Issue Type: Question
> Components: tomcat7
> Affects Versions: 2.0
> Environment: Unix/Linux A J2EE webapp
> Reporter: Jackie Gleason
> Assignee: Olivier Lamy (*$^¨%`£)
> Priority: Minor
> Labels: newbie
>
> When I run tomcat7:run it fails but tomcat6 works fine more info here....
> http://stackoverflow.com/questions/10586457/tomcat7run-fails-to-bring-in-jdbc-class-using-jndi-tomcat6run-works
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]