Project

General

Profile

Actions

Bug #195

open

Server IO Exception

Added by Gregg - about 15 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

I'm see the server dump a stack frame when I run a query using curl. I'm trying to query the system graph, on a freshly installed server with no loaded graphs. I don't know if I'm doing this right, but I don't think the server should barf. The curl file is:

--url = "http://localhost:8080/sparql/" 
--include
--header "Accept: application/sparql-results+xml" 
--get
--data-urlencode "query=select ?x ?y ?z where {?x ?y ?z}" 
--data-urlencode "default-graph-uri=http://localhost:8080/#" 

mulgara.log says:

2009-08-29 11:37:56,505 WARN  [btpool0-17 - /sparql/?query=select%20%3Fx%20%3Fy%20%3Fz%20where%20%7B%3Fx%20%3Fy%20%3Fz%7D&default-graph-uri=http%3A%2F%2Flocalhost%3A8080%2F%23] http.HttpContent - Ignoring bad parameters in ' charset=iso-8859-1' from the content type for http://localhost:8080/#
2009-08-29 11:37:56,512 WARN  [btpool0-17 - /sparql/?query=select%20%3Fx%20%3Fy%20%3Fz%20where%20%7B%3Fx%20%3Fy%20%3Fz%7D&default-graph-uri=http%3A%2F%2Flocalhost%3A8080%2F%23] http.HttpContent - Ignoring bad parameters in ' charset=iso-8859-1' from the content type for http://localhost:8080/#
2009-08-29 11:37:56,863 WARN  [Thread-46] rdfxml.Parser - Recoverable error, line 1, column 122: {E213} Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
    at com.hp.hpl.jena.rdf.arp.impl.XMLHandler.generalError(XMLHandler.java:197)
    at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.parse(RDFXMLParser.java:113)
    at com.hp.hpl.jena.rdf.arp.ARP.load(ARP.java:143)
    at org.mulgara.content.rdfxml.Parser.run(Parser.java:297)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
    at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
    at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at com.hp.hpl.jena.rdf.arp.impl.RDFXMLParser.parse(RDFXMLParser.java:106)
    ... 2 more

No data to display

Actions

Also available in: Atom PDF