This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch release18.12 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 1940a9d2f2bc2fe81a203bc370d8779287b39880 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Sat Sep 7 19:26:29 2024 +0200 Fixed: Logout may create a "HTTP Status 500 - Internal Server Error" (OFBIZ-13136) Creates catalina/config/web.xml with notably in <tracking-mode>COOKIE</tracking-mode> See https://lists.apache.org/thread/j05xh3rwcto6tnmgyj8704n8xc9mf4r6 for details --- framework/catalina/config/web.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/framework/catalina/config/web.xml b/framework/catalina/config/web.xml new file mode 100644 index 0000000000..02d5970162 --- /dev/null +++ b/framework/catalina/config/web.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +--> + +<web-app version="4.0" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"> + + <session-config> + <session-timeout>60</session-timeout><!-- in minutes --> + <tracking-mode>COOKIE</tracking-mode> + </session-config> + +</web-app>