[keycloak-dev] server distro BROKEN

Stan Silvert ssilvert at redhat.com
Mon Apr 25 08:22:12 EDT 2016


On 4/25/2016 8:19 AM, Stian Thorgersen wrote:
> Not you, I meant what Bill does ;)
lol.  For the record, you did reply to me.  :-)

But now I'm intrigued.  How are you building it, Stian?

>
> On 25 April 2016 at 14:14, Stan Silvert <ssilvert at redhat.com 
> <mailto:ssilvert at redhat.com>> wrote:
>
>     On 4/25/2016 8:03 AM, Stian Thorgersen wrote:
>>     I've just tried a clean build from 1.9.x sources here and it
>>     works fine. What steps do you use to build and run it?
>     I go to <keycloak-home>/distribution and run:
>     mvn install -DskipTests
>
>     Then if I want to run a development server from server-dist, I run
>     a bat file with this:
>     cd c:\GitHub\keycloak\distribution\server-dist
>     call mvn clean
>     sed -i
>     's/copy-module-artifacts="true"/copy-module-artifacts="false"/'
>     /cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml
>     call mvn compile -DskipTests
>     sed -i
>     's/copy-module-artifacts="false"/copy-module-artifacts="true"/'
>     /cygdrive/c/GitHub/keycloak/distribution/server-dist/server-provisioning.xml
>
>     cd
>     c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\standalone\configuration
>     sed -i 's,"dir": "${jboss.home.dir}/themes","dir":
>     "/GitHub/keycloak/themes/src/main/resources/theme",'
>     keycloak-server.json
>
>     cd
>     c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\modules
>     copy
>     c:\GitHub\keycloak\distribution\server-dist\src\main\modules\layers.conf
>
>
>     cd c:\GitHub\keycloak\distribution\server-dist\target\keycloak*\bin
>     add-user -u admin -p admin
>
>
>>
>>     On 25 April 2016 at 13:47, Stan Silvert <ssilvert at redhat.com
>>     <mailto:ssilvert at redhat.com>> wrote:
>>
>>         On 4/24/2016 10:17 PM, Bill Burke wrote:
>>         > I'm losing my mind... The unzip has it...
>>         I felt the same way when I came across that issue.  My
>>         personal build
>>         script copies it over so that I can still run from
>>         server-dist/target.
>>         >
>>         > On 4/24/2016 10:14 PM, Bill Burke wrote:
>>         >> What download are you talking about RH-SSO?
>>         >>
>>         >> On 4/24/2016 9:50 PM, Stan Silvert wrote:
>>         >>> On 4/24/2016 9:49 PM, Bill Burke wrote:
>>         >>>> What final build?
>>         >>> The one that actually makes it to the download.  It's
>>         been like this for
>>         >>> a while so it must be working.  I really don't know the
>>         details.
>>         >>>> On 4/24/2016 9:32 PM, Stan Silvert wrote:
>>         >>>>> On 4/24/2016 6:05 PM, Bill Burke wrote:
>>         >>>>>> Doesn't boot anymore on 1.9.x build (not sure about
>>         master).  Built from
>>         >>>>>> clean clone of keycloak repo.  I'll look at it
>>         tomorrow (Monday) unless
>>         >>>>>> the Europeans can do it.
>>         >>>>> Are you running from /server-dist/target?  You can't do
>>         that any more
>>         >>>>> because it doesn't have a /modules/layers.conf file.
>>         >>>>>
>>         >>>>> I'd be all for having the server-dist include that
>>         file.  Not sure why
>>         >>>>> it is not in server-dist, but it does get copied over
>>         in the final build.
>>         >>>>>> Caused by: org.jboss.modules.ModuleNotFoundException:
>>         >>>>>> org.keycloak.keycloak-server-subsystem:main
>>         >>>>>>                at
>>         >>>>>>
>>         org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:223)
>>         >>>>>> [jboss-modules.jar:1.5.1.Final]
>>         >>>>>>                at
>>         >>>>>>
>>         org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178)
>>         >>>>>> [wildfly-controller-2.0.10.Final.jar:2.0.10.Final]
>>         >>>>>> ... 8 more
>>         >>>>>>
>>         >>>>> _______________________________________________
>>         >>>>> keycloak-dev mailing list
>>         >>>>> keycloak-dev at lists.jboss.org
>>         <mailto:keycloak-dev at lists.jboss.org>
>>         >>>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>         >>> _______________________________________________
>>         >>> keycloak-dev mailing list
>>         >>> keycloak-dev at lists.jboss.org
>>         <mailto:keycloak-dev at lists.jboss.org>
>>         >>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>>         _______________________________________________
>>         keycloak-dev mailing list
>>         keycloak-dev at lists.jboss.org
>>         <mailto:keycloak-dev at lists.jboss.org>
>>         https://lists.jboss.org/mailman/listinfo/keycloak-dev
>>
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160425/a408f25d/attachment.html 


More information about the keycloak-dev mailing list