struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vivek mishra <mishravive...@gmail.com>
Subject Re: Problem in struts2 project setup.
Date Thu, 07 Jun 2012 14:29:10 GMT
Hi Dave,

Here's the log:

java] Jun 7, 2012 8:15:54 AM org.apache.catalina.startup.HostConfig deployWAR
     [java] INFO: Deploying web application archive VFS.war
     [java] Jun 7, 2012 8:15:54 AM
org.apache.catalina.loader.WebappClassLoader validateJarFile
     [java] INFO:
validateJarFile(\apache-tomcat-6.0.29\webapps\VFS\WEB-INF\lib\servlet-api
.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending
class: javax/servlet/Servlet.
class
     [java] Jun 7, 2012 8:15:54 AM
org.apache.catalina.loader.WebappClassLoader validateJarFile
     [java] INFO:
validateJarFile(\apache-tomcat-6.0.29\webapps\VFS\WEB-INF\lib\servletapi-
2.3.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
Offending class: javax/servlet/Servl
et.class
     [java] log4j:WARN No appenders could be found for logger
(com.att.vfs.csp.CSPFilter).
     [java] log4j:WARN Please initialize the log4j system properly.
     [java] Jun 7, 2012 8:15:55 AM
org.apache.catalina.core.StandardContext filterStart
     [java] SEVERE: Exception starting filter VFS
     [java] Unable to load configuration. - bean -
jar:file://apache-tomcat-6.0.29/webapps/
VFS/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72
     [java]     at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:437)
     [java]     at
org.apache.struts2.dispatcher.ng.InitOperations.initDispatcher(InitOperations.jav
a:69)
     [java]     at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.init(Struts
PrepareAndExecuteFilter.java:51)
     [java]     at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfi
g.java:295)
     [java]     at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterCo
nfig.java:422)
     [java]     at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.j
ava:115)
     [java]     at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4001)
     [java]     at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4651)
     [java]     at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
     [java]     at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
     [java]     at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
     [java]     at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
     [java]     at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
     [java]     at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
     [java]     at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
     [java]     at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
     [java]     at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.jav
a:119)
     [java]     at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
     [java]     at
org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
     [java]     at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
     [java]     at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
     [java]     at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
     [java]     at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
     [java]     at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]     at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
     [java]     at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
     [java] Caused by: Unable to load configuration. - bean -
jar:file://apache-tomcat-6.0.
29/webapps/VFS/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72
     [java]     at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configuratio
nManager.java:69)
     [java]     at
org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.jav
a:380)
     [java]     at
org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:424)
     [java]     ... 29 more
     [java] Caused by: Unable to load bean: type:
class:com.opensymphony.xwork2.ObjectFactory - bean
 - jar:file://apache-tomcat-6.0.29/webapps/VFS/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts
-default.xml:29:72
     [java]     at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlCon
figurationProvider.java:232)
     [java]     at
org.apache.struts2.config.StrutsXmlConfigurationProvider.register(StrutsXmlConfig
urationProvider.java:101)
     [java]     at
com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultC
onfiguration.java:180)
     [java]     at
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(Configuratio
nManager.java:66)
     [java]     ... 31 more
     [java] Caused by: Bean type class
com.opensymphony.xwork2.ObjectFactory with the name xwork has
 already been loaded by bean -
jar:file://apache-tomcat-6.0.29/lib/struts2-core-2.0.11.jar!
/struts-default.xml:30:72 - bean -
jar:file://apache-tomcat-6.0.29/webapps/VFS/WEB-INF/lib/
struts2-core-2.2.3.1.jar!/struts-default.xml:29:72
     [java]     at
com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.register(XmlCon
figurationProvider.java:216)
     [java]     ... 34 more
     [java] Jun 7, 2012 8:15:55 AM
org.apache.catalina.core.StandardContext start
     [java] SEVERE: Error filterStart
     [java] Jun 7, 2012 8:15:55 AM
org.apache.catalina.core.StandardContext start
     [java] SEVERE: Context [/VFS] startup failed due to previous errors


On 6/7/12, Dave Newton <davelnewton@gmail.com> wrote:
> Is that the *only* information available in the logs?
>
> Dave
>
> On Thu, Jun 7, 2012 at 10:01 AM, vivek mishra
> <mishravivek85@gmail.com>wrote:
>
>> Hi Folks,
>>
>> While setting up new project using struts2, I am facing this error :
>>
>> Unable to load configuration. - bean -
>> jar:file:/E:/sp639u/apache-tomcat-6.0.
>>
>> 29/webapps/VFS/WEB-INF/lib/struts2-core-2.2.3.1.jar!/struts-default.xml:29:72
>>
>> I googled it as well but couldn't find any solution. I has setup
>> struts2 projects earlier as well but didn't face any such issue.
>>
>> I am stuck on this, any pointer will be much appreciated in this regard.
>>
>> Thanks!
>> --
>> Vivek
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message