After upgrade of the RSA Identity Governance and Lifecycle 7.0.1 IBM Tivoli Identity Manager (ITIM) agent to 7.0.1, the agent fails to start with "java.lang.UnsupportedClassVersionError"
2 years ago
Originally Published: 2017-08-03
Article Number
000045626
Applies To
RSA Product Set: RSA Identity Governance and Lifecycle
RSA Version/Condition: 7.0.1+
Other: Tivoli Identity Manager
 
Issue
 After installing the RSA Identity Governance and Lifecycle 7.0.1 IBM Tivoli Identity Manager (ITIM) agent, the agent fails to start with the following error:

The java class could not be loaded. java.lang.UnsupportedClassVersionError: (com /aveksa/client/datacollector/startup/Bootstrap) bad major version at offset=6

No aveksaAgent.log is created in /home/oracle/ITIMAgent/logs.

Sample session:

$ cd /home/oracle/ITIMAgent/bin
$ ./agent.sh start
Using AGENT_HOME: /home/oracle/ITIMAgent
Using JAVA_HOME: /opt/WebSphere/AppClient/java/jre
Using CLASSPATH: /home/oracle/ITIMAgent/bin/bootstrap.jar:/home/oracle/ITIMAgent/common/lib/log4j-1.2.14.jar:/home/oracle/ITIMAgent/conf:/opt/WebSphere/AppClient/properties:/opt/WebSphere/AppClient/lib/startup.jar:/opt/WebSphere/AppClient/lib/bootstrap.jar:/opt/WebSphere/AppClient/lib/j2ee.jar:/opt/WebSphere/AppClient/lib/lmproxy.jar:/opt/WebSphere/AppClient/lib/urlprotocols.jar
Run cmd
args: start
The java class could not be loaded. java.lang.UnsupportedClassVersionError: (com/aveksa/client/datacollector/startup/Bootstrap) bad major version at offset=6

Resolution
This problem has been reported to engineering and will be fixed in a future release.
Workaround
There are two workarounds. Either modify the ITIM agent.sh startup file or use the attached agent.txt file.

How to modify the ITIM startup file (agent.sh):

  1. cd  /home/oracle/ITIMAgent/bin
  2. cp agent.sh agent.sh_backup
  3. vi agent.sh
  4. Add "TEMP_JAVA_HOME=$ {JAVA_HOME}" at line number 5
  5. Add "export JAVA_HOME=${TEMP_JAVA_HOME}" below line "export LOGIN_CONFIG=../wsjaas_client.conf"

How to use the attached startup file (agent.txt)

  1. Download the attached agent.txt file to /home/oracle/ITIMAgent/bin
  2. cp agent.sh agent.sh_backup
  3. mv agent.txt agent.sh


 
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).