hi-
 
i have been going through the documentation and i still cant get connected.
 
the first time you can see it connected. that is because i had it already
connected using eclipse ide.
 
the second time i had shut the connection off on eclipse and then tried to
connect using ij at the command line in the frameworks\etc.  it refuses.
 
i want to deploy my app but am having a tough time getting a connection
unless i use the eclipse environment to start the server.
 
any suggestions or help why this may be acting this way?
 
thanks for any help,
jim
 
C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>java org.apache.derby.tool
s.ij
ij version 10.1
ij>  connect 'jdbc:derby://localhost:1527/c:/ab/derbyDB/myDB;create=false;user=u
ser1;password=user1';
ij> exit;
 
C:\db-derby-10.1.3.1-bin\frameworks\NetworkServer\bin>java org.apache.derby.tool
s.ij
ij version 10.1
ij> connect 'jdbc:derby://localhost:1527/c:/ab/derbyDB/myDB;create=false;user=us
er1;password=user1';
ERROR (no SQLState): java.net.ConnectException : Error opening socket to server
localhost on port 1527 with message : Connection refused: connect
ij>

Reply via email to