Quote:
Originally Posted by thogo01
The most likely explanation is that the driver connected to something other than Data Access Server. Verify the host and listen address of the target installation. You can also test connections using the JdbcInfo utility (in the Ingres lib directory):
java JdbcInfo <host> <address>
|
When I try to run this command I am presented with the following error:
Error accessing driver components:
com.ingres.gcf.dam.MsgConn
After googling this error it looks like it may be occurring as I do not have anything set in my CLASSPATH. Other posts mention to have %II_SYSTEM%\ingres\lib\iijdbc.jar set in the classpath. Though %II_SYSTEM%\ingres\lib\ is set in the LD_LIBRARY_PATH. (Not sure if this has any effect)
So at the moment, on my local machine I have a java class that has iijdbc.jar set in its build path.
This is trying to connect to:
"jdbc:ingres://<ip address>:NV7/<dbname>;uid=ingres;pwd=******"
(My apologies I originally said <portnumber> instead of <ip address>)
On the <ip address> machine the iijdbc.jar is not in the classpath.
I will try setting the classpath to see if this resolves the issue.