users@glassfish.java.net

Glassfish and JDK 6

From: Hadraba Petr <hadrabap_at_bluetone.cz>
Date: Thu, 19 Oct 2006 14:14:13 +0200

Hi all,

there is in the bug in the installation procedure using JDK 6 (b102).
The following error message is displayed while the ant -f
setup-cluster.xml:

/home/petr/java/glassfish/setup-cluster.xml:125: The following error
occurred while executing this line:
/home/petr/java/glassfish/setup-cluster.xml:380: Execute failed:
java.io.IOException: Cannot run program "chmod": java.io.IOException:
error=7, Argument list too long

With jdk5 is all OK.

Workaround:
Modify the setup-cluster.xml as follows:
diff setup-cluster.xml setup-cluster.xml.org
377c377
< <target name="do.chmod" depends="do.chmod.linux"/>
---
> <target name="do.chmod" depends="do.chmod.unix, do.chmod.linux"/>
Now, all is working properly with JDK 6.
I'm using SuSE Linux on x86 machine (i686).
Where can I report this bug?
Thank you very much
PETR