You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2024/10/06 17:09:07 UTC

(ofbiz-framework) branch trunk updated (91a95377f3 -> 7e3d4230dc)

This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a change to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


    from 91a95377f3 Improved: Convert OrderServices.xml mini-lang to groovyDSL (OFBIZ-9984)
     new 2edcc82453 Improved: just a comment for a better Tomcat documentation
     new 7e3d4230dc Improved: hides "Unknown request [authview]" in RequestHandler.java

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 framework/catalina/config/catalina.properties                        | 5 ++++-
 .../main/java/org/apache/ofbiz/webapp/control/RequestHandler.java    | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)


(ofbiz-framework) 02/02: Improved: hides "Unknown request [authview]" in RequestHandler.java

Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 7e3d4230dc7cc983afff2c57d0c428cf4671fad4
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sun Oct 6 19:08:44 2024 +0200

    Improved: hides "Unknown request [authview]" in RequestHandler.java
    
    The complete line is:
    Unknown request [authview]; this request does not exist or cannot be called directly
    
    The error appears when authview/getUiLabels is called. No need to show that in log
---
 .../src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
index 9085355f0c..020bc83f91 100644
--- a/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
+++ b/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/RequestHandler.java
@@ -395,7 +395,7 @@ public final class RequestHandler {
         Collection<RequestMap> rmaps = resolveURI(ccfg, request);
         if (rmaps.isEmpty()) {
             if (throwRequestHandlerExceptionOnMissingLocalRequest) {
-                if (path.contains("/checkLogin/") || path.contains("/sendconfirmationmail/")) {
+                if (path.contains("/checkLogin/") || path.contains("/sendconfirmationmail/") || path.contains("/getUiLabels")) {
                     // Nested requests related with checkLogin and sendconfirmationmail are OK.
                     // There is nothing to worry about, better remove these wrong errors messages.
                     return;


(ofbiz-framework) 01/02: Improved: just a comment for a better Tomcat documentation

Posted by jl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git

commit 2edcc824536df2fe1856b7ea622a3706b3b62a20
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sun Oct 6 14:59:06 2024 +0200

    Improved: just a comment for a better Tomcat documentation
---
 framework/catalina/config/catalina.properties | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/framework/catalina/config/catalina.properties b/framework/catalina/config/catalina.properties
index a1e0dbb2d7..0eafb60ed2 100644
--- a/framework/catalina/config/catalina.properties
+++ b/framework/catalina/config/catalina.properties
@@ -19,5 +19,8 @@
 
 ## Use webSocket or not, see OFBIZ-7073 and subtasks
 webSocket=false
+
 ## This is recommended by https://tomcat.apache.org/tomcat-8.5-doc/security-howto.html#System_Properties
-org.apache.catalina.connector.RECYCLE_FACADES=true
\ No newline at end of file
+## It's well explained by Christopher Schultz (Tomcat PMC member) at
+## https://stackoverflow.com/questions/57777941/disadvantages-of-setting-tomcats-recycle-facades-true#answer-57779515
+org.apache.catalina.connector.RECYCLE_FACADES=true