Without looking at it properly, I would be inclined to agree with you about 
removing the script.

 

I suggest that you log it in JIRA, then we will discuss (and resolve) it during 
the meeting on Wednesday.

 

G

 

Graham Triggs

Technical Architect

Open Repository

http://www.openrepository.com/

 

From: Jeffrey Trimble [mailto:[email protected]] 
Sent: 16 October 2009 14:19
To: [email protected]
Subject: [Dspace-devel] Handle server config error

 

Yesterday, I went to configure the handle server on another instance of 

DSpace.  I received the following error when using the DSpace script 

"make-handle-config".  It seemed no matter what I did, it kept repeating

itself.  (I checked all user permissions, directory permissions, groups, etc.)

This was following the documentation in ch. 3.3.4.

Here is the error:

 

Writing simple Handle server configuration

Error setting up the server:

java.lang.NullPointerException

java.lang.NullPointerException

            at 
net.handle.server.SimpleSetup.responseToPrompt(SimpleSetup.java:930)

            at net.handle.server.SimpleSetup.getIPAddress(SimpleSetup.java:572)

            at net.handle.server.SimpleSetup.main(SimpleSetup.java:96)

./make-handle-config: line 90: /dspace/handle-server/config.dct: No such file 
or directory

./make-handle-config: line 99: /tmp/handleconfig7751: No such file or directory

 

But, when I ran the "manual" technique written:

 

Instead of running:

java -cp /hs/bin/handle.jar net.handle.server.SimpleSetup /hs/svr_1

as directed in the Handle Server Administration Guide 
<http://hdl.handle.net/4263537/4093> , you should run

 [dspace]/bin/dsrun net.handle.server.SimpleSetup 
        [dspace]/handle-server

ensuring that [dspace]/handle-server matches whatever you have in dspace.cfg 
for the handle.dir property.

This worked perfectly fine.  So what's going on here?

 

Perhaps the make-handle-config script really isn't need in lieu of the manual 
instructions that do work?

 

--Jeff

 

Jeffrey Trimble

System LIbrarian

William F.  Maag Library

Youngstown State University

330.941.2483 (Office)

[email protected]

http://www.maag.ysu.edu

http://digital.maag.ysu.edu

"I must not fear.  Fear is the mind-killer.

I will permit it to pass over me and through me..."

--Litany against fear....

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to