1. Error description
Info: Choosing bean (Struts) for (com.opensymphony.xwork2.util.TextParser) 2014-7-13 1:52:04 Org.apache.struts2.spring.StrutsSpringObjectFactory Info: Initializing struts-spring integration ... 2014-7-13 1:52:04 com.opensymphony.xwork2.spring.SpringObjectFactory Info: Setting autowire strategy to NAME2014-7-13 1:52:04 org.apache.struts2.spring.StrutsSpringObjectFactory Info: ... initialized struts-spring Integration successfully2014-7-13 1:52:04 org.apache.struts2.dispatcher.Dispatcher error severity: Dispatcher Initialization failedunable to load configuration. -[Unknown Location]at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration ( CONFIGURATIONMANAGER.JAVA:70) at Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration ( dispatcher.java:445) at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:489) 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.<init> ( applicationfilterconfig.java:105) at Org.apache.catalina.core.StandardContext.filterStart (Standardcontext.java : 4809) at Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5485) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:632) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1229) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1875) at Java.util.concurrent.executors$ruNnableadapter.call (executors.java:441) at Java.util.concurrent.futuretask$sync.innerrun (FutureTask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at java.util.concurrent.threadpoolexecutor$ Worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run ( threadpoolexecutor.java:908) at Java.lang.Thread.run (thread.java:619) caused By:unable to locate the parent package [ Json-default] for [class com.you.user.action.StudentAction]-[Unknown Location]at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.getPackageConfig ( packagebasedactionconfigbuilder.java:1020) at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration ( packagebasedactionconfigbuilder.java:666) at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs ( packagebasedactionconfigbuilder.java:348) at Org.apache.struts2.convention.ClasspathPackageProvider.loadPackages (classpathpackageprovider.java:53) at Com.opensymphony.xworK2.config.impl.DefaultConfiguration.reloadContainer (defaultconfiguration.java:268) at Com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:67) ... MORE2014-7-13 1:52:04 org.apache.catalina.core.StandardContext filterstart severity: Exception starting Filter struts2unable to load configuration. -[Unknown Location]at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:501) at Org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher (initoperations.java:74) at Org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init (Strutsprepareandexecutefilter.java : +) 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.<init> (applicationfilterconfig.java:105) at Org.apache.catalina.core.StandardContext.filterStart (standardcontext.java:4809) at ORg.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5485) at Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:150) at Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:901) at Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:877) at Org.apache.catalina.core.StandardHost.addChild (standardhost.java:632) at Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1229) at Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:1875) at Java.util.concurrent.executors$runnableadapter.call (executors.java:441) at java.util.concurrent.futuretask$ Sync.innerrun (futuretask.java:303) at Java.util.concurrent.FutureTask.run (futuretask.java:138) at Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886) at Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908) at Java.lang.Thread.run ( thread.java:619) caused By:unable to load configuration. -[UnknoWN Location]at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:70 ) at Org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration (dispatcher.java:445) at Org.apache.struts2.dispatcher.Dispatcher.init (dispatcher.java:489) ... Morecaused By:unable to locate the parent package [Json-default] for [class com.you.user.action.StudentAction]-[Unknown Location]at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.getPackageConfig ( packagebasedactionconfigbuilder.java:1020) at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildConfiguration ( packagebasedactionconfigbuilder.java:666) at Org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs ( packagebasedactionconfigbuilder.java:348) at Org.apache.struts2.convention.ClasspathPackageProvider.loadPackages (classpathpackageprovider.java:53) at Com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer ( defaultconfiguration.java:268) at Com.opEnsymphony.xwork2.config.ConfigurationManager.getConfiguration (configurationmanager.java:67) ... MORE2014-7-13 1:52:04 org.apache.catalina.core.StandardContext startinternal severity: Error filterstart2014-7-13 1:52:04 Org.apache.catalina.core.StandardContext startinternal Serious: Context [/firstssh] startup failed due to previous ERRORS2014-7-13 1:52:04 org.apache.catalina.core.ApplicationContext Log info: Closing Spring root WEBAPPLICATIONCONTEXT2014-7-13 1:52:04 Org.springframework.web.context.support.XmlWebApplicationContext doclose Info : Closing Root webapplicationcontext:startup Date [Sun Jul 01:51:58 CST 2014]; Root of context hierarchy2014-7-13 1:52:04 Org.apache.catalina.loader.WebappClassLoader CLEARREFERENCESJDBC serious: the web Application [/FIRSTSSH] registered the JDBC driver [Com.mysql.jdbc.Driver] but failed to unregister it when the Web Applic Ation was stopped. To prevent a memory leak, the JDBC Driver have been forcibly unregistered.2014-7-13 1:52:04 Org.apache.catalina.loader.Weba PpclAssloader clearreferencesthreads Critical: The Web application [/firstssh] appears to has started a thread named [Abandoned conn Ection cleanup thread] but had failed to stop it. This was very likely to create a memory leak.2014-7-13 1:52:04 org.apache.catalina.loader.WebappClassLoader clearreference Sthreads Critical: The Web application [/firstssh] appears to has started a thread named [Resource Destroyer in Basicresourcepoo L.close ()] but had failed to stop it. This was very likely to create a memory leak.2014-7-13 1:52:04 org.apache.catalina.loader.WebappClassLoader Checkthreadloc Almapforleaks Critical: The Web application [/FIRSTSSH] created a ThreadLocal with key of type [com.sun.faces.util.util$1] (value [[email protected]]) and a value of type [JAVA.UTIL.HASHMAP] (value [{com.sun.faces.patterncache={=}}]) but failed-to-remove it when the Web Application was stopped. Threads is going to being renewed over time to try and avoid a probable memory leak.2014-7-13 1:52:04 Org.apache.catalina.st Artup. HoStconfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\ HOST-MANAGER2014-7-13 1:52:04 org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web Application Directory D:\MyEclipse\apache-tomcat-7.0.53\webapps\manager2014-7-13 1:52:04 Org.apache.catalina.startup.HostConfig deploydirectory Info: Deploying Web application Directory D:\MyEclipse\ APACHE-TOMCAT-7.0.53\WEBAPPS\ROOT2014-7-13 1:52:04 Org.apache.coyote.AbstractProtocol Start info: Starting Protocolhandler ["http-apr-8686"]2014-7-13 1:52:04 org.apache.coyote.AbstractProtocol start info: Starting Protocolhandler ["ajp-apr-8009"]2014-7-13 1:52:04 Org.apache.catalina.startup.Catalina start info: Server startup in 12736 ms
2. Cause of error
The problem is due to the lack of the Struts2-json plugin jar
3. Solutions
Copy "Struts2-json-plugin-2.3.16.3.jar" to the Lib directory and restart the service