quality@glassfish.java.net

Re: Not able to find the A location

From: Homer Yau <Homer.Yau_at_Sun.COM>
Date: Mon, 28 Sep 2009 10:26:46 -0700

Hi Dwarak,

Have you export your environment for $JAVA_HOME and add $JAVA_HOME/bin to the $PATH?

export JAVA_HOME=/my_jdk_home/path
export PATH=$JAVA_HOME/bin:$PATH

Thanks,
Homer Yau

Dwarakanath wrote:

> Thanks Jack!Found it!
>
> When run the setup-cluster.xml I am getting the following error,
>
> BUILD FAILED
> /home/jboss/glassfish-v2ur2/setup-cluster.xml:169: The following error
> occurred while executing this line:
> /home/jboss/glassfish-v2ur2/setup-cluster.xml:183: The following error
> occurred while executing this line:
> /home/jboss/glassfish-v2ur2/setup-cluster.xml:148: The following error
> occurred while executing this line:
> /home/jboss/glassfish-v2ur2/setup-cluster.xml:144: Please set
> java.home to a JDK installation
>
> Can you please help!
>
> If I give add cluster support in admin console,will it do the same as
> *ant -f setup-cluster.xml
>
> *Awaiting for your Reply!
>
>
> --
> Regards,
> Dwarak
> Jack Sparrow wrote:
>> Hi Dwarak
>>
>>
>>> /lib/ant/bin/ant.
>>>
>> If you want to use the "ant", the full path location is below :
>> $GLASSFISH_HOME/lib/ant/bin/ant
>>
>> Did you see this location ?
>>
>> For example, my $GLASSFISH_HOME is /Applications/glassfish/.
>> So the ant location is /Applications/glassfish/lib/ant/bin/ant.
>>
>> "lib" directory is not located under the root.
>>
>> Please check it.
>>
>> 2009/9/29 Jack Sparrow <jacksparrow602_at_gmail.com>:
>>
>>> Hello,
>>> I am trying to configure a Glassfish cluster using glassfish v2
>>> and when I am trying to run the setup-cluster.xml,I am not able to find
>>> this location,
>>>
>>> /lib/ant/bin/ant.
>>>
>>>
>>> Please help!
>>>
>>>
>>> --
>>> Regards,
>>> Dwarak
>>>
>>>
>>
>>
>