karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Karaf 2.2. to 2.3 migration - Important class moved causing problems for end users
Date Thu, 24 Oct 2013 07:02:39 GMT
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

Mime
View raw message