Are you generating for host and domain too ?
I'm wondering if that's the issue: just generating for standalone as it seems this is your current target.
The host comes from the merging of feature specs for standalone, domain and host configurations.
I think this is a bug in the merging of the extension feature specs because the host shouldn't be there.
Emmanuel
Le 02/03/2020 à 12:48, Marcus Klimstra a écrit :
> Hi Kabir and Emmanuel,
>
> I had indeed tried those variants (and several others).
>
> Removing the parameter to the subsystem gives the exact same error as before: "Foreign key parameter host of
> {com.github.marcus-nl.camunda-galleon}subsystem.camunda-bpm-platform.job-executor reference subsystem.camunda-bpm-platform does not exist"
> Setting the host in the child element: "Feature spec subsystem.camunda-bpm-platform.job-executor does not define parameter host"
>
> Could it be that there are issues with the generated feature spec.xml files? (See bpm-platform/spec-xml
> <
https://gist.github.com/marcus-nl/3dc61f34f2f37f4366ea1310865046e2#file-2_camunda-bpm-platform_spec-xml> and job-executor/spec-xml
> <
https://gist.github.com/marcus-nl/3dc61f34f2f37f4366ea1310865046e2#file-3_job-executor_spec-xml>) This is the part that is the most
> mysterious to me:
>
> 1. How are these files generated, based on what? I'm guessing from the resource definition classes in the subsystem such
> as BpmPlatformRootDefinition
> <
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/resource/BpmPlatformRootDefinition.java> and JobExecutorDefinition.
> <
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/resource/JobExecutorDefinition.java>
>
> 2. Where does "host" param come from? What does it mean? I cannot trace it back to those resource definition classes, nor could I find it
> mentioned in the documentation.
>
> I looked at the generated feature specs for wildfly-core and so far they all contain such host params, and *also *host feature refs, for
> example:
>
> |
> <feature-specxmlns="urn:jboss:galleon:feature-spec:1.0"name="core-service.management.access.audit">
> <annotationname="jboss-op">
> <elemname="name"value="add"/>
> <elemname="op-params"value=""/>
> <elemname="addr-params"value="host,core-service,access"/>
> </annotation>
> <annotationname="feature-branch">
> <elemname="id"value="core-service.management"/>
> </annotation>
> <refs>
> <reffeature="core-service.management"/>
> <reffeature="host"nillable="true"/><!-- this is not present in any of the Camunda subsystem spec.xml's -->
> </refs>
> <params>
> <paramname="host"feature-id="true"default="GLN_UNDEFINED"/><!-- this is only present for "subsystem.camunda-bpm-platform" -->
> <paramname="core-service"feature-id="true"default="management"/>
> <paramname="access"feature-id="true"default="audit"/>
> <
https://groups.google.com/d/msgid/wildfly/1707ef8e-b779-413b-bfca-d257b7dca371%40googlegroups.com?utm_medium=email&utm_source=footer
> > To unsubscribe from this group and stop receiving emails from it, send an email to
wil...@googlegroups.com <javascript:>
> > <mailto:
wil...@googlegroups.com <javascript:>>.
> <
https://groups.google.com/d/msgid/wildfly/d1849e72-5127-45bf-a909-328294121a54%40googlegroups.com?utm_medium=email&utm_source=footer
> > To unsubscribe from this group and stop receiving emails from it, send an email to
wil...@googlegroups.com <javascript:>
> > <mailto:
wil...@googlegroups.com <javascript:>>.
> <
https://groups.google.com/d/msgid/wildfly/CAJfxLg6%3D%3DOiQU0rkr97M8cfPhaxV2LOK-9zA0XzEGBRvH8Yxcg%40mail.gmail.com?utm_medium=email&utm_source=footer
> <
https://groups.google.com/d/msgid/wildfly/CAJfxLg6%3D%3DOiQU0rkr97M8cfPhaxV2LOK-9zA0XzEGBRvH8Yxcg%40mail.gmail.com?utm_medium=email&utm_source=footer>>.
>
>
> --
> You received this message because you are subscribed to the Google Groups "WildFly" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wildfly+u...@googlegroups.com
> <mailto:
wildfly+u...@googlegroups.com>.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/wildfly/9208b6ec-d0a7-420f-b99d-2366ff809cdc%40googlegroups.com
> <
https://groups.google.com/d/msgid/wildfly/9208b6ec-d0a7-420f-b99d-2366ff809cdc%40googlegroups.com?utm_medium=email&utm_source=footer>.