Expand my Community achievements bar.

Connection to Sybase using Connection profile

Avatar

Level 1
Hello,



I've been trying to configure a connection profile to
directly connect to a sybase database, but I have issues with the
drivers. At firt I was told that the JDBC drivers jconn3.jar
weren't found, so I downloaded the ones from Sybase :
http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect



In the Edit driver definition windows I've deleted the
jconn3.jar and replaced it with the jconnect.zip I just download.
Then I've entered all the details concerning my database, but when
I Test the connection, I get this message :



java.lang.ClassNotFoundException:
com.sybase.jdbc3.jdbc.sybdriver

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native
Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.net.FactoryURLClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnection.java:86)

at
org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)

at
org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)

at
org.eclipse.datatools.enablement.sybase.asa.JDBCASAConnectionFactory.createConnection(JDBCASAConnectionFactory.java:32)

at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)

at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)

at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)



Any idea ? Any solutions ?



TIA.
0 Replies