[Dspace-tech] One DSpace, multiple domains
Greetings, I've seen the Multiple DSpace Instances wiki page, but I want one DSpace, multiple domains. I'm using DSpace 1.5.2 on behind Apache httpd with a ProxyPass/ProxyPassReverse. The server is Linux/Tomcat 5.5/httpd 2.2. Our DSpace instance is running on /dspace.example.org/ (in dspace.cfg) but we want to migrate to /publications.example.org/ while temporarily maintaining compatibility with old links. Is rewriting (URLs/Headers/Cookies?) the way to go, or can DSpace somehow handle requests from multiple domains? As far as Apache httpd is concerned, as long as DNS is set up correctly, my VirtualHost will capture the requests on both domains and pass them internally to Tomcat. The last time I tried that I couldn't get it working and we were rushing to deploy so we are only using the old domain. One thought is that it might be easier to switch our DSpace instance to the new domain (/publications.example.org/), and then use mod_rewrite to 301 old URLs (/dspace.example.org/) to the new URL. Thanks, -- Alan Orth a.o...@cgiar.org Linux Systems Administrator, ILRI-Kenya I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search box in xmlui
Hi Debashree I searched all dspace files for the file themes.xml so I can do the edit in it but a file I got is themes.xmap not themes.xml, do you created a file manually and if yes please indicate the full path to the file. Regards, Lewatle -Original Message- From: dp...@localhost.oln.org [mailto:dp...@localhost.oln.org] Sent: 13 April 2010 06:30 PM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Search box in xmlui Hi Lewatle, I had wanted to remove that search box completely instead of moving it to the bottom. Upon searching the dspace-tech I had found the snippet that worked for me. It might give you some clue about what you might need to do for moving it. The element that identifies the search box is named front-page-search. I have put this snippet in the themes xsl file. xsl:template match=dri:d...@n='front-page-search'] priority=4 /xsl:template Hope this will help, Debashree Hi Dspacers I want to move the default search box on xmlui interface the one in the middle to the bottom or I can say after communities on a default manakin page, anyone who knows which file I need to modify please let me know. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] One DSpace, multiple domains
Hi Alan, DSpace will answer to any domain, however it can only 'know' about one of them. This only normally affects things like emails where it has to include URLs, but it shouldn't be a problem as you can get it to write the new domain in - this is set in dspace.cfg using dspace.hostname and dspace.baseUrl. 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 (0)9 373 7599 x81928 On 20/04/2010, at 5:58 PM, Alan Orth wrote: Greetings, I've seen the Multiple DSpace Instances wiki page, but I want one DSpace, multiple domains. I'm using DSpace 1.5.2 on behind Apache httpd with a ProxyPass/ProxyPassReverse. The server is Linux/Tomcat 5.5/httpd 2.2. Our DSpace instance is running on dspace.example.org (in dspace.cfg) but we want to migrate to publications.example.org while temporarily maintaining compatibility with old links. Is rewriting (URLs/Headers/Cookies?) the way to go, or can DSpace somehow handle requests from multiple domains? As far as Apache httpd is concerned, as long as DNS is set up correctly, my VirtualHost will capture the requests on both domains and pass them internally to Tomcat. The last time I tried that I couldn't get it working and we were rushing to deploy so we are only using the old domain. One thought is that it might be easier to switch our DSpace instance to the new domain (publications.example.org), and then use mod_rewrite to 301 old URLs (dspace.example.org) to the new URL. Thanks, -- Alan Orth a.o...@cgiar.org Linux Systems Administrator, ILRI-Kenya I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ ATT1..txtATT2..txt -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] One DSpace, multiple domains
Stuart, Great, I think that's ok for our situation. So the configuration variables for hostname/baseurl are only used when DSpace has to refer to itself, like in e-mails. What about links? Our DSpace works on several URLs right now (:80/ and :80/jspui via ProxyPass from Apache, and :8080 direct to Tomcat), but it's all for the same domain name. I'm thinking we need to switch our DSpace (dspace.cfg) to the new domain, swap the Apache VirtualHost so that the new domain is the main one, and then make all requests for the old domain get 301'd via mod_rewrite. Thanks, Alan On 04/20/2010 11:24 AM, Stuart Lewis wrote: Hi Alan, DSpace will answer to any domain, however it can only 'know' about one of them. This only normally affects things like emails where it has to include URLs, but it shouldn't be a problem as you can get it to write the new domain in - this is set in dspace.cfg using dspace.hostname and dspace.baseUrl. 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 (0)9 373 7599 x81928 On 20/04/2010, at 5:58 PM, Alan Orth wrote: Greetings, I've seen the Multiple DSpace Instances wiki page, but I want one DSpace, multiple domains. I'm using DSpace 1.5.2 on behind Apache httpd with a ProxyPass/ProxyPassReverse. The server is Linux/Tomcat 5.5/httpd 2.2. Our DSpace instance is running on dspace.example.org (in dspace.cfg) but we want to migrate to publications.example.org while temporarily maintaining compatibility with old links. Is rewriting (URLs/Headers/Cookies?) the way to go, or can DSpace somehow handle requests from multiple domains? As far as Apache httpd is concerned, as long as DNS is set up correctly, my VirtualHost will capture the requests on both domains and pass them internally to Tomcat. The last time I tried that I couldn't get it working and we were rushing to deploy so we are only using the old domain. One thought is that it might be easier to switch our DSpace instance to the new domain (publications.example.org), and then use mod_rewrite to 301 old URLs (dspace.example.org) to the new URL. Thanks, -- Alan Orth a.o...@cgiar.org Linux Systems Administrator, ILRI-Kenya I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ ATT1..txtATT2..txt -- Alan Orth a.o...@cgiar.org Linux Systems Administrator, ILRI-Kenya I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. -Bjarne Stroustrup, inventor of C++ -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Authority Control - Authors
Dear When I try to use the authority control for users, I get a pop-up telling me: Failed to load choice data: Exception=[object Error] At first I thought there was a problem with the constructed URL to LOC but then I changed the link a local database. The error message remains the same. Any suggestions? Yours Sincerely Christof Verdonck -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Updating several collection authorizations policies in one step.
There is an option on the Administrator menu called Authorization. The first 3 items displayed after clicking on this allow you to maintain authorization policies for Communities, Collections, and Items, and the 4th option allows you to do wildcard additions to and clearing of authorization policies for types of content contained in a collection (Items and Bitstreams). Hope this helps. Best regards, Sue Sue Walker-Thornton NASA Langley Research Center Integrated Library Systems ~ Developer, Application Database Administrator ConITS Contract NCI Information Systems, Inc. 130 Research Drive Hampton, VA 23666 Office: (757) 224-4074 Fax:(757) 224-4001 Mobile: (757) 506-9903 Email: susan.m.thorn...@nasa.govmailto:susan.m.thorn...@nasa.gov From: ManuMohedano [mailto:manumohed...@usal.es] Sent: Monday, April 19, 2010 9:59 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Updating several collection authorizations policies in one step. Hi all. Does anybody know if it is possible to update the authorizations of several collections or communities in one step? I can only make it selecting them one by one... Thanks in advance. Regards. Manu. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Updating several collection authorizations policies in one step.
Thank's for your reply Sue!. I alredy knew those possibilities, but what I need is to edit the policies of for example 20 collections at the same time since they share the same the same ones... Regards. Manu. On Tue, Apr 20, 2010 at 5:38 PM, Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY] susan.m.thorn...@nasa.gov wrote: There is an option on the Administrator menu called “Authorization”. The first 3 items displayed after clicking on this allow you to maintain authorization policies for Communities, Collections, and Items, and the 4 th option allows you to do wildcard additions to and clearing of authorization policies for types of content contained in a collection (Items and Bitstreams). Hope this helps. Best regards, Sue * * *Sue Walker-Thornton*** *NASA Langley Research Center** **Integrated Library Systems ~ Developer, Application Database Administrator* *ConITS Contract* *NCI Information Systems, Inc.* *130 Research Drive* *Hampton, VA 23666* *Office: (757) 224-4074** **Fax:(757) 224-4001** **Mobile: (757) 506-9903* *Email:** ** **susan.m.thorn...@nasa.gov* susan.m.thorn...@nasa.gov * * * * * * *From:* ManuMohedano [mailto:manumohed...@usal.es] *Sent:* Monday, April 19, 2010 9:59 AM *To:* dspace-tech@lists.sourceforge.net *Subject:* [Dspace-tech] Updating several collection authorizations policies in one step. Hi all. Does anybody know if it is possible to update the authorizations of several collections or communities in one step? I can only make it selecting them one by one... Thanks in advance. Regards. Manu. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] version 16
I'm trying to test version 16 in my dev area and I'm finding that when I try to browse by author or subject, it seems like it can't find the authority field in the db, but it has no problem with the title browse. Any idea? -- URL Was: http://blancoj.dev.deepblue.lib.umich.edu/handle/TEMP-BOGUS/132627/browse?type=subjectsubmit_browse=Subject -- Method: GET -- Parameters were: -- submit_browse: Subject -- type: subject Exception: javax.servlet.ServletException: No such column authority at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:119) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] version 16
I just ran index-init and that seems to have taken of the problem. -Original Message- From: Blanco, Jose [mailto:blan...@umich.edu] Sent: Tuesday, April 20, 2010 2:59 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] version 16 I'm trying to test version 16 in my dev area and I'm finding that when I try to browse by author or subject, it seems like it can't find the authority field in the db, but it has no problem with the title browse. Any idea? -- URL Was: http://blancoj.dev.deepblue.lib.umich.edu/handle/TEMP-BOGUS/132627/browse?type=subjectsubmit_browse=Subject -- Method: GET -- Parameters were: -- submit_browse: Subject -- type: subject Exception: javax.servlet.ServletException: No such column authority at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:119) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] One DSpace, multiple domains
Hi Alan, Great, I think that's ok for our situation. So the configuration variables for hostname/baseurl are only used when DSpace has to refer to itself, like in e-mails. What about links? Yes - some links too, although most are actually relative and keep the domain. But once you set the new domain in the config file, everything will point to the new location anyway, so should be fine. I'm thinking we need to switch our DSpace (dspace.cfg) to the new domain, swap the Apache VirtualHost so that the new domain is the main one, and then make all requests for the old domain get 301'd via mod_rewrite. That sounds like a sensible approach, and should take care of the search engines too. 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 (0)9 373 7599 x81928 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] logging out in 16
I'm getting this error when I try to logout in 16: Exception: java.lang.IllegalStateException: Cannot create a session after the response has been committed I notice that these lines are new to 16 in Authenticate.java // Invalidate session unless dspace.cfg says not to if(ConfigurationManager.getBooleanProperty(webui.session.invalidate, true)) { session.invalidate(); } // Restore the session locale if (sessionLocale != null) { Config.set(request.getSession(), Config.FMT_LOCALE, sessionLocale); } I wonder why? It is erroring out at: Config.set(request.getSession(), Config.FMT_LOCALE, sessionLocale); Is that needed? I'm going to comment these lines out, and I have a feeling I'll be able to logout, but I'm not sure why it does not work with the 16 change? Thank you! Jose -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Compiling Dspace on Mac OS X [Error]
All, I'm trying to compile dspace 1.6 in Mac OS X 10.6.3 Server. My output is below. I have the $JAVA_OPTS = -Xmx1024M -Xms64M -Dfile.encoding=UTF-8 Can anyone provide assistance? bash-3.2$ mvn -e package + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] DSpace XML-UI (Manakin) [INFO] DSpace XML-UI (Manakin) :: Wing-Framework [INFO] DSpace Kernel :: API and Implementation [INFO] DSpace Solr Statistics Logging Client Library [INFO] DSpace XML-UI (Manakin) :: API and Core Aspects [INFO] DSpace UI :: Shared JS code [INFO] DSpace XML-UI (Manakin) :: Web Application Resources [INFO] DSpace Addon Modules [INFO] DSpace XML-UI (Manakin) :: Web Application [INFO] DSpace LNI [INFO] DSpace LNI :: Core Implementation [INFO] DSpace LNI :: Web Application Resources [INFO] DSpace LNI :: Web Application [INFO] DSpace OAI [INFO] DSpace OAI :: API and Implementation [INFO] DSpace OAI :: Web Application Resources [INFO] DSpace OAI :: Web Application [INFO] DSpace JSP-UI [INFO] DSpace JSP-UI :: API and Implementation [INFO] DSpace JSP-UI :: Web Application Resources [INFO] DSpace JSP-UI :: Web Application [INFO] DSpace SWORD [INFO] DSpace SWORD :: API and Implementation [INFO] DSpace SWORD :: Web Application Resources [INFO] DSpace SWORD :: Web Application [INFO] DSpace SOLR :: Web Application [INFO] DSpace LNI :: CLI Client Application [INFO] DSpace Assembly and Configuration [INFO] [INFO] Building DSpace XML-UI (Manakin) [INFO]task-segment: [package] [INFO] [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [INFO] Building DSpace XML-UI (Manakin) :: Wing-Framework [INFO]task-segment: [package] [INFO] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/dspace/Documents/dspace-1.6.0-src-release/dspace-xmlui/dspace-xmlui-wing/src/main/resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources {execution: default-testResources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/dspace/Documents/dspace-1.6.0-src-release/dspace-xmlui/dspace-xmlui-wing/src/test/resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] [jar:jar {execution: default-jar}] [INFO] [INFO] Building DSpace Kernel :: API and Implementation [INFO]task-segment: [package] [INFO] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 337 source files to /Users/dspace/Documents/dspace-1.6.0-src-release/dspace-api/target/classes [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure Failure executing javac, but could not parse the error: The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError: Java heap space at com.sun.tools.javac.jvm.ClassReader.enterPackage(ClassReader.java:1976) at com.sun.tools.javac.jvm.ClassReader.packageExists(ClassReader.java:1967) at com.sun.tools.javac.comp.MemberEnter.complete(MemberEnter.java:949) at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386) at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758) at com.sun.tools.javac.comp.Enter.complete(Enter.java:451) at com.sun.tools.javac.comp.Enter.main(Enter.java:429) at com.sun.tools.javac.main.JavaCompiler.enterTrees(JavaCompiler.java:819) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:727) at com.sun.tools.javac.main.Main.compile(Main.java:353) at com.sun.tools.javac.main.Main.compile(Main.java:279) at com.sun.tools.javac.main.Main.compile(Main.java:270) at com.sun.tools.javac.Main.compile(Main.java:87) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at
Re: [Dspace-tech] Compiling Dspace on Mac OS X [Error]
I imagine that that is already enough memory for that. However, I don't know anything specific to the Mac server that would make that hungrier than any other system. Perhaps you could check that the sun implementation of java is installed on the mac. Sun's (Oracle's) jdk fares better than the open jdk. Check out this thread, I found some potentially useful things to try. http://www.mail-archive.com/us...@maven.apache.org/msg50655.html I would imagine the file to look into would be [dspace-source]/dspace/pom.xml at around line 529. Adding the argument to specify the memory to maven during the packaging. build plugins !-- overall project assembly -- plugin artifactIdmaven-assembly-plugin/artifactId version2.2-beta-1/version configuration argLine-Xmx1024m/argLine descriptors descriptorsrc/assemble/assembly.xml/descriptor /descriptors /configuration Lastly, see if it works if you specify the memory limit to be as much as your system max. I do agree that it is unusual to need so much memory just for compilation though. Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Tue, Apr 20, 2010 at 6:40 PM, Avarca, Anthony aava...@anl.gov wrote: java.lang.OutOfMemoryError: Java heap space -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech