Closed andreabono closed 5 years ago
Fixed in 964b391dd85574dc193c526c9588937925be4a4a
Will be in the next release.
Thanks for the bug report.
How about a new release in a maven repository?
1.8.1 was released a week ago with this fix in it.
Sorry for bothering you...
It works great!!!!
Thanks!!
Andrea
I found a bug in edu.sc.seis.seisFile.waveserver.WaveServer.java.
You use a PrintWriter to write some message to screen.
The matter is that PrintWriter is NOT platform independent and uses different codes for newline depending on the OS platform. So, when called on MacOSX or Linux it uses "\n" , that is properly interpreted by the Earthworm Wave Server, BUT when used on MSWindows, it attaches a "\r" as a newline... And the EW WS hangs waiting for the newline... And a timeout exception is raised.
So, int the getMenu() method:
should be replaced by:
System.out.print("MENU: " + nextReqId + " SCNL\n");
Cheers. Andrea