Hello All:-
I'm fairly new to GeoNetwork and I am attempting to install and configure
GeoNetwork on both a production server (Windows Server 2008 R2 Standard, SP1
64-bit) and developer computer (Windows 7 Professional 64-bit).
I looked through the User guide and on page 54 it requires JRE 1.5.0 and
Tomcat 5.5+. Initially, I just went ahead and installed JDK 1.6.0_27 and
tomcat 7.0.22 (the Windows Service Installer) on my production server. I
configured mod_jk so that requests for GeoNetwork are passed from apache
(listening on the default web port 80) to tomcat, which is listening on port
8080. I initially experienced the Java out of memory error message, but
quickly found documentation on this forum that told me to add the
-XX:MaxPermSize=128m. That fixed seemed to solve the out of memory error
messages GeoNetwork was displaying for me.
Over time, I began to notice that tomcat would simply crash (looking at the
log file for tomcat never seemed to show anything, but I could be missing
something). Sometimes this crash would happen when entering metadata into
GeoNetwork and trying to save it or close the editor. Other times it will
crash just refereshing the Map Viewer on the GeoNetwork user interface (that
is, the Open Layer viewer that is talking to GeoServer in the background to
get WMS services). I've tried repeatedly to reproduce the crash
systematically, but it seems to fail at different times and for different
reasons (reasons that I surmise from my interaction with GeoNetwork).
My questions:
1. Should we install GeoNetwork using Java JDK 1.5.0 and Tomcat 5.5 as
suggested in the user documentation? I guessed that this documentation was
old and that it would be OK to update both Java and Tomcat or is this
documentation accurent and required due to some change that might have been
made in Java 1.6 that 'causes GeoNetwork to sporadically fail as per my
observations. Has anyone else been able to succcessfully use the latest Java
JDK (1.6 series, not 1.7, since that was just recently released) and Tomcat
7?
2. Since GeoNetwork, GeoServer are both running under Tomcat in this
scenario, how does one go about troubleshooting an error like this more
systematically. Further, were does GeoNetwork place it's logging files? Same
question, but GeoServer?
3. Is there any timeout mechanism through GeoNetwork on GeoServer responding
to requests made from OpenLayer's when trying to load the map?
4. When using the out of box web server container, Jetty, there are
severally command line options used (e.g. -Xms48m -Xmx512m -Xss2M and so
on). Where can someone find more documentation on these Java options? Are
these same arguments needed for Tomcat as well?
I'm trying to understand GeoNetwork more so I can stabilize it on a
production server so individuals can enter and save metadata over a fairly
long Geographical distance. Any insight or advice you could offer would be
greatly appreciated. Please let me know if you require more details on the
workings of the server or log file information (just give me an idea of
where I should be poking around).
Thanks,
-=Steve
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/JDK-Tomcat-Versions-tp6928975p6928975.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.