You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/05/08 17:53:01 UTC
[jira] [Closed] (JENA-935) fuseki cannot load assembler
configuration files on Windows
[ https://issues.apache.org/jira/browse/JENA-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne closed JENA-935.
------------------------------
Resolution: Duplicate
Fix Version/s: Fuseki 2.3.0
Assignee: Andy Seaborne
This is one effect of JENA-915.
> fuseki cannot load assembler configuration files on Windows
> -----------------------------------------------------------
>
> Key: JENA-935
> URL: https://issues.apache.org/jira/browse/JENA-935
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: Fuseki 2.0.0
> Environment: Windows 7, Oracle Java 7
> Reporter: Giovanni Mels
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: Fuseki 2.3.0
>
>
> * download and install fuseki 2.0.0 on a Windows system
> * create C:\etc\fuseki\configuration and add a assembler file 'test.ttl'
> * start fuseki (fuseki-server)
> This gives this exeception:
> {noformat}
> 09:07:54 StreamManager DEBUG open(test.ttl)
> 09:07:54 StreamManager DEBUG Not mapped: test.ttl
> 09:07:54 RDFDataMgr DEBUG Not Found: test.ttl
> 09:07:54 Server ERROR Exception in initialization
> org.apache.jena.riot.RiotNotFoundException: Not found: test.ttl
> at org.apache.jena.riot.RDFDataMgr.open(RDFDataMgr.java:831)
> at org.apache.jena.riot.RDFDataMgr.open(RDFDataMgr.java:813)
> at org.apache.jena.riot.RDFDataMgr.parse(RDFDataMgr.java:684)
> at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:208)
> at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:101)
> at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:92)
> at org.apache.jena.riot.RDFDataMgr.loadModel(RDFDataMgr.java:328)
> at org.apache.jena.fuseki.build.FusekiConfig.readConfigurationDirectory(FusekiConfig.java:197)
> at org.apache.jena.fuseki.server.FusekiServer.initializeDataAccessPoints(FusekiServer.java:233)
> at org.apache.jena.fuseki.server.FusekiServletContextListener.init(FusekiServletContextListener.java:78)
> at org.apache.jena.fuseki.server.FusekiServletContextListener.contextInitialized(FusekiServletContextListener.java:49)
> at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:799)
> at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:446)
> at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
> at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:296)
> at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1347)
> at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:743)
> at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:117)
> at org.eclipse.jetty.server.Server.start(Server.java:355)
> at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:99)
> at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:60)
> at org.eclipse.jetty.server.Server.doStart(Server.java:324)
> at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69)
> at org.apache.jena.fuseki.jetty.SPARQLServer.start(SPARQLServer.java:131)
> at org.apache.jena.fuseki.FusekiCmd$FusekiCmdInner.exec(FusekiCmd.java:321)
> at arq.cmdline.CmdMain.mainMethod(CmdMain.java:102)
> at arq.cmdline.CmdMain.mainRun(CmdMain.java:63)
> at arq.cmdline.CmdMain.mainRun(CmdMain.java:50)
> at org.apache.jena.fuseki.FusekiCmd$FusekiCmdInner.main(FusekiCmd.java:90)
> at org.apache.jena.fuseki.FusekiCmd.main(FusekiCmd.java:55)
> 09:07:54 WebAppContext WARN Failed startup of context o.e.j.w.WebAppContext@3a52dba3{/,file:/C:/Java/jena-fuseki2-2.0.0.M1-SNAPSHOT/webapp/,STARTING}
> {noformat}
> Workaround:
> Starting fuseki with --config C:\etc\fuseki\configuration\test.ttl works:
> {noformat}
> 09:35:45 Config INFO Configuration file: C:\etc\fuseki\configuration\test.ttl
> 09:35:45 StreamManager DEBUG open(C:\etc\fuseki\configuration\test.ttl)
> 09:35:45 StreamManager DEBUG Not mapped: C:\etc\fuseki\configuration\test.ttl
> 09:35:45 StreamManager DEBUG Found: C:\etc\fuseki\configuration\test.ttl (LocatorFile)
> 09:35:45 RDFDataMgr DEBUG Found: C:\etc\fuseki\configuration\test.ttl
> 09:35:45 info DEBUG File mode: Mapped
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)