I have a developer needing to connect from Tomcat to a Cache database running on a Linux server.
I got the cachejdbc.jar and cachedb.jar files from Ontario by installing a Windows version of Cache on my local machine.
I've placed them into a folder that's located inside the classpath. When he runs his code, it's coming back with:
I verified that the CacheDriver.class is inside the .jar file. I don't know what else might be the problem.
Here is the snippet of code he's using:
String url="jdbc:Cache://<OUR URL>:1972/<OUR NAMESPACE>";
java.sql.Driver drv = java.sql.DriverManager.getDriver(url);
java.util.Properties props = new Properties();
java.sql.Connection dbconnection = drv.connect(url, props);