users@glassfish.java.net

RE: port conflicts with glassfish v3 and v2

From: Eve Pokua <gorgeous65_at_msn.com>
Date: Thu, 1 Oct 2009 11:38:37 +0100

Jane,

 

Looking at this:

 

http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaref/hman1as/asadmin-create-domain.1as.html

 

I can delete a domain for example the domain within my glassfish v3 since it is the new installation.

 

Then create another domain in the same server using the the asadmin create domain command. So I can't keep

the old domain and change the port 8181? Or I can create an extra domain with another port number?

 

Thanking you in advance.

 

eve
 


Date: Thu, 1 Oct 2009 03:29:31 -0700
From: Jane.Young_at_Sun.COM
To: users_at_glassfish.dev.java.net
Subject: Re: port conflicts with glassfish v3 and v2

Hi Eve,

You can change the port with the domainproperties option in create-domain command:

"asadmin create-domain ... --domainproperties http.ssl.port=<port number>..."

or use the option, --portbase which tells create-domain the base to start assigning port numbers.

Please see manpage from "asadmin create-domain --help" for more details.

Thanks,
Jane


Eve Pokua wrote:


Hello everyone,
 
Lately I have been having so much problems deploying my application and ended up
even installing glassfish v3 preview. I already had cluster profile installed for v2. I used port
4949 for admin console. Then port 9090 for http ports. Then there is the other port 8181 which
I was not given the opportunity to change during installation. Now I do believe the same port
is being used by my v2. So during deployment in version v2 I get port conflicts. The question is if
I can check available ports on my PC to use how do I change the port 8181 for one of my servers?
 
I had same problems with java.net sql error which somebody has already submit a thread for. I am following the
thread to see if I can find a solution to some of the problems I am facing at the moment. See below:
 
 
http://forums.java.net/jive/thread.jspa?messageID=366378
 
Thanking you in advance.
 
eve




View your Twitter and Flickr updates from one place - Learn more!
                                                _________________________________________________________________ Share your photos with Windows Live Photos – Free. http://clk.atdmt.com/UKM/go/134665338/direct/01/
--_cae2428c-1f3b-4114-86bb-dc2fe9177088_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Jane,<BR>
&nbsp;<BR>
Looking at&nbsp;this:<BR>
&nbsp;<BR>
<A href="http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaref/hman1as/asadmin-create-domain.1as.html">http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWaref/hman1as/asadmin-create-domain.1as.html</A><BR>
&nbsp;<BR>
I can delete a domain for&nbsp;example the domain within my glassfish v3 since it is the new installation.<BR>
&nbsp;<BR>
Then create another domain in the same server&nbsp;using&nbsp;the the asadmin&nbsp;create domain command. So I can't keep<BR>
the old domain and change the&nbsp;port 8181?&nbsp; Or I can create an extra domain with another port number?<BR>
&nbsp;<BR>
Thanking you in advance.<BR>
&nbsp;<BR>
eve<BR>&nbsp;<BR>
<HR id=stopSpelling>
Date: Thu, 1 Oct 2009 03:29:31 -0700<BR>From: Jane.Young_at_Sun.COM<BR>To: users_at_glassfish.dev.java.net<BR>Subject: Re: port conflicts with glassfish v3 and v2<BR><BR>Hi Eve,<BR><BR>You can change the port with the domainproperties option in create-domain command:<BR><BR>"asadmin create-domain ... --domainproperties http.ssl.port=&lt;port number&gt;..."<BR><BR>or use the option, --portbase which tells create-domain the base to start assigning port numbers.<BR><BR>Please see manpage from "asadmin create-domain --help" for more details.<BR><BR>Thanks,<BR>Jane<BR><BR><BR>Eve Pokua wrote:
<BLOCKQUOTE cite=mid:COL105-W5918C121CE3DAC1B203B8AD7D30_at_phx.gbl>
<STYLE>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hello everyone,<BR>&nbsp;<BR>Lately I have been having so much problems deploying my application and ended up<BR>even installing glassfish v3 preview. I already had cluster profile installed for v2.&nbsp; I used port <BR>4949 for admin console. Then port 9090 for http ports.&nbsp; Then there is the other port 8181 which<BR>I was not given the opportunity to change during installation. Now I do believe the same port<BR>is being used by my v2. So during deployment in version v2 I get port conflicts. The question is if<BR>I can check available ports on my PC to use how do I change the port 8181 for one of my servers?<BR>&nbsp;<BR>I had same problems&nbsp;with java.net sql error which somebody has already submit a thread for.&nbsp; I am following the <BR>thread to see if I can find a solution to some of the problems I am facing at the moment.&nbsp; See below:<BR>&nbsp;<BR>&nbsp;<BR><A href="http://forums.java.net/jive/thread.jspa?messageID=366378">http://forums.java.net/jive/thread.jspa?messageID=366378</A><BR>&nbsp;<BR>Thanking you in advance.<BR>&nbsp;<BR>eve<BR><BR><BR>
<HR>
View your Twitter and Flickr updates from one place - <A href="http://clk.atdmt.com/UKM/go/137984870/direct/01/">Learn more!</A></BLOCKQUOTE><BR> <br /><hr />View your Twitter and Flickr updates from one place – <a href='http://clk.atdmt.com/UKM/go/137984870/direct/01/' target='_new'>Learn more!</a></body>
</html>
--_cae2428c-1f3b-4114-86bb-dc2fe9177088_--