struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Musachy Barroso <musa...@gmail.com>
Subject Re: 2.0.14 -> 2.1.6 filter config issue
Date Mon, 09 Feb 2009 21:05:29 GMT
The issue was fixed in xwork trunk, you can build it yourself, or use
a snapshot.

musachy

On Mon, Feb 9, 2009 at 3:53 PM, ryangr <griggsrl@gmail.com> wrote:
>
> I set devMode to false and the same issue still occurs, even after clearing
> the Tomcat work directory and caches. Can anything else be done about it or
> am I just going to have to downgrade back to 2.0.14 until the Xwork issue is
> fixed?
>
> Thanks,
> Ryan
>
>
>
> Musachy Barroso wrote:
>>
>> It is a known problem in xwork:
>>
>> https://issues.apache.org/struts/browse/WW-2956
>>
>> setting devMode to false would prevent it.
>> musachy
>>
>> On Mon, Feb 9, 2009 at 3:41 PM, ryangr <griggsrl@gmail.com> wrote:
>>>
>>> I'm trying to migrate from 2.0.14 to 2.1.6 and am getting the following
>>> error
>>> in my console preventing my app from starting:
>>>
>>> Feb 9, 2009 2:23:02 PM org.apache.catalina.core.StandardContext
>>> filterStart
>>> SEVERE: Exception starting filter struts2
>>> java.lang.NullPointerException
>>>        at
>>> com.opensymphony.xwork2.util.FileManager$FileRevision.needsReloading(FileManager.java:209)
>>>        at
>>> com.opensymphony.xwork2.util.FileManager.fileNeedsReloading(FileManager.java:60)
>>>        at
>>> com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.needsReload(XmlConfigurationProvider.java:325)
>>>        at
>>> org.apache.struts2.config.StrutsXmlConfigurationProvider.needsReload(StrutsXmlConfigurationProvider.java:168)
>>>        at
>>> com.opensymphony.xwork2.config.ConfigurationManager.conditionalReload(ConfigurationManager.java:220)
>>>        at
>>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:61)
>>>        at
>>> org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:774)
>>>        at
>>> org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:191)
>>>        at
>>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>>>        at
>>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>>>        at
>>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>>>        at
>>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
>>>        at
>>> org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
>>>        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>        at
>>> org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
>>>        at
>>> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>>>        at
>>> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>>>        at
>>> org.apache.catalina.core.StandardService.start(StandardService.java:516)
>>>        at
>>> org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>>>        at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>>        at java.lang.reflect.Method.invoke(Unknown Source)
>>>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
>>>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
>>> Feb 9, 2009 2:23:02 PM org.apache.catalina.core.StandardContext start
>>> SEVERE: Error filterStart
>>> Feb 9, 2009 2:23:02 PM org.apache.catalina.core.StandardContext start
>>> SEVERE: Context [/WebDocs] startup failed due to previous errors
>>>
>>>
>>> My web.xml contains these lines referring to the filter struts2:
>>> <filter>
>>>    <filter-name>struts2</filter-name>
>>>
>>> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
>>>  </filter>
>>>  <filter-mapping>
>>>    <filter-name>struts2</filter-name>
>>>    <url-pattern>/*</url-pattern>
>>>  </filter-mapping>
>>>
>>> Has something changed in the filter configuration that would prevent
>>> startup?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/2.0.14--%3E-2.1.6-filter-config-issue-tp21921487p21921487.html
>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>
>>
>>
>> --
>> "Hey you! Would you help me to carry the stone?" Pink Floyd
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/2.0.14--%3E-2.1.6-filter-config-issue-tp21921487p21921721.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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


Mime
View raw message