-
Open the [JBoss_root]/domain/configuration/domain_<DBType>.xml
file for editing.
-
Add the following system properties as a child of the <property name="java.net.preferIPv4Stack"
value="true"/> node:
<property name="com.arjuna.ats.arjuna.allowMultipleLastResources" value="true"/>
<property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8"/>
-
The domain.xml file contains four profiles such as
default
,
ha
,
full
,
and
full-ha
. AEM forms on JEE configured on a Cluster
for JBoss application server required only full profile. Search
and delete the following nodes:
-
<profile name="default">
-
<profile name="ha">
-
<profile name="full-ha">
-
To add and update logging properties:
-
In the
node
<subsystem xmlns="urn:jboss:domain:logging:1.3">
,
set the value of the child node
<append value="true"/>
to
false
.
-
Add the following code after the
</periodic-rotating-file-handler>
node.
<logger category="com.adobe">
<level name="INFO"/>
</logger>
<logger category="org.springframework">
<level name="WARN"/>
</logger>
<logger category="org.mc4j.ems">
<level name="WARN"/>
</logger>
-
Add the following code as the child of the
<subsystem xmlns="urn:jboss:domain:ee:1.1">
node
<global-modules>
<module name="org.jgroups" slot="main"/>
<module name="org.jacorb" slot="main"/>
</global-modules>
-
Locate the following text and add/change the value that appears
in bold to 100:
<strict-max-pool name="slsb-strict-max-pool" max-pool-size="20" instance-acquisition-timeout="5" instance-acquisition-timeout-unit="MINUTES"/>
-
locate the
<subsystem xmlns="urn:jboss:domain:jacorb:1.3">
node,
replace the child node
<initializers transactions="spec" security="identity"/>
with
<initializers security="identity" transactions="spec"/>
-
Locate the node
<orb socket-binding="jacorb" ssl-socket-binding="jacorb-ssl">
<initializers security="identity" transactions="spec"/>
</orb>
and add the following lines after it.
<properties>
<property name="jacorb.connection.client.pending_reply_timeout" value="360000"/>
</properties>
-
Locate the following text and remove the text that appears
in bold:
<!--<remoting-connector use-management-endpoint="false"/>-->
-
In the
<subsystem xmlns="urn:jboss:domain:messaging:1.4">
node,
locate the child node
<address-settings>
.
In the child node, after the line
<address-full-policy>PAGE</address-full-policy>
,
add the following text:
<page-size-bytes>2097152</page-size-bytes>
-
In the <subsystem xmlns="urn:jboss:domain:remoting:1.1">
node, remove the value that appears in bold:
<connector name="remoting-connector" socket-binding="remoting" security-realm="ApplicationRealm"/>
-
Add the following lines as a child of the <interfaces>
node:
<interface name="any">
<any-ipv4-address/> <!-- 0.0.0.0 -->
</interface>
-
Locate and delete all the child nodes of all the <socket-binding-group
> nodes for all the profiles.
-
Locate and replace the child nodes of the <socket-binding-groups>
nodes for all the profiles to
<socket-binding-group name="full-sockets" default-interface="public">
<!-- Needed for server groups using the 'default' profile -->
<socket-binding name="http" interface="any" port="8080"/>
<socket-binding name="https" interface="any" port="8443"/>
<socket-binding name="jacorb" interface="public" port="3528"/>
<socket-binding name="remoting" interface="any" port="4447"/>
</socket-binding-group>
-
Locate and delete all the child nodes of the <socket-binding-group name="ha-sockets"
default-interface="public"> node for all the profiles.
-
Locate and delete all the child nodes of the <socket-binding-group name="full-ha-sockets"
default-interface="public"> node for all the profiles.
-
Delete the following childs of the <server-groups>
node:
<server-group name="other-server-group" profile="full-ha">
<jvm name="default">
<heap size="1303m" max-size="1303m"/>
<permgen max-size="256m"/>
</jvm>
<socket-binding-group ref="full-ha-sockets"/>
</server-group>
-
Change the heap size from
<heap size="1303m" max-size="1303m"/>
to
<heap size="1024m" max-size="4096m"/>
.
-
Change the prem size from
<permgen max-size="256m"/>
to
<permgen max-size="1024m"/>
.
-
Save and close the file.