Hi Andrea,
I am not seeing that. I killed my local EAP 6.3 (JBoss EAP 6.3.0.GA (AS
7.4.0.Final-redhat-19)) and deployed the database file
(unifiedpush-h2-ds.xml), followed by these two server WAR files:
*
https://repository.jboss.org/nexus/content/repositories/jboss_releases_st...
*
https://repository.jboss.org/nexus/content/repositories/jboss_releases_st...
works fine here. It deploys and I can login and create push applications.
On Sun, Aug 24, 2014 at 4:06 PM, Andrea Vibelli <avibelli(a)redhat.com> wrote:
Hello all,
I have just deployed on top of EAP.6.3.0.GA (fresh install) the latest
version of AeroGear UnifiedPush Server, 1.0.0.Final.
However, I get the following error during the deployment (and then the
server is not working):
15:52:51,869 INFO [org.jboss.web] (ServerService Thread Pool -- 49)
JBAS018210: Register web context: /ag-push
15:52:51,878 INFO [org.keycloak.services.managers.ApplianceBootstrap]
(ServerService Thread Pool -- 51) Initializing master realm
15:52:51,895 INFO [org.keycloak.adapters.as7.KeycloakAuthenticatorValve]
(ServerService Thread Pool -- 49) **** using /WEB-INF/keycloak.json
15:52:52,580 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/auth]]
(ServerService Thread Pool -- 51) JBWEB000289: Servlet Keycloak REST
Interface threw load() exception: java.lang.ClassNotFoundException:
org.bouncycastle.openssl.PEMWriter from [Module
"deployment.auth-server.war:main" from Service Module Loader]
at
org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final-redhat-1]
at
org.keycloak.models.utils.KeycloakModelUtils.getPemFromKey(KeycloakModelUtils.java:67)
[keycloak-model-api-1.0-rc-1.jar:]
at
org.keycloak.models.jpa.RealmAdapter.setPrivateKey(RealmAdapter.java:407)
[keycloak-model-jpa-1.0-rc-1.jar:]
at
org.keycloak.models.utils.KeycloakModelUtils.generateRealmKeys(KeycloakModelUtils.java:85)
[keycloak-model-api-1.0-rc-1.jar:]
at
org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:61)
[keycloak-services-1.0-rc-1.jar:]
at
org.keycloak.services.managers.ApplianceBootstrap.bootstrap(ApplianceBootstrap.java:33)
[keycloak-services-1.0-rc-1.jar:]
at
org.keycloak.services.resources.KeycloakApplication.setupDefaultRealm(KeycloakApplication.java:137)
[keycloak-services-1.0-rc-1.jar:]
at
org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.setupDefaultRealm(UpsKeycloakApplication.java:40)
[classes:]
at
org.keycloak.services.resources.KeycloakApplication.<init>(KeycloakApplication.java:86)
[keycloak-services-1.0-rc-1.jar:]
at
org.jboss.aerogear.unifiedpush.keycloak.UpsKeycloakApplication.<init>(UpsKeycloakApplication.java:35)
[classes:]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[rt.jar:1.7.0_45]
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
[rt.jar:1.7.0_45]
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[rt.jar:1.7.0_45]
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
[rt.jar:1.7.0_45]
at
org.jboss.resteasy.core.ConstructorInjectorImpl.construct(ConstructorInjectorImpl.java:132)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.createFromInjectorFactory(ResteasyDeployment.java:290)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.createApplication(ResteasyDeployment.java:267)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.jboss.resteasy.spi.ResteasyDeployment.start(ResteasyDeployment.java:228)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.init(ServletContainerDispatcher.java:67)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.init(HttpServletDispatcher.java:36)
[resteasy-jaxrs-2.3.8.Final-redhat-3.jar:]
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3798)
[jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at
org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94)
[jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.7.0_45]
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[rt.jar:1.7.0_45]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[rt.jar:1.7.0_45]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[rt.jar:1.7.0_45]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
15:52:52,814 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS018559: Deployed "ag-push.war" (runtime-name : "ag-push.war")
15:52:52,815 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2)
JBAS018559: Deployed "auth-server.war" (runtime-name :
"auth-server.war")
15:55:50,754 INFO [org.keycloak.services.resources.KeycloakApplication]
(http-/127.0.0.1:8080-1) Loaded config from
vfs:/content/auth-server.war/WEB-INF/classes/META-INF/keycloak-server.json
The previous version, 1.0.0.Beta2, works with no problems at all.
Am I missing something?
Thanks
Andrea
--
View this message in context:
http://aerogear-dev.1069024.n5.nabble.com/Error-while-deploying-UnifiedPu...
Sent from the aerogear-dev mailing list archive at
Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev
--
Matthias Wessendorf
blog:
http://matthiaswessendorf.wordpress.com/
sessions:
http://www.slideshare.net/mwessendorf
twitter:
http://twitter.com/mwessendorf