We are using jetty 9.3.20.v20170531. It is registered as Windows Service with "NETWORK SERVICE" account.
The parent folder has the right set of permission set, but while jetty starts (java -jar start.jar --module=http) its failing with below exception java.nio.file.AccessDeniedException: D:\Program Files\XXX\server\start.ini at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83) at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:90) at sun.nio.fs.WindowsLinkSupport.getRealPath(WindowsLinkSupport.java:259) at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:836) at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:44) at org.eclipse.jetty.start.config.DirConfigSource.<init>(DirConfigSource.java:108) at org.eclipse.jetty.start.config.JettyBaseConfigSource.<init>(JettyBaseConfigSource.java:34) at org.eclipse.jetty.start.BaseHome.<init>(BaseHome.java:142) at org.eclipse.jetty.start.Main.processCommandLine(Main.java:273) at org.eclipse.jetty.start.Main.main(Main.java:74) We used the Process Monitor to check, below are the logs. Why jetty is trying check access on the root folder? "8:21:16.1031442 AM","DataCube.exe","10908","CreateFile","D:\","ACCESS DENIED","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a" "8:21:16.1033207 AM","DataCube.exe","10908","QueryOpen","D:\Program Files\YYYY\Jetty\lib\jetty-start.jar","SUCCESS","CreationTime: 6/13/2018 4:30:50 PM, LastAccessTime: 6/13/2018 4:30:50 PM, LastWriteTime: 1/8/2018 4:33:10 PM, ChangeTime: 6/13/2018 4:30:50 PM, AllocationSize: 143,360, EndOfFile: 142,488, FileAttributes: A" "8:21:16.1034000 AM","DataCube.exe","10908","QueryOpen","D:\Program Files\YYYY\Jetty\lib\jetty-start.jar","SUCCESS","CreationTime: 6/13/2018 4:30:50 PM, LastAccessTime: 6/13/2018 4:30:50 PM, LastWriteTime: 1/8/2018 4:33:10 PM, ChangeTime: 6/13/2018 4:30:50 PM, AllocationSize: 143,360, EndOfFile: 142,488, FileAttributes: A" "8:21:16.1035145 AM","DataCube.exe","10908","QueryOpen","D:\Program Files\YYYY\Jetty\lib\jetty-start.jar","SUCCESS","CreationTime: 6/13/2018 4:30:50 PM, LastAccessTime: 6/13/2018 4:30:50 PM, LastWriteTime: 1/8/2018 4:33:10 PM, ChangeTime: 6/13/2018 4:30:50 PM, AllocationSize: 143,360, EndOfFile: 142,488, FileAttributes: A" "8:21:16.1035946 AM","DataCube.exe","10908","CreateFile","D:\","ACCESS DENIED","Desired Access: Read Data/List Directory, Synchronize, Disposition: Open, Options: Directory, Synchronous IO Non-Alert, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a" With Thanks & Regards Karthik Ramachandran P Please don't print this e-mail unless you really need to ***************************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." **********************************************************************
_______________________________________________ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users