Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Derby Connection Profile Eclipse DTP Error
Derby Connection Profile Eclipse DTP Error [message #27851] Fri, 16 March 2007 14:23
Rajesh Jain is currently offline Rajesh JainFriend
Messages: 17
Registered: July 2009
Junior Member
Hi

I am using Derby 10.2.2 and Eclipse 3.3.
I try to create a Database Profile (DTP) using the Apache Derby JDBC
Connection.
I use the Derby Client JDBC Driver, and I have specified the jars files
(derby.jar, derbyclient.jar, derbynet.jar, derbytools.jar)
The URL is jdbc:derby://localhost:1527/sample;create=true
If I try to Ping, or Test Connection, it gives me a error (below) . Am I
missing something?
If I use the Apache Derby Embedded Driver and use the Derby Plugin (ij) at
project level it works.
I would like to use the Derby Database in Database Development?

java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java :594)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection .createConnection(JDBCConnection.java:86)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.inte rnalCreateConnection(DriverConnectionBase.java:104)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open (DriverConnectionBase.java:53)
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection Factory.createConnection(JDBCConnectionFactory.java:52)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection(ConnectionFactoryProvider.java:85 )
at
org.eclipse.datatools.connectivity.internal.ConnectionFactor yProvider.createConnection(ConnectionFactoryProvider.java:69 )
at
org.eclipse.datatools.connectivity.internal.ConnectionProfil e.createConnection(ConnectionProfile.java:316)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.ja va:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Previous Topic:Database Explorer Connections access
Next Topic:Derby Connection Profile Eclipse DTP Error
Goto Forum:
  


Current Time: Sat Apr 20 00:54:11 GMT 2024

Powered by FUDForum. Page generated in 0.02460 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top