blob: 26253532045cb270fc29b7d9b018d4e0cc3ca727 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<title>Add Server Instance Wizard: GlassFish Domain Name/Location</title>
<link rel="stylesheet" href="ide.css" title="Oracle BLAFDoc" type="text/css"/>
</head>
<body>
<p><a id="registering_app_server_hk2_domain" name="registering_app_server_hk2_domain"></a></p>
<div id="NBCSH4879"><!-- infolevel="all" infotype="General" --><a id="sthref712" name="sthref712"></a>
<h1>Add Server Instance Wizard: GlassFish Domain Name/Location</h1>
<a name="BEGIN" id="BEGIN"></a>
<p>You see this page of the Add Server Instance wizard when you specify details to register an instance of GlassFish 3.x with the IDE. To register a server instance, you specify the properties of a local or remote domain.</p>
<p>Use this page to specify the details of the local or remote domain by selecting one of the following options.</p>
<table summary="User interface elements and descriptions" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0">
<col width="24%" />
<col width="*" />
<thead>
<tr align="left" valign="top">
<th align="left" valign="bottom" id="r1c1-t80">Element</th>
<th align="left" valign="bottom" id="r1c2-t80">Description</th>
</tr>
</thead>
<tbody>
<tr align="left" valign="top">
<td align="left" id="r2c1-t80" headers="r1c1-t80">
<p>Register Local Domain</p>
</td>
<td align="left" headers="r2c1-t80 r1c2-t80">Choose an existing domain from the dropdown list or create a new domain by typing the domain name in the text field.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r3c1-t80" headers="r1c1-t80">Register Remote Domain</td>
<td align="left" headers="r3c1-t80 r1c2-t80">Enter the following information for the remote domain:</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r4c1-t80" headers="r1c1-t80">&nbsp;&nbsp;&nbsp;&nbsp;Host Name</td>
<td align="left" headers="r4c1-t80 r1c2-t80">Enter the host name or IP address for the remote Glassfish 3 server.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r5c1-t80" headers="r1c1-t80">&nbsp;&nbsp;&nbsp;&nbsp;Admin Port</td>
<td align="left" headers="r5c1-t80 r1c2-t80">Enter the port number used to communicate with the remote server. The default port is 4848.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r6c1-t80" headers="r1c1-t80">
<p>Target</p>
</td>
<td align="left" headers="r6c1-t80 r1c2-t80">Optional) Enter a value that is used to identify a cluster and/or stand-alone instance. This value will be used as the value for the target option when running server administration tasks from the IDE. For example, if you have a cluster identified as cluster1 and enter cluster1 as the Target value, when you deploy an application from the IDE to the server the application will be deployed to every instance in the cluster (asadmin deploy --target cluster1 --name myapp myapp.war).
<p>When no Target value is specified (default) all commands will be applied to the domain administration server instance.</p>
</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r7c1-t80" headers="r1c1-t80">
<p>Username</p>
</td>
<td align="left" headers="r7c1-t80 r1c2-t80">Type the username for the server instance.</td>
</tr>
<tr align="left" valign="top">
<td align="left" id="r8c1-t80" headers="r1c1-t80">
<p>Password</p>
</td>
<td align="left" headers="r8c1-t80 r1c2-t80">Type the password for the server instance.</td>
</tr>
</tbody>
</table>
<br />
<!-- -->
<p>Click Finish to add the instance to the list of servers in the Services window.</p>
<p><b>Note</b>: When you register an existing domain, the IDE uses the port numbers and other properties specified in the domain configuration.</p>
<p><b>Note</b>: A username and password are required to work with a remote instance of GlassFish Server 3.1.2. To accept remote admin requests the secure administration feature on the remote instance must be enabled. The secure administration feature cannot be enabled if any admin accounts on the remote instance have an empty password.</p>
<a id="NBCSH4884" name="NBCSH4884"></a>
<hr><p><b>Related Topics</b></p>
<p><i>Developing Applications with NetBeans IDE</i>,
<object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer">
<param name="content" value="http://www.oracle.com/pls/topic/lookup?ctx=nb8200&id=NBDAG1681">
<param name="text" value="<html><u>&quot;Working with Glassfish Application Servers&quot;</u></html>">
<param name="textFontSize" value="medium">
<param name="textColor" value="blue">
</object>
</p>
<!-- -->
<!-- Start Footer -->
<table summary="" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="left" width="86%"><a href="legal_notice.htm">
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.</a>
</td>
</tr>
</table>
<!-- -->
</body>
</html>