Could you exclude commons-digester in the Tiles plugin?

Regards
Łukasz

pon., 29 sie 2022 o 10:11 i...@flyingfischer.ch
<i...@flyingfischer.ch> napisał(a):
>
> hmm, in production I see from time to time:
>
> WARN org.apache.struts2.dispatcher.Dispatcher - Could not find action or
> result: /context/mypath?url=urlEncodedUrl
>
> The action exists and the result also, as redirectAction
>
>        <result name="resultName" type="redirectAction">
>              <param name="actionName">otherpath</param>
>              <param name="url">${url}</param>
>        </result>
>
> This behaviour seems to be new. I cannot reproduce it consistently, but
> there seems to be thrown an error in
> org.apache.struts2.dispatcher.Dispatcher, somewhere between these lines:
>
>
>          try {
>              String actionNamespace = mapping.getNamespace();
>              String actionName = mapping.getName();
>              String actionMethod = mapping.getMethod();
>
>              LOG.trace("Processing action, namespace: {}, name: {},
> method: {}", actionNamespace, actionName, actionMethod);
>              ActionProxy proxy = prepareActionProxy(extraContext,
> actionNamespace, actionName, actionMethod);
>
> request.setAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY,
> proxy.getInvocation().getStack());
>
>              // if the ActionMapping says to go straight to a result, do it!
>              if (mapping.getResult() != null) {
>                  Result result = mapping.getResult();
>                  result.execute(proxy.getInvocation());
>              } else {
>                  proxy.execute();
>              }
>
>              // If there was a previous value stack then set it back
> onto the request
>              if (!nullStack) {
> request.setAttribute(ServletActionContext.STRUTS_VALUESTACK_KEY, stack);
>              }
>          } catch (ConfigurationException e) {
>              logConfigurationException(request, e);
>              sendError(request, response,
> HttpServletResponse.SC_NOT_FOUND, e);
>          }
>
>
> The artifacts contains two version of commons-digester:
>
> commons-digester-2.1
> commons-digester3-3.2
>
> Any idea, what is causing this warning, which seems to be rather an error?
>
> Best Markus
>
>
> Am 27.08.22 um 12:28 schrieb i...@flyingfischer.ch:
> > Works fine here. Tested with tiles-plugin.
> >
> > Best regards
> > Markus
> >
> >
> > Am 25.08.22 um 07:52 schrieb Lukasz Lenart:
> >> Hello,
> >>
> >> This is the first patch version of Struts 6.x series. Please take the
> >> time and test the bits - any help is appreciated. Please report any
> >> problems you will spot.
> >>
> >> Here are the changes from the previous 6.0.0 version:
> >> https://github.com/apache/struts/releases/tag/STRUTS_6_0_2
> >>
> >> Staging Maven repo
> >> https://repository.apache.org/content/groups/staging/
> >>
> >> Standalone artifacts
> >> https://dist.apache.org/repos/dist/dev/struts/6.0.2/
> >>
> >> Release notes
> >> https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.0.2
> >>
> >>
> >> Kind regards
> >> --
> >> Łukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: dev-h...@struts.apache.org
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> > For additional commands, e-mail: dev-h...@struts.apache.org
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to