OK, that's not the problem then. This is what I got when I try to deploy ag-push and auth-server:ag-push.war15:58:41,280 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "ag-push.war")]) - failure description: { "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.datasources. "WFLYCTL0180: Services with missing/unavailable dependencies" => [UnifiedPushDS"],
"jboss.persistenceunit.\"ag-push.war#unifiedpush-default\" is missing [jboss.naming.context.java. "jboss.persistenceunit.\"ag-jboss.datasources. UnifiedPushDS]", push.war#unifiedpush-default\" ].__FIRST_PHASE__ is missing [jboss.naming.context.java. jboss.datasources. UnifiedPushDS]"
}auth-server.war15:58:33,191 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 98) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./ at org.wildfly.extension.auth: org.jboss.msc.service. StartException in service jboss.undertow.deployment. default-server.default-host./ auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.jboss.aerogear. unifiedpush.keycloak. UpsKeycloakApplication(javax. servlet.ServletContext,org. jboss.resteasy.core. Dispatcher) undertow.deployment. at java.util.concurrent.UndertowDeploymentService$1. run(UndertowDeploymentService. java:85) Executors$RunnableAdapter. at java.util.concurrent.call(Executors.java:511) FutureTask.run(FutureTask. at java.util.concurrent.java:266) ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor.java:1142) ThreadPoolExecutor$Worker.run( at java.lang.Thread.run(Thread.ThreadPoolExecutor.java:617) java:745) at org.jboss.threads.JBossThread.run(JBossThread.java:320) Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.jboss.aerogear.unifiedpush.keycloak. at org.jboss.resteasy.core.UpsKeycloakApplication(javax. servlet.ServletContext,org. jboss.resteasy.core. Dispatcher) ConstructorInjectorImpl. at org.jboss.resteasy.spi.construct( ConstructorInjectorImpl.java: 162) ResteasyProviderFactory. at org.jboss.resteasy.spi.createProviderInstance( ResteasyProviderFactory.java: 2246) ResteasyDeployment. at org.jboss.resteasy.spi.createApplication( ResteasyDeployment.java:304) ResteasyDeployment.start( at org.jboss.resteasy.plugins.ResteasyDeployment.java:245) server.servlet. at org.jboss.resteasy.plugins.ServletContainerDispatcher. init( ServletContainerDispatcher. java:113) server.servlet. at io.undertow.servlet.core.HttpServletDispatcher.init( HttpServletDispatcher.java:36) LifecyleInterceptorInvocation. at org.wildfly.extension.proceed( LifecyleInterceptorInvocation. java:117) undertow.security. at io.undertow.servlet.core.RunAsLifecycleInterceptor. init( RunAsLifecycleInterceptor. java:78) LifecyleInterceptorInvocation. at io.undertow.servlet.core.proceed( LifecyleInterceptorInvocation. java:103) ManagedServlet$ at io.undertow.servlet.core.DefaultInstanceStrategy.start( ManagedServlet.java:250) ManagedServlet.createServlet( at io.undertow.servlet.core.ManagedServlet.java:133) DeploymentManagerImpl$2.call( at io.undertow.servlet.core.DeploymentManagerImpl.java: 546) DeploymentManagerImpl$2.call( at io.undertow.servlet.core.DeploymentManagerImpl.java: 517) ServletRequestContextThreadSet at io.undertow.servlet.core.upAction$1.call( ServletRequestContextThreadSet upAction.java:42) ContextClassLoaderSetupAction$ at io.undertow.servlet.api.1.call( ContextClassLoaderSetupAction. java:43) LegacyThreadSetupActionWrapper at io.undertow.servlet.api.$1.call( LegacyThreadSetupActionWrapper .java:44) LegacyThreadSetupActionWrapper at io.undertow.servlet.api.$1.call( LegacyThreadSetupActionWrapper .java:44) LegacyThreadSetupActionWrapper at io.undertow.servlet.api.$1.call( LegacyThreadSetupActionWrapper .java:44) LegacyThreadSetupActionWrapper at io.undertow.servlet.api.$1.call( LegacyThreadSetupActionWrapper .java:44) LegacyThreadSetupActionWrapper at io.undertow.servlet.api.$1.call( LegacyThreadSetupActionWrapper .java:44) LegacyThreadSetupActionWrapper at io.undertow.servlet.core.$1.call( LegacyThreadSetupActionWrapper .java:44) DeploymentManagerImpl.start( at org.wildfly.extension.DeploymentManagerImpl.java: 559) undertow.deployment. at org.wildfly.extension.UndertowDeploymentService. startContext( UndertowDeploymentService. java:101) undertow.deployment. ... 6 moreUndertowDeploymentService$1. run(UndertowDeploymentService. java:82)
Caused by: java.lang.RuntimeException: Failed to connect to database
at org.keycloak.connections.jpa.DefaultJpaConnectionProviderFa at org.keycloak.connections.jpa.ctory.getConnection( DefaultJpaConnectionProviderFa ctory.java:209) DefaultJpaConnectionProviderFa at org.keycloak.connections.jpa.ctory.lazyInit( DefaultJpaConnectionProviderFa ctory.java:130) DefaultJpaConnectionProviderFa at org.keycloak.connections.jpa.ctory.create( DefaultJpaConnectionProviderFa ctory.java:42) DefaultJpaConnectionProviderFa at org.keycloak.services.ctory.create( DefaultJpaConnectionProviderFa ctory.java:30) DefaultKeycloakSession. at org.keycloak.models.jpa.getProvider( DefaultKeycloakSession.java: 103) JpaRealmProviderFactory. at org.keycloak.models.jpa.create( JpaRealmProviderFactory.java: 34) JpaRealmProviderFactory. at org.keycloak.services.create( JpaRealmProviderFactory.java: 16) DefaultKeycloakSession. at org.keycloak.models.cache.getProvider( DefaultKeycloakSession.java: 103) infinispan. at org.keycloak.models.cache.DefaultCacheRealmProvider. getDelegate( DefaultCacheRealmProvider. java:59) infinispan. at org.keycloak.services.DefaultCacheRealmProvider. getRealm( DefaultCacheRealmProvider. java:161) managers.ApplianceBootstrap. at org.keycloak.services.setupDefaultRealm( ApplianceBootstrap.java:32) resources.KeycloakApplication. at org.jboss.aerogear.<init>(KeycloakApplication. java:81) unifiedpush.keycloak. at sun.reflect.UpsKeycloakApplication.<init>( UpsKeycloakApplication.java: 35) NativeConstructorAccessorImpl. at sun.reflect.newInstance0(Native Method) NativeConstructorAccessorImpl. at sun.reflect.newInstance( NativeConstructorAccessorImpl. java:62) DelegatingConstructorAccessorI at java.lang.reflect.Constructor.mpl.newInstance( DelegatingConstructorAccessorI mpl.java:45) newInstance(Constructor.java: at org.jboss.resteasy.core.423) ConstructorInjectorImpl. ... 29 moreconstruct( ConstructorInjectorImpl.java: 150)
Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java. at org.jboss.as.naming.jboss.datasources.KeycloakDS ServiceBasedNamingStore. at org.jboss.as.naming.lookup( ServiceBasedNamingStore.java: 106) NamingContext.lookup( at org.jboss.as.naming.NamingContext.java:207) NamingContext.lookup( at org.jboss.as.naming.NamingContext.java:184) InitialContext$ at org.jboss.as.naming.DefaultInitialContext.lookup( InitialContext.java:237) NamingContext.lookup( at org.jboss.as.naming.NamingContext.java:193) NamingContext.lookup( at javax.naming.InitialContext.NamingContext.java:189) lookup(InitialContext.java: at javax.naming.InitialContext.417) lookup(InitialContext.java: at org.keycloak.connections.jpa.417) DefaultJpaConnectionProviderFa ... 46 morectory.getConnection( DefaultJpaConnectionProviderFa ctory.java:202)
15:58:33,196 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "auth-server.war")]) - failure description: { "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./ Caused by: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.jboss.aerogear.auth" => "org.jboss.msc.service. StartException in service jboss.undertow.deployment. default-server.default-host./ auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.jboss.aerogear. unifiedpush.keycloak. UpsKeycloakApplication(javax. servlet.ServletContext,org. jboss.resteasy.core. Dispatcher) unifiedpush.keycloak. Caused by: java.lang.RuntimeException: Failed to connect to databaseUpsKeycloakApplication(javax. servlet.ServletContext,org. jboss.resteasy.core. Dispatcher)
Caused by: javax.naming.NameNotFoundException: datasources/KeycloakDS -- service jboss.naming.context.java. "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.jboss.datasources.KeycloakDS"} , default-server.default-host./ "WFLYCTL0180: Services with missing/unavailable dependencies" => undefinedauth"],
}On 6 April 2017 at 14:31, Summers Pittman <supittma@redhat.com> wrote:It sounds like that resource already exists.To check use jboss-cli (in the /bin directory of wildfly) and run "ls subsystem=messaging-activemq/server=default/jms-queue". This will show you all of your created queues and if you see the ones from the jms-setup-wildfly script then you are already done. On Thu, Apr 6, 2017 at 6:56 AM, Jose Miguel Gallas Olmedo <jgallaso@redhat.com> wrote:______________________________Hi all,I am trying to deploy UPS in Wildfly. In the step Configure JMS destinations for the UnifiedPush of the server installation instructions [1], I am getting this weird error:$ wildfly/bin/jboss-cli.sh --file="~/projects/aerogear-unifiedpush-server/configuration The batch failed with the following error (you are remaining in the batch editing mode to have a chance to correct the error): {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0212: Duplicate resource [/jms-setup-wildfly.cli"
(\"subsystem\" => \"messaging-activemq\"),
(\"server\" => \"default\"),
(\"jms-queue\" => \"AdmPushMessageQueue\")
]"}}Any clue what this is about?--_________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
_______________________________________________
aerogear-dev mailing list
aerogear-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev --