[jboss-jira] [JBoss JIRA] (DROOLS-1748) Drools workbench datasource on Wildfly domain.

Walter Medvedeo (JIRA) issues at jboss.org
Wed Oct 4 08:52:00 EDT 2017


    [ https://issues.jboss.org/browse/DROOLS-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472166#comment-13472166 ] 

Walter Medvedeo commented on DROOLS-1748:
-----------------------------------------

For domain installations the following additional configurations are required.

# the profile name that is being used, e.g. full, default, etc.
datasource.management.wildfly.profile=full

# the server group name to with the current kie-wb installation belongs. e.g:
datasource.management.wildfly.serverGroup=primary-server-group

# Internal kie-wb component configuration for domain configurations
datasource.management.DefChangeHandler=DomainModeChangeHandler

The profile and serverGroup name can be found in the hosts.xml configuration file in a section like this:

    <server-groups>
        <server-group name="primary-server-group" profile="full">
            <jvm name="default">
                <heap size="1000m" max-size="1000m"/>
            </jvm>
            <socket-binding-group ref="full-sockets"/>
            <deployments>
                <deployment name="kie-wb-7.0.0-SNAPSHOT-eap7.war" runtime-name="kie-wb-7.0.0-SNAPSHOT-eap7.war"/>
            </deployments>
        </server-group>

All this 3 mentioned properties should added to the datasource-management.properties file found in the:

kie-wb-7.0.0.Final-wildfly10.war/WEB-INF/classes/datasource-management.properties 



> Drools workbench datasource on Wildfly domain.
> ----------------------------------------------
>
>                 Key: DROOLS-1748
>                 URL: https://issues.jboss.org/browse/DROOLS-1748
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 7.0.0.Final, 7.3.0.Final
>         Environment: Drools workbench on Wildfly domain cluster
>            Reporter: M C
>            Assignee: Petr Široký
>            Priority: Critical
>
> After starting workbench war (version 7.3 and 7.0, both Final) on Wildfly 10.1 domain cluster, got the issues with data source.
> [Server:server-one] 13:09:07,908 WARN  [org.kie.workbench.common.screens.datasource.management.backend.DataSourceManagementBootstrap] (pool-14-thread-1) Initialize deployments task finished with errors: operation execution failed. :WFLYCTL0030: No resource definition is registered for address [("subsystem" => "datasources")]
> Problem does not affect Wildfly standalone configuration, only domain configuration using profiles.
> WFLYCTL0030 warning says the syntax problem using jboss-cli.sh. In domain cluster it's used /profile=full-ha/subsystem=datasource/...
> In standalone syntax is: /subsystem=datasource/.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list