Re: [Dspace-tech] bundle.isEmbargoed
Hi all, Is it possible to embargo an item ingested via sword with dspace 5.2? Thanks in advance! 2015-07-08 15:38 GMT+02:00 Tim Donohue tdono...@duraspace.org: Hi Monika, I don't recall such a method, and I'm not seeing one on the version 1.8 Bundle class: https://github.com/DSpace/DSpace/blob/dspace-1_8_x/dspace-api/src/main/java/org/dspace/content/Bundle.java Perhaps this was something custom you added? In any case, Embargoes in 5.x are now stored in ResourcePolicies. Specially, an embargoed item has a public ResourcePolicy which has a start_date = embargo date. That means the Item is dark until the start_date passes, at which point it becomes public. There are some basic details in the docs at: https://wiki.duraspace.org/display/DSDOC5x/Embargo#Embargo-TechnicalSpecifications So, if you are looking for whether something is under embargo, you'd want to check its ResourcePolicies (a ResourcePolicy can be applied to any object). Here's the ResourcePolicy class: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/authorize/ResourcePolicy.java Hopefully that helps clarify embargoes. If you have a more specific use case in mind here, you could always describe it on the list, and we may be able to help. - Tim On 7/7/2015 4:28 PM, Monika C. Mevenkamp wrote: There used to be a method in Bundle (v1.8) that determined whether it is embargoed Where is the replacement ? Monika — Monika Mevenkamp Digital Repository Infrastructure Developer Phone: 609-258-4161 333C 701 Carnegie, Princeton University, Princeton, NJ 08544 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today.https://www.gigenetcloud.com/ ___ DSpace-tech mailing listDSpace-tech@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ 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 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Replace Creative Commons licence when editing an item
Hi again, a clarification: we are using jspui interface. El jueves, 18 de junio de 2015, Domingo Iglesias diglesias...@gmail.com escribió: Hi, nobody needs to add/edit/modify the cc license once the item is ingested? 2015-06-10 14:52 GMT+02:00 Domingo Iglesias diglesias...@gmail.com javascript:_e(%7B%7D,'cvml','diglesias...@gmail.com');: Hello, in version 1.8.x we could change the creative commons when editing an item. We have realized that the button to perform this action has disappeared in version 5.2. How can we change the licence in the new version? Thanks --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] Replace Creative Commons licence when editing an item
Hi again, a clarification: we are using jspui interface. 2015-06-18 11:04 GMT+02:00 Domingo Iglesias diglesias...@gmail.com: Hi, nobody needs to add/edit/modify the cc license once the item is ingested? 2015-06-10 14:52 GMT+02:00 Domingo Iglesias diglesias...@gmail.com: Hello, in version 1.8.x we could change the creative commons when editing an item. We have realized that the button to perform this action has disappeared in version 5.2. How can we change the licence in the new version? Thanks --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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 behind a proxy
Hi Alan, Thanks for your reponse. I wrote the url of the production environment working with dspace 1.8.x. We are working in a test environment with version 5.2 and with another url and hostname. I'm sorry for the confusion. As you suggest, I have checked the dspace.hostname in dspace.cfg and I have the public hostname. I think oai module builds some links getting info from the http headers and/or environment, not from the dspace configuration files. Thats the reason why I think I need to make some changes in the code. Any ideas? Thanks!! 2015-06-17 10:47 GMT+02:00 Alan Orth alan.o...@gmail.com: Hi, Domingo. It looks like your JSPUI is running on /dspace, so you just need to make sure you proxy to the OAI application as /oai. The OAI app will use the same dspace.hostname parameter from dspace.cfg, just like JSPUI and XMLUI, etc. Alan On Tue, Jun 16, 2015 at 9:33 AM Domingo Iglesias digles...@ub.edu wrote: Hi, Our dspace box is behind a proxy, so the public name of the repository ( diposit.ub.edu) differs from the name of the box dspace is running, that is not accessible from internet. What is the best way to customize the oai module in order to build the response pages with the public repository url instead of the local name? Thanks in advance! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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 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 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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 behind a proxy
Hi Alan, Thanks for your reponse. I wrote the url of the production environment working with dspace 1.8.x. We are working in a test environment with version 5.2 and with another url and hostname. I'm sorry for the confusion. As you suggest, I have checked the dspace.hostname in dspace.cfg and I have the public hostname. I think oai module builds some links getting info from the http headers and/or environment, not from the dspace configuration files. Thats the reason why I think I need to make some changes in the code. Any ideas? Thanks!! 2015-06-17 10:47 GMT+02:00 Alan Orth alan.o...@gmail.com: Hi, Domingo. It looks like your JSPUI is running on /dspace, so you just need to make sure you proxy to the OAI application as /oai. The OAI app will use the same dspace.hostname parameter from dspace.cfg, just like JSPUI and XMLUI, etc. Alan On Tue, Jun 16, 2015 at 9:33 AM Domingo Iglesias digles...@ub.edu wrote: Hi, Our dspace box is behind a proxy, so the public name of the repository ( diposit.ub.edu) differs from the name of the box dspace is running, that is not accessible from internet. What is the best way to customize the oai module in order to build the response pages with the public repository url instead of the local name? Thanks in advance! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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 Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració. Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración. This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration. -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] Replace Creative Commons licence when editing an item
Hi, nobody needs to add/edit/modify the cc license once the item is ingested? 2015-06-10 14:52 GMT+02:00 Domingo Iglesias diglesias...@gmail.com: Hello, in version 1.8.x we could change the creative commons when editing an item. We have realized that the button to perform this action has disappeared in version 5.2. How can we change the licence in the new version? Thanks --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] OAI behind a proxy
Hi, Our dspace box is behind a proxy, so the public name of the repository ( diposit.ub.edu) differs from the name of the box dspace is running, that is not accessible from internet. What is the best way to customize the oai module in order to build the response pages with the public repository url instead of the local name? Thanks in advance! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] OAI behind a proxy
Hi, Our dspace box is behind a proxy, so the public name of the repository ( diposit.ub.edu) differs from the name of the box dspace is running, that is not accessible from internet. What is the best way to customize the oai module in order to build the response pages with the public repository url instead of the local name? Thanks in advance! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] Unable to get oai module running
Hi, I have finally get oai almost running. I have applied the patch https://github.com/DSpace/DSpace/pull/953/ and solve some dependencies problem. Now I get the following error. Any ideas? Thanks in advance java.io.IOException: com.lyncode.xoai.dataprovider.exceptions.WritingXmlException: Error trying to output '' at org.dspace.xoai.services.impl.cache.DSpaceXOAICacheService.store(DSpaceXOAICacheService.java:113) at org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at javax.servlet.http.HttpServlet.service(HttpServlet.java:844) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:238) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3363) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295) at weblogic.work.ExecuteThread.run(ExecuteThread.java:254) Caused by: com.lyncode.xoai.dataprovider.exceptions.WritingXmlException: Error trying to output '' at com.lyncode.xoai.dataprovider.xml.EchoElement.write(EchoElement.java:58) at com.lyncode.xoai.dataprovider.xml.oaipmh.MetadataType.write(MetadataType.java:78) at com.lyncode.xoai.dataprovider.xml.oaipmh.RecordType.write(RecordType.java:130) at com.lyncode.xoai.dataprovider.xml.oaipmh.ListRecordsType.write(ListRecordsType.java:110) at com.lyncode.xoai.util.XmlIOUtils.writeElement(XmlIOUtils.java:20) at com.lyncode.xoai.dataprovider.xml.oaipmh.OAIPMHtype.write(OAIPMHtype.java:286) at com.lyncode.xoai.dataprovider.xml.oaipmh.OAIPMH.write(OAIPMH.java:44) at org.dspace.xoai.services.impl.cache.DSpaceXOAICacheService.store(DSpaceXOAICacheService.java:97) ... 34 more Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0] at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677) at
[Dspace-tech] Replace Creative Commons licence when editing an item
Hello, in version 1.8.x we could change the creative commons when editing an item. We have realized that the button to perform this action has disappeared in version 5.2. How can we change the licence in the new version? Thanks --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] Database name
Hello you will find some clues it in the [dpace.dir]/config/dspace.cfg within the Database settings section. [dspace.dir] is the folder where dspace is installed. Regards. 2015-06-07 16:02 GMT+02:00 Shivraj Thorat thoratshiv...@gmail.com: Dear Professionals, I was using dspace 3.1 but it is not working now due to critical issues with OS win 2003. even the computer is not working in normal mode. it works in safe mode only. i was installed dspace 2-3 years ago and now i am not remembering the correct database of my dspace because 2-3 more databases are exist there in postgres sql. let me know how to know appropriate database of dspace? (tell me file path where the same info. stored etc.) and how to restore databases without having any bkp , i mean from postgres installation folder which i can copy out as the computer works in in safe mode. -- Regards Mr. Shivraj Thorat Librarian BVDU, Institute of Management Entrepreneurship Development Paud Rd, Kothrud, Pune-38 -- ___ 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 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- ___ 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] Database name
Hello you will find some clues it in the [dpace.dir]/config/dspace.cfg within the Database settings section. [dspace.dir] is the folder where dspace is installed. Regards. 2015-06-07 16:02 GMT+02:00 Shivraj Thorat thoratshiv...@gmail.com: Dear Professionals, I was using dspace 3.1 but it is not working now due to critical issues with OS win 2003. even the computer is not working in normal mode. it works in safe mode only. i was installed dspace 2-3 years ago and now i am not remembering the correct database of my dspace because 2-3 more databases are exist there in postgres sql. let me know how to know appropriate database of dspace? (tell me file path where the same info. stored etc.) and how to restore databases without having any bkp , i mean from postgres installation folder which i can copy out as the computer works in in safe mode. -- Regards Mr. Shivraj Thorat Librarian BVDU, Institute of Management Entrepreneurship Development Paud Rd, Kothrud, Pune-38 -- ___ 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 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- ___ 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] Unable to get oai module running
(BasicStreamReader.java:2119) at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2025) at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1117) at org.codehaus.stax2.ri.Stax2EventReaderImpl.nextEvent(Stax2EventReaderImpl.java:255) at com.lyncode.xoai.dataprovider.xml.EchoElement.write(EchoElement.java:31) ... 41 more 2015-05-26 17:37 GMT+02:00 Domingo Iglesias diglesias...@gmail.com: Hello I'm trying to setup the oai module shipped with dspace 5.2 in a weblogic/oracle environment. When requesting an /oai/request?verb=Identify I get and 500 error page and the weblogic log reports this lrge message. Any ideas would be appreciated. May 26, 2015 2:55:51 PM org.springframework.web.servlet.FrameworkServlet initServletBean INFO: FrameworkServlet 'oai': initialization started May 26, 2015 2:55:51 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh INFO: Refreshing WebApplicationContext for namespace 'oai-servlet': startup date [Tue May 26 14:55:51 CEST 2015]; root of context hierarchy May 26, 2015 2:55:51 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters INFO: JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning May 26, 2015 2:55:51 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning May 26, 2015 2:55:51 PM org.springframework.web.context.support.AnnotationConfigWebApplicationContext loadBeanDefinitions INFO: Successfully resolved class for [org.dspace.xoai.app.DSpaceWebappConfiguration] May 26, 2015 2:55:51 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters INFO: JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning May 26, 2015 2:55:51 PM org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider registerDefaultFilters INFO: JSR-330 'javax.inject.Named' annotation found and supported for component scanning May 26, 2015 2:55:51 PM org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor init INFO: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring May 26, 2015 2:55:51 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@70a14d38: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,DSpaceWebappConfiguration,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0,DSpaceOAIDataProvider,delegatingWebMvcConfiguration,requestMappingHandlerMapping,viewControllerHandlerMapping,beanNameHandlerMapping,resourceHandlerMapping,defaultServletHandlerMapping,requestMappingHandlerAdapter,mvcConversionService,mvcValidator,httpRequestHandlerAdapter,simpleControllerHandlerAdapter,handlerExceptionResolver,basicConfiguration,configurationService,contextService,solrServerResolver,xoaiManagerResolver,xoaiCacheService,xoaiLastCompilationCacheService,xoaiItemCacheService,resourceResolver,databaseService,earliestDateResolver,itemRepositoryResolver,setRepositoryResolver,identifyResolver,dSpaceFilterResolver,handleResolver,collectionsService,solrQueryResolver,databaseQueryResolver,viewResolver,xoaiItemRepositoryResolver]; root of factory hierarchy May 26, 2015 2:55:51 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@70a14d38: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,DSpaceWebappConfiguration,org.springframework.context.annotation.ConfigurationClassPostProcessor$ImportAwareBeanPostProcessor#0,DSpaceOAIDataProvider,delegatingWebMvcConfiguration,requestMappingHandlerMapping,viewControllerHandlerMapping,beanNameHandlerMapping,resourceHandlerMapping,defaultServletHandlerMapping,requestMappingHandlerAdapter,mvcConversionService,mvcValidator,httpRequestHandlerAdapter,simpleControllerHandlerAdapter,handlerExceptionResolver,basicConfiguration,configurationService,contextService,solrServerResolver
[Dspace-tech] Unable to get oai module running
method [public org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.app.BasicConfiguration.xoaiCacheService()] threw exception; nested exception is java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.app.BasicConfiguration.xoaiCacheService()] threw exception; nested exception is java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) Truncated. see log file for complete stacktrace Caused By: java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) at java.lang.Class.getConstructor0(Class.java:2885) at java.lang.Class.newInstance(Class.java:350) at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:387) Truncated. see log file for complete stacktrace -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] Unable to get oai module running
method [public org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.app.BasicConfiguration.xoaiCacheService()] threw exception; nested exception is java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) Truncated. see log file for complete stacktrace Caused By: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.dspace.xoai.services.api.cache.XOAICacheService org.dspace.xoai.app.BasicConfiguration.xoaiCacheService()] threw exception; nested exception is java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) Truncated. see log file for complete stacktrace Caused By: java.lang.VerifyError: (class: GregorSamsa, method: template$dot$0 signature: (Lcom/sun/org/apache/xalan/internal/xsltc/DOM;Lcom/sun/org/apache/xml/internal/dtm/DTMAxisIterator;Lcom/sun/org/apache/xml/internal/serializer/SerializationHandler;I)V) Expecting to find integer on stack at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) at java.lang.Class.getConstructor0(Class.java:2885) at java.lang.Class.newInstance(Class.java:350) at com.sun.org.apache.xalan.internal.xsltc.trax.TemplatesImpl.getTransletInstance(TemplatesImpl.java:387) Truncated. see log file for complete stacktrace --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] DSpace 5.1 oai
/stream/XMLInputFactory; at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:169) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ... 58 more Caused by: java.lang.NoSuchMethodError: org.codehaus.stax2.XMLInputFactory2.newFactory()Ljavax/xml/stream/XMLInputFactory; at com.lyncode.xoai.dataprovider.xml.read.XmlReader.(XmlReader.java:14) at com.lyncode.xoai.dataprovider.xml.xoaiconfig.Configuration.readConfiguration(Configuration.java:23) at org.dspace.xoai.services.impl.context.DSpaceXOAIManagerResolver.getManager(DSpaceXOAIManagerResolver.java:30) at org.dspace.xoai.app.BasicConfiguration.xoaiCacheService(BasicConfiguration.java:74) at org.dspace.xoai.app.BasicConfiguration$$EnhancerByCGLIB$$81c32e12.CGLIB$xoaiCacheService$5() at org.dspace.xoai.app.BasicConfiguration$$EnhancerByCGLIB$$81c32e12$$FastClassByCGLIB$$4f3b9461.invoke() at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:280) at org.dspace.xoai.app.BasicConfiguration$$EnhancerByCGLIB$$81c32e12.xoaiCacheService() at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:149) ... 59 more 2015-05-11 2:15 GMT+02:00 Andrea Schweer schw...@waikato.ac.nz: Hi On 30/04/15 00:17, Domingo Iglesias wrote: I have a test environment for dspace 5.1 running with solr and jspui, but I cannot get oai interface running. When calling: http://diposittest.ub.edu/oai/request?verb=Identify I get an Error 500--Internal Server Error with followed by: java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.write(Ljava/io/File;Ljava/lang/CharSequence;)V That looks like you're using an older version of Java. DSpace 5.1 needs at least Java 7: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-OracleJavaJDK7orOpenJDK7 cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració. Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración. This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration. -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ DSpace-tech mailing list DSpace-tech
[Dspace-tech] DSpace 5.1 oai
Hello, I have a test environment for dspace 5.1 running with solr and jspui, but I cannot get oai interface running. When calling: http://diposittest.ub.edu/oai/request?verb=Identify I get an Error 500--Internal Server Error with followed by: java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.write(Ljava/io/File;Ljava/lang/CharSequence;)V at org.dspace.xoai.services.impl.cache.DSpaceXOAICacheService.store(DSpaceXOAICacheService.java:109) at org.dspace.xoai.controller.DSpaceOAIDataProvider.contextAction(DSpaceOAIDataProvider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at javax.servlet.http.HttpServlet.service(HttpServlet.java:844) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:238) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3363) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295) at weblogic.work.ExecuteThread.run(ExecuteThread.java:254) Any ideas? Thanks in advance. --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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] Sword Dspace 5.1 fails
) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 2015-04-22 12:30:38,465 ERROR org.dspace.sword.DSpaceSWORDServer @ caught exception: org.dspace.sword.DSpaceSWORDException: java.util.zip.ZipException: error in opening zip file at org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:161) at org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:111) at org.dspace.sword.DepositManager.deposit(DepositManager.java:148) at org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:120) at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:299) at javax.servlet.http.HttpServlet.service(HttpServlet.java:644) at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534) at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:827) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:215) at java.util.zip.ZipFile.init(ZipFile.java:145) at java.util.zip.ZipFile.init(ZipFile.java:159) at org.dspace.content.packager.AbstractMETSIngester.parsePackage(AbstractMETSIngester.java:327) at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:201) at org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:93) ... 27 more 2015-04-22 12:30:38,467 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDException: There was a problem depositing the item Can anyone help me? Bender -- BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF ___ 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 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring
[Dspace-tech] solr configuration
Hello We are trying to setup solr to gather statistics and found in the server log this error: - Nov 21, 2012 11:20:37 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ERROR:unknown field 'bundleName' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:320) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:147) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:77) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:357) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:253) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75) at org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:61) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2091) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513) at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)-- -- Any ideas? Thanks! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] solr configuration
Hi Thanks for your responses. Re-checking the config files we have seen that the following line field name=bundleName type=string indexed=true stored=true required= false multiValued=true / was missing in [dspace.dir]/solr/statistics/conf/schema.xml 2012/11/21 helix84 heli...@centrum.sk I'm not completely sure, but from your stracktrace it looks like you may be hitting the localhost restriction (by default, Solr in DSpace is set up so that you can connect to it only from localhost). I'm not familiar with WebLogic, but here's how to do that in Tomcat: https://wiki.duraspace.org/display/DSPACE/Solr#Solr-Bypassinglocalhostrestrictionpermanently What exactly are you trying to do? What DSpace version are you using? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració. Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración. This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration. -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] sword setup
Confirmed: it is a problem related to how weblogic handles authorization by default. The solution is to add the stanza: enforce-valid-basic-auth-credentialsfalse/enforce-valid-basic-auth-credentials in the config.xml of the domain. 2012/8/2 helix84 heli...@centrum.sk: On Wed, Aug 1, 2012 at 1:26 PM, Domingo Iglesias digles...@ub.edu wrote: Thanks for the suggestion. I have checked web.xml and it's correct. I'm glad it worked. authenticating with BASIC 'weblogic'@dipositint9.ub.edu:8 Sorry, no idea. But this line looks wrong - 1) there are apotrophes around weblogic and 2) port number is 8? Regards, ~~helix84 Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració. Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración. This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration. -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] sword setup
Hi We are migrating to 1.8.2 version from 1.6.2 and we are having a problem with the sword setup. In previous versions, and I think in the current version too, sword does not support the stackable authentication method as dspace does. So, in order to setup sword we have dealt with the authenticacion using two config files: one with the full stack and another with the standard password for sword. With the current version 1.8.x, we have tried to clone the setup, having in mind the configuration pieces in the modules folder, but we are unable to run sword, getting the 401 error (http authorization). Any ideas? Thanks in advance! --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] sword setup
Hi Ivan, thanks for your response. I have followed Stuart's solution in the previous versions, and I am trying to implement it in 1.8.2 version of dspace as you propose. I have cloned all the [dpace.dir], so I have: ./dspace and ./dspace_sword In ./dspace_sword there are symlinks to all the ./dspace subdirs with the exception of config which points to config_sword subdir. In the latter there is a special dspace.cfg with dspace.dir pointing to ./dspace_sword, and in the modules directory a authentication.cfg with: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.PasswordAuthentication I run maven and ant twice: one pointing to ./dspace/config/dspace.cfg and another pointing to ./dpace_sword/config/dspace.cfg, and deploy accordingly on the (weblogic) server. I wonder if there is an alternative solution ... Thanks! 2012/7/31 helix84 heli...@centrum.sk: Hi Domingo, this post from Stuart describes the approach or separate configuration file for the sword webapp: http://dspace.2283337.n4.nabble.com/Dspace-tech-Shibboleth-Sword-problem-td3286764.html Maybe it will help or it just describes what you already tried. You should describe the details of your configuration (that doesn't work) so that someone here might help you. My best guess is that since DSpace authentication is now split off as a module ([dspace]/config/modules/authentication.cfg), pointing just to dspace.cfg doesn't work. Try to duplicate the whole config directory and point the swrod webapp to it (if that's not what you already tried - again, always describe what you tried so we don't have to guess). Regards, ~~helix84 --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] oai date oracle
The patch works. Thanks Dspace@LynCode and Helix84 for your help. 2012/6/18 helix84 heli...@centrum.sk Thanks, I added Domingo as Reviewer to that issue and we can continue the discussion there. Regards, ~~helix84 Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració. Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración. This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration. -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] oai date oracle
:180) 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 ORG.oclc.oai.server.OAIHandler.getResult(OAIHandler.java:383) at ORG.oclc.oai.server.OAIHandler.doGet(OAIHandler.java:292) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) at java.lang.Thread.run(Thread.java:662) Do you know if there is any patch or workaround for that? Thanks in advance --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] sword question
Hello I'm facing the migration from 1.6.2 to 1.8.2 ... We have a custom authentication method implemented and, with the previous version, in order to get dpace running I ran maven twice: 1) to build jspui and others, pointing to a dspace.cfg with the full stack of authentication methods 2) to build sword, pointing to a dspace_sword.cfg file with the PasswordAuthentication method only As with the new version dspace.cfg is split in many files and the authentication is in [dspace]/config/modules/authentication.cfg, I wonder how can I build the sword module like I did before .. or any idea about how to get sword overriding the auth stack defined in the configuration. Thanks in advance. --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies Barcelona (Spain) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DRIVER OAI Extended Addon v2
Tim and Gaetano, many thanks for your responses since both of them have worked. They work also for the previous version of dspace and the addon. Greetings! Gaetano Rufino escribió: Hi, We list the commands that I used to do the build: • Straight from the source directory, I launched the package maven: mvn package [I know that seems strange because normally the packaging is made from the directory dspace-source/dspace] • dspace-source/dspace/target/dspace-1.6.2-buid.dir directory I ran the command: ant-Dconfig dspace-installazione/config/dspace.cfg = update [this command then launches as usual] • there is a folder in the directory dspace-installazione/webapps oaiextended oaiextended then copy the folder inside the webapps of tomcat • Change in dspace.cfg: oaiextended.url dspace.baseUrl = $ {} / oaiextended At this point, questioning the page dspace.baseUrl / oaiextended / request? verb = ListSets you should find the two set uses dall'harvester Open: OAI-PMH xsi:schemaLocation=http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd; responseDate 2010-11-12T15: 32:06 Z / responsed greetings Gaetano Rufino __ C.S.I. Universita' degli Studi di Salerno Gaetano Rufino Ufficio Sistemi Tecnologici E-Mail: gruf...@unisa.it Tel: +39 089 966 350 Fax: +39 089 966 368/346 Tel. HelpDesk: +39 089 966 400 __ “Sic parvis magna” -Messaggio originale- Da: Domingo Iglesias [mailto:digles...@ub.edu] Inviato: lunedì 3 gennaio 2011 15:27 A: dspace-tech@lists.sourceforge.net Oggetto: [Dspace-tech] DRIVER OAI Extended Addon v2 Hello I'm trying to setup the OAI Extended Addon v.2 with the 1.6.2 version of dspace (http://projecto.rcaap.pt/index.php?option=com_remositoryItemid=2func=file infoid=321lang=en http://projecto.rcaap.pt/index.php?option=com_remositoryItemid=2func=file infoid=321lang=en) to deal with the DRIVER directives (http://www.driver-repository.eu http://www.driver-repository.eu). In fact, I tried the setup with the previous version of both the dspace and the addon with similar results. I have followed the install doc but when running maven I get the following error: [INFO] [INFO] Building DSpace OAI Extended :: Web Application [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/ dspace-oaiextended-webapp-1.6.2.pom http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2 /dspace-oaiextended-webapp-1.6.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dsp ace-oaiextended-webapp-1.6.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/ds pace-oaiextended-webapp-1.6.2.pom Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dsp ace-oaiextended-api-1.6.2.pom http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/ds pace-oaiextended-api-1.6.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace -oaiextended-api-1.6.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspac e-oaiextended-api-1.6.2.pom Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/ dspace-oaiextended-webapp-1.6.2.war http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2 /dspace-oaiextended-webapp-1.6.2.war Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dsp ace-oaiextended-webapp-1.6.2.war http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/ds pace-oaiextended-webapp-1.6.2.war Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dsp ace-oaiextended-api-1.6.2.jar http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/ds pace-oaiextended-api-1.6.2.jar Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace -oaiextended-api-1.6.2.jar http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspac e-oaiextended-api-1.6.2.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.dspace:dspace-oaiextended-webapp:war:1.6.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace
[Dspace-tech] DRIVER OAI Extended Addon v2
Hello I'm trying to setup the OAI Extended Addon v.2 with the 1.6.2 version of dspace (http://projecto.rcaap.pt/index.php?option=com_remositoryItemid=2func=fileinfoid=321lang=en http://projecto.rcaap.pt/index.php?option=com_remositoryItemid=2func=fileinfoid=321lang=en) to deal with the DRIVER directives (http://www.driver-repository.eu http://www.driver-repository.eu). In fact, I tried the setup with the previous version of both the dspace and the addon with similar results. I have followed the install doc but when running maven I get the following error: [INFO] [INFO] Building DSpace OAI Extended :: Web Application [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.pom http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.pom Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.pom http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.pom Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.war http://download.java.net/maven/2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.war Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.war http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.6.2/dspace-oaiextended-webapp-1.6.2.war Downloading: http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.jar http://download.java.net/maven/2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.jar Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.jar http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.6.2/dspace-oaiextended-api-1.6.2.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.dspace:dspace-oaiextended-webapp:war:1.6.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-webapp -Dversion=1.6.2 -Dpackaging=war -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-webapp -Dversion=1.6.2 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.dspace.modules:oaiextended:war:1.6.2 2) org.dspace:dspace-oaiextended-webapp:war:1.6.2 2) org.dspace:dspace-oaiextended-api:jar:1.6.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-api -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-api -Dversion=1.6.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.dspace.modules:oaiextended:war:1.6.2 2) org.dspace:dspace-oaiextended-api:jar:1.6.2 -- 2 required artifacts are missing. for artifact: org.dspace.modules:oaiextended:war:1.6.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), java.net http://java.net (http://download.java.net/maven/2 http://download.java.net/maven/2), maven.dspace.org-snapshot (http://maven.dspace.org/snapshot http://maven.dspace.org/snapshot) --- Any help would be appreciated. --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Learn how Oracle Real
Re: [Dspace-tech] [dspace-tech] Sword ingestion error
Hello, I have finally solved the problem with a classical solution: stop start the whole oracle app server. Stuart, you are probably right and the problem would be related with the server caching. Thanks for your support. 2010/11/25 Stuart Lewis s.le...@auckland.ac.nz Hi Domingo, This looks quite a strange problem. The stack trace suggests that when it has downloaded the epdcx (eprints dublin core) schema, it has become corrupted somehow: - http://purl.org/eprint/epdcx/xsd/2006-11-16/epdcx.xsd - Caused by: org.jdom.input.JDOMParseException: Error on line 132 of document http://purl.org/eprint/epdcx/xsd/2006-11-16/epdcx.xsd: src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component. This problem may go away on its own once it manages to get a good copy of the schema - maybe it has cached a bad one? Alternatively, you can host copies of these files on your DSpace server, and reference them from the mets.xml, for example: - file:///dspace/schema/epdcx.xsd instead of http://purl.org/eprint/epdcx/xsd/2006-11-16/epdcx.xsd (you'll have to download and store these schemas in the location you specify) You'll find that this probably makes your deposits a bit quicker 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 On 24/11/2010, at 9:48 PM, Domingo Iglesias wrote: Hello We have a parsing problem when ingesting documents to our repository via sword interface. The strange thing is that It was working properly until last week and we are sure we haven't change anything in the installation. Here is the dspace.log output: 2010-11-24 08:48:28,688 ERROR org.dspace.sword.SWORDMETSIngester @ caught exception: org.dspace.content.crosswalk.MetadataValidationException: Error validating METS in org.dspace.content.packager.packageutils$unclosableinputstr...@1df55f2 at org.dspace.content.packager.METSManifest.create(METSManifest.java:301) at org.dspace.content.packager.AbstractMETSIngester.ingest(AbstractMETSIngester.java:233) at org.dspace.sword.SWORDMETSIngester.ingest(SWORDMETSIngester.java:115) at org.dspace.sword.CollectionDepositor.doDeposit(CollectionDepositor.java:179) at org.dspace.sword.DepositManager.deposit(DepositManager.java:173) at org.dspace.sword.DSpaceSWORDServer.doDeposit(DSpaceSWORDServer.java:149) at org.purl.sword.server.DepositServlet.doPost(DepositServlet.java:336) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: org.jdom.input.JDOMParseException: Error on line 132 of document http://purl.org/eprint/epdcx/xsd/2006-11-16/epdcx.xsd: src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component. at org.jdom.input.SAXBuilder.build(SAXBuilder.java:465) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:770) at org.dspace.content.packager.METSManifest.create(METSManifest.java:290) ... 17 more Caused by: org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component. at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaError(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getGlobalDecl(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDAttributeTraverser.traverseLocal(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDAbstractTraverser.traverseAttrsAndAttrGrps(Unknown Source
[Dspace-tech] [dspace-tech] Sword ingestion error
) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.jdom.input.SAXBuilder.build(SAXBuilder.java:453) ... 19 more 2010-11-24 08:48:28,693 ERROR org.purl.sword.server.DepositServlet @ org.purl.sword.base.SWORDException: There was a problem depositing the item Any ideas? Thanks in advance --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [dspace-tech] DRIVER OAI Extended Addon
Hello, thanks for your response. I think the problem is not related with the access to the repository from the dspace server since I cannot access the following urls with my browser: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.5.2/dspace-oaiextended-webapp-1.5.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.5.2/dspace-oaiextended-api-1.5.2.pom http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.5.2/dspace-oaiextended-webapp-1.5.2.war http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.5.2/dspace-oaiextended-api-1.5.2.jar it reports http error 404, file not found, but I can access the file that appears in the thread (http://repo1.maven.org/maven2/org/apache/maven/doxia/doxia/1.0-alpha-11/doxia-1.0-alpha-11.pom) 2010/7/22 helix84 heli...@centrum.sk: Hello Domingo, people had similiar problems in the past - maven was unable to download some file because to access internet from the machine where dspace is installed they required proxy, but maven wasn't configured to use proxy. Try to check if this isn't your problem. See the dspace-tech archives, start with this thread: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg10987.html Regards, ~~helix84 -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] [dspace-tech] DRIVER OAI Extended Addon
Hello I'm trying to setup the OAI Extended Addon (http://projecto.rcaap.pt/index.php?option=com_remositoryItemid=2func=fileinfoid=71lang=en) to deal with the DRIVER directives (http://www.driver-repository.eu) I have followed the install doc but when running maven I get the following error: [INFO] [INFO] Building DSpace OAI Extended :: Web Application [INFO]task-segment: [package] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.5.2/dspace-oaiextended-webapp-1.5.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.5.2/dspace-oaiextended-api-1.5.2.pom Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-webapp/1.5.2/dspace-oaiextended-webapp-1.5.2.war Downloading: http://repo1.maven.org/maven2/org/dspace/dspace-oaiextended-api/1.5.2/dspace-oaiextended-api-1.5.2.jar [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to resolve artifact. Missing: -- 1) org.dspace:dspace-oaiextended-webapp:war:1.5.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-webapp -Dversion=1.5.2 -Dpackaging=war -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-webapp -Dversion=1.5.2 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.dspace.modules:oaiextended:war:1.5.2 2) org.dspace:dspace-oaiextended-webapp:war:1.5.2 2) org.dspace:dspace-oaiextended-api:jar:1.5.2 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-api -Dversion=1.5.2 -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.dspace -DartifactId=dspace-oaiextended-api -Dversion=1.5.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.dspace.modules:oaiextended:war:1.5.2 2) org.dspace:dspace-oaiextended-api:jar:1.5.2 -- 2 required artifacts are missing. for artifact: org.dspace.modules:oaiextended:war:1.5.2 from the specified remote repositories: central (http://repo1.maven.org/maven2), maven.dspace.org-snapshot (http://maven.dspace.org/snapshot) [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 45 seconds [INFO] Finished at: Thu Jul 21 09:15:05 CEST 2010 [INFO] Final Memory: 31M/159M [INFO] -- Any help would be appreciated. --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Sword setup
Hi all, thanks Stuart for the reply. You are right. The problem is solved changing the load order of the libraries. Oracle Application Server users can find more information at: http://download.oracle.com/docs/cd/B31017_01/web.1013/b28952/classload.htm#CIHFJEEF Regards! 2010/4/15 Stuart Lewis s.le...@auckland.ac.nz Hi Domingo, Caused by: org.jdom.JDOMException: http://apache.org/xml/features/validation/schema feature not recognized for SAX driver oracle.xml.parser.v2.SAXParser I suspect the error is related with the oracle parser since we are running dspace in a OC4J hosted on an OAS 10.1.3, but not really sure. Yes - it looks like that is the case. We normally only support the Sun Java JDK for DSpace as a lot of other versions, for example the IBM version suffer from small problems such as this. Are you able to use Sun's JDK? If not, then you'll need to make some changes to use the right xml libraries. If you perform an internet search for the error message, there are a few pages with some suggestions. One is to rename xerces*.jar (in [tomcat]/webapps/sword/WEB-INF/lib/) to something like aaaxerces.jar so that it loads before any other parsers in the classpath. 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 http://www.library.auckland.ac.nz/ -- --- Domingo Iglesias Universitat de Barcelona Area de Tecnologies -- 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