Skip to content

Instantly share code, notes, and snippets.

@liweinan
Created July 6, 2022 16:16
Show Gist options
  • Save liweinan/549970a8e507e9c287db92eabf9777e8 to your computer and use it in GitHub Desktop.
Save liweinan/549970a8e507e9c287db92eabf9777e8 to your computer and use it in GitHub Desktop.
Investigation on the jberet usage on the WildFly
@chengfang
Copy link

since the error points at line 1 col 0, so it could yasson is expecting some json payload but somehow got empty json object. You may want to check if a json payload is needed in your request.

@chengfang
Copy link

another possibility is the client side (resteasy, etc) libs may be too old.

Also I've updated https://github.com/jberet/jberet-wildfly-samples project with various lib upgrades and fixes.

@liweinan
Copy link
Author

@chengfang I'll check the updated examples. thanks for help!

@liweinan
Copy link
Author

@chengfang After upgrading the jberet-wildfly-samples project locally, I can build the project now. And I went on running the tests restAPI example. I run the start() test and I can reproduce the INVALID TOKEN problem:

image

Could you please help to check it? Thanks!

@chengfang
Copy link

sure, I'll take a look. It could be some problem with jberet-rest-api, which has not been updated for a while. I noticed all rest* sub-modules within jberet-wildfly-samples failed with the above error.

@liweinan
Copy link
Author

@chengfang thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment