I've just checked it and it seems to work. There are my steps:
1. download wildfly-14.0.1.Final.zip as an application server and unpack
2. download keycloak-wildfly-adapter-dist-4.5.0.Final.zip unpack it to
$WILDFLY_HOME
3. run $WILDFLY_HOME/bin/jboss-cli.sh
--file=adapter-elytron-install-offline.cli
all passes.
4. download keycloak-4.5.0.Final.zip and
keycloak-examples-4.5.0.Final.zip (which are deprecated) and unzip it
then I can start keycloak-4.5.0.Final (auth server) and
wildfly-14.0.1.Final (app server) and then I can deploy examples to the
app server.
V.
On 11/9/18 9:52 AM, Pritha Srivastava wrote:
I still get the same error:
./bin/jboss-cli.sh --file=adapter-elytron-install-offline.cli
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0310: Extension module
org.keycloak.keycloak-adapter-subsystem not found",
"rolled-back" => true
}
Thanks,
Pritha
----- Original Message -----
> From: "Vlasta Ramik" <vramik(a)redhat.com>
> To: keycloak-user(a)lists.jboss.org
> Sent: Friday, November 9, 2018 1:52:02 PM
> Subject: Re: [keycloak-user] Running Keycloak examples
>
> Hello,
>
> inline
>
> On 11/9/18 7:55 AM, Pritha Srivastava wrote:
>> Hi All,
>>
>> I am trying to setup a Keycloak server and run the examples, for which I
>> did the following:
>>
>> 1. Downloaded 4.5.0.Final Standalone Server distribution, and started the
>> server using ./standalone.sh, which worked fine.
>> 2. Downlaoded keycloak-examples-4.5.0.Final, and for the
>> preconfigured-demo, I did a mvn clean install and mvn wildfly:deploy and
>> the second step gave me this error - UT010039: Unknown authentication
>> mechanism KEYCLOAK
>> 3. To solve the error in 2.0, I downloaded the wildfly adapter
>> keycloak-wildfly-adapter-dist-4.5.0.Final.zip, and ran this command -
>> ./bin/jboss-cli.sh --file=adapter-install.cli --connect
>> --controller=127.0.0.1:9990 which gave the following response:
> can you please try the following to install adapter?
>
> ./bin/jboss-cli.sh --file=adapter-elytron-install-offline.cli
>
>> {"outcome" => "success"}
>> {
>> "outcome" => "success",
>> "response-headers" => {
>> "operation-requires-reload" => true,
>> "process-state" => "reload-required"
>> }
>> }
>> {
>> "outcome" => "failed",
>> "failure-description" => "WFLYCTL0310: Extension module
>> org.keycloak.keycloak-adapter-subsystem not found",
>> "rolled-back" => true,
>> "response-headers" => {"process-state" =>
"reload-required"}
>> }
>>
>> I am not sure how to solve the above problem. Any help is greatly
>> appreciated.
>>
>> P.S.: I am completely new to Jboss, Wildfly etc.
>>
>> Thanks,
>> Pritha
>>
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/keycloak-user
> _______________________________________________
> keycloak-user mailing list
> keycloak-user(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-user
>