Hi Marco, thanks for reply I tried your latest release (8.6.2.x) and it seems helped to get HTTP server stopped ok. Otherwise starting the server is still giving me the error. Automation is out of way as it may be reproduced manually in command line see: c:>basexhttp.bat -S Connection failed (port: 8984). c:>basexhttpstop.bat HTTP Server was stopped (port: 8984). c:> Any idea why it hands back connection failed message while I can ping it like this while running? C:\windows\system32>netstat -anb | find "8984" TCP 0.0.0.0:8984 0.0.0.0:0 LISTENING TCP [::]:8984 [::]:0 LISTENING Thanks, Jan -------------------------------------------------------------------------------------------------------------------------------------------- Hallo, I'm trying to get strating and stopping of BaseX HTTP server automated. ? Whats wrong with starting: Once trying to run in command line "basexhttp.bat -S" I get "Connection failed (port: 8984)." But server is running (!?) and I can create socket to comunicate with. ? Whats wrong with stopping: Once trying to run in command line "basexhttpstop.bat" I get it hanged and need to terminate job or on another attempt I get back "Connection failed (port: 8985)." And I cannot communicate with server so it seems that it really got stopped. ? It's tricky to automate that if I get errors on every attempt to start/stop it. Could you advice? ? Third error what I ocasionally can get back after trying to run server is: "Error occurred during initialization of VM Could not reserve enough space for 1433600KB object heap" ? Behaviour is same for 8.6.0 and 8.6.1. I have just updated Java RT to latest. ? Regards,? Jan, Brno
? ?
?