Windows: Java was updated and now some Enterprise Management or Distribution Server services fail to start.

book

Article ID: 41814

calendar_today

Updated On:

Products

CA Virtual Privilege Manager CA Privileged Identity Management Endpoint (PIM) CA Privileged Access Manager (PAM)

Issue/Introduction

Symptoms: 

When you try to start one of the following services you get this error:

The <Service Name> service on Local Computer started and then stopped. Some services stop automatically if they are not used by other services or programs.

<Please see attached file for image>

startstop.jpg

Java based services that may be effected:

  • CA Privileged Identity Manager Connector Server (Java)
  • CA Privileged Identity Manager Event Forwarder (Java)
  • CA ProxyManager
  • JBoss Application Server 2.4.3

 

Environment:  

Windows Enterprise Management Server (ENTM) 12.9 SP1
Windows Distribution Server (DS) 12.9 SP1

 

Cause: 

When Java is updated it may be installed in a different location than it was originally. When this path is changed ENTM and DS services will no longer know where to look for it and will need their configurations updated to reflect the new path.

 

Resolution:

0. Preparation

  • Take note of where the new Java version is installed:
    Example JAVA_HOME path: C:\Program Files\Java\jdk1.8.0_65
    Example Java bin path: C:\Program Files\Java\jdk1.8.0_65\bin
    Example Java.exe path: C:\Program Files\Java\jdk1.8.0_65\bin\java.exe
  • In the following steps you will see <PIM Path>, this is different for ENTM & Distribution servers:
    ENTM Default PIM Path: C:\Program Files\CA\AccessControlServer\
    Distribution Server Default PIM Path: C:\Program Files\CA\AccessControlDistServer

1. Stop all PIM services.

2. Change the environment variables to reflect the change:

  • Right click on "My Computer" or "This PC" > Properties > Advanced System Settings
  • Advanced tab > Environment Variables...
  • Under system variables look for JAVA_HOME (If JAVA_HOME does not exist, add it), update this to the new JAVA_HOME path.
  • Under system variables look for Path, find the old Java bin path within the Variable Value and replace it with the new Java bin path. If the old Java bin path is not there, just add the new Java bin path to the end.

3. Change the service configuration settings to reflect the change:
Note: You should create backups of all files before modifying.

On Distribution Servers:

  • For CA Privileged Identity Manager Connector Server (Java)
    1. Navigate to <PIM Path>\JCS\bin
    2. Open acjcswrap.cfg for editing.
    3. Modify the "Command line" to reflect the new Java.exe path
    4. Save

  • For CA Privileged Identity Manager Event Forwarder (Java)
    1. Navigate to <PIM Path>\Services\EventForwarder\bin
    2. Open acsiemwrap.cfg for editing.
    3. Modify the "Command line" to reflect the new Java.exe path
    4. Save

On Enterprise Management Servers:

  • For JBoss Application Server 2.4.3
    1. Navigate to the JBoss Bin folder. Default location: C:\jboss-4.2.3.GA\bin
    2. Open run_idm.bat for editing.
    3. Find JAVA_HOME and modify it to reflect the new JAVA_HOME path
    4. Save
  • For CA Privileged Identity Manager Connector Server (Java)
    1. Navigate to <PIM Path>\Connector Server\bin
    2. Open acjcswrap.cfg for editing.
    3. Modify the "Command line" to reflect the new Java.exe path
    4. Save
  • For CA ProxyManager
    1. Navigate to <PIM Path>\Services\ProxyManager\bin
    2. Open acjavasrvwrap.cfg for editing.
    3. Modify the "Command line" to reflect the new Java.exe path
    4. Save
  • For CA Privileged Identity Manager Event Forwarder (Java)
    1. Navigate to <PIM Path>\Services\EventForwarder\bin
    2. Open acsiemwrap.cfg for editing.
    3. Modify the "Command line" to reflect the new Java.exe path
    4. Save

4) Start the PIM services.

 

Additional Information:

12.9 SP1 ENTM & DS Servers are compatible with Java Development Kit (JDK) 1.8.x, other versions of Java may not work and are not supported.
For more information on server compatibility please visit the Server Compatibility Matrix.

Environment

Release: ACP1M005900-12.9-Privileged Identity Manager
Component:

Attachments

1558721908005000041814_sktwi1f5rjvs16w8y.jpeg get_app