data source error

I have just installed Studio creator. I created a new project and under the servers view, the datasource Travel has a red x and the connection status is failed, and the message indicates the following

java.security.PrivilegedActionException : Error opening socket to server localhost on port 21527 with message : null

My question is how do I register the derby database with creator?

Thanks

[416 byte] By [tlgraffa] at [2007-11-27 11:08:28]
# 1

Hi!

Have You started bundled DB? At the bottom of tree in Servers window You can find its node, righctclick on it and select Start. Then try to connect to DB.

Thanks,

Roman.

-Grif-a at 2007-7-29 13:28:51 > top of Java-index,Development Tools,Java Tools...
# 2

Yep... I tried to start the bundled db. It opens a cmd shell and indicates that server is ready for connections on port 21527. However The bundled database server node looks like it is disconnected.

As soon as I select the servers tab and then select the Travel datasource it errors: I have uninstalled and installed.

java.security.PrivilegedActionException : Error opening socket to server localhost on port 21527 with message: null

I have no idea why this is happening? any thoughts?

Thanks

Message was edited by:

tlgraff

tlgraffa at 2007-7-29 13:28:51 > top of Java-index,Development Tools,Java Tools...
# 3

you could try the following:

First check the url etc is correct:

Click the "Bundled Database" node. Check the properties, Url and port

For Travel, select and right-click "Modify Data Source". Check it's setting.

If they do not look okay, you can restart the IDE with a fresh userdir. Userdir can be found under main menu Help->About Creator, Details tab.

You can uninstall creator, manually delete userdir. Then reinstall.

Rradhikaa at 2007-7-29 13:28:51 > top of Java-index,Development Tools,Java Tools...
# 4

To start IDE with a different userdir :

use the -userdir switch.

Rradhikaa at 2007-7-29 13:28:51 > top of Java-index,Development Tools,Java Tools...