Hi there,
I am a newbie to GeoNetwork, and I am trying to install GeoNetwork 2.1 under
Tomcat 6 using PostGres on solaris 10.
I have installed GN 2.1 with the embedded jetty engine and it works fine. I
then installed tomcat and added the 2 context elements just before the end of
the host element.
<Context path="/geonetwork"
docBase="/home/compass/local/apps/geonetwork/web/geonetwork"
crossContext="false"
debug="0"
reloadable="false" />
<Context path="/geonetwork/intermap"
docBase="/home/compass/local/apps/geonetwork/web/intermap"
crossContext="false"
debug="0"
reloadable="false" />
I am using tomcat as a standalone server, but will be migrating to having
httpd receiving requests and passing them on to tomcat if I can get GN
working with tomcat as a standalone server.
I point my browser at the correct url and GN loads, the errors appear to be
JavaScript:
closeIntermap is not defined
im_mm_init is not defined
The map in the top left corner doesn't appear either and when I click on one
of the categories, I get further JavaScript errors stating:
clearNode is not defined
I looked at the main-page. xsl file and found <script> elements referencing a
number of JavaScript files, some had a question at the end of the src (I have
never come across this before, any ideas anyone???).
Also, from what little I know about JavaScript any function referenced by
another should come before the definition of the function. Therefore the
order that some of the JavaScript is defined appears to be incorrect, that
said it seems to work when I use the embedded jetty engine.
My gut feeling is that I have some setup problem with interMap but I don't
know enough about the whole GN InterMap package to know for certain.
Any help that can be give is much appreciated, cheers.
MARK
CIAO
--
**********************************************************************
Mark Small
EDINA National Data Centre
The University of Edinburgh
Causewayside House
160 Causewayside
Edinburgh
EH9 1PR
Scotland
Tel : +44 (0)131 650 2910
Fax : +44 (0)131 650 3308
Email : m.small@anonymised.com
URL : http://edina.ac.uk/
**********************************************************************