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

Henry Story reopened CLEREZZA-531:
----------------------------------


a change of URI does not require removing a whole package. The fix could have 
also been to fix the naming in the previous WebProxy, which might have been a 
couple of lines of code. So the agressive tone is in the response is not 
justified it seems to me.

There is one important piece of functionality that is missing from this 
TcManager setup and that is the ability to get graphs from the local store 
WITHOUT going out on the web. As far as I can see, the TcManager provides no 
way to specify that. The previous WebProxy did.

A use case:
 
Imagine one wants to get more information about a list of each of a person's 
friends as specified by them, but one does not want download their information 
because the response has to be quick. (Say I am just looking for information 
about people who are known to link to friends of a certain person) Currently 
requesting  their graphs will force an HTTP GET or even an HTTPS GET which can 
take a lot of time. It does not even seem possible to set per request limits on 
the time an HTTP Connection or a request should last.)

I could think of other use cases probably. The use of TcManager is interesting 
and architecturally neat, but it is missing features that the old WebCache that 
grew out of usage needs lacks.



> HTTP ERROR: 500 on attempt to create a new webid
> ------------------------------------------------
>
>                 Key: CLEREZZA-531
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-531
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: 
> platform.launcher.tdb-0.5-incubating-20110516.170205-73.jar
>            Reporter: Reto Bachmann-Gmür
>            Assignee: Reto Bachmann-Gmür
>            Priority: Blocker
>
> Steps to reproduce the problem:
> 1) start clerezza
> 2) log in as admin
> 3) go to the account control panel
> 4) choose the profile tab
> 5) click on "create new Webid"
> 2011-05-16 22:17:43,226 [qtp20584312-74]  WARN [qtp20584312-74] 
> (JaxRsHandler.java\:585) - RuntimeException (with no exception mapper)
> java.lang.UnsupportedOperationException
>       at java.util.AbstractCollection.add(AbstractCollection.java:221)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.performAdd(AbstractTripleCollection.java:128)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(AbstractTripleCollection.java:112)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(AbstractTripleCollection.java:46)
>       at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
>       at 
> org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.addAll(LockableMGraphWrapper.java:188)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon$3.run(ProfilePanel.scala:150)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon$3.run(ProfilePanel.scala:147)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel.createNewWebId(ProfilePanel.scala:147)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:469)
>       at 
> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:119)
>       at 
> org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:503)
>       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:88)
>       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:84)
>       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:546)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:228)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:956)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:188)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:891)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
>       at org.eclipse.jetty.server.Server.handle(Server.java:353)
>       at 
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:598)
>       at 
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1059)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
>       at 
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:427)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
>       at java.lang.Thread.run(Thread.java:662)
> 2011-05-16 22:17:43,227 [qtp20584312-74]  WARN [qtp20584312-74] 
> (Slf4jLog.java\:50) - /user/admin/profile/create-new-web-id
> java.lang.UnsupportedOperationException
>       at java.util.AbstractCollection.add(AbstractCollection.java:221)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.performAdd(AbstractTripleCollection.java:128)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(AbstractTripleCollection.java:112)
>       at 
> org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(AbstractTripleCollection.java:46)
>       at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
>       at 
> org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.addAll(LockableMGraphWrapper.java:188)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon$3.run(ProfilePanel.scala:150)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon$3.run(ProfilePanel.scala:147)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at 
> org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel.createNewWebId(ProfilePanel.scala:147)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:597)
>       at 
> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMethod(RootResourceExecutorImpl.java:469)
>       at 
> org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootResourceExecutorImpl.java:119)
>       at 
> org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:503)
>       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:88)
>       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:84)
>       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:546)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:483)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:228)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:956)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:411)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:188)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:891)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)
>       at org.eclipse.jetty.server.Server.handle(Server.java:353)
>       at 
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:598)
>       at 
> org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1059)
>       at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)
>       at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)
>       at 
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:427)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:510)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)
>       at 
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:450)
>       at java.lang.Thread.run(Thread.java:662)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to