users@glassfish.java.net

Re: Glassfish and JDK 6

From: Hadraba Petr <hadrabap_at_bluetone.cz>
Date: Thu, 19 Oct 2006 22:31:33 +0200

Hi Jerome,

there is no problem to fix this issue by myself, but I think, the bug
can be in the JDK:-(

Follow me:

1. Glassfish ant build script runs successfuly with JDK 5
1.1. The problem is in the `chmod' "feature"
1.2. There is in the Windoze OSes the restrictions for the maximum
length of the command line (8192 for XP, 2096 for older). It looks
like the JDK 6 has this restriction fixed also for the UNIX systems.

According to the points 1.1. and 1.2. I'll check sources of both---the
included ANT (in the GlassFish distribution) and the JDK.

I'll contact you after a few days with the result.

Thanks and have a nice day (or night)

PETR


On 10/19/06, Jerome Dochez <Jerome.Dochez_at_sun.com> wrote:
> Petr
>
> would you consider fixing it yourself ;-)
> we are open source and welcome all contributions. Since you already have
> a fix, you would just need to get things reviewed by the module owner
> and officially become a GlassFish developer...
>
> Let us know, we will let you know what you need to do to get started.
>
> Jerome
>
> Hadraba Petr wrote:
> > Thanks,
> >
> > filled as bug 1342:
> > https://glassfish.dev.java.net/issues/show_bug.cgi?id=1342
> >
> > PETR
> >
> >
> > On 10/19/06, Shreedhar Ganapathy <Shreedhar.Ganapathy_at_sun.com> wrote:
> >> Hi Hadraba
> >> Thanks for bringing this up.
> >> Please report an issue using the following link. (You will have to login
> >> to be able to file issues)
> >> https://glassfish.dev.java.net/servlets/ProjectIssues
> >>
> >> regards
> >> Shreedhar Ganapathy
> >> Project GlassFish Community Manager
> >>
> >> Hadraba Petr wrote:
> >> > 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
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>