Comments (19)
Hi Jan,
what do I have to do to start it?
Daniel
from camunda-bpm-spring-boot-starter.
Just run the Application in examples webapp. https://github.com/camunda/camunda-bpm-spring-boot-starter/blob/master/examples/camunda-spring-boot-starter-example-webapp/src/main/java/org/camunda/bpm/spring/boot/starter/example/webapp/Application.java The webapp is then accesible under http://localhost:8080/ you will need to created an admin user and then manually start the process instance via tasklist. Thanks for looking into this.
from camunda-bpm-spring-boot-starter.
Hi Jan,
from the cmd line or should I implort into Eclipse?
Sorry for asking such beginner questions...
from camunda-bpm-spring-boot-starter.
I am running it from eclipse 💃
from camunda-bpm-spring-boot-starter.
Ah, I assumed you had the project in your IDE. If not, just use maven https://docs.spring.io/spring-boot/docs/current/maven-plugin/run-mojo.html
(or old school: mvn clean package && java -jar )
.... in IDE: right click the class and say "run Java Application" ... its jjust a Java file with a main method.
from camunda-bpm-spring-boot-starter.
I have it running. When I press F12 in the tasklist I see a JS error in the console. Will investigate
from camunda-bpm-spring-boot-starter.
hi Jan,
What is the value of the Process Engine Configuration setting "authorizationEnabled"? Is it set to false?
Could you try with setting that to true? I do not know how to configure this myself and christian is busy :D
daniel
from camunda-bpm-spring-boot-starter.
Hi Daniel.
The authorization properties are „camunda default values“.
But I have created a #35 branch and added the possibility to configure authorization.
You can put a file named application.properties in the src/main/resources folder and play with the properties:
camunda.bpm.authorization.enabled=true/false
camunda.bpm.authorization.enabled-for-custom-code=true/false
Am 21.01.2016 um 13:52 schrieb Daniel Meyer [email protected]:
hi Jan,
What is the value of the Process Engine Configuration setting "authorizationEnabled"? Is it set to false?
Could you try with setting that to true? I do not know how to configure this myself and christian is busy :Ddaniel
—
Reply to this email directly or view it on GitHub #35 (comment).
from camunda-bpm-spring-boot-starter.
By the way: If you install the springsource toolsuite plugin in eclipse you can use autocompletion in property files 😉
Am 21.01.2016 um 13:52 schrieb Daniel Meyer [email protected]:
hi Jan,
What is the value of the Process Engine Configuration setting "authorizationEnabled"? Is it set to false?
Could you try with setting that to true? I do not know how to configure this myself and christian is busy :Ddaniel
—
Reply to this email directly or view it on GitHub.
from camunda-bpm-spring-boot-starter.
I found the problem. If you log into tasklist and inspect the requests that are performed (by opening DEV tools), then you see that an OPTIONS request on the filter resource comes back 200 OK but without any content. I placed a breakpoint in the method it shoud invoke in the backend and see that the method never gets called.
The underlying problem is that the javascript in the Webapp sets the wrong accept headers
Accept: application/hal+json, application/json; q=0.5
while it should be
Accept: application/json
Why is this not always a problem?
The spring boot starter uses a jersey version which we do not test in combination with the webapp.
To fix this in the correct way we would need to make sure the Tasklist JS code sets the correct accept header.
But we cannot change the 7.4.0 js code since it is already released.
Two options:
- release the spring boot extension and accept this as a known limitation and fix the bug for the next spring boot release. Which could be just 3 days later!!!
- try to fix the bug before the release
I strongly advise to go for option 1. Why? => there is an unlimited number of bugs anyway this is just one we know about by accident. While fixing it, we may discover 100 other bugs and if we want to fix them too, then we will never perform a release.
Daniel
from camunda-bpm-spring-boot-starter.
See: https://app.camunda.com/jira/browse/CAM-5299
from camunda-bpm-spring-boot-starter.
I tried this with 7.4.5-ee which should fix the issue, but have the same problem: create filter is not visible, no filter-> no tasks ... ideas?
from camunda-bpm-spring-boot-starter.
This is still a problem in 7.5.0-alpha3, the 7.4.0 webjar's are present.
from camunda-bpm-spring-boot-starter.
There is more to it:
- webjars are not part of the bom, so you have to manually import them and set the correct version - https://app.camunda.com/jira/browse/CAM-5704
- webjars are broken (not built) in alpha2 and alpha3 - https://app.camunda.com/jira/browse/CAM-5707
from camunda-bpm-spring-boot-starter.
@jangalinski: did you test the issue with the new webjar already?
from camunda-bpm-spring-boot-starter.
not with 7.5 alpha. with 7.4.5 it did not work
from camunda-bpm-spring-boot-starter.
This is fixed when you explicitly upgrade the webjars to 7.5.0 CE. I tested it and it workes fine now, i thank this issue can be closed now.
from camunda-bpm-spring-boot-starter.
Thanks for testing. Thats good news. I guess we should switch to 7.5 for 1.2 then. Objections?
from camunda-bpm-spring-boot-starter.
fixed via #94
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.