Derby travel db not working

Hi forum, I have a problem with the Derby server that comes with the sjsas 9, the server runs ok from the menu start->programs->Sun Microsystems->Application Server PE 9->Start JavaDB, but when I try to get a connection from NetBeans 5.5 Runtime,Databases,jdbc:derby://localhost:1527/travel, I get a message window with the text:

The application server rejected establishment of the connection. An attempt was made to access a database, travel, which was not found.

Can the root of problem be that I had the glassfish installed before the install of sjsas 9, and then I remove the first )deleting the folder of glassfish)? Or maybe it can be because I installed a sjsas 8 after the installation of sjsas 9 and don磘 remove the last?

[762 byte] By [gilrodrigueza] at [2007-11-26 19:22:34]
# 1

derby databases will be created in derby's home dir.

Every GF installation will have derby bundled.

For eg. If you have created your database with GF-first-installation, and now you have started database of GF-second-installation, "travel" will be looked at GF-second-installation's derby install dir.

Insteady, if you can find where the dir "travel" [typically in GF_INSTALL/databases], when you start the database using "asadmin start-database" provide --dbhome option with the path of "travel" database.

http://docs.sun.com/app/docs/doc/819-3662/6n5s9hn2a?a=view

or change the netbeans derby connection url to point absolute path of database

eg:

jdbc:derby:ABSOL_PATH/travel;

Thanks,

-Jagadish

Jagadish.Prasatha at 2007-7-9 21:43:17 > top of Java-index,Application & Integration Servers,Application Servers...