Hi Andrea,

Yes, I did run mvn clean clean -U package. I just checked this morning and 
running ls slf4j* in [dspace]/lib, I have this files:

$ ls slf4j*
slf4j-api-1.5.6.jar  slf4j-log4j12-1.5.6.jar
slf4j-api-1.6.1.jar  slf4j-log4j12-1.6.1.jar

Anyways, I was kind of desperate to fix this issue and couldn't wait after 
the weekend to wait for a response, so I just reinstall DSpace to a 
different directory. Thankfully I didn't encounter that issue. I really 
suspect it's a permission issue because I just inherited this repository 
and I am using a different user when the original DSpace was installed. 
Plus, I always encountered a permissions denied errors from the 
[dspace]/log directory.

Thanks for this, I now know where to look and what file to delete if ever I 
encounter that error again.

Best regards,
euler

On Monday, September 28, 2015 at 4:18:14 AM UTC+8, Andrea Schweer wrote:
>
> Hi euler, 
>
> On 26/09/15 19:27, euler wrote: 
> > Dear All, 
> > 
> > When attempting to run "dspace -h" from the command line, I am 
> > receiving this error: 
> > 
> > log4j:ERROR Attempted to append to closed appender named [A1]. 
> > log4j:ERROR Attempted to append to closed appender named [A1]. 
> > log4j:ERROR Attempted to append to closed appender named [A1]. 
> > Exception in thread "main" java.lang.NoSuchMethodError: 
> > org.slf4j.spi.LocationAw 
> > 
> areLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang
>  
>
> > /Object;Ljava/lang/Throwable;)V 
>
> Just to get the super obvious out of the way, you did run mvn clean 
> during the upgrade, yes? I think I've seen this happen when I forgot the 
> "clean" bit, which results in more than one slf4j version in 
> [dspace]/lib and the wrong one (an earlier version) is loaded instead of 
> the correct one. What do you get for this? 
> ls [dspace]/lib/slf4j* 
>
> I just ran this on a DSpace 5.3 instance and I get: 
> slf4j-api-1.6.1.jar 
> slf4j-log4j12-1.6.1.jar 
>
> cheers, 
> Andrea 
>
> -- 
> Dr Andrea Schweer 
> IRR Technical Specialist, ITS Information Systems 
> The University of Waikato, Hamilton, New Zealand 
> +64-7-837 9120 
>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to