[ 
https://issues.apache.org/jira/browse/OFBIZ-13363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18059082#comment-18059082
 ] 

Jacques Le Roux commented on OFBIZ-13363:
-----------------------------------------

Finally I don't think so. Could be a Docker issue, but I don't see any error at 
https://github.com/apache/ofbiz-framework/actions and no issues when restarting 
demos:

ofbizdocker@ofbiz-ec2-or:/home/jleroux$ cd /home/ofbizdocker && 
./pull-and-restart.sh
+ set -e
+ cd /home/ofbizdocker
+ for appDir in demo-stable demo-trunk demo-next
+ echo 'Restarting demo-stable docker-compose application with latest container 
images.'
Restarting demo-stable docker-compose application with latest container images.
+ pushd demo-stable
~/demo-stable ~
+ docker compose pull
WARN[0000] /home/ofbizdocker/demo-stable/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] pull 2/2
 ? Image ghcr.io/apache/ofbiz:release24.09-plugins-snapshot Pulled              
                                                                                
                                         0.5s
 ? Image postgres:13                                        Pulled              
                                                                                
                                         0.6s
+ docker compose down --volumes
WARN[0000] /home/ofbizdocker/demo-stable/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] down 3/3
 ? Container demo-stable-ofbiz-1 Removed                                        
                                                                                
                                         0.9s
 ? Container demo-stable-db-1    Removed                                        
                                                                                
                                         0.4s
 ? Network demo-stable_default   Removed                                        
                                                                                
                                         0.1s
+ docker compose up --detach
WARN[0000] /home/ofbizdocker/demo-stable/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
WARN[0000] No services to build
[+] up 3/3
 ? Network demo-stable_default   Created                                        
                                                                                
                                         0.0s
 ? Container demo-stable-db-1    Created                                        
                                                                                
                                         0.1s
 ? Container demo-stable-ofbiz-1 Created                                        
                                                                                
                                         0.1s
+ popd
~
+ echo 'demo-stable docker-compose application restarted.'
demo-stable docker-compose application restarted.
+ for appDir in demo-stable demo-trunk demo-next
+ echo 'Restarting demo-trunk docker-compose application with latest container 
images.'
Restarting demo-trunk docker-compose application with latest container images.
+ pushd demo-trunk
~/demo-trunk ~
+ docker compose pull
WARN[0000] /home/ofbizdocker/demo-trunk/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] pull 2/2
 ? Image ghcr.io/apache/ofbiz:trunk-plugins-snapshot Pulled                     
                                                                                
                                         0.4s
 ? Image postgres:13                                 Pulled                     
                                                                                
                                         0.6s
+ docker compose down --volumes
WARN[0000] /home/ofbizdocker/demo-trunk/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] down 3/3
 ? Container demo-trunk-ofbiz-1 Removed                                         
                                                                                
                                         0.0s
 ? Container demo-trunk-db-1    Removed                                         
                                                                                
                                         0.3s
 ? Network demo-trunk_default   Removed                                         
                                                                                
                                         0.1s
+ docker compose up --detach
WARN[0000] /home/ofbizdocker/demo-trunk/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
WARN[0000] No services to build
[+] up 3/3
 ? Network demo-trunk_default   Created                                         
                                                                                
                                         0.0s
 ? Container demo-trunk-db-1    Created                                         
                                                                                
                                         0.1s
 ? Container demo-trunk-ofbiz-1 Created                                         
                                                                                
                                         0.1s
+ popd
~
+ echo 'demo-trunk docker-compose application restarted.'
demo-trunk docker-compose application restarted.
+ for appDir in demo-stable demo-trunk demo-next
+ echo 'Restarting demo-next docker-compose application with latest container 
images.'
Restarting demo-next docker-compose application with latest container images.
+ pushd demo-next
~/demo-next ~
+ docker compose pull
WARN[0000] /home/ofbizdocker/demo-next/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] pull 2/2
 ? Image ghcr.io/apache/ofbiz:trunk-plugins-snapshot Pulled                     
                                                                                
                                         0.4s
 ? Image postgres:13                                 Pulled                     
                                                                                
                                         0.6s
+ docker compose down --volumes
WARN[0000] /home/ofbizdocker/demo-next/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
[+] down 3/3
 ? Container demo-next-db-1    Removed                                          
                                                                                
                                         0.3s
 ? Container demo-next-ofbiz-1 Removed                                          
                                                                                
                                         0.1s
 ? Network demo-next_default   Removed                                          
                                                                                
                                         0.1s
+ docker compose up --detach
WARN[0000] /home/ofbizdocker/demo-next/docker-compose.yml: the attribute 
`version` is obsolete, it will be ignored, please remove it to avoid potential 
confusion
WARN[0000] No services to build
[+] up 3/3
 ? Network demo-next_default   Created                                          
                                                                                
                                         0.1s
 ? Container demo-next-ofbiz-1 Created                                          
                                                                                
                                         0.1s
 ? Container demo-next-db-1    Created                                          
                                                                                
                                         0.1s
+ popd
~
+ echo 'demo-next docker-compose application restarted.'
demo-next docker-compose application restarted.
ofbizdocker@ofbiz-ec2-or:~$


> ERR_TOO_MANY_REDIRECTS on trunk and next demos, stable not concerned.
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-13363
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13363
>             Project: OFBiz
>          Issue Type: Bug
>          Components: Demo
>    Affects Versions: Upcoming Branch
>            Reporter: Jacques Le Roux
>            Priority: Major
>         Attachments: OFBIZ-13363-end-of-log.txt
>
>
> For now, trunk an next are actually the same, both are trunk. I investigated 
> only on trunk side.
> I initially thought that it could be a DDOS attack because I saw a lot of "An 
> active login is required for view with name [main]" error in the error.log 
> file. It's not.
> The issue is "Unable to acquire a new connection from the pool" unrelated to 
> "An active login is required for view with name [main]". Exactly 10 seconds 
> after the last "An active login is required for view with name [main]"
> {noformat}
> 2026-02-17 02:35:26,793 |-0.0.0.0-8009-exec-5 |ControlServlet                
> |E| Error in request handler:
> org.apache.ofbiz.webapp.control.RequestHandlerException: An active login is 
> required for view with name [main]
> [...]
> 2026-02-17 02:35:26,793 |-0.0.0.0-8009-exec-5 |ControlServlet                
> |E| An error occurred, going to the errorPage: 
> file:/ofbiz/framework/common/webcommon/error/Error.ftl
> 2026-02-17 02:35:36,696 |Thread-0             |GenericDelegator              
> |E| Failure in findByCondition operation for entity [Visit]: 
> org.apache.ofbiz.entity.GenericDataSourceException: Unable to establish a 
> connection with the database. (Unable to acquire a new connection from the 
> pool). Rolling back transaction.
> {noformat}
> As stable is not concerned I thought it could be due to a yesterday commit. 
> But I see is no reason for that.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to