Karaf 4.0.9 and Apache Shiro 1.4.0


Ryan Goulding <ryandgoulding@...>
 

Hi all,

Anyone successfully boot up a Karaf 4.X instance with Shiro 1.4.0?   I am a developer on the ODL project and trying to make the transition from shiro-core 1.3.2 -> 1.4.0 and running into a runtime dependency issue that I can't seem to resolve.  I added all of the new dependencies caused by modularizing shiro-core into separate artifacts in 1.4.0, but still run into this:

opendaylight-user@root>feature:install odl-aaa-shiro
Error executing command: Unable to resolve org.apache.shiro.crypto.cipher/1.4.0: missing requirement [org.apache.shiro.crypto.cipher/1.4.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.shiro)(version>=1.4.0)(!(version>=2.0.0)))"
opendaylight-user@root>

I have the crypto packages as dependencies as shown here [0].  Any suggestions on this is extremely helpful!  Would love to stay current and on the latest release but this is currently blocking our upgrade.


Ryan Goulding <ryandgoulding@...>
 

Hi Team,

As it stands, this will block our upgrade of Shiro for now.  Not quite sure what it will take for us to move on to 1.4.X stream quite yet, spent two attempts and about 10 hours on something that should've been essentially a number change... Seems like something is not being exported from the bundle properly.  Any ideas on this are helpful... we need to maintain the latest version of Shiro so we can get security updates.

Regards,

Ryan Goulding

On Thu, Jun 29, 2017 at 8:45 AM, Ryan Goulding <ryandgoulding@...> wrote:
Hi all,

Anyone successfully boot up a Karaf 4.X instance with Shiro 1.4.0?   I am a developer on the ODL project and trying to make the transition from shiro-core 1.3.2 -> 1.4.0 and running into a runtime dependency issue that I can't seem to resolve.  I added all of the new dependencies caused by modularizing shiro-core into separate artifacts in 1.4.0, but still run into this:

opendaylight-user@root>feature:install odl-aaa-shiro
Error executing command: Unable to resolve org.apache.shiro.crypto.cipher/1.4.0: missing requirement [org.apache.shiro.crypto.cipher/1.4.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.shiro)(version>=1.4.0)(!(version>=2.0.0)))"
opendaylight-user@root>

I have the crypto packages as dependencies as shown here [0].  Any suggestions on this is extremely helpful!  Would love to stay current and on the latest release but this is currently blocking our upgrade.


Mohamed ElSerngawy
 

Did you tried to import the missing wiring bundle into the aaa-shiro-impl POM.xml like [0]


On Thu, Jun 29, 2017 at 10:55 AM, Ryan Goulding <ryandgoulding@...> wrote:
Hi Team,

As it stands, this will block our upgrade of Shiro for now.  Not quite sure what it will take for us to move on to 1.4.X stream quite yet, spent two attempts and about 10 hours on something that should've been essentially a number change... Seems like something is not being exported from the bundle properly.  Any ideas on this are helpful... we need to maintain the latest version of Shiro so we can get security updates.

Regards,

Ryan Goulding

On Thu, Jun 29, 2017 at 8:45 AM, Ryan Goulding <ryandgoulding@...> wrote:
Hi all,

Anyone successfully boot up a Karaf 4.X instance with Shiro 1.4.0?   I am a developer on the ODL project and trying to make the transition from shiro-core 1.3.2 -> 1.4.0 and running into a runtime dependency issue that I can't seem to resolve.  I added all of the new dependencies caused by modularizing shiro-core into separate artifacts in 1.4.0, but still run into this:

opendaylight-user@root>feature:install odl-aaa-shiro
Error executing command: Unable to resolve org.apache.shiro.crypto.cipher/1.4.0: missing requirement [org.apache.shiro.crypto.cipher/1.4.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.shiro)(version>=1.4.0)(!(version>=2.0.0)))"
opendaylight-user@root>

I have the crypto packages as dependencies as shown here [0].  Any suggestions on this is extremely helpful!  Would love to stay current and on the latest release but this is currently blocking our upgrade.


_______________________________________________
aaa-dev mailing list
aaa-dev@...
https://lists.opendaylight.org/mailman/listinfo/aaa-dev