Hi Jacopo, All,

It's not related with the last Tomcat upgrade that was done the 13/08 when 
Carlos's 1st message was the 9.

I also reverted all the Tomcat upgrades in trunk where we use version 10 but the change to version 10 (ie only back to 10.1.34 instead of currently 10.1.44) to no avail.

Then I reverted just before the change to Tomcat 10 including plugins. To no 
avail too, still a 404.

Then I reverted just at the start of 2025 including plugins. To no avail too, 
still a 404.

Finally I reverted to just before 24.09 creation (29/07/24 for framework) 
(11/07/24 for plugins. Logically it worked.

Note: I was unable to do a bisect with the plugins. With framework onlyI 
crossed issues so was able to do only 1 step among 6 before giving up.

Framework: git bisect bad 3a0fa41077ed101ecdb685df4937e28dff643244 git bisect 
good 1426f2c4236e8ebdece8efaa8be6e4b7c648b056

Plugins: git bisect bad 935fd44b77290eb7a0465ba2ed3c63455e92ead6 git bisect 
good 98eb1442f65899a53ae7dd227ed87700c5d1cfcb

HTH

Jacques

Le 15/08/2025 à 08:39, Jacopo Cappellato a écrit :
A small update.
It also works with the latest release, 24.09.02 that you can download from:

https://ofbiz.apache.org/download.html

This means that the offending commit was done during the last week (just a
guess but it may be related to the Tomcat upgrade).

Jacopo


On Fri, Aug 15, 2025 at 8:31 AM Jacopo Cappellato <
jacopo.cappell...@gmail.com> wrote:

Hi Carlos,

You are right, I can reproduce the same issue.
We are still investigating the root cause of the issue (it is probably a
regression caused by a commit not related to the rest-api plugin).
In the meantime, for your tests, you could download an older release from
the 24.09 series. For example, in 24.09.01 the rest-api plugin still works.
You can download 24.09.01 from here:
https://archive.apache.org/dist/ofbiz/apache-ofbiz-24.09.01.zip

(the download files already contain the rest-api plugin, so you don't have
to get it from GitHub).

Thanks,
Jacopo


On Sat, Aug 9, 2025 at 4:26 PM Carlos Navarro<carlosnavarro...@gmail.com>
wrote:

Hello community!

Apache OFBiz: 24
OS: Windows 10
Java: 17


For an Apache OFBiz 24 instance, running java 17, I'm trying to get the
rest-api plugin I got fromhttps://github.com/apache/ofbiz-plugins  to
work
correctly.

Once the plugin was downloaded and located in the Plugins folder, I ran
the
gradlew "install" -PcomponentName=rest-api command to install it (the
installation went smoothly). I started OFBiz with gradlew "ofbiz --start"
but when I try to accesshttps://localhost:8443/rest  from a browser, a
404
error occurs (HTTP Status 404 – Not Found Type Status Report Description
The origin server did not find a current representation for the target
resource or is not willing to disclose that one exists. Apache
Tomcat/10.1.43) and when I try to access the url
https://localhost:8443/docs/swagger-ui.html, the browser displays the
document correctly but the following error also appears "Failed to load
API
definition. Fetch error response status is 404
https://localhost:8443/rest/openapi.json";. The rest of the OFBiz modules
run correctly as far as I can tell and when I access the url of the
rest-api plugin, I don't see any errors in the console or in the logs. Am
I
skipping any steps or making a mistake?

Thanks in advance.
Carlos Navarro

Reply via email to