Unable to load class: com.simba.salesforce.jdbc42.Driver


All SF parameters are correct.

Have you added the jdbc jar to the Stardog classpath? (Via the ext directory or STARDOG_EXT env bar directory)

Has this worked in the past and is only now not working or is this the first time you’re using it?

not yet, we just started to try the stardog, can you please share some manual on how to do that?

There are a couple of places you can place external jars. You can create a directory in your installation directory 'server/ext' or in any directory referenced by the environment variable STARDOG_EXT. You'll need to make sure it's set in such a way that it's set for the user who is running the stardog daemon and then put your jar in either one of the two locations. If you're in a real hurry you can put it into the server/dbms directory but then you'll be mixing stardog files with the ones you're adding. The advantage of using the environment variable is that they'll continue to work as you upgrade stardog versions.

it's not clear actually )) my general idea is to connect to Salesforce, and the only way is to do it via JDBC connection.
I didn't find the manual on how to do this.

The relevant section in the documentation would be https://www.stardog.com/docs/#_structured_data_virtual_graphs

Stardog, in may cases, can not distribute third party jdbc drivers so you need to download them and make them available to Stardog before you can use them. To do this you need to download the Salesforce Simba JDBC driver and place it in the server/dbms directory or use one of the other two locations mentioned previously.

Can you be more specific about what you're having difficulty with?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.