[
http://issues.ops4j.org/browse/PAXWEB-221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13675#action_13675
]
Achim Nierbeck edited comment on PAXWEB-221 at 11/27/10 11:28 PM:
------------------------------------------------------------------
Now if I add the
{code}
Dynamic-ImportPackage: org.eclipse.jetty.*
{code}
to the bundle (currently by hand) it works fine :(
How do we get arround this?
In a classical war /web-container environment the war usually does get the
classes throught the parent classloader (war-classloader in this case)
And it is a real pitty, only one package from org.eclipse.jetty is imported.
*org.eclipse.jetty.plus.jaas*
What would be the alternative? Handle these packages as bootstrap packages?
One other thing about the LoginModule configure to use by the Karaf Server,
this LoginModule is used for the login process by the JAASLoginService.
was (Author: achim_nierbeck):
Now if I add the
{code}
Dynamic-ImportPackage: org.eclipse.jetty.*
{code}
to the bundle (currently by hand) it works fine :(
How do we get arround this?
In a classical war /web-container environment the war usually does get the
classes throught the parent classloader (war-classloader in this case)
And it is a real pitty, only one package from org.eclipse.jetty is imported.
*org.eclipse.jetty.plus.jaas*
What would be the alternative? Handle these packages as bootstrap packages?
> 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