Re: [Dspace-tech] Handle Server starting problem
Have a look in /etc/rc.d or /etc/init.d and see if you've a script for stop/starting the handle server. On my system, I have the following $ head /etc/init.d/handled #!/bin/sh # # chkconfig: 345 86 14 # description: Starts and stops the handle service # # Source function library. if [ -f /etc/init.d/functions ] ; then . /etc/init.d/functions -- Van Ly : University of Sydney Library From: Jozsef Gabor Bone Sent: Thu 29/01/2009 12:54 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Handle Server starting problem Dear Members! Unfortunately it seems, that in our site (http://snap.archivum.ws/dspace - dspace. 1.4), the handle server is not running. If I click on a handle.net lin, it gives me the 'Error - Cannot Connect to Server'. Unfortunately I'm a new colleague here, so who installed dspace has already left us. I tried to start Handle Server in two ways: 1. osasite:~# /usr/local/dspace/bin/start-handle-server Nothing has happened, the error log said: 2. java -cp /hs/bin/handle.jar net.handle.server.Main /hs/svr_1 "2009/01/23 11:20:30 GMT+01:00" 25 Rotating log files -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Handle Server starting problem
Hi Jozsef, seems as if you're using gcj instead of jdk. Check the environment in which you are calling start-handle-server. Hope that helps Claudia Jürgen Jozsef Gabor Bone schrieb: > Dear Members! > > Unfortunately it seems, that in our site (http://snap.archivum.ws/dspace - > dspace. 1.4), the handle server is not running. > If I click on a handle.net lin, it gives me the 'Error - Cannot Connect to > Server'. > > Unfortunately I'm a new colleague here, so who installed dspace has already > left us. > > I tried to start Handle Server in two ways: > 1. > osasite:~# /usr/local/dspace/bin/start-handle-server > Nothing has happened, the error log said: > > "2009/01/23 11:17:03 GMT+01:00" 25 Started new run. > Exception in thread "main" java.lang.NoClassDefFoundError: > net.handle.security.provider.SunJceHdlSecurityProvider >at java.lang.Class.initializeClass(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at > net.handle.security.HdlSecurityProvider.getInstance(HdlSecurityProvider.java:36) >at net.handle.hdllib.Util.decrypt(Util.java:961) >at net.handle.server.HandleServer.(HandleServer.java:270) >at net.handle.server.AbstractServer.getInstance(AbstractServer.java:74) >at net.handle.server.Main.initialize(Main.java:172) >at net.handle.server.Main.main(Main.java:96) > Caused by: java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE > not found in > gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/mysql-connec > tor-java/mysql-connector-java-5.0.6-bin.jar,file:/usr/local/tomcat/lib/JavaBridge.jar,file:/usr/local/tomcat/lib/php-servlet.jar,file:/usr/local/tomcat/lib/p > hp-script.jar,file:/usr/local/dspace/lib/PDFBox.jar,file:/usr/local/dspace/lib/activation.jar,file:/usr/local/dspace/lib/commons-cli.jar,file:/usr/local/dspa > ce/lib/commons-codec-1.3.jar,file:/usr/local/dspace/lib/commons-collections.jar,file:/usr/local/dspace/lib/commons-dbcp.jar,file:/usr/local/dspace/lib/common > s-fileupload.jar,file:/usr/local/dspace/lib/commons-pool.jar,file:/usr/local/dspace/lib/dspace.jar,file:/usr/local/dspace/lib/handle.jar,file:/usr/local/dspa > ce/lib/jakarta-poi.jar,file:/usr/local/dspace/lib/jargon.jar,file:/usr/local/dspace/lib/jaxen-1.1-beta-7.jar,file:/usr/local/dspace/lib/jdom.jar,file:/usr/lo > cal/dspace/lib/jena.jar,file:/usr/local/dspace/lib/jstl.jar,file:/usr/local/dspace/lib/log4j.jar,file:/usr/local/dspace/lib/lucene-sandbox.jar,file:/usr/loca > l/dspace/lib/lucene.jar,file:/usr/local/dspace/lib/mail.jar,file:/usr/local/dspace/lib/mets.jar,file:/usr/local/dspace/lib/oaicat.jar,file:/usr/local/dspace/ > lib/oro.jar,file:/usr/local/dspace/lib/postgresql-8.2dev-503.jdbc3.jar,file:/usr/local/dspace/lib/rome.jar,file:/usr/local/dspace/lib/servlet.jar,file:/usr/l > ocal/dspace/lib/standard.jar,file:/usr/local/dspace/lib/tm-extractors.jar,file:/usr/local/dspace/lib/xalan.jar,file:/usr/local/dspace/lib/xercesImpl.jar,file > :/usr/local/dspace/lib/xml-apis.jar,file:/usr/local/dspace/config/], > parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} >at java.net.URLClassLoader.findClass(libgcj.so.70) >at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) >at java.lang.ClassLoader.loadClass(libgcj.so.70) >at java.lang.ClassLoader.loadClass(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at java.lang.Class.initializeClass(libgcj.so.70) >...8 more > > 2. > java -cp /hs/bin/handle.jar net.handle.server.Main /hs/svr_1 > "2009/01/23 11:20:30 GMT+01:00" 25 Rotating log files > > The error log: > "2009/01/23 11:20:30 GMT+01:00" 25 Started new run. > Exception in thread "main" java.lang.NoClassDefFoundError: > net.handle.security.provider.SunJceHdlSecurityProvider >at java.lang.Class.initializeClass(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at > net.handle.security.HdlSecurityProvider.getInstance(HdlSecurityProvider.java:36) >at net.handle.hdllib.Util.decrypt(Util.java:965) >at net.handle.server.HandleServer.(HandleServer.java:285) >at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72) >at net.handle.server.Main.initialize(Main.java:172) >at net.handle.server.Main.main(Main.java:96) > Caused by: java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE > not found in > gnu.gcj.runtime.SystemClassLoader{urls=[file:/hs/bin/handle.jar], pa > rent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} >at java.net.URLClassLoader.findClass(libgcj.so.70) >at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) >at java.lang.ClassLoader.loadClass(libgcj.so.70) >at java.lang.ClassLoader.loadClass(libgcj.so.70) >at java.lang.Class.forName(libgcj.so.70) >at java.lang.Class.initializeClass(libgcj.so.70) >...8 more > > To be honest, I have absolutely no idea where to start to debug this error! >
[Dspace-tech] Handle Server starting problem
Dear Members! Unfortunately it seems, that in our site (http://snap.archivum.ws/dspace - dspace. 1.4), the handle server is not running. If I click on a handle.net lin, it gives me the 'Error - Cannot Connect to Server'. Unfortunately I'm a new colleague here, so who installed dspace has already left us. I tried to start Handle Server in two ways: 1. osasite:~# /usr/local/dspace/bin/start-handle-server Nothing has happened, the error log said: "2009/01/23 11:17:03 GMT+01:00" 25 Started new run. Exception in thread "main" java.lang.NoClassDefFoundError: net.handle.security.provider.SunJceHdlSecurityProvider at java.lang.Class.initializeClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at net.handle.security.HdlSecurityProvider.getInstance(HdlSecurityProvider.java:36) at net.handle.hdllib.Util.decrypt(Util.java:961) at net.handle.server.HandleServer.(HandleServer.java:270) at net.handle.server.AbstractServer.getInstance(AbstractServer.java:74) at net.handle.server.Main.initialize(Main.java:172) at net.handle.server.Main.main(Main.java:96) Caused by: java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/mysql-connec tor-java/mysql-connector-java-5.0.6-bin.jar,file:/usr/local/tomcat/lib/JavaBridge.jar,file:/usr/local/tomcat/lib/php-servlet.jar,file:/usr/local/tomcat/lib/p hp-script.jar,file:/usr/local/dspace/lib/PDFBox.jar,file:/usr/local/dspace/lib/activation.jar,file:/usr/local/dspace/lib/commons-cli.jar,file:/usr/local/dspa ce/lib/commons-codec-1.3.jar,file:/usr/local/dspace/lib/commons-collections.jar,file:/usr/local/dspace/lib/commons-dbcp.jar,file:/usr/local/dspace/lib/common s-fileupload.jar,file:/usr/local/dspace/lib/commons-pool.jar,file:/usr/local/dspace/lib/dspace.jar,file:/usr/local/dspace/lib/handle.jar,file:/usr/local/dspa ce/lib/jakarta-poi.jar,file:/usr/local/dspace/lib/jargon.jar,file:/usr/local/dspace/lib/jaxen-1.1-beta-7.jar,file:/usr/local/dspace/lib/jdom.jar,file:/usr/lo cal/dspace/lib/jena.jar,file:/usr/local/dspace/lib/jstl.jar,file:/usr/local/dspace/lib/log4j.jar,file:/usr/local/dspace/lib/lucene-sandbox.jar,file:/usr/loca l/dspace/lib/lucene.jar,file:/usr/local/dspace/lib/mail.jar,file:/usr/local/dspace/lib/mets.jar,file:/usr/local/dspace/lib/oaicat.jar,file:/usr/local/dspace/ lib/oro.jar,file:/usr/local/dspace/lib/postgresql-8.2dev-503.jdbc3.jar,file:/usr/local/dspace/lib/rome.jar,file:/usr/local/dspace/lib/servlet.jar,file:/usr/l ocal/dspace/lib/standard.jar,file:/usr/local/dspace/lib/tm-extractors.jar,file:/usr/local/dspace/lib/xalan.jar,file:/usr/local/dspace/lib/xercesImpl.jar,file :/usr/local/dspace/lib/xml-apis.jar,file:/usr/local/dspace/config/], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.70) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) ...8 more 2. java -cp /hs/bin/handle.jar net.handle.server.Main /hs/svr_1 "2009/01/23 11:20:30 GMT+01:00" 25 Rotating log files The error log: "2009/01/23 11:20:30 GMT+01:00" 25 Started new run. Exception in thread "main" java.lang.NoClassDefFoundError: net.handle.security.provider.SunJceHdlSecurityProvider at java.lang.Class.initializeClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at net.handle.security.HdlSecurityProvider.getInstance(HdlSecurityProvider.java:36) at net.handle.hdllib.Util.decrypt(Util.java:965) at net.handle.server.HandleServer.(HandleServer.java:285) at net.handle.server.AbstractServer.getInstance(AbstractServer.java:72) at net.handle.server.Main.initialize(Main.java:172) at net.handle.server.Main.main(Main.java:96) Caused by: java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/hs/bin/handle.jar], pa rent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.70) at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.ClassLoader.loadClass(libgcj.so.70) at java.lang.Class.forName(libgcj.so.70) at java.lang.Class.initializeClass(libgcj.so.70) ...8 more To be honest, I have absolutely no idea where to start to debug this error! If anyone can advise me a good solution, I would be very pleased and thankful! All the best, Jozsef Gabor Bone OSA -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___