Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1493

unable to start Apache Jena server at localhost:3030.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Hi Team,

       

      I am unable to start Apache Jena server at localhost:3030.

      Error :[2018-02-23 00:43:33] Server ERROR Exception in server initialization
      org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: C:\Program Files\apache-jena-fuseki-3.6.0\run

       

      I have provided my run script on cmd. Please assist me incase any modification required.

       

       

      Regards,

      Mausam

      ---CMD Script-----

      C:\Program Files\apache-jena-fuseki-3.6.0>fuseki-server --update --mem /ds
      [2018-02-23 00:43:32] Server INFO Dataset: in-memory
      [2018-02-23 00:43:32] Server INFO Apache Jena Fuseki 3.6.0
      [2018-02-23 00:43:33] Config INFO FUSEKI_HOME=C:\Program Files\apache-jena-fuseki-3.6.0\.
      [2018-02-23 00:43:33] Config INFO FUSEKI_BASE=C:\Program Files\apache-jena-fuseki-3.6.0\run
      [2018-02-23 00:43:33] Server ERROR Exception in server initialization
      org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: C:\Program Files\apache-jena-fuseki-3.6.0\run
      at org.apache.jena.fuseki.server.FusekiSystem.ensureDir(FusekiSystem.java:367)
      at org.apache.jena.fuseki.server.FusekiSystem.formatBaseArea(FusekiSystem.java:136)
      at org.apache.jena.fuseki.server.ShiroEnvironmentLoader.contextInitialized(ShiroEnvironmentLoader.java:50)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1514)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1476)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
      at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:273)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.server.Server.start(Server.java:449)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
      at org.eclipse.jetty.server.Server.doStart(Server.java:416)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.apache.jena.fuseki.jetty.JettyFuseki.start(JettyFuseki.java:139)
      at org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:367)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:351)
      at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:103)
      at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
      [2018-02-23 00:43:33] WebAppContext WARN Failed startup of context o.e.j.w.WebAppContext@10f5c{/,file:///C:/Program%20Files/apache-jena-fuseki-3.6.0/webapp/,UNAVAILABLE}
      org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: C:\Program Files\apache-jena-fuseki-3.6.0\run
      at org.apache.jena.fuseki.server.FusekiSystem.ensureDir(FusekiSystem.java:367)
      at org.apache.jena.fuseki.server.FusekiSystem.formatBaseArea(FusekiSystem.java:136)
      at org.apache.jena.fuseki.server.ShiroEnvironmentLoader.contextInitialized(ShiroEnvironmentLoader.java:50)
      at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
      at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
      at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1514)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1476)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
      at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
      at org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:273)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
      at org.eclipse.jetty.server.Server.start(Server.java:449)
      at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
      at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
      at org.eclipse.jetty.server.Server.doStart(Server.java:416)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      at org.apache.jena.fuseki.jetty.JettyFuseki.start(JettyFuseki.java:139)
      at org.apache.jena.fuseki.cmd.FusekiCmd.runFuseki(FusekiCmd.java:367)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:351)
      at jena.cmd.CmdMain.mainMethod(CmdMain.java:93)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:58)
      at jena.cmd.CmdMain.mainRun(CmdMain.java:45)
      at org.apache.jena.fuseki.cmd.FusekiCmd$FusekiCmdInner.innerMain(FusekiCmd.java:103)
      at org.apache.jena.fuseki.cmd.FusekiCmd.main(FusekiCmd.java:67)
      [2018-02-23 00:43:33] Server INFO Started 2018/02/23 00:43:33 CET on port 3030

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            mausam Mausam Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment