users@glassfish.java.net

Installation Problem Win XP - create domain keytool error

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Aug 2008 06:23:39 PDT

Hi,
I have tried to install Glassfish 2ur2 on two WinXP machines with the most up-to-date Sun java 6 jdk. While the home PC worked like a charm, the office one fails to create the domain.

I have tried to find out more and added the "-DDebug" switch to the asadmin command as I have read in some posting and even attached a debugger to it :-)

However, the real reason a problem occurs fails me.

Everything goes fine until EEDomainsManager(KeystoreManager).createSSLCertificateDatabase(RepositoryConfig, String) line: 175

The keytool command does not complete successfully, but in no specific way :-(
The command used is (from the eclipse debugger)
[C:\java-6\jre/../bin/keytool, -genkey, -keyalg, RSA, -keystore, C:\Data\runtimes\glassfish\domains\domain1\config\keystore.jks, -alias, s1as, -dname, CN=DEB3MWY2J.xxx.example.com,OU=Sun Java System Application Server,O=Sun Microsystems,L=Santa Clara,ST=California,C=US, -validity, 3650, -keypass, changeit, -storepass, changeit, -J-Dsun.security.internal.keytool.skid]

The error message is ""

When running the command manually, e.g.
C:\Data\runtimes\glassfish>c:\java-6\jre\..\bin\keytool -genkey -keyalg RSA -keystore C:\Data\runtimes\glassfish\d0mains\domain1\config\keystore.jks -alias s1as -dname "CN=DEB3MWY2J.xxx.example.com,OU=Sun Java System Application Server,O=Sun Microsystems,L=Santa Clara,ST=California,C=US" -validity 3650 -keypass changeit -storepass changeit -J-Dsun.security.internal.keytool.skid

it runs just fine.

Any ideas?
[Message sent by forum member 'chaul' (chaul)]

http://forums.java.net/jive/thread.jspa?messageID=291582