users@glassfish.java.net

RE: Problem to install glassfish v2ur2 on AIX.

From: Wim Verreycken <wim_at_pizzastop.be>
Date: Tue, 26 Aug 2008 11:34:41 +0200

Seems like the "File {0} not found" could be keystore.jks. Could you check
if this file exists? It should be under [domaindir]/config.

If it exists it might be a password/alias problem.
You could try renaming the file and recreating manually using keytool f.e.

keytool -genkey -keyalg RSA -keystore C:\Program
files\glassfish\domains\domain1\config\keystore.jks -alias s1as -dname
"CN=your.cname.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 can also be a restriction on aix which prevents your jvm from accessing
that file.

Wim
-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: dinsdag 26 augustus 2008 8:05
To: users_at_glassfish.dev.java.net
Subject: Problem to install glassfish v2ur2 on AIX.

My Server is IBM P570,Operation System version is AIX 5.3.
glassfish binary file is glassfish-installer-v2ur2-b04-aix-ml.jar
#uname -a
AIX sourceserver 3 5 00C09072C00

#more /etc/hosts
127.0.0.1 loopback localhost
192.168.20.200 sourceserver

#java -version
java version"1.6.0"
Java(TM) SE Runtime Envrionment (build pape6460sr1-20080419_01(SR1))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 AIX ppc64-64
jvmap6460-20080416_18762)
.....
....
...

#more /etc/environment
ANT_HOME=/usr/glassfish/lib/ant
GLASSFISH_HOME=/usr/glassfish
JAVA_HOME=/usr/java6_64
PATH=/usr/glassfish/lib/ant/bin:/usr/glassfish/bin:/usr/java6_64/bin:/usr/ja
va6_64/jre/bin:.......

When I use ant -f /usr/glassfish/setup.xml,it is a error output:
create.domain:
[exec] Security Store uses: JKS
.......
[exec] File {0} not found.
[exec] CLI130 Could not create domain, domain1

BUILD FAILED
/opt/glassfish/setup.xml:172: The following error occurred while executing
this line:
/opt/glassfish/setup.xml:561: exec returned: 1

What's wrong?
[Message sent by forum member 'luojianming' (luojianming)]

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

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