--
View this message in context:
http://old.nabble.com/establishment-of-the-connection-tp31141466p31160742.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
server rejected establishment of the connection. An attempt
was made to access a database, posdb, which was not found.
--
View this message in context:
http://old.nabble.com/establishment-of-the-connection-tp31141466p31141466.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
bilalhaide...@gmail.com
To: derby-user@db.apache.org
Sent: Mon, Mar 14, 2011 2:30 pm
Subject: establishment of the connection
Hi i want to establish a connection with an existing db posdb.
url = jdbc:derby:// + localhost + : + 1527 + / +
posdb;
new ClientDriver
;
}
Exception:
The application server rejected establishment of the connection. An attempt
was made to access a database, posdb, which was not found.
Hi Bilal,
Is the network server running in the same directory as where posdb is
located? If not, either start the network server in posdb's
this message in context:
http://old.nabble.com/establishment-of-the-connection-tp31141466p31142301.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
On 03/14/2011 02:42 AM, bilal haider wrote:
contents of startserver.bat
set CLASSPATH=lib\derby.jar;lib\derbynet.jar
java -cp %CLASSPATH% org.apache.derby.drda.NetworkServerControl start -h
localhost -p 1527
pause
and the posdb and startserver.bat are in same location.
-- for one
there are no error messages, and also the error message I get when I try
to connect is different than when I try to connect with no server
running. The error is this:
com.ibm.db2.jcc.c.DisconnectException: The application server rejected
establishment of the connection. An attempt