### Install Oracle WebLogic Server in 64-bit Mode Source: https://support.sas.com/en/documentation/third-party-software-reference/9-2-m3/support-for-web-application-servers/preinstallation-jboss-webLogic-websphere This example shows how to install Oracle WebLogic Server in 64-bit mode on platforms that support it using the `-d64` flag with the Java Development Kit. Incorrect installation (e.g., 32-bit on a 64-bit platform) can lead to SAS Deployment Wizard failures. ```java $> java -d64 -jar server922_generic.jar ``` -------------------------------- ### WebLogic Server Startup Log Error Example Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-web-servers/preinstallation This log entry indicates a potential communication failure between SAS Remote Services and SAS Web Infrastructure Platform applications. Common causes include the RemoteServices VM not being started or a mismatch in multicast address/port configurations. This is particularly relevant for IBM AIX 6.1 systems. ```log 16:25:16,648 ERROR [SimpleCache] Required entry, '/sas/properties/environment', not found in the cache. 16:25:16,648 ERROR [SimpleCache] Possible causes include: the RemoteServices VM is not started or 16:25:16,648 ERROR [SimpleCache] there is a multicast address/port mismatch; using 16:25:16,648 ERROR [SimpleCache] address=239.nn.nn.nn and port=nnnn. ``` -------------------------------- ### SAS Application Launcher Alternate JREHOME Paths Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre/alternative-jre Provides examples of setting the JREHOME= variable in sassw.config to point to alternate JRE installations for different Java versions and Windows system architectures. It's important to note that the 32-bit JRE is often required, even on 64-bit systems, for compatibility with older Java applications. ```ini JREHOME=C:\Program Files(x86)\Java\jre1.6.0_31\bin\java ``` ```ini JREHOME=C:\Program Files(x86)\Java\jre1.7.0_15\bin\java ``` ```ini JREHOME=C:\Program Files(x86)\Java\jre1.7.0_15\bin\java ``` -------------------------------- ### Set JDK/JRE Paths in Windows - Java 7 Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre/alternative-jre Sets JAVA_JRE_COMMAND and JDK_HOME in the level_env.bat file for Windows to point to Java 7 installations. ```batch set JAVA_JRE_COMMAND=C:\Program Files(x86)\Java\jrel.7.0_15\bin\java set JDK_HOME=C:\Program Files\Java\jdk1.7.0_15 ``` -------------------------------- ### Install Oracle WebLogic in 64-bit Mode on Unix Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-web-servers/preinstallation When installing Oracle WebLogic Server on 64-bit platforms that use a single Java Development Kit (JDK) for both 32-bit and 64-bit modes, it is crucial to use the -d64 parameter to ensure 64-bit installation. Failure to do so can lead to SAS Deployment Wizard failures. ```shell java -d64 -jar server103_generic.jar ``` -------------------------------- ### Set JDK/JRE Paths in Windows - Java 6 Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre/alternative-jre Sets JAVA_JRE_COMMAND and JDK_HOME in the level_env.bat file for Windows to point to Java 6 installations. ```batch JAVA_JRE_COMMAND=C:\Program Files(x86)\Java\jdk1.6.0_31\jre\bin\java JDK_HOME=C:\Program Files\Java\jdk1.6.0_31 ``` -------------------------------- ### Configure Java Paths in JBoss Windows Service (wrapper.conf) Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre/alternative-jre Sets wrapper.java.command and wrapper.java.classpath.2 in wrapper.conf for JBoss running as a Windows service to specify the JDK path and tools.jar location. ```ini REM in C:\jboss-5.1.0.GA\server\SASServer1\wrapper.conf wrapper.java.command=C:\Program Files\Java\jdk1.6.0_31\ bin\java REM also set the location of tools.jar wrapper.java.classpath.2=C:\Program Files\Java\jdk1.6.0_31 \lib\tools.jar ``` -------------------------------- ### SAS JREOPTIONS Alternate libjvm Paths Source: https://support.sas.com/en/documentation/third-party-software-reference/9-3/support-for-jre/alternative-jre Provides examples of modifying the _-Dsas.jre.libjvm_ property within the JREOPTIONS= setting for different JRE versions and Windows system architectures. These examples show the specific DLL path required for the JVM to be used by SAS. ```sas -Dsas.jre.libjvm=C:\PROGRA~2\Java\JRE16~1.0_3\bin\client\jvm.dll ``` ```sas -Dsas.jre.libjvm=C:\PROGRA~2\Java\jre7\bin\client\jvm.dll ``` ```sas -Dsas.jre.libjvm=C:\PROGRA~1\Java\jre7\bin\client\jvm.dll ``` -------------------------------- ### Install pywin32 for Python on Windows (SAS) Source: https://support.sas.com/en/documentation/third-party-software-reference/9-4/support-for-other-products This command installs the pywin32 module, which is required for certain SAS integrations with Python on Windows. Ensure you run the command prompt as an administrator. This is necessary for the proper functioning of SAS Information Retrieval Studio with Python. ```batch "path-to-python-installation-directory\Scripts\pip.exe" install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org pywin32 ```