[GeoNetwork-devel] [GeoNetwork opensource Developer website] #321: Geonetwork starting twice?

#321: Geonetwork starting twice?
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.0
Component: General | Version: v2.6.0RC2
Keywords: |
------------------------+---------------------------------------------------
I've just noticed that Geonetwork appears to start twice. I'm pretty sure
I've not done anything to the jetty install or anything, and I'm running
the .bat file that comes with it (attached is my version - I'm 99% certain
it's stock).

If you look at the attached log you'll see around line 390:

2010-09-20 14:43:28,080 INFO [jeeves.engine] - Startup time is : 9 (secs)
2010-09-20 14:43:28,080 INFO [jeeves.engine] - === System working

2010-09-20 14:43:28,813 INFO [jeeves.engine] - === Starting system

2010-09-20 14:43:28,813 INFO [jeeves.engine] - Java version : 17.0-b17

And then it proceeds to do the entire loading thing again, albeit faster
the second time:
2010-09-20 14:43:33,837 INFO [jeeves.engine] - Startup time is : 5 (secs)
2010-09-20 14:43:33,837 INFO [jeeves.engine] - === System working

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/321&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.

#321: Geonetwork starting twice?
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.0
Component: General | Version: v2.6.0RC2
Keywords: |
------------------------+---------------------------------------------------

Comment(by osjonathan):

This would probably also explain this error in the log:

----------
2010-09-20 15:06:05,920 DEBUG [org.jzkit.z3950.server.Z3950Listener] -
Starting ZServer on port 2100 (timeout=300000)
2010-09-20 15:06:05,935 ERROR [org.jzkit.z3950.server.Z3950Listener] -
Problem
java.net.BindException: Address already in use: JVM_Bind
         at java.net.PlainSocketImpl.socketBind(Native Method)
         at java.net.PlainSocketImpl.bind(Unknown Source)
         at java.net.ServerSocket.bind(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at org.jzkit.z3950.server.Z3950Listener.run(Z3950Listener.java:69)
----------

That only apepars when the program starts the "second" time.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/321#comment:1&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.

#321: ZServer fails with multiple .. instances?
------------------------+---------------------------------------------------
Reporter: osjonathan | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.6.0
Component: General | Version: v2.6.0RC2
Keywords: |
------------------------+---------------------------------------------------

Comment(by osjonathan):

Okay, the original bug may not be a bug. I think it's because I have two
directories in the "web" directory.

But the second ZServer initialisation failure is still a bug (I guess
because it's trying on the same port).

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/321#comment:2&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.

#321: ZServer fails with multiple .. instances?
-------------------------+--------------------------------------------------
  Reporter: osjonathan | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.6.0
Component: General | Version: v2.6.0RC2
Resolution: wontfix | Keywords:
-------------------------+--------------------------------------------------
Changes (by ticheler):

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

Comment:

This seems a system configuration problem. Two different Z-server ports
need to be configured

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/321#comment:3&gt;
GeoNetwork opensource Developer website <http://trac.osgeo.org/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.