Re: [Dspace-tech] Activate Discovery in Dspace 3.2
Hi Oscar This may help you debug: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Discovery It is based on DSpace 1.8.2 on Ubuntu 10.04 LTS. Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 26 November 2013 04:11, Oscar Sanchez Gomez wrote: > Hi all, > > I am having problems to run discovery in Dspace 3.2. I follow the > instructions from Dspace Manual, review all the parameters and > configuration files and all looks right, but when I run the command dspace > update-discovery-index a null exception raise. Tomcat7 and dspace 3.2 run > under same user and tomcat is in port 8080, same as solr.search.server. Can > anybody help me? > > > > [dspace@bibliorep bin]$ ./dspace update-discovery-index -f > > INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: > DSpaceKernel:org.dspace:name=c6856ebf-aada-41f1-9bfd-0251d919d7a6,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null > > INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: > file:/opt/dspace/config/dspace.cfg > > INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log > configuration (log.init.config) > > INFO [main] (ConfigurationManager.java:1224) - Loading: > /opt/dspace/config/log4j.properties > > Exception: null > > org.dspace.discovery.SearchServiceException > > at > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418) > > at org.dspace.discovery.IndexClient.main(IndexClient.java:119) > > 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.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) > > Caused by: java.net.MalformedURLException > > at java.net.URL.(URL.java:619) > > at java.net.URL.(URL.java:482) > > at java.net.URL.(URL.java:431) > > at > org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:146) > > at > org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99) > > at > org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384) > > ... 6 more > > Caused by: java.lang.NullPointerException > > at java.net.URL.(URL.java:524) > > ... 11 more > > [ > > > > Thanks to all, > > > > Ing. Oscar Sánchez G., MAE > > *Profesional en TI* > > *Biblioteca José Figueres Ferrer* > > *Instituto Tecnológico de Costa Rica* > > *(* *Tel: 2550-2135* > > *7* *Fax: 2591-4820* > > *+* *Apdo Postal: 159-7050* > > > > > -- > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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 > -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Activate Discovery in Dspace 3.2
Hi all, I am having problems to run discovery in Dspace 3.2. I follow the instructions from Dspace Manual, review all the parameters and configuration files and all looks right, but when I run the command dspace update-discovery-index a null exception raise. Tomcat7 and dspace 3.2 run under same user and tomcat is in port 8080, same as solr.search.server. Can anybody help me? [dspace@bibliorep bin]$ ./dspace update-discovery-index -f INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=c6856ebf-aada-41f1-9bfd-0251d919d7a6,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/opt/dspace/config/dspace.cfg INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config) INFO [main] (ConfigurationManager.java:1224) - Loading: /opt/dspace/config/log4j.properties Exception: null org.dspace.discovery.SearchServiceException at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:418) at org.dspace.discovery.IndexClient.main(IndexClient.java:119) 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.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183) Caused by: java.net.MalformedURLException at java.net.URL.(URL.java:619) at java.net.URL.(URL.java:482) at java.net.URL.(URL.java:431) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:146) at org.dspace.discovery.SolrServiceImpl.getSolr(SolrServiceImpl.java:99) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:384) ... 6 more Caused by: java.lang.NullPointerException at java.net.URL.(URL.java:524) ... 11 more [ Thanks to all, Ing. Oscar Sánchez G., MAE Profesional en TI Biblioteca José Figueres Ferrer Instituto Tecnológico de Costa Rica * Tel: 2550-2135 7 Fax: 2591-4820 * Apdo Postal: 159-7050 -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Dear Daniel, to use DSpace-CRIS is mandatory migrate to Solr 4.1.0. To rebuild solr data index in the right format for the 4.1.0, you can call the optimize command directly to the solr server: http://[hostname:port]/solr/[solrcore]/update?optimize=true DSpace-CRIS have 5 solr core (3 derived from DSpace - 1 core for network feature - 1 for pubmed feature) so for example you can call via http (open your browser or use wget or curl tool) the follow link: http://localhost:8080/solr/search/update?optimize=true http://localhost:8080/solr/statistics/update?optimize=true http://localhost:8080/solr/oai/update?optimize=true http://localhost:8080/solr/network/update?optimize=true http://localhost:8080/solr/pmc/update?optimize=true If your installation of DSpace-CRIS is derived from an old DSpace installation (<1.8) then before to migrate data index to 4.1.0 you need to optimize index with the optimize implemented on solr server 3.5.0(after that you can turn off this and migrate to 4.1.0 optimize core again). For other details see https://jira.duraspace.org/browse/DS-1776 BTW for the solr search core you can remove manually the index data directory [dspace]/solr/search/data and run from [dspace]/bin the "dspace update-discovery-index" command (recall that solr server must be up and running before launch indexer). After this you can rebuild also index data for network feature running "dspace dsrun org.dspace.app.cris.batch.ScriptIndexNetwork -a" or if you have interest only to create the network for coauthored publications launch "dspace dsrun org.dspace.app.cris.batch.ScriptIndexNetwork -s coauthors" Hope this helps. Luigi Andrea Il 25/11/2013 17:03, Daniel Garcia ha scritto: Hi Luigi, Thanks it works! I see that I have Solr Specification Version: 3.5.0. In documentation I see that prerequisite software is Solr 4.1.0. You recommend to me to upgrade? I'm afraid to stop working, at now it works. Thanks in advance, Daniel El 25/11/13 16:21, Pascarelli Luigi Andrea ha escrit: Yes, using Tomcat 7 you have to add the follow parameter to the JAVA_OPTS: -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true At http://cineca.github.io/dspace-cris/installation-stepbystep.html we report this configuration for Tomcat 7 but perhaps is better point out it and create a isolate paragraph with this options that depend to the underlying used tool. Sorry for that, we upgrade the documentation asap. Luigi Andrea Il 25/11/2013 16:12, Daniel Garcia ha scritto: I try with this values in JAVA_OPTS: -Xmx950M -Xms512M -XX:PermSize=128M -XX:MaxPermSize=256M -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:-UseConcMarkSweepGC -Dfile.encoding=UTF-8 I need some more parameter? Thanks in advance, Daniel El 25/11/13 15:48, helix84 ha escrit: Hi Daniel, what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luigi Andrea Pascarelli Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria Divisione Ricerca Via dei Tizii, 6 00185 Roma, Italy ph. +39 06 59292895 http://www.cineca.it -- Luigi Andrea Pascarelli Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria
Re: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory problem
Good morning, I think this may be a problem with the Maven version: https://jira.duraspace.org/browse/DS-788. Can you make sure you're using 2.2.x or above? (Version 3 may also be a problem for DSpace 1.7.) B-- > -Original Message- > From: helix84 [mailto:heli...@centrum.sk] > Sent: Monday, November 25, 2013 7:59 AM > To: David Abeijón > Cc: dspace-tech > Subject: Re: [Dspace-tech] Installing DSpace 1.7.3 - webapps directory problem > > Hi David, > > that looks like the contents of what would normally be in > [dspace]/webapps/jspui and [dspace]/webapps/xmlui mixed together in your > [dspace]/webapps/ > > I can't think of any scenario where it would happen. The "ant fresh_install" > or > "ant update" step is the one responsible for copying built webapps from > [dspace- > source] to [dspace]/webapps, so look for the problem in this step. The > "recipe" > ant follows is in [dspace-source]/dspace/target/dspace-1.7.3-build/build.xml. > > See below the usual (as of 1.8.x) contents of jspui: > browse > collection-home.jsp > community-home.jsp > community-list.jsp > components > controlledvocabulary > display-item.jsp > display-statistics.jsp > dspace-admin > error > favicon.ico > feedback > help > home.jsp > image > index.jsp > layout > login > META-INF > mydspace > print.css > register > robots.txt > search > static > statistics > styles.css > submit > suggest > tombstone.jsp > tools > utils.js > WEB-INF > workspace > > and xmlui: > aspects > exception2html.xslt > i18n > META-INF > sitemap.xmap > static > themes > WEB-INF > > > Regards, > ~~helix84 > > Compulsory reading: DSpace Mailing List Etiquette > https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette > > -- > Shape the Mobile Experience: Free Subscription Software experts and > developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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 -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Hi Luigi, Thanks it works! I see that I have Solr Specification Version: 3.5.0. In documentation I see that prerequisite software is Solr 4.1.0. You recommend to me to upgrade? I'm afraid to stop working, at now it works. Thanks in advance, Daniel El 25/11/13 16:21, Pascarelli Luigi Andrea ha escrit: Yes, using Tomcat 7 you have to add the follow parameter to the JAVA_OPTS: -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true At http://cineca.github.io/dspace-cris/installation-stepbystep.html we report this configuration for Tomcat 7 but perhaps is better point out it and create a isolate paragraph with this options that depend to the underlying used tool. Sorry for that, we upgrade the documentation asap. Luigi Andrea Il 25/11/2013 16:12, Daniel Garcia ha scritto: I try with this values in JAVA_OPTS: -Xmx950M -Xms512M -XX:PermSize=128M -XX:MaxPermSize=256M -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:-UseConcMarkSweepGC -Dfile.encoding=UTF-8 I need some more parameter? Thanks in advance, Daniel El 25/11/13 15:48, helix84 ha escrit: Hi Daniel, what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luigi Andrea Pascarelli Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria Divisione Ricerca Via dei Tizii, 6 00185 Roma, Italy ph. +39 06 59292895 http://www.cineca.it -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Yes, using Tomcat 7 you have to add the follow parameter to the JAVA_OPTS: -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true At http://cineca.github.io/dspace-cris/installation-stepbystep.html we report this configuration for Tomcat 7 but perhaps is better point out it and create a isolate paragraph with this options that depend to the underlying used tool. Sorry for that, we upgrade the documentation asap. Luigi Andrea Il 25/11/2013 16:12, Daniel Garcia ha scritto: I try with this values in JAVA_OPTS: -Xmx950M -Xms512M -XX:PermSize=128M -XX:MaxPermSize=256M -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:-UseConcMarkSweepGC -Dfile.encoding=UTF-8 I need some more parameter? Thanks in advance, Daniel El 25/11/13 15:48, helix84 ha escrit: Hi Daniel, what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Luigi Andrea Pascarelli Dipartimento Servizi e Soluzioni per l'Amministrazione Universitaria Divisione Ricerca Via dei Tizii, 6 00185 Roma, Italy ph. +39 06 59292895 http://www.cineca.it -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
I try with this values in JAVA_OPTS: -Xmx950M -Xms512M -XX:PermSize=128M -XX:MaxPermSize=256M -XX:-UseGCOverheadLimit -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX:-UseConcMarkSweepGC -Dfile.encoding=UTF-8 I need some more parameter? Thanks in advance, Daniel El 25/11/13 15:48, helix84 ha escrit: Hi Daniel, what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Installing DSpace 1.7.3 - webapps directory problem
Hi David, that looks like the contents of what would normally be in [dspace]/webapps/jspui and [dspace]/webapps/xmlui mixed together in your [dspace]/webapps/ I can't think of any scenario where it would happen. The "ant fresh_install" or "ant update" step is the one responsible for copying built webapps from [dspace-source] to [dspace]/webapps, so look for the problem in this step. The "recipe" ant follows is in [dspace-source]/dspace/target/dspace-1.7.3-build/build.xml. See below the usual (as of 1.8.x) contents of jspui: browse collection-home.jsp community-home.jsp community-list.jsp components controlledvocabulary display-item.jsp display-statistics.jsp dspace-admin error favicon.ico feedback help home.jsp image index.jsp layout login META-INF mydspace print.css register robots.txt search static statistics styles.css submit suggest tombstone.jsp tools utils.js WEB-INF workspace and xmlui: aspects exception2html.xslt i18n META-INF sitemap.xmap static themes WEB-INF Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Hi Daniel, what is your value of the JAVA_OPTS (and any other optional Java environment variables, see comments in bin/catalina.sh) in the environment where you run startup.sh? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Some properties not expanded in dspace.cfg
On Mon, Nov 25, 2013 at 03:03:04PM +0100, Àlex Magaz Graça wrote: > At least since DSpace 1.7, I've been noticing that some properties in > dspace.cfg are not expanded after running ant update. For example, > dspace.dir value is not expanded in log.init.config option. Does that cause a problem? This expansion should be happening at runtime, if unexpanded variables still exist in dspace.cfg. Whenever some bit of code asks for a configuration variable, its value is examined for unexpanded variables and edited accordingly. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient. signature.asc Description: Digital signature -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Installing DSpace 1.7.3 - webapps directory problem
Hi, Im installing DSpace 1.7.3, i know is a very old version but it is the one i need, anyway, im following the instruction on the wiki : https://wiki.duraspace.org/display/DSDOC17/Installation#Installation-Install ationInstructions Looks like everything goes well but when i test the installation it doen't find /xmlui application, indeed, when i check [dspace]/webapps directory /xmlui or /jspui doesnt exist, the list of webapps is like this: --- WEB-INF admin aspects browse collection-home.jsp community-home.jsp community-list.jsp components controlledvocabulary display-item.jsp display-statistics.jsp dspace-admin error exception2html.xslt favicon.ico feedback help home.jsp i18n image index.jsp layout login mydspace print.css register robots.txt search sitemap.xmap static statistics styles.css submit suggest themes tombstone.jsp tools utils.js workspace - What am i doing wrong? Thank you, David -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Hi Luigi, First, thanks for your reply. My version of tomcat is "apache-tomcat-7.0.42". When I start tomcat, I start '/apache-tomcat-7.0.42/bin/startup.sh'. It's necessary run tomcat with any parameter? Thanks in advance, Daniel El 25/11/13 11:54, Pascarelli Luigi Andrea ha escrit: Dear Daniel, Can you tell us which tomcat version do you use and which parameters do you have in the tomcat startup script? Thank you Luigi Andrea Il 25/11/2013 11:31, Daniel Garcia ha scritto: Hi, I install the last version of DSpace+CRIS Module following the steps (http://cineca.github.io/dspace-cris/installation.html) All is OK, DSpace works correctly but when I want to 'Add a project' in Administration panel I get a 'Internal Error'. I check logs and I see: 2013-11-25 11:23:45,007 INFO org.dspace.app.cris.discovery.CrisSearchService @ Wrote cris: 14bd5ce5-8a4d-433e-bbc8-9d862257db41 to Index 2013-11-25 11:23:45,249 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=D3AE81A2DD7447ECEE8ABCA8039AED14.projecte1:internal_error:-- URL Was: http://portalrecerca-dev.cesca.cat/internal-error?id=8 -- Method: GET -- Parameters were: -- id: "8" javax.servlet.ServletException: org.apache.jasper.JasperException: /dspace-cris/jdyna/projectDataEditForm.jsp (line: 511, column: 4) "${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}" contains invalid _expression_(s): javax.el.ELException: Failed to parse the _expression_ [${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}] at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:85) 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950) 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:621) 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.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic
[Dspace-tech] Some properties not expanded in dspace.cfg
Hi, At least since DSpace 1.7, I've been noticing that some properties in dspace.cfg are not expanded after running ant update. For example, dspace.dir value is not expanded in log.init.config option. I thought it had something to do with my setup (Ant version or whatever), but now, after looking at the issue, I don't see anything wrong. I've seen in the prepare_configs target (in Ant's build.xml) how all configuration files but dspace.cfg are copied with a filter chain that expands the properties. So I've tried changing this line: with this: Afeter this change the properties are expanded correctly. I build (mvn package) DSpace 4 from one machine with these versions: OpenJDK 1.7.0_25 Maven 2.2.1 and deploy (ant update) in another machine with these versions: OpenJDK 1.7.0_45 Ant 1.9.2 Any idea of what I am doing wrong? Thanks, Àlex -- Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/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] Can't add project in DSpace with module CRIS
Dear Daniel, Can you tell us which tomcat version do you use and which parameters do you have in the tomcat startup script? Thank you Luigi Andrea Il 25/11/2013 11:31, Daniel Garcia ha scritto: Hi, I install the last version of DSpace+CRIS Module following the steps (http://cineca.github.io/dspace-cris/installation.html) All is OK, DSpace works correctly but when I want to 'Add a project' in Administration panel I get a 'Internal Error'. I check logs and I see: 2013-11-25 11:23:45,007 INFO org.dspace.app.cris.discovery.CrisSearchService @ Wrote cris: 14bd5ce5-8a4d-433e-bbc8-9d862257db41 to Index 2013-11-25 11:23:45,249 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=D3AE81A2DD7447ECEE8ABCA8039AED14.projecte1:internal_error:-- URL Was: http://portalrecerca-dev.cesca.cat/internal-error?id=8 -- Method: GET -- Parameters were: -- id: "8" javax.servlet.ServletException: org.apache.jasper.JasperException: /dspace-cris/jdyna/projectDataEditForm.jsp (line: 511, column: 4) "${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}" contains invalid _expression_(s): javax.el.ELException: Failed to parse the _expression_ [${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}] at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:85) 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950) 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:621) 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.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 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(StandardContex
[Dspace-tech] Can't add project in DSpace with module CRIS
Hi, I install the last version of DSpace+CRIS Module following the steps (http://cineca.github.io/dspace-cris/installation.html) All is OK, DSpace works correctly but when I want to 'Add a project' in Administration panel I get a 'Internal Error'. I check logs and I see: 2013-11-25 11:23:45,007 INFO org.dspace.app.cris.discovery.CrisSearchService @ Wrote cris: 14bd5ce5-8a4d-433e-bbc8-9d862257db41 to Index 2013-11-25 11:23:45,249 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=D3AE81A2DD7447ECEE8ABCA8039AED14.projecte1:internal_error:-- URL Was: http://portalrecerca-dev.cesca.cat/internal-error?id=8 -- Method: GET -- Parameters were: -- id: "8" javax.servlet.ServletException: org.apache.jasper.JasperException: /dspace-cris/jdyna/projectDataEditForm.jsp (line: 511, column: 4) "${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}" contains invalid expression(s): javax.el.ELException: Failed to parse the expression [${researcher:isThereMetadataNoEditable(holder.shortName, holder.class)}] at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:85) 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:238) at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:262) at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1180) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:950) 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:621) 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.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 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.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) 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:502) 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:953) at org.apache.catalina.core.StandardEngineVal