It's all about the answers!

Ask a question

How can I ensure drive mappings are available to the JBE running as a Windows service?


Des Nunan (623) | asked Jan 06 '16, 12:51 p.m.
I have configured JBE as a Windows Service using Java Service Launcher [0.99.o] on a Windows 7 system by following the steps outlined here:

https://jazz.net/wiki/bin/view/Main/JbeAsAWindowsService

I ran JSL in debug mode to test my configuration and it processed my build requests.

However, the builds I am running require drives to be mapped to network shares for provisioning certain inputs and publishing outputs. I want the JBE to start at boot and always be ready to accept requests without requiring a logon. Configuring JBE to run as a Windows Service with autostart would be fine if drive mappings persisted after a reboot.  But this is not the case at the moment.  I want to ensure drive mappings are always available to the JBE running as a Windows service.

What is the best way to accomplish this? Is it possible?

One answer



permanent link
Donald Nong (14.5k414) | answered Jan 06 '16, 10:12 p.m.
It is possible. But since it's of "official", it's hard to treat it as "best".
http://serverfault.com/questions/426288/permanently-mount-network-share-without-the-need-for-log-on-windows
http://stackoverflow.com/questions/182750/map-a-network-drive-to-be-used-by-a-service

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.