You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2024/07/20 06:52:35 UTC
[TEST] Apache Struts 6.6.0 test build is ready
Hello,
This is another minor 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 version:
https://github.com/apache/struts/releases/tag/STRUTS_6_6_0
Staging Maven repo
https://repository.apache.org/content/groups/staging/
Standalone artifacts
https://dist.apache.org/repos/dist/dev/struts/6.6.0/
Release notes
https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0
Kind regards
--
Łukasz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [TEST] Apache Struts 6.6.0 test build is ready
Posted by Lukasz Lenart <lu...@apache.org>.
sob., 20 lip 2024 o 11:51 Greg Huber <gr...@gmail.com> napisał(a):
>
> Sorry, please ignore previous emails, I went back in my logs and found
> the same errors. Fixed it by updating my crusty code.😳
>
> <%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
> <%
> pageContext.setAttribute("version",my.model.MyFactory.getMe().getVersion());
> pageContext.setAttribute("revision",my.model.MyFactory.getMe().getRevision());
> pageContext.setAttribute("yyyy",my.model.MyFactory.getMe().getCurrentYear());%>
>
> <div align="center">
> <em>Copyright © <s:text name="footer.productNameHtml"><s:param
> value="#attr.yyyy" /><s:param value="#attr.version" /><s:param
> value="#attr.revision" /></s:text></em>
> </div>
Uff... good to know and thanks for sharing your issue and the solution!
Cheers
Lukasz
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [TEST] Apache Struts 6.6.0 test build is ready
Posted by Greg Huber <gr...@gmail.com>.
Sorry, please ignore previous emails, I went back in my logs and found
the same errors. Fixed it by updating my crusty code.😳
<%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
<%
pageContext.setAttribute("version",my.model.MyFactory.getMe().getVersion());
pageContext.setAttribute("revision",my.model.MyFactory.getMe().getRevision());
pageContext.setAttribute("yyyy",my.model.MyFactory.getMe().getCurrentYear());%>
<div align="center">
<em>Copyright © <s:text name="footer.productNameHtml"><s:param
value="#attr.yyyy" /><s:param value="#attr.version" /><s:param
value="#attr.revision" /></s:text></em>
</div>
On 20/07/2024 07:52, Lukasz Lenart wrote:
> Hello,
>
> This is another minor 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 version:
> https://github.com/apache/struts/releases/tag/STRUTS_6_6_0
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/6.6.0/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0
>
>
> Kind regards
> --
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@struts.apache.org
> For additional commands, e-mail:dev-help@struts.apache.org
>
Re: [TEST] Apache Struts 6.6.0 test build is ready
Posted by Greg Huber <gr...@gmail.com>.
I am looking into duplicate session postings (circular nulls in
TokenSessionStoreInterceptor by refresh post) in my app, and noticed
this now in the tomcat log
2024-07-20 09:39:59,406 WARN
org.apache.struts2.interceptor.TokenSessionStoreInterceptor
TokenSessionStoreInterceptor:handleInvalidToken - testHandleInvalidToken
2024-07-20 09:39:59,535 WARN com.opensymphony.xwork2.ognl.OgnlValueStack
OgnlValueStack:logLookupFailure - Caught an exception while evaluating
expression '#request.yyyy' against value stack
java.lang.IllegalStateException: The request object has been recycled
and is no longer associated with this facade
at
org.apache.catalina.connector.RequestFacade.checkFacade(RequestFacade.java:856)
~[catalina.jar:9.0.91]
at
org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:245)
~[catalina.jar:9.0.91]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(StrutsRequestWrapper.java:81)
~[classes/:?]
at org.apache.struts2.dispatcher.RequestMap.get(RequestMap.java:102)
~[classes/:?]
at ognl.MapPropertyAccessor.getProperty(MapPropertyAccessor.java:76)
~[ognl-3.3.5.jar:?]
at
com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor.getProperty(XWorkMapPropertyAccessor.java:79)
~[classes/:?]
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:3354) ~[ognl-3.3.5.jar:?]
at ognl.ASTProperty.getValueBody(ASTProperty.java:121) ~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]
at ognl.ASTChain.getValueBody(ASTChain.java:141) ~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]
at ognl.Ognl.getValue(Ognl.java:586) ~[ognl-3.3.5.jar:?]
at com.opensymphony.xwork2.ognl.OgnlUtil.ognlGet(OgnlUtil.java:596)
~[classes/:?]
at com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:576)
~[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:412)
~[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:346)
[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValueWhenExpressionIsNotNull(OgnlValueStack.java:333)
[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:313)
[classes/:?]
at org.apache.struts2.components.Component.findValue(Component.java:302)
[classes/:?]
at org.apache.struts2.components.Param.end(Param.java:126) [classes/:?]
at
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:38)
[classes/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005fparam_005f0(footer_jsp.java:228)
[work/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005ftext_005f0(footer_jsp.java:190)
[work/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspService(footer_jsp.java:149)
[work/:?]
The footer.jsp
<s:text name="footer.productNameHtml"><s:param value="#request.yyyy"
/><s:param value="#request.version" /><s:param value="#request.revision"
/></s:text>
Are there any changes made on this version that would cause this?
On 20/07/2024 07:52, Lukasz Lenart wrote:
> Hello,
>
> This is another minor 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 version:
> https://github.com/apache/struts/releases/tag/STRUTS_6_6_0
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/6.6.0/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0
>
>
> Kind regards
> --
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@struts.apache.org
> For additional commands, e-mail:dev-help@struts.apache.org
>
Re: [TEST] Apache Struts 6.6.0 test build is ready
Posted by Kusal Kithul-Godage <ku...@gmail.com>.
No issues integrating with Confluence
On Sat, Jul 20, 2024 at 4:52 PM Lukasz Lenart <lu...@apache.org> wrote:
>
> Hello,
>
> This is another minor 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 version:
> https://github.com/apache/struts/releases/tag/STRUTS_6_6_0
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/6.6.0/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0
>
>
> Kind regards
> --
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
Re: [TEST] Apache Struts 6.6.0 test build is ready
Posted by Greg Huber <gr...@gmail.com>.
May have been some formatting on previous mail, here it is again
2024-07-20 09:39:59,406 WARN
org.apache.struts2.interceptor.TokenSessionStoreInterceptor
TokenSessionStoreInterceptor:handleInvalidToken - testHandleInvalidToken
2024-07-20 09:39:59,535 WARN com.opensymphony.xwork2.ognl.OgnlValueStack
OgnlValueStack:logLookupFailure - Caught an exception while evaluating
expression '#request.yyyy' against value stack
java.lang.IllegalStateException: The request object has been recycled
and is no longer associated with this facade
at
org.apache.catalina.connector.RequestFacade.checkFacade(RequestFacade.java:856)
~[catalina.jar:9.0.91]
at
org.apache.catalina.connector.RequestFacade.getAttribute(RequestFacade.java:245)
~[catalina.jar:9.0.91]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
javax.servlet.ServletRequestWrapper.getAttribute(ServletRequestWrapper.java:83)
~[servlet-api.jar:4.0.FR]
at
org.apache.struts2.dispatcher.StrutsRequestWrapper.getAttribute(StrutsRequestWrapper.java:81)
~[classes/:?]
at
org.apache.struts2.dispatcher.RequestMap.get(RequestMap.java:102)
~[classes/:?]
at
ognl.MapPropertyAccessor.getProperty(MapPropertyAccessor.java:76)
~[ognl-3.3.5.jar:?]
at
com.opensymphony.xwork2.ognl.accessor.XWorkMapPropertyAccessor.getProperty(XWorkMapPropertyAccessor.java:79)
~[classes/:?]
at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:3354)
~[ognl-3.3.5.jar:?]
at ognl.ASTProperty.getValueBody(ASTProperty.java:121)
~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]
at ognl.ASTChain.getValueBody(ASTChain.java:141) ~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212)
~[ognl-3.3.5.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.3.5.jar:?]
at ognl.Ognl.getValue(Ognl.java:586) ~[ognl-3.3.5.jar:?]
at com.opensymphony.xwork2.ognl.OgnlUtil.ognlGet(OgnlUtil.java:596)
~[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlUtil.getValue(OgnlUtil.java:576)
~[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:412)
~[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValue(OgnlValueStack.java:346)
[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.tryFindValueWhenExpressionIsNotNull(OgnlValueStack.java:333)
[classes/:?]
at
com.opensymphony.xwork2.ognl.OgnlValueStack.findValue(OgnlValueStack.java:313)
[classes/:?]
at
org.apache.struts2.components.Component.findValue(Component.java:302)
[classes/:?]
at org.apache.struts2.components.Param.end(Param.java:126) [classes/:?]
at
org.apache.struts2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:38)
[classes/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005fparam_005f0(footer_jsp.java:228)
[work/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspx_meth_s_005ftext_005f0(footer_jsp.java:190)
[work/:?]
at
org.apache.jsp.WEB_002dINF.jsps.tiles.footer_jsp._jspService(footer_jsp.java:149)
[work/:?]
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67)
[jasper.jar:9.0.91]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
[servlet-api.jar:?]
footer.jsp
<%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
<%
request.setAttribute("version",my.model.MyFactory.getMe().getVersion());
request.setAttribute("revision",my.model.MyFactory.getMe().getRevision());
request.setAttribute("yyyy",my.model.MyFactory.getMe().getCurrentYear());
%>
<div align="center">
<em>Copyright © <s:text name="footer.productNameHtml"><s:param
value="#request.yyyy" /><s:param value="#request.version" /><s:param
value="#request.revision" /></s:text></em>
</div>
On 20/07/2024 07:52, Lukasz Lenart wrote:
> Hello,
>
> This is another minor 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 version:
> https://github.com/apache/struts/releases/tag/STRUTS_6_6_0
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/6.6.0/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+6.6.0
>
>
> Kind regards
> --
> Łukasz
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:dev-unsubscribe@struts.apache.org
> For additional commands, e-mail:dev-help@struts.apache.org
>