Hi,
I'm following the steps described under
http://www.keycloak.org/docs/3.3/getting_started/topics/secure-jboss-app/...
and get the following Exception:
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.375 s
[INFO] Finished at: 2017-08-29T17:02:57+02:00
[INFO] Final Memory: 44M/911M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Final:deploy
(default-cli) on project keycloak-app-profile-jee-vanilla: Failed to execute goal deploy:
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed
services" =>
{"jboss.undertow.deployment.default-server.default-host./vanilla" =>
"java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0085: The
required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory.
[ERROR] Caused by: java.lang.RuntimeException: java.lang.IllegalStateException:
WFLYUT0085: The required mechanism 'BASIC' is not available in mechanisms
[KEYCLOAK] from the HttpAuthenticationFactory.
[ERROR] Caused by: java.lang.IllegalStateException: WFLYUT0085: The required mechanism
'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory."}}}}
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal
org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Final:deploy (default-cli) on project
keycloak-app-profile-jee-vanilla: Failed to execute goal deploy: {"WFLYCTL0062:
Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-1" => {"WFLYCTL0080: Failed services" =>
{"jboss.undertow.deployment.default-server.default-host./vanilla" =>
"java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0085: The
required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory.
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0085:
The required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory.
Caused by: java.lang.IllegalStateException: WFLYUT0085: The required mechanism
'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory."}}}}
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to execute goal deploy:
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that
failed:" => {"Operation step-1" => {"WFLYCTL0080: Failed
services" =>
{"jboss.undertow.deployment.default-server.default-host./vanilla" =>
"java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0085: The
required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory.
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: WFLYUT0085:
The required mechanism 'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory.
Caused by: java.lang.IllegalStateException: WFLYUT0085: The required mechanism
'BASIC' is not available in mechanisms [KEYCLOAK] from the
HttpAuthenticationFactory."}}}}
at org.wildfly.plugin.deployment.AbstractDeployment.execute(AbstractDeployment.java:148)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
[ERROR]
[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
mvn clean wildfly:deploy -e -DskipTests 18,76s user 0,40s system 228% cpu 8,390 total
Steps to reproduce:
* $ git clone
https://github.com/keycloak/keycloak-quickstarts
* $ cd keycloak-quickstarts/app-profile-jee-vanilla
* $ mvn clean wildfly:deploy
I'm running the newly released Keycloak 3.3.0.CR1 standalone downloaded from the
official download
(
https://downloads.jboss.org/keycloak/3.3.0.CR1/keycloak-3.3.0.CR1.tar.gz)
The spring-boot apps also produce build errors when following the official guide at
https://github.com/keycloak/keycloak-quickstarts/tree/latest/app-springboot
Thank you for any help!
Best,
Herbert
________________________________
BearingPoint Technology GmbH
Sitz: Premstätten bei Graz
Firmenbuchgericht: Landesgericht für ZRS Graz
Firmenbuchnummer: FN 44354b
The information in this email is confidential and may be legally privileged. If you are
not the intended recipient of this message, any review, disclosure, copying, distribution,
retention, or any action taken or omitted to be taken in reliance on it is prohibited and
may be unlawful. If you are not the intended recipient, please reply to or forward a copy
of this message to the sender and delete the message, any attachments, and any copies
thereof from your system.