users@glassfish.java.net

RE: Installation Problem Win XP - create domain keytool error

From: Manfred Riem <mriem_at_manorrock.org>
Date: Tue, 5 Aug 2008 07:24:50 -0600

Did you install the Office PC yourself? If not you might want to
ask you system admin if he has policies in place.

Manfred

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Tuesday, August 05, 2008 7:24 AM
To: users_at_glassfish.dev.java.net
Subject: Installation Problem Win XP - create domain keytool error

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net