openRDF.org Welcome Guest   | Login   
  Search  
  Index  | Recent Threads  | Who's Online  | User List  | Search  | Help  | RSS feeds

Forum has been closed down
This forum has been closed down due to extensive spamming activities. Please use the mailing list instead.


Quick Go »
Thread Status: Normal
Total posts in this thread: 2
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 1291 times and has 1 reply Next Thread
Feb 8, 2008 11:03:34 AM

hhofbaue
Visitor



Joined: Feb 8, 2008
Posts: 1
Status: Offline

SPARQL Query gives HTTP 415 error.

I upgraded from sesame-2.0-beta6 to sesame-2.0 and all of a sudden all my SPARQL queries throw this at me:
------------------------------
HTTP Status 415 -

type Status report

message

description The server refused this request because the request entity is in a format not supported by the requested resource for the requested method ().

Apache Tomcat/5.5

------------------------------

Stacktrace + query below:

------------------------------
Caused by: org.openrdf.repository.RepositoryException: <html><head><title>Apache Tomcat/5.5 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 415 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server refused this request because the request entity is in a format not supported by the requested resource for the requested method ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5</h3></body></html>
at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:984)
at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:406)
at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:389)
at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:45)
... 5 more

SesameRepo::doSearchConcepts: Resultset was null.


Query was:

PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?subject ?predicate ?object WHERE
{ ?subject ?predicate ?object.
?subject skos:prefLabel "Fires" }
------------------------------

Any suggestions as to what I'm doing wrong or how I can amend the problem?
Show Printable Version of Post     [Link] Report threatening or abusive post: please login first  Go to top 
Feb 8, 2008 1:27:01 PM

arjohn
OpenRDF project lead
Member's Avatar

The Netherlands
Joined: Jan 23, 2004
Posts: 1289
Status: Offline
Re: SPARQL Query gives HTTP 415 error.

Most likely explanation is that you updated the client to version 2.0, but not the server. Related issue is SES-493.
----------------------------------------
Arjohn Kampman, OpenRDF project lead, Aduna
Show Printable Version of Post        Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
[Show Printable Version of Thread]