Re: [dspace-tech] DSpace-CRIS - unable recently to retrieve bibliometrics from Scopus

2020-11-10 Thread Pascarelli Luigi Andrea
Dear Jawad Makki,

I guess your DSpace-CRIS installation use the http protocol configured
to reach Scopus endpoint. Please check your build.properties, change it
to use https (
https://github.com/4Science/DSpace/blob/1aefe5c3ddf837bfa9dc25b4e84378db3d169a8b/build.properties#L232
), rebuild and update your installation. For a full list of
modifications to do after the removal of http support by Elsevier
please check 
https://github.com/4Science/DSpace/commit/1aefe5c3ddf837bfa9dc25b4e84378db3d169a8b

Hope this helps you.

Regards,

Luigi Andrea

On Thu, 2020-10-08 at 10:40 -0700, Jawad Makki wrote:
> Dear All,
> Since the mid of last September, bibliometrics (citation count) from
> Scopus are not retrieved in DSpace-CRIS 5.x. I’ve checked many online
> DSpace-CRIS installations and found that last checked date was
> between Sep 7, 2020 to Sep 12, 2020. So it seems this is a common
> problem if I’m not mistaken.
>  
> I was able previously to retrieve the citation count from Scopus
> normally, I didn’t change any related configuration recently.
>  
> The scopus-retrieve script  is running smoothly without any error.
> The Scopus API key is valid, I’ve tested it directly and I’m getting
> results from Scopus
> For instance : 
> https://api.elsevier.com/content/search/scopus?query=DOI(10.1021/ie400582a)=Your_Scopus_API_Key
> The log file indicates that there are no results retrieved from
> Scopus.
>  
> I’m not sure if the problem is coming from Scopus provider (Elsevier)
> or from our side (our DSpace-CRIS installation) ?
>  
> Please advise.
>  
> Regards,
> Jawad Makki

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/6bd6d7f5f89909d7a845b3877fb46479e4882411.camel%404science.it.


Re: [dspace-tech] Re: Mirage2 build fails AGAIN

2020-06-03 Thread Pascarelli Luigi Andrea
Hello,

unfortunately due to a change on underlying tool the installation of
the Mirage 2 on DSpace 5.10 fails. My suggestion is to download and
install the development branch (dspace-5_x) and wait the DSpace 5.11
that it will contains the fix (
https://github.com/DSpace/DSpace/commit/2d7aa1fbb42606e73bbe9997dbc990100bc2559a).
 

Hope this helps you.

Luigi Andrea

On Wed, 2020-06-03 at 04:02 -0700, Sengo Muramasa wrote:
> This is what happens when I execute it with
> -Dmirage2.deps.included=false
> 
> [ERROR] Failed to execute goal on project xmlui-mirage2: Could not
> resolve dependencies for project org.dspace.modules:xmlui-
> mirage2:war:5.10: Could not find artifact rubygems:rb-
> inotify:gem:0.9.10 in sonatype-releases (
> https://oss.sonatype.org/content/repositories/releases/) -> [Help 1]
> 
> 
> 
> On Wednesday, June 3, 2020 at 12:57:19 PM UTC+2, Sengo Muramasa
> wrote:
> > Someone has been tampering with the packages for the 3rd time.
> > 
> > [INFO] 
> > 
> > [INFO] BUILD FAILURE
> > [INFO] 
> > 
> > [INFO] Total time: 01:06 min
> > [INFO] Finished at: 2020-06-03T12:45:28+02:00
> > [INFO] Final Memory: 58M/401M
> > [INFO] 
> > 
> > [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-
> > plugin:1.0.6:initialize (default) on project xmlui-mirage2:
> > Execution default of goal de.saumya.mojo:gem-maven-
> > plugin:1.0.6:initialize failed: Java returned: 1 -> [Help 1]
> > [ERROR] 
> > [ERROR] To see the full stack trace of the errors, re-run Maven
> > with the -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug
> > logging.
> > [ERROR] 
> > [ERROR] For more information about the errors and possible
> > solutions, please read the following articles:
> > [ERROR] [Help 1] 
> > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
> > [ERROR] 
> > [ERROR] After correcting the problems, you can resume the build
> > with the command
> > [ERROR]   mvn  -rf :xmlui-mirage2
> > 
> 
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code
> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> --- 
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/efc20374-0ee2-42a2-b804-a44c564afef2%40googlegroups.com
> .
> 

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/4f92943d64cb78249b4e506b4a2bcf32756c75c4.camel%404science.it.


Re: [dspace-tech] DSpace CRIS - clean of database failing

2019-07-03 Thread Pascarelli Luigi Andrea
Dear Marc,

you can try with PostgreSQL 10, we have some test installations running
and no issues found. BTW the PostgreSQL 9.6 is the safely choice.

Regards,

Luigi Andrea



On Tue, 2019-07-02 at 08:02 -0700, Marc wrote:
> Dear List,
> 
> During the testing DSpace CRIS 5.10 we found that using the following
> command fails
> 
> bin/dspace database clean
> 
> Currently we are running PostgreSQL version 11.3 on Debian Stretch.
> 
> It would seem that this is related to the following issue logged
> against flyaway
> 
> PostgreSQL 11.0 is not supported (clean() fails)
> https://github.com/flyway/flyway/issues/2193
> 
> Would you suggest that we downgraded to either PostgreSQL 10 or 9.6?
> 
> regards
> Marc
> -- 
> All messages to this mailing list should adhere to the DuraSpace Code
> of Conduct: https://duraspace.org/about/policies/code-of-conduct/
> --- 
> You received this message because you are subscribed to the Google
> Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dspace-tech/21168c6e-491e-41e0-bc4d-868f6611c1d7%40googlegroups.com
> .
> 

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/bc9b220f58900c99ac3ad12c387b53b74333da67.camel%404science.it.


Re: [dspace-tech] Browse a DSpace CRIS entity type

2019-06-26 Thread Pascarelli Luigi Andrea
Dear Marc,

you have to setup a meaningful filter for the browse option, please see
the paragraph at 
https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687#Browse

For example:

webui.browse.index.25 = spname:crisrp:spname
browse.solr.bi_crisrp.filter=search.resourcetype:9
browse.solr.bi_25_dis.filter=search.resourcetype:9


Hope this helps.

Luigi Andrea


On Wed, 2019-06-26 at 05:21 -0700, Marc wrote:
> Dear List,
> 
> We have setup a new entity type and this seems to be working
> correctly. It is linked into the Navbar and you can search on it a
> get a list of entities back for this entity type. What is not working
> is the the Browse link for the Scientific Name
> 
> 
> We have followed the instructions at the following links and also
> looked at how other entity types are setup.
> 
> https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687
> https://wiki.duraspace.org/pages/viewpage.action?pageId=78163308
> 
> I am assumming that this is caused by a missing setting somewhere,
> but not sure where else to look. Any advice would be greatly
> appreciated.
> 
> DSpace CRIS 5.10
> 
> regards
> Marc
> 
> The error as reported in the dspace log is
> 
> 2019-06-26 13:06:20,474 WARN
>  org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=7CCDA3BCD706D5EA80DF2697BE5D39E2:internal_error:-- URL
> Was: http://localhost:8080/dspace5/browse?type=spname
> -- Method: GET
> -- Parameters were:
> -- type: "spname"
> 
> javax.servlet.ServletException: org.apache.jasper.JasperException: An
> exception occurred processing JSP page [/browse/full.jsp] at line
> [610]
> 
> 607: else
> 608: {
> 609: %>
> 610: 
> 611: <%
> 612: }
> 613:   
> 
> 
> Stacktrace:
> at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWeb
> appServletFilter.java:85)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
> atcher.java:728)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
> tionDispatcher.java:470)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
> ispatcher.java:395)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
> patcher.java:316)
> at
> org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60)
> at
> org.dspace.app.webui.servlet.BrowserServlet.showFullPage(BrowserServl
> et.java:200)
> at
> org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(Abs
> tractBrowserServlet.java:382)
> at
> org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.ja
> va:97)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServl
> et.java:119)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:6
> 7)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:231)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
> at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52
> )
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
> at
> org.dspace.app.webui.cris.filter.ExploreLocationFilter.doFilter(Explo
> reLocationFilter.java:88)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
> at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWeb
> appServletFilter.java:78)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
> icationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
> ilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
> alve.java:199)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
> alve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> torBase.java:493)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> ava:137)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
> ava:81)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAcce
> ssLogValve.java:660)
> at
> 

Re: [dspace-tech] Re: DSpace-CRIS Researcher

2018-12-31 Thread Pascarelli Luigi Andrea
Dear Andrea,

can you show us details of your environment and where do you try to put
the parameter "-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"?
Usually when Tomcat is NOT installed as service you can add your custom
startup Tomcat parameter in a new file called [tomcat-
dir]/bin/setenv.sh.

To resume your goal is to add "-
Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true" parameter into 
CATALINA_OPTS environment variable. 

Hope this help you.

Luigi Andrea

On Wed, 2018-12-26 at 08:15 -0800, andreamancino1...@gmail.com wrote:
> Yes, even if I start tomcat With that parameter it doesn't work. 
> 
> Il giorno sabato 22 dicembre 2018 17:02:11 UTC+1, andreama...@gmail.c
> om ha scritto:
> > Good Morning
> > I can't do anything about researcher. If I want to see my
> > researcher profile page or if I want to see researcher page of
> > another author or if I want to add a researcher profile from
> > cris module menu  An Internal Server Error appears. Any time I do
> > one of these things this error appears. 
> > 
> > This is log 
> > 
> > 2018-12-22 15:33:43,926 WARN  org.dspace.core.NewsManager @
> > news_read: \dspace\config\news-footer.html (Impossibile trovare il
> > file specificato)
> > 2018-12-22 15:33:49,623 WARN  org.dspace.core.NewsManager @
> > news_read: \dspace\config\news-footer.html (Impossibile trovare il
> > file specificato)
> > 2018-12-22 15:34:03,493 INFO 
> > org.dspace.usage.LoggerUsageEventListener @ xx@libero.i
> > t:session_id=3A787CD7F3E3BE0EFED9C2A0A6D8708A:ip_addr=0:0:0:0:0:0:0
> > :1::
> > 2018-12-22 15:34:03,556 ERROR
> > org.dspace.app.cris.statistics.GeoRefAdditionalStatisticsData @
> > Unable to get location of request:  {}
> > com.maxmind.geoip2.exception.AddressNotFoundException: The address
> > 0:0:0:0:0:0:0:1 is not in the database.
> > at
> > com.maxmind.geoip2.DatabaseReader.get(DatabaseReader.java:188)
> > at
> > com.maxmind.geoip2.DatabaseReader.city(DatabaseReader.java:233)
> > at
> > org.dspace.app.cris.statistics.GeoRefAdditionalStatisticsData.addMe
> > tadata(GeoRefAdditionalStatisticsData.java:129)
> > at
> > org.dspace.statistics.DSpaceObjectStatsIndexPlugin.storeAdditionalM
> > etadata(DSpaceObjectStatsIndexPlugin.java:42)
> > at
> > org.dspace.statistics.DSpaceObjectStatsIndexPlugin.additionalIndex(
> > DSpaceObjectStatsIndexPlugin.java:32)
> > at
> > org.dspace.statistics.SolrLogger.getCommonSolrDocByRequest(SolrLogg
> > er.java:433)
> > at
> > org.dspace.statistics.SolrLogger.postView(SolrLogger.java:260)
> > at
> > org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(Sol
> > rLoggerUsageEventListener.java:47)
> > at
> > org.dspace.services.events.SystemEventService.fireLocalEvent(System
> > EventService.java:144)
> > at
> > org.dspace.services.events.SystemEventService.fireEvent(SystemEvent
> > Service.java:86)
> > at
> > org.dspace.app.webui.cris.controller.ResearcherPageDetailsControlle
> > r.handleDetails(ResearcherPageDetailsController.java:288)
> > at
> > it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleReques
> > tInternal(SimpleDynaController.java:116)
> > at
> > org.springframework.web.servlet.mvc.AbstractController.handleReques
> > t(AbstractController.java:153)
> > at
> > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.
> > handle(SimpleControllerHandlerAdapter.java:48)
> > at
> > org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispat
> > cherServlet.java:933)
> > at
> > org.springframework.web.servlet.DispatcherServlet.doService(Dispatc
> > herServlet.java:867)
> > at
> > org.springframework.web.servlet.FrameworkServlet.processRequest(Fra
> > meworkServlet.java:951)
> > at
> > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkSer
> > vlet.java:842)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
> > at
> > org.springframework.web.servlet.FrameworkServlet.service(FrameworkS
> > ervlet.java:827)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > plicationFilterChain.java:231)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFilterChain.java:166)
> > at
> > org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:
> > 53)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > plicationFilterChain.java:193)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFilterChain.java:166)
> > at
> > org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilte
> > r(DSpaceContextCleanupFilter.java:54)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ap
> > plicationFilterChain.java:193)
> > at
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicatio
> > nFilterChain.java:166)
> > at
> > 

Re: [dspace-tech] DSpace-CRIS: password authentication failed for user "dspace"

2018-04-10 Thread Pascarelli Luigi Andrea
During DSpace-CRIS build there is another place where database information are 
stored and used by application to display metrics data. Please check 
[dspace.dir]/solr/search/conf/database.properties and fill the correct database 
info. Restart tomcat as well.

Hope this helps.

Luigi Andrea

Il 10 apr 2018 10:19 PM, mmor...@ias.edu ha scritto:
Hi,

I'm receiving this error in log/dspace.log.2018-04-10 DSpace-CRIS 5.8 
installation while browsing or updating researcher profile, i made sure the 
db.password is correct in dspace.cfg and local.cfg and reset the password in 
postgres.

2018-04-10 16:12:20,948 ERROR 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor @ 
x...@email.com:session_id=72D6233A8DBB8B667B27A645A12769F0:ip_addr=xx.xx.xx.xx:MetricsItemHomeProcessor:org.postgresql.util.PSQLException\colon;
 FATAL\colon; password authentication failed for user "dspace"
org.dspace.discovery.SearchServiceException: org.postgresql.util.PSQLException: 
FATAL: password authentication failed for user "dspace"
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2586)
at 
org.dspace.app.webui.cris.metrics.MetricsCrisHomeProcessor.process(MetricsCrisHomeProcessor.java:58)
at 
org.dspace.app.webui.cris.controller.ResearcherPageDetailsController.handleDetails(ResearcherPageDetailsController.java:232)
at 
it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleRequestInternal(SimpleDynaController.java:116)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:933)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: 

Re: [dspace-tech] Problem with search cris entity by Pointer field

2018-04-10 Thread Pascarelli Luigi Andrea
So, If you want create a discovery facet from the values inserted into 
"testauthorsauthor" pointer field, the property "metadataFields" of the bean 
into discovery.xml named searchFilterTestAuthor have to contains value for 
"cristest.testauthors.testauthorsauthor". If metadata has values in your 
database, after a complete solr search reindex you should see "author_test" 
field in your solr documents and if the facet bean is well configurated also 
into facet sidebar at explore section of "cristest" CRIS entity.

Hope this helps.

Regards,

Luigi Andrea

Il 10/04/2018 11:48, MaX Verner ha scritto:
Helllo,
yes you right.
Thank you.

понедельник, 9 апреля 2018 г., 22:34:48 UTC+3 пользователь Pascarelli Luigi 
Andrea написал:

Dear MaX,

to resume your requirements "cristest" is the shortname of the new CRIS entity, 
you want setup a new explore section in navbar. "testauthors" is the shortname 
of the nested field and "testauthorsauthor" the shortname of the pointer field 
(RP pointer). I can imagine that you want setup a "facet" from the value 
inserted in the pointer behind the nested field? It's right?

Please, can you explain better your requirements?

Thank you very much.

Luigi Andrea

Il 09/04/2018 17:27, MaX Verner ha scritto:
Good day.


I am created new cris entity ( dspace-CRIS 5.8), add in navbar.cris-entities 
and add bean crisTestConfiguration in discovery.xml. But search Pointer field 
not working.

Structure:
Box authors
- Nested field - testauthors, where Pointer field - 
testauthorsauthor(Researcher Pages)

I am tried different variants


   
   
  
 cristest.authors
  
   





and cristest.testauthorsauthor

and cristest.authors.testauthorsauthor




but all not working. Search other fields work fine.




Someone could help? Thank you in advance.


--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech...@googlegroups.com.
To post to this group, send email to dspac...@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech=3bf0957c=1a59d98e=n=y>.
For more options, visit 
https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout=3bf0957c=3c849a2f=n=y>.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fesva1.business-e.it%2Fcgi-bin%2Flearn-msg.cgi%3Fid%3D0B95A400CF.A2B15=3bf0957c=07bee79c=n=y>


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  
www.4science.it<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.4science.it=3bf0957c=5a4c4a70=n=y>

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
This message has been checked by Libra ESVA and is believed to be clean.

--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech=3bf0957c=1a59d98e=n=y>.
For more options, visit 
https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout=3bf0957c=3c849a2f=n=y>.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.<http://esva1.business-e.it/cgi-bin/learn-msg.cgi?id=CCFD4400D2.A29E5>


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it<http://www.4science.it>

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandr

Re: [dspace-tech] Problem with search cris entity by Pointer field

2018-04-09 Thread Pascarelli Luigi Andrea
Dear MaX,

to resume your requirements "cristest" is the shortname of the new CRIS entity, 
you want setup a new explore section in navbar. "testauthors" is the shortname 
of the nested field and "testauthorsauthor" the shortname of the pointer field 
(RP pointer). I can imagine that you want setup a "facet" from the value 
inserted in the pointer behind the nested field? It's right?

Please, can you explain better your requirements?

Thank you very much.

Luigi Andrea

Il 09/04/2018 17:27, MaX Verner ha scritto:
Good day.


I am created new cris entity ( dspace-CRIS 5.8), add in navbar.cris-entities 
and add bean crisTestConfiguration in discovery.xml. But search Pointer field 
not working.

Structure:
Box authors
- Nested field - testauthors, where Pointer field - 
testauthorsauthor(Researcher Pages)

I am tried different variants


   
   
  
 cristest.authors
  
   





and cristest.testauthorsauthor

and cristest.authors.testauthorsauthor




but all not working. Search other fields work fine.




Someone could help? Thank you in advance.


--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace CRIS 5 After Install

2018-04-09 Thread Pascarelli Luigi Andrea
>From a my previous answer on this list...

you need to add in tomcat startup script the system property: 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true

The best place to fit this configuration is the "setenv" script. From Apache 
Tomcat documentation:

Apart from CATALINA_HOME and CATALINA_BASE, all environment variables can
be specified in the "setenv" script. The script is placed either into
CATALINA_BASE/bin or into CATALINA_HOME/bin directory and is named
setenv.bat (on Windows) or setenv.sh (on *nix). The file has to be
readable.

By default the setenv script file is absent. If the script file is present
both in CATALINA_BASE and in CATALINA_HOME, the one in CATALINA_BASE is
preferred.

For example, to configure the JRE_HOME and CATALINA_PID variables you can
create the following script file:

On Windows, %CATALINA_BASE%\bin\setenv.bat:

  set "JRE_HOME=%ProgramFiles%\Java\jre6"
  exit /b 0

On *nix, $CATALINA_BASE/bin/setenv.sh:

  JRE_HOME=/usr/java/latest
  CATALINA_PID="$CATALINA_BASE/tomcat.pid"


The CATALINA_HOME and CATALINA_BASE variables cannot be configured in the
setenv script, because they are used to locate that file.

All the environment variables described here and the "setenv" script are
used only if you use the standard scripts to launch Tomcat. For example, if
you have installed Tomcat as a service on Windows, the service wrapper
launches Java directly and does not use the script files.

So the content of your "setenv" script could be: CATALINA_OPTS="-Dfile.
encoding=UTF-8 -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"

Hope this help you.

Thank you very much.

Luigi Andrea

Il 09/04/2018 19:42, 
jgulibraryserv...@gmail.com<mailto:jgulibraryserv...@gmail.com> ha scritto:


On Monday, 23 May 2016 16:10:28 UTC+5:30, Pascarelli Luigi Andrea wrote:

Dear,

as reported in the documentation:

  If you use Tomcat 7, recommended, then you have to change the startup tomcat 
script to add a system properties that modify the default Tomcat behavior. So 
startup tomcat with the follow parameter: 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true

Have you done this modification?

Let me know

Regards,


Luigi Andrea

Il 23/05/2016 10:57, Sarankon Hiranphonlakrit ha scritto:
I installed DSpace CRIS 5 to my computer for testing.
by follow installation at 
https://wiki.duraspace.org/display/DSPACECRIS/Installation<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwiki.duraspace.org%2Fdisplay%2FDSPACECRIS%2FInstallation=3bf0957c=600e3252=n=y>
after installed, I copy jspui, solr, xmlui to webapps folder in apache tomcat 
then, run webserver
create admin and testing, I found some thing wrong

when I want to Add a Researcher Profile
http://10.5.33.98:8080/jspui/cris/tools/rp/editDynamicData.htm?id=6

it show this on display

Internal System Error

The system has experienced an internal error. Please try to do what you were 
doing again, and if the problem persists, please contact us so we can fix the 
problem.


and this on log file


23-May-2016 15:54:05.167 SEVERE [http-nio-8080-exec-8] 
org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for 
servlet [springmvc-rp] in context with path [/jspui] threw exception 
[javax.servlet.ServletException: org.apache.jasper.JasperException: 
/dspace-cris/jdyna/rpDataEditForm.jsp (line: 775, 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)}]] with root cause

 org.apache.jasper.JasperException: /dspace-cris/jdyna/rpDataEditForm.jsp 
(line: 775, 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.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:291)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:97)

at 
org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1422)

at 
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1231)

at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)

at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:898)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)

at or

Re: [dspace-tech] Add a Researcher Profile shows Internal System Error - Updating Dspace 5:X to Dspace CRIS

2018-03-19 Thread Pascarelli Luigi Andrea
Dear Mauricio,

you need to add in tomcat startup script the system property: 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true

The best place to fit this configuration is the "setenv" script. From Apache 
Tomcat documentation:

Apart from CATALINA_HOME and CATALINA_BASE, all environment variables can
be specified in the "setenv" script. The script is placed either into
CATALINA_BASE/bin or into CATALINA_HOME/bin directory and is named
setenv.bat (on Windows) or setenv.sh (on *nix). The file has to be
readable.

By default the setenv script file is absent. If the script file is present
both in CATALINA_BASE and in CATALINA_HOME, the one in CATALINA_BASE is
preferred.

For example, to configure the JRE_HOME and CATALINA_PID variables you can
create the following script file:

On Windows, %CATALINA_BASE%\bin\setenv.bat:

  set "JRE_HOME=%ProgramFiles%\Java\jre6"
  exit /b 0

On *nix, $CATALINA_BASE/bin/setenv.sh:

  JRE_HOME=/usr/java/latest
  CATALINA_PID="$CATALINA_BASE/tomcat.pid"


The CATALINA_HOME and CATALINA_BASE variables cannot be configured in the
setenv script, because they are used to locate that file.

All the environment variables described here and the "setenv" script are
used only if you use the standard scripts to launch Tomcat. For example, if
you have installed Tomcat as a service on Windows, the service wrapper
launches Java directly and does not use the script files.

So the content of your "setenv" script could be: 
CATALINA_OPTS="-Dfile.encoding=UTF-8 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"

Hope this help you.

Thank you very much.

Luigi Andrea

Il 16/03/2018 23:30, 
mauricio.br...@ucuenca.edu.ec ha scritto:
Dear Friends.

Sorry for the previously incomplete message. I need help with an error. I am 
updating dspace 5.X to Dspace CRIS. The application starts successfully, but 
when I try to add a research profile, the system shows an internal system 
error. catalina.out shows:

 org.apache.jasper.JasperException: /dspace-cris/jdyna/rpDataEditForm.jsp 
(line: 905, 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.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:291)
at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:97)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1422)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1231)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:898)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:898)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)
at 
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:898)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1545)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:471)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
at 
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1853)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:219)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:372)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:333)
at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
at 

R: [dspace-tech] Error build dspace CRIS 6RC2

2018-01-03 Thread Pascarelli Luigi Andrea
FO] DSpace SOLR :: Local Customizations  SKIPPED
[INFO] DSpace OAI-PMH . SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
[INFO] DSpace Assembly and Configuration .. SKIPPED
[INFO] DSpace XML-UI Mirage2 Theme  SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 51.378 s
[INFO] Finished at: 2018-01-03T19:47:37Z
[INFO] Final Memory: 37M/88M
[INFO] 
[ERROR] Failed to execute goal 
org.codehaus.mojo:buildnumber-maven-plugin:1.4:create (default) on project 
dspace-api: Cannot get the revision information from the scm repository :
[ERROR] Exception while executing SCM command.: Error while executing command. 
Error while executing process. Cannot run program "git" (in directory 
"C:\dspace\DSpace-dspace-6_x_x-cris\dspace-api"): CreateProcess error=2, El 
sistema no puede encontrar el archivo especificado
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :dspace-api


Regards
Gonzalo






El miércoles, 3 de enero de 2018, 13:49:08 (UTC), Pascarelli Luigi Andrea 
escribió:
Hi Gonzalo,

from the Reactor Summary I think that you have a modified POM of DSpace-CRIS or 
'mvn' command has launched in a wrong folder.

Try to clone the branch using "git clone -b dspace-6_x_x-cris 
https://github.com/4Science/DSpace.git<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2F4Science%2FDSpace.git=8ef37f15=731ddf05=n=y>
 dspace-parent/" and from "dspace-parent" folder run "mvn clean -U package".

Let me known.

Luigi Andrea


Il 03/01/2018 11:09, gonzalo perl ha scritto:
Hello everybody

I am trying to install Dspace-CRIS-6 (RC2), writing mvn -U clean package, but i 
get the following error:

INFO] DSpace Addon Modules ... SUCCESS [  0.358 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [ 18.284 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations  SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .. SKIPPED
[INFO] DSpace RDF :: Local Customizations . SKIPPED
[INFO] DSpace REST :: Local Customizations  SKIPPED
[INFO] DSpace SWORD :: Local Customizations ... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations  SKIPPED
[INFO] DSpace SOLR :: Local Customizations  SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
[INFO] DSpace Assembly and Configuration .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 18.969 s
[INFO] Finished at: 2018-01-03T10:01:44Z
[INFO] Final Memory: 13M/31M
[INFO] 
[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:CRIS-6.1.0-SNAPSHOT: 
The following artifacts could not be resolved: 
org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT, 
org.dspace:dspace-cris-api:jar:CRIS-6.1.0-SNAPSHOT: Coul
d not find artifact org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT in 
4science-repo-snapshot 
(https://github.com/4Science/mvn-repo/raw/master/snapshots<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2F4Science%2Fmvn-repo%2Fraw%2Fmaster%2Fsnapshots=8ef37f15=877e5470=n=y>)
 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FDependencyResolutionException=8ef37f15=42250f36=n=y>
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :additions

Any idea?

Regards
Gonzalo

--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" grou

Re: [dspace-tech] Error build dspace CRIS 6RC2

2018-01-03 Thread Pascarelli Luigi Andrea
Hi Gonzalo,

from the Reactor Summary I think that you have a modified POM of DSpace-CRIS or 
'mvn' command has launched in a wrong folder.

Try to clone the branch using "git clone -b dspace-6_x_x-cris 
https://github.com/4Science/DSpace.git dspace-parent/" and from "dspace-parent" 
folder run "mvn clean -U package".

Let me known.

Luigi Andrea


Il 03/01/2018 11:09, gonzalo perl ha scritto:
Hello everybody

I am trying to install Dspace-CRIS-6 (RC2), writing mvn -U clean package, but i 
get the following error:

INFO] DSpace Addon Modules ... SUCCESS [  0.358 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [ 18.284 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations  SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .. SKIPPED
[INFO] DSpace RDF :: Local Customizations . SKIPPED
[INFO] DSpace REST :: Local Customizations  SKIPPED
[INFO] DSpace SWORD :: Local Customizations ... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations  SKIPPED
[INFO] DSpace SOLR :: Local Customizations  SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
[INFO] DSpace Assembly and Configuration .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 18.969 s
[INFO] Finished at: 2018-01-03T10:01:44Z
[INFO] Final Memory: 13M/31M
[INFO] 
[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:CRIS-6.1.0-SNAPSHOT: 
The following artifacts could not be resolved: 
org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT, 
org.dspace:dspace-cris-api:jar:CRIS-6.1.0-SNAPSHOT: Coul
d not find artifact org.dspace:dspace-api:jar:CRIS-6.1.0-SNAPSHOT in 
4science-repo-snapshot 
(https://github.com/4Science/mvn-repo/raw/master/snapshots) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :additions

Any idea?

Regards
Gonzalo

--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Metadata filed doesn't change after modifying local.cfg

2017-08-22 Thread Pascarelli Luigi Andrea
Dear Daniel,

I forgot to advice you that this commit 
https://github.com/4Science/DSpace/commit/63d856bb974056d23ce687a1f4f979a6461ec953
 resolve your issue. The commit is part of the DSpace-CRIS 6.x  RC2 tag 
(https://github.com/4Science/DSpace/releases/tag/dspace-cris-6RC2). Please in 
the future to report an issue on DSpace-CRIS use issues section on Github 
(https://github.com/4Science/DSpace/issues).

Hope this help you.

Thank you very much!

Luigi Andrea

Il 12/07/2017 11:27, danielKim ha scritto:
Hello Claudia,
Thanks for your response.
I should try to use another version of DSpace and will post the result here.
(so make sure this version of dspace has issue)

Thanks for your response.
Regards

2017년 7월 12일 수요일 오후 4시 49분 22초 UTC+8, Claudia Jürgen 님의 말:
Hello Daniel,

as you mentioned below this seems to be a CRIS issue.
I tried it on a vanilla 6.x instance with jspui and it works just fine
in all variations (enumeration, each on a seperate line etc.).

Hope this helps

Claudia


Am 11.07.2017 um 11:08 schrieb danielKim:
> Thanks for reading this question.
> Our library repository uses custom metadata filed so I have added following
> lines in the local.cfg configuration file.
>
> webui.itemdisplay.default = dc.title, dc.title.alternative,
> dc.contributor.*, \
>  dc.subject(nobreakline), dc.date.issued(date),
> dc.publisher, \
>  dc.identifier.citation,
> dc.relation.ispartofseries, \
>  dc.description.abstract, dc.description, \
>  dc.identifier.govdoc, dc.identifier.uri(link),\
>  dc.identifier.isbn, dc.identifier.issn, \
>  dc.identifier.ismn, dc.identifier, \
> dc.subject.keywords, dc.rights.uri
>
> So far I know without this, the default metadata will be displayed in the
> web interface.
> The problem is 'webui.itemdisplay.default' will only accept one parameter
> and ignore parameters after on.
> For example, if I change first line of this configuration,
>
> webui.itemdisplay.default = dc.subject.keywords, dc.title.alternative,
> dc.contributor.*, \
>
> The web interface will be look like this:
>
> >
>
>
> So if I change config like this:
>
> webui.itemdisplay.default = dc.title, dc.title.alternative,
> dc.contributor.*, \
> *..*
> *Below are the same as above*
>
>
> web interface will show the title correctly.
>
> >
>
>
> So it seems webui.itemdisplay.default accepts only one parameter from the
> config file but it should read whole configuration and change metadata
> display to users.
>
>
> This is my dspace version information.
>
>
> >
>
> I have another dspace server which is running original 6.0 release. (So
> this server is made for using CRIS version of dspace)
>
> That old server correctly shows all metadata information as we change
> related configurations at local.cfg file.
>
> Do you think this is the bug of CRIS version ? or should I made some
> mistake which prevents to dspace can't recognize configurations correctly?
>
>
> Thanks in advance!
>

--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen 
ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform 
(mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen 
Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is 
solely intended 

Re: [dspace-tech] DSpace-CRIS Researcher profiles

2017-07-04 Thread Pascarelli Luigi Andrea
Dear Sean,

By default, the DSpace-CRIS data configuration is empty. It is possible to use 
an excel file to configure the system  (it's a common configuration used in our 
demo site)

To load the configuration run the following command two times

./dspace load-cris-configuration -f [dspace]/etc/configuration-tool-demo.xls


Hope this help you.

Regards,

Luigi Andrea


Il 04/07/2017 13:04, Sean Carte ha scritto:
I have a new installation of DSpace-CRIS 5.5 on Ubuntu 16.04, Tomcat 7, OpenJDK 
1.8

I have the following in my /etc/default/tomcat7:

JAVA_OPTS="-Djava.awt.headless=true -Xms1024M -Xmx2048m -XX:MaxPermSize=256m 
-XX:+UseConcMarkSweepGC -Dfile.encoding=UTF-8 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"

I created an administrator user and then created communities and collections 
and then exported the collections from our IR, and imported them into 
DSpace-CRIS. I ran bin/dspace index-discovery -b -f

I can view the items in each collection, but my researcher profiles are all 
blank. If I click on 'Researcher profiles' I get a list of 937 items consisting 
of '-' for Fullname, and nothing else.

If I go to 'My DSpace', I get a link "Researcher profile status: _not yet 
created_'. If I click on the link I get a pop-up with a create researcher 
profile button, but clicking on that causes an InternalErrorServlet in the log, 
which I've pasted below.

Any ideas on how I should proceed?

Sean

2017-07-04 12:59:39,434 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=C9AAF95952E6F76FF739A280D08DDB2A:internal_error:-- URL Was: 
http://10.4.36.12:8080/internal-error?action=create
-- Method: GET
-- Parameters were:
-- action: "create"

org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is java.lang.NullPointerException
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:963)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:288)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:285)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:320)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:175)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:297)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:191)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:186)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:288)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:285)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:320)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:260)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
at 
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:191)
at 
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:187)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:186)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
at 

R: [dspace-tech] Re: The 6 RC version of DSpace-CRIS is now available

2017-06-29 Thread Pascarelli Luigi Andrea
Hello,

try to use the content of the example configuration at 
https://github.com/4Science/DSpace/blob/dspace-6_x_x-cris/dspace/config/local.cfg.EXAMPLE

take in mind that in DSpace 6 we have the configuration managed by Apache 
Common Configuration and the config/local.cfg is the place to fill 
configuration parameters.



Inviato dal mio dispositivo Samsung


 Messaggio originale 
Da: danielKim 
Data: 29/06/2017 12:37 (GMT+01:00)
A: DSpace Technical Support 
Cc: dspace-commun...@googlegroups.com, Bollini Andrea 

Oggetto: [dspace-tech] Re: The 6 RC version of DSpace-CRIS is now available

Dear Bollini,

I get an error message when I do "and fresh_install" at database checking part.

test_database:
 [java] Failure during kernel init: Infinite loop in property interpolation 

 of 
${cris.ametrics.elsevier.scopus.enabled}: cris.ametrics.elsevier.scopus.enabl   

  ed
 [java] java.lang.IllegalStateException: Infinite loop in property 
interpola   

  tion of ${cris.ametrics.elsevier.scopus.enabled}: 
cris.ametrics.elsevier.scopus.  

   enabled
 [java] at 
org.apache.commons.lang.text.StrSubstitutor.checkCyclicSubsti   

  
tution(StrSubstitutor.java:701)
 [java] at 
org.apache.commons.lang.text.StrSubstitutor.substitute(StrSub   

  stitutor.java:645)
 [java] at 
org.apache.commons.lang.text.StrSubstitutor.substitute(StrSub   

  stitutor.java:656)
 [java] at 
org.apache.commons.lang.text.StrSubstitutor.substitute(StrSub   

  stitutor.java:563)
 [java] at 
org.apache.commons.lang.text.StrSubstitutor.replace(StrSubsti   

  tutor.java:305)
 [java] at 
org.apache.commons.configuration.PropertyConverter.interpolat   

  
e(PropertyConverter.java:1040)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.interp   

  
olate(AbstractConfiguration.java:449)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.interp   

  
olate(AbstractConfiguration.java:436)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.getLis   

  
t(AbstractConfiguration.java:1128)
 [java] at 
org.apache.commons.configuration.AbstractConfiguration.getLis   

  
t(AbstractConfiguration.java:1117)
 [java] at 
org.apache.commons.configuration.ConfigurationConverter.getPr   

  
operties(ConfigurationConverter.java:113)
 [java] at 
org.dspace.servicemanager.config.DSpaceConfigurationService.g   

  

Re: [dspace-tech] Has anyone used the Getty TGN as a source for an Authority/Choice Plugin?

2017-06-01 Thread Pascarelli Luigi Andrea
Dear Hardy,

I'm working to the migration of DSpace-CRIS 6 based on DSpace 6.x, it is an 
unstable version and I kept private the branch.

Maybe time has come to share with community...

Here the link to the GettyAuthority on DSpace-CRIS 6.x: 
https://github.com/4Science/DSpace/blob/dspace-6_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/GettyAuthority.java

Thank you very much.

Regards,

Luigi Andrea

Il 01/06/2017 02:17, Hardy Pottinger ha scritto:
Thanks, Luigi Andrea! I have looked into porting this over to our 6x-based 
repository, however I can see I need to make some modifications, since the 
getMatches method has changed from 5x to 6x:


https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/GettyAuthority.java#L126<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2F4Science%2FDSpace%2Fblob%2Fdspace-5_x_x-cris%2Fdspace-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fdspace%2Fcontent%2Fauthority%2FGettyAuthority.java%23L126=8ef37f15=a807999f=n>


Since I'm a very lazy developer, I will ask before I start on the migration 
process if you have already migrated this code to 6x?


--Hardy

On Wed, May 31, 2017 at 6:12 AM, Pascarelli Luigi Andrea 
<luigiandrea.pascare...@4science.it<mailto:luigiandrea.pascare...@4science.it>> 
wrote:

For our GLAM application based on DSpace-CRIS 
(https://dspace-glam.4science.it/<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fdspace-glam.4science.it%2F=8ef37f15=f853c36b=n>)
 we have developed and released on github the Getty TGN integration using the 
authority framework, please see

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/GettyAuthority.java<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2F4Science%2FDSpace%2Fblob%2Fdspace-5_x_x-cris%2Fdspace-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fdspace%2Fcontent%2Fauthority%2FGettyAuthority.java=8ef37f15=e0e820c6=n>

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/TGNAuthority.java<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2F4Science%2FDSpace%2Fblob%2Fdspace-5_x_x-cris%2Fdspace-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fdspace%2Fcontent%2Fauthority%2FTGNAuthority.java=8ef37f15=c8b0287a=n>

Hope this helps.

Regards,

Luigi Andrea

Il 31/05/2017 03:43, Hardy Pottinger ha scritto:
I'm working on a repository for which our PI would like us to use the Getty TGN 
(Getty Thesaurus of Geographic Names) [1] as part of the submission form, for 
dc.coverage.spatial. I will probably end up using a small subset of the TGN, 
because the XML for the complete set weighs in at 160MB. However, that's a big 
job in an of itself... so... I'm wondering if either anyone has done something 
similar, *or* have you written a plugin to use the online version of the TGN? 
If you have, would you mind sharing your work? We'd be ever so grateful. Thanks!

On a related note, I bet we could fill out the example controlled vocabularies 
configuration for DSpace [2] with many more examples. That would be a great 
contribution to DSpace 7, and it's not dependent on a UI, so it would be a 
great thing to contribute *right now*.

--Hardy

[1] 
https://www.getty.edu/research/tools/vocabularies/tgn/index.html<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwww.getty.edu%2Fresearch%2Ftools%2Fvocabularies%2Ftgn%2Findex.html=8ef37f15=82682352=n>
[2] 
https://github.com/DSpace/DSpace/tree/master/dspace/config/controlled-vocabularies<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgithub.com%2FDSpace%2FDSpace%2Ftree%2Fmaster%2Fdspace%2Fconfig%2Fcontrolled-vocabularies=8ef37f15=7a8e5d88=n>
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com<mailto:dspace-tech+unsubscr...@googlegroups.com>.
To post to this group, send email to 
dspace-tech@googlegroups.com<mailto:dspace-tech@googlegroups.com>.
Visit this group at 
https://groups.google.com/group/dspace-tech<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fgroup%2Fdspace-tech=8ef37f15=a88b793e=n>.
For more options, visit 
https://groups.google.com/d/optout<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout=8ef37f15=4ae73911=n>.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fesva1.business-e.it%2Fcgi-bin%2Flearn-msg.cgi%3Fid%3D26123400EC.A5D98=8ef37f15=989dda34=n>


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  
www.4science.it<https://urlsand.esvalabs.com/?u=http%3A%2F%2Fwww.4science.it=8ef37f15=e658e070=n>

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
te

Re: [dspace-tech] Has anyone used the Getty TGN as a source for an Authority/Choice Plugin?

2017-05-31 Thread Pascarelli Luigi Andrea
For our GLAM application based on DSpace-CRIS 
(https://dspace-glam.4science.it/) we have developed and released on github the 
Getty TGN integration using the authority framework, please see

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/GettyAuthority.java

https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/authority/TGNAuthority.java

Hope this helps.

Regards,

Luigi Andrea

Il 31/05/2017 03:43, Hardy Pottinger ha scritto:
I'm working on a repository for which our PI would like us to use the Getty TGN 
(Getty Thesaurus of Geographic Names) [1] as part of the submission form, for 
dc.coverage.spatial. I will probably end up using a small subset of the TGN, 
because the XML for the complete set weighs in at 160MB. However, that's a big 
job in an of itself... so... I'm wondering if either anyone has done something 
similar, *or* have you written a plugin to use the online version of the TGN? 
If you have, would you mind sharing your work? We'd be ever so grateful. Thanks!

On a related note, I bet we could fill out the example controlled vocabularies 
configuration for DSpace [2] with many more examples. That would be a great 
contribution to DSpace 7, and it's not dependent on a UI, so it would be a 
great thing to contribute *right now*.

--Hardy

[1] 
https://www.getty.edu/research/tools/vocabularies/tgn/index.html
[2] 
https://github.com/DSpace/DSpace/tree/master/dspace/config/controlled-vocabularies
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.
Per informazioni: http://www.libraesva.com

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] help to add new type in dspace cris publication home page

2017-05-23 Thread Pascarelli Luigi Andrea
Dear Punit Gupta,

I think that what do you want is explained at 
https://wiki.duraspace.org/pages/viewpage.action?pageId=78153687#Browse

With DSpace-CRIS is possible to consider different entities by the publication 
types (thesis, patents, dataset, etc.). Take a look at cris.cfg file to extends 
DSpace data model (see from line 55 to line 79 at 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace/config/modules/cris.cfg#L55).

Instead if you want learn how add entities to the dynamic data model of 
DSpace-CRIS you can browse the administration section 
(https://wiki.duraspace.org/display/DSPACECRIS/The+administrative+UI) and try 
to create a predefined datatype (ResearcherPage, Project, OrganizationUnit) or 
create a new dynamic entity (like Events see 
https://dspace-cris.4science.it/cris/events/events00012). If you want test 
DSpace-CRIS functionality 4Science offers a test drive application at 
http://test.dspace-cris.4science.it/

Hope this helps.

Regards,

Luigi Andrea


Il 23/05/2017 06:10, 
punit.gu...@mail.juit.ac.in ha scritto:
can any one help me to all a new dc.type tp home page in publications like 
dataset is one or the predefined datatype
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at 
https://groups.google.com/group/dspace-tech.
For more options, visit 
https://groups.google.com/d/optout.

--
Questo messaggio e' stato analizzato con Libra ESVA ed e' risultato non infetto.
Clicca qui per segnalarlo come 
spam.
Clicca qui per metterlo in 
blacklist


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

--
Questo messaggio e' stato analizzato da Libra ESVA ed e' risultato non infetto.
This message was scanned by Libra ESVA and is believed to be clean.
Per informazioni: http://www.libraesva.com

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Re: Error to create researcher profile

2017-05-11 Thread Pascarelli Luigi Andrea
at 
it.cilea.osd.jdyna.web.controller.SimpleDynaController.handleDetails(SimpleDynaController.java:207)
... 42 more



Regards
Gonzalo


2017-05-10 18:56 GMT+01:00 Pascarelli Luigi Andrea 
<luigiandrea.pascare...@4science.it<mailto:luigiandrea.pascare...@4science.it>>:

Dear Gonzalo,

seems that you don't have any configuration filled for DSpace-CRIS in your 
database.

Please run  "dspace load-cris-configuration -f 
[dspace]/etc/configuration-tool-demo.xls"

As reported in the official documentation this script NEED to be executed two 
times 
(https://wiki.duraspace.org/display/DSPACECRIS/Installation<https://urlsand.esvalabs.com/?u=https%3A%2F%2Fwiki.duraspace.org%2Fdisplay%2FDSPACECRIS%2FInstallation=8ef37f15=1bd5a46b=n>)

Let me know.

Regards,

Luigi Andrea

Il 10/05/2017 13:25, gonzalo perl ha scritto:
Hello everybody

I get the next error

2017-05-10 11:53:05,450 WARN  org.dspace.core.NewsManager @ news_read: 
\dspace\config\news-footer.html (Sistem can not found the verified file)
2017-05-10 11:53:09,049 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=2CFA45829381B7669C2AD512C7EC76AE:internal_error:-- URL Was: 
http://localhost:8080/jspui/internal-error?action=create<https://urlsand.esvalabs.com/?u=http%3A%2F%2Flocalhost%3A8080%2Fjspui%2Finternal-error%3Faction%3Dcreate=8ef37f15=57eb7ec3=n>
-- Method: GET
-- Parameters were:
-- action: "create"

org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is java.lang.NullPointerException
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
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:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at 
org.apache.tomcat.util.net<https://urlsand.esvalabs.com/?u=http%3A%2F%2Forg.apache.tomcat.util.net=8ef37f15=496c6e5f=n>.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
at 
org.apache.tomcat.util.net<https://urlsand.esvalabs.com/?u=http%3A%2F%2Forg.apache.tomcat.util.net=8ef37f15=496c6e5f=n>.SocketProcessorBase.run(SocketProcessorBase.java:49)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunn

Re: [dspace-tech] Re: Error to create researcher profile

2017-05-10 Thread Pascarelli Luigi Andrea
Dear Gonzalo,

seems that you don't have any configuration filled for DSpace-CRIS in your 
database.

Please run  "dspace load-cris-configuration -f 
[dspace]/etc/configuration-tool-demo.xls"

As reported in the official documentation this script NEED to be executed two 
times (https://wiki.duraspace.org/display/DSPACECRIS/Installation)

Let me know.

Regards,

Luigi Andrea

Il 10/05/2017 13:25, gonzalo perl ha scritto:
Hello everybody

I get the next error

2017-05-10 11:53:05,450 WARN  org.dspace.core.NewsManager @ news_read: 
\dspace\config\news-footer.html (Sistem can not found the verified file)
2017-05-10 11:53:09,049 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=2CFA45829381B7669C2AD512C7EC76AE:internal_error:-- URL Was: 
http://localhost:8080/jspui/internal-error?action=create
-- Method: GET
-- Parameters were:
-- action: "create"

org.springframework.web.util.NestedServletException: Request processing failed; 
nested exception is java.lang.NullPointerException
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
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:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:861)
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at 
it.cilea.osd.jdyna.model.AnagraficaObject.getProprietaDellaTipologia(AnagraficaObject.java:268)
at 
org.dspace.app.cris.model.ResearcherPage.getProprietaDellaTipologia(ResearcherPage.java:477)
at 
org.dspace.app.webui.cris.controller.json.MyRPJSONController.create(MyRPJSONController.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Re: [dspace-tech] Error build Dspace-Dcris

2017-04-27 Thread Pascarelli Luigi Andrea
Dear Gonzalo,

try to build application from dspace parent folder (i.e. if you clone using git 
clone https://github.com/4Science/DSpace.git --branch dspace-5_x_x-cris 
dspace-parent/ then the folder is dspace-parent/ ) with "mvn clean -U package" 
command.

Let me know.

Regards,

Luigi Andrea

Il 26/04/2017 10:53, gonzalo perl ha scritto:
Hello everybody

I am running the mvn package and get the following error:

c:\dspace\mvn package

[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO]
[INFO] DSpace Addon Modules
[INFO] DSpace Kernel :: Additions and Local Customizations
[INFO] DSpace XML-UI (Manakin) :: Local Customizations
[INFO] DSpace JSP-UI :: Local Customizations
[INFO] DSpace RDF :: Local Customizations
[INFO] DSpace REST :: Local Customizations
[INFO] DSpace SWORD :: Local Customizations
[INFO] DSpace SWORD v2 :: Local Customizations
[INFO] DSpace SOLR :: Local Customizations
[INFO] DSpace OAI-PMH :: Local Customizations
[INFO] DSpace Assembly and Configuration
[INFO]
[INFO] 
[INFO] Building DSpace Addon Modules CRIS-5.6.2-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (native2ascii-utf8) @ modules ---
[INFO] Executing tasks

Encode any UTF-8 chars in properties:
[INFO] Executed tasks
[INFO]
[INFO] 
[INFO] Building DSpace Kernel :: Additions and Local Customizations 
CRIS-5.6.2-SNAPSHOT
[INFO] 
[WARNING] The POM for org.dspace:dspace-api:jar:CRIS-5.6.2-SNAPSHOT is missing, 
no dependency information available
[WARNING] The POM for org.dspace:dspace-cris-api:jar:CRIS-5.6.2-SNAPSHOT is 
missing, no dependency information available
[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules ... SUCCESS [  0.485 s]
[INFO] DSpace Kernel :: Additions and Local Customizations  FAILURE [  0.096 s]
[INFO] DSpace XML-UI (Manakin) :: Local Customizations  SKIPPED
[INFO] DSpace JSP-UI :: Local Customizations .. SKIPPED
[INFO] DSpace RDF :: Local Customizations . SKIPPED
[INFO] DSpace REST :: Local Customizations  SKIPPED
[INFO] DSpace SWORD :: Local Customizations ... SKIPPED
[INFO] DSpace SWORD v2 :: Local Customizations  SKIPPED
[INFO] DSpace SOLR :: Local Customizations  SKIPPED
[INFO] DSpace OAI-PMH :: Local Customizations . SKIPPED
[INFO] DSpace Assembly and Configuration .. SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 0.882 s
[INFO] Finished at: 2017-04-26T09:46:06+01:00
[INFO] Final Memory: 14M/155M
[INFO] 
[ERROR] Failed to execute goal on project additions: Could not resolve 
dependencies for project org.dspace.modules:additions:jar:CRIS-5.6.2-SNAPSHOT: 
The following artifacts could not be resolved: 
org.dspace:dspace-api:jar:CRIS-5.6.2-SNAPSHOT, 
org.dspace:dspace-cris-api:jar:CRIS-5.6.2-SNAPSHOT: Fail
ure to find org.dspace:dspace-api:jar:CRIS-5.6.2-SNAPSHOT in 
https://github.com/4Science/mvn-repo/raw/master/snapshots was cached in the 
local repository, resolution will not be reattempted until the update interval 
of 4science-repo-snapshot has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :additions


Could help me?

Thank you so much

Regards
Gonzalo
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: 

Re: [dspace-tech] dspace-cris-5.6.X create administrator on the windows 10

2017-02-14 Thread Pascarelli Luigi Andrea
Sorry, but I don't realize what is the problem. I'm using Windows 10 and I 
never had this issue.

Actually I use jdk1.8.0_91 and Tomcat 8.0.38 version. Usually I never setup 
JAVA_OPTS, but I'm using CATALINA_OPTS for Tomcat and for batch script the 
default settings of "dspace" script. Try it, please.

Another suggestion is to use an advanced command line for Windows like the one 
provided by https://www.cygwin.com/

Let me know.

Regards,

Luigi Andrea

Il 13/02/2017 08:49, Yen-Tang Chen ha scritto:
Dear Luigi Andrea Pascarelli


My colleague create administrator successfully on the windows 7.

This is my colleague Environment settings

windows 7
JAVA_HOME = jdk_1.7.0_79
JAVA_OPTS = -Xms1024m -Xmx2048m
tomcat 8 (use jdk_1.8.0_111)

(cpu_memory.png, windows 7, java.png, Solr Admin.png)


But I still create administrator fail  on the windows

This is my Environment settings
windows 10
JAVA_HOME = jdk_1.7.0_79
JAVA_OPTS = -Xms1024m -Xmx2048m
tomcat 7 (use jdk_1.7.0_79)

(Solr Admin_me.png, tomcat7.png, memory.png)

I don't set up CATALINA_OPTS environment variable

Do you have recommend windows environment?
java , tomcat version, JAVA_OPTS, etc



Sincerely yours, Yen-Tang Chen


Yen-Tang Chen
Lib. Information Technology Services Div., NTU Library, 
http://www.lib.ntu.edu.tw/en
office: No. 1, Sec 4, Roosevelt Road, Taipei 10617, Taiwan, R.O.C.
TEL:886-2-33662291
EMAIL:exia0...@gmail.com



--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] dspace-cris-5.6.X create administrator on the windows 10

2017-02-09 Thread Pascarelli Luigi Andrea
Dear Yen-Tang Chen,

usually this error appears when build.properties is missing a property. Check 
your build.properties against the 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/build.properties

Let me know.

Regards,

Luigi Andrea

Il 09/02/2017 07:24, Yen-Tang Chen ha scritto:
Dear all

I install dspace-cris-5.6.X on the windows 10

step " Administrator Account: Create an initial administrator account"  has 
been wrong!
dspace create-administrator error message => 
dspace-cris-5.6.x-create-administrator.png


"Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit 
exceeded"

Although dspace-cris-5.6.x has started successfully , Administrator account is 
alway failure


I try to use dspace-cris-5.5.0 in the same environment that 
([dspace]/bin/dspace create-administrator) is successful 
(dspace-cris-5.5.0-create-administrator.png)


I don't know why this happened..



 dspace.log Error message (dspace)






Sincerely yours, Yen-Tang Chen




Yen-Tang Chen
Lib. Information Technology Services Div., NTU Library, 
http://www.lib.ntu.edu.tw/en
office: No. 1, Sec 4, Roosevelt Road, Taipei 10617, Taiwan, R.O.C.
TEL:886-2-33662291
EMAIL:exia0...@gmail.com



--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Dspace-CRIS Item view and Download count problem

2017-02-09 Thread Pascarelli Luigi Andrea
Dear Yan-Tang Chen,

please read 
https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace#InstallingDSpace-RelationalDatabase:(PostgreSQLorOracle)
 and check the follow points:

1) edit the postgresql.conf line referred what IP address(es) to listen on; in 
addition to listen_addresses = localhost you can add all addresses that 
postgres need to listen; in any case if you have a secure server that host 
database the only rule to insert is listen_addresses = '*'

2) the above documentation assumes that the database is installed in the same 
host of the web application (and in case of DSpace-CRIS also SOLR web 
application); pg_hba.conf should be configured like this

host all all 127.0.0.1 255.255.255.255 md5
# please add also the following row only if you have solr webapplication 
installed in a different server (otherwise the above configuration row is 
enought)
# host all all  md5

3) check the file called database.properties 
([solr-config]\search\conf\database.properties) where you can find info on the 
connection between solr and database

All modifications to postgresql.conf and pg_hba.con requires a restart of the 
postgres service.

Hope this helps you.

Regards,

Luigi Andrea

Il 09/02/2017 02:11, Yen-Tang Chen ha scritto:
Dear all

The question has been solved, I look at the dspace.log Error message  
(view_download_001, view_download_001)


ERROR org.dspace.app.cris.batch.ScriptStatsMetrics @ 
org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host 
"127.0.0.1", user "dspace-cris", database "dspace-cris", SSL off
org.dspace.discovery.SearchServiceException: org.postgresql.util.PSQLException: 
FATAL: no pg_hba.conf entry for host "127.0.0.1", user "dspace-cris", database 
"dspace-cris", SSL off
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2585)
at 
org.dspace.app.cris.discovery.CrisSearchService.renewMetricsCache(CrisSearchService.java:1026)
at 
org.dspace.app.cris.statistics.plugin.StatsPercentileIndicatorsPlugin.buildIndicator(StatsPercentileIndicatorsPlugin.java:95)
at 
org.dspace.app.cris.batch.ScriptStatsMetrics.main(ScriptStatsMetrics.java:134)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:226)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:78)
Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 
org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host 
"127.0.0.1", user "dspace-cris", database "dspace-cris", SSL off
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:2580)
... 9 more


I don't put the host "127.0.0.1" IP into pg_hba.conf settings

So I changed the postgres pg_hba.conf settings.

# "local" is for Unix domain socket connections only
local   all all   trust

# IPv4 local connections:
hostall allIP/32  md5
hostall all127.0.0.1/32  trust


I’m grateful for your advice.

Sincerely yours, Yen-Tang Chen




Yen-Tang Chen
Lib. Information Technology Services Div., NTU Library, 
http://www.lib.ntu.edu.tw/en
office: No. 1, Sec 4, Roosevelt Road, Taipei 10617, Taiwan, R.O.C.
TEL:886-2-33662291
EMAIL:exia0...@gmail.com



--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway 

Re: [dspace-tech] Does '$/dspace database clean' affects configuration-tool-demo.xls ?

2017-01-20 Thread Pascarelli Luigi Andrea
Yes, you have to run again the load-cris-configuration script.

Hope this helps you.

Best,

Luigi Andrea

Il 20/01/2017 12:43, Lluís Madurell Alemany ha scritto:
If running [dspace]/bin/dspace database clean

Do you need to run again (2 times) dspace load-cris-configuration -f 
[dspace]/etc/configuration-tool-demo.xls ?
--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSPACE-CRIS error load publications

2016-11-21 Thread Pascarelli Luigi Andrea
I checked your web application and I think that you have many problems not only 
this!

I see that you are testing the DSpace CRIS version 5.5.0 please download the 
last stable version 5.6.1 from https://github.com/4Science/DSpace.git 
(https://github.com/4Science/DSpace/releases/tag/dspace-cris-5.6.1)

In any case the error is related to this piece of code 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/java/org/dspace/content/Community.java#L343

Check your database maybe you fell into an installation issue.

Please open a database console and run this query:

select * from metadataschemaregistry where short_id = 'dc';

and this query:

select * from metadatafieldregistry where metadata_schema_id = 1 and element = 
'title' and qualifier is null;

Let me know.

Best,

Luigi Andrea

Il 21/11/2016 13:09, Vitor Rodrigues ha scritto:
Hello,

I got this error when i tried load the publications


2016-11-21 09:34:28,125 WARN  org.dspace.app.webui.servlet.InternalErrorServlet 
@ :session_id=7AC3DE4A841863ADB075FC76FC3B85BA:internal_error:-- URL Was: 
http://200.145.5.2/simple-search?query==publications
-- Method: GET
-- Parameters were:
-- query: ""
-- location: "publications"

java.lang.NullPointerException
at org.dspace.content.Community.findAllTop(Community.java:343)
at 
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:258)
at 
org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:63)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.cris.filter.ExploreLocationFilter.doFilter(ExploreLocationFilter.java:88)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
2016-11-21 09:50:38,972 INFO  org.dspace.browse.BrowseEngine @ 
anonymous:session_id=30DDC7A7C7BE1EE762D0071E2232C74F:ip_addr=130.211.177.74:browse_mini:
2016-11-21 09:50:38,986 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ 
facets for scope, null: 1

--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 

Re: [dspace-tech] version 5.6?

2016-10-13 Thread Pascarelli Luigi Andrea
Dear Evgeni,

here the modifications from 5.4 to 5.6:

https://wiki.duraspace.org/display/DSDOC5x/Changes+in+5.x#Changesin5.x-ChangesinDSpace5.6

https://wiki.duraspace.org/display/DSDOC5x/Changes+in+5.x#Changesin5.x-ChangesinDSpace5.5

The guideline to upgrade a DSpace installation are available here: 
https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace

In any case the way that you want follow to upgrade is feasible. You can 
install from scratch, configure, customize and try if everything is ok.

After that you can point to your database and launch database migration (there 
are only one sql modification into 5.6 not related schema but related data fix 
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V5.6_2016.08.23__DS-3097.sql).

Hope this help you.

Regards,

Luigi Andrea

Il 13/10/2016 11:23, Evgeni Dimitrov ha scritto:
Is DSpace version 5.6 expected?

If so, I will be considering an update from 5.4 to 5.6.
Is there any difference in the db schema of 5.4 and 5.6?

The best option for me would be to install, configure and customize 5.6 and 
when everything is working to transfer the db. Will this be possible?

--
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to 
dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Problem with Dspace CRIS 5.5 Oracle database error

2016-10-10 Thread Pascarelli Luigi Andrea
Dear Alejandro,
I suggest to take a step back and try to migrate your DSpace with 
DSpace-CRIS 5.x, before to build application you have to tweak two sql 
files with the follow modification.

After checkout the branch dspace-5_x_x-cris from 
https://github.com/4Science/DSpace.git follow this step:
1) at line 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/oracle/V5.3.0.0__DSpaceCRIS-Upgrade-crismodule_5_to_53.sql#L27
 
and 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/oracle/V5.3.0.2__DSpaceCRIS-Upgrade-crismodule_5_to_53.sql#L10
change the reserved word and enclose it with double quote, e.g. "create 
table IF NOT EXISTS cris_orcid_queue (id number(10,0) not null, owner 
varchar2(255), entityId number(10,0), typeId number(10,0), "MODE" 
varchar2(255), fastlookupobjectname clob, fastlookupuuid varchar2(255), 
primary key (id));"
2) at line 
https://github.com/4Science/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/oracle/V5.3.0.0__DSpaceCRIS-Upgrade-crismodule_5_to_53.sql#L10
 
change the column name booleanValue with "BOOLEANVALUE".

Hope this help you.

Please, let me know

Luigi Andrea

-- 

Luigi Andrea Pascarelli

DSpace and DSpace-CRIS Committer

4Science,  www.4science.it

office: Via Edoardo D'Onofrio 304, 00155 Roma, Italy
tel: +39 333 934 1782
skype: l_a_p82
linkedin: luigiandreapascarelli

an Itway Group Company
Italy, France, Spain, Portugal, Greece, Turkey, Lebanon, Qatar, U.A.Emirates


Save a tree. Don't print this e-mail unless it's really necessary.

DISCLAIMER: The information contained in this message is confidential, can be 
legally protected by local Laws,
and must be exclusively used by the recipient. The publication, use, 
distribution, printing or unauthorized copy
of the content of this message is strictly forbidden and it can be illegal. If 
you received this message by mistake,
please destroy it and notify it to the sender.

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Researcher Profiles in DSpace CRIS 5.5.0/5.5.1-SNAPSHOT

2016-04-27 Thread Pascarelli Luigi Andrea
n.java:987)
at 
org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:799)
at 
org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:91)
at 
org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:687)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at 
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:683)
at 
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)
at 
org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:307)
at 
org.dspace.authority.orcid.OrcidService.getProfile(OrcidService.java:186)
at 
org.dspace.app.cris.model.orcid.OrcidPreferencesUtils.populateRP(OrcidPreferencesUtils.java:676)
at 
org.dspace.app.webui.cris.controller.json.MyRPJSONController.create(MyRPJSONController.java:78)
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.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:471)
at 
org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:408)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
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)
... 36 more


This exception appears any time I use the button "connect to ORCID" in 
the ORCID tab of my profile or if I try to create a profile being 
logged in via ORCID. I tried it against the Orcid Sandbox public API. 
Thanks again for your help, I really appreciate that! Best Oliver


Am Dienstag, 26. April 2016 12:06:36 UTC+2 schrieb Pascarelli Luigi 
Andrea:


Dear Oliver,

I think that you not have installed properly your DSpace-CRIS.
Follow the wiki at

https://wiki.duraspace.org/display/DSPACECRIS/Installation#Installation-TheDSpace-CRISsampleconfiguration

<https://wiki.duraspace.org/display/DSPACECRIS/Installation#Installation-TheDSpace-CRISsampleconfiguration>
This script build the sample configuration and take in mind that
the script need to be executed two times to build the full
configuration.

Hope this helps.

Regards,

Luigi Andrea

Il 25/04/2016 12:19, Oliver Goldschmidt ha scritto:

Hello DSpace CRIS fellows,

I have another problem testing DSpace CRIS: the Researcher
Profile does not work. Any time I try to add a profile to an
EPerson, I get an NPE:

Exception:
org.springframework.web.util.NestedServletException: Request processing 
failed; nested exception is java.lang.NullPointerException
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:894)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.filters.RequestFilter.process(RequestFilter.java:205)
at 
org.apache.catalina.filters.RemoteAddrFilter.doFilter(RemoteAddrFilter.java:71)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.app.webui.cris.filter.DSpaceContextCleanupFilter.doFilter(DSpaceContextCleanupFilter.java:54)
at 
org.apache.catalina.core.ApplicationFi

Re: [dspace-tech] Re: OAuth Login in DSpace CRIS 5.5.0

2016-04-26 Thread Pascarelli Luigi Andrea
Yes, you are right. I checked the authentication with Public API and I 
got the error.
I just push to github the fix 
https://github.com/Cineca/DSpace/commit/6fcb1ca2fb7f106e2914f27d41502e7b9501de10

Please, upgrade your code with this patch and try again.

Thank you very much.

Regards,

Luigi Andrea

Il 25/04/2016 17:48, wcla...@widernet.org ha scritto:
I have been having the same problem for the past several weeks and I 
can't find an answer anywhere...


-Whitney

On Monday, April 25, 2016 at 10:12:23 AM UTC-4, Oliver Goldschmidt wrote:

Again Hello, DSpace CRIS fellows,

another problem occurs on my DSpace CRIS instance: when I try to
login using Orcid, I get an exception indicating a 403 error. I do
not see, where this exception comes from, neither I understand it,
as our test server should be available for any other computer...

This is the exception, that I can see trying to login:

-- URL Was:https://my-dspace-host/oauth-login?code=FF

-- Method: GET
-- Parameters were:
-- code: "FF"


Exception:
javax.ws.rs.ForbiddenException: HTTP 403 Forbidden
at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:987)
at 
org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:799)
at 
org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:91)
at 
org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:687)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at 
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:683)
at 
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)
at 
org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:307)
at 
org.dspace.authority.orcid.OrcidService.getProfile(OrcidService.java:185)
at 
org.dspace.authenticate.OAuthAuthenticationMethod.authenticate(OAuthAuthenticationMethod.java:93)
at 
org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
at 
org.dspace.authenticate.AuthenticationManager.authenticate(AuthenticationManager.java:99)
at 
org.dspace.app.webui.servlet.OAuthAuthenticationServlet.doDSPost(OAuthAuthenticationServlet.java:179)
at 
org.dspace.app.webui.servlet.OAuthAuthenticationServlet.doDSGet(OAuthAuthenticationServlet.java:72)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.filters.RequestFilter.process(RequestFilter.java:205)
at 
org.apache.catalina.filters.RemoteAddrFilter.doFilter(RemoteAddrFilter.java:71)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
   

[dspace-tech] Re: [dspace-community] DSpace-CRIS, new release available 5.5.0 (including security fix)

2016-04-18 Thread Pascarelli Luigi Andrea

Hi,

load-cris-configuration command must be launch two times to build all 
object graph properly.


The official documentation is available at 
https://wiki.duraspace.org/display/DSPACECRIS/DSpace-CRIS+Home


Let me know.

Luigi Andrea

Il 16/04/2016 12:13, codefest4dumm...@gmail.com ha scritto:

Dear,

I try to install the DSPACE-CRIS, and I executed the comand "dspace 
load-cris-configuration -f [dspace]/etc/configuration-tool-demo.xls"


All entities (researchers, projects..) are created good but the 
entities "journal" and "events" are not loaded correctly (the tabs, 
box, etc..).
I don't know if I am doing something bad or if is necessary to add 
some step to finish the configuration. Is there some documentation 
about it?


Thank you very much.





El miércoles, 30 de marzo de 2016, 14:14:41 (UTC+2), Andrea Bollini 
escribió:


Hi Michael,
we have no plan to bring forth DSpace-CRIS to the XMLUI.
The community is committed to have a new, single UI for DSpace 7
that will be embraced also by DSpace-CRIS so I don't think that it
is cost effectively work on that, now
See
https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge


You can run multiple DSpace and/or DSpace-CRIS instances on the
same server under different tomcats (using different port for any
tomcat) or using different context inside a single tomcat. Please
note that DSpace-CRIS actually embed DSpace so if you want to
extend an existent dspace repository to have the DSpace-CRIS
functionality you only need to upgrade your repository to the
DSpace-CRIS code.

Best,
Andrea

Il 30/03/2016 11:47, P. S. Mukhopadhyay ha scritto:

Is it possible to run Dspace and Dspace-CRIS instances in the
same machine )specially tomcat 8080 port binding problems)?

On Wed, Mar 30, 2016 at 2:25 PM, Michael Guthrie
 wrote:

That's great Andrea!

Do you think this will ever get ported to XMLUI?

Best wishes,

Michael

-- 


Michael Guthrie

KnowledgeArc

mic...@knowledgearc.com 
+44 7872 961 612

http://knowledgearc.com

Managed DSpace Hosting starting at $49/month






On 29 March 2016 at 13:12, Andrea Bollini  wrote:

***apologies for cross-posting***

Dear all,
I'm glad to announce the availability of the 5.5.0
version of DSpace-CRIS build on top of DSpace JSPUI 5.5.
https://github.com/Cineca/DSpace/tree/dspace-cris-5.5.0


The release includes the security fix (medium level)
already available in DSpace JSPUI 5.5; it solves some
configuration issues and bugs including the ability to
build and deploy the standard DSpace REST webapp
(provided by the Portuguese RCAAP Team); on top of it,
this new release adds some exciting new features:

- Global Statistics: to provide a global view over the
repository usage, visualization, download and deposit trends

http://demo-dspace-cris.cineca.it/cris/stats/site.html?handle=123456789/0=item



- Facets for dynamic components: publications list,
projects list and any other dynamic component included in
the researcher profiles or in other CRIS entity details
page (project, organization, etc.) can now provide
faceting capabilities
http://demo-dspace-cris.cineca.it/cris/rp/rp6


- Bibliographic export for publications: researcher's
publication list can be exported in several format by the
profile owner and search results can be exported by the
repository administrators

- Incremental Authority from previous value: to suggest
terms from values already added into the system to keep
metadata clean and to avoid misspelling. Common use cases
include keywords, publishers, etc.

- Direct access to the researcher profile using external
identifiers: make it easy to link external systems to
your DSpace-CRIS installation without the need to know
the internal identifier. For instance you can address
your researcher profiles using their ORCID

http://demo-dspace-cris.cineca.it/cris/rp/details.htm?lt=orcid=-0002-9421-192X



A special thanks to Andrea Pascarelli, DSpace Committer,
 

Re: [dspace-tech] DSpace-CRIS: error when "lookup this value" in edit item form

2016-04-08 Thread Pascarelli Luigi Andrea

Dear Vladimir,

this errors surely came with a wrong ORCID configuration.

If you have a ORCID api-key and secret-key you have to add this 
information on the build.properties at 
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L206 
and 
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L207. 
Rebuild the application with mvn and ant. In this case, please check if 
your server is open I mean if there are any firewall or other network 
blocks.


Instead if in the meantime Orcid is not required by your DSpace-CRIS 
installation, this feature can be silent. You can change the type of 
authority in your dspace.cfg, at 
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace/config/dspace.cfg#L2284 
change the value RPAuthority with RPAuthorityCRIS.


Regards,

Luigi Andrea

Il 08/04/2016 09:09, Vladimir Svyatoshenko ha scritto:

in dspace.log only this

org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=4B6ABB7DA70A95891DB68617A1C4156E:internal_error:-- URL 
Was: 
http://scihub.nmu.org.ua/choices/dc_contributor_author?query=%D0%91%D0%B0%D1%80%D0%B8%D1%88%D0%BD%D1%96%D0%BA%D0%BE%D0%B2%2C%20%D0%90%D0%BD%D0%B0%D1%82%D0%BE%D0%BB%D1%96%D0%B9%20%D0%A1%D0%B5%D1%80%D0%B3%D1%96%D0%B9%D0%BE%D0%B2%D0%B8%D1%87=select=10=0=0


пятница, 8 апреля 2016 г., 9:15:55 UTC+3 пользователь a.bollini написал:

Hi Vladimir,
please always include the content of your dspace.log file to
receive effective support.
I guess there are some issue on your ORCID integration or solr setup.
Andrea




Inviato dal mio dispositivo Samsung


 Messaggio originale 
Da: Vladimir Svyatoshenko 
Data: 08/04/2016 07:52 (GMT+01:00)
A: DSpace Technical Support 
Oggetto: [dspace-tech] DSpace-CRIS: error when "lookup this value"
in edit item form

Good day,

In edit item form when press button "lookup this value" get
following error:

"Failed to load choice data: HTTP error resonse"





How to fix it?


Thank you

-- 
You received this message because you are subscribed to the Google

Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to dspace-tech...@googlegroups.com .
To post to this group, send email to dspac...@googlegroups.com
.
Visit this group at https://groups.google.com/group/dspace-tech
.
For more options, visit https://groups.google.com/d/optout
.

--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace-CRIS: don't view items list in "theses" location

2016-04-08 Thread Pascarelli Luigi Andrea

Dear Vladimir,

it seems that the default discovery configuration is wrong.

Please change your discovery.cfg with this modification that I just 
committed on github

https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/discovery.xml#L769
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace/config/spring/api/discovery.xml#L874

For the label ???jsp.home.group-right-info.theses??? you can add this 
key at 
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace-api/src/main/resources/Messages.properties


After apply this modification in the source, if you don't want rebuild 
the entire application (with mvn and ant) you can apply directly the 
change in the [dspace-install]/config/spring/api/discovery.xml  and copy 
the Messages.properties under
[tomcat-runtime]/webapps/[the context for the jspui - ROOT or jspui 
usually]/WEB-INF/classes and restart tomcat.


To go in depth, note that DSpace-CRIS manage by default as you can see 
from 
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace/config/modules/cris.cfg#L56 
to
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/dspace/config/modules/cris.cfg#L62 
like a different entity based on the content of the dc.type metadata.
This feature is used to build different navigation and search context 
from the others publication type.


Regards,

Luigi Andrea

Il 08/04/2016 08:04, Vladimir Svyatoshenko ha scritto:

Good day,

On site main page














select theses 
http://scihub.nmu.org.ua/simple-search?query==theses


and view

"Search produced no results."


--
You received this message because you are subscribed to the Google 
Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to dspace-tech+unsubscr...@googlegroups.com 
.
To post to this group, send email to dspace-tech@googlegroups.com 
.

Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.