JBoss Application Server

Complete these steps:
  1. Stop the JBoss application server. For more information, see Starting or Stopping a JBoss Application Server in SAS Intelligence Platform: System Administration Guide.
  2. Create a backup of your JBoss-home-directory\server\SASServern\wrapper.conf file. For more information, see Customizations to Files for Your Web Application Server.
  3. Create a backup of each JBoss-home-directory/server/SASServern directory.
    1. Delete these directories and all of their contents:
      • JBoss-home-directory/server/SASServern/tmp
      • JBoss-home-directory/server/SASServern/work
    2. 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
  4. Delete all EAR files for all SAS Web applications from the JBoss-home-directory/server/SASServern/deploy_sas directory.
  5. 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:
    1. On Windows, open the JBoss-home-directory\bin\SASServer1.bat file.
      On UNIX, open the JBoss-home-directory/bin/SASServer1.sh file.
    2. In the start_as_script section, remove the following parameters from the JAVA_OPTS line:
      • –Djava.security.manager
      • –Djava.security.policy = JBoss-home-directory\server\SASServer1\sas.restrictive.permissions.policy
    If JBoss is running as a Windows service:
    1. On Windows, open the JBoss-home-directory\server\SASServer1\wrapper.conf file.
    2. 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.