Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Stuart Lewis [sdl]
Hi Jayan,

> (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?

You might find it easier to first apply this patch:

http://sourceforge.net/tracker/index.php?func=detail&aid=1642563&group_id=19
984&atid=319984

This uses Java rather than a Unix shell script to make the changes.

It should not affect the service at all - all it does is change the
identifiers in the database to use your new handle value.

(As always - test first on a backup!)
  
> (2) The protocol to be enabled for 2641 port is TCP or UDP?

UDP is better if you can.

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Jayan Chirayath Kurian
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

 



From: Jayan Chirayath Kurian 
Sent: Tuesday, August 07, 2007 12:12 PM
To: dspace-tech@lists.sourceforge.net
Subject: Handle Configuration in DSPace 1.4.1/Windows 2003

 

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(HdlHttpRequest
Handler.java:687)

at
net.handle.server.HdlHttpRequestHandler.run(HdlHttpRequestHandler.java:5
37)

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

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-07 Thread Stuart Lewis [sdl]
Hi Jayan,

> 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. 

For a possible solution, take a look at:

http://cadair.aber.ac.uk/dspace/handle/2160/318

(See slides number 4 & 5)

Cheers,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows 2003

2007-08-13 Thread Jayan Chirayath Kurian
Hi! Stuart,

The prefix update works fine on my windows machine. Thanks.

In the code text_value = overlay ( text_value placing '" + newH + "' " +
 "from 23 for " + oldH.length() + ") where text_value like "
+
  "'http://hdl.handle.net/"; + oldH + "%'";


(1) The number 23 refers to the length of http://hdl.handle.net/ plus
one for replacement of new handler id? 
(2) the metadata_field_id for http://hdl.handle.net/ is always 25 ?
(3) While reindexing I got this error which was got rid off by bringing
down tomcat. 

Indexing all Items in DSpace ... Done
Re-creating search index... Error re-indexing:
java.io.IOException: Cannot delete C:\DSPace\search\_2d.cfs

Regards,
Jayan

-Original Message-
From: Stuart Lewis [sdl] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 5:08 PM
To: Jayan Chirayath Kurian; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Handle Configuration in DSPace 1.4.1/Windows
2003

Hi Jayan,

> (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?

You might find it easier to first apply this patch:

http://sourceforge.net/tracker/index.php?func=detail&aid=1642563&group_i
d=19
984&atid=319984

This uses Java rather than a Unix shell script to make the changes.

It should not affect the service at all - all it does is change the
identifiers in the database to use your new handle value.

(As always - test first on a backup!)
  
> (2) The protocol to be enabled for 2641 port is TCP or UDP?

UDP is better if you can.

Thanks,


Stuart
_

Gwasanaethau Gwybodaeth  Information Services
Prifysgol Cymru Aberystwyth   University of Wales Aberystwyth

E-bost / E-mail: [EMAIL PROTECTED]
 Ffon / Tel: (01970) 622860
_


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech