Как развернуть fuseki.war на Heroku?
Я хочу подключить свой простой, интересный и крутой инструмент для создания графиков https://spoggy.herokuapp.com/ к конечной точке Fuseki, поэтому мне нужно разместить экземпляры Fuseki где-то в Интернете, но без обвинение, я попытался использовать Heroku с fuseki.war следующим образом: https://devcenter.heroku.com/articles/war-deployment:
но журнал говорит, что не может создать / etc / fuseki
2018-05-12T11:18:01.065181+00:00 app[web.1]: SEVERE: Context [] failed in [org.apache.catalina.core.StandardContext] lifecycle. Allowing Tomcat to shutdown.
2018-05-12T11:18:01.076800+00:00 app[web.1]: May 12, 2018 11:18:01 AM org.apache.catalina.core.ApplicationContext log
2018-05-12T11:18:01.076809+00:00 app[web.1]: INFO: Cleaning up Shiro Environment
2018-05-12T11:18:01.114285+00:00 app[web.1]: May 12, 2018 11:18:01 AM org.apache.coyote.AbstractProtocol start
2018-05-12T11:18:01.114289+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-29068"]
2018-05-12T11:18:01.225304+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/" host=sporql.herokuapp.com request_id=8c948ef8-a22c-4ea9-a750-a62f92fa6ce8 fwd="5.51.110.50" dyno=web.1 connect=0ms service=5391ms status=503 bytes=0 protocol=https
2018-05-12T11:18:01.620129+00:00 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/favicon.ico" host=sporql.herokuapp.com request_id=79d44183-25ba-4c06-8739-681a73502d57 fwd="5.51.110.50" dyno=web.1 connect=0ms service=164ms status=503 bytes=0 protocol=https
2018-05-12T11:18:01.716429+00:00 heroku[web.1]: Process exited with status 0
2018-05-12T11:18:01.731259+00:00 heroku[web.1]: State changed from up to crashed
2018-05-12T11:18:01.733103+00:00 heroku[web.1]: State changed from crashed to starting
2018-05-12T11:18:06.134337+00:00 heroku[web.1]: Starting process with command `java $JAVA_OPTS -jar webapp-runner.jar ${WEBAPP_RUNNER_OPTS} --port 59553 ./fuseki.war`
2018-05-12T11:18:07.703398+00:00 app[web.1]: Setting JAVA_TOOL_OPTIONS defaults based on dyno size. Custom settings will override them.
2018-05-12T11:18:07.707490+00:00 app[web.1]: Picked up JAVA_TOOL_OPTIONS: -Xmx300m -Xss512k -Dfile.encoding=UTF-8
2018-05-12T11:18:08.578466+00:00 app[web.1]: Expanding fuseki.war into /app/target/tomcat.59553/webapps/expanded
2018-05-12T11:18:08.578506+00:00 app[web.1]: Adding Context for /app/target/tomcat.59553/webapps/expanded
2018-05-12T11:18:09.080882+00:00 heroku[web.1]: State changed from starting to up
2018-05-12T11:18:08.989194+00:00 app[web.1]: May 12, 2018 11:18:08 AM org.apache.coyote.AbstractProtocol init
2018-05-12T11:18:08.989203+00:00 app[web.1]: INFO: Initializing ProtocolHandler ["http-nio-59553"]
2018-05-12T11:18:09.019432+00:00 app[web.1]: May 12, 2018 11:18:09 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
2018-05-12T11:18:09.019436+00:00 app[web.1]: INFO: Using a shared selector for servlet write/read
2018-05-12T11:18:09.023899+00:00 app[web.1]: May 12, 2018 11:18:09 AM org.apache.catalina.core.StandardService startInternal
2018-05-12T11:18:09.023902+00:00 app[web.1]: INFO: Starting service [Tomcat]
2018-05-12T11:18:09.025114+00:00 app[web.1]: May 12, 2018 11:18:09 AM org.apache.catalina.core.StandardEngine startInternal
2018-05-12T11:18:09.025130+00:00 app[web.1]: INFO: Starting Servlet Engine: Apache Tomcat/8.5.23
2018-05-12T11:18:09.453278+00:00 app[web.1]: May 12, 2018 11:18:09 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
2018-05-12T11:18:09.453295+00:00 app[web.1]: INFO: No global web.xml found
2018-05-12T11:18:12.052914+00:00 app[web.1]: May 12, 2018 11:18:12 AM org.apache.jasper.servlet.TldScanner scanJars
2018-05-12T11:18:12.052929+00:00 app[web.1]: INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2018-05-12T11:18:13.391553+00:00 app[web.1]: [2018-05-12 11:18:13] Config INFO FUSEKI_HOME=unset
2018-05-12T11:18:13.391647+00:00 app[web.1]: [2018-05-12 11:18:13] Config INFO FUSEKI_BASE=/etc/fuseki
2018-05-12T11:18:13.397414+00:00 app[web.1]: [2018-05-12 11:18:13] Server ERROR Exception in server initialization
2018-05-12T11:18:13.397416+00:00 app[web.1]: org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: /etc/fuseki
2018-05-12T11:18:13.397418+00:00 app[web.1]: at org.apache.jena.fuseki.server.FusekiSystem.ensureDir(FusekiSystem.java:373)
2018-05-12T11:18:13.397419+00:00 app[web.1]: at org.apache.jena.fuseki.server.FusekiSystem.formatBaseArea(FusekiSystem.java:137)
2018-05-12T11:18:13.397421+00:00 app[web.1]: at org.apache.jena.fuseki.server.ShiroEnvironmentLoader.contextInitialized(ShiroEnvironmentLoader.java:50)
2018-05-12T11:18:13.397422+00:00 app[web.1]: at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
2018-05-12T11:18:13.397423+00:00 app[web.1]: at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
2018-05-12T11:18:13.397424+00:00 app[web.1]: at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
2018-05-12T11:18:13.397426+00:00 app[web.1]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
2018-05-12T11:18:13.397427+00:00 app[web.1]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
2018-05-12T11:18:13.397428+00:00 app[web.1]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2018-05-12T11:18:13.397430+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-05-12T11:18:13.397431+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-05-12T11:18:13.397433+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:748)
2018-05-12T11:18:13.402595+00:00 app[web.1]: May 12, 2018 11:18:13 AM org.apache.catalina.core.StandardContext listenerStart
2018-05-12T11:18:13.402599+00:00 app[web.1]: SEVERE: Exception sending context initialized event to listener instance of class [org.apache.jena.fuseki.server.ShiroEnvironmentLoader]
2018-05-12T11:18:13.402600+00:00 app[web.1]: org.apache.jena.fuseki.FusekiConfigException: Failed to create directory: /etc/fuseki
2018-05-12T11:18:13.402602+00:00 app[web.1]: at org.apache.jena.fuseki.server.FusekiSystem.ensureDir(FusekiSystem.java:373)
2018-05-12T11:18:13.402603+00:00 app[web.1]: at org.apache.jena.fuseki.server.FusekiSystem.formatBaseArea(FusekiSystem.java:137)
2018-05-12T11:18:13.402604+00:00 app[web.1]: at org.apache.jena.fuseki.server.ShiroEnvironmentLoader.contextInitialized(ShiroEnvironmentLoader.java:50)
2018-05-12T11:18:13.402606+00:00 app[web.1]: at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
2018-05-12T11:18:13.402607+00:00 app[web.1]: at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
2018-05-12T11:18:13.402608+00:00 app[web.1]: at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
2018-05-12T11:18:13.402610+00:00 app[web.1]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
2018-05-12T11:18:13.402611+00:00 app[web.1]: at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
2018-05-12T11:18:13.402613+00:00 app[web.1]: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2018-05-12T11:18:13.402614+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
2018-05-12T11:18:13.402615+00:00 app[web.1]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
2018-05-12T11:18:13.402617+00:00 app[web.1]: at java.lang.Thread.run(Thread.java:748)
2018-05-12T11:18:13.402618+00:00 app[web.1]:
2018-05-12T11:18:13.422359+00:00 app[web.1]: [2018-05-12 11:18:13] Server ERROR Failed to initialize : Server not running
2018-05-12T11:18:13.423114+00:00 app[web.1]: May 12, 2018 11:18:13 AM org.apache.catalina.core.StandardContext startInternal
2018-05-12T11:18:13.423116+00:00 app[web.1]: SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
2018-05-12T11:18:13.430947+00:00 app[web.1]: May 12, 2018 11:18:13 AM org.apache.catalina.core.StandardContext startInternal
2018-05-12T11:18:13.430949+00:00 app[web.1]: SEVERE: Context [] startup failed due to previous errors
2018-05-12T11:18:13.432677+00:00 app[web.1]: SEVERE: Context [] failed in [org.apache.catalina.core.StandardContext] lifecycle. Allowing Tomcat to shutdown.
2018-05-12T11:18:13.440079+00:00 app[web.1]: May 12, 2018 11:18:13 AM org.apache.catalina.core.ApplicationContext log
2018-05-12T11:18:13.440081+00:00 app[web.1]: INFO: Cleaning up Shiro Environment
2018-05-12T11:18:13.461034+00:00 app[web.1]: May 12, 2018 11:18:13 AM org.apache.coyote.AbstractProtocol start
2018-05-12T11:18:13.461036+00:00 app[web.1]: INFO: Starting ProtocolHandler ["http-nio-59553"]
2018-05-12T11:18:13.948064+00:00 heroku[web.1]: Process exited with status 0
2018-05-12T11:18:13.966794+00:00 heroku[web.1]: State changed from up to crashed
Кто-нибудь знает, как просто разместить конечную точку fuseki на Heroku или даже Openshift-online? Возможно, с Maven, но я не знаком с pom.xml, артефактами, зависимостями... https://devcenter.heroku.com/articles/deploying-java-applications-with-the-heroku-maven-plugin и это не решить проблему / etc / fuseki
thxs
Smag0