sivagururaja wrote:
Thanks to all,
Now i solved my problem. Please take a look into this,
DriverManager.getConnection("jdbc:derby:C:/MyDB;user=un;password=pw");
After doing some DDL operations, i using the following for shutting down.
DriverManager.getConnection("jdbc:derby:C:/MyDB;user=un;password=pw;shutdown=true");
Yes, I think you are hitting the issue that the database must be booted
before shutdown. I don't think the ddl is necessary. It is the first
connection that is important. I filed
https://issues.apache.org/jira/browse/DERBY-4298 to improve the error
message or change the behavior so that the shutdown succeeds if the
database is not booted.
Kathey