Hi!
From CNRI I received the handle 10220. I have listening ports 2641 (TCP) and 8000 (TCP). The handler is started as follows (A). The url of an uploaded item is http://hdl.handle.net/10220/62562 . While accessing the URL the following error is displayed (B). The dspace config handler parameter is updated with 10220.
(1) In my repository all items except the single uploaded item (10220/62562) are having the default handler (123456789). How to run the update-handle-prefix script on Windows? Will this affect the handler service?
(2) The protocol to be enabled for 2641 port is TCP or UDP?
Please suggest.
Thanks
Jayan
(A)
E:\DSpace\bin>dsrun -Dlog4j.configuration=log4j-handle-plugin.properties net.han
dle.server.Main E:\dspace\handle-server
UDP handle Request Listener:
address: /155.69.24.194
port: 2641
TCP handle Request Listener:
Starting UDP request handlers: address: /155.69.24.194
. port: 2641
Starting TCP request handlers: .HTTP handle Request Listener:
address: /155.69.24.194
port: 8000
Starting HTTP request handlers: ...................
..........DONE
..............
(B)
2007/08/07 11:07:59 GMT+08:00" 75 class net.handle.server.HandleServer: error getting values: HandleException (HANDLE_DOES_NOT_EXIST)
HandleException (HANDLE_DOES_NOT_EXIST)
at org.dspace.handle.HandlePlugin.getRawHandleValues(HandlePlugin.java:263)
at net.handle.server.HandleServer.doResolution(HandleServer.java:2601)
at net.handle.server.HandleServer.processRequest(HandleServer.java:1229)
at net.handle.server.HandleServer.processRequest(HandleServer.java:1188)
at net.handle.server.HdlHttpRequestHandler.handleHtmlRequest(HdlHttpRequestHandler.java:687)
at net.handle.server.HdlHttpRequestHandler.run(HdlHttpRequestHandler.java:537)
at java.lang.Thread.run(Unknown Source)
"2007/08/07 11:21:31 GMT+08:00" 25 Started new run.
Saving global values to: C:\Documents and Settings\Administrator\.handle\root_info
"2007/08/07 11:21:39 GMT+08:00" 50 unspecified max_handlers count, using default: 200
"2007/08/07 11:21:39 GMT+08:00" 50 unspecified max_handlers count, using default: 200
"2007/08/07 11:21:39 GMT+08:00" 50 unspecified max_handlers count, using default: 200
"2007/08/07 11:22:20 GMT+08:00" 75 class net.handle.server.HdlTcpRequestHandler: Exception processing request: HandleException (MESSAGE_FORMAT_ERROR) Invalid message length: 168626701
Thanks Stuart.
The handle works fine. The problem was with the dspace url in the dspace-config file.
http://hdl.handle.net/10220/62562
For starting the handle server at the command prompt
> E:\DSpace\bin>dsrun -Dlog4j.configuration=log4j-handle-plugin.properties net.han
dle.server.Main E:\dspace\handle-server
In this case I need to leave the command line window open for the handle server to function. If I close the command line window, handle server stops. Is there a way to use “javaw” to run the handle so that the process runs at the background. I have given a password (“passphrase for the server cert) for the handler setup. In this case how to give the password for the handle server to startup running the process at the background. Please suggest
Thanks,
Jayan
Thanks Stuart, Graham, and Masud for your help.
Steps for handler installation
(1) Open ports 2641 and 8000
(2) E:\dspace\bin> dsrun net.handle.server.SimpleSetup E:\dspace\handle-server
(3) I gave empty Pass phrase in the last two steps for (2) to enable handler startup as a windows service
a. Generating keys for: Server Certification
b. Generating keys for: Administration
(4) Apply for the global identifier at CNRI
(5) Check the DSpace config file for the correct DSpace URL and update the handler prefix.
(6) C:\DSpace\bin>dsrun -Dlog4j.configuration=log4j-handle-plugin.properties net.handle.server.Main E:\dspace\handle-server
a. Reference : http://sunsite.utk.edu/diglib/dspace/#handle
OR
(7) To run handle as a windows service, please refer to Grahams/Stuart mail
a. http://www.mail-archive.com/dspac...@lists.sourceforge.net/msg01440.html
b. http://cadair.aber.ac.uk/dspace/handle/2160/318
Thanks,
Jayan