Hi,
I had the same problem and it took me 3 days to figure that out!
The cause of the problem is “windows Firewall” blocks “java”.
Go and active your java both on “private” and “public” access in firewall setting.
Whatever block your java will be problematic.
I am not familiar with OSX but you got my very same error.
So something is preventing your java to show the content of the page and you have blank page.
ERROR 2017-08-28 15:06:52,570 [XNIO-1 task-11] com.complexible.stardog.protocols.http.server.StardogHttpServiceLoader:accept(226): An unexpected exception was handled by the server
com.complexible.stardog.server.UnknownDatabaseException: Database ‘favicon.ico’ does not exist.
at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-5.0.2.jar:?]
at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2627) ~[stardog-5.0.2.jar:?]
at com.complexible.stardog.StardogKernel.getConnection(StardogKernel.java:1075) ~[stardog-5.0.2.jar:?]
at com.complexible.stardog.protocols.http.server.GraphStoreProtocol.openConnection(GraphStoreProtocol.java:93) ~[stardog-protocols-http-server-5.0.2.jar:?]
at com.complexible.stardog.protocols.http.server.GraphStoreProtocol.getGraph(GraphStoreProtocol.java:106) ~[stardog-protocols-http-server-5.0.2.jar:?]
at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$5(ExtractRoutes.java:186) ~[stardog-protocols-http-server-5.0.2.jar:?]
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) ~[shiro-core-1.2.3.jar:1.2.3]
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) ~[shiro-core-1.2.3.jar:1.2.3]
at com.stardog.http.server.undertow.ErrorHandling.lambda$safeDispatch$1(ErrorHandling.java:70) ~[stardog-protocols-http-server-5.0.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
That is when I try to access the Database query page, or browser. I get a blank page each time. I do not have those problem with the previous stardog.
We’ve seen this problem before with the embedded server. Is that how you’re starting up the stardog server? If so, you will need to specify the WEB_ROOT option like so:
Stardog aStardog = Stardog.builder()
.home(new File(<path to your Stardog home>))
.create();
Options aOptions = ServerOptions.defaults()
.set(ServerOptions.WEB_CONSOLE, true)
.set(com.stardog.http.server.ServerOptions.WEB_ROOT,
new File(<path to Stardog installation dir>/webconsole/stardogweb).toPath());
aStardog.newServer().setAll(aOptions).bind(new InetSocketAddress(host, port)).start();
I know that java is enabled in your browsers but it needs access which sometimes is blocked by firewall. Try to give access to java through firewall instead of the browser.