Remedy Service doesn't start after Java Upgrade (Windows/Linux). |
This knowledge article may contain information that does not apply to version 21.05 or later which runs in a container environment. Please refer to Article Number 000385088 for more information about troubleshooting BMC products in containers. Note - In version 19.02 OpenJDK is supported. To update the current Java version to OpenJDK, in 19.02 please check the following: 19.02/OpenJDK - Updating Java paths after upgrading Java To resolve the problem, Java directory references must be updated. An alternative method for solving this problem on Windows can be found in KA000145658. This method uses a Microsoft Junction link to create an alias to the Java directory and has been found to be fairly easy to maintain. If you use the Junction, you will need to refer back to this article to replace all Java references with your new Junction link Steps to Update Java Information 1- Update New Java path in armonitor.cfg. You can find the file in <<Arserver Installation directory>>/conf Please note that in 9.1.04 and later versions, BMC_JAVA_HOME is set in both the system environment variables and in the armonitor.cfg/conf file. You will need to update this value in both places as well as any direct Java paths in armonitor.cfg. Example of the armonitor.cfg file (9.1.04 and later): Example in the Windows Environment Variables (9.1.04 and later): 2- Update arserver.config file located in AR Server Installation Directory Parameter to be updated is jvm.search.path.1=FILE_SYSTEM= <<Latest bin directory path >> Note: Please check the JVM options required for OpenJDK 11 or higher as documented in the article: REMEDY 9.x/18xx/19xx/20xx Release - CONFIGURATION CHECKLIST from the BMC R&D PERFORMANCE TEAM 3- Update Registry reference of java at following location a) HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> BMC Remedy Action Request System -> Parameter Update JVM library path with current path. This is for 9.1.x only b) HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> BMC Remedy Email Engine -> Parameter Update JVM Library path with current path. c) HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> BMC Remedy Flashboards Server -> Parameter Update JVM Library path with current path. 4- Edit the <<Arserver Installation directory>>/pluginsvr/pluginsvr_config.xml file. Set the <ftsJavaPath> tag to the new value: .............. <name>ARSYS.ARDBC.FTSCONFIG</name> <name>ARSYS.ARDBC.FTSCONFIG</name> <classname>com.bmc.arsys.plugins.ftsconfig.FTSConfigPlugin</classname> <pathelement type="location">C:/Program Files/BMC Software/ARSystem/pluginsvr/ftsconfigplugin91_build001.jar</pathelement> <userDefined> <arconfPath>C:/Program Files/BMC Software/ARSystem</arconfPath> <ftsFolder>C:/Program Files/BMC Software/ARSystem/pluginsvr/fts</ftsFolder> <armonitorPath>C:/Program Files/BMC Software/ARSystem/conf</armonitorPath> <ftsJavaPath>C:/Program Files/Java/jre1.8.0_101/bin/java</ftsJavaPath> </userDefined> </plugin> .............. 5- This step is optional but can be done to ensure that correct path is picked for Java . a) Right click on Computer and select Properties b) From properties window select Advanced System Settings c) Click on Environment Variables d) Under System Variable section look for Path and edit variable value. e) Append the value of existing Path. Update current java path ahead of existing java path. For example if you path variable has parameter such as - xyz; abc; Old Java Path; pqr; Append this to - xyz; abc; New Java Path; Old Java Path; pqr By changing this whenever java path is incorrect, path variable is referenced to find java directory. Please note that the first correct available path is used. 6 - Update the java reference for Developer Studio. - Go to Developer Studio Directory and edit devstudio.ini. - Update the java path. 7 - In ARS v9.1.04 - File Deployer: .....\BMC Software\ARSystem\midtier\filedeployer\conf\armonitor.cfg Note: Please update java reference in any batch file you are using. For example You can update EmailStart.bat to correct java path. 8. If you update the Java runtime environment (JRE) or Java development kit (JDK) on a computer after installing Performance Security or Premium Security, you must reinstall encryption again after your Java update.
Update the java path on below files for Linux environment. arcmdbd.sh |