{"action":"created","issue":{"url":"https://api.github.com/repos/eXist-db/exist/issues/1985","repository_url":"https://api.github.com/repos/eXist-db/exist","labels_url":"https://api.github.com/repos/eXist-db/exist/issues/1985/labels{/name}","comments_url":"https://api.github.com/repos/eXist-db/exist/issues/1985/comments","events_url":"https://api.github.com/repos/eXist-db/exist/issues/1985/events","html_url":"https://github.com/eXist-db/exist/issues/1985","id":337244194,"node_id":"MDU6SXNzdWUzMzcyNDQxOTQ=","number":1985,"title":"\"Failed to start service\"","user":{"login":"MaryPet91","id":40724691,"node_id":"MDQ6VXNlcjQwNzI0Njkx","avatar_url":"https://avatars0.githubusercontent.com/u/40724691?v=4","gravatar_id":"","url":"https://api.github.com/users/MaryPet91","html_url":"https://github.com/MaryPet91","followers_url":"https://api.github.com/users/MaryPet91/followers","following_url":"https://api.github.com/users/MaryPet91/following{/other_user}","gists_url":"https://api.github.com/users/MaryPet91/gists{/gist_id}","starred_url":"https://api.github.com/users/MaryPet91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaryPet91/subscriptions","organizations_url":"https://api.github.com/users/MaryPet91/orgs","repos_url":"https://api.github.com/users/MaryPet91/repos","events_url":"https://api.github.com/users/MaryPet91/events{/privacy}","received_events_url":"https://api.github.com/users/MaryPet91/received_events","type":"User","site_admin":false},"labels":[{"id":952878104,"node_id":"MDU6TGFiZWw5NTI4NzgxMDQ=","url":"https://api.github.com/repos/eXist-db/exist/labels/windows","name":"windows","color":"134d8c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-30T21:30:24Z","updated_at":"2018-07-11T14:46:13Z","closed_at":null,"author_association":"NONE","body":"Hi, can you help me?\r\n\r\n### What is the problem\r\n> I extract the application .jar (with command java -jar) and then I start the app from command line with the command -jar start.jar. When I try to start the service from application a window appears with the words \"Failed to start service\". I try also to starts to windows service but the program says that the file does not exist.\r\nHere there are the screenshots of the installation procedure with the related problem:\r\nhttps://drive.google.com/open?id=18jB94FQ0F0pHDnhoCexe6udtvTmN2Jza\r\n\r\n### What did you expect\r\n> Start the server and open the dashboard.\r\n\r\n### Context information\r\n- eXist-db version \"eXist-db-setup-4.2.1\" and \"eXist-db-setup-4.1.0\"\r\n- Java version: Java(TM) SE Runtime Environment (build 1.8.0_172-b11)\r\n- Windows 10 pro\r\n- 64 bit\r\n"},"comment":{"url":"https://api.github.com/repos/eXist-db/exist/issues/comments/404196230","html_url":"https://github.com/eXist-db/exist/issues/1985#issuecomment-404196230","issue_url":"https://api.github.com/repos/eXist-db/exist/issues/1985","id":404196230,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDE5NjIzMA==","user":{"login":"dariok","id":1765292,"node_id":"MDQ6VXNlcjE3NjUyOTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1765292?v=4","gravatar_id":"","url":"https://api.github.com/users/dariok","html_url":"https://github.com/dariok","followers_url":"https://api.github.com/users/dariok/followers","following_url":"https://api.github.com/users/dariok/following{/other_user}","gists_url":"https://api.github.com/users/dariok/gists{/gist_id}","starred_url":"https://api.github.com/users/dariok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariok/subscriptions","organizations_url":"https://api.github.com/users/dariok/orgs","repos_url":"https://api.github.com/users/dariok/repos","events_url":"https://api.github.com/users/dariok/events{/privacy}","received_events_url":"https://api.github.com/users/dariok/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T14:46:13Z","updated_at":"2018-07-11T14:46:13Z","author_association":"NONE","body":"I also could not get eXist 4.3.0 to run under Windows 10.\r\nHowever, what I found is that the file path in the Service was wrong, it started with `/Library`. It is possible to change that to the correct path via the command line (assuming eXist is installed in c:\\exist-db):\r\n\r\n    sc config eXist-db binPath= \"java.exe -classpath C:\\eXist-db\\tools\\yajsw\\wrapper.jar -Xrs -Dwrapper.service=true -Dwrapper.working.dir=C:\\eXist-db -Dwrapper.config=C:\\eXist-db\\tools\\yajsw\\conf\\wrapper.conf -Dwrapper.additional.1x=-Xrs -Djna_tmpdir=c:\\eXist-db\\tools\\yajsw\\tmp org.rzo.yajsw.boot.WrapperServiceBooter\"\r\n\r\nThe space after `binPath=` is important. This should get the Service to work.\r\n\r\n---\r\n\r\nIf eXist does not start and also `java -jar start.jar` does not work, this might be a problem with Java – make sure you have a current Java version and that it is 64 bit."}}
{"actor":{"display_login":"dariok"}}