As a root user, log into the Application Server 4 host.
Stop Application Server 4.
# cd /opt/SUNWappserver/appserver/bin/ # ./asadmin stop-domain |
Install Patch 119166-22 as described in the file README.119166-22.
Be sure to complete the patch post-installation instructions as described in that file.
# cd /tmp # unzip 119166-21.zip # patchadd -G /tmp/119166-22 |
Verify that the patch was indeed installed successfully.
# showrev -p | grep 119166-22 Patch: 119166-21 Obsoletes: Requires: Incompatibles: Packages: SUNWasuee, SUNWaswbcr, SUNWascmnse, SUNWasacee, SUNWasdemdb, SUNWashdm, SUNWasdem, SUNWascmn, SUNWasac, SUNWascml, SUNWasu, SUNWasjdoc, SUNWasman, SUNWasut, SUNWasmanee |
Edit the following file:
/var/opt/SUNWappserver/domains/domain1/applications/j2ee-apps/ agentsample/agentservlets_war/WEB-INF/sun-web.xml |
Append the following directive to the end of the file:
... <property name="relativeRedirectAllowed" value="true"/> </sun-web-app> |
Save the file and exit.
Edit the following file:
/var/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/ agentapp/WEB-INF/sun-web.xml |
Append this directive to the end of the file:
... <property name="relativeRedirectAllowed" value="true"/> </sun-web-app> |
Save the file and exit.
Start Application Server 4.
# cd /opt/SUNWappserver/appserver/bin/ # ./asadmin start-domain --user admin --password 11111111 |