You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by satish jupalli <ju...@gmail.com> on 2014/04/29 15:45:03 UTC

Issues with latest struts upgrade:

Hi,


We are facing issue with the latest struts upgrade. (From struts-2.3.15.1
to struts-2.3.16.2). Did the latest patch changed anything? Everything was
running fine before upgrade. My app is running on Tomcat 7.0.42.



com.opensymphony.xwork2.config.ConfigurationException: There is no Action
mapped for namespace [/] and action name [redirectToReg!input] associated
with context path [/webappname].

        at
com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
~[xwork-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
~[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
~[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
~[xwork-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:552)
~[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:93)
[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]

        at
com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
[com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]

        at
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
[com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]

        at
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91)
[struts2-core-2.3.16.2.jar:2.3.16.2]

        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[catalina.jar:7.0.42]

        at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
[catalina.jar:7.0.42]

        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
[catalina.jar:7.0.42]

        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
[catalina.jar:7.0.42]

        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[catalina.jar:7.0.42]

        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
[catalina.jar:7.0.42]

        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
[tomcat-coyote.jar:7.0.42]

        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
[tomcat-coyote.jar:7.0.42]

        at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
[tomcat-coyote.jar:7.0.42]

        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
[na:1.6.0_45]

        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
[na:1.6.0_45]

        at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]


Regards

Satish Jupalli

Re: Issues with latest struts upgrade:

Posted by satish jupalli <ju...@gmail.com>.
Thanks Markus. I was able to figure out the issue. It's the disabling DMI
is what was causing the issue.

Resolved the issue with strict-method-invocation="true"

Regards
Satish Jupalli


On Tue, Apr 29, 2014 at 10:52 PM, Markus Fischer <Ma...@knipp.de>wrote:

> Hi Satish,
>
> > Thanks Lukas. Correct me If I'm wrong.. struts-2.3.16.2 is supposed to
> > contain the  previous fixes as well , is it not the case? If that's  not
> > the case how to get the jar's with the fixes.
>
> Struts 2.3.16.2 does include previous fixes. That is most probably the
> reason for the issue you are experiencing.
>
> You might want to have a look at the version notes of the releases
> between 2.3.15.1 and 2.3.16.2 [1], especially [2].
>
> HTH,
> Markus
>
> [1] http://struts.apache.org/downloads.html
>
> [2] http://struts.apache.org/development/2.x/docs/version-notes-2316.html
>
>
> >> On Tue, Apr 29, 2014 at 9:47 PM, Lukasz Lenart <lukaszlenart@apache.org
> >wrote:
> >> You missed three versions in between, please read version notes of each.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Issues with latest struts upgrade:

Posted by Markus Fischer <Ma...@knipp.de>.
Hi Satish,

> Thanks Lukas. Correct me If I'm wrong.. struts-2.3.16.2 is supposed to
> contain the  previous fixes as well , is it not the case? If that's  not
> the case how to get the jar's with the fixes.

Struts 2.3.16.2 does include previous fixes. That is most probably the
reason for the issue you are experiencing.

You might want to have a look at the version notes of the releases
between 2.3.15.1 and 2.3.16.2 [1], especially [2].

HTH,
Markus

[1] http://struts.apache.org/downloads.html

[2] http://struts.apache.org/development/2.x/docs/version-notes-2316.html


>> On Tue, Apr 29, 2014 at 9:47 PM, Lukasz Lenart <lu...@apache.org>wrote:
>> You missed three versions in between, please read version notes of each.

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


Re: Issues with latest struts upgrade:

Posted by satish jupalli <ju...@gmail.com>.
Thanks Lukas. Correct me If I'm wrong.. struts-2.3.16.2 is supposed to
contain the  previous fixes as well , is it not the case? If that's  not
the case how to get the jar's with the fixes.


On Tue, Apr 29, 2014 at 9:47 PM, Lukasz Lenart <lu...@apache.org>wrote:

> You missed three versions in between, please read version notes of each.
>
> 2014-04-29 15:45 GMT+02:00 satish jupalli <ju...@gmail.com>:
> > Hi,
> >
> >
> > We are facing issue with the latest struts upgrade. (From struts-2.3.15.1
> > to struts-2.3.16.2). Did the latest patch changed anything? Everything
> was
> > running fine before upgrade. My app is running on Tomcat 7.0.42.
> >
> >
> >
> > com.opensymphony.xwork2.config.ConfigurationException: There is no Action
> > mapped for namespace [/] and action name [redirectToReg!input] associated
> > with context path [/webappname].
> >
> >         at
> >
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
> > ~[xwork-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
> > ~[struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
> > ~[struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
> > ~[xwork-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:552)
> > ~[struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
> > [struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:93)
> > [struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
> > [com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]
> >
> >         at
> >
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
> > [com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91)
> > [struts2-core-2.3.16.2.jar:2.3.16.2]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> > [catalina.jar:7.0.42]
> >
> >         at
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> > [catalina.jar:7.0.42]
> >
> >         at
> >
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> > [tomcat-coyote.jar:7.0.42]
> >
> >         at
> >
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> > [tomcat-coyote.jar:7.0.42]
> >
> >         at
> >
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> > [tomcat-coyote.jar:7.0.42]
> >
> >         at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> > [na:1.6.0_45]
> >
> >         at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> > [na:1.6.0_45]
> >
> >         at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
> >
> >
> > Regards
> >
> > Satish Jupalli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Issues with latest struts upgrade:

Posted by Lukasz Lenart <lu...@apache.org>.
You missed three versions in between, please read version notes of each.

2014-04-29 15:45 GMT+02:00 satish jupalli <ju...@gmail.com>:
> Hi,
>
>
> We are facing issue with the latest struts upgrade. (From struts-2.3.15.1
> to struts-2.3.16.2). Did the latest patch changed anything? Everything was
> running fine before upgrade. My app is running on Tomcat 7.0.42.
>
>
>
> com.opensymphony.xwork2.config.ConfigurationException: There is no Action
> mapped for namespace [/] and action name [redirectToReg!input] associated
> with context path [/webappname].
>
>         at
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:185)
> ~[xwork-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:63)
> ~[struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:37)
> ~[struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58)
> ~[xwork-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:552)
> ~[struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
> [struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:93)
> [struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> [catalina.jar:7.0.42]
>
>         at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
> [com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]
>
>         at
> com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
> [com.springsource.com.opensymphony.sitemesh-2.4.1.jar:na]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:91)
> [struts2-core-2.3.16.2.jar:2.3.16.2]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
> [catalina.jar:7.0.42]
>
>         at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
> [tomcat-coyote.jar:7.0.42]
>
>         at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
> [tomcat-coyote.jar:7.0.42]
>
>         at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
> [tomcat-coyote.jar:7.0.42]
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
> [na:1.6.0_45]
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
> [na:1.6.0_45]
>
>         at java.lang.Thread.run(Thread.java:662) [na:1.6.0_45]
>
>
> Regards
>
> Satish Jupalli

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