Opened 14 years ago

Closed 14 years ago

#321 closed defect (wontfix)

ZServer fails with multiple .. instances?

Reported by: osjonathan Owned by: geonetwork-devel@…
Priority: major Milestone: v2.6.0
Component: General Version: v2.6.0RC2
Keywords: Cc:

Description

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 =========================================

Attachments (2)

start-geonetwork.bat (1.1 KB ) - added by osjonathan 14 years ago.
geonetwork.log (79.0 KB ) - added by osjonathan 14 years ago.

Download all attachments as: .zip

Change History (5)

by osjonathan, 14 years ago

Attachment: start-geonetwork.bat added

by osjonathan, 14 years ago

Attachment: geonetwork.log added

comment:1 by osjonathan, 14 years ago

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.

comment:2 by osjonathan, 14 years ago

Summary: Geonetwork starting twice?ZServer fails with multiple .. instances?

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).

comment:3 by ticheler, 14 years ago

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.