Problems stopping the Protege Server

Post Reply
adgarcia
Posts: 13
Joined: 28 Sep 2017, 20:20

Greetings,

I'm at step 14. of a essential multi user mode install (Repository database configuration) trying to store the essential repository in a relational db (SQL Server 2012 in this case).

One of the first steps is to stop the Protege server, however when I try in a DOS window running as administrator to execute shutdown_protege_server.bat I get a SEVERE: java.rmi.ConnectionException error: connection refused to host: localhost.

Any ideas how I can get around this? not even sure if my Protege server is running or how to check that.

Thanks Ahead,

David
Stepan Karandin
Posts: 17
Joined: 24 Jul 2017, 11:41

Hi, David

To be honest, it is not Essential issue, so I'll try to help
You could try to provide parameter as it describe at comments inside the .bat

rem This is the shutdown script for the Protege that should be run on a server console.
rem It will save all the server projects.
rem In case your server does not run on the default port, then provide the server name and the port as an argument for the script.
rem E.g. shutdown_protege_server.bat localhost:5200


also, you can try to:
1. check and update c:/windows/system32/drivers/etc/hosts
2. check how the DNS resolves you binding
3. check port listener (default for RMI is 1099)
4. switch off firewall

Have no Windows box, can't reproduce, sorry
adgarcia
Posts: 13
Joined: 28 Sep 2017, 20:20

Thanks Stepan,

I believe it was because the Protege server was not running, I'll know better once I start it and then try to stop it.

Thanks again,

David
Post Reply