Discussion:
[Dspace-tech] Handle server setup
m***@nlm.nih.gov
2003-02-20 19:47:17 UTC
Permalink
Hi - I don't seem to have seen this issue brought up before about the
handle server. We actually started the handle server on our site before
receiving our naming authority information. Of course, it was using the
1721 (MIT) handle.

I created a community and some collections and uploaded some files using
this handle (couldn't wait to try it out!). The problem is that now that
I have my own number from CNRI, I can't seem to get DSpace to start using
the new handle.

I have edited the dspace.cfg with the new information. Killed the handle
server and associated "activation.jar" process, removed the files in
handle-server/txns, and also tried removing *.bin from handle-server,
before I then ran make-handle-config and then start-handle-server.

I don't seem to see any errors in the handle server log, but I did get a
Warning when I ran make-handle-config (see below unix session).

Should I be trying the recently posted new code (doesn't seem to be
related?).

I even tried deleting my community and starting a fresh. Still using the
old handle.

Any help is appreciated.

Thanks

Robin Moore
NLM

$ ls -alt
total 4170
drwxr-xr-x 2 dspace dspace 512 Feb 20 14:12 txns
-rw-r--r-- 1 dspace dspace 2095249 Feb 20 09:46 error.log
drwxr-xr-x 3 dspace dspace 512 Feb 20 09:46 .
-rw-r--r-- 1 dspace dspace 16402 Feb 20 09:46 cache.jdb
-rw-r--r-- 1 dspace dspace 827 Feb 20 09:13 config.dct
-rw-r--r-- 1 dspace dspace 1373 Feb 20 09:13 sitebndl.zip
-rw-r--r-- 1 dspace dspace 545 Feb 20 09:13 siteinfo.bin
-rw-r--r-- 1 dspace dspace 833 Feb 12 14:45 config.dct.orig
drwxr-xr-x 14 dspace other 512 Feb 12 11:13 ..
-rw-r--r-- 1 dspace dspace 0 Feb 12 11:13 access.log
-rw-r--r-- 1 dspace dspace 335 Feb 12 11:09 admpriv.bin
-rw-r--r-- 1 dspace dspace 441 Feb 12 11:09 admpub.bin
-rw-r--r-- 1 dspace dspace 335 Feb 12 11:09 privkey.bin
-rw-r--r-- 1 dspace dspace 440 Feb 12 11:09 pubkey.bin
$ \rm *.bin
$ pwd
/www/dspace/handle-server
$ cd ../bin
$ ./make-handle-config
Writing simple Handle server configuration
Warning: data not encrypted
Warning: data not encrypted
Tansley, Robert
2003-02-20 20:53:41 UTC
Permalink
Hi,

It's actually Tomcat you need to stop and restart. The Handle server run by DSpace doesn't do much--it just uses what's in the database to respond to incoming Handle resolution requests, which only happen when someone tries to resolve a Handle in one of these forms:

hdl:1234/5678
http://hdl.handle.net/1234/5678

It's the DSpace code, which runs in Tomcat's JVM when it's being accessed via the UI, that actually assigns Handles to new objects. So restarting Tomcat will get the new prefix used.

Robert Tansley / Hewlett-Packard Laboratories / (+1) 617 551 7624
-----Original Message-----
Sent: 20 February 2003 14:47
Subject: [Dspace-tech] Handle server setup
Hi - I don't seem to have seen this issue brought up before
about the handle server. We actually started the handle
server on our site before receiving our naming authority
information. Of course, it was using the 1721 (MIT) handle.
I created a community and some collections and uploaded some
files using this handle (couldn't wait to try it out!). The
problem is that now that I have my own number from CNRI, I
can't seem to get DSpace to start using the new handle.
I have edited the dspace.cfg with the new information.
Killed the handle server and associated "activation.jar"
process, removed the files in handle-server/txns, and also
tried removing *.bin from handle-server, before I then ran
make-handle-config and then start-handle-server.
I don't seem to see any errors in the handle server log, but
I did get a Warning when I ran make-handle-config (see below
unix session).
Should I be trying the recently posted new code (doesn't seem
to be related?).
I even tried deleting my community and starting a fresh.
Still using the old handle.
Any help is appreciated.
Loading...