# No suitable driver found for jdbc:sqlserver:\\\\ocalhost\\sqlexpress:1433;databaseName=\*\*\*\*

**URL:** <https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934>\
**Category:** Q&A\
**Created:** [8 February 2016 13:19 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934 "2016-02-08T13:19:30Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [8 February 2016 13:19 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/1 "2016-02-08T13:19:30Z")

</div>

I used bonitasoft 7.1.5 community.

I try to configure a connector for using my database ( sqlexpress 2014), but i does’nt works.

I have the following message : No suitable driver found for jdbc:sqlserver :

someone would have the process for adding a new JDBC drivers or having the same issue ?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Sean\_McP](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/sean_mcp/32/932_2.png) [@Sean\_McP](https://community.ofelia.com/u/Sean_McP)\
**Post date:** [8 February 2016 17:03 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/2 "2016-02-08T17:03:12Z")

</div>

the name of your server is wrong,… ocalhost instead of localhost…

however have you got the jdbc driver in the tomcat lib folder?

You should download it and copy it there from here:

[https://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx](https://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx)

regards  
Seán

\*PS: If this reply answers your question, please mark a resolved. \*

---

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [9 February 2016 13:50 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/3 "2016-02-09T13:50:45Z")

</div>

Hi Sean,

Thanks for your reply.

Sorry for ocalhost it was an write error.

I’ve downloaded the JDBC driver but I don’t see exactly where I save it .

I’ve been try to put \*jar file on C:\BonitaBPMCommunity-7.1.3\workspace\tomcat\lib

but it doesn’t works .

Thanks in advance for your reply

---

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [9 February 2016 14:35 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/4 "2016-02-09T14:35:20Z")

</div>

I’ve been restarted the tomcat , but the problem it’s still the same

---

<div class="post-metadata">

**Author:** ![marktoddy](https://avatars.discourse-cdn.com/v4/letter/m/dfb087/32.png) [@marktoddy](https://community.ofelia.com/u/marktoddy)\
**Post date:** [21 June 2021 07:06 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/5 "2021-06-21T07:06:00Z")

</div>

The reason you got this error is because you forgot to register your [java mysql](http://net-informations.com/java/pr/mysql.htm) jdbc driver with the application.

Should be like &nbsp;this:

Class.forName("com.mysql.jdbc.Driver");

This forces the driver to register itself, so that Java knows how to handle those database connection strings.

You'll have to read the manual on your specific mysql jdbc driver to find the exact string to place inside the the Class.forName("...") parameter.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Quentin\_Choulet](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@Quentin\_Choulet](https://community.ofelia.com/u/Quentin_Choulet)\
**Post date:** [10 February 2016 08:22 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/6 "2016-02-10T08:22:17Z")

</div>

Does the problem appear when you configure the connector or when you execute it ?

---

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [10 February 2016 09:03 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/7 "2016-02-10T09:03:26Z")

</div>

When I configure , during the test connector

---

<div class="post-metadata">

**Author:** ![Quentin\_Choulet](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@Quentin\_Choulet](https://community.ofelia.com/u/Quentin_Choulet)\
**Post date:** [10 February 2016 09:32 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/8 "2016-02-10T09:32:14Z")

</div>

I guess the studio is missing the library then. Try adding the jar to  
BONITA\_HOME/workspace/default/lib  
Then restart the studio.

---

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [10 February 2016 10:19 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/9 "2016-02-10T10:19:28Z")

</div>

Now I’ve the following error :  
ExecutionException: java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver : Unsupported major.minor version 52.0

---

<div class="post-metadata">

**Author:** ![Quentin\_Choulet](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@Quentin\_Choulet](https://community.ofelia.com/u/Quentin_Choulet)\
**Post date:** [10 February 2016 10:36 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/10 "2016-02-10T10:36:15Z")

</div>

It looks like the version of the driver is incompatible with your version of Java, try to download an older version of the driver and replace the jar.

---

<div class="post-metadata">

**Author:** ![mco](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@mco](https://community.ofelia.com/u/mco)\
**Post date:** [10 February 2016 11:17 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/11 "2016-02-10T11:17:31Z")

</div>

When I use an older version I’ve have again No suitable driver found for jdbc:sqlserver …

Is it impossible to create connector with MS SQL 2012 ???

---

<div class="post-metadata">

**Author:** ![Quentin\_Choulet](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@Quentin\_Choulet](https://community.ofelia.com/u/Quentin_Choulet)\
**Post date:** [10 February 2016 12:47 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/12 "2016-02-10T12:47:57Z")

</div>

It is possible, I did it a few months ago without troubles. I can’t help you at this point

---

<div class="post-metadata">

**Author:** ![Quentin\_Choulet](https://avatars.discourse-cdn.com/v4/letter/q/3d9bf3/32.png) [@Quentin\_Choulet](https://community.ofelia.com/u/Quentin_Choulet)\
**Post date:** [9 February 2016 14:28 UTC](https://community.ofelia.com/t/no-suitable-driver-found-for-jdbc-ocalhost-sqlexpress-1433-databasename/6934/13 "2016-02-09T14:28:53Z")

</div>

You need to restart tomcat. From the studio : Server → restart web server
