quality@glassfish.java.net

Re: Help Required

From: kumar <Dasari.Kumar_at_Sun.COM>
Date: Mon, 01 Jun 2009 12:16:53 +0530

Hi Dwarakanath

If you have installed glassfishV2.1 under your home directory, lets say
your home directory is: /home/dj228038 and you installed glassfishV2.1
under */home/dj228038/*

then your *glassfish.home = */home/dj228038/glassfish-v2.1/

Hope this clears your doubt. :-)

Thanks,
-Kumar



Dwarakanath J wrote:
> Thanks for the replies Elena,Sankar.I have deleted that domain and I
> have build ant setup-cluster.xml!
>
>
> But now I am not able to figure where the glassfish home directory is,
> In the tutorial it has been given that,
>
> *${glassfish.home}/lib/lbplugin"
> *Please tell the absolute path for this directory,or how to get into
> this directory(I am working on Solaris SPARC machine).
>
> Awaiting for your Reply!
>
>
> --
> Dwarak
> *
> *On 05/31/09 23:05, Judy Tang wrote:
>
>> Hi Elena and Sankar, Thanks for help. See you at JavaOne.
>>
>> Hi Dwarak, Nice to meet you and good luck to your school !
>>
>> Judy
>>
>> Elena Asarina wrote:
>>> Hello Dwarakanath,
>>>
>>> You apparently already had a directory
>>> /home/dj228038/glassfish-v2.1/domains/domain1, for this reason the
>>> installation failed. You can have both Glassfish V2 and V3. But
>>> you need to use different installation directories and if you want
>>> them to run simultaneously you need to use different ports.
>>> I believe installation with setup-cluster.xml should work if you
>>> will select a new installation directory.
>>> Also, using ---domaindir, it is possible to create domain1 in
>>> not default location. But in this case, domain has to be created
>>> with asadmin command create-domain, i.e. <AS_HOME>/bin/asadmin
>>> create-domain ...... See asadmin help for details.
>>>
>>> Elena
>>>
>>> Dwarakanath J wrote:
>>>> Hello Everybody,
>>>> I am Dwarakanath Sun Campus Ambassador from
>>>> SASTRA University,INDIA.I have great Zeal for AppServers and I have
>>>> lot of appetite to learn about Glassfish.I feel great to be a part
>>>> of this community.
>>>>
>>>>
>>>> From Alans link,I started of building the
>>>> setup-cluster.xml,but my build failed and I got the following error,
>>>>
>>>> *"remove.domain.xml:
>>>> [echo] Deleting File ->
>>>> /home/dj228038/glassfish-v2.1/lib/install/templates/cluster/domain.xml
>>>>
>>>> create.domain:
>>>> [exec] Domain domain1 already exists in
>>>> /home/dj228038/glassfish-v2.1/domains. Use a different domain name
>>>> or the --domaindir option.
>>>> [exec] CLI130 Could not create domain, domain1
>>>> BUILD FAILED
>>>> file:/home/dj228038/glassfish-v2.1/setup-cluster.xml:690: exec
>>>> returned: 1"
>>>>
>>>> Queries:
>>>> * -I have installed both Glassfish v3 and V2 as well,is it the
>>>> reason for the problem?
>>>> -It asks to use a ---domaindir option.I am not able to do
>>>> this.please explain.
>>>>
>>>>
>>>> Awaiting For Your Reply!
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Dwarak
>>>> *
>>>> *On 05/31/09 04:58, Judy Tang wrote:
>>>>> Thanks Alan, it is great to see you here to help out the
>>>>> community. I can tell you have learned a lot about
>>>>> GlassFish in the past one year :-)
>>>>>
>>>>> Welcome Dwarak to GlassFish Quality Community. We have a lot of
>>>>> experts here configure GlassFish
>>>>> clusters day in and day out. If you have any question, just ask.
>>>>>
>>>>> Thanks,
>>>>> Judy
>>>>>
>>>>> Alan Vargas wrote:
>>>>>> Hi Dwarakanath,
>>>>>>
>>>>>> Read this tutorials and links for learn more about clustering in
>>>>>> Glassfish:
>>>>>>
>>>>>> glassfish: GlassFish V2 with Cluster, Load Balancer
>>>>>> Configurations
>>>>>> <https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html>
>>>>>>
>>>>>> A quick guide to setup load balancing and high availability
>>>>>> cluster with Sun application server 8.1 - Mani's blog
>>>>>> <http://blogs.sun.com/cmani/entry/a_quick_guide_to_setup>
>>>>>> glassfish: GlassFish V2 with Cluster, Load Balancer
>>>>>> Configurations
>>>>>> <https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html>
>>>>>>
>>>>>>
>>>>>> I hope that these links can help you.
>>>>>>
>>>>>> Alan
>>>>>>
>>>>>> Dwarakanath J escribió:
>>>>>>> Hello Guys,
>>>>>>> I want to know more about working of glassfish on
>>>>>>> clusters.How to configure it?and so on.Please forward me some
>>>>>>> materials for the same.
>>>>>>>
>>>>>>> Awaiting For Your Reply! :-)
>>>>>>>
>>>>>>>
>>>>>>> Regards,
>>>>>>> Dwarak
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail:
>>>>>>> quality-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail:
>>>>>> quality-unsubscribe_at_glassfish.dev.java.net For additional
>>>>>> commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>