trying to run mysql4 on linux. Have configured Jboss to include the
jar file in the default/lib directory.
when tyring to access the database through ejb...the following error appears:
java.sql.SQLException: No suitable driver |
Request for Question Clarification by
endo-ga
on
20 Nov 2003 04:43 PST
Hi,
Are you sure the URL you use to access the database is correct?
Also the default is:
$JAVA_HOME/jre/lib/ext
Or you need to include the directory in your CLASSPATH.
Thanks.
endo
|
Clarification of Question by
sunnycode-ga
on
20 Nov 2003 08:25 PST
the url i use is jdbc:mysql://127.0.0.1:3306/mydb
the driver is com.mysql.jdbc.Driver and also tried using
org.gjt.mm.mysql.Driver but does not respond to any of these...
i had also put the driver.jar in java_home/jre/lib/ext..but does not work again
and also tried putting it into the classpath..but again failed...
any ideas??? just tired on working out all the combinations...
thanks,
|
Request for Question Clarification by
endo-ga
on
20 Nov 2003 10:28 PST
Thank you for your clarification.
Have you tried the following?
JBoss JDBC configuration for MySQL connection
http://dcm4che.sourceforge.net/docs/guides/bk03ch03.html#d0e1522
Please let me know what the outcome is.
Thanks.
endo
|
Request for Question Clarification by
endo-ga
on
23 Nov 2003 18:55 PST
Hi,
Have you had any luck with my suggestion?
Thanks.
endo
|
Request for Question Clarification by
endo-ga
on
26 Nov 2003 06:17 PST
Hi,
Are you still stuck with this problem?
Thanks.
endo
|
Request for Question Clarification by
endo-ga
on
08 Dec 2003 18:36 PST
Hi,
Have you had any luck with the suggestion?
Thanks.
endo
|
Request for Question Clarification by
endo-ga
on
14 Dec 2003 19:20 PST
Hi,
Have you been able to solve your problem?
Thanks.
endo
|