Hi
I tried to implement the Geonetwork windows service below as a test on my
local PC running Windows XP, have installed the Windows service but when I
try to run it I get the following message:-
'The GeoNetwork OpenSource service on Local Computer started and then
stopped. Some services stop automatically if they have no work to do, for
example, the Performance Logs and Alerts service.'
I had a look in the Event Viewer and it appears there is some kind of issue
with the geonetwork-service python script:-
'Python could not import the service's module
<type 'exceptions.ImportError'>: No module named geonetwork-service'
Is this an issue with where I have saved the geonetwork-service.py file at
all? I have saved this and the bat files to my geonetwork install folder, do
I need to save the py file somewhere specific? Anyone else encountered this
problem when trying to implement the windows service mentioned below?
Thanks, Chris
Oliver, Simon wrote
Try this
http://metageta.googlecode.com/svn/!svn/bc/533/tools/geonetwork-service/
or this - if you're viewing in an open source browser:
http://code.google.com/p/metageta/source/browse/tools/geonetwork-service
Regards
Simon Oliver
-----------------------------------------------------------------------
Remote Sensing Coordinator
Department of Sustainability, Environment, Water
Population and Communities
Ph. +61 2 6275 9332
simon.oliver@anonymised.com
-----------------------------------------------------------------------
-----Original Message-----
From:
jonathanmoules@anonymised.com
[mailto:
jonathanmoules@anonymised.com
]
Sent: Tuesday, 19 April 2011 22:45
To:
geonetwork-users@anonymised.com
Subject: [GeoNetwork-users] GeoNetwork as a windows service
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:
http://osgeo-org.1803224.n2.nabble.com/Run-Jetty-as-Service-Scheduled-ta
sk-td5843356.html
- which does exactly what I want, but the URL provided by Simon for his
app is a 404 now, so that doesn't work.
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?
Thanks
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-users@anonymised.com
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
If you have received this transmission in error please notify us
immediately by return e-mail and delete all copies. If this e-mail or any
attachments have been sent to you in error, that error does not constitute
waiver of any confidentiality, privilege or copyright in respect of
information in the e-mail or attachments.
Please consider the environment before printing this email.
------------------------------------------------------------------------------
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-users@anonymised.com
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-as-a-windows-service-tp3860916p5071472.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.