Change By: Tolis Emmanouilidis (29/Jan/14 7:59 AM)
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.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira