PDA

View Full Version : [ubuntu] glassfish asadmin start-domain domain1 ERROR



cemaytar
April 30th, 2008, 03:00 PM
I had installed glassfish on gutsy.
But when I try to execute:

asadmin start-domain domain1

it first asks for admin port, then I enter 4848.
After some time it says:


keytool error: java.io.IOException: Invalid keystore format

CLI130 Could not create domain, domain1


I'am new at application server usage, so there may be something I miss.

Thanks ..

togo59
April 30th, 2008, 03:37 PM
Strange, I've done this under Gutsy and not been asked for the port when running asadmin. Same under Scientific Linux: it never asks for a port number.

Normally the admin port is supplied during the install process.

Try a reinstall? Do you use Netbeans by any chance?

cemaytar
April 30th, 2008, 03:58 PM
I use Netbeans.
First I installed glassfish from netbeans plugins. But I think it only includes the bindings (it was just 2 mb)

Then I installed glassfish via synaptic. Then I tried-> asadmin start-domain domain1

togo59
April 30th, 2008, 04:12 PM
The full NB download (from the NB site) contains the latest glassfish (not just a plugin). I.e. either select "EE & web" or "All" on the download page. Advice: Go for "All" :)

When I installed it I did so without Synaptic. Anyways NB 6.1 is so cool you just have to have the latest version.

My advice: uninstall gf and download NB 6.1 (full version). The installer takes you through all the gf set-ups including ports, admin password etc.

\\:D/However, make sure you switch your display visual effects to none. The installer doesn't work otherwise. See http://wiki.netbeans.org/InstallingNetbeansUbuntu7.04
for the full monty.

cemaytar
May 1st, 2008, 06:51 AM
thanks ..