domhanak opened a new issue, #3546: URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/3546
### Describe the bug Executing the IT tests for `serverless-workflow-callback-quarkus` in native mode results in test failures and there are significant number of WARNINGS in logs. **Example of the warnings: ( only fraction of it - to save space )** ``` [INFO] Warning: Could not resolve org.kie.kogito.incubation.common.objectmapper.quarkus.QuarkusInternalObjectMapper for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kie.kogito.incubation.common.objectmapper.quarkus.QuarkusInternalObjectMapper. 10:04:52 [INFO] Warning: Could not resolve org.kogito.workitem.rest.bodybuilders.ParamsRestWorkItemHandlerBodyBuilder for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kogito.workitem.rest.bodybuilders.ParamsRestWorkItemHandlerBodyBuilder. 10:04:52 [INFO] Warning: Could not resolve org.kie.kogito.jobs.api.Job for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kie.kogito.jobs.api.Job. 10:04:52 [INFO] Warning: Could not resolve org.kie.kogito.services.event.ProcessDataEvent for reflection configuration. Reason: java.lang.ClassNotFoundException: org.kie.kogito.services.event.ProcessDataEvent. ``` **Issue: After the image is running, the response is unexpected and you can see following logs:** ```2024-05-29 04:04:25,459 INFO [io.quarkus] (main) serverless-workflow-callback-quarkus 9.100.0.redhat-00004 native (powered by Quarkus 3.8.4.redhat-00002) started in 0.139s. Listening on: http://0.0.0.0:8081 2024-05-29 04:04:25,459 INFO [io.quarkus] (main) Profile native activated. 2024-05-29 04:04:25,459 INFO [io.quarkus] (main) Installed features: [agroal, cache, cdi, flyway, jackson-jq, jdbc-postgresql, kafka-client, kie-addon-events-process-extension, kie-addon-messaging-extension, kie-addon-persistence-jdbc-extension, kie-addon-process-management-extension, kogito-serverless-workflow, narayana-jta, qute, reactive-routes, resteasy, resteasy-client, resteasy-client-jackson, resteasy-jackson, smallrye-context-propagation, smallrye-openapi, smallrye-reactive-messaging, smallrye-reactive-messaging-http, smallrye-reactive-messaging-kafka, vertx] Request method: POST Request URI: http://localhost:8081/callback Proxy: <none> Request params: <none> Query params: <none> Form params: <none> Path params: <none> Headers: Accept=application/json, application/javascript, text/javascript, text/json Content-Type=application/json Cookies: <none> Multiparts: <none> Body: <none> HTTP/1.1 400 Bad Request Content-Type: application/json content-length: 76 { "message": "Illegal node type: class org.jbpm.workflow.core.node.StartNode" } ``` ### Expected behavior 1. Build serverless-workflow-callback-quarkus example in native 2. Deploy the example image 3. Execute a valid POST request 4. The request should be handled properly and no error in logs. ### Actual behavior 1. Build serverless-workflow-callback-quarkus example in native 2. Deploy the example image 3. Execute a valid POST request 4. The request is not handled properly and there is ```{ "message": "Illegal node type: class org.jbpm.workflow.core.node.StartNode" } ``` in logs ### How to Reproduce? _No response_ ### Output of `uname -a` or `ver` _No response_ ### Output of `java -version` _No response_ ### GraalVM version (if different from Java) _No response_ ### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM) _No response_ ### Build tool (ie. output of `mvnw --version` or `gradlew --version`) _No response_ ### Additional information _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
