Thanks Stuart, That worked.
Cheers Kevin -----Original Message----- From: Stuart Lewis [mailto:[email protected]] Sent: 25 November 2009 19:34 To: Evans, Kevin Cc: [email protected] Subject: Re: [Dspace-tech] Error in Handle Server Simple Set up Hi Kevin, Try uninstalling GNU Java, and install Sun's Java instead. Hopefully that will fix your problem. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ On 26/11/2009, at 2:22 AM, Evans, Kevin wrote: > Hi, > > I'm setting up a handle server for a new dspace repository: > > On generating the Private Key I receive the follow error: > > Exception in thread "main" java.lang.NoClassDefFoundError: net.handle.security.provider.SunJceHdlSecurityProvider > at java.lang.Class.initializeClass(libgcj.so.7rh) > at java.lang.Class.forName(libgcj.so.7rh) > at java.lang.Class.forName(libgcj.so.7rh) > at net.handle.security.HdlSecurityProvider.getInstance(HdlSecurityProvider.java :36) > at net.handle.hdllib.Util.encrypt(Util.java:890) > at net.handle.hdllib.Util.encryptIfPossible(Util.java:931) > at net.handle.server.SimpleSetup.generateKeys(SimpleSetup.java:527) > at net.handle.server.SimpleSetup.main(SimpleSetup.java:331) > Caused by: java.lang.ClassNotFoundException: com.sun.crypto.provider.SunJCE not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./,file:/mnt/opt/dspace/lib/act ivation-1.1.jar,file:/mnt/opt/dspace/lib/bcmail-jdk14-136.jar,file:/mnt/opt/ dspace/lib/bcprov-jdk14-136.jar,file:/mnt/opt/dspace/lib/commons-cli-1.0.jar ,file:/mnt/opt/dspace/lib/commons-codec-1.3.jar,file:/mnt/opt/dspace/lib/com mons-collections-3.2.jar,file:/mnt/opt/dspace/lib/commons-dbcp-1.2.2.jar,fil e:/mnt/opt/dspace/lib/commons-fileupload-1.2.1.jar,file:/mnt/opt/dspace/lib/ commons-io-1.4.jar,file:/mnt/opt/dspace/lib/commons-lang-2.2.jar,file:/mnt/o pt/dspace/lib/commons-logging-1.0.jar,file:/mnt/opt/dspace/lib/commons-pool- 1.4.jar,file:/mnt/opt/dspace/lib/dom4j-1.6.1.jar,file:/mnt/opt/dspace/lib/ds pace-api-1.5.2.jar,file:/mnt/opt/dspace/lib/dspace-api-lang-1.5.2.1.jar,file :/mnt/opt/dspace/lib/fontbox-0.1.0.jar,file:/mnt/opt/dspace/lib/handle-5.3.4 .jar,file:/mnt/opt/dspace/lib/icu4j-3.4.4.jar,file:/mnt/opt/dspace/lib/jargo n-1.4.25.jar,file:/mnt/opt/dspace/lib/jaxen-1.1.jar,file:/mnt/opt/dspace/lib /jdom-1.0.jar,file:/mnt/opt/dspace/lib/jempbox-0.2.0.jar,file:/mnt/opt/dspac e/lib/log4j-1.2.14.jar,file:/mnt/opt/dspace/lib/lucene-analyzers-2.3.0.jar,f ile:/mnt/opt/dspace/lib/lucene-core-2.3.0.jar,file:/mnt/opt/dspace/lib/mail- 1.4.jar,file:/mnt/opt/dspace/lib/mets-1.5.2.jar,file:/mnt/opt/dspace/lib/oro -2.0.8.jar,file:/mnt/opt/dspace/lib/pdfbox-0.7.3.jar,file:/mnt/opt/dspace/li b/poi-2.5.1-final-20040804.jar,file:/mnt/opt/dspace/lib/postgresql-8.1-408.j dbc3.jar,file:/mnt/opt/dspace/lib/rome-0.8.jar,file:/mnt/opt/dspace/lib/tm-e xtractors-0.4.jar,file:/mnt/opt/dspace/lib/xalan-2.7.0.jar,file:/mnt/opt/dsp ace/lib/xercesImpl-2.8.1.jar,file:/mnt/opt/dspace/lib/xml-apis-1.3.02.jar,fi le:/mnt/opt/dspace/lib/xmlParserAPIs-2.0.2.jar,file:/mnt/opt/dspace/config/] , parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > at java.net.URLClassLoader.findClass(libgcj.so.7rh) > at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh) > at java.lang.ClassLoader.loadClass(libgcj.so.7rh) > at java.lang.ClassLoader.loadClass(libgcj.so.7rh) > at java.lang.Class.forName(libgcj.so.7rh) > at java.lang.Class.initializeClass(libgcj.so.7rh) > ...7 more > Any advice gratefully recieved > > Cheers > > Kevin > > > Kevin Evans MA > Web Services Developer, > Integration and Webservices, > Room 901, > 9th Floor, Laver Building, > University of Exeter > North Park Road, > Exeter, > EX4 4RN > 01392 725573 > 07775027574 > http://my.exeter.ac.uk > > Times Higher University of the Year 2007-2008 > > This email and any attachment may contain information that is confidential, privileged, or subject to copyright, and which may be exempt from disclosure under applicable legislation. It is intended for the addressee only. If you received this message in error, please let me know and delete the email and any attachments immediately. The University will not accept responsibility for the accuracy/completeness of this e-mail and its attachments. The University cannot guarantee that this message and any attachments are virus free. Any views or opinions expressed in this message are my own and do not necessarily represent those of the University....don't waste your life reading this trash and get out and live. > > <Evans, > Kevin.vcf><smime.p7s>------------------------------------------------- > ----------------------------- Let Crystal Reports handle the reporting > - Free Crystal Reports 2008 30-Day trial. Simplify your report design, > integration and deployment - and focus on what you do best, core > application coding. Discover what's new with Crystal Reports now. > http://p.sf.net/sfu/bobj-july_________________________________________ > ______ > DSpace-tech mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dspace-tech
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

