Link to home
Start Free TrialLog in
Avatar of lolekbolek
lolekbolek

asked on

Help setting up the Handle Server as a Windows service

Greetings!

We have a DSpace (institutional repository) running on a Windows 2003 server.  It is Java based and is using Apache and Tomcat to display webapps and the Handle Server (http://www.handle.net/start.html) to convert handles (like http://hdl.handle.net/12345/903) into our addresses like (http://mywebsite.com:8080/xmlui/handle/12345/903).

Previously, we used to launch the handle server manually, typing:

dsrun -Ddspace.log.init.disable=true-Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main C:\DSpace\handle-server

in the command prompt.  It would ask for a passphrase and then launch the server.

I tried to set up the DSpace Handle Server as a Windows server.  The procedure is described here:

https://wiki.duraspace.org/display/DSPACE/Handle+Server+Setup+as+Windows+Service+%28using+Tanuki%29

Chances are, I mixed up something.  When I start this service in Windows Services, it shows as running and I can restart it there w/o any problems, but when I click on a handle link in DSpace records, I have "Error - Cannot Connect to Server".

On the other hand, even when the DSpace Handle Server service is not started in the Services window, I can just run:

dspace-handle.bat

in the command prompt and the handle server starts just fine, asks me for the passphrase and then I can resolve handles w/o any problem until I Ctrl+C out of the command prompt.

So, it looks like the Windows service I set up is not launching the server, or at least not what dspace-handle.bat is launching.  I think I should change some settings somewhere, but I am not sure which ones.  Any advice is most welcome!
ASKER CERTIFIED SOLUTION
Avatar of mccarl
mccarl
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lolekbolek
lolekbolek

ASKER

People who created and are running the Handle server suggested to re-do the server setup, this time w/o the passphrase, so mccarl's suggestions should be correct.