{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/6502","repository_url":"https://api.github.com/repos/neo4j/neo4j","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/events","html_url":"https://github.com/neo4j/neo4j/issues/6502","id":135832323,"number":6502,"title":"Cannot start Neo4j Server via Powershell","user":{"login":"brunotomas","id":17015628,"avatar_url":"https://avatars.githubusercontent.com/u/17015628?v=3","gravatar_id":"","url":"https://api.github.com/users/brunotomas","html_url":"https://github.com/brunotomas","followers_url":"https://api.github.com/users/brunotomas/followers","following_url":"https://api.github.com/users/brunotomas/following{/other_user}","gists_url":"https://api.github.com/users/brunotomas/gists{/gist_id}","starred_url":"https://api.github.com/users/brunotomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunotomas/subscriptions","organizations_url":"https://api.github.com/users/brunotomas/orgs","repos_url":"https://api.github.com/users/brunotomas/repos","events_url":"https://api.github.com/users/brunotomas/events{/privacy}","received_events_url":"https://api.github.com/users/brunotomas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neo4j/neo4j/labels/2.3","name":"2.3","color":"5319e7"},{"url":"https://api.github.com/repos/neo4j/neo4j/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/neo4j/neo4j/labels/operability","name":"operability","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-23T19:09:44Z","updated_at":"2016-02-29T14:21:25Z","closed_at":null,"body":"I'm having problems to start Neo4j server through PowerShell.\r\n```\r\nPS C:\\Users\\brunotomas> 'E:\\neo4j' | Start-Neo4jServer -Console -Wait\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: Can't obtain class com.sun.jna.CallbackReference.AttachOptions\r\n        at com.sun.jna.Native.initIDs(Native Method)\r\n        at com.sun.jna.Native.<clinit>(Native.java:115)\r\n        at com.sun.jna.Structure.<clinit>(Structure.java:132)\r\n        at org.rzo.yajsw.WindowsXPProcess.start(WindowsXPProcess.java:1474)\r\n        at org.neo4j.wrapper.ServerProcessConsole.doStart(ServerProcessConsole.java:45)\r\n        at org.neo4j.wrapper.ServerProcess.<init>(ServerProcess.java:115)\r\n        at org.neo4j.wrapper.ServerProcessConsole.<init>(ServerProcessConsole.java:31)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.launchAsConsoleApp(NeoServiceWrapper.java:48)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.main(NeoServiceWrapper.java:35)\r\n1\r\n```\r\nAny ideas of what is going on?"},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/190228635","html_url":"https://github.com/neo4j/neo4j/issues/6502#issuecomment-190228635","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502","id":190228635,"user":{"login":"brunotomas","id":17015628,"avatar_url":"https://avatars.githubusercontent.com/u/17015628?v=3","gravatar_id":"","url":"https://api.github.com/users/brunotomas","html_url":"https://github.com/brunotomas","followers_url":"https://api.github.com/users/brunotomas/followers","following_url":"https://api.github.com/users/brunotomas/following{/other_user}","gists_url":"https://api.github.com/users/brunotomas/gists{/gist_id}","starred_url":"https://api.github.com/users/brunotomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunotomas/subscriptions","organizations_url":"https://api.github.com/users/brunotomas/orgs","repos_url":"https://api.github.com/users/brunotomas/repos","events_url":"https://api.github.com/users/brunotomas/events{/privacy}","received_events_url":"https://api.github.com/users/brunotomas/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T14:21:25Z","updated_at":"2016-02-29T14:21:25Z","body":"@glennsarti \r\nThe verbose output:\r\n\r\n```\r\nPS C:\\Users\\brunotomas> 'E:\\neo4j' | Start-Neo4jServer -Console -Wait -Verbose\r\nVERBOSE: Performing operation \"Start Neo4j\" on Target \"C:\\Program Files\\Java\\jre7\\bin\\java.exe -DworkingDir=\"E:\\neo4j\"\r\n-Djava.util.logging.config.file=\"E:\\neo4j\\conf\\windows-wrapper-logging.properties\"\r\n-DconfigFile=\"conf/neo4j-wrapper.conf\" -DserverClasspath=\"lib/*.jar;system/lib/*.jar;plugins/**/*.jar;./conf*\"\r\n-DserverMainClass=org.neo4j.server.CommunityBootstrapper -jar \"E:\\neo4j\\bin\\windows-service-wrapper-5.jar\"\".\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: Can't obtain class com.sun.jna.CallbackReference.AttachOption\r\ns\r\n        at com.sun.jna.Native.initIDs(Native Method)\r\n        at com.sun.jna.Native.<clinit>(Native.java:115)\r\n        at com.sun.jna.Structure.<clinit>(Structure.java:132)\r\n        at org.rzo.yajsw.WindowsXPProcess.start(WindowsXPProcess.java:1474)\r\n        at org.neo4j.wrapper.ServerProcessConsole.doStart(ServerProcessConsole.java:45)\r\n        at org.neo4j.wrapper.ServerProcess.<init>(ServerProcess.java:115)\r\n        at org.neo4j.wrapper.ServerProcessConsole.<init>(ServerProcessConsole.java:31)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.launchAsConsoleApp(NeoServiceWrapper.java:48)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.main(NeoServiceWrapper.java:35)\r\n1\r\n```\r\n\r\nAnd the neo4j-wrapper.conf: \r\n\r\n```\r\n#********************************************************************\r\n# Property file references\r\n#********************************************************************\r\n\r\nwrapper.java.additional=-Dorg.neo4j.server.properties=conf/neo4j-server.properties\r\nwrapper.java.additional=-Dlog4j.configuration=file:conf/log4j.properties\r\n\r\n#********************************************************************\r\n# JVM Parameters\r\n#********************************************************************\r\n\r\nwrapper.java.additional=-XX:+UseG1GC\r\nwrapper.java.additional=-XX:-OmitStackTraceInFastThrow\r\nwrapper.java.additional=-XX:hashCode=5\r\n\r\n# Uncomment the following lines to enable garbage collection logging\r\n#wrapper.java.additional=-Xloggc:data/log/neo4j-gc.log\r\n#wrapper.java.additional=-XX:+PrintGCDetails\r\n#wrapper.java.additional=-XX:+PrintGCDateStamps\r\n#wrapper.java.additional=-XX:+PrintGCApplicationStoppedTime\r\n#wrapper.java.additional=-XX:+PrintPromotionFailure\r\n#wrapper.java.additional=-XX:+PrintTenuringDistribution\r\n\r\n# Java Heap Size: by default the Java heap size is dynamically\r\n# calculated based on available system resources.\r\n# Uncomment these lines to set specific initial and maximum\r\n# heap size in MB.\r\n#wrapper.java.initmemory=512\r\n#wrapper.java.maxmemory=512\r\n\r\n#********************************************************************\r\n# Wrapper settings\r\n#********************************************************************\r\n# path is relative to the bin dir\r\nwrapper.pidfile=../data/neo4j-server.pid\r\n\r\n#********************************************************************\r\n# Wrapper Windows NT/2000/XP Service Properties\r\n#********************************************************************\r\n# WARNING - Do not modify any of these properties when an application\r\n#  using this configuration file has been installed as a service.\r\n#  Please uninstall the service before modifying this section.  The\r\n#  service can then be reinstalled.\r\n\r\n# Name of the service\r\nwrapper.name=Neo4j-Server\r\n\r\n# User account to be used for linux installs. Will default to current\r\n# user if not set.\r\nwrapper.user=\r\n\r\n#********************************************************************\r\n# Other Neo4j system properties\r\n#********************************************************************\r\nwrapper.java.additional=-Dneo4j.ext.udc.source=zip\r\n```\r\n"}}