NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbean and derby connection error.

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
pinga123



Joined: 12 Nov 2009
Posts: 4

PostPosted: Fri Nov 13, 2009 6:38 am    Post subject: Netbean and derby connection error. Reply with quote

Hi guys I had created an application long days back using netbean.

Now i have installed netbean 6.0.1 in my machine .
Whenever i try to create a derby database connection to the database


It throws following error.

unable to add connection .Cannot establish a connection to jdbc:derby://localhost:1527/fmgdb
using org.apache.derby.jdbc.ClientDriver (DERBY SQL error :SQLCODE:-1,SQLSTATE:XJ040,SQLERRMC:Failed
to start database 'fmgdb',see the next exception for details.::SQLSTATE:XSLANDatabase at
C:\Documents and Settings\~\.netbeans-derby\fmgdb has an imcompatible format with the current
version of the software .the database was created by or upgraded by version 10.4.).
Back to top
jyeary



Joined: 21 Oct 2008
Posts: 606
Location: Simpsonville, SC

PostPosted: Fri Nov 13, 2009 1:57 pm    Post subject: Re: Netbean and derby connection error. Reply with quote

I don't want to overstate the obvious, but the error message seems to indicate that the database you are attempting to connect to is in a newer format than the software which is trying to connect to it. This is resulting in an error.

I did test my remarks. I created a database with 10.4 and attempted to start and connect to it using 10.1.1.0 and I received the same error.

ERROR XJ040: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'DELETEME', see the next exception for details.::SQLSTATE: XSLANDatabase at /root/Desktop/DELETEME has an incompatible format with the current version of the software.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo