You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org> on 2011/05/16 22:22:47 UTC

[jira] [Created] (CLEREZZA-531) HTTP ERROR: 500 on attempt to create a new webid

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
            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

[jira] [Issue Comment Edited] (CLEREZZA-531) Creating a WebProxy based on TC-Manager - HTTP ERROR: 500 on attempt to create a new webid

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036181#comment-13036181 ] 

Henry Story edited comment on CLEREZZA-531 at 5/19/11 1:33 PM:
---------------------------------------------------------------

This issue is really about replacing the original WebProxy code, with a new WebProxy based on TcManager.
It follows on a rather long debate on the mailing list on "how to name things with IRIs"
   
   http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201105.mbox/browser 

keeping the original name of the issue to the "HTTP ERROR 500 on attempt to create a new webid", does not explain the major refactoring done in the bug, as that could have done just by a name adaption in the original WebProxy code. 

(this is not to say I am against the refactoring. IT's just that it makes it difficult to find the bug report and refer to it, as its name is a bit obscure)

      was (Author: bblfish):
    This issue is really about replacing the original WebProxy code, with a new WebProxy based on TcManager.
It follows on a rather long debate on the mailing list on "how to name things with IRIs"
   
   http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201105.mbox/browser 

keeping the original name of the issue to the 500 code, does not explain the major refactoring done in the bug, as that
could have done just by a name adaption in the original WebProxy code.
  
> Creating a WebProxy based on TC-Manager - 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

[jira] [Closed] (CLEREZZA-531) Creating a WebProxy based on TC-Manager (was: HTTP ERROR: 500 on attempt to create a new webid)

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Story closed CLEREZZA-531.
--------------------------------

    Resolution: Fixed

With renaming things are clerear, and the issue is fixed. Though with aftereffects.

> Creating a WebProxy based on TC-Manager  (was: 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

[jira] [Updated] (CLEREZZA-531) Creating a WebProxy based on TC-Manager (was: HTTP ERROR: 500 on attempt to create a new webid)

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Story updated CLEREZZA-531:
---------------------------------

    Summary: Creating a WebProxy based on TC-Manager  (was: HTTP ERROR: 500 on attempt to create a new webid)  (was: Creating a WebProxy based on TC-Manager - HTTP ERROR: 500 on attempt to create a new webid)

> Creating a WebProxy based on TC-Manager  (was: 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

[jira] [Assigned] (CLEREZZA-531) HTTP ERROR: 500 on attempt to create a new webid

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür reassigned CLEREZZA-531:
-------------------------------------------

    Assignee: Reto Bachmann-Gmür

> 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

[jira] [Commented] (CLEREZZA-531) Creating a WebProxy based on TC-Manager (was: HTTP ERROR: 500 on attempt to create a new webid)

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036273#comment-13036273 ] 

Henry Story commented on CLEREZZA-531:
--------------------------------------

Note, the above "how to name things with IRIs" thread starts precisely here

http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201105.mbox/%3CBANLkTikZc7zGfUZZ6=X81F3njnPvbKej2A@mail.gmail.com%3E

> Creating a WebProxy based on TC-Manager  (was: 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

[jira] [Closed] (CLEREZZA-531) HTTP ERROR: 500 on attempt to create a new webid

Posted by "Reto Bachmann-Gmür (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reto Bachmann-Gmür closed CLEREZZA-531.
---------------------------------------

    Resolution: Fixed

The problem was caused by conflicts arising from code squatting global uris for usage in TcManager. 
- Removed the rdf.web.proxy bundle obsoleted by rdf.storage.web. 
- Adapted WebIdGraphsService extracting the public method to an interface trait, added missing documentation
- In several places I had to adapt code of issues that are still open or are awaiting review. This was made to keep things compiling and running (as far as the tests go at least), I kept this changes minimal trying to reproduce the previous behaviour, the commit to these classes doesn't indicate endorsement of these proposed classes

> 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

[jira] [Reopened] (CLEREZZA-531) HTTP ERROR: 500 on attempt to create a new webid

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Updated] (CLEREZZA-531) Creating a WebProxy based on TC-Manager - HTTP ERROR: 500 on attempt to create a new webid

Posted by "Henry Story (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CLEREZZA-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Story updated CLEREZZA-531:
---------------------------------

    Summary: Creating a WebProxy based on TC-Manager - HTTP ERROR: 500 on attempt to create a new webid  (was: HTTP ERROR: 500 on attempt to create a new webid)

This issue is really about replacing the original WebProxy code, with a new WebProxy based on TcManager.
It follows on a rather long debate on the mailing list on "how to name things with IRIs"
   
   http://mail-archives.apache.org/mod_mbox/incubator-clerezza-dev/201105.mbox/browser 

keeping the original name of the issue to the 500 code, does not explain the major refactoring done in the bug, as that
could have done just by a name adaption in the original WebProxy code.

> Creating a WebProxy based on TC-Manager - 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