struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4946) Strtus 2 spring integrations is failing
Date Sat, 28 Jul 2018 17:21:00 GMT
Ramesh created WW-4946:
--------------------------

             Summary: Strtus 2 spring integrations is failing 
                 Key: WW-4946
                 URL: https://issues.apache.org/jira/browse/WW-4946
             Project: Struts 2
          Issue Type: Bug
            Reporter: Ramesh


18-July-28 22:42:21:673 DEBUG localhost-startStop-1 o.a.c.l.WebappClassLoaderBase:179 - Delegating
to parent classloader org.springframework.boot.loader.LaunchedURLClassLoader@1be6f5c3
18-July-28 22:42:21:673 DEBUG localhost-startStop-1 o.a.c.l.WebappClassLoaderBase:179 - -->
Returning 'jar:file:/D:/CodeBase/IOL-PCF/Latest-12-07-2018/bk/push/IOL-0.0.1-SNAPSHOT.war!/WEB-INF/lib-provided/struts2-core-2.5.16.jar!/struts-2.5.dtd'
ERROR | 2018-07-28 22:42:21 | [localhost-startStop-1] dispatcher.Dispatcher (Dispatcher.java:508)
- Dispatcher initialization failed
com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957) ~[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496) [struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73) [struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
[tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:109)
[tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) [tomcat-embed-core-8.5.14.jar!/:8.5.14]
 at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
 at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory
class:org.apache.struts2.spring.StrutsSpringObjectFactory
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:274)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:98)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:167)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
~[struts2-core-2.5.16.jar!/:2.5.16]
 ... 16 more
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Bean type class com.opensymphony.xwork2.ObjectFactory
with the name spring has already been loaded by bean - jar:file:/D:/CodeBase/IOL-PCF/Latest-12-07-2018/bk/push/IOL-0.0.1-SNAPSHOT.war!/WEB-INF/lib/struts2-spring-plugin-2.5.16.jar!/struts-plugin.xml:27:132
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:260)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:98)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:167)
~[struts2-core-2.5.16.jar!/:2.5.16]
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
~[struts2-core-2.5.16.jar!/:2.5.16]
 ... 16 more
18-July-28 22:42:21:751 ERROR localhost-startStop-1 o.a.c.c.C.[.[.[/]:181 - Exception starting
filter strutsPrepareAndExecuteFilter
org.apache.struts2.StrutsException: null
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:509)
 at org.apache.struts2.dispatcher.InitOperations.initDispatcher(InitOperations.java:73)
 at org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.init(StrutsPrepareAndExecuteFilter.java:61)
 at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
 at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:109)
 at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4590)
 at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5233)
 at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
 at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
 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: com.opensymphony.xwork2.config.ConfigurationException: Unable to load configuration.
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:69)
 at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:957)
 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:463)
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:496)
 ... 13 common frames omitted
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Unable to load bean: type:com.opensymphony.xwork2.ObjectFactory
class:org.apache.struts2.spring.StrutsSpringObjectFactory
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:274)
 at org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfigurationProvider.java:98)
 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:167)
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:66)
 ... 16 common frames omitted
Caused by: com.opensymphony.xwork2.config.ConfigurationException: Bean type class com.opensymphony.xwork2.ObjectFactory
with the name spring has already been loaded by bean - jar:file:/D:/CodeBase/IOL-PCF/Latest-12-07-2018/bk/push/IOL-0.0.1-SNAPSHOT.war!/WEB-INF/lib/struts2-spring-plugin-2.5.16.jar!/struts-plugin.xml:27:132
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlConfigurationProvider.java:260)
 ... 19 common frames omitted
18-July-28 22:42:21:751 DEBUG localhost-startStop-1 o.a.c.c.C.[.[.[/]:179 - Starting filter
'Tomcat WebSocket (JSR356) Filter'
18-Jul



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message