PR2Servlet Failed to Preload on Startup in Web Application When Running Ofsaaistartup.sh After Install (Doc ID 2068014.1)

Last updated on MARCH 13, 2017

Applies to:

Oracle Financial Services Data Foundation - Version 8.0.0 and later
Oracle Financial Services Analytical Applications Infrastructure - Version 8.0.0 and later
Information in this document applies to any platform.
Oracle Financial Services Analytical Applications (OFSAA)

Symptoms

On : 8.0.0 version, Installation

Unable to start OFSAAI 8.0 after fresh install, the following error occurs in weblogic.

Error:
[HTTP:101216]Servlet: "PR2Servlet" failed to preload on startup in Web application: "/OFSAA800". 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 weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1983) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1957) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1876) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3163) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.


Steps:
1. Installed Oracle Financial Services Data Foundation (OFSDF) 8.0.
2. Deployed the application in WebLogic.
3. Start the application.

Cause

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 hundreds of Community platforms