From sachidananda.patra at hp.com Tue Oct 4 03:26:32 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Tue, 4 Oct 2016 00:26:32 -0700 (MST) Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. Message-ID: <1475565992609-909.post@n5.nabble.com> I have created setup maven build for *aerogear-unifiedpush-server-1.1.0.Final* with wildfly-9.0.1.Final, it's working i am able to create .war files. Now, i want to debug the code through break point in IDE and see the code flow and fix the issues instead of debugging through the logs by checking the logs and figure out the issue. Please help on this !! Thanks, Sachidananda -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909.html Sent from the aerogear-users mailing list archive at Nabble.com. From martin-h.gross at hpe.com Tue Oct 4 05:02:06 2016 From: martin-h.gross at hpe.com (lumaruma) Date: Tue, 4 Oct 2016 02:02:06 -0700 (MST) Subject: [Aerogear-users] Version matrix for Aerogear Push, Wildfly etc. Message-ID: <1475571726752-910.post@n5.nabble.com> Hello Aerogear team, I tried to get UnifedPush Server running on my Redhat environment, but having some problems with the versions I used. Please let me know which versions of the different tools are working together: - Aerogear Unified Push - Wildfly - MySQL - Maven - Redhat Is there a version matrix available somewhere?! Thanks and best regards Martin Gross -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Version-matrix-for-Aerogear-Push-Wildfly-etc-tp910.html Sent from the aerogear-users mailing list archive at Nabble.com. From matzew at apache.org Tue Oct 4 06:19:49 2016 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 4 Oct 2016 12:19:49 +0200 Subject: [Aerogear-users] Version matrix for Aerogear Push, Wildfly etc. In-Reply-To: <1475571726752-910.post@n5.nabble.com> References: <1475571726752-910.post@n5.nabble.com> Message-ID: Hello, our docker images are based on CentOS7 For the USP 1.1.x we have WildFly 9.0.x as the runtine: https://github.com/aerogear/dockerfiles/tree/1.1.x/wildfly where we do have snippets for MySQL 5.5 https://github.com/aerogear/dockerfiles/tree/1.1.x/wildfly/unifiedpush-wildfly#running-the-image (I *think* that 5.6/7 should be OK too - no guarantee, though) For the 1.2.0-alpha-x line of UPS, we have WildFly 10: https://github.com/aerogear/dockerfiles/tree/master/wildfly Similar MySQL (5.5) are on the master branch as well As for Maven, I have "3.3.9" installed locally, which matches what we have on our (master) docker image as well: https://github.com/aerogear/dockerfiles/blob/master/wildfly/unifiedpush-wildfly-dev/Dockerfile#L15 HTH, Matthias On Tue, Oct 4, 2016 at 11:02 AM, lumaruma wrote: > Hello Aerogear team, > > I tried to get UnifedPush Server running on my Redhat environment, but > having some problems with the versions I used. Please let me know which > versions of the different tools are working together: > - Aerogear Unified Push > - Wildfly > - MySQL > - Maven > - Redhat > > Is there a version matrix available somewhere?! > > Thanks and best regards > Martin Gross > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/Version-matrix-for-Aerogear-Push-Wildfly-etc-tp910.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/0c8db1a5/attachment.html From martin-h.gross at hpe.com Tue Oct 4 08:46:21 2016 From: martin-h.gross at hpe.com (lumaruma) Date: Tue, 4 Oct 2016 05:46:21 -0700 (MST) Subject: [Aerogear-users] Version matrix for Aerogear Push, Wildfly etc. In-Reply-To: References: <1475571726752-910.post@n5.nabble.com> Message-ID: Many Thanks for the quick answer! Best regards Martin Gross From: Matthias Wessendorf [via aerogear-users] [mailto:ml-node+s1116366n911h29 at n5.nabble.com] Sent: Tuesday, October 4, 2016 12:21 PM To: Gross, Martin Subject: Re: [Aerogear-users] Version matrix for Aerogear Push, Wildfly etc. Hello, our docker images are based on CentOS7 For the USP 1.1.x we have WildFly 9.0.x as the runtine: https://github.com/aerogear/dockerfiles/tree/1.1.x/wildfly where we do have snippets for MySQL 5.5 https://github.com/aerogear/dockerfiles/tree/1.1.x/wildfly/unifiedpush-wildfly#running-the-image (I *think* that 5.6/7 should be OK too - no guarantee, though) For the 1.2.0-alpha-x line of UPS, we have WildFly 10: https://github.com/aerogear/dockerfiles/tree/master/wildfly Similar MySQL (5.5) are on the master branch as well As for Maven, I have "3.3.9" installed locally, which matches what we have on our (master) docker image as well: https://github.com/aerogear/dockerfiles/blob/master/wildfly/unifiedpush-wildfly-dev/Dockerfile#L15 HTH, Matthias On Tue, Oct 4, 2016 at 11:02 AM, lumaruma <[hidden email]> wrote: Hello Aerogear team, I tried to get UnifedPush Server running on my Redhat environment, but having some problems with the versions I used. Please let me know which versions of the different tools are working together: - Aerogear Unified Push - Wildfly - MySQL - Maven - Redhat Is there a version matrix available somewhere?! Thanks and best regards Martin Gross -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Version-matrix-for-Aerogear-Push-Wildfly-etc-tp910.html Sent from the aerogear-users mailing list archive at Nabble.com. _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf _______________________________________________ Aerogear-users mailing list [hidden email] https://lists.jboss.org/mailman/listinfo/aerogear-users ________________________________ If you reply to this email, your message will be added to the discussion below: http://aerogear-users.1116366.n5.nabble.com/Version-matrix-for-Aerogear-Push-Wildfly-etc-tp910p911.html To unsubscribe from Version matrix for Aerogear Push, Wildfly etc., click here. NAML -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Version-matrix-for-Aerogear-Push-Wildfly-etc-tp910p912.html Sent from the aerogear-users mailing list archive at Nabble.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/d227cdea/attachment.html From columfoskin at gmail.com Tue Oct 4 10:24:51 2016 From: columfoskin at gmail.com (colum foskin) Date: Tue, 4 Oct 2016 15:24:51 +0100 Subject: [Aerogear-users] Aerogear aerodoc set up Message-ID: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> Hi all, I am in the process of trying to to get the aerodoc application up and running on my machine this week and I am having some issues with it - I am getting a build failure each time. I have the push server running locally, using the docker image. The readme for aerodoc just says run ?mvn clean install jboss-as:deploy? , however I think it is failing to build due to possibly having to configure aerodoc to point at my UPS, but I can?t find any info on this anywhere. I would like to know if I am on the right track with it, as I had a look on the forums and could not see much about it. I have searched through the code base to see if this is configured somewhere but I am not having much luck with it. Any help or info on how to get this running would be greatly appreciated. Thanks, Colum. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/bda5b631/attachment-0001.html From matzew at apache.org Tue Oct 4 10:33:25 2016 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 4 Oct 2016 16:33:25 +0200 Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> Message-ID: Hello Colum, On Tue, Oct 4, 2016 at 4:24 PM, colum foskin wrote: > Hi all, > > I am in the process of trying to to get the aerodoc application up and > running on my machine this week and I am having some issues with it - I am > getting a build failure each time. > > I have the push server running locally, using the docker image. > ok, good - so it runs in an isolated environment! > > The readme for aerodoc just says run ?mvn clean install jboss-as:deploy? > , however I think it is failing to build due to possibly having to > configure aerodoc to point at my UPS, but I can?t find any info on this > anywhere. > So, you need a separate JBoss7 (yes, not sure if WF does actually work...) for this: http://jbossas.jboss.org/downloads Once that thing is running, run the deploy command. I'd not deploy AeroDoc into the UPS container! @Summers: I recall you working on some Dockerfile or so for AeroDoc in a WF-based image, no? > > I would like to know if I am on the right track with it, as I had a look > on the forums and could not see much about it. I have searched through the > code base to see if this is configured somewhere but I am not having much > luck with it. > > Any help or info on how to get this running would be greatly appreciated. > > Thanks, > Colum. > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/9076925b/attachment.html From matzew at apache.org Tue Oct 4 11:30:04 2016 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 4 Oct 2016 17:30:04 +0200 Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. In-Reply-To: <1475565992609-909.post@n5.nabble.com> References: <1475565992609-909.post@n5.nabble.com> Message-ID: http://tools.jboss.org/blog/2015-03-17-debugging-an-externally-launched-wildfly.html On Tue, Oct 4, 2016 at 9:26 AM, Sachidananda Patra < sachidananda.patra at hp.com> wrote: > I have created setup maven build for > *aerogear-unifiedpush-server-1.1.0.Final* with wildfly-9.0.1.Final, it's > working i am able to create .war files. Now, i want to debug the code > through break point in IDE and see the code flow and > fix > the issues instead of debugging through the logs by checking the logs and > figure out the issue. > Please help on this !! > Thanks, > Sachidananda > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/c2afd9b7/attachment.html From columfoskin at gmail.com Tue Oct 4 11:55:59 2016 From: columfoskin at gmail.com (columfoskin) Date: Tue, 4 Oct 2016 08:55:59 -0700 (MST) Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> Message-ID: <1475596559285-916.post@n5.nabble.com> Hey Matthias, Thanks for the help! I have downloaded and ran Jboss 7, but I am still getting the same issue unfortunately. The build failure is due to a failed test, see the image attached. Any ideas how to get around this would be great. Thanks, Colum. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p916.html Sent from the aerogear-users mailing list archive at Nabble.com. From matzew at apache.org Tue Oct 4 12:19:07 2016 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 4 Oct 2016 18:19:07 +0200 Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: <1475596559285-916.post@n5.nabble.com> References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> <1475596559285-916.post@n5.nabble.com> Message-ID: ah, skip the tests :-) just add the following to the command line -DskipTests On Tue, Oct 4, 2016 at 5:55 PM, columfoskin wrote: > Hey Matthias, > > Thanks for the help! > > I have downloaded and ran Jboss 7, but I am still getting the same issue > unfortunately. > The build failure is due to a failed test, see the image attached. > n916/Screenshot_2016-10-04_16.png> > > > Any ideas how to get around this would be great. > > Thanks, > Colum. > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p916.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/eda40ff7/attachment.html From columfoskin at gmail.com Tue Oct 4 13:42:57 2016 From: columfoskin at gmail.com (columfoskin) Date: Tue, 4 Oct 2016 10:42:57 -0700 (MST) Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> <1475596559285-916.post@n5.nabble.com> Message-ID: <1475602977032-918.post@n5.nabble.com> Thanks Matthias, I have been trying for a while without the tests also and aerodoc still fails to build. Here is the output from the build attempt: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 17.314 s [INFO] Finished at: 2016-10-04T18:31:27+01:00 [INFO] Final Memory: 51M/522M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on project aerodoc: Deployment failed and was rolled back. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException MacBook-Pro:aerodoc-backend colum$ Here is the output from the jboss server also: 18:31:26,720 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.persistenceunit."aerodoc.war#aerodoc-default": org.jboss.msc.service.StartException in service jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_79] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_79] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] Caused by: java.lang.AbstractMethodError at org.hibernate.internal.SessionFactoryImpl.(SessionFactoryImpl.java:294) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1737) at org.hibernate.ejb.EntityManagerFactoryImpl.(EntityManagerFactoryImpl.java:84) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] ... 3 more 18:31:26,935 INFO [org.jboss.as.server] (management-handler-thread - 9) JBAS015870: Deploy of deployment "aerodoc.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.persistenceunit.\"aerodoc.war#aerodoc-default\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"aerodoc.war#aerodoc-default\": Failed to start service"}} 18:31:26,947 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-7) JBAS010409: Unbound data source [jboss/datasources/AerodocDS] 18:31:26,998 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment aerodoc.war in 62ms 18:31:26,999 INFO [org.jboss.as.controller] (management-handler-thread - 9) JBAS014774: Service status report JBAS014777: Services which failed to start: service jboss.persistenceunit."aerodoc.war#aerodoc-default": org.jboss.msc.service.StartException in service jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start service So far I have the following before attempting to run aerodoc: The UPS running in a docker container, the Jboss server running. Is there any other config that I may be missing? Thanks, Colum. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p918.html Sent from the aerogear-users mailing list archive at Nabble.com. From matzew at apache.org Tue Oct 4 14:12:58 2016 From: matzew at apache.org (Matthias Wessendorf) Date: Tue, 4 Oct 2016 20:12:58 +0200 Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: <1475602977032-918.post@n5.nabble.com> References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> <1475596559285-916.post@n5.nabble.com> <1475602977032-918.post@n5.nabble.com> Message-ID: ah! that's a bug :-) OK, I did (locally) revert the last commit. On the aerodoc-backend folder, please run: gco e30f0459501950ef51d88ecfa39ff2c44523b68f Now, you are getting back to a vrsion that runs :-) Sorry for that. Now, just build again (mvn clean install) and than deploy ( mvn clean install jboss-as:deploy) -Matthias On Tue, Oct 4, 2016 at 7:42 PM, columfoskin wrote: > Thanks Matthias, I have been trying for a while without the tests also and > aerodoc still fails to build. Here is the output from the build attempt: > > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 17.314 s > [INFO] Finished at: 2016-10-04T18:31:27+01:00 > [INFO] Final Memory: 51M/522M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) > on > project aerodoc: Deployment failed and was rolled back. -> [Help 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > MacBook-Pro:aerodoc-backend colum$ > > Here is the output from the jboss server also: > > 18:31:26,720 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) > MSC00001: Failed to start service > jboss.persistenceunit."aerodoc.war#aerodoc-default": > org.jboss.msc.service.StartException in service > jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start > service > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run( > ServiceControllerImpl.java:1767) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at > java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1145) > [rt.jar:1.7.0_79] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:615) > [rt.jar:1.7.0_79] > at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79] > Caused by: java.lang.AbstractMethodError > at > org.hibernate.internal.SessionFactoryImpl.( > SessionFactoryImpl.java:294) > at > org.hibernate.cfg.Configuration.buildSessionFactory( > Configuration.java:1737) > at > org.hibernate.ejb.EntityManagerFactoryImpl.( > EntityManagerFactoryImpl.java:84) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory( > Ejb3Configuration.java:904) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory( > Ejb3Configuration.java:889) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFa > ctory(HibernatePersistence.java:73) > at > org.jboss.as.jpa.service.PersistenceUnitServiceImpl. > createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162) > at > org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start( > PersistenceUnitServiceImpl.java:85) > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService( > ServiceControllerImpl.java:1811) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run( > ServiceControllerImpl.java:1746) > [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > ... 3 more > > 18:31:26,935 INFO [org.jboss.as.server] (management-handler-thread - 9) > JBAS015870: Deploy of deployment "aerodoc.war" was rolled back with failure > message {"JBAS014671: Failed services" => > {"jboss.persistenceunit.\"aerodoc.war#aerodoc-default\"" => > "org.jboss.msc.service.StartException in service > jboss.persistenceunit.\"aerodoc.war#aerodoc-default\": Failed to start > service"}} > 18:31:26,947 INFO [org.jboss.as.connector.subsystems.datasources] (MSC > service thread 1-7) JBAS010409: Unbound data source > [jboss/datasources/AerodocDS] > 18:31:26,998 INFO [org.jboss.as.server.deployment] (MSC service thread > 1-5) > JBAS015877: Stopped deployment aerodoc.war in 62ms > 18:31:26,999 INFO [org.jboss.as.controller] (management-handler-thread - > 9) > JBAS014774: Service status report > JBAS014777: Services which failed to start: service > jboss.persistenceunit."aerodoc.war#aerodoc-default": > org.jboss.msc.service.StartException in service > jboss.persistenceunit."aerodoc.war#aerodoc-default": Failed to start > service > > So far I have the following before attempting to run aerodoc: > The UPS running in a docker container, the Jboss server running. > > Is there any other config that I may be missing? > > Thanks, > Colum. > > > > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p918.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ twitter: http://twitter.com/mwessendorf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161004/117a3999/attachment-0001.html From columfoskin at gmail.com Tue Oct 4 15:12:57 2016 From: columfoskin at gmail.com (columfoskin) Date: Tue, 4 Oct 2016 12:12:57 -0700 (MST) Subject: [Aerogear-users] Aerogear aerodoc set up In-Reply-To: References: <44F95927-1208-4FBA-82DF-BC29AF5AEA41@gmail.com> <1475596559285-916.post@n5.nabble.com> <1475602977032-918.post@n5.nabble.com> Message-ID: <1475608377987-920.post@n5.nabble.com> That worked! Thanks, Colum. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Aerogear-users-Aerogear-aerodoc-set-up-tp913p920.html Sent from the aerogear-users mailing list archive at Nabble.com. From sachidananda.patra at hp.com Wed Oct 5 04:31:26 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Wed, 5 Oct 2016 01:31:26 -0700 (MST) Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. In-Reply-To: References: <1475565992609-909.post@n5.nabble.com> Message-ID: <1475656286333-921.post@n5.nabble.com> Hi Matthias, In the mentioned link http://tools.jboss.org/blog/2015-03-17-debugging-an-externally-launched-wildfly.html After following the steps The steps mentioned is how to attache the debugger to Wildfly server, i followed the same way but the app server didn't start. Please find the error : ------------------------------------------- h 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ------------------------------------------- 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ------------------------------------------- If i start the server from command prompt it's starting and i can see the Wildfly server home page http://localhost:9990/console/App.html#home and aerogear push server home page. http://localhost:8090/ag-push and also want to know how to import the aerogear-unifiedpush-server-1.1.0.Final this code and make changes in the code and build it and deploy to the connected server [wildfly-9.0.1.Final] -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909p921.html Sent from the aerogear-users mailing list archive at Nabble.com. From sachidananda.patra at hp.com Wed Oct 5 04:43:02 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Wed, 5 Oct 2016 01:43:02 -0700 (MST) Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. In-Reply-To: <1475656286333-921.post@n5.nabble.com> References: <1475565992609-909.post@n5.nabble.com> <1475656286333-921.post@n5.nabble.com> Message-ID: <1475656982971-922.post@n5.nabble.com> Hi Matthias, In the mentioned link http://tools.jboss.org/blog/2015-03-17-debugging-an-externally-launched-wildfly.html I followed the steps and found the below issue, Please see. After following the steps app server didn't start. Please find the error : ------------------------------------------------------------------------------------------------------------------------------------------ 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ------------------------------------------- 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ---------------------------------------------------------------------------------------------------------------------------------------- When I start the server from command prompt it's starting and I can see the WildFly server home page http://localhost:9990/console/App.html#home and Aerogear push server home page http://localhost:8090/ag-push I have a one more question related to this how I can import the aerogear-unifiedpush-server-1.1.0.Final code INTO the above mentioned IDE and deploy the .war file to the connected server [wildfly-9.0.1.Final] or build it and create .war file. Thanks, Sachidananda Patra -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909p922.html Sent from the aerogear-users mailing list archive at Nabble.com. From sachidananda.patra at hp.com Wed Oct 5 04:43:28 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Wed, 5 Oct 2016 01:43:28 -0700 (MST) Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. In-Reply-To: References: <1475565992609-909.post@n5.nabble.com> Message-ID: <1475657008227-923.post@n5.nabble.com> Hi Matthias, In the mentioned link http://tools.jboss.org/blog/2015-03-17-debugging-an-externally-launched-wildfly.html I followed the steps and found the below issue, Please see. After following the steps app server didn't start. Please find the error : ------------------------------------------------------------------------------------------------------------------------------------------ 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ------------------------------------------- 13:59:41,404 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 13:59:41,535 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 2) WFLYDR0001: Content added at location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth-server.war") 13:59:41,541 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 13:59:47,521 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquibase-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 13:59:47,531 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for keycloak-default 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,635 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,636 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6) WFLYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a private module ("org.infinispan:main") which may be changed or removed in future versions without notice. 13:59:47,697 INFO [org.keycloak.services.resources.KeycloakApplication] (ServerService Thread Pool -- 67) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json 13:59:47,783 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 67) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance(ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.init(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start(ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet.java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazyInit(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.create(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProviderFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycloakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(DefaultCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultCacheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakApplication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.(UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getConnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 13:59:49,043 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:156) ... 5 more 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 13:59:49,045 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}} 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-server-wildfly.war") 13:59:49,810 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth-server.war") 13:59:49,810 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) WFLYCTL0183: Service status report WFLYCTL0185: Newly corrected services: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com.sun.faces.config.ConfigureListener".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.faces.webapp.FacetTag".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.ClientConnectionFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.filters.KeycloakSessionServletFilter".START (new available) service jboss.deployment.unit."unifiedpush-auth-server.war".component."org.keycloak.services.listeners.KeycloakSessionDestroyListener".START (new available) service jboss.undertow.deployment.default-server.default-host./auth (new available) WFLYCTL0186: Services which failed to start: service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: WFLYSRV0083: Failed to start the http-interface service service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war" ---------------------------------------------------------------------------------------------------------------------------------------- When I start the server from command prompt it's starting and I can see the WildFly server home page http://localhost:9990/console/App.html#home and Aerogear push server home page http://localhost:8090/ag-push I have a one more question related to this how I can import the aerogear-unifiedpush-server-1.1.0.Final code INTO the above mentioned IDE and deploy the .war file to the connected server [wildfly-9.0.1.Final] or build it and create .war file. Thanks, Sachidananda Patra -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909p923.html Sent from the aerogear-users mailing list archive at Nabble.com. From sachidananda.patra at hp.com Mon Oct 10 07:05:54 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Mon, 10 Oct 2016 04:05:54 -0700 (MST) Subject: [Aerogear-users] Debugging Unified Push Server Message-ID: <1476097554318-924.post@n5.nabble.com> while i am trying to run the server in debug mode from command prompt getting the below error. D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\bin>standalone.sh --debug --server-config=standalone.xml ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /d/UPS/wildfly-9.0.1.Final/wildfly-9.0.1.Final JAVA: C:\Program Files (x86)\Java\jdk1.8.0_31/bin/java JAVA_OPTS: -server -server -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.net. preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.he adless=true -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n ========================================================================= Listening for transport dt_socket at address: 8787 Unable to read the logging configuration from 'file:/d/UPS/wildfly-9.0.1.Final/w ildfly-9.0.1.Final/standalone/configuration/logging.properties' (java.io.FileNot FoundException: \d\UPS\wildfly-9.0.1.Final\wildfly-9.0.1.Final\standalone\config uration\logging.properties (The system cannot find the path specified)) 16:10:13,617 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Po ol -- 55) WFLYCLINF0001: Activating Infinispan subsystem. 16:10:13,613 INFO [org.jboss.as.security] (ServerService Thread Pool -- 70) WFL YSEC0002: Activating Security Subsystem 16:10:13,619 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 63) WFLYN AM0001: Activating Naming Subsystem 16:10:13,613 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 71) WFLYTX00 13: Node identifier property is set to the default value. Please make sure it is unique. 16:10:13,626 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 61) WFLYJSF0 007: Activated the following JSF Implementations: [main] 16:10:13,639 INFO [org.jboss.as.security] (MSC service thread 1-6) WFLYSEC0001: Current PicketBox version=4.9.2.Final 16:10:13,670 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 73) WFLYWS0002: Activating WebServices Extension 16:10:13,833 INFO [org.jboss.as.connector] (MSC service thread 1-5) WFLYJCA0009 : Starting JCA Subsystem (IronJacamar 1.2.4.Final) 16:10:13,911 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool - - 72) WFLYUT0003: Undertow 1.2.9.Final starting 16:10:13,912 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFL YUT0003: Undertow 1.2.9.Final starting 16:10:14,488 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 54) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task t hreads based on your 4 available processors 16:10:14,826 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool - - 72) WFLYUT0014: Creating file handler for path D:\UPS\wildfly-9.0.1.Final\wild fly-9.0.1.Final/welcome-content 16:10:15,610 INFO [org.jboss.as.connector.subsystems.datasources] (ServerServic e Thread Pool -- 50) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.D river (version 1.3) 16:10:15,617 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1 -2) WFLYJCA0018: Started Driver service with driver-name = h2 16:10:16,023 INFO [org.jboss.as.naming] (MSC service thread 1-5) WFLYNAM0003: S tarting Naming Service 16:10:16,024 INFO [org.jboss.as.mail.extension] (MSC service thread 1-2) WFLYMA IL0001: Bound mail session [java:jboss/mail/Default] 16:10:17,303 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) WFLYDS0013: Started FileSystemDeploymentService for directory D:\UPS\wildfl y-9.0.1.Final\wildfly-9.0.1.Final\standalone\deployments 16:10:17,475 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFL YSRV0027: Starting deployment of "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-server-wildfly.war") 16:10:17,475 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFL YSRV0027: Starting deployment of "unifiedpush-auth-server.war" (runtime-name: "u nifiedpush-auth-server.war") 16:10:17,504 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS] 16:10:17,523 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFL YUT0012: Started server default-server. 16:10:17,525 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 4.0.9.Final 16:10:17,607 INFO [org.wildfly.extension.undertow] (MSC service thread 1-3) WFL YUT0018: Host default-host starting 16:10:18,341 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFL YUT0006: Undertow HTTP listener default listening on /127.0.0.1:8080 16:10:21,722 INFO [org.jboss.ws.common.management] (MSC service thread 1-8) JBW S022052: Starting JBoss Web Services - Stack CXF Server 5.0.0.Final 16:10:31,852 WARN [org.jboss.as.server.deployment] (MSC service thread 1-1) WFL YSRV0059: Class Path entry lib/snakeyaml-1.13.jar in /D:/UPS/wildfly-9.0.1.Final /wildfly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/lib/liquiba se-core-3.3.5.jar does not point to a valid jar for a Class-Path reference. 16:10:35,967 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC0000 01: Failed to start service jboss.deployment.unit."unifiedpush-server-wildfly.wa r".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit. "unifiedpush-server-wildfly.war".PARSE: WFLYSRV0153: Failed to process phase PAR SE of deployment "unifiedpush-server-wildfly.war" at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo ymentUnitPhaseService.java:163) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(Se rviceControllerImpl.java:1948) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceCont rollerImpl.java:1881) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss .ejb.default-resource-adapter-name-service not found at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(Service ContainerImpl.java:669) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescrip tionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFacto ry.java:274) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescrip tionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:15 4) at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescrip tionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81) at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescript ionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDe ploymentUnitProcessor.java:57) at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcess or.deploy(AbstractDeploymentUnitProcessor.java:81) at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(Deplo ymentUnitPhaseService.java:156) ... 5 more 16:10:36,184 INFO [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for keycloak-default 16:10:37,441 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 16:10:37,443 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or removed in future versions without notice. 16:10:37,444 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed o r removed in future versions without notice. 16:10:37,444 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed o r removed in future versions without notice. 16:10:37,446 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.infinispan:main") which may be changed or removed in future versi ons without notice. 16:10:37,446 WARN [org.jboss.as.dependency.private] (MSC service thread 1-3) WF LYSRV0018: Deployment "deployment.unifiedpush-auth-server.war" is using a privat e module ("org.infinispan:main") which may be changed or removed in future versi ons without notice. 16:10:52,962 INFO [org.keycloak.services.resources.KeycloakApplication] (Server Service Thread Pool -- 80) Load config from vfs:/D:/UPS/wildfly-9.0.1.Final/wild fly-9.0.1.Final/bin/content/unifiedpush-auth-server.war/WEB-INF/classes/META-INF /keycloak-server.json 16:11:03,344 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 80 ) MSC000001: Failed to start service jboss.undertow.deployment.default-server.de fault-host./auth: org.jboss.msc.service.StartException in service jboss.undertow .deployment.default-server.default-host./auth: java.lang.RuntimeException: Faile d to construct public org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplica tion(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1 .run(UndertowDeploymentService.java:85) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51 1) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:617) at java.lang.Thread.run(Thread.java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss.aero gear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContext,or g.jboss.resteasy.core.Dispatcher) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(Constructor InjectorImpl.java:160) at org.jboss.resteasy.spi.ResteasyProviderFactory.createProviderInstance (ResteasyProviderFactory.java:2211) at org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyD eployment.java:295) at org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.ja va:236) at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher. init(ServletContainerDispatcher.java:112) at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init( HttpServletDispatcher.java:36) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(Lifecy leInterceptorInvocation.java:117) at org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.ini t(RunAsLifecycleInterceptor.java:78) at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(Lifecy leInterceptorInvocation.java:103) at io.undertow.servlet.core.ManagedServlet$DefaultInstanceStrategy.start (ManagedServlet.java:230) at io.undertow.servlet.core.ManagedServlet.createServlet(ManagedServlet. java:131) at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManage rImpl.java:511) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.s tartContext(UndertowDeploymentService.java:101) at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1 .run(UndertowDeploymentService.java:82) ... 6 more Caused by: java.lang.RuntimeException: Failed to connect to database at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getC onnection(DefaultJpaConnectionProviderFactory.java:184) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.lazy Init(DefaultJpaConnectionProviderFactory.java:130) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.crea te(DefaultJpaConnectionProviderFactory.java:35) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.crea te(DefaultJpaConnectionProviderFactory.java:25) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycl oakSession.java:99) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProvid erFactory.java:34) at org.keycloak.models.jpa.JpaRealmProviderFactory.create(JpaRealmProvid erFactory.java:16) at org.keycloak.services.DefaultKeycloakSession.getProvider(DefaultKeycl oakSession.java:99) at org.keycloak.models.cache.DefaultCacheRealmProvider.getDelegate(Defau ltCacheRealmProvider.java:70) at org.keycloak.models.cache.DefaultCacheRealmProvider.getRealm(DefaultC acheRealmProvider.java:163) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(Appliance Bootstrap.java:40) at org.keycloak.services.managers.ApplianceBootstrap.bootstrap(Appliance Bootstrap.java:31) at org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm (KeycloakApplication.java:157) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupD efaultRealm(UpsKeycloakApplication.java:40) at org.keycloak.services.resources.KeycloakApplication.(KeycloakAp plication.java:87) at org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication. (UpsKeycloakApplication.java:35) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at org.jboss.resteasy.core.ConstructorInjectorImpl.construct(Constructor InjectorImpl.java:148) ... 19 more Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java.jboss.datasources.KeycloakDS at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNaming Store.java:106) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:207) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184) at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(Initi alContext.java:237) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:193) at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:189) at javax.naming.InitialContext.lookup(InitialContext.java:417) at javax.naming.InitialContext.lookup(InitialContext.java:417) at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFactory.getC onnection(DefaultJpaConnectionProviderFactory.java:177) ... 39 more 16:11:03,353 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" = > "unifiedpush-auth-server.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./auth" => " org.jboss.msc.service.StartException in service jboss.undertow.deployment.defaul t-server.default-host./auth: java.lang.RuntimeException: Failed to construct pub lic org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet .ServletContext,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to construct public org.jboss. aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.ServletContex t,org.jboss.resteasy.core.Dispatcher) Caused by: java.lang.RuntimeException: Failed to connect to database Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- ser vice jboss.naming.context.java.jboss.datasources.KeycloakDS"}} 16:11:03,355 ERROR [org.jboss.as.controller.management-operation] (Controller Bo ot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" = > "unifiedpush-server-wildfly.war")]) - failure description: {"WFLYCTL0080: Fail ed services" => {"jboss.deployment.unit.\"unifiedpush-server-wildfly.war\".PARSE " => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"un ifiedpush-server-wildfly.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"unifiedpush-server-wildfly.war\" Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service j boss.ejb.default-resource-adapter-name-service not found"}} 16:11:03,537 INFO [org.jboss.as.server] (ServerService Thread Pool -- 51) WFLYS RV0010: Deployed "unifiedpush-server-wildfly.war" (runtime-name : "unifiedpush-s erver-wildfly.war") 16:11:03,538 INFO [org.jboss.as.server] (ServerService Thread Pool -- 51) WFLYS RV0010: Deployed "unifiedpush-auth-server.war" (runtime-name : "unifiedpush-auth -server.war") 16:11:03,541 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL018 3: Service status report WFLYCTL0186: Services which failed to start: service jboss.deployment.uni t."unifiedpush-server-wildfly.war".PARSE: org.jboss.msc.service.StartException i n service jboss.deployment.unit."unifiedpush-server-wildfly.war".PARSE: WFLYSRV0 153: Failed to process phase PARSE of deployment "unifiedpush-server-wildfly.war " service jboss.undertow.deployment.default-server.default-host./auth: org.j boss.msc.service.StartException in service jboss.undertow.deployment.default-ser ver.default-host./auth: java.lang.RuntimeException: Failed to construct public o rg.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication(javax.servlet.Serv letContext,org.jboss.resteasy.core.Dispatcher) 16:11:03,872 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http man agement interface listening on http://127.0.0.1:9990/management 16:11:03,873 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin co nsole listening on http://127.0.0.1:9990 16:11:03,874 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started (with errors) in 100430ms - Started 288 of 473 services (3 services failed or missing dependencies, 221 serv ices are lazy, passive or on-demand) 16:11:04,206 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread 1-6) HV000001: Hibernate Validator 5.1.3.Final 16:11:04,785 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFL YSRV0028: Stopped deployment unifiedpush-server-wildfly.war (runtime-name: unifi edpush-server-wildfly.war) in 786ms 16:11:06,035 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFL YSRV0028: Stopped deployment unifiedpush-auth-server.war (runtime-name: unifiedp ush-auth-server.war) in 2036ms 16:11:06,288 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFL YDR0002: Content removed from location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1. Final\standalone\data\content\71\670faba14905a7cff5d332ced8d5b20e22d2a7\content 16:11:06,289 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV 0009: Undeployed "unifiedpush-server-wildfly.war" (runtime-name: "unifiedpush-se rver-wildfly.war") 16:11:06,307 INFO [org.jboss.as.repository] (DeploymentScanner-threads - 1) WFL YDR0002: Content removed from location D:\UPS\wildfly-9.0.1.Final\wildfly-9.0.1. Final\standalone\data\content\8d\78f8c7023024fd2c800ca7686f4396b474d2c2\content 16:11:06,308 INFO [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV 0009: Undeployed "unifiedpush-auth-server.war" (runtime-name: "unifiedpush-auth- server.war") 16:11:06,310 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFL YCTL0183: Service status report WFLYCTL0184: New missing/unsatisfied dependencies: service jboss.deployment.unit."unifiedpush-auth-server.war".component."com .sun.faces.config.ConfigureListener".START (missing) dependents: [service jboss. deployment.unit."unifiedpush-auth-server.war".deploymentCompleteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."jav ax.faces.webapp.FacetTag".START (missing) dependents: [service jboss.deployment. unit."unifiedpush-auth-server.war".deploymentCompleteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."jav ax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [servic e jboss.deployment.unit."unifiedpush-auth-server.war".deploymentCompleteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."jav ax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jbos s.deployment.unit."unifiedpush-auth-server.war".deploymentCompleteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."org .jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher".START (missing) dependents: [service jboss.deployment.unit."unifiedpush-auth-server.war".deploym entCompleteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."org .keycloak.services.filters.ClientConnectionFilter".START (missing) dependents: [ service jboss.deployment.unit."unifiedpush-auth-server.war".deploymentCompleteSe rvice] service jboss.deployment.unit."unifiedpush-auth-server.war".component."org .keycloak.services.filters.KeycloakSessionServletFilter".START (missing) depende nts: [service jboss.deployment.unit."unifiedpush-auth-server.war".deploymentComp leteService] service jboss.deployment.unit."unifiedpush-auth-server.war".component."org .keycloak.services.listeners.KeycloakSessionDestroyListener".START (missing) dep endents: [service jboss.deployment.unit."unifiedpush-auth-server.war".deployment CompleteService] service jboss.undertow.deployment.default-server.default-host./auth (missi ng) dependents: [service jboss.deployment.unit."unifiedpush-auth-server.war".dep loymentCompleteService] WFLYCTL0186: Services which failed to start: service jboss.deployment.uni t."unifiedpush-server-wildfly.war".PARSE service jboss.undertow.deployment.default-server.default-host./auth -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Debugging-Unified-Push-Server-tp924.html Sent from the aerogear-users mailing list archive at Nabble.com. From martin-h.gross at hpe.com Tue Oct 11 13:08:24 2016 From: martin-h.gross at hpe.com (lumaruma) Date: Tue, 11 Oct 2016 10:08:24 -0700 (MST) Subject: [Aerogear-users] aerogear-cordova-push Message-ID: <1476205704136-925.post@n5.nabble.com> Hi Aerogear team, I am trying to get your Cordova demo example with Plugin Aerogear-cordova-push (3.0.1) running in my app. But got back following exception: -->"Uncaught ReferenceError: push is not defined" If referencing the java scripts "aerogear.ajax.js" and "aerogear-push.js" directly in index.html, i got following error message: --> "Uncaught TypeError: Cannot read property 'register' of undefined" Please could you help me here?! Thanks and best regards Martin Gross -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/aerogear-cordova-push-tp925.html Sent from the aerogear-users mailing list archive at Nabble.com. From jusanche at redhat.com Tue Oct 11 13:13:07 2016 From: jusanche at redhat.com (Julio Cesar Sanchez Hernandez) Date: Tue, 11 Oct 2016 19:13:07 +0200 Subject: [Aerogear-users] aerogear-cordova-push In-Reply-To: <1476205704136-925.post@n5.nabble.com> References: <1476205704136-925.post@n5.nabble.com> Message-ID: Hi. You don't have to reference any of the plugin .js files in your index.html, they are loaded by Cordova. Remove them from the index.html and try again. On Tue, Oct 11, 2016 at 7:08 PM, lumaruma wrote: > Hi Aerogear team, > > I am trying to get your Cordova demo example with Plugin > Aerogear-cordova-push (3.0.1) running in my app. But got back following > exception: > -->"Uncaught ReferenceError: push is not defined" > > If referencing the java scripts "aerogear.ajax.js" and "aerogear-push.js" > directly in index.html, i got following error message: > --> "Uncaught TypeError: Cannot read property 'register' of undefined" > > Please could you help me here?! > > Thanks and best regards > Martin Gross > > > > > > -- > View this message in context: http://aerogear-users.1116366. > n5.nabble.com/aerogear-cordova-push-tp925.html > Sent from the aerogear-users mailing list archive at Nabble.com. > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161011/53c66237/attachment.html From edewit at redhat.com Wed Oct 12 02:31:31 2016 From: edewit at redhat.com (Erik Jan de Wit) Date: Wed, 12 Oct 2016 08:31:31 +0200 Subject: [Aerogear-users] aerogear-cordova-push In-Reply-To: References: <1476205704136-925.post@n5.nabble.com> Message-ID: and be sure to have cordova.js in your index.html like so: This will load the plugins, but it will only work in a simulator or on a device. On Tue, Oct 11, 2016 at 7:13 PM, Julio Cesar Sanchez Hernandez < jusanche at redhat.com> wrote: > Hi. > > You don't have to reference any of the plugin .js files in your > index.html, they are loaded by Cordova. > Remove them from the index.html and try again. > > > On Tue, Oct 11, 2016 at 7:08 PM, lumaruma wrote: > >> Hi Aerogear team, >> >> I am trying to get your Cordova demo example with Plugin >> Aerogear-cordova-push (3.0.1) running in my app. But got back following >> exception: >> -->"Uncaught ReferenceError: push is not defined" >> >> If referencing the java scripts "aerogear.ajax.js" and "aerogear-push.js" >> directly in index.html, i got following error message: >> --> "Uncaught TypeError: Cannot read property 'register' of undefined" >> >> Please could you help me here?! >> >> Thanks and best regards >> Martin Gross >> >> >> >> >> >> -- >> View this message in context: http://aerogear-users.1116366. >> n5.nabble.com/aerogear-cordova-push-tp925.html >> Sent from the aerogear-users mailing list archive at Nabble.com. >> _______________________________________________ >> Aerogear-users mailing list >> Aerogear-users at lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/aerogear-users >> > > > _______________________________________________ > Aerogear-users mailing list > Aerogear-users at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/aerogear-users > > -- Cheers, Erik Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161012/b06d07df/attachment.html From sachidananda.patra at hp.com Thu Oct 13 09:53:56 2016 From: sachidananda.patra at hp.com (Sachidananda Patra) Date: Thu, 13 Oct 2016 06:53:56 -0700 (MST) Subject: [Aerogear-users] Unified Push Server IDE Setup for debugging. In-Reply-To: References: <1475565992609-909.post@n5.nabble.com> Message-ID: <1476366836387-928.post@n5.nabble.com> Hi, I followed the Step in the mentioned URL but how we can debug the aerogear code by setting breakpoints Using any IDE. -- View this message in context: http://aerogear-users.1116366.n5.nabble.com/Unified-Push-Server-IDE-Setup-for-debugging-tp909p928.html Sent from the aerogear-users mailing list archive at Nabble.com. From corinnekrych at gmail.com Mon Oct 17 04:43:00 2016 From: corinnekrych at gmail.com (Corinne Krych) Date: Mon, 17 Oct 2016 10:43:00 +0200 Subject: [Aerogear-users] AeroGear iOS libraries released for Swift2.3... Swift 3 on its way Message-ID: Hello iOS lovers, Swift AeroGear libraries have been moved to run under Xcode8 and run with iOS10. Here is the version to used: - AeroGear-Push-Swift -> 1.3.0 - AeroGearHttp -> 0.8.0 - AeroGearOAuth2 -> 0.8.0 - AeroGear-Push-Swift -> 1.3.0 - AeroGearSyncJsonPatch -> 1.0.0-alpha.5 - AeroGearSyncClientJsonPatch -> 1.0.0-alpha.5 Note that all cookbook demos have been updated accordingly [1]. The next step is to release the libraries to target Swift3, this is coming very soon! Special thanks to our contributor tuzonghua for his work on aerogear-ios-http and aerogear-ios-oauth2. As always feedback and contributions are always welcome. Enjoy! ++ Corinne [1] https://github.com/aerogear/aerogear-ios-cookbook -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161017/2f1e7b5b/attachment.html From klinux at gmail.com Sat Oct 29 21:59:43 2016 From: klinux at gmail.com (Kleber Rocha) Date: Sat, 29 Oct 2016 23:59:43 -0200 Subject: [Aerogear-users] Cluster Message-ID: Hi, I've created a UPS cluster, using wildfly 8.2 domain mode, but I have some problems, when I create a user using keycloak console on the first machine, I can do logging with the user in aerogear console, but the second machine, cannot find the user, only after I restart wildfly, the second machine can find the new user. That is a behavior, bug or configuration mistake? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20161029/cadbb9ab/attachment.html