| Author |
connection problem : Very strange Thing !! (I'm gonna be Crazy !!! )
|
Antoine BLANC
Greenhorn
Joined: Feb 24, 2004
Posts: 6
|
|
Plop plop !! ^_^ I need a ConnectionPool using commons-dbcp.jar. I start with Jakarta Exemple, every thing is fine. Then I try to do it by my self. and Here come the strage thing .... If I run my classes whith java it work, but if I put my classes in a Jar file and I run it through Jakarta-Tomcat 4.1.27 it doesn't work !!! I have this Exception : org.apache.commons.dbcp.DbcpException: java.sql.SQLException: No suitable driver when i try to get a connection on my DataSource Object Can You help me please !!! Thanks in advance ||| ^_^ Mil00se [ May 14, 2004: Message edited by: Antoine BLANC ] [ May 14, 2004: Message edited by: Antoine BLANC ]
|
 |
Stefan Wagner
Ranch Hand
Joined: Jun 02, 2003
Posts: 1923
|
|
looks like a classpath issue - correctly set without tomcat, missing the jdbc-driver when running from tomcat. I don't use tomcat, so I cannot tell you where to look for the classpath.
|
http://home.arcor.de/hirnstrom/bewerbung
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
$CATALINA_HOME/common/lib Be sure to put the jar file with the driver there.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: connection problem : Very strange Thing !! (I'm gonna be Crazy !!! )
|
|
|