quality@glassfish.java.net

Re: Not able to find the A location

From: Dwarakanath <Dwarakanath.J_at_Sun.COM>
Date: Mon, 28 Sep 2009 23:31:30 +0530

Thanks Jack and Homer!

Now I am struck in one more problem,I have created a domain named domain1.
I want to make this domain support clusters and server instances.
Please help me in this process.


--
Regards,
Dwarak
Judy Tang wrote:
> Thanks Jack and Homer for help.  It is great to see community help 
> each other :-)
>
> Hi Dwarak,
>
> Here is GlassFish 2.1 doc set.  Would you like to take a look to see 
> how the $JAVA_HOME and $PATH should be set.
> If you don't see them in the obvious place, let us know, this help us 
> to improve the doc :-)
>
> GlassFish 2.1 doc: http://docs.sun.com/coll/1343.6
> GlassFish v3 doc: 
> http://wiki.glassfish.java.net/Wiki.jsp?page=Docreviewrule
>
> Thanks,
> Judy
>
> 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
>>>>
>>>>     
>>>
>>>   
>>