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