Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-6839

CLI scripts fail under wildfly.8.0.0.CR1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      Just tried to setup the aerogear-unifiedpush-server on wildfly.8.0.0.CR1 using the h2 cli script.

      In wildfly.8.0.0.CR1, the enabled attribute when adding a datasource is by default true. So when trying to enable an already enabled datasource, an exception occurs (https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/h2-database-config.cli#L7)

      To resolve this issue, the --enabled=false attribute has to be added while creating the datasource. For more info: https://issues.jboss.org/browse/WFLY-2488

      The workaround works in wildfly.8.0.0.CR1 & jboss-eap.6.2. However it fails on jboss-as.7.1.1.Final since the --enable attribute is not supported. I think that some documentation on this issue would be nice to have.

      Attachments

        Activity

          People

            aemmanou Tolis Emmanouilidis (Inactive)
            aemmanou Tolis Emmanouilidis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: