My Oracle Support Banner

Tomcat Fails to Start with 'Unable to load configuration' After Upgrading OFSAA to Struts 2.3.35 (Doc ID 2514713.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Financial Services Funds Transfer Pricing - Version 8.0.0 and later
Oracle Financial Services Profitability Management - Version 8.0.0 and later
Oracle Financial Services Asset Liability Management - 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)
Tomcat

Symptoms

After upgrading Oracle Financial Services Profitability Management or Asset Liability Management to use Struts 2.3.35, when attempting to access the login screen, you get a "page not found" error.

When attempting to start the Tomcat web server, you find the following error in a Tomcat log:

06-Feb-2019 00:58:40.934 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Exception starting filter struts2
 Unable to load configuration. - bean - jar:file:/u01/apache-tomcat-8.0.20/webapps/<context>/WEB-INF/lib/struts2-core-2.3.35.jar!/struts-default.xml:70:72
       at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:504)
       at org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.java:74)
       at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:57)
       at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
       at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
       at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
       at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4573)
       at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5188)
       at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
       at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
       at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       at java.lang.Thread.run(Thread.java:748)
Caused by: Unable to load configuration. - bean - jar:file:/u01/apache-tomcat-8.0.20/webapps/<context>/WEB-INF/lib/struts2-core-2.3.35.jar!/struts-default.xml:70:72
       at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:70)
       at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:978)
       at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:446)
       at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:490)
       ... 14 more
Caused by: Unable to load bean: type: class:com.opensymphony.xwork2.ObjectFactory - bean - jar:file:/u01/apache-tomcat-8.0.20/webapps/<context>/WEB-INF/lib/struts2-core-2.3.35.jar!/struts-default.xml:70:72
       at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:247)
       at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:102)
       at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:240)
       at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:67)
       ... 17 more
Caused by: Bean type class com.opensymphony.xwork2.ObjectFactory with the name struts has already been loaded by bean - jar:file:/u01/apache-tomcat-8.0.20/webapps/<context>/WEB-INF/lib/struts2-core-2.3.32.jar!/struts-default.xml:65:72 - bean - jar:file:/u01/apache-tomcat-8.0.20/webapps/<context>/WEB-INF/lib/struts2-core-2.3.35.jar!/struts-default.xml:70:72
       at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:231)
       ... 20 more.

.
.
06-Feb-2019 00:58:40.980 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Error filterStart
06-Feb-2019 00:58:40.980 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [/<context>] startup failed due to previous errors

The OFSAA server process starts successfully.  Only Tomcat gets the error.

Changes

 

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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