From: Douglas Nebert <ddnebert@us...> - 2011-04-19 13:34:29
On 4/19/11 8:44 AM, jonathanmoules@... wrote:
> Hi Guy's
> I was wondering how to get GeoNetwork (i.e., Jetty) working as a
> Windows service, so it keeps running when I log out of the server (Windows
> Server 2008 R2).
> My research found this thread:
> - which does exactly what I want, but the URL provided by Simon for his
> app is a 404 now, so that doesn't work.
There is a program sc.exe program for Windows Server (2003-2008) that is
used to add services by command-line invocation. This could be used to
run "start.bat" or similar, and it is added to the Services panel for
See in particular "sc create":
sc [Servername] create Servicename [Optionname= Optionvalue...
> The other option is to use the Jetty "Windows Service Wrapper" - per
> https://ykyuen.wordpress.com/2010/03/15/make-jetty-as-windows-service/ -
> but the GeoNetwork install doesn't include any of the elements listed
> there so that's a loss too.
> Anyone know of how to do this, or where I can aquire a copy of Simon's
> little VB program?
> Jonathan Moules
> This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> GeoNetwork-users mailing list
> GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Douglas D. Nebert
Senior Advisor for Geospatial Technology, System-of-Systems Architect
FGDC Secretariat T:703 648 4151 F:703 648-5755 C:703 459-5860