Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build dataset from description (service name: sparql): java.net.ConnectException: Connection timed out #11

Open
lyne1991 opened this issue Jul 11, 2011 · 0 comments

Comments

@lyne1991
Copy link

Hi,
I downloaded xlwrap and started the server, but i got the error whose script is reported below. The server starts but i can't use the SPARQL endpoint nor SNORQL ( i get an internal server error) . I tried modifying etc/pubby-base-config.ttl by putting the following values for the given properties.
conf:webBase http://localhost:8900/;
conf:sparqlEndpoint http://localhost:8900/sparql;
Is there anything else i might need to change for configuration?

09:24:02.351 INFO [at.jku.semwiq.log.LogBufferDispatcher ] Initializing log buffer dispatcher with 1000 cached log events.
09:24:02.786 INFO [at.jku.semwiq.endpoint.JosekiInstance ] Starting new Jose ki instance on port 8900...
09:24:02.800 INFO [at.jku.semwiq.endpoint.JosekiInstance ] Using Pubby base configuration: file:etc/pubby-base-config.ttl
09:24:03.317 INFO [org.joseki.util.ServiceInitSimple ] Init: Example ini tializer
09:24:03.317 INFO [org.joseki.Configuration ] ==== Datasets === =
09:24:03.384 INFO [org.joseki.Configuration ] New dataset: XLWr ap
09:24:03.387 INFO [org.joseki.Configuration ] ==== Services === =
09:24:03.391 INFO [org.joseki.Configuration ] Service reference : "sparql"
09:24:03.391 INFO [org.joseki.Configuration ] Class name: org .joseki.processors.SPARQL
09:24:03.396 INFO [org.joseki.processors.SPARQL ] SPARQL processor
09:24:03.396 INFO [org.joseki.processors.SPARQL ] Locking policy: m ultiple reader, single writer
09:24:03.397 INFO [org.joseki.processors.SPARQL ] Dataset descripti on: false // Web loading: false
09:24:03.422 INFO [org.joseki.Configuration ] Dataset: XLWrap
09:24:03.423 INFO [org.joseki.Configuration ] ==== Bind service s to the server ====
09:24:03.423 INFO [org.joseki.Configuration ] Service:
09:24:03.423 INFO [org.joseki.Configuration ] ==== Initialize d atasets ====
09:24:24.606 WARN [org.joseki.Configuration ] Failed to build dataset from description (service name: sparql): java.net.ConnectException: Connection timed out
com.hp.hpl.jena.shared.JenaException: java.net.ConnectException: Connection timed out
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:91) [jena.jar:na]
at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:178) [jena.jar:na]
at com.hp.hpl.jena.util.FileManager.readModelWorker(FileManager.java:366) [jena.jar:na]
at com.hp.hpl.jena.util.FileManager.loadModelWorker(FileManager.java:299) [jena.jar:na]
at com.hp.hpl.jena.util.FileManager.loadModel(FileManager.java:250) [jena.jar:na]
at com.hp.hpl.jena.assembler.ImportManager.graphFor(ImportManager.java:93) [jena.jar:na]
at com.hp.hpl.jena.assembler.ImportManager.addImportedGraphs(ImportManager.java:76) [jena.jar:na]
at com.hp.hpl.jena.assembler.ImportManager.withImports(ImportManager.java:63) [jena.jar:na]
at com.hp.hpl.jena.assembler.ImportManager.withImports(ImportManager.java:54) [jena.jar:na]
at com.hp.hpl.jena.assembler.ImportManager.withImports(ImportManager.java:45) [jena.jar:na]
at com.hp.hpl.jena.assembler.AssemblerHelp.fullModel(AssemblerHelp.java:59) [jena.jar:na]
at com.hp.hpl.jena.assembler.AssemblerHelp.fullModel(AssemblerHelp.java:49) [jena.jar:na]
at com.hp.hpl.jena.assembler.AssemblerHelp.withFullModel(AssemblerHelp.java:39) [jena.jar:na]
at com.hp.hpl.jena.assembler.assemblers.AssemblerGroup$ExpandingAssemblerGroup.open(AssemblerGroup.java:66) [jena.jar:na]
at com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:37) [jena.jar:na]
at com.hp.hpl.jena.assembler.assemblers.AssemblerBase.open(AssemblerBase.java:34) [jena.jar:na]
at org.joseki.DatasetDesc.newDataset(DatasetDesc.java:163) [joseki.jar:na]
at org.joseki.DatasetDesc.initialize(DatasetDesc.java:154) [joseki.jar:na]
at org.joseki.Configuration.processModel(Configuration.java:126) [joseki.jar:na]
at org.joseki.Configuration.(Configuration.java:83) [joseki.jar:na]
at at.jku.semwiq.endpoint.JosekiInstance.(JosekiInstance.java:161) [semwiq-endpoint.jar:na]
at at.jku.semwiq.endpoint.JosekiInstance.createInstance(JosekiInstance.java:133) [semwiq-endpoint.jar:na]
at semwiq.endpoint.main(endpoint.java:133) [semwiq-endpoint.jar:na]
Caused by: java.net.ConnectException: Connection timed out
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_20]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [na:1.6.0_20]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [na:1.6.0_20]
at java.lang.reflect.Constructor.newInstance(Constructor.java:532) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1458) [na:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1452) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1106) [na:1.6.0_20]
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:84) [jena.jar:na]
... 22 common frames omitted
Caused by: java.net.ConnectException: Connection timed out
at java.net.PlainSocketImpl.socketConnect(Native Method) [na:1.6.0_20]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327) [na:1.6.0_20]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:193) [na:1.6.0_20]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180) [na:1.6.0_20]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384) [na:1.6.0_20]
at java.net.Socket.connect(Socket.java:546) [na:1.6.0_20]
at java.net.Socket.connect(Socket.java:495) [na:1.6.0_20]
at sun.net.NetworkClient.doConnect(NetworkClient.java:178) [na:1.6.0_20]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:409) [na:1.6.0_20]
at sun.net.www.http.HttpClient.openServer(HttpClient.java:530) [na:1.6.0_20]
at sun.net.www.http.HttpClient.(HttpClient.java:240) [na:1.6.0_20]
at sun.net.www.http.HttpClient.New(HttpClient.java:321) [na:1.6.0_20]
at sun.net.www.http.HttpClient.New(HttpClient.java:338) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139) [na:1.6.0_20]
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:2214) [na:1.6.0_20]
at java.net.URLConnection.getContentEncoding(URLConnection.java:513) [na:1.6.0_20]
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:82) [jena.jar:na]
... 22 common frames omitted
09:24:24.613 INFO [org.joseki.Configuration ] ==== End Configuration ====
09:24:24.632 INFO [org.mortbay.log ] Logging to Logger[org.mortbay.log] via org.mortbay.log.Slf4jLog
09:24:24.676 INFO [org.mortbay.log ] jetty-6.1.14
09:24:25.403 INFO [org.mortbay.log ] Started [email protected]:8900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant