[Dspace-tech] Handle server error

329 views
Skip to first unread message

Tiago Ferreira

unread,
Aug 24, 2015, 4:53:21 PM8/24/15
to DSpac...@lists.sourceforge.net
I´m getting this error, when starting my handle server

"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlUdpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: Cannot bind
"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlUdpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: Cannot bind
"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlTcpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: JVM_Bind
"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlTcpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: JVM_Bind
"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlHttpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: JVM_Bind
"2007/04/17 02:46:00 BRT" 100 class net.handle.server.HdlHttpInterface: Error setting up server socket: java.net.BindException: Cannot assign requested address: JVM_Bind

Any Ideas?

Thanks in advance
Tiago Ferreira

marcelo.carius

unread,
Aug 24, 2015, 4:53:22 PM8/24/15
to DSpac...@lists.sourceforge.net
Tiago,
can you try execute a command telnet <ip> port to identify a response of server. If has any problem, you will contact a MIT. If the telnet sucess, return for identify other possible problem.

[]'s
Marcelo Carius


On Tue, 17 Apr 2007 15:16:51 -0300, Tiago Ferreira wrote

marcelo.carius

unread,
Aug 24, 2015, 4:53:23 PM8/24/15
to DSpac...@lists.sourceforge.net
Tiago,
can you try execute a command, on prompt: telnet <ip server handle> port , to identify a response of server. If has any problem, you will contact a MIT. If the telnet sucess, return for identify other possible problem.

[]'s
Marcelo Carius


On Tue, 17 Apr 2007 15:16:51 -0300, Tiago Ferreira wrote

Sam Alloing

unread,
Aug 24, 2015, 5:01:41 PM8/24/15
to dspac...@lists.sourceforge.net
Hello,

I'm trying to setup a Handle server but I get an error in the error.log:

100 class net.handle.server.HdlUdpInterface: Error setting up server
socket: java.net.BindException: Can't assign requested address
"2007/06/13 09:24:18 CEST" 100 class
net.handle.server.HdlUdpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address
"2007/06/13 09:24:18 CEST" 100 class
net.handle.server.HdlTcpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address
"2007/06/13 09:24:18 CEST" 100 class
net.handle.server.HdlTcpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address
"2007/06/13 09:29:18 CEST" 100 class
net.handle.server.HdlUdpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address
"2007/06/13 09:29:18 CEST" 100 class
net.handle.server.HdlUdpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address
"2007/06/13 09:29:18 CEST" 100 class
net.handle.server.HdlTcpInterface: Error setting up server socket:
java.net.BindException: Can't assign requested address

The Handle Console reports:

...HandleException (CANNOT_CONNECT_TO_SERVER) 81.83.49.50:
java.net.ConnectException: Connection refused
at net.handle.hdllib.HandleResolver.sendHttpRequest(HandleResolver.java:1895)
at net.handle.hdllib.HandleResolver.sendRequestToInterface(HandleResolver.java:1297)
at net.handle.hdllib.HandleResolver.sendRequestToServerByProtocol(HandleResolver.java:1033)
at net.handle.hdllib.HandleResolver.sendRequestToSite(HandleResolver.java:849)
at net.handle.hdllib.HandleResolver.sendRequestToService(HandleResolver.java:747)
at net.handle.hdllib.HandleResolver.processRequestGlobally(HandleResolver.java:544)
at net.handle.hdllib.HandleResolver.processRequest(HandleResolver.java:519)
at net.handle.hdllib.HandleResolver.processRequest(HandleResolver.java:529)
at net.handle.apps.gui.hadmin.HandleTool$ProcessRequest.run(HandleTool.java:578)
at net.handle.awt.TaskIndicator.run(TaskIndicator.java:99)
at java.lang.Thread.run(Thread.java:613)
sending HDL-TCP request (version=2.1; oc=1; rc=0; snId=0 caCrt
noAuth 10194 [ ] [ ]) to 81.83.49.50:2641
sending HDL-HTTP request (version=2.1; oc=1; rc=0; snId=0 caCrt
noAuth 10194 [ ] [ ]) to 81.83.49.50:8000
...

When I try to connect with telnet I get connection refused as a
response. I disabled my firewall and I forwarded the ports 8000 and
2641, but I can't get the Handle server to work. I see the handle
service trying to contact ports 8000 and 2641 but I get an error not
found on the handle website.

Any ideas what I can try?

Thanks

Sam

Sam Alloing

unread,
Aug 24, 2015, 5:01:49 PM8/24/15
to dspac...@lists.sourceforge.net
To answer my own question: The problem was that I used my external IP
address of my router in the configuration file. I had to use the
internal IP address (192....)

Sam

>
> I'm trying to setup a Handle server but I get an error in the error.log:
>
> 100 class net.handle.server.HdlUdpInterface: Error setting up server
> socket: java.net.BindException: Can't assign requested address
> ...

Jeffrey Trimble

unread,
Aug 24, 2015, 5:15:20 PM8/24/15
to dspac...@lists.sourceforge.net
For some strange reason, when I started my handle server today I received this nasty error:

dspace@dspace:/dspace/bin> ./start-handle-server
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/dspace/core/ConfigurationManager (Unsupported major.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/dspace/core/ConfigurationManager (Unsupported major.minor version 48.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
./start-handle-server: line 61: /handle-server.log: Permission denied


I've never seen that one before.  Any ideas?


Jeffrey Trimble
Systems Librarian
Maag Library
Youngstown State University


Stuart Lewis [sdl]

unread,
Aug 24, 2015, 5:15:22 PM8/24/15
to Jeffrey Trimble, dspac...@lists.sourceforge.net
Hi Jeffrey,

> dspace@dspace:/dspace/bin> ./start-handle-server
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/dspace/core/ConfigurationManager (Unsupported major.minor version 48.0)
>
> I've never seen that one before.  Any ideas?

I think this error is caused by your jvm. Have you somehow reverted to an
older version of Java than you used to compile the code?

Cheers,


Stuart
_________________________________________________________________

Gwasanaethau Gwybodaeth Information Services
Prifysgol Cymru Aberystwyth University of Wales Aberystwyth

E-bost / E-mail: Stuart...@aber.ac.uk
Ffon / Tel: (01970) 622860
_________________________________________________________________


Jeffrey Trimble

unread,
Aug 25, 2015, 1:09:47 PM8/25/15
to DSpace Tech
When working with the handle server, the installation went by the book.  Then when attempting to use the handle link we receive the
following error.  Has anyone seen this error before?  If so, how did you resolve it.

"2009/10/22 12:52:32 EDT" 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)

For us ports 2641 and 8000 are completely open.

Thanks, in advance,


Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
"I must not fear.  Fear is the mind-killer.
I will permit it to pass over me and through me..."
--Litany against fear....

Heh, Gregory

unread,
Aug 25, 2015, 1:41:08 PM8/25/15
to DSpac...@lists.sourceforge.net

I have been having issues setting up the handle server.  I am seeing the following error in handle-plugin.log.

 

2010-03-26 16:26:30,747 INFO  org.dspace.handle.HandlePlugin @ Called

> init (not implemented)

> 2010-03-26 16:26:30,749 INFO  org.dspace.handle.HandlePlugin @ Called

> scanNAs (not implemented)

> 2010-03-26 16:31:56,892 INFO  org.dspace.handle.HandlePlugin @ Called

> init (not implemented)

> 2010-03-26 16:31:56,893 INFO  org.dspace.handle.HandlePlugin @ Called

> scanNAs (not implemented)

> 2010-03-26 16:35:15,125 INFO  org.dspace.handle.HandlePlugin @ Called

> init (not implemented)

> 2010-03-26 16:35:15,126 INFO  org.dspace.handle.HandlePlugin @ Called

> scanNAs (not implemented)

> 2010-03-26 16:39:13,017 INFO  org.dspace.handle.HandlePlugin @ Called

> haveNA

> 2010-03-26 16:39:13,022 INFO  org.dspace.core.ConfigurationManager @

> Loading from classloader: file:/dspace/config/dspace.cfg

> 2010-03-26 16:39:13,033 INFO  org.dspace.core.ConfigurationManager @

> Using default log4j provided log configuration,if uninitended, check

> your dspace.cfg for ($

> 2010-03-26 16:39:13,192 INFO  org.dspace.handle.HandlePlugin @ Called

> haveNA

> 2010-03-26 16:39:16,192 INFO  org.dspace.handle.HandlePlugin @ Called

> haveNA

> 2010-03-26 16:59:35,706 INFO  org.dspace.handle.HandlePlugin @ Called

> init (not implemented)

> 2010-03-26 16:59:35,707 INFO  org.dspace.handle.HandlePlugin @ Called

> scanNAs (not implemented)

 

Any suggestions are greatly appreciated.  Thanks.

 

Greg

 

This email message and any files transmitted with it are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law.  Any use, distribution, copying or disclosure by anyone other than the intended individual or entity is prohibited without prior approval.  If you have received this information in error, please notify the sender immediately.

Reply all
Reply to author
Forward
0 new messages