This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JForum and the fly likes microsoft SQL DataBase Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "microsoft SQL DataBase" Watch "microsoft SQL DataBase" New topic

microsoft SQL DataBase

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Dear all,
the project i am working on now is running on microsoft SQL DataBase and I need to install jforum on it.

this is my jforum-custom.conf settings

database.connection.implementation=net.jforum.SimpleConnection and i've tried net.jforum.PooledConnection t

i've got this on the console :
net.jforum.exceptions.DatabaseException: Error while trying to start the database: net.jforum.exceptions.DatabaseException: java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at net.jforum.SimpleConnection.getConnection(
at net.jforum.SimpleConnection.init(
at net.jforum.ForumStartup.startDatabase(
at net.jforum.JForum.init(
at org.apache.catalina.core.StandardWrapper.loadServlet(
at org.apache.catalina.core.StandardWrapper.allocate(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
Caused by: net.jforum.exceptions.DatabaseException: java.sql.SQLException: No suitable driver
... 21 more
Caused by: java.sql.SQLException: No suitable driver
... 21 more

[originally posted on by mot]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Doesn't look like you have the MS SQL odbc driver. Did you download one and copy it to the Tomcat common/lib dir (if you're using Tomcat)? If you didn't do that, you will need to, and then restart Tomcat.
[originally posted on by GatorBait3]
I agree. Here's the link:
subject: microsoft SQL DataBase
Similar Threads
java.sql.SQLException: Access denied
Note for MySQL 4.1
Installing on Oracle
2.1.7 HSQLDB install fails
Microsoft SQL Server version