You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Tsuyoshi Ito (JIRA)" <ji...@apache.org> on 2011/01/03 14:42:46 UTC

[jira] Reopened: (CLEREZZA-205) Logging and profiling capability

     [ https://issues.apache.org/jira/browse/CLEREZZA-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsuyoshi Ito reopened CLEREZZA-205:
-----------------------------------


there seems to be a problem when accessing services as anonymious

org.apache.clerezza.platform.security.auth.AuthenticatingFilter - SecurityException: {}
java.security.AccessControlException: access denied (org.osgi.framework.AdminPermission (id=107) metadata)
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
	at java.security.AccessController.checkPermission(AccessController.java:546)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:306)
	at org.apache.felix.framework.BundleImpl.getHeaders(BundleImpl.java:297)
	at org.ops4j.pax.logging.service.internal.PaxLoggerImpl.setDelegateContext(PaxLoggerImpl.java:100)
	at org.ops4j.pax.logging.service.internal.PaxLoggerImpl.debug(PaxLoggerImpl.java:129)
	at org.ops4j.pax.logging.internal.TrackingLogger.debug(TrackingLogger.java:81)
	at org.ops4j.pax.logging.slf4j.Slf4jLogger.debug(Slf4jLogger.java:334)
	at org.apache.clerezza.triaxrs.JaxRsHandler.handleException(JaxRsHandler.java:587)
	at org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:536)
	at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredHandler.handle(PathMappingHandler.java:127)
	at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(PathMappingHandler.java:102)
	at org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.run(AuthenticatingFilter.java:94)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
	at org.apache.clerezza.platform.security.auth.AuthenticatingFilter.handle(AuthenticatingFilter.java:90)
	at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
	at org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xhtml2HtmlFilter.java:73)
	at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.java:56)
	at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServerFactory.java:78)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:109)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:532)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:965)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:388)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:187)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:901)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
	at org.eclipse.jetty.server.Server.handle(Server.java:348)
	at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)
	at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1048)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:549)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:211)
	at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:425)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:489)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
	at java.lang.Thread.run(Thread.java:619)

> Logging and profiling capability
> --------------------------------
>
>                 Key: CLEREZZA-205
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-205
>             Project: Clerezza
>          Issue Type: New Feature
>            Reporter: Fabian Wabbel
>            Assignee: Reto Bachmann-Gmür
>         Attachments: net.getunik.clerezza.core.logger.zip
>
>
> Hi,
> For our production systems we would like to write log files instead of sending the log to system.out. Any idea what it needs to make this available systemwide? I'm dreaming of a Confluence-style configuration: http://i43.tinypic.com/mhgz5.jpg
> Oli has created a first version, would you mind having a look?
> Thanks
> Fabian

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.