New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Spring Boot 3.1 #2755
Comments
Hi Guys, |
Hello, We have two great environment topics with J2EE 10 (Wildfly 27) and Springboot 3. Unfortunately, we are not able to work on both topics in parallel. According to our Maintenance Policy Wildfly is an "Adding Environment". Therefore we decided to provide Wildfly 27 support with 7.19 and plan to support Springboot 3 with 7.20. We do hope for your understanding. Tobias |
I have run Camunda 7.19.0-alpha2 with Spring Boot 3 successfully using this configuration. Although this is not a complete support, it might be useful for others: https://gist.github.com/66cd658ba54439c9052681a0d84d66a9 |
@edudant Thanks a lot for sharing. |
hava a java code? thx |
Hi, |
Hi, I am afraid that Camunda 7.20, if it has the normal release date around October 2023, will be quite late for a support of Spring Boot 3. Since 2.7 will reach EOL already in November 2023, there will not be much time for doing the update of productive Apps. (We are e.g. already working on the Spring Boot 3 Update) Is there any chance for an earlier support of Boot 3? |
Hey @pschalk, Thanks for bringing this up. SpringBoot 3 is a high priority for us in the next release. We will start early with this to be able to release it with an early alpha version. You could begin implementing against an alpha version, which you can replace in October with the official minor release. Would this work for you? Regards Tobias |
Hi @toco-cam, |
We are building our Spring Boot 3 applications against 7.19.0-alpha4. We have a monorepo with 300+ apps. A few of them are using Camunda. Right now lack of Jakarta support in Camunda is holding back the upgrade for the whole monorepo. When can we expect Jakarta support in eg. camunda-bpm-spring-boot-starter? |
@lacribeiro11 that's correct. |
Thank you very much @tasso94 |
When can we realistically expect the first 7.20.0-alpha? |
Hey @groie
After our 7.19 release Mid April we will start looking into this and provide an update in this ticket. Our next alpha is in May but it might not already include this feature. Thanks for your understanding Tobias |
Support of jakarta namespace seems critical for many of us. Is there any chance getting a release compatible with spring-boot 3 earlier than October? Also interested in camunda-bpm-spring-boot-starter-rest. |
We have decided to isolate the embedded Camunda engine from our Spring Applications to a separate Container and Integrate all Delegates over REST rather than as direct JavaDelegates. This will enable us to update all the Business Services and Logic independent of Camunda. This will also enable us to split the Camunda DB-Tables away from our Business-DB. |
Hello @teopapath
It will be delivered with an early alpha release before October.
The scope of this epic contains: "... to update all our Spring Boot starters (incl. External Task Client, ...)" |
Summary: Initial evaluationSpring Boot 3.0 builds on and requires Spring Framework 6. They require Java 17 as a minimum version. Whenever Spring Boot depends on a Jakarta EE specification, Spring Boot 3.0 has upgraded to the version that is included in Jakarta EE 10. For example, Spring Boot 3.0 uses the Servlet 6.0 and JPA 3.1 specifications. Initial issuesJDK 17
Stacktrace example
Details and Stacktrace example
The exception is caused by the Java Platform Module System that was introduced in Java 9, particularly its implementation of strong encapsulation (hint). A reflection is used to fetch the process and kill in order to stop the test application Stacktrace example is for Windows OS, the error occurs for Unix OS as well
Jakarta EE 10There are imports and dependencies that must be switched to the Jakarta domain in Spring 6
Spring Boot 3
Proposal
|
Open questions:
Spring 6 pros&consdocument it and users need to update their configuration files
Spring 5 pros&cons
Examples of default Camunda jpa and custom jpa usage* default Camunda jpa * https://forum.camunda.io/t/activated-jobexecutor-but-still-not-active-working-while-using-mariadb-docker/9185 * https://forum.camunda.io/t/camunda-springboot-not-starting/15322 * https://jira.camunda.com/browse/SUPPORT-6847 novatec-gmbh.de * I was not able to find more examples of the default jpa usage...
Decisions:
|
Update of announcements according to results planning for SpringBoot 3 - camunda/camunda-bpm-platform#2755
Hello @iamvajid, We started working on ticket. Best regards, |
Sync June 9th 2023Results
Next
Decisions
Questions
|
Sync June 26th 2023Results
Next
Remaining
Questions
|
will springBoot 2.x still be supported on camunda 7.20 ? |
No, Spring Boot Starter will support only Spring Boot 3 onwards. |
Sync July 6th 2023Results
RemainingQuestions
|
To all interested, the ticket has been completed. The upcoming |
Thank you @yanavasileva! |
Now it supports SB 3, but still not compatible with usage of spring cloud It seems like camunda SB starters are overiding some dependencies in SB 3 |
Can you please share a minimal example project that reproduces the problem? Otherwise it will hard for us to analyze. |
There was an issue with the integration of spring boot 3.1, camunda bpm spring boot starter 7.20-alpha3, and keycloak admin client 22.0.1. Please use it in the project directory: ./gradlew bootjar, will report an error. https://github.com/yangle94/camunda-keycloak-test/blob/main/build.gradle |
Hi @yangle94, Thank you for reaching out to us with this. However, I see that the keycloak extension has not been adjusted to adopt Spring Boot 3, therefore it's only compatible with Camunda Platform 7.19. Best regards, |
@yanavasileva Hello, I am using a version that supports camunda 7.20. Please refer to this PR camunda-community-hub/camunda-platform-7-keycloak#122 . |
@yangle94, after adding a datasource in the Could you please open a new topic in the forum and describe what issue do you observe. It seems to be a better suited channel to continue the discussion. Application log output
|
@yanavasileva please this issure |
|
This issue was imported from JIRA:
User Story (Required on creation):
As Software Developer I want to use Spring Boot 3.1
Functional Requirements (Required before implementation):
Limitations of Scope (Optional):
Hints (Optional):
Links:
Breakdown
engine-spring
#3439spring-boot-starter
with Spring Boot 3 #3445webapp-webjar
, use-jakarta
module #3440spring-boot-starter
modules to Spring Boot 3.1 #3441camunda-run
modules to Spring Boot 3.1 #3442Follow up tasks
The text was updated successfully, but these errors were encountered: