[Dspace-tech] item display
I just upgraded dspace 1.6 2 in to dspace 1.7.1. And I want to an view item in either manakin or mirage interface. I just modify some code inside item-view.xsl and DIM-Handler.xsl.it works fine for the newly added items on 1.7.1 version however an items migrated from dspace 1.6.2 can't be viewed just like new entries are viewed. Can you assist me on this? Thanks sisay -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace 1.7.1
Hi... I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1. Everything has worked perfectly until I came to the step: /dspace/bin/dspace index-init When I try to execute that, I get: Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) I can't figure this out. All of the Class paths seem fine. Anyone have any suggestions? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1
You are using an old version of Java; older than the version that the code was compiled under. Ralph From: George Stanley Kozak [mailto:g...@cornell.edu] Sent: Thursday, April 28, 2011 9:50 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1 Hi... I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1. Everything has worked perfectly until I came to the step: /dspace/bin/dspace index-init When I try to execute that, I get: Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) I can't figure this out. All of the Class paths seem fine. Anyone have any suggestions? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace 1.7.1
Hello George, you used a newer version to compile your code with than you use in runtime. You can check which versions you are using per default with javac -version java -version Hope that helps Claudia Juergen Am 28.04.2011 15:50, schrieb George Stanley Kozak: Hi... I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1. Everything has worked perfectly until I came to the step: /dspace/bin/dspace index-init When I try to execute that, I get: Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) I can't figure this out. All of the Class paths seem fine. Anyone have any suggestions? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1
Thank you, Ralph: That led me to my problem. I have Jdk 1.6.0 installed, but my server has jdk 1.5 installed as the default (and our IT group won't allow me to replace it). My paths were such that when I tried to execute java, it was going to the old one instead of the newer one. I will fix that. Thanks, again! George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 From: LeVan,Ralph [mailto:le...@oclc.org] Sent: Thursday, April 28, 2011 9:57 AM To: George Stanley Kozak; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1 You are using an old version of Java; older than the version that the code was compiled under. Ralph From: George Stanley Kozak [mailto:g...@cornell.edu] Sent: Thursday, April 28, 2011 9:50 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace1.7.1 Hi... I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1. Everything has worked perfectly until I came to the step: /dspace/bin/dspace index-init When I try to execute that, I get: Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) I can't figure this out. All of the Class paths seem fine. Anyone have any suggestions? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace 1.7.1
Thanks, Claudia: Yes, I found it. George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -Original Message- From: Claudia Jürgen [mailto:claudia.juer...@ub.tu-dortmund.de] Sent: Thursday, April 28, 2011 10:18 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace 1.7.1 Hello George, you used a newer version to compile your code with than you use in runtime. You can check which versions you are using per default with javac -version java -version Hope that helps Claudia Juergen Am 28.04.2011 15:50, schrieb George Stanley Kozak: Hi... I am upgrading (in Test) from DSpace 1.6.2 to DSpace 1.7.1. Everything has worked perfectly until I came to the step: /dspace/bin/dspace index-init When I try to execute that, I get: Exception in thread main java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) I can't figure this out. All of the Class paths seem fine. Anyone have any suggestions? George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] AUTO: Carolyn Groom is out of the office. (returning 09/05/2011)
I am out of the office until 09/05/2011. I will respond to your message when I return. For urgent enquiries please contact Jeanette Shields on ext. 6370. Note: This is an automated response to your message Re: [Dspace-tech] Problem with upgrading from DSpace 1.6.2 to DSpace 1.7.1 sent on 4/28/2011 3:17:48 PM. This is the only notification you will receive while this person is away. This email and any attachments may contain private and confidential information and is solely intended for the recipient(s) only. If you have received this email and any attachments in error and you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this message in error, please notify the sender immediately by reply email and delete the message and any attachments without retaining any copies. Any views or other information in this message which do not relate to our business are not authorised by us, nor does this message form part of any contract unless so stated. We offer no guarantees that this email or any attachment will be received error or virus free and accept no responsibility whatsoever in this regard. Our e-mail system is subject to random monitoring and recording by us. Carnegie College is a body incorporated under the Further and Higher Education (Scotland) Act 1992. Check out what is new at Carnegie @ www.carnegiecollege.ac.uk -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Setting JSESSIONID cookie to httpOnly in DSpace 1.5.1
Hi Sue, Can someone help me figure out the correct code to use if I wanted to modify DSpace 1.5.1 to set the JSESSIONID cookie to httpOnly, and where would be the best place to put it? Header-default.jsp? Index.jsp? Any help would very much be appreciated. If you are running a recent-ish version of Tomcat, you can set this in [tomcat]/conf/context.xml: Change: Context to Context useHttpOnly=true I was able to verify it was set by using Firebug+FireCookie in Firefox. Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] item display
Hi Sisay, On 28/04/11 20:18, Webshet, Sisay (ILRI) wrote: I just modify some code inside item-view.xsl and DIM-Handler.xsl.it works fine for the newly added items on 1.7.1 version however an items migrated from dspace 1.6.2 can't be viewed just like new entries are viewed. Can you assist me on this? You'll need to provide a bit more detail about the problem. What do you mean that migrated items can't be viewed? Are you getting an error message? Are there any fields missing from the item view? My first guess would be that you changed the metadata fields that are populated when an item is added. If your new item-view.xsl and DIM-Handler.xsl use the new set of fields then this can cause problems with old items if they don't have values for some or all of these fields. If this is the case, then there are two possible solutions: - change the metadata for the old items, or - make sure that the XSL stylesheets can cope with both sets of metadata fields. cheers, Andrea -- Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech