<div dir="ltr"><div class="markdown-here-wrapper" style><p style="margin:1.2em 0px!important">As Matthias suggested, here is my test using a clean instance of JBoss EAP 6.2GA</p>
<p style="margin:1.2em 0px!important">I’ve got the same problem using Java “1.7.0_45” and “1.8.0_25”</p>
<h2 id="generate-the-unifiedpush-database-and-datasource" style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204)">Generate the UnifiedPush Database and Datasource</h2>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">[passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers [git:pr/408]  
→ ~/Development/Java/Server/JBoss/jboss-eap-6.3/bin/jboss-cli.sh --file=../databases/h2-database-config.cli 
The batch executed successfully
</code></pre><h2 id="deploy" style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.4em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(204,204,204)">Deploy</h2>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">[passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers [git:pr/408]  
→ mvn jboss-as:deploy -Pas7
.
.
.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] UnifiedPush Auth Server ........................... SUCCESS [12.755s]
[INFO] UnifiedPush Server for JBossAS (WAR) .............. FAILURE [4.050s]
[INFO] UnifiedPush Servers Parent ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
</code></pre><h3 id="server-log" style="margin:1.3em 0px 1em;padding:0px;font-weight:bold;font-size:1.3em">Server Log</h3>
<pre style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;font-size:1em;line-height:1.2em;margin:1.2em 0px"><code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;display:inline;background-color:rgb(248,248,248);white-space:pre;overflow:auto;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border:1px solid rgb(204,204,204);padding:0.5em 0.7em;display:block!important;display:block;padding:0.5em;color:rgb(51,51,51);background:rgb(248,248,255)">09:29:09,889 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.deployment.unit.&quot;ag-push.war&quot;.WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit.&quot;ag-push.war&quot;.WeldStartService: Failed to start service
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1936) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[parameter 1] of [constructor] @Inject public org.jboss.aerogear.unifiedpush.service.impl.SearchManager(HttpServletRequest)]
    at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:315)
    at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:284)
    at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:147)
    at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:167)
    at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:386)
    at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:371)
    at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:379)
    at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:64)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
    ... 3 more

09:29:09,900 ERROR [org.jboss.as.server] (management-handler-thread - 1) JBAS015870: Deploy of deployment &quot;ag-push.war&quot; was rolled back with the following failure message: 
{&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.deployment.unit.\&quot;ag-push.war\&quot;.WeldStartService&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.deployment.unit.\&quot;ag-push.war\&quot;.WeldStartService: Failed to start service
    Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [HttpServletRequest] with qualifiers [@Default] at injection point [[parameter 1] of [constructor] @Inject public org.jboss.aerogear.unifiedpush.service.impl.SearchManager(HttpServletRequest)]&quot;}}
</code></pre><div title="MDH:PGRpdj5BcyBNYXR0aGlhcyBzdWdnZXN0ZWQsIGhlcmUgaXMgbXkgdGVzdCB1c2luZyBhIGNsZWFu
IGluc3RhbmNlIG9mIEpCb3NzIEVBUCA2LjJHQTwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+SSd2
ZSBnb3QgdGhlIHNhbWUgcHJvYmxlbSB1c2luZyBKYXZhIOKAnDEuNy4wXzQ14oCdIGFuZCDigJwx
LjguMF8yNeKAnTwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+IyMgR2VuZXJhdGUgdGhlIFVuaWZp
ZWRQdXNoIERhdGFiYXNlIGFuZCBEYXRhc291cmNlPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5g
YGA8L2Rpdj48ZGl2PltwYXNzb3NdOiB+L0RldmVsb3BtZW50L1Byb2plY3RzL0Flcm9HZWFyL2Fl
cm9nZWFyLXVuaWZpZWRwdXNoLXNlcnZlci9zZXJ2ZXJzIFtnaXQ6cHIvNDA4XSAmbmJzcDs8L2Rp
dj48ZGl2PuKGkiB+L0RldmVsb3BtZW50L0phdmEvU2VydmVyL0pCb3NzL2pib3NzLWVhcC02LjMv
YmluL2pib3NzLWNsaS5zaCAtLWZpbGU9Li4vZGF0YWJhc2VzL2gyLWRhdGFiYXNlLWNvbmZpZy5j
bGkmbmJzcDs8L2Rpdj48ZGl2PlRoZSBiYXRjaCBleGVjdXRlZCBzdWNjZXNzZnVsbHk8L2Rpdj48
ZGl2PmBgYDwvZGl2PjxkaXY+PGJyPjwvZGl2PjxkaXY+IyMgRGVwbG95PC9kaXY+PGRpdj48YnI+
PC9kaXY+PGRpdj5gYGA8L2Rpdj48ZGl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Zy5qYm9zcy5tc2Muc2VydmljZS5TdGFydEV4Y2Vw
dGlvbiBpbiBzZXJ2aWNlIGpib3NzLmRlcGxveW1lbnQudW5pdC5cImFnLXB1c2gud2FyXCIuV2Vs
ZFN0YXJ0U2VydmljZTogRmFpbGVkIHRvIHN0YXJ0IHNlcnZpY2U8L2Rpdj48ZGl2PiZuYnNwOyAm
bmJzcDsgQ2F1c2VkIGJ5OiBvcmcuamJvc3Mud2VsZC5leGNlcHRpb25zLkRlcGxveW1lbnRFeGNl
cHRpb246IFdFTEQtMDAxNDA4IFVuc2F0aXNmaWVkIGRlcGVuZGVuY2llcyBmb3IgdHlwZSBbSHR0
cFNlcnZsZXRSZXF1ZXN0XSB3aXRoIHF1YWxpZmllcnMgW0BEZWZhdWx0XSBhdCBpbmplY3Rpb24g
cG9pbnQgW1twYXJhbWV0ZXIgMV0gb2YgW2NvbnN0cnVjdG9yXSBASW5qZWN0IHB1YmxpYyBvcmcu
amJvc3MuYWVyb2dlYXIudW5pZmllZHB1c2guc2VydmljZS5pbXBsLlNlYXJjaE1hbmFnZXIoSHR0
cFNlcnZsZXRSZXF1ZXN0KV0ifX08L2Rpdj48ZGl2Pjxicj48L2Rpdj48ZGl2PmBgYDwvZGl2Pjxk
aXY+PGJyPjwvZGl2Pg==" style="height:0;font-size:0em;padding:0;margin:0">​</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 9:20 AM, Daniel Passos <span dir="ltr">&lt;<a href="mailto:daniel@passos.me" target="_blank">daniel@passos.me</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Tue, Oct 21, 2014 at 6:12 AM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello passos,<div><br></div><div>regarding JBoss AS7.1 it&#39;s not really supported, especially after we added a scheduler to 1.0.0.Final:</div><div><a href="https://issues.jboss.org/browse/AS7-4694" target="_blank">https://issues.jboss.org/browse/AS7-4694</a></div></div></blockquote><div> </div></span><div>So, we need update our READMEs/Docs ASAP</div><div><div class="h5"><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Please use EAP <a href="http://6.3.GA" target="_blank">6.3.GA</a> instead.</div><div><br></div><div>Also, I think they (EAP) do not support JDK8.<br></div><div><br></div><div>But yeah, on Wildfly Java8 is first-class citizens ;-)</div><div><br></div><div>greetings from Slovenia </div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 4:02 AM, Bruno Oliveira <span dir="ltr">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Good morning Passos, would you mind to try the following steps?<br>
<br>
- WildFly 8.1.0<br>
<br>
1. remove any previous installation of WildFly to make sure that we&#39;re<br>
dealing with a fresh environment<br>
2. mvn clean install -DskipTests=true -Dcheckstyle.skip=true<br>
3. Start WildFly<br>
4. cp databases/unifiedpush-h2-ds.xml $JBOSS_HOME/standalone/deployments<br>
5. cp servers/auth-server/target/auth-server.war $JBOSS_HOME/standalone/deployments<br>
6. cp servers/ups-wildfly/target/ag-push.war $JBOSS_HOME/standalone/deployments<br>
<br>
<br>
Note: Here I did a rm -rf ~/.m2/repository/org/jboss/aerogear for a<br>
fresh setup.<br>
<br>
I know manual deploy is not awesome, but help us to debug what&#39;s goign<br>
on.<br>
<br>
On JBoss AS 7.1.1 I was able to reproduce your issue and will look at<br>
this, thanks for testing.<br>
<span><br>
<br>
<br>
On 2014-10-20, Daniel Passos wrote:<br>
&gt; Hey Guys,<br>
&gt;<br>
&gt; Today I’ve spend a lot of time (without success), trying test #408<br>
</span>&gt; &lt;<a href="https://github.com/aerogear/aerogear-unifiedpush-server/pull/408" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server/pull/408</a>&gt; using a<br>
<span>&gt; new JBoss AS 7.1/Wildfly 8.1.0 installations<br>
&gt; Using Java version “1.7.0_45”<br>
</span>&gt; ------------------------------<br>
<div><div>&gt; JBoss AS 7.1 Generate the UnifiedPush Database and Datasource<br>
&gt;<br>
&gt; [passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers<br>
&gt; [git:pr/408]<br>
&gt; → ~/Development/Java/Server/JBoss/jboss-as-7.1.1.Final/bin/jboss-cli.sh<br>
&gt; --file=../databases/h2-database-config.cli<br>
&gt; #1 data-source add --name=UnifiedPushDS --driver-name=h2<br>
&gt; --jndi-name=java:jboss/datasources/UnifiedPushDS<br>
&gt; --connection-url=&quot;jdbc:h2:${jboss.server.data.dir}/unifiedpush;DB_CLOSE_DELAY=-1&quot;<br>
&gt; --user-name=sa --password=sa --use-ccm=true<br>
&gt; #2 data-source enable --name=UnifiedPushDS<br>
&gt; The batch executed successfully.<br>
&gt;<br>
&gt; Deployment<br>
&gt;<br>
&gt; [passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers<br>
&gt; [git:pr/408]<br>
&gt; → mvn jboss-as:deploy -Pas7<br>
&gt;<br>
&gt; Server Log<br>
&gt;<br>
&gt; 19:26:19,552 ERROR [org.jboss.msc.service.fail] (MSC service thread<br>
&gt; 1-8) MSC00001: Failed to start service<br>
&gt; jboss.deployment.unit.&quot;ag-push.war&quot;.WeldService:<br>
&gt; org.jboss.msc.service.StartException in service<br>
&gt; jboss.deployment.unit.&quot;ag-push.war&quot;.WeldService:<br>
&gt; org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied<br>
&gt; dependencies for type [HttpServletRequest] with qualifiers [@Default]<br>
&gt; at injection point [[parameter 1] of [constructor] @Inject public<br>
&gt; org.jboss.aerogear.unifiedpush.service.impl.SearchManager(HttpServletRequest)]<br>
&gt;     at org.jboss.as.weld.services.WeldService.start(WeldService.java:83)<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)<br>
&gt; [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)<br>
&gt; [jboss-msc-1.0.2.GA.jar:<a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a>]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]<br>
&gt; Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408<br>
&gt; Unsatisfied dependencies for type [HttpServletRequest] with qualifiers<br>
&gt; [@Default] at injection point [[parameter 1] of [constructor] @Inject<br>
&gt; public org.jboss.aerogear.unifiedpush.service.impl.SearchManager(HttpServletRequest)]<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:275)<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:244)<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:107)<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:127)<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:346)<br>
&gt;     at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:331)<br>
&gt;     at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:366)<br>
&gt;     at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:83)<br>
&gt;     at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)<br>
&gt;     ... 5 more<br>
&gt;<br>
&gt; Wildfly 8.1.0 Generate the UnifiedPush Database and Datasource<br>
&gt;<br>
&gt; [passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers<br>
&gt; [git:pr/408]<br>
&gt; → ~/Development/Java/Server/JBoss/wildfly-8.1.0.Final/bin/jboss-cli.sh<br>
&gt; --file=../databases/h2-database-config.cli<br>
&gt; The batch failed with the following error (you are remaining in the<br>
&gt; batch editing mode to have a chance to correct the error):<br>
&gt; {&quot;JBAS014653: Composite operation failed and was rolled back. Steps<br>
&gt; that failed:&quot; =&gt; {&quot;Operation step-1&quot; =&gt; &quot;JBAS014749: Operation handler<br>
&gt; failed: Service jboss.data-source-config.UnifiedPushDS is already<br>
&gt; registered&quot;}}<br>
&gt;<br>
&gt; Server Log<br>
&gt;<br>
&gt; 19:49:48,359 INFO  [org.jboss.as.connector.subsystems.datasources]<br>
&gt; (MSC service thread 1-2) JBAS010400: Bound data source<br>
&gt; [java:jboss/datasources/UnifiedPushDS]<br>
&gt; 19:49:48,360 ERROR [org.jboss.as.controller.management-operation]<br>
&gt; (management-handler-thread - 1) JBAS014612: Operation (&quot;add&quot;) failed -<br>
&gt; address: ([<br>
&gt;     (&quot;subsystem&quot; =&gt; &quot;datasources&quot;),<br>
&gt;     (&quot;data-source&quot; =&gt; &quot;UnifiedPushDS&quot;)<br>
&gt; ]): org.jboss.msc.service.DuplicateServiceException: Service<br>
&gt; jboss.data-source-config.UnifiedPushDS is already registered<br>
&gt;     at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:235)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:767)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.as.controller.OperationContextImpl$ContextServiceBuilder.install(OperationContextImpl.java:1511)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.connector.subsystems.datasources.DataSourceEnable.addServices(DataSourceEnable.java:188)<br>
&gt;     at org.jboss.as.connector.subsystems.datasources.DataSourceEnable$1.execute(DataSourceEnable.java:84)<br>
&gt;     at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:606)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:484)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:281)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:276)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:271)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:145)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:199)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$300(ModelControllerClientOperationHandler.java:130)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:150)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:146)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at java.security.AccessController.doPrivileged(Native Method)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at javax.security.auth.Subject.doAs(Subject.java:415) [rt.jar:1.7.0_45]<br>
&gt;     at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:94)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:146)<br>
&gt; [wildfly-controller-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.protocol.mgmt.AbstractMessageHandler$2$1.doExecute(AbstractMessageHandler.java:283)<br>
&gt; [wildfly-protocol-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at org.jboss.as.protocol.mgmt.AbstractMessageHandler$AsyncTaskRunner.run(AbstractMessageHandler.java:504)<br>
&gt; [wildfly-protocol-8.1.0.Final.jar:8.1.0.Final]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]<br>
&gt;     at org.jboss.threads.JBossThread.run(JBossThread.java:122)<br>
&gt; [jboss-threads-2.1.1.Final.jar:2.1.1.Final]<br>
&gt;<br>
&gt; 19:49:48,376 INFO  [org.jboss.as.connector.subsystems.datasources]<br>
&gt; (MSC service thread 1-7) JBAS010409: Unbound data source<br>
&gt; [java:jboss/datasources/UnifiedPushDS]<br>
&gt;<br>
&gt; Deployment<br>
&gt;<br>
&gt; [passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers<br>
&gt; [git:pr/408]<br>
&gt; → mvn wildfly:deploy -Pwildfly<br>
&gt; .<br>
&gt; .<br>
&gt; .<br>
&gt; [INFO] ------------------------------------------------------------------------<br>
&gt; [INFO] Reactor Summary:<br>
&gt; [INFO]<br>
&gt; [INFO] UnifiedPush Auth Server ........................... SUCCESS [10.217s]<br>
&gt; [INFO] UnifiedPush Server for JBossAS (WAR) .............. FAILURE [4.306s]<br>
&gt; [INFO] UnifiedPush Servers Parent ........................ SKIPPED<br>
&gt; [INFO] ------------------------------------------------------------------------<br>
&gt; [INFO] BUILD FAILURE<br>
&gt; [INFO] ------------------------------------------------------------------------<br>
&gt; [INFO] Total time: 15.561s<br>
&gt; [INFO] Finished at: Mon Oct 20 19:26:19 BRST 2014<br>
&gt; [INFO] Final Memory: 35M/367M<br>
&gt; [INFO] ------------------------------------------------------------------------<br>
&gt;<br>
&gt; Server Log<br>
&gt;<br>
&gt; 19:50:58,648 ERROR [org.jboss.msc.service.fail] (MSC service thread<br>
&gt; 1-4) MSC000001: Failed to start service<br>
&gt; jboss.undertow.deployment.default-server.default-host./auth:<br>
&gt; org.jboss.msc.service.StartException in service<br>
&gt; jboss.undertow.deployment.default-server.default-host./auth: Failed to<br>
&gt; start service<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]<br>
&gt; Caused by: java.lang.RuntimeException: Failed to construct public<br>
&gt; org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
&gt;     at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160)<br>
&gt;     at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2175)<br>
&gt;     at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295)<br>
&gt;     at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236)<br>
&gt;     at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112)<br>
&gt;     at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)<br>
&gt;     at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:214)<br>
&gt;     at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:119)<br>
&gt;     at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:505)<br>
&gt;     at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:88)<br>
&gt;     at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.start(UndertowDeploymentService.java:72)<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)<br>
&gt; [jboss-msc-1.2.2.Final.jar:1.2.2.Final]<br>
&gt;     ... 3 more<br>
&gt; Caused by: javax.persistence.PersistenceException: Unable to build<br>
&gt; entity manager factory<br>
&gt;     at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:83)<br>
&gt;     at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)<br>
&gt;     at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:95)<br>
&gt;     at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:24)<br>
&gt;     at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:16)<br>
&gt;     at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:88)<br>
&gt;     at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:28)<br>
&gt;     at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:15)<br>
&gt;     at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:88)<br>
&gt;     at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:67)<br>
&gt;     at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:173)<br>
&gt;     at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:42)<br>
&gt;     at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:33)<br>
&gt;     at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:137)<br>
&gt;     at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40)<br>
&gt;     at org.keycloak.services.resources.KeycloakApplication.&lt;init&gt;(KeycloakApplication.java:86)<br>
&gt;     at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.&lt;init&gt;(UpsKeycloakApplication.java:35)<br>
&gt;     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native<br>
&gt; Method) [rt.jar:1.7.0_45]<br>
&gt;     at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at java.lang.reflect.Constructor.newInstance(Constructor.java:526)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148)<br>
&gt;     ... 15 more<br>
&gt; Caused by: org.hibernate.engine.jndi.JndiException: Unable to lookup<br>
&gt; JNDI name [java:jboss/datasources/UnifiedPushDS]<br>
&gt;     at org.hibernate.engine.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:117)<br>
&gt;     at org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:115)<br>
&gt;     at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)<br>
&gt;     at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)<br>
&gt;     at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)<br>
&gt;     at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:260)<br>
&gt;     at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:94)<br>
&gt;     at org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:111)<br>
&gt;     at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:234)<br>
&gt;     at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206)<br>
&gt;     at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1885)<br>
&gt;     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1843)<br>
&gt;     at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)<br>
&gt;     at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:843)<br>
&gt;     at org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:397)<br>
&gt;     at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:842)<br>
&gt;     at org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:75)<br>
&gt;     ... 36 more<br>
&gt; Caused by: javax.naming.NameNotFoundException:<br>
&gt; datasources/UnifiedPushDS -- service<br>
&gt; jboss.naming.context.java.jboss.datasources.UnifiedPushDS<br>
&gt;     at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:104)<br>
&gt;     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)<br>
&gt;     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)<br>
&gt;     at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)<br>
&gt;     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)<br>
&gt;     at javax.naming.InitialContext.lookup(InitialContext.java:415)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at javax.naming.InitialContext.lookup(InitialContext.java:415)<br>
&gt; [rt.jar:1.7.0_45]<br>
&gt;     at org.hibernate.engine.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:114)<br>
&gt;     ... 52 more<br>
&gt;<br>
&gt; 19:50:58,659 ERROR [org.jboss.as.controller.management-operation]<br>
&gt; (management-handler-thread - 1) JBAS014613: Operation (&quot;deploy&quot;)<br>
&gt; failed - address: ([(&quot;deployment&quot; =&gt; &quot;auth-server.war&quot;)]) - failure<br>
&gt; description: {&quot;JBAS014671: Failed services&quot; =&gt;<br>
&gt; {&quot;jboss.undertow.deployment.default-server.default-host./auth&quot; =&gt;<br>
&gt; &quot;org.jboss.msc.service.StartException in service<br>
&gt; jboss.undertow.deployment.default-server.default-host./auth: Failed to<br>
&gt; start service<br>
&gt;     Caused by: java.lang.RuntimeException: Failed to construct public<br>
&gt; org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
&gt;     Caused by: javax.persistence.PersistenceException: Unable to build<br>
&gt; entity manager factory<br>
&gt;     Caused by: org.hibernate.engine.jndi.JndiException: Unable to<br>
&gt; lookup JNDI name [java:jboss/datasources/UnifiedPushDS]<br>
&gt;     Caused by: javax.naming.NameNotFoundException:<br>
&gt; datasources/UnifiedPushDS -- service<br>
&gt; jboss.naming.context.java.jboss.datasources.UnifiedPushDS&quot;}}<br>
&gt; 19:50:58,662 ERROR [org.jboss.as.server] (management-handler-thread -<br>
&gt; 1) JBAS015870: Deploy of deployment &quot;auth-server.war&quot; was rolled back<br>
&gt; with the following failure message:<br>
&gt; {&quot;JBAS014671: Failed services&quot; =&gt;<br>
&gt; {&quot;jboss.undertow.deployment.default-server.default-host./auth&quot; =&gt;<br>
&gt; &quot;org.jboss.msc.service.StartException in service<br>
&gt; jboss.undertow.deployment.default-server.default-host./auth: Failed to<br>
&gt; start service<br>
&gt;     Caused by: java.lang.RuntimeException: Failed to construct public<br>
&gt; org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)<br>
&gt;     Caused by: javax.persistence.PersistenceException: Unable to build<br>
&gt; entity manager factory<br>
&gt;     Caused by: org.hibernate.engine.jndi.JndiException: Unable to<br>
&gt; lookup JNDI name [java:jboss/datasources/UnifiedPushDS]<br>
&gt;     Caused by: javax.naming.NameNotFoundException:<br>
&gt; datasources/UnifiedPushDS -- service<br>
&gt; jboss.naming.context.java.jboss.datasources.UnifiedPushDS&quot;}}<br>
&gt;<br>
&gt; Using java version “1.8.0_25”<br>
</div></div>&gt; ------------------------------<br>
<div><div>&gt; JBoss AS 7.1<br>
&gt;<br>
&gt; I can not start JBoss AS 7.1 using Java 8<br>
&gt;<br>
&gt; [passos]: ~<br>
&gt; → ./Development/Java/Server/JBoss/jboss-as-7.1.1.Final/bin/standalone.sh<br>
&gt; -b 0.0.0.0<br>
&gt; =========================================================================<br>
&gt;<br>
&gt;   JBoss Bootstrap Environment<br>
&gt;<br>
&gt;   JBOSS_HOME: /Users/passos/Development/Java/Server/JBoss/jboss-as-7.1.1.Final<br>
&gt;<br>
&gt;   JAVA: java<br>
&gt;<br>
&gt;   JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation<br>
&gt; -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true<br>
&gt; -Dorg.jboss.resolver.warning=true<br>
&gt; -Dsun.rmi.dgc.client.gcInterval=3600000<br>
&gt; -Dsun.rmi.dgc.server.gcInterval=3600000<br>
&gt; -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true<br>
&gt; -Djboss.server.default.config=standalone.xml<br>
&gt;<br>
&gt; =========================================================================<br>
&gt;<br>
&gt; Java HotSpot(TM) 64-Bit Server VM warning: ignoring option<br>
&gt; MaxPermSize=256m; support was removed in 8.0<br>
&gt; 19:42:02,527 INFO  [org.jboss.modules] JBoss Modules version <a href="http://1.1.1.GA" target="_blank">1.1.1.GA</a><br>
&gt; 19:42:02,866 INFO  [org.jboss.msc] JBoss MSC version <a href="http://1.0.2.GA" target="_blank">1.0.2.GA</a><br>
&gt; 19:42:02,947 INFO  [<a href="http://org.jboss.as" target="_blank">org.jboss.as</a>] JBAS015899: JBoss AS 7.1.1.Final<br>
&gt; &quot;Brontes&quot; starting<br>
&gt;<br>
&gt; Wildfly 8.1.0 Deploy<br>
&gt;<br>
&gt; [passos]: ~/Development/Projects/AeroGear/aerogear-unifiedpush-server/servers<br>
&gt; [git:pr/408]<br>
&gt; → mvn wildfly:deploy -Pwildfly<br>
&gt;<br>
&gt; Seeing an error during mvn -Pdeploy install of quickstarts on Mac OS<br>
&gt; X, using jdk 1.6. I do not see this error with jdk 1.7. I&#39;m trying to<br>
&gt; deploy against EAP, but I&#39;m not sure that matters given the error<br>
&gt; looks to be JDK/path/version-based.<br>
&gt; [ERROR] Failed to execute goal<br>
&gt; org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy-only<br>
&gt; (deploy) on project switchyard-validate-xml: Execution deploy of goal<br>
&gt; org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy-only<br>
&gt; failed: Plugin org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final or<br>
&gt; one of its dependencies could not be resolved: Could not find artifact<br>
&gt; sun.jdk:jconsole:jar:jdk at specified path<br>
&gt; /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/../lib/jconsole.jar<br>
&gt; -&gt; [Help 1]<br>
&gt;<br>
&gt; I found the same problem in SwitchYard quickstart<br>
</div></div>&gt; &lt;<a href="https://issues.jboss.org/browse/SWITCHYARD-2315" target="_blank">https://issues.jboss.org/browse/SWITCHYARD-2315</a>&gt;<br>
&gt;<br>
&gt; — Passos<br>
&gt; ​<br>
<br>
&gt; _______________________________________________<br>
&gt; aerogear-dev mailing list<br>
&gt; <a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
PGP: 0x84DC9914<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br>Matthias Wessendorf <br><br>blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a>
</font></span></div>
<br>_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org" target="_blank">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>