On Fri, Jul 02, 2021 at 09:28:26AM -0700, Nicolas Battaglia wrote:
> Hello, i've an issue after installing dpsace, while trying to upload a file 
> in a new item.
> After progressbar finished, apperas an error message (Upload failed), and 
> in the browser console gets this response, with 201 status code.
> 
>    1. {id: 33, errors: [{message: "error.validation.required",…},…],…}
>       1. errors: [{message: "error.validation.required",…},…]
>          1. 0: {message: "error.validation.required",…}
>          2. 1: {message: "error.validation.filerequired", paths: 
>          ["/sections/upload"]}
>          3. 2: {message: "*java.io.IOException: *No existe el fichero o el 
>          directorio", paths: ["/sections/upload"]}
>             1. message: "java.io.IOException: No existe el fichero o el 
>             directorio"
>             2. paths: ["/sections/upload"]
>          2. id: 33
>       3. lastModified: "2021-07-02T16:04:41.403+0000"
>       4. sections: {license: {url: null, acceptanceDate: null, granted: 
>       false}, upload: {files: []},…}
>       5. type: "workspaceitem"
>       6. _embedded: {,…}
>       7. _links: {,…}
>    
> 
> 
> I've installed dpsace in a debian server, following all the installation 
> steps, without any problem. But, in my dspace log havnt't any file. After 
> this, change log4j2 log level to debbug but nothing happens, and in 
> catalina.out log file gets  this 2 errors:
> 
> 
> 1) 
> 
> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,223 main ERROR Null object 
> returned for RollingFile in Appenders.
> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,236 main ERROR Null object 
> returned for RollingFile in Appenders.
> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,292 main ERROR Unable to 
> locate appender "A1" for logger config "root"
> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,294 main ERROR Unable to 
> locate appender "A1" for logger config "org.dspace"
> [2021-07-02 11:59:41] [info] 2021-07-02 11:59:41,295 main ERROR Unable to 
> locate appender "A2" for logger config "org.dspace.checker"

This looks like damage to the file 'config/log4j2.xml'.  The Logger
elements are expecting to find Appender elements named 'A1' and 'A2'
but no such elements were found.  Log files are created by an
Appender.  This would explain why you have no DSpace log files.

> java.lang.IllegalArgumentException: Se encontró un carácter inválido en el 
> nombre del método. Los nombres de métodos HTTP deben ser tokens
> [2021-07-02 12:13:55] [info]     at 
> org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:416)

I agree with another post:  if I saw "encountered an invalid character in
method name" at the start of a session  then the first thing I would
look for is an HTTP/HTTPS mis-match.

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

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/YOR8aNJO1oLEkiit%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to