CA Live API Creator: Unable to install using external admin DB


Article ID: 103732


Updated On:


CA Live API Creator


Unable to install LAC using external admin database on Apache, ie: Oracle.

When starting the server the below errors will be observed: 

java.lang.RuntimeException: Unable to initialize AdminManager
        at com.kahuna.admin.entity.AdminManager.createDataSource(
        at com.kahuna.admin.entity.AdminManager.<init>(
        at com.kahuna.admin.entity.AdminManager.getInstance(
        at com.kahuna.server.servlet.KahunaServletContextListener.contextInitialized(
        at org.apache.catalina.core.StandardContext.listenerStart(
        at org.apache.catalina.core.StandardContext.startInternal(
        at org.apache.catalina.util.LifecycleBase.start(
        at org.apache.catalina.core.ContainerBase.addChildInternal(
        at org.apache.catalina.core.ContainerBase.addChild(
        at org.apache.catalina.core.StandardHost.addChild(
        at org.apache.catalina.startup.HostConfig.deployWAR(
        at org.apache.catalina.startup.HostConfig$
        at java.util.concurrent.Executors$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
### Unable to get connection to admin database: Unable to initialize AdminManager
Jul 16, 2018 1:58:12 PM com.kahuna.server.servlet.KahunaServletContextListener contextInitialized


Component: APILAC


A few steps can be taken to confirm the setup
  1. Confirm the Database server hostname and port in the server.xml file. You can confirm the hostname used is accessible by issuing the following command
telnet <Oracle server name> <port number>

       2.  Make sure the license file is valid
       3. Confirm you have followed the steps detailed in the LAC documentation for configuring an external database
       4. If this still fails revert back to the default configuration and make the changes to the server.xml based on the out of box version.                   This is to avoid any issues with any other configurations in the file. If this works you will need to determine and eliminate the                       offending entries.