You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Claus Ibsen <cl...@gmail.com> on 2013/10/24 09:02:39 UTC

Karaf 2.2. to 2.3 migration - Important class moved causing problems for end users

Hi

I was looking for the migration guide / documentation page on the
Karaf web site - but coudn't find it.

I thought I have seen such a guide, although it was empty.

But there is ONE really annoying change between 2.2 and 2.3 that is
causing end user pain.

This class has been moved (there is no old class as @deprecated)

from
org.apache.karaf.jaas.modules.RolePrincipal

to
org.apache.karaf.jaas.boot.principal.RolePrincipal

Which causes NoClassDefFoundErrors for end users.


It would have been good if this was clearly documented. And maybe in
hindsight have the old class as @deprecated, and only to be removed in
Karaf 3.0 etc. Maybe even consider adding it back into the next Karaf
2.3 release so people dont have migration trouble.






-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Re: Karaf 2.2. to 2.3 migration - Important class moved causing problems for end users

Posted by Christian Schneider <ch...@die-schneider.net>.
Sounds like a good proposal. Can you create a jira issue for it?

Christian

Am 24.10.2013 09:02, schrieb Claus Ibsen:
> Hi
>
> I was looking for the migration guide / documentation page on the
> Karaf web site - but coudn't find it.
>
> I thought I have seen such a guide, although it was empty.
>
> But there is ONE really annoying change between 2.2 and 2.3 that is
> causing end user pain.
>
> This class has been moved (there is no old class as @deprecated)
>
> from
> org.apache.karaf.jaas.modules.RolePrincipal
>
> to
> org.apache.karaf.jaas.boot.principal.RolePrincipal
>
> Which causes NoClassDefFoundErrors for end users.
>
>
> It would have been good if this was clearly documented. And maybe in
> hindsight have the old class as @deprecated, and only to be removed in
> Karaf 3.0 etc. Maybe even consider adding it back into the next Karaf
> 2.3 release so people dont have migration trouble.
>
>
>
>
>
>


-- 
  
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com