Google Answers Logo
View Question
 
Q: jboss - mysql database... ( No Answer,   0 Comments )
Question  
Subject: jboss - mysql database...
Category: Computers > Programming
Asked by: sunnycode-ga
List Price: $100.00
Posted: 19 Nov 2003 16:25 PST
Expires: 16 Dec 2003 12:17 PST
Question ID: 278391
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
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy