users@glassfish.java.net

Hosting multiple GlassfisDomains

From: <forums_at_java.net>
Date: Fri, 12 Aug 2011 11:24:32 -0500 (CDT)

Hi all,

I am trying to host more than one glassfish domain in my glassfish
instalation.  I have the default domain (domain1) which I will be deleting
once I have my domains created, I have managed to create the first domain and
set its portbase to 30000.

However when I try to create a cluster (for the new domain) it seems to be
being picked up by domain1.  When I stop domain1 I get the fulling error:

Remote server does not listen for requests on [localhost:4848]. Is the server
up?

 

I am wondering how I create the cluster on the right domain, the
create-cluster command doesnt seem to have an option to define which domain
the cluster is part of, should I be using the GMS settings?  I have had a
quick look, and not only does this seem over the top nor any options that
strike me as appropriate.

 

Thanks

Gavin


--
[Message sent by forum member 'gavintranter']
View Post: http://forums.java.net/node/832304