You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Jim McNamara <3r...@verizon.net> on 2006/11/16 10:12:04 UTC

upgrading to 10.2.1.6 hangs

hi-
I copied my old derby(10.1.3.1) to a new location on the hard drive.
I installed the new derby where my classpath variables can see it.
can anyone give me a tip if they see I am doing something wrong?
the cursor just sits there and blinks after I use the connect syntax
below
and I don't get any feedback that an upgrade is happening.
 
thanks for any help,
jim
 
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
 
C:\Documents and Settings\HP_Owner>cd
c:\derby\frameworks\NetworkServer\bin
The system cannot find the path specified.
 
C:\Documents and Settings\HP_Owner>cd
c:\derby\frameworks\NetworkServer\bin
 
C:\derby\frameworks\NetworkServer\bin>set
CLASSPATH=%DERBY_INSTALL%\lib\derbycli
ent.jar;%DERBY_INSTALL%\lib\derbytools.jar;%DERBY_INSTALL%\lib\derbynet.
jar
 
C:\derby\frameworks\NetworkServer\bin>java  org.apache.derby.tools.ij
ij version 10.2
ij> connect jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true
IJ ERROR: Unable to establish connection
ij> connect jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true;
IJ ERROR: Unable to establish connection
ij> IJ ERROR: Unable to establish connection
ij> connect 'jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true'
cursor blinks here and does nothing
 
C:\derby\frameworks\NetworkServer\bin>set
CLASSPATH=%DERBY_INSTALL%\lib\derbycli
ent.jar;%DERBY_INSTALL%\lib\derbytools.jar;%DERBY_INSTALL%\lib\derbynet.
jar;%DER
BY_INSTALL%\lib\derby.jar
 
C:\derby\frameworks\NetworkServer\bin>java  org.apache.derby.tools.ij
ij version 10.2
ij> connect 'jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true'
cursor blinks and does nothing
C:\derby\frameworks\NetworkServer\bin>

RE: upgrading to 10.2.1.6 hangs

Posted by Jim McNamara <3r...@verizon.net>.
Oops.

I am getting feedback so hopefully it wont be long.
Thanks very much,
jim

-----Original Message-----
From: Oystein.Grovlen@Sun.COM [mailto:Oystein.Grovlen@Sun.COM] 
Sent: Thursday, November 16, 2006 4:20 AM
To: Derby Discussion
Subject: Re: upgrading to 10.2.1.6 hangs

Jim McNamara wrote:

> 
> ij> connect
'jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true'
> 
> cursor blinks here and does nothing

You are missing a semicolon to complete you ij-statement.  The cursor 
blinks because ij waits for more input.

-- 
Øystein


Re: upgrading to 10.2.1.6 hangs

Posted by Oystein Grovlen - Sun Norway <Oy...@Sun.COM>.
Jim McNamara wrote:

> 
> ij> connect 'jdbc:derby://localhost:1527/c:/derby/lib/myDB;upgrade=true'
> 
> cursor blinks here and does nothing

You are missing a semicolon to complete you ij-statement.  The cursor 
blinks because ij waits for more input.

-- 
Øystein