[keycloak-dev] AS7 subsystem problems Re: release? Stan?
Stan Silvert
ssilvert at redhat.com
Tue Dec 2 16:14:35 EST 2014
On 12/2/2014 3:55 PM, Stan Silvert wrote:
> On 12/2/2014 3:36 PM, Marek Posolda wrote:
>> oops, thanks to you for reporting issue to me this time:-)
>>
>> It should be fixed now. Let me know if it helps.
> That fixed it. Wish mine was that easy.
>
> So much for EAP6 being based on AS7. The API I'm using doesn't exist on
> AS7. It does exist on EAP6, WF8, and WF9.
>
> I think our best course right now is to not use the subsystem on AS7.
> You can still deploy the auth-server WAR into the /deployments directory
> if you are dead set on using AS7 that way.
>
> This doesn't affect the AS7 adapter at all. We just need to remove the
> subsystem module from the dist.
Created a PR for this. https://github.com/keycloak/keycloak/pull/880
I have to leave for a few hours. I still need to update the doc to
reflect that the subsystem doesn't work on AS7 (assuming everyone agrees
that is what we should do.)
>
>> Marek
>>
>> On 2.12.2014 21:12, Stan Silvert wrote:
>>> We may have other problems. I just updated to the latest and OSGI
>>> core adapter fails to build. I can continue what I'm doing because
>>> the AS7 adapter built successfully.
>>>
>>> See WARNING below. Possibly a Windows problem?
>>>
>>> [INFO] Building Keycloak OSGI Core Adapter Integration
>>> 1.1.0.Beta2-SNAPSHOT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO]
>>> [INFO] --- buildnumber-maven-plugin:1.3:create-timestamp
>>> (get-build-timestamp) @ keycloak-osgi-core-adapter ---
>>> [INFO]
>>> [INFO] --- buildnumber-maven-plugin:1.3:create (get-scm-revision) @
>>> keycloak-osgi-core-adapter ---
>>> [INFO]
>>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>>> keycloak-osgi-core-adapter ---
>>> [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
>>> resources, i.e. build is platform dependent!
>>> [INFO] skip non existing resourceDirectory
>>> C:\GitHub\keycloak\distribution\osgi\core-adapter\src\main\resources
>>> [INFO]
>>> [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @
>>> keycloak-osgi-core-adapter ---
>>> [INFO] No sources to compile
>>> [INFO]
>>> [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @
>>> keycloak-osgi-core-adapter ---
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> [INFO] Keycloak JBoss Modules ............................. SUCCESS
>>> [ 7.552 s]
>>> [INFO] Keycloak AS7 Adapter Distro ........................ SUCCESS
>>> [ 0.798 s]
>>> [INFO] Keycloak Tomcat 6 Adapter Distro ................... SUCCESS
>>> [ 0.438 s]
>>> [INFO] Keycloak Tomcat 7 Adapter Distro ................... SUCCESS
>>> [ 0.185 s]
>>> [INFO] Keycloak Tomcat 8 Adapter Distro ................... SUCCESS
>>> [ 0.168 s]
>>> [INFO] Keycloak EAP6 Adapter Distro ....................... SUCCESS
>>> [ 0.738 s]
>>> [INFO] Keycloak Wildfly Adapter Distro .................... SUCCESS
>>> [ 0.838 s]
>>> [INFO] Keycloak Jetty 8.1.x Adapter Distro ................ SUCCESS
>>> [ 0.261 s]
>>> [INFO] Keycloak Jetty 9.1.x Adapter Distro ................ SUCCESS
>>> [ 0.257 s]
>>> [INFO] Keycloak Jetty 9.2.x Adapter Distro ................ SUCCESS
>>> [ 0.294 s]
>>> [INFO] Keycloak Examples and Doc Distribution ............. SUCCESS
>>> [ 5.459 s]
>>> [INFO] Keycloak Example Themes ............................ SUCCESS
>>> [ 1.361 s]
>>> [INFO] Keycloak WAR Deployment For Wildfly/AS7/EAP ........ SUCCESS
>>> [ 1.657 s]
>>> [INFO] Keycloak WAR Distribution .......................... SUCCESS
>>> [ 5.911 s]
>>> [INFO] Keycloak OSGI Features ............................. SUCCESS
>>> [ 0.433 s]
>>> [INFO] Keycloak OSGI Core Adapter Integration ............. FAILURE
>>> [ 0.328 s]
>>> [INFO] Keycloak OSGI JAAS ................................. SKIPPED
>>> [INFO] Keycloak OSGI Integration .......................... SKIPPED
>>> [INFO] Proxy Distro ....................................... SKIPPED
>>> [INFO] Keycloak Appliance Distribution .................... SKIPPED
>>> [INFO] Keycloak Source Distribution ....................... SKIPPED
>>> [INFO] Distribution ....................................... SKIPPED
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 27.514 s
>>> [INFO] Finished at: 2014-12-02T15:06:24-05:00
>>> [INFO] Final Memory: 54M/470M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal
>>> org.apache.felix:maven-bundle-plugin:2.3.7:manifest (bundle-manifest)
>>> on project keycloak-osgi-core-adapter: Cannot find C:\GitHub\keycloak
>>> \distribution\osgi\core-adapter\target\classes (manifest goal must be
>>> run after compile phase) -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with
>>> the -e switch.
>>> [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
>>> [ERROR]
>>> [ERROR] After correcting the problems, you can resume the build with
>>> the command
>>> [ERROR] mvn <goals> -rf :keycloak-osgi-core-adapter
>>>
>>> On 12/2/2014 3:01 PM, Marek Posolda wrote:
>>>> Maybe an option is to keep just adapter support on AS7, but drop
>>>> support
>>>> for the auth-server itself on AS7? Of course, if we are able to somehow
>>>> fix everything, it might be best option:-)
>>>>
>>>> Marek
>>>>
>>>> On 2.12.2014 20:49, Bill Burke wrote:
>>>>> We should keep as7 adapter support at least. We support older
>>>>> versions of Jetty and tomcat too, it would be strange not to support
>>>>> AS7. Hopefully stan has a fix.
>>>>>
>>>>> Looking at it, it looks like OperationDefinition is only within
>>>>> auth-server subsystem. That could be the "hack' you're talkin about.
>>>>>
>>>>> Shouldn't the auth-server and adapter should be separate subsystems
>>>>> anyways?
>>>>>
>>>>> On 12/2/2014 2:37 PM, Marek Posolda wrote:
>>>>>> One slightly related issue. I just did some testing and figured that
>>>>>> eap6.3 and as7 distribution were broken as they excluded
>>>>>> keycloak-subsystem . I've fixed that and EAP 6.3 works fine now.
>>>>>> But on
>>>>>> AS 7.1.1 the keycloak-subsystem doesn't work and I have:
>>>>>>
>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>> org.jboss.as.controller.OperationDefinition from [Module
>>>>>> "org.keycloak.keycloak-subsystem:main"
>>>>>>
>>>>>> I am seeing options like:
>>>>>> 1) Drop AS7 support
>>>>>> 2) Revert AS7 specific subsystem
>>>>>> 3) Do some hack in keycloak-subsystem to have it working on AS
>>>>>> 7.1.1 (is
>>>>>> it doable?)
>>>>>>
>>>>>> Anything else I am missing?
>>>>>>
>>>>>> Marek
>>>>>>
>>>>>> On 2.12.2014 14:38, Bill Burke wrote:
>>>>>>> On 12/2/2014 7:55 AM, Stan Silvert wrote:
>>>>>>>> On 12/2/2014 4:52 AM, Stian Thorgersen wrote:
>>>>>>>>> Should we upgrade to WF 8.2 and also do some changes to the distro
>>>>>>>>> before release?
>>>>>>>> I don't see a reason not to go to WF 8.2. If we do that, let me
>>>>>>>> know so
>>>>>>>> I can run a quick smoke test on the subsystem before we release.
>>>>>>>>> With regards to distro we should move the adapters and examples
>>>>>>>>> into
>>>>>>>>> separate downloads. Also, we should move the examples into a
>>>>>>>>> separate github project (keycloak/keycloak-examples). This will
>>>>>>>>> make
>>>>>>>>> it easier for those that wants to fork the examples separately.
>>>>>>>>>
>>>>>>>>> Also, we should consider a download based on the web-lite profile.
>>>>>>>>> For non-JavaEE apps, containers (Docker) and those that want to
>>>>>>>>> run
>>>>>>>>> a standalone KC server it would be nice to have a small as
>>>>>>>>> possible
>>>>>>>>> distro.
>>>>>>>> Depending on how the feature pack turns out, we might be able to
>>>>>>>> offer
>>>>>>>> many flavors of the appliance distro without any additional
>>>>>>>> effort. We
>>>>>>>> could have:
>>>>>>>> EAP6 + Keycloak
>>>>>>>> AS7 + Keycloak
>>>>>>>> WF8 (web) + Keycloak
>>>>>>>> WF8 (full) + Keycloak
>>>>>>>> WF 9 beta (web) + Keycloak
>>>>>>>> WF 9 beta (full) + Keycloak
>>>>>>>> etc.
>>>>>>>>
>>>>>>> IMO, we just need:
>>>>>>> * war-dist
>>>>>>> * appliance-dist
>>>>>>>
>>>>>>> Appliance distribution would have the most stable platform
>>>>>>> available.
>>>>>>> Since we can't distribute EAP, then it would be the most stable and
>>>>>>> maintained version of Wildfly that allows us to cluster and deploy
>>>>>>> Keycloak.
>>>>>>>
>>>>>>>
>>>> _______________________________________________
>>>> keycloak-dev mailing list
>>>> keycloak-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
More information about the keycloak-dev
mailing list