Fixed in master now - seems to be caused by a bug in AS 7.1.1 related to jboss.as.jpa.managed=false in persistence.xml
----- Original Message -----
> From: "Stian Thorgersen" <stian@redhat.com>
> To: "Rodrigo Sasaki" <rodrigopsasaki@gmail.com>
> Cc: keycloak-user@lists.jboss.org
> Sent: Thursday, 22 May, 2014 3:33:51 PM
> Subject: Re: [keycloak-user] Deployment failure
>
> I've just tried to use the war-dist on AS 7.1.1 and I'm seeing the same
> problem. Looking into it now
>
> ----- Original Message -----
> > From: "Rodrigo Sasaki" <rodrigopsasaki@gmail.com>
> > To: "Bill Burke" <bburke@redhat.com>, keycloak-user@lists.jboss.org
> > Sent: Thursday, 22 May, 2014 2:34:56 PM
> > Subject: Re: [keycloak-user] Deployment failure
> >
> > Just as an update, I tried removing the audit persistence-unit, along with
> > the audit part of the project, from the pom and everything.
> >
> > Now I don't get any messages saying that the persistence unit is
> > missing/unsatisfied, although I cannot access it via the url
> > http://localhost:8080/auth I get a 404 error.
> >
> > I know this isn't a solution (removing a module), but I'm just trying to
> > pinpoint the problem. The console output isn't long, and I couldn't
> > identify
> > any errors on it, I'll post it here.
> >
> > Please let me know if I shouldn't post console logs here, or if I should
> > post
> > them in a different way.
> >
> >
> >
> > /opt/keycloak/jboss-as-7.1.1.Final/bin/standalone.sh
> > Detected server admin port: 9999
> > Detected server http port: 8080
> > [2014-05-22 10:32:45,305] Artifact auth-server: Server is not connected.
> > Deploy is not available.
> > =========================================================================
> >
> > JBoss Bootstrap Environment
> >
> > JBOSS_HOME: /opt/keycloak/jboss-as-7.1.1.Final
> >
> > JAVA: /opt/jdk1.7.0_25/bin/java
> >
> > JAVA_OPTS: -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m
> > -Xmx512m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true
> > -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000
> > -Dsun.rmi.dgc.server.gcInterval=3600000
> > -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
> > -Djboss.server.default.config=standalone.xml
> >
> > =========================================================================
> >
> > 10:32:45,571 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
> > 10:32:45,671 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
> > 10:32:45,699 INFO [ org.jboss.as ] JBAS015899: JBoss AS 7.1.1.Final
> > "Brontes"
> > starting
> > 10:32:46,160 INFO [org.xnio] XNIO Version 3.0.3.GA
> > 10:32:46,160 INFO [org.jboss.as.server] JBAS015888: Creating http
> > management
> > service using socket-binding (management-http)
> > 10:32:46,167 INFO [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
> > 10:32:46,174 INFO [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
> > 10:32:46,187 INFO [org.jboss.as.logging] JBAS011502: Removing bootstrap log
> > handlers
> > 10:32:46,191 INFO [org.jboss.as.configadmin] (ServerService Thread Pool --
> > 28) JBAS016200: Activating ConfigAdmin Subsystem
> > 10:32:46,199 INFO [org.jboss.as.clustering.infinispan] (ServerService
> > Thread
> > Pool -- 33) JBAS010280: Activating Infinispan subsystem.
> > 10:32:46,222 INFO [org.jboss.as.osgi] (ServerService Thread Pool -- 41)
> > JBAS011940: Activating OSGi Subsystem
> > 10:32:46,228 INFO [org.jboss.as.connector] (MSC service thread 1-6)
> > JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
> > 10:32:46,229 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 40)
> > JBAS011800: Activating Naming Subsystem
> > 10:32:46,230 INFO [org.jboss.as.security] (ServerService Thread Pool -- 46)
> > JBAS013101: Activating Security Subsystem
> > 10:32:46,239 INFO [org.jboss.as.security] (MSC service thread 1-12)
> > JBAS013100: Current PicketBox version=4.0.7.Final
> > 10:32:46,247 INFO [org.jboss.as.webservices] (ServerService Thread Pool --
> > 50) JBAS015537: Activating WebServices Extension
> > 10:32:46,273 INFO [org.jboss.as.connector.subsystems.datasources]
> > (ServerService Thread Pool -- 29) JBAS010403: Deploying JDBC-compliant
> > driver class org.h2.Driver (version 1.3)
> > 10:32:46,326 INFO [org.jboss.as.naming] (MSC service thread 1-14)
> > JBAS011802:
> > Starting Naming Service
> > 10:32:46,328 INFO [org.jboss.as.mail.extension] (MSC service thread 1-14)
> > JBAS015400: Bound mail session [java:jboss/mail/Default]
> > 10:32:46,381 INFO [org.jboss.ws.common.management.AbstractServerConfig]
> > (MSC
> > service thread 1-4) JBoss Web Services - Stack CXF Server 4.0.2.GA
> > 10:32:46,396 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service
> > thread 1-14) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
> > 10:32:46,570 INFO [org.jboss.as.server.deployment.scanner] (MSC service
> > thread 1-15) JBAS015012: Started FileSystemDeploymentService for directory
> > /opt/keycloak/jboss-as-7.1.1.Final/standalone/deployments
> > 10:32:46,572 INFO [org.jboss.as.remoting] (MSC service thread 1-9)
> > JBAS017100: Listening on / 127.0.0.1:9999
> > 10:32:46,572 INFO [org.jboss.as.remoting] (MSC service thread 1-16)
> > JBAS017100: Listening on / 127.0.0.1:4447
> > 10:32:46,579 INFO [org.jboss.as.connector.subsystems.datasources] (MSC
> > service thread 1-14) JBAS010400: Bound data source
> > [java:jboss/datasources/ExampleDS]
> > 10:32:46,735 INFO [ org.jboss.as ] (Controller Boot Thread) JBAS015951:
> > Admin
> > console listening on http://127.0.0.1:9990
> > 10:32:46,736 INFO [ org.jboss.as ] (Controller Boot Thread) JBAS015874:
> > JBoss
> > AS 7.1.1.Final "Brontes" started in 1306ms - Started 134 of 209 services
> > (74
> > services are passive or on-demand)
> > Connected to server
> > [2014-05-22 10:32:47,058] Artifact auth-server: Artifact is being deployed,
> > please wait...
> > 10:32:47,236 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5)
> > JBAS015876: Starting deployment of "auth-server"
> > 10:32:47,306 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.apache.httpcomponents:main") which may be changed or removed in
> > future
> > versions without notice.
> > 10:32:47,308 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.apache.httpcomponents:main") which may be changed or removed in
> > future
> > versions without notice.
> > 10:32:47,309 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or
> > removed in future versions without notice.
> > 10:32:47,310 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.codehaus.jackson.jackson-core-asl:main") which may be changed or
> > removed in future versions without notice.
> > 10:32:47,312 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or
> > removed in future versions without notice.
> > 10:32:47,313 WARN [org.jboss.as.dependency.private] (MSC service thread
> > 1-1)
> > JBAS018567: Deployment "deployment.auth-server" is using a private module
> > ("org.codehaus.jackson.jackson-mapper-asl:main") which may be changed or
> > removed in future versions without notice.
> > 10:32:47,477 INFO [org.jboss.as.server] (management-handler-thread - 2)
> > JBAS018559: Deployed "auth-server"
> > [2014-05-22 10:32:47,489] Artifact auth-server: Artifact is deployed
> > successfully
> >
> >
> >
> > On Tue, May 20, 2014 at 3:30 PM, Rodrigo Sasaki < rodrigopsasaki@gmail.com
> > >
> > wrote:
> >
> >
> >
> > Thank you very much.
> >
> > Please let me know if there's any extra information I can provide to help
> > you.
> >
> >
> > On Tue, May 20, 2014 at 3:24 PM, Bill Burke < bburke@redhat.com > wrote:
> >
> >
> > I'll look into it tonight.
> >
> > On 5/20/2014 1:36 PM, Rodrigo Sasaki wrote:
> > > I have been using Keycloak building directly form Github sources for a
> > > while now without any trouble,
> > >
> > > Today I updated my version here and now I can't deploy it anymore, is it
> > > expected?
> > >
> > > Here are some specifics:
> > >
> > > I'm using JBoss 7.1.1.Final.
> > >
> > > I added the *extension* and the *subsystem* as requested in item
> > > *6.2.1* of the Keycloak Reference Guide.
> > >
> > > I also extracted the adapter zip into the modules, it was all working,
> > > but today I have this message, and I can't quite sort out the problem:
> > >
> > >
> > > *14:27:50,537 ERROR [ org.jboss.as < http://org.jboss.as >] (MSC service
> > > thread 1-8) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with
> > > errors) in 2271ms - Started 196 of 304 services (28 services failed or
> > > missing dependencies, 78 services are passive or on-demand)*
> > > *
> > > *
> > > *14:27:50,739 INFO [org.jboss.as.server] (DeploymentScanner-threads -
> > > 2) JBAS015870: Deploy of deployment "auth-server.war" was rolled back
> > > with failure message {"JBAS014771: Services with missing/unavailable
> > > dependencies" => *
> > > *["jboss.deployment.unit.\"auth-server.war\".WeldServicejboss.persistenceunit.\"auth-server.war#jpa-keycloak-audit-store\",
> > > *
> > > *jboss.persistenceunit.\"auth-server.war#jpa-keycloak-identity-store\"Missing[jboss.deployment.unit.\"auth-server.war\".WeldServicejboss.persistenceunit.\"auth-server.war#jpa-keycloak-audit-store\",
> > > *
> > > *jboss.persistenceunit.\"auth-server.war#jpa-keycloak-identity-store\"]"]}*
> > > *
> > > *
> > > *
> > > *
> > > and directly below that
> > >
> > > *JBAS014775: New missing/unsatisfied dependencies:*
> > > * service
> > > jboss.persistenceunit."auth-server.war#jpa-keycloak-audit-store"
> > > (missing) dependents: [service
> > > jboss.deployment.unit."auth-server.war".WeldService] *
> > > * service
> > > jboss.persistenceunit."auth-server.war#jpa-keycloak-identity-store"
> > > (missing) dependents: [service
> > > jboss.deployment.unit."auth-server.war".WeldService] *
> > > *
> > > *
> > > Did I do something wrong, or is this expected in the current code base?
> > > Perhaps there's something I can do to satisfy these dependencies
> > >
> > >
> > > --
> > > Rodrigo Sasaki
> > >
> > >
> > > _______________________________________________
> > > keycloak-user mailing list
> > > keycloak-user@lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/keycloak-user
> > >
> >
> > --
> > Bill Burke
> > JBoss, a division of Red Hat
> > http://bill.burkecentral.com
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
> >
> >
> > --
> > Rodrigo Sasaki
> >
> >
> >
> > --
> > Rodrigo Sasaki
> >
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>