Hello Camunda community,
I am a newbie and I setup a Camunda envrionement (Eclipse, Camunda server and Modeller). The environment seems to work since I achieved tutorial 2 successfully.
Linux Xubuntu 18 last version, Eclipse Version: 2019-06 (4.12.0), JDK java-11-openjdk-amd64, Camunda modeler 3.1.2, Camunda server Community edition 7.10
I try to poll email from an imap server. I read the Github docs ( https://github.com/camunda/camunda-bpm-mail ) and try to apply…
I added the dependencies in the pom file and here they are
At build time, the tests fail : I get this error : 18:16:51.206 [main] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: ENGINE-09005 Could not parse BPMN process. Errors:
One of the attributes ‘class’, ‘delegateExpression’, ‘type’, or ‘expression’ is mandatory on serviceTask. | process.bpmn | line 12 | column 66
Could I expert advice me on how to solve the issue ? I read many mailing list but without success… Thanks a lot.
GB
Thanks very much Niall. I thought that the implementation type was “connector” Isn’t it ? It’s what I set in the modeller ( see attached screen capture). Where shall I set the implementation type ?
Looks correct.
Sometimes if you’re using eclipse it doesn’t pick up changes made by external editors. you can fix it with this, for now try to refresh your project and re-build it.
I set the option in Eclipse but it had no effect, still the same error. I take car of doing a Maven clean and then a Maven install at each test. Is that correct ?
Thanks a lot. Is OpenJDK a potential problem ? Otherwise, I don’t see something out of standard. Could you tell me the JDK type and Eclipse versions you use ?
This is done in the downloaded Camunda Server, but perhaps not in the engine used for the tests? Please double check your camunda.cfg.xml in the src/test/resources folder.
Thank you very much @Ingo_Richtsmeier , your remark is totally true and lead to the solution. The problem comes form the camunda.cfg.xml in the Eclipse environment. It lacks this line : <bean class="org.camunda.connect.plugin.impl.ConnectProcessEnginePlugin" />
I attach the file with this modification. I also put the pom file after to show the necessary dependencies. Now tests are running without exception. Thanks again.
GeekBotcamunda.cfg.xml (901 Bytes)
So now, it compiles and passes the tests in Eclipse. The war deploys correctly in the server but when I start the process I still get the error (see screen capture attached). So, the situation is better but it still doesn’t work
Any idea is welcome.
@GeekBot Camunda gives 2 types of Connector - http-connector and soap-connector. If you are trying to execute an HTTP endpoint in your connector, then set the connector id to http-connector as shown in the image.