My Oracle Support Banner

Ops Center Agent Configuration Failure: How to keep a java version different from the default one. (Doc ID 1612168.1)

Last updated on APRIL 08, 2018

Applies to:

Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.

Goal

Ops Center Agent: Keep a java version different from the default one.

expected error when configuring an agent (agentadm configure):
...
Invalid property value: Invalid directory [/usr/jdk/instances/jdk1.6.0].
Cannot set parameter java-home on scn-agent instance.
...
executing step : db
/var/run/cacao/instances/scn-agent/run/*.pid: No such file or directory
configuring db
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
ERROR: hd_domain_vc_agent_db.sh - Failed to decrypt the password.
failed to initialize DB
....

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.