Hello, everyone.
I want to configure the handle on a DSpace version 7.6.1 that I have for
testing.
These are the permissions for the dspace directory: ls -ld dspace
drwxrwxr-x 9 dspace tomcat 4096 Nov 22 16:45 dspace
When I run the command dspace@dspace-1:/usr/local/
myspacedirectory/DSpace/dspace/bin$ ./make-handle-config
I get this error:
Writing simple Handle server configuration
*Error: no se ha encontrado o cargado la clase principal
org.dspace.app.launcher.ScriptLauncherCausado por:
java.lang.ClassNotFoundException: org.dspace.app.launcher.ScriptLauncher*
Usage: host [-aCdilrTvVw] [-c class] [-N ndots] [-t type] [-W time]
[-R number] [-m flag] [-p port] hostname [server]
-a is equivalent to -v -t ANY
-A is like -a but omits RRSIG, NSEC, NSEC3
-c specifies query class for non-IN data
-C compares SOA records on authoritative nameservers
-d is equivalent to -v
-l lists all hosts in a domain, using AXFR
-m set memory debugging flag (trace|record|usage)
-N changes the number of dots allowed before root lookup is done
-p specifies the port on the server to query
-r disables recursive processing
-R specifies number of retries for UDP packets
-s a SERVFAIL response should stop query
-t specifies the query type
-T enables TCP/IP mode
-U enables UDP mode
-v enables verbose output
-V print version number and exit
-w specifies to wait forever for a reply
-W specifies how long to wait for a reply
-4 use IPv4 query transport only
-6 use IPv6 query transport only
Error: no se ha encontrado o cargado la clase principal
org.dspace.app.launcher.ScriptLauncher
Causado por: java.lang.ClassNotFoundException:
org.dspace.app.launcher.ScriptLauncher
Error: no se ha encontrado o cargado la clase principal
org.dspace.app.launcher.ScriptLauncher
Causado por: java.lang.ClassNotFoundException:
org.dspace.app.launcher.ScriptLauncher
Error: no se ha encontrado o cargado la clase principal
org.dspace.app.launcher.ScriptLauncher
Causado por: java.lang.ClassNotFoundException:
org.dspace.app.launcher.ScriptLauncher
Error: no se ha encontrado o cargado la clase principal
org.dspace.app.launcher.ScriptLauncher
Causado por: java.lang.ClassNotFoundException:
org.dspace.app.launcher.ScriptLauncher
*./make-handle-config: 63: cannot open /config.dct: No such
file./make-handle-config: 73: cannot open /tmp/handleconfig27051: No such
file*
Could someone guide me?
Thank you!
Emilia.-
El sábado, 1 de junio de 2024 a las 20:55:20 UTC-3, Mehmet Demirel escribió:
Dear Friends,
The problem was with java class. We solved it by re-installing (build).
Example:
remove source-dspace-server
wget and unzip download source-dspace-server-7.6.1.zip
cd source-dspace-server
mvn package
On Fri, 31 May 2024 at 16:56, Ricardo Ruiz Altamiranda <[email protected]>
wrote:
Hi,
Handle Technical Manual (
http://www.handle.net/tech_manual/HandleTechnicalManual.pdf ), says:
"The Handle.net software distribution comes with a browser-based
administrative client, "admin.war",
which could be accessed at https://IP-ADDRESS:8000/admin/, where the IP
address should be the
public address from siteinfo.json. Note that even though it is accessible
through the Handle server as
a convenience, this is a pure client, which talks to the handle server over
its public HTTP API, and
could in principle run anywhere".
El lunes, 19 de febrero de 2024 a las 10:56:56 UTC-5, Mehmet Demirel
escribió:
Same Error.
dspace bin/make-handle-config: line 63: /dspace/handle-server/config.dct:
No such file or directory
handle.prefix = 20.500.xxxx
handle.canonical.prefix = https://hdl.handle.net/
handle.dir = ${dspace.dir}/handle-server
On Friday 28 July 2023 at 03:46:25 UTC+3 Romy Forrer wrote:
Hi there
I have had some problems trying to get the CNRI handle server configuration
done on our new Dspace 7.6 production RHEL 8 server.
We are migrating from current 6.3 production server to 7.6 production
server next Tuesday so already have handle prefix etc. and just need to set
up the handle server config on new server to provide handle admins with new
sitebndl.zip.
I initially followed instructions on
https://wiki.lyrasis.org/display/DSDOC7x/Handle.Net+Registry+Support just
using the command
[dspace]/bin/make-handle-config
This failed to prompt for any information/questions - all I got was
"writing simple Handle server configuration" – no error messages. However
when I opened config.dct to check it it had a different IP address to the
one we want to register and was missing the lines from server_config that
were supposed to appear so figured something went wrong in the process.
I ran the command again hoping to get a complete file and it seemed to work
ok the second time (renamed previous config.dct and made a new one but
sitebndl.zip unchanged) - however I still didn't get any prompts for
information/questions. I sent the sitebndl.zip to CNRI handle admins and
asked them what IP/ports had come through in the sitebndl.zip since I
couldn’t specify in the question answers and they reported it was the IP
address we didn't want and also port 2643 instead of 2641 (which is the
default handle port and is the one we had opened in our firewall)?
I found -
https://groups.google.com/g/dspace-tech/c/Dee91VMhkF8/m/mr7jCmmKAQAJ and
figured I would try that method instead. I renamed the previous
handle-server directory to handle-server-old and tried [dspace]/bin/dspace
make-handle-config [dspace]/handle-server as suggested and that worked to
bring up all the questions and the suggested default IP address and ports
in the prompts were correct so assume the sitebndl.zip is too.
However it finished with the error message below and I not sure if this is
important or not for handle server operation (also had to add in the
server_config parameters for the plug in manually to config.dct).
"*WARNING: Error adding admin.war to server:*
*java.io.FileNotFoundException: /[dspace]/admin.war (No such file or
directory)*
*You will have to add admin.war to the webapps subdirectory manually.*"
Would someone be able to comment on whether or not we can just ignore that
error (webapps directory in the handle-server directory from the original
simple set up attempt was empty so hoping that admin.war isn't actually
required)?
I won’t attempt to start the handle server until Tuesday when we have
officially cut over to the new production server so would be good to know
ahead of time.
Our local.cfg still has some placeholder/test definitions in it since we're
not live yet - that may be why we had problems with make-handle-config (was
just trying to do it early so could get the new sitebndl.zip to handle
admins ahead of the change date).
Kind Regards,
Romy
Romy Forrer (she/her)
Library Systems Coordinator | *Kairuruku Ratonga Matihiko*
Library Access and Collections |*Tūāpā Kohinga*
Central Library | *Te Puna M**ātauraka o Waitaha*
Puaka - James Hight Building| Room 519
*Phone:* +64 3 369 3875
University of Canterbury |Te Whare Wānanga o Waitaha |Private Bag 4800
|Christchurch
8140| New Zealand
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to a topic in the
Google Groups "DSpace Technical Support" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/dspace-tech/yYrMAEeQP3M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/c6fd2132-222a-468b-b957-1309fec04ba9n%40googlegroups.com
<https://groups.google.com/d/msgid/dspace-tech/c6fd2132-222a-468b-b957-1309fec04ba9n%40googlegroups.com?utm_medium=email&utm_source=footer>
.
--
Kind regards,
[image: Mehmet demirel] Mehmet Demirel
Software Specialist, SelenSoft Software and Consulting Ltd. +90 212 909
2030 | +90 532 354 3340 | selensoft.com.tr [email protected] | İstanbul
- Turkey <https://maps.google.com/?q=İstanbul+-+Turkey>
Create your own email signature
<https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/dspace-tech/4a0b9f30-f82c-4faf-a072-f7d0b70b2ed1n%40googlegroups.com.