Opened 14 years ago
Closed 14 years ago
#321 closed defect (wontfix)
ZServer fails with multiple .. instances?
Reported by: | osjonathan | Owned by: | |
---|---|---|---|
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)
Change History (5)
by , 14 years ago
Attachment: | start-geonetwork.bat added |
---|
by , 14 years ago
Attachment: | geonetwork.log added |
---|
comment:1 by , 14 years ago
comment:2 by , 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 , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This seems a system configuration problem. Two different Z-server ports need to be configured
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
That only apepars when the program starts the "second" time.