My Oracle Support Banner

OFSAA Deployment Does Not Start in OFSAAI 7.3.5.1 After Tomcat Upgrade from 7.0.55 to 7.0.86 (Doc ID 2420812.1)

Last updated on JULY 09, 2018

Applies to:

Oracle Financial Services Analytical Applications Infrastructure - Version 7.3.5.1.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)
Oracle Financial Services Analytical Applications Infrastructure (OFSAAI)
Oracle Financial Services Profitability Management (PFT)
Oracle Financial Services Funds Transfer Pricing (FTP)
Oracle Financial Services Asset Liability Management (ALM)

Symptoms

On OFSAAI 7.3.5.1.0 after OFSAAI tomcat upgrade from 7.0.55 to 7.0.86, .war has been rebuilt, following deployment application does not start.  Catalina.out shows errors:

ERROR


WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory]
May 31, 2018 11:29:17 AM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory]
May 31, 2018 11:29:17 AM org.apache.tomcat.websocket.server.WsSci onStartup
INFO: JSR 356 WebSocket (Java WebSocket 1.1) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocket JARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.
May 31, 2018 11:29:17 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
.....

May 31, 2018 11:29:20 AM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
Throwable occurred: java.lang.NullPointerException
at com.ofs.aai.global.ApplicationResources.getDatabaseServer(ApplicationResources.java:398)
at com.ofs.aai.pr2.view.adapter.RuleAdapter.clearRulePRnTempTables(RuleAdapter.java:1802)
at com.ofs.aai.pr2.service.PR2Servlet.init(PR2Servlet.java:76)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1230)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1174)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1066)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5393)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5691)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1702)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1692)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314)
at java.util.concurrent.FutureTask.run(FutureTask.java:149)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:939)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:963)
at java.lang.Thread.run(Thread.java:767)
May 31, 2018 11:29:20 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet [PR2Servlet] in web application [/OFSAA] threw load() exception
Throwable occurred: java.lang.NullPointerException
at com.ofs.aai.global.ApplicationResources.getDatabaseServer(ApplicationResources.java:398)
at com.ofs.aai.pr2.view.adapter.RuleAdapter.clearRulePRnTempTables(RuleAdapter.java:1802)
at com.ofs.aai.pr2.service.PR2Servlet.init(PR2Servlet.java:76)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1230)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1174)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1066)
...

INFO: Deployment of web application directory /apps/tomcat/OFSAA/apache-tomcat-7.0.86/webapps/manager has finished in 111 ms
May 31, 2018 11:29:24 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-9441"]
May 31, 2018 11:29:24 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-9009"]
May 31, 2018 11:29:24 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 80518 ms


The issue can be reproduced at will with the following steps:
1. Upgrade Tomcat from 7.0.55 to 7.0.86
2. Attempt to redeploy .war file and start Tomcat application

Changes

Upgrade Tomcat from 7.0.55 to 7.0.86.

Cause

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

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


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