Error after rollback of Portal CR9

Document ID : KB000118672
Last Modified Date : 07/01/2019
Show Technical Document Details
Issue:
The CA API Developer portal CR6 was patched to CR9 and was restored to previous version. After restore portal didn't came up, and I have thousand of errors in log: 

10/08 10:19:11.558 ERROR (ReplicationActionThread:) - [ReplicationManager general] -- java.lang.NullPointerException 
at com.thelevel.repository.replication.ReplicationManager.beginSession(ReplicationManager.java:1486) 
at com.thelevel.repository.replication.ReplicationManager.performActions(ReplicationManager.java:964) 
at com.thelevel.repository.replication.ActionThread.run(ActionThread.java:38) 
Environment:
CA API Developer Portal - 3.5 CR6
 
Cause:
The Portal is still configured to use the Java version included with CR9. To revert this back  need to perform the steps in the resolution field.

The entries in catalina.out file are:

.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1005)
at java.logging/java.util.logging.LogManager.access$1000(LogManager.java:155)
at java.logging/java.util.logging.LogManager$2.run(LogManager.java:401)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.logging/java.util.logging.LogManager.ensureLogManagerInitialized(LogManager.java:382)
at java.logging/java.util.logging.LogManager.getLogManager(LogManager.java:436)
at java.logging/java.util.logging.Logger.demandLogger(Logger.java:648)
at java.logging/java.util.logging.Logger.getLogger(Logger.java:717)
at java.logging/java.util.logging.Logger.getLogger(Logger.java:701)
at org.apache.juli.logging.DirectJDKLog.<init>(DirectJDKLog.java:67)
at org.apache.juli.logging.DirectJDKLog.getInstance(DirectJDKLog.java:187)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:117)
at org.apache.juli.logging.LogFactory.getInstance(LogFactory.java:141)
at org.apache.juli.logging.LogFactory.getLog(LogFactory.java:196)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:52)
Nov 29, 2018 4:18:26 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-37080"]
Nov 29, 2018 4:18:26 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector 
Resolution:
Please follow these steps:

rm /opt/jdk 

ln -s /opt/SecureSpan/JDK /opt/jdk 

service apiportal restart