[
http://issues.ops4j.org/browse/PAXWEB-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673#action_13673
]
Achim Nierbeck edited comment on PAXWEB-221 at 11/25/10 9:55 PM:
-----------------------------------------------------------------
hmm, something strange now that I looked at the error again:
org.eclipse.jetty.util - 7.1.6.v20100715 | /minimal/:
java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.eclipse.jetty.plus.jaas.JAASRole not found by minimal [60]
Following Stacktrace is given:
java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.eclipse.jetty.plus.jaas.JAASRole not found by minimal [60]
at
org.eclipse.jetty.plus.jaas.JAASLoginService.getGroups(JAASLoginService.java:279)[77:org.eclipse.jetty.plus:7.1.6.v20100715]
at
org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:209)[77:org.eclipse.jetty.plus:7.1.6.v20100715]
at
org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:75)[42:org.eclipse.jetty.security:7.1.6.v20100715]
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:416)[42:org.eclipse.jetty.security:7.1.6.v20100715]
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)[41:org.eclipse.jetty.server:7.1.6.v20100715]
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:930)[41:org.eclipse.jetty.server:7.1.6.v20100715]
at
org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[48:org.ops4j.pax.web.pax-web-jetty:0.8.2.SNAPSHOT]
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:358)[43:org.eclipse.jetty.servlet:7.1.6.v20100715]
this is really strange, even though the already loaded class JAASLoginService
is available, the class org.eclipse.jetty.plus.jaas.JAASRole from
the same Package is not available.
The code in question:
{code}
Class load_class =
Thread.currentThread().getContextClassLoader().loadClass(roleClassName);
{code}
was (Author: achim_nierbeck):
hmm, something strange now that I looked at the error again:
org.eclipse.jetty.util - 7.1.6.v20100715 | /minimal/:
java.lang.RuntimeException: java.lang.ClassNotFoundException:
org.eclipse.jetty.plus.jaas.JAASRole not found by minimal [60]
and it looks like the bundle in question is more likely the jetty.util one?
Have to investigate this further more.
> Dynamic adaption of Manifest
> ----------------------------
>
> Key: PAXWEB-221
> URL: http://issues.ops4j.org/browse/PAXWEB-221
> Project: Pax Web
> Issue Type: Improvement
> Affects Versions: 0.8.1
> Environment: Apache Karaf, Jetty7
> Reporter: Achim Nierbeck
> Assignee: Alin Dreghiciu
>
> Currently if a webapp is deployed in a pax-web container with jetty 7 and
> JAAS Security Enabled, the Application is not able to acces the JAASRole.
> The following exception is logged.
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> org.eclipse.jetty.plus.jaas.JAASRole not found
> To fix this I would recomend to adapt the Manifest of the Webapplication
> while deploying to dynamical import classes org.eclipse.jetty.*
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general