Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
holder.

-->
<!-- Portions Copyright 2026 Payara Foundation and/or its affiliates -->

<!-- cluster/instances.jsf -->

Expand All @@ -64,7 +65,7 @@
setSessionAttribute(key="onlyDASExist" value="#{true}");
createMap(result="#{pageSession.attrs}")
mapPut(map="#{pageSession.attrs}" key="target" value="#{pageSession.clusterName}")
gf.restRequest( endpoint="#{sessionScope.REST_URL}/list-components.json" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
gf.restRequest( endpoint="#{sessionScope.REST_URL}/applications/list-applications.json" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
setPageSessionAttribute(key="appRefEndpoint" value="/clusters/cluster/#{pageSession.encodedClusterName}/application-ref/");
gf.getSingleTargetAppsInfo(appPropsMap="#{requestScope.result.data.properties}" appRefEndpoint="#{pageSession.appRefEndpoint}" target="#{pageSession.clusterName}" filterValue="#{pageSession.filterValue}", filters="#{requestScope.filters}" result="#{requestScope.listOfRows}" );
gf.isClusterName(clusterName="#{pageSession.clusterName}" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
only if the new code is made subject to such option by the copyright
holder.

Portions Copyright [2018] [Payara Foundation and/or its affiliates]
Portions Copyright 2018-2026 Payara Foundation and/or its affiliates

-->

Expand Down Expand Up @@ -66,7 +66,7 @@
setSessionAttribute(key="onlyDASExist" value="#{true}");
createMap(result="#{pageSession.attrs}")
mapPut(map="#{pageSession.attrs}" key="target" value="#{pageSession.dgName}")
gf.restRequest( endpoint="#{sessionScope.REST_URL}/list-components.json" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
gf.restRequest( endpoint="#{sessionScope.REST_URL}/applications/list-applications.json" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
setPageSessionAttribute(key="appRefEndpoint" value="/deployment-groups/deployment-group/#{pageSession.encodedDGName}/application-ref/");
gf.getSingleTargetAppsInfo(appPropsMap="#{requestScope.result.data.properties}" appRefEndpoint="#{pageSession.appRefEndpoint}" target="#{pageSession.dgName}" filterValue="#{pageSession.filterValue}", filters="#{requestScope.filters}" result="#{requestScope.listOfRows}" );
gf.isDGName(dgName="#{pageSession.dgName}" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
holder.

-->
<!-- Portions Copyright 2026 Payara Foundation and/or its affiliates -->

<!-- standalone/instances.jsf -->

Expand All @@ -63,7 +64,7 @@
setSessionAttribute(key="onlyDASExist" value="#{false}");
createMap(result="#{pageSession.attrs}")
mapPut(map="#{pageSession.attrs}" key="target" value="#{pageSession.instanceName}")
gf.restRequest( endpoint="#{sessionScope.REST_URL}/list-components" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
gf.restRequest( endpoint="#{sessionScope.REST_URL}/applications/list-applications" , method="GET" attrs="#{pageSession.attrs}" result="#{requestScope.result}");
setPageSessionAttribute(key="appRefEndpoint" value="/servers/server/#{pageSession.encodedInstanceName}/application-ref/");
gf.getSingleTargetAppsInfo(appPropsMap="#{requestScope.result.data.properties}" appRefEndpoint="#{pageSession.appRefEndpoint}" target="#{pageSession.instanceName}" filterValue="#{pageSession.filterValue}", filters="#{requestScope.filters}" result="#{requestScope.listOfRows}" );
gf.isInstanceName(instanceName="#{pageSession.instanceName}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
holder.

-->
<!-- Portions Copyright [2017] [Payara Foundation] -->
<!-- Portions Copyright 2017-2026 Payara Foundation and/or its affiliates -->

<!-- applications/applications.jsf -->

Expand All @@ -58,7 +58,7 @@
gf.onlyDASExist(onlyDAS="#{pageSession.onlyDASExist}");
createMap(result="#{requestScope.attrsMap}");
mapPut(map="#{requestScope.attrsMap}" key="target" value="domain");
gf.restRequest( endpoint="#{sessionScope.REST_URL}/list-components" , attrs="#{requestScope.attrsMap}" method="GET" result="#{requestScope.result}");
gf.restRequest( endpoint="#{sessionScope.REST_URL}/applications/list-applications" , attrs="#{requestScope.attrsMap}" method="GET" result="#{requestScope.result}");
gf.getDeployedAppsInfo(appPropsMap="#{requestScope.result.data.properties}" filterValue="#{pageSession.filterValue}", filters=>$attribute{filters} result=>$attribute{listOfRows} );
setPageSessionAttribute(key="tableTitle" value="$resource{i18n.deployTable.applications}");
setPageSessionAttribute(key="editLink" value="/common/applications/applicationEdit.jsf");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<ui:event type="beforeCreate">
createMap(result="#{requestScope.attrsMap}");
mapPut(map="#{requestScope.attrsMap}" key="target" value="domain");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/list-components" attrs="#{requestScope.attrsMap}" method="get" result="#{requestScope.resp}");
gf.restRequest(endpoint="#{sessionScope.REST_URL}/applications/list-applications" attrs="#{requestScope.attrsMap}" method="get" result="#{requestScope.resp}");
setAttribute(key="children" value="#{requestScope.resp.data.properties}");
</ui:event>
</dynamicTreeNode>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.

Copyright (c) [2017-2020] Payara Foundation and/or its affiliates. All rights reserved.
Copyright (c) 2017-2026 Payara Foundation and/or its affiliates. All rights reserved.

The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
Expand Down Expand Up @@ -57,12 +57,12 @@ holder.
method="GET" result="#{requestScope.resp}");
setPageSessionAttribute(key="valueMap", value="#{requestScope.resp.data.extraProperties.healthcheckConfiguration}");
mapPut(map="#{pageSession.valueMap}" key="target" value="#{pageSession.configName}");
setPageSessionAttribute(key="convertToFalseList", value={"enabled", "dynamic", "historicalTraceEnabled"});
setPageSessionAttribute(key="convertToFalseList", value={"enabled", "dynamic", "historical-trace-enabled"});
py.getHistoricHealthcheckMessages(parentEndpoint="#{sessionScope.HEALTHCHECK_CONFIG_URL}", result="#{requestScope.historic}");
if (#{pageSession.valueMap['enabled']}=true) {
setPageSessionAttribute(key="enabledSelected", value="true");
}
if (#{pageSession.valueMap['historicalTraceEnabled']}=true) {
if (#{pageSession.valueMap['historical-trace-enabled']}=true) {
setPageSessionAttribute(key="historicalTraceEnabledSelected", value="true");
}

Expand Down Expand Up @@ -90,14 +90,14 @@ holder.
onClick="if (guiValidate('#{reqMsg}','#{reqInt}','#{reqPort}')) submitAndDisable(this, '$resource{i18n.button.Processing}'); return false;" >
<!command
mapPut(map="#{pageSession.valueMap}" key="enabled" value="#{pageSession.enabledSelected}");
mapPut(map="#{pageSession.valueMap}" key="notifierEnabled" value="#{pageSession.notifierEnabledSelected}");
mapPut(map="#{pageSession.valueMap}" key="enableNotifiers" value="#{pageSession.notifierEnabledSelected}");
mapPut(map="#{pageSession.valueMap}" key="dynamic" value="#{pageSession.dynamic}");
mapPut(map="#{pageSession.valueMap}" key="historicalTraceEnabled"
mapPut(map="#{pageSession.valueMap}" key="historical-trace-enabled"
value="#{pageSession.historicalTraceEnabledSelected}");
convertArrayToCommaString(array="#{pageSession.enabledNotifiersArr}", commaString="#{requestScope.commaSeparatedNotifiers}");
mapPut(map="#{pageSession.valueMap}" key="setNotifiers" value="#{requestScope.commaSeparatedNotifiers}");
prepareSuccessfulMsg();
gf.updateEntity(endpoint="#{sessionScope.HEALTHCHECK_CONFIG_URL}/healthcheck-configure"
gf.updateEntity(endpoint="#{sessionScope.HEALTHCHECK_CONFIG_URL}/set-healthcheck-configuration"
attrs="#{pageSession.valueMap}" convertToFalse="#{pageSession.convertToFalseList}");
/>
</sun:button>
Expand Down Expand Up @@ -127,13 +127,13 @@ holder.
label="$resource{i18nhx.healthcheck.configuration.historicalTraceStoreSizeLabel}"
helpText="$resource{i18nhx.healthcheck.configuration.historicalTraceStoreSizeLabelHelpText}">
<sun:textField id="historicalTraceStoreSizeField" columns="$int{40}" maxLength="250" styleClass="integer"
text="#{pageSession.valueMap['historicalTraceStoreSize']}"/>
text="#{pageSession.valueMap['historical-trace-store-size']}"/>
</sun:property>
<sun:property id="historicalTraceStoreTimeoutProp" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}"
label="$resource{i18nhx.healthcheck.configuration.historicalTraceStoreTimeoutLabel}"
helpText="$resource{i18nhx.healthcheck.configuration.historicalTraceStoreTimeoutLabelHelpText}">
<sun:textField id="historicalTraceStoreTimeoutField" columns="$int{40}" maxLength="250"
text="#{pageSession.valueMap['historicalTraceStoreTimeout']}"/>
text="#{pageSession.valueMap['historical-trace-store-timeout']}"/>
</sun:property>
</sun:propertySheetSection>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h2 id="_create_http_listener">create-http-listener</h2>
<pre class="prettyprint highlight"><code class="language-oac_no_warn" data-lang="oac_no_warn">asadmin [asadmin-options] create-http-listener [--help]
--listeneraddress address
--listenerport listener-port
{--default-virtual-server | --defaultvs} virtual-server
{--default-virtual-server} virtual-server
[--servername server-name]
[--acceptorthreads acceptor-threads]
[--securityenabled={false|true}]
Expand Down Expand Up @@ -165,10 +165,8 @@ <h2 id="_create_http_listener">create-http-listener</h2>
listen on port 443 is recommended.</p>
</dd>
<dt class="hdlist1"><code>--default-virtual-server</code></dt>
<dt class="hdlist1"><code>--defaultvs</code></dt>
<dd>
<p>The ID attribute of the default virtual server for this listener. The
<code>--defaultvs</code> option is deprecated.</p>
<p>The ID attribute of the default virtual server for this listener.</p>
</dd>
<dt class="hdlist1"><code>--servername</code></dt>
<dd>
Expand Down Expand Up @@ -254,7 +252,7 @@ <h2 id="_create_http_listener">create-http-listener</h2>
<div class="listingblock">
<div class="content">
<pre class="prettyprint highlight"><code class="language-oac_no_warn" data-lang="oac_no_warn">asadmin&gt; create-http-listener --listeneraddress 0.0.0.0 --listenerport 7272
--defaultvs server --servername host1.sun.com --acceptorthreads 100
--default-virtual-server server --servername host1.sun.com --acceptorthreads 100
--securityenabled=false --enabled=false sampleListener
Command create-http-listener executed successfully.</code></pre>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -438,32 +438,6 @@ <h2 id="_create_virtual_server">create-virtual-server</h2>
<dl>
<dt class="hdlist1"></dt>
<dd>
<div class="dlist">
<dl>
<dt class="hdlist1">`valve_`n</dt>
<dd>
<p>Specifies a fully qualified class name of a custom valve, where n is
a positive integer that allows specification of more than one. The
valve class must implement the <code>org.apache.catalina.Valve</code> interface
from Tomcat or previous \{product---name} releases, or the
<code>org.glassfish.web.valve.GlassFishValve</code> interface from the current
\{product---name} release. For example:<br></p>
</dd>
</dl>
</div>
</dd>
</dl>
</div>
<div class="listingblock">
<div class="content">
<pre class="prettyprint highlight"><code class="language-oac_no_warn" data-lang="oac_no_warn">&lt;property name="valve_1"
value="org.glassfish.extension.Valve"/&gt;</code></pre>
</div>
</div>
<div class="dlist">
<dl>
<dt class="hdlist1"></dt>
<dd>
<p>You can set this property for a specific web application. For
details, see "<a href="../application-deployment-guide/dd-elements.html#GSDPG00161">glassfish-web-app</a>" in GlassFish
Server Open Source Edition Application Deployment Guide.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@
</a>
</td>

<td align="left">
<a href="deploydir.html">
<span class=" vector-font"><i class="fa fa-arrow-circle-right vector-font" aria-hidden="true"></i></span>
<span style="position:relative;top:-2px;">Next</span>
</a>
</td>

<td align="right">
<a href="toc.html">
<span class=" vector-font"><i class="fa fa-list vector-font" aria-hidden="true"></i></span>
Expand Down Expand Up @@ -815,7 +808,6 @@ <h2 id="_deploy">deploy</h2>
</div>
<div class="paragraph">
<p><a href="get.html#get-1"><code>get</code>(1)</a>,
<a href="list-components.html#list-components-1"><code>list-components</code>(1)</a>,
<a href="redeploy.html#redeploy-1"><code>redeploy</code>(1)</a>,
<a href="set.html#set-1"><code>set</code>(1)</a>,
<a href="undeploy.html#undeploy-1"><code>undeploy</code>(1)</a></p>
Expand Down Expand Up @@ -843,13 +835,6 @@ <h2 id="_deploy">deploy</h2>
</a>
</td>

<td align="left">
<a href="deploydir.html">
<span class="vector-font"><i class="fa fa-arrow-circle-right vector-font" aria-hidden="true"></i></span>
<span style="position:relative;top:-2px;">Next</span>
</a>
</td>

<td align="right">
<a href="toc.html">
<span class="vector-font"><i class="fa fa-list vector-font" aria-hidden="true"></i></span>
Expand Down
Loading