Re: [dspace-tech] Upgrade to Dspace 5.5 causes error when accessing e-person

2016-05-23 Thread Claudia Jürgen

Hello Tom,

have you run update-sequences prior to doing the database migrate see 10.b
https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace

There has been issues:
https://jira.duraspace.org/browse/DS-2558
resolved with https://jira.duraspace.org/browse/DS-2480

Hope this helps

Claudia Jürgen

Am 23.05.2016 um 18:48 schrieb Tom Avino:

I just upgraded from 3.3 to 5.5.  Everything seems to work fine with the
exception of adding, modifying, or anything to do with e-persons.
I get the following error in my log.

2016-05-23 12:46:00,994 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=8BF240B6BB6E818B5130008A9D01FF8F:internal_error:-- URL Was:
https://ldr-d.larc.nasa.gov/tools/eperson-list?multiple=false
-- Method: GET
-- Parameters were:
-- multiple: "false"

java.lang.NullPointerException
at org.dspace.eperson.EPerson.findAll(EPerson.java:523)
at
org.dspace.app.webui.servlet.admin.EPersonListServlet.doDSGet(EPersonListServlet.java:91)
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.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
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:505)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
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-05-23 12:46:00,996 WARN  org.dspace.app.webui.util.UIUtil @ Unable to
send email alert
java.lang.NullPointerException
at
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:230)
at
org.dspace.content.DSpaceObject$MetadataCache.retrieveMetadata(DSpaceObject.java:1330)
at org.dspace.content.DSpaceObject$MetadataCache.get(DSpaceObject.java:1265)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:676)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:585)
at
org.dspace.content.DSpaceObject.getMetadataFirstValue(DSpaceObject.java:653)
at org.dspace.eperson.EPerson.getFirstName(EPerson.java:772)
at org.dspace.eperson.EPerson.getFullName(EPerson.java:748)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:419)
at
org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54)
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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:488)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at
org.apache.catali

Re: [dspace-tech] Dspace 5.5 eperson table looks wrong. First name, last name gone. Other tables out of whack

2016-05-23 Thread Terry Brady
Luiz,

Here are the resource_type_id values for all object types:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/java/org/dspace/core/Constants.java#L19-L41

I have not used the diagram that you referenced, but based on a quick scan
it looks up to date.

Terry

On Mon, May 23, 2016 at 2:19 PM, Luiz dos Santos  wrote:

> Hi Terry,
>
> So resource_id and resource_type_id identify in the metadatavalue identity
> the ePerson and Item? And what about the Bitstream?
>
> Do you know if this Database schema is valid:
>
> https://wiki.duraspace.org/display/DSDOC5x/Storage+Layer?preview=/45548226/68355659/dspace5.png
>
> Best regards
> Luiz
>
>
> On Mon, May 23, 2016 at 4:51 PM, Terry Brady 
> wrote:
>
>> DSpace 5 implemented a "Metadata for All Objects" feature.  Most metadata
>> fields are now in the metadatavalue table.
>>
>> Here is the migration code for eperson:
>> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V5.0_2014.09.26__DS-1582_Metadata_For_All_Objects.sql#L254-L295
>>
>> Terry
>>
>> On Mon, May 23, 2016 at 1:35 PM, Tom Avino  wrote:
>>
>>> Does someone have a list of the dspace 5.5 postgres schema?
>>>
>>> What specific postgres database changes were made from 3.3 to 5.5?
>>>
>>> Other tables seem wrong.  metadatavalue no longer contains item_id
>>>
>>> --
>>> 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.
>>>
>>
>>
>>
>> --
>> Terry Brady
>> Applications Programmer Analyst
>> Georgetown University Library Information Technology
>> https://www.library.georgetown.edu/lit/code
>> 425-298-5498 (Seattle, WA)
>>
>> --
>> 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.
>>
>
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)

-- 
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 5.5 eperson table looks wrong. First name, last name gone. Other tables out of whack

2016-05-23 Thread Luiz dos Santos
Hi Terry,

So resource_id and resource_type_id identify in the metadatavalue identity
the ePerson and Item? And what about the Bitstream?

Do you know if this Database schema is valid:
https://wiki.duraspace.org/display/DSDOC5x/Storage+Layer?preview=/45548226/68355659/dspace5.png

Best regards
Luiz


On Mon, May 23, 2016 at 4:51 PM, Terry Brady 
wrote:

> DSpace 5 implemented a "Metadata for All Objects" feature.  Most metadata
> fields are now in the metadatavalue table.
>
> Here is the migration code for eperson:
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V5.0_2014.09.26__DS-1582_Metadata_For_All_Objects.sql#L254-L295
>
> Terry
>
> On Mon, May 23, 2016 at 1:35 PM, Tom Avino  wrote:
>
>> Does someone have a list of the dspace 5.5 postgres schema?
>>
>> What specific postgres database changes were made from 3.3 to 5.5?
>>
>> Other tables seem wrong.  metadatavalue no longer contains item_id
>>
>> --
>> 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.
>>
>
>
>
> --
> Terry Brady
> Applications Programmer Analyst
> Georgetown University Library Information Technology
> https://www.library.georgetown.edu/lit/code
> 425-298-5498 (Seattle, WA)
>
> --
> 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] Browse Indexes

2016-05-23 Thread Terry Brady
The discovery configuration file contains a default configuration and a
home page configuration.

https://github.com/DSpace/DSpace/blob/master/dspace/config/spring/api/discovery.xml#L43-L46

Check your discovery.xml file to see if your new facets are applied to both
configurations.

Terry

On Fri, May 20, 2016 at 11:23 PM, Vinay Kumar Sharma 
wrote:

> Dear All,
> I have installed DSpace-5.4 with Mirage2 theme, now i want to extend
> Browse Indexes facilities. To do that I have used help specified on URL:
> http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/5.X It
> works well for Browse Indexes Advisor & Type but I want to extend two more
> Browse Indexes Department & Degree. I have configured the code as per the
> guideline but when i rebuilt the indexes Browse Indexes (department &
> degree) comes only when I Brose by Title. It is not coming on Homepage and
> rest browsing index.
>
> So, my question is how can I configure Browse Index for (*Department &
> Degree*) on all the pages including Homepage. For understanding this
> case, I have attached a screen shots.
>
> Kindly help.
> regards
> Vinay Sharma
>
> --
> 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.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)

-- 
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 5.5 eperson table looks wrong. First name, last name gone. Other tables out of whack

2016-05-23 Thread Terry Brady
DSpace 5 implemented a "Metadata for All Objects" feature.  Most metadata
fields are now in the metadatavalue table.

Here is the migration code for eperson:
https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/src/main/resources/org/dspace/storage/rdbms/sqlmigration/postgres/V5.0_2014.09.26__DS-1582_Metadata_For_All_Objects.sql#L254-L295

Terry

On Mon, May 23, 2016 at 1:35 PM, Tom Avino  wrote:

> Does someone have a list of the dspace 5.5 postgres schema?
>
> What specific postgres database changes were made from 3.3 to 5.5?
>
> Other tables seem wrong.  metadatavalue no longer contains item_id
>
> --
> 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.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)

-- 
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.


[dspace-tech] Dspace 5.5 eperson table looks wrong. First name, last name gone. Other tables out of whack

2016-05-23 Thread Tom Avino
Does someone have a list of the dspace 5.5 postgres schema?

What specific postgres database changes were made from 3.3 to 5.5?  

Other tables seem wrong.  metadatavalue no longer contains item_id

-- 
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.


[dspace-tech] Dspace upgrade to 5.5 causing - Loading item - cannot find metadata field -1 ...

2016-05-23 Thread Tom Avino
When I query an item, the item seems to display properly.  However, when I 
look in the log file I see this error.  I am also having issues with 
e-persons throwing errors.

ERROR org.dspace.content.DSpaceObject @ Loading item - cannot find metadata 
field -1 for resourceType=3 and resourceId=29

Any help would be appreciated.

Tom

-- 
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.


[dspace-tech] Upgrade to Dspace 5.5 causes error when accessing e-person

2016-05-23 Thread Tom Avino
I just upgraded from 3.3 to 5.5.  Everything seems to work fine with the 
exception of adding, modifying, or anything to do with e-persons.
I get the following error in my log.

2016-05-23 12:46:00,994 WARN 
 org.dspace.app.webui.servlet.InternalErrorServlet @ 
:session_id=8BF240B6BB6E818B5130008A9D01FF8F:internal_error:-- URL Was: 
https://ldr-d.larc.nasa.gov/tools/eperson-list?multiple=false
-- Method: GET
-- Parameters were:
-- multiple: "false"

java.lang.NullPointerException
at org.dspace.eperson.EPerson.findAll(EPerson.java:523)
at 
org.dspace.app.webui.servlet.admin.EPersonListServlet.doDSGet(EPersonListServlet.java:91)
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.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
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:505)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:957)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)
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-05-23 12:46:00,996 WARN  org.dspace.app.webui.util.UIUtil @ Unable to 
send email alert
java.lang.NullPointerException
at 
org.dspace.storage.rdbms.DatabaseManager.queryTable(DatabaseManager.java:230)
at 
org.dspace.content.DSpaceObject$MetadataCache.retrieveMetadata(DSpaceObject.java:1330)
at org.dspace.content.DSpaceObject$MetadataCache.get(DSpaceObject.java:1265)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:676)
at org.dspace.content.DSpaceObject.getMetadata(DSpaceObject.java:585)
at 
org.dspace.content.DSpaceObject.getMetadataFirstValue(DSpaceObject.java:653)
at org.dspace.eperson.EPerson.getFirstName(EPerson.java:772)
at org.dspace.eperson.EPerson.getFullName(EPerson.java:748)
at org.dspace.app.webui.util.UIUtil.sendAlert(UIUtil.java:419)
at 
org.dspace.app.webui.servlet.InternalErrorServlet.doGet(InternalErrorServlet.java:54)
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.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:488)
at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:476)
at 
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:420)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv

Re: [dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-23 Thread Tim Donohue

Hi Pantelis,

This bug was resolved *after* the DSpace 6 RC1 release, as noted by Mark 
Wood. Here's the bug ticket and resolution:


https://jira.duraspace.org/browse/DS-3104
https://github.com/DSpace/DSpace/pull/1364

So, if you are still running RC1, then you are likely encountering this bug.

We do not yet have a 6.0 RC2 release out (as we're working on a few more 
bug fixes), but that should be coming soon.


In the meantime, if you want to avoid this issue, you could use the 
latest code on our "master" GitHub branch, as that is where we are 
working on the RC2 release.


https://github.com/DSpace/DSpace/

- Tim


On 5/23/2016 10:19 AM, Pantelis Karamolegkos wrote:
Although the problem was manually corrected after creating the log dir 
and setting the respective value in log4j.properties, I am still 
getting the following error related to solr logs:


log4j:ERROR setFile(null,true) call failed.
_*java.io.FileNotFoundException: /log/solr.log (No such file or directory)
*_at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at 
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at 
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
at 
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)
at 
org.dspace.solr.filters.ConfigureLog4jListener.contextInitialized(ConfigureLog4jListener.java:79)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at 
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)
log4j:ERROR Either File or DatePattern options are not set for 
appender [file].


It seems that a relevant substitution needs to be made to configure 
solr logs (?)


Any idea where the solr logs location is set? Can't seem to find it.

Thx,

Pantelis

On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:

After running fresh_install, a file literally named ${log.dir} is
created in dspace_installer folder.
It seems no parameter substitution takes place when running the
ant target.
Where are the folder names taken from, i.e. ${upload.temp.dir},
${report.dir} etc and why the log dir is not substituted while the
others are?

--
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.


--
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

--
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.


[dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-23 Thread Pantelis Karamolegkos
Although the problem was manually corrected after creating the log dir and 
setting the respective value in log4j.properties, I am still getting the 
following error related to solr logs:

log4j:ERROR setFile(null,true) call failed.

*java.io.FileNotFoundException: /log/solr.log (No such file or directory)*
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.(FileOutputStream.java:213)
at java.io.FileOutputStream.(FileOutputStream.java:133)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at 
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
at 
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)
at 
org.dspace.solr.filters.ConfigureLog4jListener.contextInitialized(ConfigureLog4jListener.java:79)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
log4j:ERROR Either File or DatePattern options are not set for appender 
[file].

It seems that a relevant substitution needs to be made to configure solr 
logs (?)

Any idea where the solr logs location is set? Can't seem to find it.

Thx,

Pantelis

On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:
>
> After running fresh_install, a file literally named ${log.dir} is created 
> in dspace_installer folder.
> It seems no parameter substitution takes place when running the ant target.
> Where are the folder names taken from, i.e. ${upload.temp.dir}, 
> ${report.dir} etc and why the log dir is not substituted while the others 
> are?
>

-- 
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.


[dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-23 Thread Mark Wood

This should have been corrected in 
https://github.com/DSpace/DSpace/pull/1364.  log.dir no longer exists in 
the DSpace configuration; it is only defined in the log4j configuration.  
If a property is not defined, no substitution is done.

-- 
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.


[dspace-tech] Re: DSpace 6 RC1 - migrate_database ant target fails

2016-05-23 Thread Pantelis Karamolegkos
Resolved it was an issue of failed installation of pgcrypto.

On Sunday, May 22, 2016 at 6:59:05 PM UTC+3, Pantelis Karamolegkos wrote:
>
> The above target fails with the following output:
>
>  [java] 2016-05-22 18:56:33,108 INFO 
>  org.dspace.services.caching.CachingServiceImpl @ destroy()
>  [java] 2016-05-22 18:56:33,109 INFO 
>  org.springframework.cache.ehcache.EhCacheManagerFactoryBean @ Shutting 
> down EhCache CacheManager
>  [java] 2016-05-22 18:56:33,109 INFO 
>  org.dspace.services.sessions.SessionRequestServiceImpl @ shutdown
>  [java] 2016-05-22 18:56:33,109 WARN 
>  org.dspace.services.sessions.SessionRequestServiceImpl @ Request 
> interceptor 
> (org.dspace.services.events.SystemEventService$EventRequestInterceptor@7d35e191)
>  
> failed to execute on end (request-387-1463932592942): null
>  [java] 2016-05-22 18:56:33,113 INFO 
>  org.dspace.servicemanager.spring.SpringServiceManager @ Spring Service 
> Manager Shutdown...
>  [java] 2016-05-22 18:56:33,113 INFO 
>  org.dspace.servicemanager.DSpaceServiceManager @ Shutdown DSpace core 
> service manager
>  [java] 2016-05-22 18:56:33,113 INFO 
>  org.dspace.servicemanager.DSpaceKernelImpl @ DSpace kernel shutdown 
> completed and unregistered MBean: 
> org.dspace:name=2a65a6db-e965-4813-9766-fce8b7cb4f05,type=DSpaceKernel
>
> BUILD FAILED
> /home/pkaramol/Workspace/dspace_dir/dspace-6.0-rc1-src-release/dspace/target/dspace-installer/build.xml:799:
>  
> Java returned: 1
>
> Working on Ubuntu 16.04, with Postgres 9.5 and Java 1.8.0_91
>
>

-- 
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.


[dspace-tech] Re: No parameter substitution in ant when creating log.dir - DSpace 6 RC1

2016-05-23 Thread Pantelis Karamolegkos
Still it seems it is unable to grasp the value of log.dir parameter and 
substitute in log4j.properties.
My way around this was to hardcode the value of log.dir in log4j.properties 
in which I now have an entry like:

log.dir=/home/pkaramol/Workspace/dspace6/dspace-6.0-rc1-install-dir/log

And I also had to manually create the log dir in the above path and also 
grant rwx permissions to tomcat8 user (via setfacl)

On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:
>
> After running fresh_install, a file literally named ${log.dir} is created 
> in dspace_installer folder.
> It seems no parameter substitution takes place when running the ant target.
> Where are the folder names taken from, i.e. ${upload.temp.dir}, 
> ${report.dir} etc and why the log dir is not substituted while the others 
> are?
>

-- 
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.


[dspace-tech] DSpace CRIS 5, Can use Google Sign-In ?

2016-05-23 Thread Sarankon Hiranphonlakrit
can use google sign-in for dspace cris 5 ?

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+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

2016-05-23 Thread Sarankon Hiranphonlakrit
Thank you very much again Luigi Andrea
After I set *parameter: -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true *
*It work*


On Monday, May 23, 2016 at 5:40:28 PM UTC+7, 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
> 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 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 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>
> at 
> org.apache.catalina.core.ApplicationFilt

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

2016-05-23 Thread Sarankon Hiranphonlakrit
at JAVA_OPTS="$JAVA_OPTS . right ?

-- 
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

2016-05-23 Thread Sarankon Hiranphonlakrit
I use "startup.bat" to run server where I can set parameter ?

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+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

2016-05-23 Thread Sarankon Hiranphonlakrit
Thank you very much, Luigi Andrea

I use tomcat 9.0 and don't set *parameter: 
-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true*

-- 
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.


[dspace-tech] Re: Displays different information in the list of items (DSpace 5.5)

2016-05-23 Thread Mariangels
Thank you very much, Franziska.
All is working now :-)


El dilluns, 23 maig de 2016 11:49:50 UTC+2, Mariangels va escriure:
>
>
> Hello,
>
> I'm working with DSpace 5.5 and xmlui (Mirage theme)
> I have a problem:
>
> When I'm browsing through the communities, collections, etc. I can see 
> this information about a record:
>
> Title
> Authors
> Abstract
> "Please you can see in the attached file1.jpg"
>
> That's OK but when I search a record in Discovery I can see:
>
> Title
> Authors
> and...surprisingly...
> some content of the .pdf file  :-o
> "Please you can see in the attached file2.jpg"
>
> Can you help me? Why that happens?
>
>

-- 
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

2016-05-23 Thread Pascarelli Luigi Andrea

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
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 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 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)


at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)


at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)


at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicat

Re: [dspace-tech] Displays different information in the list of items (DSpace 5.5)

2016-05-23 Thread Franziska Ackermann

Hi Mariangels,

the search term (here: "predictor") was found in the fulltext of the 
item, so DSpace does not display the abstract but snippets of the full 
text where the search term was found.


You can fix this by commenting out

class="org.dspace.discovery.configuration.DiscoveryHitHighlightFieldConfiguration">







in discovery.xml.

Best regards,

Franziska Ackermann


Am 23.05.2016 um 11:49 schrieb Mariangels:


Hello,

I'm working with DSpace 5.5 and xmlui (Mirage theme)
I have a problem:

When I'm browsing through the communities, collections, etc. I can see 
this information about a record:


Title
Authors
Abstract
"Please you can see in the attached file1.jpg"

That's OK but when I search a record in Discovery I can see:

Title
Authors
and...surprisingly...
some content of the .pdf file  :-o
"Please you can see in the attached file2.jpg"

Can you help me? Why that happens?

--
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.


[dspace-tech] DSpace CRIS 5 After Install

2016-05-23 Thread Sarankon Hiranphonlakrit
I installed DSpace CRIS 5 to my computer for testing.
by follow installation at 
https://wiki.duraspace.org/display/DSPACECRIS/Installation
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 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 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:702)

at 
org.apache.catalina.core.ApplicationDispatc