Hi All,

We are upgrading Identity Applications from 4.5.4 to 4.6.

After running RBPM_Upgrade.bin (with update DB option) and then running the pg_upgrade in order to migrate PostgreSQL 8 to PostgreSQL 9 we started IDM Apps tomcat server and within the catalina.out log we can see the following errors:

Code:
Pre: [OSP]
Lvl: INFO
Java: internal.osp.framework.servlet.OSPServletContext.logVersion() [198] thread=localhost-startStop-1
Time: 2017-07-13T15:03:21.318-0300
LogDta: OSP version: 6.1.3 2017-01-19T16:12:16Z

Class: OSPTenantStartException
   Class: LoggableMessage
      Level: SEVERE
      Code: internal.osp.framework.exception.OSPTenantStartException.<init>() [20]
      Thread: localhost-startStop-1
      Correlation Id: 37e2b4d0-387f-45c5-b61e-76bf33695baf
      Text: OSP Tenant Start Error: Tenant Id: idm
      Class: CoreException
      Root cause:

               java.net.UnknownHostException
gcpss-tst.lacaja.com.ar
                  java.net.InetAddress: InetAddress.java: getAllByName0: 1,280
                  java.net.InetAddress: InetAddress.java: getAllByName: 1,192
                  java.net.InetAddress: InetAddress.java: getAllByName: 1,126
                  internal.osp.framework.OSPTenant: OSPTenant.java: start: 389
                  internal.osp.framework.OSPContext: OSPContext.java: start: 857
      Root cause:

        at internal.osp.framework.OSPContext.start(OSPContext.java:864)
        at internal.osp.framework.OSPContext.start(OSPContext.java:758)
        at internal.osp.framework.OSPContext.set(OSPContext.java:487)
        at internal.osp.framework.servlet.OSPServletContext.<init>(OSPServletContext.java:100)
        at internal.osp.framework.servlet.OSPContextListener.getContext(OSPContextListener.java:49)
        at internal.osp.framework.servlet.OSPContextListener.contextInitialized(OSPContextListener.java:77)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5189)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Pre: [OSP]
Lvl: INFO
Java: internal.osp.framework.OSPContext.stop() [978] thread=localhost-startStop-1
Time: 2017-07-13T15:03:23.910-0300
LogDta: StopSystem

Pre: [OSP]
Lvl: SEVERE
Java: internal.osp.framework.servlet.OSPContextListener.contextInitialized() [85] thread=localhost-startStop-1
Time: 2017-07-13T15:03:20.701-0300
LogDta: Level: SEVERE
Code: internal.osp.framework.exception.OSPFrameworkStartException.<init>() [20]
Thread: localhost-startStop-1
Correlation Id: 3405e73a-1ba7-4de4-891a-3996cc1b9256
Text: OSP Framework Start Error
      Level: SEVERE
      Code: internal.osp.framework.exception.OSPTenantStartException.<init>() [20]
      Thread: localhost-startStop-1
      Correlation Id: 37e2b4d0-387f-45c5-b61e-76bf33695baf
      Text: OSP Tenant Start Error: Tenant Id: idm

And later in the log:

Code:
[ERROR] EboPortalBootServlet [RBPM] Unexpected Runtime Exception initializing servlet
java.lang.RuntimeException: com.netiq.common.i18n.LocalizedRuntimeException: Schema is invalid. One or more required tables are missing. Check log for messages indicating tables that were not found.
        at com.sssw.fw.servlet.EboBootServlet.init(EboBootServlet.java:116)
        at com.sssw.portal.servlet.EboPortalBootServlet.init(EboPortalBootServlet.java:58)
        at javax.servlet.GenericServlet.init(GenericServlet.java:158)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4913)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5223)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: com.netiq.common.i18n.LocalizedRuntimeException: Schema is invalid. One or more required tables are missing. Check log for messages indicating tables that were not found.
        at com.novell.soa.persist.DatabaseSchemaUpdate.validateDatabaseSchema(DatabaseSchemaUpdate.java:245)
        at com.sssw.fw.servlet.EboBootServlet.init(EboBootServlet.java:98)
        ... 18 more
Jul 13, 2017 3:04:24 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [PortalAggregator] in web application [/IDMProv] threw load() exception
java.lang.NullPointerException
        at com.sssw.portal.manager.EboPortalManager.<init>(EboPortalManager.java:179)
        at com.sssw.portal.manager.EboPortalManager.<clinit>(EboPortalManager.java:121)
        at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.<init>(EboPortalAggregationControllerImpl.java:240)
        at com.novell.afw.portal.aggregation.EboPortalAggregationControllerImpl.<clinit>(EboPortalAggregationControllerImpl.java:132)
        at com.novell.afw.portal.aggregation.EboPortalAggregationServlet.<clinit>(EboPortalAggregationServlet.java:62)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:119)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1050)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4913)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5223)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

2017-07-13 15:04:24,992 [ERROR] EboPortletProducer [RBPM] Producer 'IDMProv' error: init() method failed.
com.sssw.fw.exception.EboUnrecoverableSystemException: Failed to initialize EboPortletContainer framework service.
        at com.novell.afw.portlet.core.EboPortletContainer.<clinit>(EboPortletContainer.java:96)
        at com.novell.afw.portlet.producer.core.EboPortletProducer.init(EboPortletProducer.java:65)
        at javax.servlet.GenericServlet.init(GenericServlet.java:158)
        at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1183)
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1099)
        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:989)
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4913)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5223)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
        at com.novell.afw.portlet.core.EboPortletContainer.<init>(EboPortletContainer.java:162)
        at com.novell.afw.portlet.core.EboPortletContainer.<clinit>(EboPortletContainer.java:94)
        ... 18 more

Seems that some tables are missing. However during the table checking within the catalina.out log every table is found without any problems.

Any idea on how we can continue troubleshooting this issue?

Thanks in Advance