Closed line-o closed 9 months ago
When trying to install a package with xst (starting with version 1.9.0) on an instance of exist-db that has
<init-param> <param-name>hidden</param-name> <param-value>true</param-value> </init-param>
set in etc/webapp/WEB-INF/web.xml, effectively disabling the REST API, package installation fails with
etc/webapp/WEB-INF/web.xml
; xst package install spec/fixtures/test-app.xar Install test-app.xar on https://localhost:8443 Response code 403 (Forbidden)
As it fails to fall back to XMLRPC API. As a workaround one can still force XMLRPC use by providing --rpc to the installation command.
--rpc
; xst package install spec/fixtures/test-app.xar --rpc
or by setting it in the configuration (only possible in .xstrc):
.xstrc
{ "rpc": true }
Build: eXist-7.0.0-SNAPSHOT (b032a424e9e92582938080d90b057a14c079df04) Java: 17.0.6 (Azul Systems, Inc.) OS: Mac OS X 13.6 (aarch64)
:tada: This issue has been resolved in version 1.9.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
What happened?
When trying to install a package with xst (starting with version 1.9.0) on an instance of exist-db that has
set in
etc/webapp/WEB-INF/web.xml
, effectively disabling the REST API, package installation fails withAs it fails to fall back to XMLRPC API. As a workaround one can still force XMLRPC use by providing
--rpc
to the installation command.or by setting it in the configuration (only possible in
.xstrc
):System Information
Relevant shell output