Opened 12 years ago

Closed 12 years ago

#1025 closed defect (fixed)

GeoNetwork under jetty starts, stops and restarts badly/fails on first run after installation

Reported by: simonp Owned by: geonetwork-devel@…
Priority: major Milestone: v2.8.0 RC0
Component: General Version: v2.8.0RC0
Keywords: Cc:

Description

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

Change History (3)

comment:1 by heikki, 12 years ago

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

comment:2 by simonp, 12 years ago

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)

comment:3 by simonp, 12 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.