[dspace-tech] Re: Versioning system. Authorization issue

2020-05-09 Thread Federico Yemurenko
orBase.invoke(AuthenticatorBase.java:493)*
*at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)*
*at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)*
*at 
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)*
*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:800)*
*at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)*
*at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)*
*at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)*
*at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)*
*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: org.postgresql.util.PSQLException: ERROR: operator does not 
exist: bytea = uuid*
*  Hint: No operator matches the given name and argument type(s). You might 
need to add explicit type casts.*
*  Position: 394*
*at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2422)*
*at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2167)*
*at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306)*
*at 
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)*
*at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)*
*at 
org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155)*
*at 
org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)*
*at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)*
*at 
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)*
*at 
org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:79)*
*... 46 more*



El sábado, 25 de abril de 2020, 10:43:14 (UTC-3), Federico Yemurenko 
escribió:
>
> Hi,
>
> I´ve just turned versioning system on, allowing authors to create new 
> versions.  It's DSpace 6.3 / JSPUI
>
> BUT when I try to create a version of a published item, I got the 
> following ERROR:
>
> 2020-04-24 19:53:33,949 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
> federico.yemure...@internet.com.uy:session_id=13ABF80E27864AAF311ABB26E6C9226F:ip_addr=34.213.209.184:general_jspui_error:java.lang.RuntimeException\colon;
>  
> java.lang.RuntimeException\colon; Authorization denied for action WRITE on 
> BITSTREAM\colon;c654a5ca-28d0-45e3-99ea-68d84ab20602 by user 
> ae1c5174-547c-4ab9-90bc-80e63b51108d
> java.lang.RuntimeException: java.lang.RuntimeException: Authorization 
> denied for action WRITE on BITSTREAM:c654a5ca-28d0-45e3-99ea-68d84ab20602 
> by user ae1c5174-547c-4ab9-90bc-80e63b51108d
> at 
> org.dspace.app.webui.util.VersionUtil.processCreateNewVersion(VersionUtil.java:111)
> at 
> org.dspace.app.webui.servlet.VersionItemServlet.doDSGet(VersionItemServlet.java:60)
> at 
> org.dspace.app.webui.servlet.VersionItemServlet.doDSPost(VersionItemServlet.java:87)
> at 
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122)
> at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80)
>
> etc ...
>
> HOWEVER, if I log in with an ADMIN user, everythig works fine.
>
> What is it about ? What´s wrong with the collection´s privileges ?
>
> Thanks and regards
>
>

-- 
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/fe015825-ad6f-4584-bf8a-0840daefa5ae%40googlegroups.com.


[dspace-tech] Versioning system. Authorization issue

2020-04-25 Thread Federico Yemurenko
Hi,

I´ve just turned versioning system on, allowing authors to create new 
versions.  It's DSpace 6.3 / JSPUI

BUT when I try to create a version of a published item, I got the following 
ERROR:

2020-04-24 19:53:33,949 WARN  org.dspace.app.webui.servlet.DSpaceServlet @ 
federico.yemure...@internet.com.uy:session_id=13ABF80E27864AAF311ABB26E6C9226F:ip_addr=34.213.209.184:general_jspui_error:java.lang.RuntimeException\colon;
 
java.lang.RuntimeException\colon; Authorization denied for action WRITE on 
BITSTREAM\colon;c654a5ca-28d0-45e3-99ea-68d84ab20602 by user 
ae1c5174-547c-4ab9-90bc-80e63b51108d
java.lang.RuntimeException: java.lang.RuntimeException: Authorization 
denied for action WRITE on BITSTREAM:c654a5ca-28d0-45e3-99ea-68d84ab20602 
by user ae1c5174-547c-4ab9-90bc-80e63b51108d
at 
org.dspace.app.webui.util.VersionUtil.processCreateNewVersion(VersionUtil.java:111)
at 
org.dspace.app.webui.servlet.VersionItemServlet.doDSGet(VersionItemServlet.java:60)
at 
org.dspace.app.webui.servlet.VersionItemServlet.doDSPost(VersionItemServlet.java:87)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122)
at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80)

etc ...

HOWEVER, if I log in with an ADMIN user, everythig works fine.

What is it about ? What´s wrong with the collection´s privileges ?

Thanks and regards

-- 
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/04208121-b756-4a22-bebf-f4b4498557b6%40googlegroups.com.


[dspace-tech] HIJACKED SESSIONs Protection

2019-06-17 Thread Federico Yemurenko
Hi,

Has the IP address based session hijacking protection already been removed 
or made configurable in DSpace 6.3 ?
(Ref. DS-2030 ).

Please advise and provide more information.

Regards

-- 
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/66c7c43c-2602-45d3-83d2-1743452a5941%40googlegroups.com.


[dspace-tech] Error compiling DSpace 6.3

2019-05-24 Thread Federico Yemurenko
Hi,

I am running DSpace 6.3 (JSPUI).  
I´ve just chaged something (just commented out  call to listCollections()) 
in 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java
 
but when I compiled (mvn package in /opt/dspace63/dspace-6.3-src-release/ 
as dspace user) I got:

[INFO] -
[ERROR] COMPILATION ERROR :
[INFO] -
[ERROR] 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java:[24,25]
 
package javax.servlet.jsp does not exist
[ERROR] 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java:[25,25]
 
package javax.servlet.jsp does not exist
[ERROR] 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java:[27,32]
 
package javax.servlet.jsp.tagext does not exist
[ERROR] 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java:[199,30]
 
cannot find symbol
  symbol: class TagSupport
[ERROR] 
/opt/dspace63/dspace-6.3-src-release/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java:[319,36]
 
cannot find symbol

etc etc etc

I have had no issued with other compilations.

env is 

SSH_CONNECTION=179.27.73.66 49383 10.0.2.18 22
LESSCLOSE=/usr/bin/lesspipe %s %s
CATALINA_HOME=/opt/tomcat8
LANG=C.UTF-8
JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
S_COLORS=auto
XDG_SESSION_ID=23932
USER=ubuntu
PWD=/home/ubuntu
HOME=/home/ubuntu
SSH_CLIENT=179.27.73.66 49383 22
XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
SSH_TTY=/dev/pts/2
MAIL=/var/mail/ubuntu
TERM=xterm
SHELL=/bin/bash
SHLVL=1
LOGNAME=ubuntu
XDG_RUNTIME_DIR=/run/user/1000
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin
LESSOPEN=| /usr/bin/lesspipe %s
_=/usr/bin/env

Please help.

Platform is:

Ubuntu 18.04.1 LTS

openjdk version "1.8.0_191"

Apache Maven 3.5.2

Apache Ant(TM) version 1.10.3 

git version 2.20.1

Server version: Apache/2.4.29 (Ubuntu)

PHP 7.2.10-0ubuntu0.18.04.1 (cli) 

psql (PostgreSQL) 10.6 (Ubuntu 10.6-0ubuntu0.18.04.1)

Tomcat apache-tomcat-8.5.37


Regards


-- 
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/c185ed29-26a0-43ac-ac96-18cc13a49740%40googlegroups.com.