Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4863

Exception starting filter struts-prepare: Unable to load configuration. - interceptor - vfs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.5.13
    • 2.5.14
    • Dispatch Filter
    • None

    Description

      Hi,

      I was migrating to struts 2.5.13 version from 2.3.32, but I am getting the following error when i am deploying the project on jboss server. This issue occurs when it is trying to load custom interceptor.
      I am using the below jars:-
      asm-5.2
      asm-commons-5.2
      asm-tree-5.2
      commons-beanutils-1.9.2
      commons-collections-3.2.2
      commons-digester-2.1
      commons-fileupload-1.3.3
      commons-io-2.5
      commons-lang-2.4
      commons-lang3-3.6
      commons-logging-1.1.3
      freemarker-2.3.23
      javassist-3.20.0-GA
      javax.servlet
      javax.servlet-api-4.0.0
      json-lib-2.3-jdk15
      jsp-api-2.2
      log4j-api-2.8.2
      ognl-3.1.15
      sitemesh-2.4.2
      spring 4.1.6 complete suite
      struts2-convention-plugin-2.5.13
      struts2-core-2.5.13
      struts2-json-plugin-2.5.13
      struts2-sitemesh-plugin-2.5.13
      struts2-spring-plugin-2.5.13
      xstream-1.4.10

      My web.xml is:

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id="WebApp_PlatformConversion" version="3.0">
        <display-name>ClientDataCollection</display-name>
        <distributable/>
        <servlet id="LoadProperties">
          <servlet-name>loadproperties</servlet-name>
          <servlet-class>com.fiserv.common.ui.common.servlet.LoadPropertiesServlet</servlet-class>
          <init-param id="LoadProperties_filename0">
            <param-name>filename0</param-name>
            <param-value>fiserv_portal</param-value>
          </init-param>
          <init-param id="LoadProperties_property0">
            <param-name>property0</param-name>
            <param-value>application.metarefresh.time</param-value>
          </init-param>
          <init-param id="LoadProperties_name0">
            <param-name>name0</param-name>
            <param-value>metarefreshtime</param-value>
          </init-param>
          <init-param id="LoadProperties_filename1">
            <param-name>filename1</param-name>
            <param-value>fiserv_portal</param-value>
          </init-param>
          <init-param id="LoadProperties_property1">
            <param-name>property1</param-name>
            <param-value>application.metarefresh.url</param-value>
          </init-param>
          <init-param id="LoadProperties_name1">
            <param-name>name1</param-name>
            <param-value>metarefreshtimeurl</param-value>
          </init-param>
          <load-on-startup>2</load-on-startup>
        </servlet>
        <filter>
          <filter-name>LogFilter</filter-name>
          <filter-class>com.fiserv.portal.log.FiservMDCLogger</filter-class>
        </filter>
        <filter>
          <filter-name>struts-prepare</filter-name>
          <filter-class>org.apache.struts2.dispatcher.filter.StrutsPrepareFilter</filter-class>
        </filter>
        <filter>
          <filter-name>struts2</filter-name>
          <filter-class>org.apache.struts2.dispatcher.filter.StrutsExecuteFilter</filter-class>
        </filter>
        <filter>
          <filter-name>sitemesh</filter-name>
          <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
        </filter>
        <filter-mapping>
          <filter-name>LogFilter</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter-mapping>
          <filter-name>struts-prepare</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter-mapping>
          <filter-name>struts2</filter-name>
          <url-pattern>/*</url-pattern>
        </filter-mapping>
        <filter-mapping>
          <filter-name>sitemesh</filter-name>
          <url-pattern>/*</url-pattern>
          <dispatcher>FORWARD</dispatcher>
          <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <listener>
          <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
        </listener>
        <listener>
          <listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
        </listener>
        <context-param>
          <param-name>contextConfigLocation</param-name>
          <param-value>/WEB-INF/applicationContext.xml</param-value>
        </context-param>
        <welcome-file-list id="WelcomeFileList">
          <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
        <security-constraint id="SecurityConstraint_1">
          <web-resource-collection id="WebResourceCollection_1">
            <web-resource-name>Terminal</web-resource-name>
            <url-pattern>/*</url-pattern>
          </web-resource-collection>
          <auth-constraint id="AuthConstraint_1">
            <description>Terminal Constraint 1:+:</description>
            <role-name>*</role-name>
          </auth-constraint>
        </security-constraint>
        <login-config id="LoginConfig_1">
          <auth-method>BASIC</auth-method>
          <realm-name>FiservDomain</realm-name>
        </login-config>
        <security-role id="SecurityRole_1">
          <role-name>*</role-name>
        </security-role>
      </web-app>
      

      My struts.xml is

      <?xml version="1.0" encoding="UTF-8" ?>
      <!DOCTYPE struts PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
          "http://struts.apache.org/dtds/struts-2.5.dtd">
          
          
      
      <struts>
      	<constant name="struts.i18n.reload" value="true" />
      	<constant name="theme" value="simple" />
      	<constant name="struts.enable.DynamicMethodInvocation" value="false" />
      	<constant name="struts.devMode" value="false" />
      	<constant name="struts.objectFactory" value="org.apache.struts2.spring.StrutsSpringObjectFactory" />
      	<constant name="struts.custom.i18n.resources" value="com.fiserv.cwsi.ui.datacollection.resources.ApplicationResources,com.fiserv.cwsi.ui.datacollection.resources.ClientDataCollectionResources" />
      	<constant name="struts.freemarker.templatesCache" value="true" />
      	<constant name="struts.ui.theme" value="simple" />
      	<constant name="struts.mapper.action.prefix.enabled" value="true"/>
      	<!--  WARNING ::::::::   DO NOT  EXIT THIS PACKAGE ::::::: (this package is standard for all CWSi Applications ) -->
      
      	<package name="fiserv-default" namespace="/" extends="struts-default" >
      		<interceptors>
      			<interceptor name="fiservcommon" class="com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor" />
      			<interceptor name="restrictget" class="com.fiserv.common.ui.struts2.interceptors.RestrictGetInterceptor" />
      			<interceptor name="logon" 		class="com.fiserv.cwsi.common.ui.interceptor.LogonInterceptor" />
      			<interceptor name="accesscontrol" class="com.fiserv.common.ui.struts2.interceptors.PermissionInterceptor" />
      			<interceptor name="delayedaccesscontrol" class="com.fiserv.common.ui.struts2.interceptors.DelayedPermissionInterceptor" />
      			<interceptor name="menu" 	class="com.fiserv.common.ui.struts2.interceptors.MenuInterceptor" />
      			<interceptor name="context" class="com.fiserv.cwsi.common.ui.interceptor.ContextInterceptor" />
      			<interceptor name="fiservtoken" class="com.fiserv.common.ui.struts2.interceptors.FiservTokenInterceptor" />
      			<interceptor name="fiservvalidator"	class="com.fiserv.common.ui.struts2.interceptors.FiservValidationInterceptor" />
      
      			<interceptor-stack name="defaultLoginStack">
      				<interceptor-ref name="alias"/>
      				<interceptor-ref name="servletConfig"/>
      				<interceptor-ref name="fiservcommon"/>
      				<interceptor-ref name="restrictget" />
      				<interceptor-ref name="logon"/>
      				<interceptor-ref name="context" />
      				<interceptor-ref name="prepare"/>
      				<interceptor-ref name="accesscontrol" />
      				<interceptor-ref name="menu" />
      				<interceptor-ref name="delayedaccesscontrol" />
      				<interceptor-ref name="i18n"/>
      				<interceptor-ref name="chain">
      	                	<param name="excludes">contextObject</param>
      	            </interceptor-ref>
      				<interceptor-ref name="profiling"/>
      				<interceptor-ref name="modelDriven"/>
      				<interceptor-ref name="checkbox"/>
      				<interceptor-ref name="staticParams"/>
      				<interceptor-ref name="actionMappingParams"/>
      				<interceptor-ref name="params"/>
      				<interceptor-ref name="conversionError"/>
      				<interceptor-ref name="fiservvalidator" />
      				<interceptor-ref name="workflow"/>
      				<interceptor-ref name="fileUpload"></interceptor-ref>
      			</interceptor-stack>
      		</interceptors>
      
      	  	<default-interceptor-ref name="defaultLoginStack"/>
      
      		<global-results>
      			<result name="tandemerrorsevere">	jsp/cwsi/common/tandemerrorsevere.jsp</result>
      			<result name="fatalerror">			jsp/cwsi/common/error.jsp</result>
      			<result name="authorizationerror">	jsp/cwsi/common/authorizationerror.jsp</result>
      			<result name="businesserror">		jsp/cwsi/common/businesserror.jsp</result>
      		</global-results>
      
       	    
      	   </package>
      
       <include file="menu-config.xml"/>
      
      <!--  WARNING ::::::::   DO NOT  EDIT  ABOVE PACKAGE ::::::: (The above package is standard for all CWSi Applications )    -->
      
         <!-- Write your application configuration in a separate file and include them below. Application configuration files must extend above package(fiserv-default)  -->
      
       <include file="platformCollection-config.xml"/>
       
       
      
         <!-- Write your application config in a separate file and include them above.Application configuration files must extend above package (fiserv-default) -->
      
      </struts>
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - ERROR Dispatcher Dispatcher initialization failed
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  -  Unable to load configuration. - interceptor - vfs:/C:/Java/jboss-as-7.1.3.Final/standalone/deployments/ClientDataCollection_T.war/WEB-INF/classes/struts.xml:22:113
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:56)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3865)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at java.lang.Thread.run(Thread.java:745)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - Caused by: Caught Exception while registering Interceptor class com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor - interceptor - vfs:/C:/Java/jboss-as-7.1.3.Final/standalone/deployments/ClientDataCollection_T.war/WEB-INF/classes/struts.xml:22:113
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.factory.DefaultInterceptorFactory.buildInterceptor(DefaultInterceptorFactory.java:79)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:207)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructParameterizedInterceptorReferences(InterceptorBuilder.java:179)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:81)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1149)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:981)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:994)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:1017)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:548)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:323)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:188)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	... 14 more
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor]: Constructor threw exception; nested exception is java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire(AbstractAutowireCapableBeanFactory.java:351)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:199)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:168)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:172)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.opensymphony.xwork2.factory.DefaultInterceptorFactory.buildInterceptor(DefaultInterceptorFactory.java:47)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	... 26 more
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor]: Constructor threw exception; nested exception is java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	... 32 more
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - Caused by: java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor.<init>(FiservCommonInterceptor.java:37)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - stderr -  - 	... 34 more
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - [default-host].[/apps/ClientDataCollection] -  - Exception starting filter struts-prepare: Unable to load configuration. - interceptor - vfs:/C:/Java/jboss-as-7.1.3.Final/standalone/deployments/ClientDataCollection_T.war/WEB-INF/classes/struts.xml:22:113
      	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:512)
      	at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:75)
      	at org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.init(StrutsPrepareFilter.java:56)
      	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:447)
      	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3269)
      	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3865)
      	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:89)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: Unable to load configuration. - interceptor - vfs:/C:/Java/jboss-as-7.1.3.Final/standalone/deployments/ClientDataCollection_T.war/WEB-INF/classes/struts.xml:22:113
      	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
      	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)
      	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)
      	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)
      	... 11 more
      Caused by: Caught Exception while registering Interceptor class com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor - interceptor - vfs:/C:/Java/jboss-as-7.1.3.Final/standalone/deployments/ClientDataCollection_T.war/WEB-INF/classes/struts.xml:22:113
      	at com.opensymphony.xwork2.factory.DefaultInterceptorFactory.buildInterceptor(DefaultInterceptorFactory.java:79)
      	at com.opensymphony.xwork2.ObjectFactory.buildInterceptor(ObjectFactory.java:207)
      	at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructParameterizedInterceptorReferences(InterceptorBuilder.java:179)
      	at com.opensymphony.xwork2.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:81)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.java:1149)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:981)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:994)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:1017)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:548)
      	at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadPackages(XmlConfigurationProvider.java:323)
      	at org.apache.struts2.config.StrutsXmlConfigurationProvider.loadPackages(StrutsXmlConfigurationProvider.java:108)
      	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:188)
      	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)
      	... 14 more
      Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor': Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor]: Constructor threw exception; nested exception is java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowire(AbstractAutowireCapableBeanFactory.java:351)
      	at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:199)
      	at com.opensymphony.xwork2.spring.SpringObjectFactory.buildBean(SpringObjectFactory.java:168)
      	at com.opensymphony.xwork2.ObjectFactory.buildBean(ObjectFactory.java:172)
      	at com.opensymphony.xwork2.factory.DefaultInterceptorFactory.buildInterceptor(DefaultInterceptorFactory.java:47)
      	... 26 more
      Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor]: Constructor threw exception; nested exception is java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
      	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
      	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
      	... 32 more
      Caused by: java.lang.InstantiationError: com.opensymphony.xwork2.TextProviderFactory
      	at com.fiserv.common.ui.struts2.interceptors.FiservCommonInterceptor.<init>(FiservCommonInterceptor.java:37)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
      	... 34 more
      
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - core.StandardContext -  - Error filterStart
      Sep 29, 2017 - 08:55:46.989 [               ] - [                                   ] ERROR - core.StandardContext -  - Context [/apps/ClientDataCollection] startup failed due to previous errors
      Sep 29, 2017 - 08:55:47.020 [               ] - [                                   ] INFO  - [default-host].[/apps/ClientDataCollection] -  - Closing Spring root WebApplicationContext
      Sep 29, 2017 - 08:55:47.020 [               ] - [                                   ] INFO  - support.XmlWebApplicationContext -  - Closing Root WebApplicationContext: startup date [Fri Sep 29 08:55:44 EDT 2017]; root of context hierarchy
      Sep 29, 2017 - 08:55:47.036 [               ] - [                                   ] ERROR - service.fail -  - MSC00001: Failed to start service jboss.web.deployment.default-host./apps/ClientDataCollection: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./apps/ClientDataCollection: JBAS018040: Failed to start context
      	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:94)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:745)
      
      Sep 29, 2017 - 08:55:47.270 [               ] - [                                   ] INFO  - as.server -  - JBAS018559: Deployed "ClientDataCollection_T.war"
      Sep 29, 2017 - 08:55:47.270 [               ] - [                                   ] INFO  - as.controller -  - JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./apps/ClientDataCollection: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./apps/ClientDataCollection: JBAS018040: Failed to start context
      
      Sep 29, 2017 - 08:55:47.598 [               ] - [                                   ] INFO  - jboss.as -  - JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
      Sep 29, 2017 - 08:55:47.598 [               ] - [                                   ] INFO  - jboss.as -  - JBAS015951: Admin console listening on http://127.0.0.1:9990
      Sep 29, 2017 - 08:55:47.598 [               ] - [                                   ] ERROR - jboss.as -  - JBAS015875: JBoss AS 7.1.3.Final "Arges" started (with errors) in 24016ms - Started 547 of 741 services (2 services failed or missing dependencies, 156 services are passive or on-demand)
      

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            kshash04 Kumar Shashwat
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: