Question subject: Data Base problem with Netbeans IDE
Posted: Fri Jan 21, 2011 7:23 pm
Joined: Sun Jan 09, 2011 2:16 pm Posts: 56 Has thanked: 1 time Have thanks: 0 time
Hi friendzz... i have done my project at college with net beans with Java DB (Network) driver and by Derby.... when i import my project in my system first it asks for "Resolce DataSource Problem.." and then i right click on my project and select "Resolce DataSource Problem.." it gavel the message
database connection for the data sources referenced in this project could not be located and it show "jdbc/VMH_ApacheDerby only option in the "Resolce DataSources" window
And then when i click Add connection and then "OK" button it gives thw error window as
"unable to add connection. Cannot establish a connection to jdbc:derby://localhost:1527/vmh using org.apache.derby.jdbc.ClientDriver (DERBY SQL errror: SQLCODE: -1, SQLSTATE: XJ040, SQLERRmC: Failed to start database '\vmh', see the next exception for details.). "
Plz provide me the solution for this ...is there any special process for installling Netbeans...am just install it with default options given by it while installig am using netbeans 6.5 and also tried 6.0 version
Question subject: Re: Data Base problem with Netbeans IDE
Posted: Sun Jan 23, 2011 6:41 pm
Joined: Tue Mar 27, 2007 10:55 pm Posts: 2279 Location: Earth Has thanked: 39 time Have thanks: 61 time
SQLSTATE: XJ040 = = Failed to start database '<databaseName>', see the next exception for details.
so make sure the database started or your are using the right database name .
_________________ Currenlty programming with : java , html , php , and javascript . (OCJP-6 certified )
saics
Question subject: Re: Data Base problem with Netbeans IDE
Posted: Tue Jan 25, 2011 3:11 pm
Joined: Sun Jan 09, 2011 2:16 pm Posts: 56 Has thanked: 1 time Have thanks: 0 time
But the same project is successfully executed in Netbeans 6.9V bro.... previously am using 6.0 and 6.5V but i get the same error message...what it means bro...in prev versions we have to copy any files(jar files or any) from one folder to any other folder??