gravitee-io / issues

Gravitee.io - API Platform - Issues
64 stars 26 forks source link

Error running graviteeio-apim-rest-api-4.1.2 #9360

Closed exalate-issue-sync[bot] closed 10 months ago

exalate-issue-sync[bot] commented 10 months ago

Describe the bug :

There is an issue with Management API starting when trying to install via zip, to be specific the issue lies when trying to run the windows batch script, the bash script is running normally and it seems to work. GW works fine with no issues, but management API doesn't even start. This error is thrown: java.lang.RuntimeException: Wrong argument was passed at io.gravitee.rest.api.standalone.boostrap.Bootstrap.main(Bootstrap.java:166)

To Reproduce :

Steps to reproduce the behaviour:

  1. Run elastic search and mongoDB respectively
  2. Either download the whole zip file with all components or just Management API, doesn't matter
  3. If you go to bin folder of GW and run ./gravitee.bat it works fine.
  4. When you proceed to go to bin of rest API and try to run the windows batch file you will encounter the error

Expected behaviour :

When trying to execute the batch script we expect the Management API to start up and not throw an error.

Desktop :

exalate-issue-sync[bot] commented 10 months ago

This issue will be fixed in versions 4.0.12, 4.2.0, 4.1.3