Return-Path: X-Original-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-clerezza-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B81869B5 for ; Wed, 18 May 2011 21:17:39 +0000 (UTC) Received: (qmail 70913 invoked by uid 500); 18 May 2011 21:17:39 -0000 Delivered-To: apmail-incubator-clerezza-dev-archive@incubator.apache.org Received: (qmail 70881 invoked by uid 500); 18 May 2011 21:17:39 -0000 Mailing-List: contact clerezza-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: clerezza-dev@incubator.apache.org Delivered-To: mailing list clerezza-dev@incubator.apache.org Received: (qmail 70873 invoked by uid 99); 18 May 2011 21:17:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 21:17:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2011 21:17:35 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A39E6CF168 for ; Wed, 18 May 2011 21:16:54 +0000 (UTC) Date: Wed, 18 May 2011 21:16:54 +0000 (UTC) From: "Henry Story (JIRA)" To: clerezza-dev@incubator.apache.org Message-ID: <1837667277.23957.1305753414667.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <982895947.16546.1305577367502.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (CLEREZZA-531) HTTP ERROR: 500 on attempt to create a new webid MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=3Dcom.atlass= ian.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 ha= ve also been to fix the naming in the previous WebProxy, which might have b= een 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 TcM= anager setup and that is the ability to get graphs from the local store WIT= HOUT going out on the web. As far as I can see, the TcManager provides no w= ay to specify that. The previous WebProxy did. A use case: =20 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 inform= ation because the response has to be quick. (Say I am just looking for info= rmation 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 interest= ing and architecturally neat, but it is missing features that the old WebCa= che 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=C3=BCr > Assignee: Reto Bachmann-Gm=C3=BCr > 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] (JaxRsHan= dler.java\:585) - RuntimeException (with no exception mapper) > java.lang.UnsupportedOperationException > =09at java.util.AbstractCollection.add(AbstractCollection.java:221) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.performA= dd(AbstractTripleCollection.java:128) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(Abst= ractTripleCollection.java:112) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(Abst= ractTripleCollection.java:46) > =09at java.util.AbstractCollection.addAll(AbstractCollection.java:305) > =09at org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.addAll(Lo= ckableMGraphWrapper.java:188) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon= $3.run(ProfilePanel.scala:150) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon= $3.run(ProfilePanel.scala:147) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel.creat= eNewWebId(ProfilePanel.scala:147) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:39) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:25) > =09at java.lang.reflect.Method.invoke(Method.java:597) > =09at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMeth= od(RootResourceExecutorImpl.java:469) > =09at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootRe= sourceExecutorImpl.java:119) > =09at org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:5= 03) > =09at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredH= andler.handle(PathMappingHandler.java:127) > =09at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(Path= MappingHandler.java:102) > =09at org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.r= un(AuthenticatingFilter.java:88) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > =09at org.apache.clerezza.platform.security.auth.AuthenticatingFilter.han= dle(AuthenticatingFilter.java:84) > =09at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.jav= a:56) > =09at org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xht= ml2HtmlFilter.java:73) > =09at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.jav= a:56) > =09at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServe= rFactory.java:78) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) > =09at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handl= eRequest(ServletRegistration.java:90) > =09at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias= (ProxyServlet.java:109) > =09at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Prox= yServlet.java:75) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) > =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:5= 46) > =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja= va:483) > =09at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHan= dler.java:228) > =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan= dler.java:956) > =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav= a:411) > =09at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHand= ler.java:188) > =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand= ler.java:891) > =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler= .java:117) > =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp= er.java:114) > =09at org.eclipse.jetty.server.Server.handle(Server.java:353) > =09at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnectio= n.java:598) > =09at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComple= te(HttpConnection.java:1059) > =09at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) > =09at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:21= 2) > =09at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:= 427) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannel= EndPoint.java:510) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectCha= nnelEndPoint.java:34) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelE= ndPoint.java:40) > =09at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPo= ol.java:450) > =09at 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 > =09at java.util.AbstractCollection.add(AbstractCollection.java:221) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.performA= dd(AbstractTripleCollection.java:128) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(Abst= ractTripleCollection.java:112) > =09at org.apache.clerezza.rdf.core.impl.AbstractTripleCollection.add(Abst= ractTripleCollection.java:46) > =09at java.util.AbstractCollection.addAll(AbstractCollection.java:305) > =09at org.apache.clerezza.rdf.core.access.LockableMGraphWrapper.addAll(Lo= ckableMGraphWrapper.java:188) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon= $3.run(ProfilePanel.scala:150) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel$$anon= $3.run(ProfilePanel.scala:147) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at org.apache.clerezza.platform.accountcontrolpanel.ProfilePanel.creat= eNewWebId(ProfilePanel.scala:147) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:39) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:25) > =09at java.lang.reflect.Method.invoke(Method.java:597) > =09at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.handleWithMeth= od(RootResourceExecutorImpl.java:469) > =09at org.apache.clerezza.triaxrs.RootResourceExecutorImpl.execute(RootRe= sourceExecutorImpl.java:119) > =09at org.apache.clerezza.triaxrs.JaxRsHandler.handle(JaxRsHandler.java:5= 03) > =09at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler$RegisteredH= andler.handle(PathMappingHandler.java:127) > =09at org.wymiwyg.wrhapi.util.pathmappings.PathMappingHandler.handle(Path= MappingHandler.java:102) > =09at org.apache.clerezza.platform.security.auth.AuthenticatingFilter$1.r= un(AuthenticatingFilter.java:88) > =09at java.security.AccessController.doPrivileged(Native Method) > =09at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) > =09at org.apache.clerezza.platform.security.auth.AuthenticatingFilter.han= dle(AuthenticatingFilter.java:84) > =09at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.jav= a:56) > =09at org.apache.clerezza.platform.xhtml2html.Xhtml2HtmlFilter.handle(Xht= ml2HtmlFilter.java:73) > =09at org.wymiwyg.wrhapi.filter.impl.FilterRunner.handle(FilterRunner.jav= a:56) > =09at org.wymiwyg.wrhapi.osgi.OsgiWebServerFactory$1.service(OsgiWebServe= rFactory.java:78) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) > =09at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handl= eRequest(ServletRegistration.java:90) > =09at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias= (ProxyServlet.java:109) > =09at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(Prox= yServlet.java:75) > =09at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) > =09at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:5= 46) > =09at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.ja= va:483) > =09at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHan= dler.java:228) > =09at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHan= dler.java:956) > =09at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.jav= a:411) > =09at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHand= ler.java:188) > =09at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHand= ler.java:891) > =09at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler= .java:117) > =09at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapp= er.java:114) > =09at org.eclipse.jetty.server.Server.handle(Server.java:353) > =09at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnectio= n.java:598) > =09at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComple= te(HttpConnection.java:1059) > =09at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590) > =09at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:21= 2) > =09at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:= 427) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannel= EndPoint.java:510) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectCha= nnelEndPoint.java:34) > =09at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelE= ndPoint.java:40) > =09at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPo= ol.java:450) > =09at 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