JBoss Application Server
Complete these steps:
-
-
-
Create a backup of each
JBoss-home-directory/server/SASServern
directory.
-
Delete these directories
and all of their contents:
-
JBoss-home-directory/server/SASServern/tmp
-
JBoss-home-directory/server/SASServern/work
-
Copy the contents of
the
JBoss-home-directory/server/SASServern
directory
to a
SASServern_premaint
directory.
On UNIX, enter the following
commands at a UNIX prompt:
cd <JBoss-home-directory>\server
cp -pR SASServer<n> SASServer<n>_premaint
On Windows, copy the
files by using Windows Explorer or by entering the following commands
at a DOS prompt:
cd <JBoss-home-directory>\server
xcopy /E /I SASServer<n> SASServer<n>_premaint
-
Delete all EAR files
for all SAS Web applications from the
JBoss-home-directory/server/SASServern/deploy_sas
directory.
-
If you have configured
your environment to use restrictive policies, then disable restrictive
policy handling for JBoss.
For more information,
see Configuring and Deploying Restrictive Policy Files in SAS Intelligence Platform: Middle-Tier Administration Guide.
Note: If you have multiple servers
(such as SASServer1 and SASServer2), then you must disable the restrictive
policy files on all these servers.
To manually disable
the use of SAS restrictive policy files:
-
On Windows, open the
JBoss-home-directory\bin\SASServer1.bat
file.
On UNIX, open the
JBoss-home-directory/bin/SASServer1.sh
file.
-
In the start_as_script
section, remove the following parameters from the JAVA_OPTS line:
-
-
–Djava.security.policy
=
JBoss-home-directory\server\SASServer1\sas.restrictive.permissions.policy
If JBoss is running
as a Windows service:
-
On Windows, open the
JBoss-home-directory\server\SASServer1\wrapper.conf
file.
-
Remove the following
parameters from the wrapper.conf file:
-
wrapper.java.additional.##=––Djava.security.manager
-
wrapper.java.additional.##=––Djava.security.policy
=
JBoss-home-directory\server\SASServer1\conf\sas.restrictive.permissions.policy
After you update your
software, the restrictive policy file might be re-created automatically,
or you might have to create this file manually.
For more information,
see Restore Restrictive Policy Settings.
Copyright © SAS Institute Inc. All rights reserved.