Citation Page Generator

31 views
Skip to first unread message

Cameron, Jacob

unread,
Nov 24, 2020, 5:20:49 PM11/24/20
to DSpace Technical Support

Hello everyone,

 

Dspace 6.3, Windows Server 2016, Tomcat 8, PGSQL9.6.

 

We’ve had the citation page generator turned on for a couple of years.  I upgraded Tomcat and Java last week, but even before that, some documents seemed to be corrupted when the citation page was added to the document.  If I was logged in the document appeared, opened fine, etc..  However if I was not logged in and I clicked the View/Open button, it opened to a blank page and said there was a problem with the document.  If I downloaded it, it saved a 0mb file, obviously corrupted.  However, I turned off the citation page feature and everything works 100% for all the documents.  Any thoughts or suggestions on what I could be doing wrong here?

 

Jake

 

--

Jake Cameron, BCS(UNB)

Systems Support Specialist III

Information Systems and Technical Services University of Lethbridge Library

Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you.

 

Mark H. Wood

unread,
Nov 25, 2020, 8:49:31 AM11/25/20
to DSpace Technical Support
On Tue, Nov 24, 2020 at 10:20:40PM +0000, Cameron, Jacob wrote:
> We've had the citation page generator turned on for a couple of years. I upgraded Tomcat and Java last week, but even before that, some documents seemed to be corrupted when the citation page was added to the document. If I was logged in the document appeared, opened fine, etc.. However if I was not logged in and I clicked the View/Open button, it opened to a blank page and said there was a problem with the document. If I downloaded it, it saved a 0mb file, obviously corrupted. However, I turned off the citation page feature and everything works 100% for all the documents. Any thoughts or suggestions on what I could be doing wrong here?

Well, it sounds like a permissions problem of some sort, and one that
should not happen. I would look in the DSpace logs around the times
of these failures to see if there are any clues.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Cameron, Jacob

unread,
Nov 25, 2020, 12:20:01 PM11/25/20
to Mark H. Wood, DSpace Technical Support
Hi Mark,

There doesn't appear to be any issues with the permissions. Everything is owned by the local dspace account. However, I'm not able to run any dspace commands now. Apparently the tomcat upgrade I did has broken things.

When I try to run dspace solr-stats or dspace oai import it says it can't access the log files, permission is denied, but the log files are all owned by the local dspace account as well. None of the errors are showing up in my log files either, as the solr log files are not being generated. None of my DSpace commands seem to be working since Tomcat was updated. Same for dspace filter-media. They all get angry with the log files.

Any thoughts?

Using DSpace installation in: C:\dspace
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\dspace\log\dspace.log.2020-11-25 (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:95)
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.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:81)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:295)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:315)
at org.dspace.servicemanager.DSpaceKernelInit.<clinit>(DSpaceKernelInit.java:24)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:46)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\dspace\log\checker.log.2020-11-25 (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:95)
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.parseCatsAndRenderers(PropertyConfigurator.java:672)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:81)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:295)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:315)
at org.dspace.servicemanager.DSpaceKernelInit.<clinit>(DSpaceKernelInit.java:24)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:46)
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: C:\dspace\log\cocoon.log.2020-11-25 (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.dspace.app.util.DailyFileAppender.activateOptions(DailyFileAppender.java:95)
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.parseCatsAndRenderers(PropertyConfigurator.java:672)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:81)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:295)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:315)
at org.dspace.servicemanager.DSpaceKernelInit.<clinit>(DSpaceKernelInit.java:24)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:46)


--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756
This e-mail, including any and all attachments, is only for the use of the intended recipient(s) and may contain information that is confidential or privileged. If you are not the intended recipient, you are advised that any dissemination, copying or other use of this e-mail is prohibited. Please notify the sender of the error in communication by return e-mail and destroy all copies of this e-mail. Thank you.


-----Original Message-----
From: Mark H. Wood,UL 0115A,+1 317 274 0749, <mw...@IUPUI.Edu> On Behalf Of Mark H. Wood
Sent: Wednesday, November 25, 2020 6:49 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: Re: [dspace-tech] Citation Page Generator

Caution: This email was sent from someone outside of the University of Lethbridge. Do not click on links or open attachments unless you know they are safe. Suspicious emails should be forwarded to phis...@uleth.ca.

Cameron, Jacob

unread,
Nov 25, 2020, 12:30:00 PM11/25/20
to Cameron, Jacob, Mark H. Wood, DSpace Technical Support
Someone 2 directories were set to read-only in DSpace. I removed the read-only setting and it appears things are working properly again.
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/QB1PR01MB3908ECD6CC23E4A4371785EB84FA0%40QB1PR01MB3908.CANPRD01.PROD.OUTLOOK.COM.
Reply all
Reply to author
Forward
0 new messages