Re: [Dspace-tech] Controlled Vocabulary for XMLUI
Hi, 1)are you sure that the xml file you put in config/controlled-vocabulary has the right owner permissions ? It should belongs to the same user that launch dspace 2) be sure that there are no mistypes in the file name in input-forms.xml : remember you do not have to write down the suffix ( .xml) of your vocabulary, but just the file name) 3) be sure that the vocabulary you want to use is well formed hope that this will help. -- View this message in context: http://dspace.2283337.n4.nabble.com/Controlled-Vocabulary-for-XMLUI-tp4665828p4665840.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Confused About UTF-8
Hi, I'm a little confused about UTF-8/UNICODE locale settings for DSpace using PostgreSQL v. 9.2.1. By default, my systems are: LANG=en_US LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=en_US LC_COLLATE=C LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US LC_IDENTIFICATION=en_US LC_ALL= I can change that to en_US.ETF-8 or en_US.ISO8859-1 (or whatever) if necessary, just wondering if there's a best practice for use with DSpace? -- A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm stickin' to it. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Confused About UTF-8
Hi Thomas, there's very little reason to be concerned. The most important part to get right is encoding when creating the database: createdb -U dspace -E UNICODE dspace What you mentioned is default locale set in shell environment variables. DSpace (an Java in general) doesn't care about those very much. In fact, off the top of my head I can't think of a single instance where it would matter. In any case, this can be changed at any time should you happen to run into any problems. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Request on complex attributes
er...t may be you can try an approach of this sort with qdc element.classification.confidence001 [...] until element.classification.confidence100 and use a qualdrop value form to fill them ; you'll obtains metadata like element.classification.confidence20 = car or element.classification.confidence45 = animal after that search should be easy enough but, honestly i'm not sure that metadata concept (especially qdc) are well sized for your pourposes. If you want to use dspace for your stuff the best way should be to well understand search methods first, then create a new schema for your datas. buon lavoro ! -- View this message in context: http://dspace.2283337.n4.nabble.com/Request-on-complex-attributes-tp4665662p4665843.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Confused About UTF-8
That makes a lot of sense, thanks! A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm stickin' to it. On 07/23/2013 10:23 AM, helix84 wrote: Hi Thomas, there's very little reason to be concerned. The most important part to get right is encoding when creating the database: createdb -U dspace -E UNICODE dspace What you mentioned is default locale set in shell environment variables. DSpace (an Java in general) doesn't care about those very much. In fact, off the top of my head I can't think of a single instance where it would matter. In any case, this can be changed at any time should you happen to run into any problems. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] get the bitstream URL from item
Hi all, Is there an easy way to get bitstream URLs from a DSpace item? I'm doing some funky stuff to get it here (ignore the lines about PDF; in this case I'm only want the URL if the bitstream is a PDF): itemURL = HandleManager.resolveToURL(new Context(), item.getHandle()); boolean pdf = false; String bsLink = ; Bundle[] bunds = item.getBundles(ORIGINAL); if (bunds[0] != null) { Bitstream[] bits = bunds[0].getBitstreams(); for (int i = 0; (i bits.length) !pdf; i++) { if (bits[i].getFormat().getMIMEType().equals(application/pdf)) { pdf = true; bsLink = ConfigurationManager.getProperty(dspace.url) + /bitstream/handle/ + item.getHandle() + / + bits[i].getName() + ?sequence= + bits[i].getSequenceID(); } } } String pdfURL = bsLink; Thanks! Bill -- Bill Ingram Scholarly Communication and Repository Services University of Illinois at Urbana-Champaign 135 GELIC, MC274 1301 W. Springfield Ave. Urbana, IL 61801 217-333-4648 wingr...@illinois.edu -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Commenting at item level in XMLUI?
Hi all, As you can imagine, parsing the results while searching for adding commenting functionality to dspace is near impossible. I see that there was a commenting add-on developed way back for 1.1 by University of Minho, but it looks like its only for JSPUI. Has anyone added commenting functionality to their DSpace XMLUI interface? Specifically, we'd like to add the ability to add a comment at the item level and have it approved by an administrator. We're currently running DSpace 1.8.2 on Tomcat 6, MySQL, and RedHat. Thanks in advance! Matthew * Matthew McKinley Digital Project Specialist, University of California, Irvinehttp://www.uci.edu/ **about.me http://www.about.me/matthewmckinley* -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] OAI Request
it looks as expected. this I think is a better request: http://dspace.univcasa.ma:8080/oai/request?verb=Identify On Mon, Jul 22, 2013 at 4:53 PM, remi asare remi.as...@gmail.com wrote: Hi everybody, Can anyone have a quick look at this http://dspace.univcasa.ma:8080/oai/request and tell me if it is the way it should be displayed?. Thanks a lot in advance -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Problen send to repository
Hi all, I have a problem, when I want to send an item to repository, the system send this error: 013-07-23 12:21:36,068 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=BB054145FED6E384BB71848C872F28AF:internal_error:-- URL Was: http://biblioteca.catie.ac.cr:5050/repositorioforestal/mydspace -- Method: POST -- Parameters were: -- submit_approve: Enviar al repositorio -- workflow_id: 775 -- step: 3 java.lang.RuntimeException: Error while attempting to create identifier for Item id: 949 at org.dspace.identifier.VersionedHandleIdentifierProvider.register(VersionedHandleIdentifierProvider.java:117) at org.dspace.identifier.IdentifierServiceImpl.register(IdentifierServiceImpl.java:80) at org.dspace.content.InstallItem.installItem(InstallItem.java:67) at org.dspace.content.InstallItem.installItem(InstallItem.java:44) at org.dspace.workflow.WorkflowManager.archive(WorkflowManager.java:724) at org.dspace.workflow.WorkflowManager.doState(WorkflowManager.java:656) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:416) at org.dspace.workflow.WorkflowManager.advance(WorkflowManager.java:336) at org.dspace.app.webui.servlet.MyDSpaceServlet.processPerformTask(MyDSpaceServlet.java:429) at org.dspace.app.webui.servlet.MyDSpaceServlet.doDSPost(MyDSpaceServlet.java:109) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Important to know that system was migrated previously. Thanks for your support. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Question about deploying the DSpace application
Hi there! Thanks very much for your always helpful responses! Just one question to clarify: I'm assuming that once we would copy the /webapps directory over to the Production machine, we will have to run ant, but not mvn? Is that correct? Of course we have to have our dspace.cfg file configured for Production, but are there any other files that will need to be edited once they're copied over to Production? Thanks again for your prompt reply! Best regards, Sue Sue Thornton Office: (757) 224-4130 Mobile: (757) 506-9903 susan.m.thorn...@nasa.gov -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Monday, July 22, 2013 11:28 AM To: Thornton, Susan M. (LARC-B702)[LITES] Cc: dspace-tech (dspace-tech@lists.sourceforge.net) Subject: Re: [Dspace-tech] Question about deploying the DSpace application On Mon, Jul 22, 2013 at 5:08 PM, Thornton, Susan M. (LARC-B702)[LITES] susan.m.thorn...@nasa.gov wrote: Here are my questions: 1. Why don’t we deploy the .war file like we used to? Why the change, what’s the difference in doing it this way, and are there any benefits? Hi Sue, I'm not an expert in this, so I'll leave someone else answer it: http://stackoverflow.com/questions/3906881/advantages-disadvantages-to-exploded-wars My personal point of view: With WARs, Tomcat would detect when you deleted/updated the WAR and undeploy/redeploy it. With the new recommended approach, where you configure Contexts in individual context fragments (.xml files), you can simply delete/touch the context fragment. 2. We are modifying the structure of our new DSpace sites, to include a separate PostgreSQL server and not having the DSpace source code on the Production server. The SAs have asked me to find out: a. If we can deploy DSpace 3.1 with a .war file that can just be copied over from the Dev machine once we’re ready to go to Production? The webapps (whether WARs or exploded) will be the same. Note the difference in configuration: You only need to change dspace.hostname and possibly dspace.baseUrl and dspace.url. Then there are also other directories in [dspace], but after the upgrade, if you're only redeploying changed code, you most likely don't need to change anything there. For the upgrade itself, all the changes to these directories will be covered in the upgrading docs. b. Are there any other ways of doing this so the DSpace source code is NOT on the Production server? Sure, you could actually use the binary distribution and never touch the actual source code. You still need to do mvn package, though, to create the webapps. Once you've upgraded and you only want to redeploy changed webapps from dev to production, you could skip the ant step and just copy over the webapps manually. I hope this answers your questions, let me know if it doesn't. In some parts I felt like I could go into more detail but I didn't want to flood you with too much information. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] DSpace LDAP authentication problem
I have installed DSpace 3.1 on a test machine. I want to use the new feature where a new user authenticate with an LDAP server and then based on an LDAP field result they are registered and placed in a group appropriate to that LDAP field. So for example the entry in authentication-ldap.cfg is login.groupmap.1 = USYDPERSONENTITLEMENT=staff:staffsubmit login.groupmap.2 = USYDPERSONENTITLEMENT=enrolled:studentsubmit Thus is the LDAP field USYDPERSONENTITLEMENT is staff they get put into the DSpace group staffsubmit My problem arises in that an undregistered user get authenticated and entered into DSpace but their user name is modified to contain the letters NULL after their user name. How can I prevent this happening? -- -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette