cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (Created) (JIRA)" <>
Subject [jira] [Created] (CXF-4203) CXF bundle need to imports the jaas related package
Date Mon, 26 Mar 2012 07:22:31 GMT
CXF bundle need to imports the jaas related package

                 Key: CXF-4203
             Project: CXF
          Issue Type: Bug
          Components: OSGi
    Affects Versions: 2.5.2, 2.4.6
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.4.7, 2.5.3

When I try to publish the JAXRS example with basic http authentication from blueprint, I got
the complain that some jaas related packages can not be load by cxf bundle. 
Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.modules.RolePrincipal not
found by org.apache.cxf.bundle [158]
	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(
	at org.apache.felix.framework.BundleWiringImpl.access$400(
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	at org.apache.felix.framework.Felix.loadBundleClass(
	at org.apache.felix.framework.BundleImpl.loadClass(
	at org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(
	at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 39 more

BY adding the packages of "" and "org.apache.karaf.jaas.modules"
into the dynamic import section of cxf bundle can fix the issue.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message