Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 684CFE1D5 for ; Thu, 21 Feb 2013 18:52:13 +0000 (UTC) Received: (qmail 76118 invoked by uid 500); 21 Feb 2013 18:52:13 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 76102 invoked by uid 500); 21 Feb 2013 18:52:13 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 76093 invoked by uid 99); 21 Feb 2013 18:52:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2013 18:52:13 +0000 Date: Thu, 21 Feb 2013 18:52:13 +0000 (UTC) From: =?utf-8?Q?=C5=81ukasz_Dywicki_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (KARAF-1750) ClassNotFoundException for JAASLoginInterceptor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1750?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C5=81ukasz Dywicki closed KARAF-1750. --------------------------------- Resolution: Won't Fix Issue fixed by adding proper import package headers. =20 > ClassNotFoundException for JAASLoginInterceptor > ----------------------------------------------- > > Key: KARAF-1750 > URL: https://issues.apache.org/jira/browse/KARAF-1750 > Project: Karaf > Issue Type: Bug > Components: karaf-core > Affects Versions: 2.2.9 > Environment: CXF 2.6.2 > Reporter: Alexey Markevich > Attachments: wsdl_first.zip > > > During call attached service there is following error occurred: > > > > Error 500 java.lang.ClassNotFoundException: org.apache.karaf= .jaas.modules.RolePrincipal not found from bundle [wsdl_first] > > >

HTTP ERROR 500

>

> Problem accessing /services/CustomerServicePort. Reason: >

java.lang.ClassNotFoundException: org.apache.karaf.jaas.mod=
ules.RolePrincipal not found from bundle [wsdl_first]
>

>

Caused by:

>
java.lang.RuntimeException: java.lang.ClassNotFoundException: =
org.apache.karaf.jaas.modules.RolePrincipal not found from bundle [wsdl_fir=
st]
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginSer=
vice.java:306)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService=
.java:223)
> =09at org.eclipse.jetty.security.authentication.BasicAuthenticator.valida=
teRequest(BasicAuthenticator.java:83)
> =09at org.eclipse.jetty.security.authentication.DeferredAuthentication.au=
thenticate(DeferredAuthentication.java:103)
> =09at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226=
)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination$2.<init>(A=
bstractHTTPDestination.java:307)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(=
AbstractHTTPDestination.java:306)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abstra=
ctHTTPDestination.java:194)
> =09at org.apache.cxf.transport.servlet.ServletController.invokeDestinatio=
n(ServletController.java:213)
> =09at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCo=
ntroller.java:193)
> =09at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonS=
pringServlet.java:130)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(=
AbstractHTTPServlet.java:221)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(Abstrac=
tHTTPServlet.java:141)
> =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstra=
ctHTTPServlet.java:197)
> =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:5=
47)
> =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja=
va:480)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.=
doHandle(HttpServiceServletHandler.java:70)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:119)
> =09at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.j=
ava:483)
> =09at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHan=
dler.java:227)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan=
dler.java:941)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandl=
e(HttpServiceContext.java:117)
> =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav=
a:409)
> =09at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHand=
ler.java:186)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand=
ler.java:875)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:117)
> =09at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCo=
llection.java:149)
> =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp=
er.java:110)
> =09at org.eclipse.jetty.server.Server.handle(Server.java:349)
> =09at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnectio=
n.java:441)
> =09at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(Http=
Connection.java:936)
> =09at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
> =09at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:22=
4)
> =09at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttp=
Connection.java:50)
> =09at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChann=
elEndPoint.run(BlockingChannelConnector.java:293)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadP=
ool.java:598)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPo=
ol.java:533)
> =09at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.module=
s.RolePrincipal not found from bundle [wsdl_first]
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass=
(BundleDelegatingClassLoader.java:103)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass=
(BundleDelegatingClassLoader.java:156)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginSer=
vice.java:294)
> =09... 38 more
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.module=
s.RolePrincipal not found by wsdl_first [260]
> =09at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegati=
on(ModuleImpl.java:812)
> =09at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72=
)
> =09at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(M=
oduleImpl.java:1807)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleIm=
pl.java:670)
> =09at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654)
> =09at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909=
)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass=
(BundleDelegatingClassLoader.java:99)
> =09... 41 more
>

Caused by:

>
java.lang.ClassNotFoundException: org.apache.karaf.jaas.module=
s.RolePrincipal not found from bundle [wsdl_first]
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass=
(BundleDelegatingClassLoader.java:103)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass=
(BundleDelegatingClassLoader.java:156)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginSer=
vice.java:294)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService=
.java:223)
> =09at org.eclipse.jetty.security.authentication.BasicAuthenticator.valida=
teRequest(BasicAuthenticator.java:83)
> =09at org.eclipse.jetty.security.authentication.DeferredAuthentication.au=
thenticate(DeferredAuthentication.java:103)
> =09at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226=
)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination$2.<init>(A=
bstractHTTPDestination.java:307)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(=
AbstractHTTPDestination.java:306)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abstra=
ctHTTPDestination.java:194)
> =09at org.apache.cxf.transport.servlet.ServletController.invokeDestinatio=
n(ServletController.java:213)
> =09at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCo=
ntroller.java:193)
> =09at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonS=
pringServlet.java:130)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(=
AbstractHTTPServlet.java:221)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(Abstrac=
tHTTPServlet.java:141)
> =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstra=
ctHTTPServlet.java:197)
> =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:5=
47)
> =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja=
va:480)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.=
doHandle(HttpServiceServletHandler.java:70)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:119)
> =09at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.j=
ava:483)
> =09at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHan=
dler.java:227)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan=
dler.java:941)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandl=
e(HttpServiceContext.java:117)
> =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav=
a:409)
> =09at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHand=
ler.java:186)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand=
ler.java:875)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:117)
> =09at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCo=
llection.java:149)
> =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp=
er.java:110)
> =09at org.eclipse.jetty.server.Server.handle(Server.java:349)
> =09at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnectio=
n.java:441)
> =09at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(Http=
Connection.java:936)
> =09at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
> =09at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:22=
4)
> =09at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttp=
Connection.java:50)
> =09at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChann=
elEndPoint.run(BlockingChannelConnector.java:293)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadP=
ool.java:598)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPo=
ol.java:533)
> =09at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException: org.apache.karaf.jaas.module=
s.RolePrincipal not found by wsdl_first [260]
> =09at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegati=
on(ModuleImpl.java:812)
> =09at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72=
)
> =09at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(M=
oduleImpl.java:1807)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleIm=
pl.java:670)
> =09at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654)
> =09at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909=
)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass=
(BundleDelegatingClassLoader.java:99)
> =09... 41 more
>

Caused by:

>
java.lang.ClassNotFoundException: org.apache.karaf.jaas.module=
s.RolePrincipal not found by wsdl_first [260]
> =09at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegati=
on(ModuleImpl.java:812)
> =09at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72=
)
> =09at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(M=
oduleImpl.java:1807)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleIm=
pl.java:670)
> =09at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1654)
> =09at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:909=
)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass=
(BundleDelegatingClassLoader.java:99)
> =09at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass=
(BundleDelegatingClassLoader.java:156)
> =09at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginSer=
vice.java:294)
> =09at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService=
.java:223)
> =09at org.eclipse.jetty.security.authentication.BasicAuthenticator.valida=
teRequest(BasicAuthenticator.java:83)
> =09at org.eclipse.jetty.security.authentication.DeferredAuthentication.au=
thenticate(DeferredAuthentication.java:103)
> =09at org.eclipse.jetty.server.Request.getUserPrincipal(Request.java:1226=
)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination$2.<init>(A=
bstractHTTPDestination.java:307)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.setupMessage(=
AbstractHTTPDestination.java:306)
> =09at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(Abstra=
ctHTTPDestination.java:194)
> =09at org.apache.cxf.transport.servlet.ServletController.invokeDestinatio=
n(ServletController.java:213)
> =09at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCo=
ntroller.java:193)
> =09at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonS=
pringServlet.java:130)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(=
AbstractHTTPServlet.java:221)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(Abstrac=
tHTTPServlet.java:141)
> =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
> =09at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstra=
ctHTTPServlet.java:197)
> =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:5=
47)
> =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja=
va:480)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.=
doHandle(HttpServiceServletHandler.java:70)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:119)
> =09at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.j=
ava:483)
> =09at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHan=
dler.java:227)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan=
dler.java:941)
> =09at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandl=
e(HttpServiceContext.java:117)
> =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav=
a:409)
> =09at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHand=
ler.java:186)
> =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand=
ler.java:875)
> =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler=
.java:117)
> =09at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCo=
llection.java:149)
> =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp=
er.java:110)
> =09at org.eclipse.jetty.server.Server.handle(Server.java:349)
> =09at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnectio=
n.java:441)
> =09at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(Http=
Connection.java:936)
> =09at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
> =09at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:22=
4)
> =09at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttp=
Connection.java:50)
> =09at org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChann=
elEndPoint.run(BlockingChannelConnector.java:293)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadP=
ool.java:598)
> =09at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPo=
ol.java:533)
> =09at java.lang.Thread.run(Thread.java:662)
>
> > Powered by Jetty:// > >
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira