Comments (25)
I would prefer to use 1.8 features but in a weak moment I have set the version to 1.7.
Spring boot recommends to use something newer to 1.6 but is still 1.6 compatible.
In fact this starter should "only" configure some beans. The question should be: use 1.6 or 1.8?
from camunda-bpm-spring-boot-starter.
IMHO what we should do is: use 1.6 for camunda-spring-boot-starter and 1.8 for examples.
from camunda-bpm-spring-boot-starter.
+1 for maintaining 1.6 compatibility.
from camunda-bpm-spring-boot-starter.
Ok, but when we stick to 1.6 i would vote against two different jdks in this repo. Messes up ide and maven. The examples should not need much code anyway, so they would not benefit enough to justify the extra efford. Later we could provide 1.8 examples in a different setup.
from camunda-bpm-spring-boot-starter.
ok. use 1.6 only.
Am 24.06.2015 um 08:58 schrieb Jan Galinski [email protected]:
Ok, but when we stick to 1.6 i would vote against two different jdks in this repo. Messes up ide and maven. The examples should not need much code anyway, so they would not benefit enough to justify the extra efford. Later we could provide 1.8 examples in a different setup.
—
Reply to this email directly or view it on GitHub.
from camunda-bpm-spring-boot-starter.
I edited this issue to reflect that decision
from camunda-bpm-spring-boot-starter.
I am having trouble when writing a test that uses the Spring-Test Runner, because it does a component scan and fails on the provided servlet-2.4 jar which requires Java 7.
Seems like we need to change the embedded tomcat: http://docs.spring.io/spring-boot/docs/1.2.4.RELEASE/reference/htmlsingle/#howto-use-java-6
I will switch to tomcat 7 for testing http://docs.spring.io/spring-boot/docs/1.2.4.RELEASE/reference/htmlsingle/#howto-use-tomcat-7
from camunda-bpm-spring-boot-starter.
Hi Jan. Can you provide an example?
from camunda-bpm-spring-boot-starter.
I will commit my failing attempt as a branch tonight
from camunda-bpm-spring-boot-starter.
I do not need an example:
This is what I get when I start example-web/Application http://pastebin.com/gcjWZeGX
This is what I get when I run the CamundaBpmRestIT http://pastebin.com/nUwwwVQi
Seems to me like stated above that with the springweb bundle we either need >=Java7 or switch to tomcat 7.
Does this work on your machines?
from camunda-bpm-spring-boot-starter.
I think Tomcat 8 needs JDK 7. But interesting that it affects the EJB
annotation. I will test it today.
Gesendet mit AquaMail für Android
http://www.aqua-mail.com
Am 4. August 2015 08:04:12 schrieb Jan Galinski [email protected]:
I do not need an example:
This is what I get when I start example-web/Application
http://pastebin.com/gcjWZeGXThis is what I get when I run the CamundaBpmRestIT http://pastebin.com/nUwwwVQi
Seems to me like stated above that with the springweb bundle we either need
=Java7 or switch to tomcat 7.
Does this work on your machines?
Reply to this email directly or view it on GitHub:
#13 (comment)
from camunda-bpm-spring-boot-starter.
I can reproduce the issue locally.
ServletSpec and so on are compiled with JDK 7. So we should rewrite the
project to compile stuff with JDK6 binary as target format and running
the examples with JDK 7.
I personally wouldn't switch to Tomcat 7.
WDYT?
On 04.08.15 08:04, Jan Galinski wrote:
I do not need an example:
This is what I get when I start example-web/Application
http://pastebin.com/gcjWZeGXThis is what I get when I run the CamundaBpmRestIT
http://pastebin.com/nUwwwVQiSeems to me like stated above that with the springweb bundle we either
need >=Java7 or switch to tomcat 7.Does this work on your machines?
—
Reply to this email directly or view it on GitHub
#13 (comment).
from camunda-bpm-spring-boot-starter.
My opinion: JDK6 has been outdated for a while now. I understand why camunda has to support the core product for 1.6, but I dont believe that anyone considering a Spring-Boot/microservice environment will use 1.6. So we should drop legacy support and create something new and shiny. I'd even prefer to go to 1.8 so we can use the language features. Besides: 1.7 is unsupported as of July 15.
from camunda-bpm-spring-boot-starter.
I have adjusted the maven dependencies with a "java6" profile which can be removed when using a later version. In fact this is the same discussion as above: at compile time java version 1.6 is fine. But I accept @jangalinski that versions later than 1.6 will be used at runtime.
So I would still prefer to divide the starter (1.6), starter integration tests (1.8) and examples (1.8 )to have a clean setup.
from camunda-bpm-spring-boot-starter.
I would propose to use the maven based activation for JDKs instead of applying activeByDefault on the jdk6 profile. Something aIong the lines <activation><jdk>1.6</jdk></activation>
.
I am ok with using JDK 8 for the example, but the starter should stay 1.6.
from camunda-bpm-spring-boot-starter.
Activation by jdk would be fine.
from camunda-bpm-spring-boot-starter.
@hawky-4s- would you please verify that the verify goal is in the build pipeline? Without the *IT tests will not be executed. So there will be early feedback if anything is wrong for jdk 1.6
from camunda-bpm-spring-boot-starter.
It is and build was ok.
On 10.08.15 16:30, osteinhauer wrote:
@hawky-4s- https://github.com/hawky-4s- would you please verify that
the verify goal is in the build pipeline? Without the *IT tests will
not be executed. So there will be early feedback if everything is fine
for jdk 1.6—
Reply to this email directly or view it on GitHub
#13 (comment).
from camunda-bpm-spring-boot-starter.
cool. THX!
from camunda-bpm-spring-boot-starter.
A lot of trouble to go through just to keep 1.6 ... but the ITests are working now. How do you develop right now? Is the project in your IDE set to 1.6 or 1.8?
from camunda-bpm-spring-boot-starter.
My IDE (Eclipse) compiles with 1.6 and executes with 1.8.
from camunda-bpm-spring-boot-starter.
Could all please test if this works for you with JDK6? I am unable to run the complete project on OSX because the Apple JDK6 breaks with PermGen Space. Same on our Jenkins when using Oracle JDK6.
from camunda-bpm-spring-boot-starter.
not before 21h ...
from camunda-bpm-spring-boot-starter.
I have tested successfully with running maven 3 on jdk 8 and let the compiler and test plugins run with jdk 6. There is a profile to specify the jdk.
Cause I am in vacation I am unable to give more details for now.
Am 01.09.2015 um 11:23 schrieb Jan Galinski [email protected]:
not before 21h ...
—
Reply to this email directly or view it on GitHub.
from camunda-bpm-spring-boot-starter.
Okay, works.
from camunda-bpm-spring-boot-starter.
Related Issues (20)
- spring boot ee - index.html not found HOT 1
- Make AuthenticationFilter registration configurable HOT 1
- Script Task log output HOT 1
- Readme Examples link leads to 404 HOT 2
- Gradle examples have been removed? HOT 2
- Cannot resolve identifier 'myDelegateName' in 1/3 of my instances everyday.
- Pattern for multiple "process applications"? HOT 2
- The table-perfix property not work. HOT 2
- Spring Boot 2.1.0.RELEASE not supported! required a bean of type 'org.camunda.bpm.engine.ProcessEngine' that could not be found HOT 8
- "invalid date value "+propertyValue HOT 1
- Camunda bpmn with mockbean, not detecting Java class instance HOT 6
- delegate response is slow HOT 2
- Is JDK8 OK? HOT 1
- camunda sql exception!!!
- How can I get extension property through API?
- Intégration camunda HOT 1
- Simple dmn file showing error.. HOT 1
- Camunda webapp css and js dose not load in my spring boot app HOT 5
- camunda-bpm-spring-boot-starter-rest uses commons-io v2.5 with reported CVE Vulnaribilty CVE-2021-29425
- Hosted link does not work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camunda-bpm-spring-boot-starter.