Hi Andy, thank you for the quick response. I am running Windows and the latest Fuseki and Jena available for download 5.1.0 version. Thank you! Regards, Neli.
Neli P. Zlatareva, PhD Professor of Computer Science Department of Computer Science Central Connecticut State University New Britain, CT 06050 Phone: (860) 832-2723 Fax: (860) 832-2712 Web site: cs.ccsu.edu/~neli/ ________________________________ From: Andy Seaborne <a...@apache.org> Sent: Monday, September 23, 2024 5:44 AM To: users@jena.apache.org <users@jena.apache.org> Subject: Re: Starting Fuseki server from Jena EXTERNAL EMAIL: This email originated from outside of the organization. Do not click any links or open any attachments unless you trust the sender and know the content is safe. If you find there is a Fuseki alkready on 3030, it may be because Fuseki has background threads so just returning from application "main" does not exit the JVM. Either Systrem.exit(0) or server.start(); try { .... } finally { server.stop(); } For general information - which OS are you running on? - which version of Fuseki is this? Andy On 23/09/2024 10:00, Simon Bin wrote: > Have you already tried accessing the server in your web browser on port > 3030 to see if it responds? > > On Sun, 2024-09-22 at 15:47 +0000, Zlatareva, Neli (Computer Science) > wrote: >> Hi there, I try to start Fuseki with the following instructions >> >> FusekiServer server = FusekiServer.create() >> .port(3030) >> .add("/ds", dataset) >> .build(); >> System.out.println("Fuseki is starting on port: " + >> server.getHttpPort()); >> server.start(); >> >> The server starts on port 3030 but hangs on. The dataset is fine, and >> the port is available. The debug logs include >> >> 11:44:11.343 [main] DEBUG org.eclipse.jetty.server.AbstractConnector >> - Could not configure SO_REUSEPORT to false on >> sun.nio.ch.ServerSocketChannelImpl[unbound] >> java.lang.UnsupportedOperationException: 'SO_REUSEPORT' not supported >> at >> java.base/sun.nio.ch.ServerSocketChannelImpl.setOption(ServerSocketCh >> annelImpl.java:219) >> at >> org.eclipse.jetty.server.ServerConnector.setSocketOption(ServerConnec >> tor.java:355) >> at >> org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConn >> ector.java:336) >> at >> org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:30 >> 4) >> at org.eclipse.jetty.server.Server.lambda$doStart$0(Server.java:402) >> at >> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachO >> ps.java:184) >> at >> java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipe >> line.java:212) >> at >> java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipe >> line.java:194) >> at >> java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Sp >> literators.java:1024) >> at >> java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline >> .java:556) >> at >> java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractP >> ipeline.java:546) >> at >> java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Fo >> rEachOps.java:151) >> at >> java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequent >> ial(ForEachOps.java:174) >> at >> java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline >> .java:265) >> at >> java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipelin >> e.java:611) >> at org.eclipse.jetty.server.Server.doStart(Server.java:398) >> at >> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife >> Cycle.java:93) >> at >> org.apache.jena.fuseki.main.FusekiServer.start(FusekiServer.java:298) >> at FusekiWithReasoner.main(FusekiWithReasoner.java:74) >> >> Any suggestions what might be wrong? The help will be greatly >> appreciated. >> Thank you so much! >> Regards, Neli. >> >> >> Neli P. Zlatareva, PhD >> Professor of Computer Science >> Department of Computer Science >> Central Connecticut State University >> New Britain, CT 06050 >> Phone: (860) 832-2723 >> Fax: (860) 832-2712 >> Web site: cs.ccsu.edu/~neli/ >