[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1025: GeoNetwork under jetty starts, stops and restarts badly/fails on first run after installation

#1025: GeoNetwork under jetty starts, stops and restarts badly/fails on first run
after installation
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0 RC0
Component: General | Version: v2.8.0RC0
Keywords: |
---------------------+------------------------------------------------------
This is very disconcerting for a new user as GN needs to be stopped and
restarted to fix. Only happens on first run after installation -
thereafter everything seems normal.

I'm kind of surprised this hasn't been reported elsewhere/before? Happens
on windows 7 and Linux x86_64 - jdk1.6

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1025&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1025: GeoNetwork under jetty starts, stops and restarts badly/fails on first run
after installation
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0 RC0
Component: General | Version: v2.8.0RC0
Keywords: |
---------------------+------------------------------------------------------

Comment(by heikki):

I've seen it doing a 'restart' often, but never needed to actually stop
and restart once it finished the starting-up business.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1025#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1025: GeoNetwork under jetty starts, stops and restarts badly/fails on first run
after installation
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0 RC0
Component: General | Version: v2.8.0RC0
Keywords: |
---------------------+------------------------------------------------------

Comment(by simonp):

Heikki - thanks for confirming this! I've seen:

- permgen memory exceeded (server stalls)
- database connection problems eg. java.sql.SQLException: Data source is
closed (comes with stack trace on apache dbcp)

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1025#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.

#1025: GeoNetwork under jetty starts, stops and restarts badly/fails on first run
after installation
----------------------+-----------------------------------------------------
  Reporter: simonp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0 RC0
Component: General | Version: v2.8.0RC0
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by simonp):

  * status: new => closed
  * resolution: => fixed

Comment:

Jetty monitoring web/geonetwork, servlet creates dir in here for file
uploads, causes servlet to stop and then restart. Fix is to copy the data
dir from the release dir in the installer to the correct place.

Fixed in commit 2fed62a80acfd44b5a6d024d5d9e350d1ab1eabb

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1025#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.