Re: [dspace-tech] I NEDD YOUR TECHNICAL SUPPORT

2017-11-28 Thread Luiz dos Santos
Until I know dsapce doesn't have a viewer, I'm supposing that you are
talking about pdf, the behaviour of show the file straight or download the
file relays on the browser based in the file size.

On 28 Nov 2017 08:03,  wrote:

>  i customize  DSpace for my university, file in the item on DSpace
> directly downloaded before view the file contents, but i need view the file
> in the item before downloading how can solve this problems please help me
>
> --
> 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] How many ways exists to integrate dspace repositories?

2017-03-20 Thread Luiz dos Santos
Hi Brendow,

I'm not sure if I understood the question, but I would like to add sword
and REST API.

thanks in advance

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Mon, Mar 20, 2017 at 8:50 AM, Brendow Adriel 
wrote:

> 1 - OAI integration via harvesting.
> 2 - Metadata Importation via CSV or XML.
> 3 - Restore via AIP.
>
> --
> 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] Browsing by Author "c34b248d-7873-40ea-95f4-9f77cac0c51b"

2017-01-31 Thread Luiz dos Santos
Hi Tom,

   Could explain what this code is doing?

Thank in advance

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Jan 31, 2017 at 4:21 PM, Tom Desair  wrote:

> For DSpace 5, you can try this:
>
>1. Copy the contents of this file https://github.com/DSpace/
>DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/
>dspace/app/xmlui/aspect/discovery/SimpleSearch.java
>
> 
>  to
>dspace/modules/xmlui/src/main/java/org/dspace/app/xmlui/
>aspect/discovery/SimpleSearch.java
>2. After line188 (https://github.com/DSpace/
>DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/
>dspace/app/xmlui/aspect/discovery/SimpleSearch.java#L188
>
> )
>add
>
> // get the authority value for authority filters
> if(filterOperator.equals("authority")) 
> {org.dspace.authority.AuthorityValueFinder authorityValueFinder = new 
> AuthorityValueFinder();
>   AuthorityValue authorityValue = authorityValueFinder.findByUID(context, 
> filterValues.get(i));
>   if(authorityValue!=null) {
>filterValue = authorityValue.getValue();
>   }
> }
>
>
>
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Esperantolaan 4, Heverlee 3001, Belgium
> www.atmire.com
> 
>
> 2017-01-27 18:07 GMT+01:00 Mcmanus, Molly S CIV USARMY CEERD (US) <
> molly.s.mcma...@usace.army.mil>:
>
>> We are experiencing the issues described below with author browsing.
>> XMLUI, Mirage 2 with Orcid and author authority control turned on.
>> https://jira.duraspace.org/browse/DS-2785
>> https://jira.duraspace.org/browse/DS-2938
>> https://jira.duraspace.org/browse/DS-2852
>>
>> We are using 5.3, but it looks to still be an issue in 6 on the demo site.
>> http://demo.dspace.org/xmlui/browse?type=author
>>
>> Is there a workaround or fix that folks are currently using?
>>
>> Molly McManus
>> Systems Librarian, Information Science and Knowledge Management Branch
>>
>> US Army Engineer Research and Development Center
>> Information Technology Laboratory
>> ATTN CEERD-IS-L
>> 3909 Halls Ferry Road
>> Vicksburg, MS 39180-6199
>>
>> p 601-634-4122
>>
>> molly.s.mcma...@usace.army.mil
>> http://erdc.usace.army.mil/labs/itl/
>>
>>
>>
>> --
>> 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.
>

-- 
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] Re: ant fresh_install vs postgres

2017-01-31 Thread Luiz dos Santos
Hi Tom,

It was a very complete answer, you should put it in a wiki page as  a
troubleshooting.

Best
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Jan 31, 2017 at 4:03 PM, Tom Desair  wrote:

> Hi Walter,
>
> You need to make sure of the following:
>
>1. *Allow the "dspace" PostgreSQL user to connect using a password:* This
>means having the following line to the pg_hba.conf file:
>   - "hostdspace dspace 127.0.0.1  255.255.255.255
>md5"
>   - This tells the Postgres server to allow database connection for
>   user DSpace using password authentication but only when the request 
> comes
>   from ip address *127.0.0.1 *(which is localhost)
>   2. *Test database connection*: On your DSpace server, verify that
>as a user which is not dspace that you can connect to the PostgreSQL
>database using:
>   - psql -h localhost -p 5432 -d dspace -U dspace
>   - This should prompt you for a password
>   3. *local.cfg values: *In your local.cfg file, you should have the
>following property:
>   - db.url = jdbc:postgresql://localhost:5432/dspace
>   - Note that using "localhost" here is important because in step 1
>   we told the Postgres database to only allow connection coming from
>   localhost. If you put "irtest.library.uaf.edu" here, the request to
>   the database will go through the full network stack and the Postgres
>   database will see your external network IP address as the request IP
>   address and not allow access.
>   4. *Make sure the "dspace" user has the correct roles: *Connect to
>your PostgreSQL database and execute:
>   - ALTER ROLE dspace NOSUPERUSER CREATEDB NOCREATEROLE NOCREATEUSER;
>
> Do these steps solve your problem?
>
>
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Esperantolaan 4, Heverlee 3001, Belgium
> www.atmire.com
> 
>
>
> 2017-01-31 21:23 GMT+01:00 Walter Rutherford :
>
>> I remember having some difficulty during the database part of the
>> installation. I'm tempted to rip out the
>> database down to reinstalling Postgres and starting over. But before I
>> do, should the dspace user have
>> an special privileges? I didn't see where any should be set in the
>> instructs so it looks pretty bare:
>>
>>> dspace=> \du
>>>List of roles
>>>  Role name | Attributes
>>> | Member
>>>  of
>>> ---+
>>> +---
>>> 
>>>  dspace|
>>>  | {}
>>>  postgres  | Superuser, Create role, Create DB, Replication, Bypass RLS
>>> | {}
>>>  walter|
>>>  | {}
>>>
>>> --
>> 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.
>

-- 
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] Re: ant fresh_install vs postgres

2017-01-31 Thread Luiz dos Santos
Hi Walter,

Are you sure the database is available outside of the server, did you
try to use db.url = jdbc:postgresql://localhost:5432/dspace, and more the
Dspace dspace it should be something like baseUrl =
http://${dspace.hostname}:80/
or dspace.baseUrl = http://${dspace.hostname}:8080/, but have the tomcat in
the same port of the database doesn't make sense.

Best regards

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Jan 31, 2017 at 3:14 PM, Walter Rutherford 
wrote:

>
> Thanks Mark and Luiz. Unless I'm misunderstanding how it reads variables
> I'm using almost the default
> values in our local.cfg file::
>
> dspace.hostname = "irtest.library.uaf.edu"
> dspace.baseUrl = http://${dspace.hostname}:5432/
> db.url = jdbc:postgresql://${dspace.hostname}:5432/dspace
>
> With db.username and db.password defined exactly as in the database. It
> appears to be choking on the
> dspace.hostname because I've tried both 'localhost' and the systems IP
> address. All that changed was
> the hostname specified in the java.net.UnknownHostExcpetion error message.
>
> But there are a LOT of parameters that can be tweaked so it's very
> possible I missed something.
>
>
> --
> 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] Re: ant fresh_install vs postgres

2017-01-31 Thread Luiz dos Santos
Hi Walter,

I was clarify some points of Mark's e-mail... About you issue, I guess
it is something with config/installation of your database, but I don't have
idea how to solve it, but review the connection info in the
dspace.cfg/local.cfg as Mark said is always a good idea.

Best regards

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Jan 31, 2017 at 1:45 PM, Walter Rutherford 
wrote:

> Postgres is running as a Linux service if that's what you mean.
>
> --
> 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] Re: ant fresh_install vs postgres

2017-01-31 Thread Luiz dos Santos
Hi Mark,

Maybe I lost that part, but he said that the database is local, right?
if he is using the Dspace 6, he should use local.cfg, it is not an option,
right? The wierd thing here is that he said, he can connect with the linux
user "dspace", but not with others linux user, to me it seem like there is
something wrong with the his database installation, right?  I would install
the database as a service in linux.

Best regards
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Jan 31, 2017 at 10:03 AM, Mark Wood  wrote:

> On Monday, January 30, 2017 at 7:16:53 PM UTC-5, Walter Rutherford wrote:
>>
>> I think that all makes sense. If I'm logging in from user 'dspace' to
>>  'dspace' in posgres it uses
>> the peer rule and lets me in without a password. Any other user would
>> have to be accessing
>> their own user/database.
>> So, how should the pg_hba.conf file be configured to allow any user to
>> access the DSpace
>> database via a webpage and Tomcat?
>>
>>
> You need an entry that matches the db.* settings in dspace.cfg or
> local.cfg.  db.url specifies the DBMS hostname, db.username the database
> user, and db.password the database user's password.  If your db.url is
> 'jdbc:postgresql://localhost:5432/dspace', db.username is 'dspace', and
> db.password is 'secret', then your existing 'host dspace dspace...' rule
> should work.  The DBMS cluster would have to be on the local host and have
> to have a user 'dspace' with the password 'secret' for this to work.
>
> The PostgreSQL JDBC driver always uses a TCP connection, not a local
> socket, so only 'host' or 'hostssl' rules will apply to DSpace.  The 'psql'
> tool will by default use the local socket, so only 'local' rules will apply
> to it unless you tell it otherwise using the --host option.
>
> --
> 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] Re: ant fresh_install vs postgres

2017-01-31 Thread Luiz dos Santos
Man, it is really weird, I've not ever faced an issue like that, it is hard
to know what is going on. If I was your shoes I could keep try, but right
now, I don't have any idea to offer to you, sorry!

On Mon, Jan 30, 2017 at 8:56 PM Walter Rutherford 
wrote:

>
> Sorry... Correction: "dspace.hostname" not "domain.hostname".
>
> --
> 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.
>
-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

-- 
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] ant fresh_install vs postgres

2017-01-27 Thread Luiz dos Santos
You should create the dspace database, using the lines below. You are
installing the dspace with the root user, what is wrong, you should use a
not superuser instead, most likely the user dspace.

You should see this playlist:
https://www.youtube.com/playlist?list=PLlOglq06moTsd63OaJn6zK2g1fV4sSwYv ,
it is pretty strait forward.

createuser --username=postgres --no-superuser --pwprompt dspace
createdb --username=postgres --owner=dspace --encoding=UNICODE dspace

Best
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Fri, Jan 27, 2017 at 4:58 PM, Walter Rutherford 
wrote:

>
> I've proceeded through the DSpace installation but have been stuck during
> the 'ant fresh_install'.
> It doesn't get very far into test_database before it has a cascade of
> errors.
>
> [root@irtest dspace-installer]# ant fresh_install
> Buildfile: /home/dspace/dspace-6.0-src-release/dspace/target/dspace-
> installer/build.xml
>
> init_installation:
>
> prepare_configs:
> [mkdir] Created dir: /home/dspace/dspace-6.0-src-
> release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 157 files to /home/dspace/dspace-6.0-src-
> release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 1 file to /home/dspace/dspace-6.0-src-
> release/dspace/target/dspace-installer/config-temp
>  [copy] Copying 16 files to /home/dspace/dspace-6.0-src-
> release/dspace/target/dspace-installer/config-temp
>
> init_configs:
>  [copy] Copying 1 file to /home/dspace/config
>[delete] Deleting directory /home/dspace/dspace-6.0-src-
> release/dspace/target/dspace-installer/config-temp
>
> test_database:
>  [java] 2017-01-27 12:25:08,822 WARN  
> org.dspace.services.email.EmailServiceImpl
> @ Couldn't get an email session from environment:  Need to specify class
> name in environment or system property, or as an applet parameter, or in an
> application resource file:  java.naming.factory.initial
>  [java]
>  [java] Error running 'test':
>  [java]  - java.sql.SQLException: Cannot create
> PoolableConnectionFactory (The connection attempt failed.)
>  [java]
>  [java] Please see the DSpace documentation for assistance.
>  [java]
>  [java] java.sql.SQLException: Cannot create PoolableConnectionFactory
> (The connection attempt failed.)
> ...
>
>  I suspect there's something wrong with accessing the postgres database. I
> can access it from
> the command-line (with or without specifying the database) but only if I
> don't specify localhost.
> [root@irtest dspace-installer]# psql -U dspace -h localhost
> psql: FATAL:  Ident authentication failed for user "dspace"
>
> [root@irtest dspace-installer]# psql -U dspace -W -h localhost
> Password for user dspace:
> psql: FATAL:  Ident authentication failed for user "dspace"
>
> [root@irtest dspace-installer]# psql -U dspace
> psql (9.5.5)
> Type "help" for help.
> dspace=> \q
>
> [root@irtest dspace-installer]# psql -U dspace -d dspace --list
>   List of databases
>Name|  Owner   | Encoding |   Collate   |Ctype|   Access
> privileges
> ---+--+--+-+
> -+---
>  dspace| dspace   | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
>  postgres  | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
>  template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
>  +
>|  |  | | |
> postgres=CTc/postgres
>  template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres
>  +
>|  |  | | |
> postgres=CTc/postgres
> (4 rows)
>
> Here are the uncommented lines from pg_hba.conf. If I recall it was
> failing as 'peer' so I set local to 'trust'
> [root@irtest data]# egrep -v "^#|^$" /var/lib/pgsql/9.5/data/pg_hba.conf
> local   all all trust
> hostall all 127.0.0.1/32ident
> hostall all ::1/128 ident
>
> I had had file ownership issues initially but I *think* I've caught all
> those.
>
> Any assistance is greatly appreciated. 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.
>

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

Re: [dspace-tech] How to make a metadata value into a clickable link in JSPUI (Dspace 3.3)

2016-12-09 Thread Luiz dos Santos
Hi
   Are you using xmlui or jspui?

Best regards
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Fri, Dec 9, 2016 at 3:10 PM, Catherine Cronin 
wrote:

> I am trying to add a meta-data field that is to contain a link to a Dspace
> item in another instance.
>
> I have added the dc.relation.uri to my Item's metadata and added a URL as
> a value for the field, and added it to the Simple Item view.  The only
> problem is that the URL is not appearing in the GUI as a "link".  I want my
> users to be able to click this link and go directly to the web site being
> referenced.
>
> Is there something else I need to be setting in the dspace.cfg file in
> order to define that I want the value to be treated as a link, and not
> simply as text?
>
> Thanks.
>
> Cathy
>
> --
> 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] Re: Question about DSpace code and version control of local mods

2016-12-08 Thread Luiz dos Santos
Thank you Tom!

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Thu, Dec 8, 2016 at 9:11 AM, Mark Wood  wrote:

> We used to keep our local DSpace in SVN alongside a copy of stock code, to
> make it easy to keep our mod.s updated.  Some time ago we switched to git,
> and now keep local DSpace and stock in a local instance of GitHub
> Enterprise.  I find SCM tools to be much easier to work with than the
> overlay stuff.
>
> --
> 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] Question about DSpace code and version control of local mods

2016-12-07 Thread Luiz dos Santos
Sure, let me reformulate my question, what is the difference between the
build configuration in the "development version" and "release version", for
example, I got that the configuration of the maven "license-maven-plugin"
is different in the pom.xml is different, it makes sense, because in the
end of the day the files are not there, in the release version, so there is
less to check, but I wonder where else there is a difference (maybe
assembly plugin)?

Sorry George, out of topic, but I am curious about it, and I guess your
question was already answered, right?

Thanks
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Wed, Dec 7, 2016 at 4:38 PM, Tom Desair <tom.des...@atmire.com> wrote:

> No you cannot just delete them. You have to start from the correct format.
>
> DSpace is always released under two formats: a "release-src" archive that
> contains the full DSpace source as it can be found on Github and a
> "release" archive that only contains the configuration files and some
> folders where you can put Java customisations. The "release" version will
> download the (compiled) DSpace source code at build time from Maven.
>
> The example repository uses this "release" version. For DSpace 6, you can
> download that version here https://github.com/DSpace/DSpace/releases/
> download/dspace-6.0/dspace-6.0-release.tar.gz (https://github.com/DSpace/
> DSpace/releases/tag/dspace-6.0)
>
>
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Esperantolaan 4, Heverlee 3001, Belgium
> www.atmire.com
> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>
>
> 2016-12-07 21:31 GMT+01:00 Luiz dos Santos <luiz...@gmail.com>:
>
>> Hi Tom,
>>
>>   One question, the repository that you add the link there are some
>> folders missing, such as dspace-jspui, dspace-api, dspace-oai... How did
>> you do that? Just delete it? Do you add these as dependencies somewhere
>> else?
>>
>> Thanks in advance
>> Luiz Claudio Santos
>> http://luizclaudiosantos.me/
>>
>> On Wed, Dec 7, 2016 at 3:19 PM, Tom Desair <tom.des...@atmire.com> wrote:
>>
>>> Hi all,
>>>
>>> The general approach we use, is to download the release version of
>>> DSpace (note: note the src-release version) which is very small and push
>>> this to a Git repository. Then we save all our customisations in the
>>> relevant module directory. This process is described here:
>>> https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation
>>>
>>> An open source example of a highly customised DSpace using this
>>> technique can be found here: https://github.com/milie
>>> uinfo/dspace54-atmire/tree/java-DEV
>>>
>>> Best regards,
>>> Tom
>>>
>>>
>>> [image: logo] Tom Desair
>>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>>> Esperantolaan 4, Heverlee 3001, Belgium
>>> www.atmire.com
>>> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>>>
>>> 2016-12-07 20:45 GMT+01:00 Alan Orth <alan.o...@gmail.com>:
>>>
>>>> Hi, George.
>>>>
>>>> You should absolutely be using a git-based workflow. First, git is fun
>>>> and cool and much better in every way than CVS/SVN, but it's also the
>>>> official version control of the DSpace project itself since about 2014
>>>> or so. This is important for cherry-picking patches, rebasing your
>>>> local changes on top of upstream point releases, etc.
>>>>
>>>> Second, GitHub is great. We forked DSpace's DSpace repository there
>>>> and I cherry-pick commits from their branch from time to time, as well
>>>> as rebase on their point releases as I mentioned above. Even though
>>>> I'm basically the only technical one doing DSpace on our team, I make
>>>> *extensive* use of GitHub other features like issues, pull requests,
>>>> and wikis. For example, when a user reports a bug or feature, I create
>>>> an issue to track it, then when I get time to address it I make a pull
>>>> request to my institution's repository from my personal repository.
>>>>
>>>> Here's our repo, where all of our code is (~25 Mirage 2 themes, custom
>>>> input forms, etc):
>>>>
>>>> https://github.com/ilri/DSpace
>>>>
>>>> On Wed, Dec 7, 2016 at 9:34 PM, Luiz dos Santos <l

Re: [dspace-tech] Question about DSpace code and version control of local mods

2016-12-07 Thread Luiz dos Santos
Hi Tom,

  One question, the repository that you add the link there are some folders
missing, such as dspace-jspui, dspace-api, dspace-oai... How did you do
that? Just delete it? Do you add these as dependencies somewhere else?

Thanks in advance
Luiz Claudio Santos
http://luizclaudiosantos.me/

On Wed, Dec 7, 2016 at 3:19 PM, Tom Desair <tom.des...@atmire.com> wrote:

> Hi all,
>
> The general approach we use, is to download the release version of DSpace
> (note: note the src-release version) which is very small and push this to a
> Git repository. Then we save all our customisations in the relevant module
> directory. This process is described here: https://wiki.duraspace.
> org/display/DSDOC5x/Advanced+Customisation
>
> An open source example of a highly customised DSpace using this technique
> can be found here: https://github.com/milieuinfo/dspace54-atmire/
> tree/java-DEV
>
> Best regards,
> Tom
>
>
> [image: logo] Tom Desair
> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
> Esperantolaan 4, Heverlee 3001, Belgium
> www.atmire.com
> <http://atmire.com/website/?q=services_source=emailfooter_medium=email_campaign=tomdesair>
>
> 2016-12-07 20:45 GMT+01:00 Alan Orth <alan.o...@gmail.com>:
>
>> Hi, George.
>>
>> You should absolutely be using a git-based workflow. First, git is fun
>> and cool and much better in every way than CVS/SVN, but it's also the
>> official version control of the DSpace project itself since about 2014
>> or so. This is important for cherry-picking patches, rebasing your
>> local changes on top of upstream point releases, etc.
>>
>> Second, GitHub is great. We forked DSpace's DSpace repository there
>> and I cherry-pick commits from their branch from time to time, as well
>> as rebase on their point releases as I mentioned above. Even though
>> I'm basically the only technical one doing DSpace on our team, I make
>> *extensive* use of GitHub other features like issues, pull requests,
>> and wikis. For example, when a user reports a bug or feature, I create
>> an issue to track it, then when I get time to address it I make a pull
>> request to my institution's repository from my personal repository.
>>
>> Here's our repo, where all of our code is (~25 Mirage 2 themes, custom
>> input forms, etc):
>>
>> https://github.com/ilri/DSpace
>>
>> On Wed, Dec 7, 2016 at 9:34 PM, Luiz dos Santos <luiz...@gmail.com>
>> wrote:
>> > Hi,
>> >
>> >  We have code in github and svn. The svn is old version that Atmire
>> > folks are updating now. Soon, it's gonna github only, most of the code
>> of
>> > the code is in a maven repository, as a jar files, only the local
>> changes
>> > and config file are in the github repository. The developers have their
>> own
>> > maven profile in the main pom.xml, it helps a lot.
>> >
>> > Luiz Claudio Santos
>> > http://luizclaudiosantos.me/
>> >
>> > On Wed, Dec 7, 2016 at 2:24 PM, Friesen, Darryl <
>> darryl.frie...@usask.ca>
>> > wrote:
>> >>
>> >> I’m very interested in this as well and would also love to hear what
>> the
>> >> community is doing.
>> >>
>> >>
>> >>
>> >> Our modifications have been very simple thus far -- a custom theme
>> based
>> >> on Mirage2; Shibboleth/authentication settings; facets
>> (discovery.xml); OAI
>> >> output formats; input forms (input-forms.xml); etc.  No code changes,
>> just
>> >> config changes.
>> >>
>> >>
>> >>
>> >> Originally I tried keeping just changed files in our local SVN repo,
>> but
>> >> overlaying those changes onto the DSpace code, then building on out
>> dev,
>> >> test and prod boxes was a hassle.
>> >>
>> >>
>> >>
>> >> What I have now is a complete DSpace source tree committed to SVN.  I
>> make
>> >> and test changes on our dev box, then commit to SVN when I have things
>> >> working.  Our test and prod boxes have working copies checked out from
>> SVN,
>> >> so I can do “svn update” to easily bring down my changes.  I’m, not
>> super
>> >> happy with that either.
>> >>
>> >>
>> >>
>> >> We are moving from SVN to GitLab, so I’d like to investigate what the
>> >> Continuous Integration features of GitLab might offer but I haven’t
>> had the
>> >> time.  Another group

Re: [dspace-tech] Question about DSpace code and version control of local mods

2016-12-07 Thread Luiz dos Santos
Hi,

 We have code in github and svn. The svn is old version that Atmire
folks are updating now. Soon, it's gonna github only, most of the code of
the code is in a maven repository, as a jar files, only the local changes
and config file are in the github repository. The developers have their own
maven profile in the main pom.xml, it helps a lot.

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Wed, Dec 7, 2016 at 2:24 PM, Friesen, Darryl 
wrote:

> I’m very interested in this as well and would also love to hear what the
> community is doing.
>
>
>
> Our modifications have been very simple thus far -- a custom theme based
> on Mirage2; Shibboleth/authentication settings; facets (discovery.xml); OAI
> output formats; input forms (input-forms.xml); etc.  No code changes, just
> config changes.
>
>
>
> Originally I tried keeping just changed files in our local SVN repo, but
> overlaying those changes onto the DSpace code, then building on out dev,
> test and prod boxes was a hassle.
>
>
>
> What I have now is a complete DSpace source tree committed to SVN.  I make
> and test changes on our dev box, then commit to SVN when I have things
> working.  Our test and prod boxes have working copies checked out from SVN,
> so I can do “svn update” to easily bring down my changes.  I’m, not super
> happy with that either.
>
>
>
> We are moving from SVN to GitLab, so I’d like to investigate what the
> Continuous Integration features of GitLab might offer but I haven’t had the
> time.  Another group on our campus is using Ansible to automate deployment
> of software (they specifically mentioned pulling code from Github, applying
> local customizations, then building and deploying – exactly what I want for
> DSpace).  I haven’t had time to investigate that either.  :(
>
>
>
> - Darryl
>
>
>
>
>
> --
>
> Darryl Friesen, B.Sc., Programmer/Analystdarryl.frie...@usask.ca
>
> Library Systems & Information Technology,http://library.usask.ca/
>
> University of Saskatchewan Library
>
> --
>
> "Go not to the Elves for counsel, for they will say both no and yes"
>
>
>
>
>
>
>
> *From:* dspace-tech@googlegroups.com [mailto:dspace-tech@googlegroups.com]
> *On Behalf Of *George Kozak
> *Sent:* Wednesday, December 7, 2016 12:33 PM
> *To:* DSpace Technical Support 
> *Subject:* [dspace-tech] Question about DSpace code and version control
> of local mods
>
>
>
> Hi,
>
> I've been working with DSpace at Cornell University since 2002 and for the
> most part by myself, but now, with more people are working with me, we
> would like to have more version control over our local mods to the code
> base.  I am curious as to how other people are dealing with this. Has
> anyone placed their local code mods in github and if so, what are they
> putting up in github?  Just their local mods or the whole code base?
>
>
>
> --
>
> ***
> George Kozak
> Digital Library Specialist
> Cornell University Library - IT
> 218 Olin Library
> Cornell University
> Ithaca, NY 14853
> 607-255-8924 <(607)%20255-8924>
>
> g...@cornell.edu
>
> --
> 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.
>

-- 
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] Unrecognized file format (.0,60)

2016-11-18 Thread Luiz dos Santos
Hi Julie,

 If the database is not in the same server, It will be very easy, just
compile your code in the new server with the same config (respecting paths)
and customization in the UI. The better tutorial that I have seen about the
DSpace System Admin is this one:

https://www.youtube.com/playlist?list=PLlOglq06moTsd63OaJn6zK2g1fV4sSwYv

Best regards

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Fri, Nov 18, 2016 at 2:55 PM, Shedd, Julie <jsh...@library.msstate.edu>
wrote:

> Well, my colleague Paul has restored a working version from over the
> weekend and so it is operational for now. We never could really put our
> finger on what exactly went wrong.
>
>
>
> The error was happening on the home page and on specific static pages, but
> not on others. Very odd. I did not try searching for a specific item, but
> since none of the facets were displaying I’m willing to bet it would not
> have worked.
>
>
>
> With this and the numerous other problems we have been having with DSpace,
> we are starting to think about whether there might be a good guide out
> there to moving server environments without much trauma (we run it on
> Windows and know that’s not the ideal environment but it was what we had at
> the time). If anyone knows of one please send it our way. J
>
>
>
> 
> ---
>
> *   Julie D. Shedd*
> *   Coordinator of Digital Initiatives & Web Services, Mississippi State
> University Libraries <http://library.msstate.edu/>*
>   (662) 325-0300 | jsh...@library.msstate.edu |
> http://library.msstate.edu/juliedshedd
>
>
>
> *From:* Luiz dos Santos [mailto:luiz...@gmail.com]
> *Sent:* Friday, November 18, 2016 1:28 PM
> *To:* Terry Brady <terry.br...@georgetown.edu>
> *Cc:* Shedd, Julie <jsh...@library.msstate.edu>; DSpace Technical Support
> <dspace-tech@googlegroups.com>; Huddleston, Paul <
> phuddles...@library.msstate.edu>
> *Subject:* Re: [dspace-tech] Unrecognized file format (.0,60)
>
>
>
> Hi Julie,
>
>
>
> I just get this item, https://ir.library.msstate.edu/handle/11668/4655,
> the pdf is ok and I could open it. I guest it could be for an invalid pdf
> that got corrupted some how, can you open it on the server? and if you
> download it instead open it in the browser?
>
>
>
> Best regards
>
> Luiz Claudio Santos
> http://luizclaudiosantos.me/
>
>
>
> On Fri, Nov 18, 2016 at 1:59 PM, Terry Brady <terry.br...@georgetown.edu>
> wrote:
>
> Is this happening on every page you attempt to load or just for specific
> items/collections/communities?
>
>
>
> Can either of you jump in the IRC room?  I wonder if we can give you more
> interactive advice there.
>
>
>
> On Fri, Nov 18, 2016 at 10:42 AM, Julie Shedd <jsh...@library.msstate.edu>
> wrote:
>
> Hi all -
>
> DSpace 5.4, Mirage 2 theme.
>
> Yesterday, something happened and our DSpace installation stopped working.
> We get this error:
>
>
>
> No one has submitted anything in a while, and of the 2 of us who have
> anything to do with our DSpace installation neither has touched it in a
> couple of weeks. Any ideas?
>
> Here's the full error stack mentioned in the screenshot, if it helps...
>
> Java stacktrace: org.xml.sax.SAXException: Unrecognized file format
> (.0,60) at org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpret
> er.checkProlog(AbstractXMLByteStreamInterpreter.java:315) at
> org.apache.cocoon.components.sax.AbstractXMLByteStreamInterpreter.parse(
> AbstractXMLByteStreamInterpreter.java:93) at
> org.apache.cocoon.components.sax.XMLByteStreamInterpreter.deserialize(
> XMLByteStreamInterpreter.java:44) at org.apache.cocoon.components.
> pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(
> AbstractCachingProcessingPipeline.java:324) at
> org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(
> AbstractProcessingPipeline.java:750) at sun.reflect.
> GeneratedMethodAccessor120.invoke(Unknown Source) at sun.reflect.
> DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:483) at
> org.apache.cocoon.core.container.spring.avalon.
> PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at
> com.sun.proxy.$Proxy52.process(Unknown Source) at
> org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSource.java:362)
> at 
> org.apache.cocoon.components.source.util.SourceUtil.toSAX(SourceUtil.java:111)
> at 
> org.apache.cocoon.components.source.util.SourceUtil.parse(SourceUtil.java:294)
> at org.apache.cocoon.generation.FileGener

Re: [dspace-tech] OAI harvesting

2016-11-11 Thread Luiz dos Santos
Hi,

   Actually is the another way around, you should say which collections do
you want harvest in the oai verb, but if you want to hide collections in
the oai, by default DSpace doesn't have this functionality.

Best

On Friday, November 11, 2016, Róbert Bodnár  wrote:

> Hi all!
> May I ask if it is possible to exclude communities and collections from
> being harvested by the OAI?
> More exactly I want to find a way to exclude some collection when
> transmitting data through OAI to other parties.
> Any ideas are welcome!
> Thank you very much!
> B. Róbert
>
> --
> 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.
>


-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

-- 
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] Help with setting up virus scan curation task

2016-11-09 Thread Luiz dos Santos
Your antivirus should have a firewall that is blocking the smtp port,
disable the antivirus firewall or just open the smtp port, the number of
the smtp port is 25.

On Wednesday, November 9, 2016, Hilton Gibson 
wrote:

> Works great on Ubuntu, see: http://wiki.lib.sun.ac.
> za/index.php/SUNScholar/Curation
>
>
> *Hilton Gibson*
> Stellenbosch University Library
> *http://orcid.org/-0002-2992-208X
> *
>
>
> On 9 November 2016 at 01:53, Hardy Pottinger  > wrote:
>
>> Hi, I have a DSpace 5-based pilot project I am setting up on RHEL 6, and
>> it's mostly working. However, I cannot seem to get the clamd server talking
>> to DSpace. I have Clamd installed and running on a TCP port bound to
>> localhost, and the curation task is configured to run as part of the
>> submission process. However, uploading a file fails no matter what I try.
>> With virus scanning turned off, I *can* upload a file. When I re-enable it
>> as part of the submission process, uploading a virus-free file fails, with
>> just an enigmatic yellow exclamation mark on the upload screen, no error
>> message. When I attempt to upload an EICAR test file (a well-known way to
>> test AV software) a similar error condition is shown (yellow exclamation
>> mark, no errror message). Anyway, I'm hoping this might sound familiar to
>> someone... this feels like I've missed a configuration somewhere. The
>> dspace.log file isn't very helpful at the moment. I will try turning on
>> debug logging to try to get more information. Any other suggestions? Thanks!
>>
>> --Hardy
>>
>> --
>> 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.
>


-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

-- 
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] How to add unit tests to classes in dspace/modules/additions?

2016-11-08 Thread Luiz dos Santos
Hi Martin,

   After you marked the java folder as test folder, as you said in the
stackoverflow, did you try to refresh the project in IntelliJ?

Best
Luiz

On Tuesday, November 8, 2016, Martin Walk 
wrote:

> Hi,
>
> I write curation tasks (for DSpace 6) that I add
> to dspace/modules/additions.
> I want to add unit tests, of course. But I have problems to find the right
> place for the unit tests, or the right configuration for them to be run.
>
> Here is what I tried and what error messages I get in IntelliJ. I also
> posted the question on Stackoverflow:
> https://stackoverflow.com/questions/40406373/how-to-set-
> up-unit-tests-for-classes-in-dspace-modules-additions
>
> I want to set up unit tests for a curation task that i put in
> dspace/modules/additions. I use intelliJ IDEA and try to configure sources
>  and tests folders. I wanted to use the following folder structure but
> could not get the configuration in intelliJ right.
>
>  [] DSpace Source Folder
>[] dspace
>  [] modules
> [] additions
>[] src
>   [] main
>  [] java
> […]
>   [] test
>  [] java
> […]
> [] jspui
> [] oai
> [] rdf
> […]
>
> Is this structure reasonable?
> How can I configure the folders in intelliJ's Project Structure so that it
> recognises my test folder?
>
> If I try to mark it as "Test Source Folder" in IntelliJ's Project
> Structure I get the following error message:
>
> Source root "/.../DSpace6/dspace/modules/additions/src/test" cannot be
> defined in module "dspace" because it belongs to content of nested module
> "additions"
>
> --
> 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.
>


-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

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

2016-11-07 Thread Luiz dos Santos
Thank you Andrea, perfect!

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Mon, Nov 7, 2016 at 4:29 PM, Andrea Schweer 
wrote:

> Hi Monika,
>
> On 11/08/2016 10:18 AM, Monika Mevenkamp wrote:
>
> We are building a  document submission system in sharepoint, which
> collects pdfs and metadata - essentially
> At the end we plan to push the docs over to our DSPACE instance; version
> 5.5
>
> We’d like to use Sword instead of exporting to a shared filesystem and
> then uploading with  /dspace/bin/dspace import
> Items need to be put into the workflow of their destination collections.
>
> Where can I learn:
>
> How to put Zip files together - are the same kind of ZIPs that the item
> importer uses ?
> How to issue the import/deposit request ?
> How to define the destination collection ?
>
>
> Any example code anywhere ?
>
>
> You can find lots of documentation on SWORD here, including specs:
> http://swordapp.org/
>
> There's a github repository here: https://github.com/swordapp/
>
> There is also a mailing list: https://lists.sourceforge.net/
> lists/listinfo/sword-app-tech
>
> First of all you'll need to decide whether to use Sword v1 or Sword v2. v1
> is fire-and-forget -- you deposit your Sword package and make no further
> changes to it. Sword v2 is designed to let you make changes to the item
> after deposit. v1 is simpler; we recently decided to go with v2 for a
> fire-and-forget application since there is a Java client library for v2 but
> not v1.
>
> I fiddled a little with Sword and it looks like it assumes password
> authentication. Is that correct ?
>
>
> That's right. For v1 at least (don't remember for v2) there is a config
> flag to let Sword deposits use password auth even if password auth isn't
> enabled for 'normal' users.
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> Lead Software Developer, 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 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] Possible memory leak in dspace.

2016-11-04 Thread Luiz dos Santos
Hi Anis,

This seems like you have a lot of bytes "[B" in memory, bitstream I
guess, maybe this guys stay in the memory all the time because the bot is
calling them over and over again. I already got have some bots that make 3
or 5 request per second in the same item, you should try to figure out in
DSpace log the most frequently ip's. You should see in the DSpace log some
exception saying that the database is running out of connection as well.
 If you got the DSpace UI frozen, the restart of tomcat can help.

Best regards
Luiz

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Fri, Nov 4, 2016 at 8:16 AM, Anis <anis.mouba...@gmail.com> wrote:

> We thought so too and we started blocking known violators. The attachment
> shows the live heap map, and the byte arrays are still dominating, taking 5
> out of the 8Gb heap space, these are probably responses to requests, but
> why are not they GC'd and why are they staying in the memory? Maybe this is
> normal behaviour, so some clarification would be nice.
>
> - Anis
>
>
> <https://lh3.googleusercontent.com/-SpHRfW0dOmc/WBx6-jx2U4I/Bcc/pKF_EwUFsRkyvfODV5xVdi5Gok7Maxe6ACLcB/s1600/Screen%2BShot%2B2016-11-04%2Bat%2B14.05.58.png>
>
>
> On Friday, November 4, 2016 at 2:08:34 PM UTC+2, Luiz dos Santos wrote:
>>
>> Hi Anis,
>>
>>To me it seems more like a bot attack then a leak of memory, do you
>> have a strategy to deal with malicious bots?
>>
>> Best
>> Luiz
>>
>> On Friday, November 4, 2016, Anis <anis.m...@gmail.com> wrote:
>>
>>> Hi!
>>>
>>>
>>> Our busiest repository was crashing between every 15-30 minutes and it
>>> seems it was related to out of memory problems and the amount of requests
>>> DSpace is getting. We captured the heap dump from one of our crashes,
>>> and as you can see from the image, 78% (3.12GB) of the heap space is
>>> populated by byte arrays. A lot of these byte arrays are buffered 1MB
>>> arrays that are part of an outputstream from 
>>> HttpServletResponseBufferingWrapper,
>>> and to my understanding this class should send the 404 response and if you
>>> actually check the contents of the arrays, they have the 404 HTML code. It
>>> also seems that the HttpServletResponseBufferingWrappers, that are in
>>> the memory are never sent, as their response bytesWritten are all 0.
>>>
>>> We resolved the problem by letting Apache handle most of the 404,
>>> cleaning our theme files from references, that are not found anymore,
>>> capping out maxdb connections to 50 and maxidle to 30. It is possible, that
>>> we just had way too many 404 responses to serve, but it would be nice to
>>> hear if someone else has had or is having this problem and if it happens
>>> because of the amount of requests, it would be nice to know why.
>>>
>>>
>>> - Anis
>>>
>>>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-6wbDPcg8vmA/WBxkRWhH0vI/Bb0/MlSZNTtzKO4YvgUI97FYfGmFsOnu1pY0gCLcB/s1600/Screen%2BShot%2B2016-11-04%2Bat%2B12.00.52.png>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-gXnStN9z8EE/WBxkWKq94EI/Bb4/WsBFZI-JxBQpHNMn21IBLY49yVshIxaNgCLcB/s1600/Screen%2BShot%2B2016-11-04%2Bat%2B12.01.12.png>
>>>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-Ah_IQ4sWPxg/WBxkpB0ModI/Bb8/LA5PpCDhebIINgBxSY6Aj5AjGEpFV6IyQCLcB/s1600/Screen%2BShot%2B2016-11-04%2Bat%2B12.12.05.png>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-kcffJx_9HQY/WBxo7ypMrgI/BcM/w8DSsqhop9kZgk9p31mxQHHgnDLTXKPsQCLcB/s1600/Screen%2BShot%2B2016-11-04%2Bat%2B12.53.12.png>
>>>
>>>
>>>
>>>
>>
>> --
> 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] Re: Send email on bitstream download

2016-11-01 Thread Luiz dos Santos
Hi Andrea,

  I did a post in my blog about the old way to do a DSpace consumer (
http://luizclaudiosantos.me/the-most-useless-dspace-consumer-ever/),
however, I was not able to understand when exactly this event listener is
called in Spring, do you know that? I even saw this answer of yours in the
stackoverflow (http://stackoverflow.com/questions/30315988/dspace-
event-producer-consumer)

Best regards
Luiz

Luiz Claudio Santos
http://luizclaudiosantos.me/

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Tue, Nov 1, 2016 at 4:14 PM, Andrea Schweer 
wrote:

> Hi Don,
>
> On 11/02/2016 01:54 AM, Donald Bynum wrote:
>
>> Thanks Andrea.  What I am really looking for is a way to send an email to
>> a logged on eperson when they download a bitstream.  In other words the
>> download event triggers the email.
>>
>
> You'd probably need to write code for a custom usage stats listener, like
> the one used to send information about bitstream downloads to Google
> Analytics. https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/
> src/main/java/org/dspace/google/GoogleRecorderEventListener.java which is
> activated (alongside the Solr usage stats listener) here:
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlu
> i/src/main/webapp/WEB-INF/spring/applicationContext.xml#L55 (both links
> go to the 5.x code base).
>
> However, I'd actually caution against such an approach, especially if your
> repository is open to the public. Do your users really want to be spammed
> every time a random search engine bot / other automated script downloads
> their file? We sometimes have hundreds of downloads of the same file on the
> same day. A daily/weekly/monthly approach sounds like a much better user
> experience to me, unless you're in a very constrained environment where you
> can be sure that all downloads are genuine / you are sure you can filter
> out all the spammy ones.
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> Lead Software Developer, 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 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] DSPACE 5.1 Could not find artifact com.sun.media:jai_imageio:jar:1.0_01 in sonatype-releases

2016-10-17 Thread Luiz dos Santos
Hi Michelangelo

I didn't understand why you was able to build it before and now he have
to put the jar manually in the repository again, as it is in the page that
Ivan shared with us. Did you manually delete the .m2 directory? Did you
change the configuration file to use xpdf now, it was something that you
did not setup before?

Best regards
Luiz

Luiz Claudio Santos
http://luizclaudiosantos.me/

On Mon, Oct 17, 2016 at 12:43 PM, helix84  wrote:

> Please, refer to the documentation about XPDF:
>
> https://wiki.duraspace.org/display/DSDOC5x/Configuration+Reference#
> ConfigurationReference-XPDFFilter
>
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
> --
> 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] When i went for ant fresh_install problem, i got these error messages:

2016-10-05 Thread Luiz dos Santos
You should create the database, use the command below.

createuser --username=postgres --no-superuser --pwprompt dspace

crê eatedb --username=postgres --owner=dspace --encoding=UNICODE dspace


 Wednesday, October 5, 2016, Haimanot Birhanu 
wrote:

>  Error:
>  [java]  - org.postgresql.util.PSQLException: FATAL: database
> "dspace" does not exist
>
>
> --
> 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.
>


-- 
Luiz Claudio Santos
http://luizclaudiosantos.me/

-- 
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] Tomcat not starting on dspace rhel 7 server

2016-09-23 Thread Luiz dos Santos
Yeah Alan, you are right, so please Margaret send the localhost logbut
you can:

1- With the comand "ps -ef | more" check if there is any tomcat instance
running and use kill -9 to kill it.
2- Use "df -kha"to check if you have space in disc.

Otherwise, send the file log file.

Best regards
Luiz Claudio Santos
http://luizclaudiosantos.me/



On Fri, Sep 23, 2016 at 2:42 PM, Alan Orth <alan.o...@gmail.com> wrote:

> The Tomcat Native libraries are not required, that's not a fatal error.
> The SEVERE errors in that log are not helpful, you should look in localhost
> log.
>
> On Fri, Sep 23, 2016, 21:19 Luiz dos Santos <luiz...@gmail.com> wrote:
>
>> It didn't find the tomcat native libraries, some points:
>>
>> 1- If you are using DSpace as service, be sure that you didn't start the
>> service with a user that should not do it.
>> 2- if you are run startup.sh, be sure that you are using a user that can
>> access : /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
>>
>> If I was you, I would prefer run a stand alone tomcat, instead the one
>> that came in you operation system.
>>
>> Best regards
>> Luiz Claudio Santos
>> http://luizclaudiosantos.me/
>>
>>
>> On Fri, Sep 23, 2016 at 2:05 PM, Alan Orth <alan.o...@gmail.com> wrote:
>>
>>> Not good. Try looking in the localhost log file, also in the
>>> /var/log/tomcat folder.
>>>
>>> On Mon, Sep 19, 2016, 16:40 <marga...@dal.ca> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> I went to restart our DSpace Production server this morning and tomcat
>>>> will not come back up. Below is the output when tomcat is attempting to
>>>> start from catalina.out. Any advice would be appreciated!
>>>>
>>>>
>>>>
>>>>
>>>> Sep 19, 2016 10:08:23 AM org.apache.catalina.core.AprLifecycleListener
>>>> init
>>>>
>>>> INFO: The APR based Apache Tomcat Native library which allows optimal
>>>> performance in production environments was not found on the
>>>> java.library.path: /usr/java/packages/lib/amd64:/
>>>> usr/lib64:/lib64:/lib:/usr/lib
>>>>
>>>> Sep 19, 2016 10:08:23 AM org.apache.coyote.AbstractProtocol init
>>>>
>>>> INFO: Initializing ProtocolHandler ["http-bio-8080"] Sep 19, 2016
>>>> 10:08:23 AM org.apache.coyote.AbstractProtocol init
>>>>
>>>> INFO: Initializing ProtocolHandler ["ajp-bio-8009"] Sep 19, 2016
>>>> 10:08:23 AM org.apache.catalina.startup.Catalina load
>>>>
>>>> INFO: Initialization processed in 506 ms Sep 19, 2016 10:08:23 AM
>>>> org.apache.catalina.startup.Catalina start
>>>>
>>>> SEVERE: The required Server component failed to start so Tomcat is
>>>> unable to start.
>>>>
>>>> org.apache.catalina.LifecycleException: Failed to start component
>>>> [StandardServer[8005]]
>>>>
>>>> at org.apache.catalina.util.LifecycleBase.start(
>>>> LifecycleBase.java:154)
>>>>
>>>> at org.apache.catalina.startup.
>>>> Catalina.start(Catalina.java:689)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>> Method)
>>>>
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke(
>>>> NativeMethodAccessorImpl.java:62)
>>>>
>>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>>>> DelegatingMethodAccessorImpl.java:43)
>>>>
>>>> at java.lang.reflect.Method.invoke(Method.java:497)
>>>>
>>>> at org.apache.catalina.startup.
>>>> Bootstrap.start(Bootstrap.java:321)
>>>>
>>>> at org.apache.catalina.startup.
>>>> Bootstrap.main(Bootstrap.java:455)
>>>>
>>>> Caused by: java.lang.IllegalArgumentException: jmxremote.access (No
>>>> such file or directory)
>>>>
>>>> at javax.management.remote.rmi.
>>>> RMIConnectorServer.start(RMIConnectorServer.java:375)
>>>>
>>>> at org.apache.catalina.mbeans.
>>>> JmxRemoteLifecycleListener.createServer(JmxRemoteLifecycleListener.
>>>> java:313)
>>>>
>>>> at org.apache.catalina.mbeans.
>>>&

Re: [dspace-tech] "Front page content" not displaying

2016-09-23 Thread Luiz dos Santos
Hi Jude,

   I'm sorry about to hear that you guys got problems, you could check out
the link below, to help you think about what you can do.

https://wiki.duraspace.org/display/DSDOC5x/Performance+Tuning+DSpace

https://wiki.duraspace.org/display/DSDOC5x/System+Administration


Best regards
Luiz Claudio Santos
http://luizclaudiosantos.me/






On Fri, Sep 23, 2016 at 9:13 AM, Shedd, Julie 
wrote:

> Yeah, I pretty much am that team. J It was originally set up by our old
> webmaster, who has since left for another position. I do all the
> customization and maintenance/acceptance of content; our sysadmin maintains
> our server environment; but that’s it. Neither of us have made any changes
> to customization or DSpace’s server for months.
>
>
>
> DSpace has been…problematic for us from the start (probably because we
> don’t have anyone else to work on it), so at this point no odd malfunction
> surprises me. J We will keep an eye on it and see if any permanent fixes
> present themselves.
>
>
>
> 
> ---
>
> *   Julie D. Shedd*
> *   Digital Initiatives Librarian, Mississippi State University Libraries
> *
>(662) 325-0300 | jsh...@library.msstate.edu |
> http://library.msstate.edu/juliedshedd
>
>
>
> *From:* Alan Orth [mailto:alan.o...@gmail.com]
> *Sent:* Friday, September 23, 2016 3:47 AM
> *To:* Shedd, Julie 
> *Cc:* George Kozak ; DSpace Technical Support <
> dspace-tech@googlegroups.com>; Huddleston, Paul <
> phuddles...@library.msstate.edu>; MML-HelpDesk <
> mhelpd...@library.msstate.edu>
>
> *Subject:* Re: [dspace-tech] "Front page content" not displaying
>
>
>
> Glad to know it helped, but it's obviously not a permanent solution.
>
>
>
> Are you in touch with anyone from the team that runs the site? Maybe they
> are doing something on the Tomcat side that needs tweaking. We used to have
> problems with caching in our XMLUI themes a few years ago, and we had to
> tweak the Cocoon pipelines[0], though this isn't a problem in DSpace 5+
> with Mirage 2 themes. The only time I manually clear the XMLUI caches is
> every few weeks after we do updates to theme code, indexes, etc.
>
>
>
> Cheers,
>
>
>
> [0] https://mjanja.ch/2013/04/erroneous-xmlui-caching-on-dspace-1-7/
>
>
>
> On Thu, Sep 22, 2016 at 7:23 PM, Shedd, Julie 
> wrote:
>
> It really is the darndest thing. Initially un-logged-in: incorrect view.
> Logged-in: correct view. Logged-out-again: correct view.
>
>
>
> I tried Alan’s solution and it appears to have done the trick – I’m having
> others check and they are reporting that while the site is slow (which is
> not new) once it loads, it loads correctly. Thanks, Alan!
>
>
>
> 
> ---
>
> *   Julie D. Shedd*
> *   Digital Initiatives Librarian, **Mississippi State University
> Libraries* 
>(662) 325-0300 | jsh...@library.msstate.edu |
> http://library.msstate.edu/juliedshedd
>
>
>
> *From:* Alan Orth [mailto:alan.o...@gmail.com]
> *Sent:* Wednesday, September 21, 2016 11:40 PM
> *To:* George Kozak ; Shedd, Julie <
> jsh...@library.msstate.edu>
>
>
> *Cc:* DSpace Technical Support ;
> Huddleston, Paul ; MML-HelpDesk <
> mhelpd...@library.msstate.edu>
> *Subject:* Re: [dspace-tech] "Front page content" not displaying
>
>
>
> Julie,
>
> What if you clear the XMLUI cache from the DSpace control panel (under
> Java settings)? Also, if you're feeling adventurous, in Chrome or Firefox,
> you could try opening the developer tools (F12 probably) and look for
> errors, like scripts or images that have failed to load for some reason.
>
> Regards
>
>
>
> On Thu, Sep 22, 2016, 02:45 George Kozak  wrote:
>
> Julie:
>
> H...so if you're not logged in, the view is correct?   This has me
> stumped.  Maybe someone else may have an idea.   I wonder if there is
> something with the CSS?
>
> Sorry I can't be of more help.
>
> George Kozak
>
> Cornell University
>
>
>
> On Wednesday, September 21, 2016, Shedd, Julie 
> wrote:
>
> That could be, I suppose. We haven’t been updating the permissions,
> either, though, and the problem only started last week – what might have
> caused the change?
>
>
>
> Also, I noticed after I log out, I still get the “correct” view. Odd.
>
>
>
> 
> ---
>
> *   Julie D. Shedd*
> *   Digital Initiatives Librarian, **Mississippi State University
> Libraries* 
>(662) 325-0300 | jsh...@library.msstate.edu |
> http://library.msstate.edu/juliedshedd
>
>
>
> *From:* George Kozak 

Re: [dspace-tech] change the query

2016-09-21 Thread Luiz dos Santos
Hi Dante,

 The code of Bruno makes senses to me, just return a HaspMap instead
the array thing, as Bruno said it will not compile at all, I have two
advices for you:
  1- Instead change the findItemsMetadataField, create a new method.
  2- Create a new class to overload ItemResources, as it is explained
in (https://wiki.duraspace.org/display/DSDOC5x/Advanced+Customisation), the
basic idea here is if you put a class in the folder module/dspace-rest/...
it will replace to original one, I never tested it in the rest-api, but it
should work, and it will save you headache in the future.

Best regards
Luiz

On Wed, Sep 21, 2016 at 3:48 PM, Bruno Nocera Zanette <
brunonzane...@gmail.com> wrote:

> Dante,
> Even if the query returns more than you need, i wouldn't change it in the
> first moment.
> What you really have to change now is the returning line, because this is
> the line that will create the response for your request.
> For now it is returning an array of items. You have to change it to return
> an array of {id,title,...} (hash or map). You may implement it by creating
> a custom array and adding only the attributes of interest of each item of
> items variable to it, and then returning this array. You will also have to
> change the returning type of this function and verify what the calling
> function does with it.
>
> Something like this (custom language):
> public Array findItemsByMetadata 
> {
> ...
> id_array = Array.new()
> for (Item i : items){
> id_array.add()
> }
> return id_array;
> }
>
> I know there are several syntax errors in this code, but my ideia is this.
> You should also take a look at other code snippets, specially on the
> function that implement hierarchy endpoing on Dspace 6, to verify how it's
> being done by others.
>
>
>
> Em qua, 21 de set de 2016 às 10:36, Dante Valencia <
> dante.valenci...@gmail.com> escreveu:
>
>> Thank you Bruno,
>> I was trying changing  the code of dspace 5.2 and its diferent.
>>
>>> @POST
>>> @Path("/find-by-metadata-field")
>>> @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })
>>> public Item[] findItemsByMetadataField(MetadataEntry metadataEntry, 
>>> @QueryParam("expand") String expand,
>>> @QueryParam("userIP") String user_ip, @QueryParam("userAgent") 
>>> String user_agent,
>>> @QueryParam("xforwardedfor") String xforwardedfor, @Context 
>>> HttpHeaders headers, @Context HttpServletRequest request)
>>> throws WebApplicationException
>>> {
>>>
>>> log.info("Looking for item with metadata(key=" + metadataEntry.getKey() 
>>> + ",value=" + metadataEntry.getValue()
>>> + ", language=" + metadataEntry.getLanguage() + ").");
>>> org.dspace.core.Context context = null;
>>>
>>> List items = new ArrayList();
>>> String[] metadata = mySplit(metadataEntry.getKey());
>>>
>>> try
>>> {
>>> context = createContext(getUser(headers));
>>>
>>> // Must used own style.
>>> if ((metadata.length < 2) || (metadata.length > 3))
>>> {
>>> context.abort();
>>> log.error("Finding failed, bad metadata key.");
>>> throw new WebApplicationException(Response.Status.NOT_FOUND);
>>> }
>>>
>>> String sql = "SELECT RESOURCE_ID, TEXT_VALUE, TEXT_LANG, SHORT_ID, 
>>> ELEMENT, QUALIFIER " +
>>> "FROM METADATAVALUE " +
>>> "JOIN METADATAFIELDREGISTRY ON 
>>> METADATAVALUE.METADATA_FIELD_ID = METADATAFIELDREGISTRY.METADATA_FIELD_ID " 
>>> +
>>> "JOIN METADATASCHEMAREGISTRY ON 
>>> METADATAFIELDREGISTRY.METADATA_SCHEMA_ID = 
>>> METADATASCHEMAREGISTRY.METADATA_SCHEMA_ID " +
>>> "WHERE " +
>>> "SHORT_ID='" + metadata[0] + "'  AND " +
>>> "ELEMENT='" + metadata[1] + "' AND ";
>>> if (metadata.length > 3)
>>> {
>>> sql += "QUALIFIER='" + metadata[2] + "' AND ";
>>> }
>>> if (org.dspace.storage.rdbms.DatabaseManager.isOracle())
>>> {
>>> sql += "dbms_lob.compare(TEXT_VALUE, '" + 
>>> metadataEntry.getValue() + "') = 0 AND ";
>>> }
>>> else
>>> {
>>> sql += "TEXT_VALUE='" + metadataEntry.getValue() + "' AND ";
>>> }
>>> if (metadataEntry.getLanguage() != null)
>>> {
>>> sql += "TEXT_LANG='" + metadataEntry.getLanguage() + "'";
>>> }
>>> else
>>> {
>>> sql += "TEXT_LANG is null";
>>> }
>>>
>>> TableRowIterator iterator = 
>>> org.dspace.storage.rdbms.DatabaseManager.query(context, sql);
>>> while (iterator.hasNext())
>>> {
>>> TableRow row = iterator.next();
>>> org.dspace.content.Item dspaceItem = this.findItem(context, 
>>> row.getIntColumn("RESOURCE_ID"),
>>> org.dspace.core.Constants.READ);
>>> Item 

Re: [dspace-tech] how to use find-by-metadata?

2016-09-14 Thread Luiz dos Santos
need help + 1

On Wed, Sep 14, 2016 at 3:57 PM, Dante Valencia 
wrote:

> Hi friends
> I need help with understanding how to use (find-vy-metadata) with Rest
> For example, I do this in  loggout
>  try {
>
>
> DefaultHttpClient httpClient = new DefaultHttpClient();
> HttpPost postRequest = new HttpPost("http://10.3.11.134:
> 8080/rest/logout");
> postRequest.addHeader("rest-dspace-token", jLabel1.getText());
> HttpResponse response = httpClient.execute(postRequest);
>
>
> if (response.getStatusLine().getStatusCode() != 200) {
> throw new RuntimeException("Failed : HTTP error code : "
> + response.getStatusLine().getStatusCode());
> }
>
>
> BufferedReader br = new BufferedReader(
> new InputStreamReader((response.getEntity().getContent
> (;
>
>
> String output, sout = "";
> while ((output = br.readLine()) != null) {
> sout += output;
> }
> jLabel1.setText("Logout");
> httpClient.getConnectionManager().shutdown();
>
>
>
> } catch (MalformedURLException e) {
>
> e.printStackTrace();
>
> } catch (IOException e) {
>
> e.printStackTrace();
>
> }
>
> or if i want the items of a collection I do this
> try {
> // TODO add your handling code here:
> HttpClient client = new DefaultHttpClient();
> HttpGet request = new HttpGet("http://10.3.11.134:
> 8080/rest/collections/3/items");
> request.addHeader("Content-Type", "application/json");
> request.addHeader("Accept", "application/json");
> request.addHeader("rest-dspace-token", jLabel1.getText());
>
>
> HttpResponse response = client.execute(request);
> BufferedReader rd = new BufferedReader(new InputStreamReader(
> response.getEntity().getContent()));
> String line = "";
> while ((line = rd.readLine()) != null) {
> System.out.println(line);
> }
> } catch (Exception ex) {
> System.out.println(ex);
> }
>
>
> but I dont understand how i have to send the metadata i am looking for.
>
> Please I need help
>
> --
> 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] XMLUI has stopped working

2016-07-27 Thread Luiz dos Santos
It seems like tomcat is not able to find your xmlui anymore, are you sure
that the root.xml is on the conf Catalina localhost  folder?

On Thursday, July 21, 2016, Augusto Vinhaes  wrote:

> Hi all,
> I've got Dspace 1.7 and Tomcat 6 running in a Ubuntu server. The jspui
> interface is working, but the xmlui stopped working. Bellow are the
> messages written in the most important log files. Can anyone help me ,
> please ? The Dspace configuration was not changed in the last year.
>
> - File  localhost.2016-07-21.log:
>
> INFO: Initializing Spring root WebApplicationContext
> 4488 Jul 21, 2016 2:53:10 PM org.apache.catalina.core.ApplicationContext
> log
> 4489 INFO: Apache Cocoon Spring Configurator v1.0.2 is running in mode
> 'prod'.
> 4490 Jul 21, 2016 2:53:11 PM org.apache.catalina.core.ApplicationContext
> log
> 4491 INFO: Cocoon: Block dispatcher was initialized successfully.
> 4492 Jul 21, 2016 2:53:16 PM org.apache.catalina.core.ApplicationContext
> log
> 4493 INFO: Initializing Spring root WebApplicationContext
> 4494 Jul 21, 2016 2:53:22 PM org.apache.catalina.core.StandardWrapperValve
> invoke
> 4495 SEVERE: Servlet.service() for servlet Cocoon threw exception
> 4496 java.lang.NullPointerException
> 4497 at
> org.apache.cocoon.servletservice.DynamicProxyRequestHandler.invoke(DynamicProxyRequestHandler.java:86)
> 4498 at $Proxy16.getPathInfo(Unknown Source)
> 4499 at
> org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.j
> ava:262)
> 4500 at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 4501 at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 4502 at $Proxy15.service(Unknown Source)
> 4503 at
> org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106)
> 4504 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 4505 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 4506 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 4507 at
> org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> 4508 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 4509 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 4510 at
> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:246)
> 4511 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 4512 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 4513 at
> org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131)
> 4514 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 4515 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>
> - File dspace.log.2016-07-21:
>
>  2016-07-21 14:53:16,981 INFO  net.sf.ehcache.util.UpdateChecker @ New
> update(s) found: 2.4.7 [http://www.terracotta.
> org/confluence/display/release/Release+Notes+Ehcache+Core+2.4]
> 4535 2016-07-21 14:53:22,812 ERROR
> org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter @ Serious Runtime
> Error Occurred  Processing Request!
> 4536 java.lang.NullPointerException
> 4537 at
> org.apache.cocoon.servletservice.DynamicProxyRequestHandler.invoke(DynamicProxyRequestHandler.java:86)
> 4538 at $Proxy16.getPathInfo(Unknown Source)
> 4539 at
> org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.j
> ava:262)
> 4540 at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
> 4541 at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
> 4542 at $Proxy15.service(Unknown Source)
> 4543 at
> org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106)
> 4544 at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> 4545 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> 4546 at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> 4547 at
> org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
> 4548 at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> 4549 at
> 

Re: [dspace-tech] possible (very minor) bug in DSpace 5.5

2016-07-26 Thread Luiz dos Santos
Hi Chris,

   That is the point, the links are working for me, it is weird. Should be
something else, I guess.

Best regards
Luiz


On Tue, Jul 26, 2016 at 3:14 PM, Chris Gray <cpgra...@gmail.com> wrote:

> In each of the pages I pointed out there are two links back to the home
> page.  One above the "page cannot be found" message and one below it.  The
> one below works.  The one above comes back to the error page.
>
> On Tuesday, July 26, 2016 at 2:19:37 PM UTC-4, Luiz dos Santos wrote:
>>
>> Hi Chris,
>>
>> Weird, beside the exception highlighted by Tom, I could go back to
>> the home page by clicking in all links that you posted. I would like to see
>> the error, could you give another example? Maybe it is related with
>> something else.
>>
>> Best regards
>> Luiz
>>
>> On Tue, Jul 26, 2016 at 10:59 AM, Chris Gray <cpgr...@gmail.com> wrote:
>>
>>> I just discovered something that doesn't work in our instance of DSpace
>>> 5.5.  We are using xmlui with Mirage2, so I don't know if it is only a bug
>>> in that particular interface.
>>>
>>> If you go to an item that doesn't exist, for example,
>>> https://uwspace.uwaterloo.ca/handle/10012/105932, the breadcrumb link
>>> to "UWSpace Home" (with the house icon beside it) doesn't go back to the
>>> home page; it points back to the URL that causes the error.
>>>
>>> I can confirm that other sites are affected by this.
>>>
>>> http://www.oceandocs.org/handle/1834/917388
>>> http://cardinalscholar.bsu.edu/handle/123456789/2002778
>>>
>>> Some aren't.
>>>
>>> https://ubir.buffalo.edu/xmlui/handle/10477/6074999
>>>
>>> --
>>> 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 post to this group, send email to dspac...@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.
>

-- 
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] possible (very minor) bug in DSpace 5.5

2016-07-26 Thread Luiz dos Santos
Hi Chris,

Weird, beside the exception highlighted by Tom, I could go back to the
home page by clicking in all links that you posted. I would like to see the
error, could you give another example? Maybe it is related with something
else.

Best regards
Luiz

On Tue, Jul 26, 2016 at 10:59 AM, Chris Gray  wrote:

> I just discovered something that doesn't work in our instance of DSpace
> 5.5.  We are using xmlui with Mirage2, so I don't know if it is only a bug
> in that particular interface.
>
> If you go to an item that doesn't exist, for example,
> https://uwspace.uwaterloo.ca/handle/10012/105932, the breadcrumb link to
> "UWSpace Home" (with the house icon beside it) doesn't go back to the home
> page; it points back to the URL that causes the error.
>
> I can confirm that other sites are affected by this.
>
> http://www.oceandocs.org/handle/1834/917388
> http://cardinalscholar.bsu.edu/handle/123456789/2002778
>
> Some aren't.
>
> https://ubir.buffalo.edu/xmlui/handle/10477/6074999
>
> --
> 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] HA Clustering Dspace

2016-07-21 Thread Luiz dos Santos
Hi Tim,

It seems interesting , but I have a point, relay the high availability in
hardware and in a big monolithic  software seems more like mitigate the
problem but not solve it, you could have Solr and PostgresSQL in clusters,
they have their own cluster possibilities, but you will end up with a one
DSpace in one Tomcat that can fall and put your repository down, right?

Maybe to a high availability DSpace need something more, something with
microservices, something in agreement with the Reactive Manifesto (
http://www.reactivemanifesto.org/). In Dspace 7, the new GUI model will
bring the possibility of run the GUI in another server, that is great, but
DSpace will be relay in a one DSpace backend, right? Do you see a way to
have two or more DSpace back end running simultaneous.

One last point, as a volunteer, I would like to take part in the clustering
group.

Best regards
Luiz

On Thu, Jul 21, 2016 at 1:11 PM, Hernán Lagos  wrote:

> Hi Tim
>
> Thanks, your feedback has been very useful.
> If we set up a cluster of Dspace, it will be announced.
>
> Regards
>
> El jueves, 21 de julio de 2016, 12:27:17 (UTC-4), Tim Donohue escribió:
>>
>> Hi Hernán,
>>
>> The simple answer here is that, currently, there is no "standard" high
>> availability setup for DSpace, and DSpace has no inherent ability to do
>> load balancing or clustering on its own.
>>
>> That said, DSpace is essentially just a web application that runs on
>> Tomcat (or similar), uses a PostgreSQL database (or similar) to store
>> metadata/relationships, and uses Apache Solr for searching/browsing.  Each
>> of these three tools (Tomcat, PostgreSQL and Solr) *do* provide clustering
>> options.  So, it may be plausible to rely on the clustering options at
>> those levels to create a DSpace cluster.
>>
>> However, I'll admit that I'm not aware of anyone who has done that
>> before. If someone has, I'm hoping they will speak up here to provide us
>> all a bit more clues/hints.  There is an older (outdated now) wiki page
>> where such discussions started a long time ago, but they never came to any
>> final decision/proposal:
>>
>> https://wiki.duraspace.org/display/DSPACE/Clustering
>>
>> All that said, I suspect there are others who would be of interested in
>> more easily enabling clustering within DSpace itself.   That seems like
>> it'd make a wonderful addition to the software platform, but it'd take one
>> (or more) institutions who could help us to better define the gaps, what is
>> missing/needed, and then start to figure out a way forward.  DSpace has no
>> centralized development team (developers are volunteers or allowed to work
>> on the project by their institutions). So we are entirely reliant on the
>> institutions using DSpace to help us make such improvements (see how to
>> contribute [1]).  If we can find a few interested users, we also could
>> establish a formal DSpace Clustering Interest Group [2] that could begin to
>> define the use cases, needs, etc for the benefit of us all.
>>
>> The topic of clustering is one that comes up every once in a while on
>> this mailing list. If others are interested in helping to move this idea
>> forward, I'd encourage you to voice you opinions/experience here. All we'd
>> need to establish a Clustering Interest Group would be some interested
>> individuals and one or more willing to chair / co-chair those group
>> meetings.
>>
>> Sincerely,
>>
>> Tim
>>
>> [1] https://wiki.duraspace.org/display/DSPACE/How+to+Contribute+to+DSpace
>> [2] https://wiki.duraspace.org/display/DSPACE/DSpace+Interest+Groups
>>
>> --
>> Tim Donohue
>> Technical Lead for DSpace & DSpaceDirect
>> DuraSpace.org | DSpace.org | DSpaceDirect.org
>>
>>
>> On 7/21/2016 9:51 AM, Hernán Lagos wrote:
>>
>> Dear
>>
>> I want to ask if anyone of you have experience creating a high
>> availability cluster for Dspace .
>>
>> Best regards
>> --
>> 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 post to this group, send email to dspac...@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.
>

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

Re: [dspace-tech] HA Clustering Dspace

2016-07-21 Thread Luiz dos Santos
It is a nice question, but if you want to use a cluster is not better use
Fedora instead? Please note that is a question...I'm curious to known what
the DSpace specialist think about it.

Best
Luiz

On Thu, Jul 21, 2016 at 10:51 AM, Hernán Lagos 
wrote:

> Dear
>
> I want to ask if anyone of you have experience creating a high
> availability cluster for Dspace .
>
> Best regards
>
> --
> 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] Please find the below available consultants

2016-07-12 Thread Luiz dos Santos
What this list is about?

On Tuesday, February 9, 2016,  wrote:

>
> Please find the below available consultants in various technologies, let
> me know if you have suitable requirements.
>
>
>
>
>
> Name
>
> Skill
>
>
>
>
>
> SirishaPallaboina
>
> TIBCO
>
> Poojitha Reddy
>
> QlikView
>
> NishanthMotam
>
> Networking
>
> Kamal Deep Kaler
>
> Networking
>
> Saketh Reddy
>
> Networking
>
> LikhithaSurabhi
>
> MSBI
>
> Rahul Avula
>
> ServiceNow
>
> BhargaviPutchakayala
>
> SSIS SSRS
>
> Rakesh Gawade
>
> BA
>
> Swetha Mohan
>
> BA
>
> VenkatChinta
>
> BA
>
> Kishore Jilla
>
> BA
>
> Naveen Xavier
>
> Hadoop
>
> Mohib
>
> linux
>
> Nikunj Patel
>
> .Net Developer
>
> Rashmi Kupsad
>
> Sr.QA
>
> Pinky Goswamy
>
> QA
>
> Eknath
>
> QA
>
> Sirisha
>
> QA
>
> Urmila Makkena
>
> Performance QA
>
> Niranjan
>
> SQL DBA
>
> Ajay Jinka
>
> SQL DBA
>
> Geetha
>
> SQL DBA
>
> Thimmareddy
>
> SQL DBA
>
> Ajay Patil
>
> SQL DBA
>
> Navya
>
> SQL DBA
>
> Udaya Lakshmi
>
> SQL DBA
>
> Harshini Reddy
>
> SQL Developer
>
> KalyanGokavarapu
>
> SAN
>
> Harikishan
>
> Linux
>
> Ravi Chandra
>
> PL/SQL Developer
>
> Rahul
>
> PL/SQL Developer
>
> Manaswi-shrikanth
>
> SQL BI Developer
>
> Ramesh Madaraboina
>
> SQL BI Developer
>
> Srujith– Srikanth
>
> SQL BI Developer
>
> Sandeep
>
> SQL BI Developer
>
> VenuMadhavArcot
>
> SQL BI Developer
>
> Bhaswanth Kumar
>
> Networking
>
> Narra
>
> sap bo/bj
>
> Anne
>
> Hyperion
>
> Raj Mogli
>
> Validation Lead
>
> RAJA SEKAR
>
> SAP hana Developer
>
> Vikas Chopra
>
> SAP Developer
>
> Arun Reddy Gangula
>
> .Net Developer
>
> Sandeep Salla
>
> .Net Developer
>
> Prachit Shah
>
> .Net Developer
>
> Sindhu Tumati
>
> .Net Developer
>
> Sruthi
>
> .Net Developer
>
> Sudheer
>
> .Net Developer
>
> Ravinandan
>
> .Net Developer
>
> Sindhu Reddy
>
> .Net Developer
>
> Karthik Reddy
>
> .Net Developer
>
> Jaipal Reddy
>
> .Net Developer
>
> PrashanthiPadithem
>
> .Net Developer
>
> Radhika
>
> Java
>
> Prem
>
> Java Developer
>
> Mahesh Reddy
>
> Java/Angular JS
>
> Divya
>
> Java Developer
>
> Srikanth
>
> Java Developer
>
> Balaji
>
> Java Developer
>
> Sai Krishna
>
> Java/J2ee
>
> Vikranth Reddy
>
> Java/J2ee
>
> Neha Bhaiya
>
> Java/J2ee
>
> AishwaryaChowdary
>
> UI Developer
>
> ShreyasJathar
>
> UI Developer
>
> PushpaChunduri
>
> Java UI/UX Developer
>
>
>
>
>
> [image: https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]
>
> --
> Sreekanth
> Direct: 732 743 8520
> shara...@hermesinfo.com
> 
>
> --
> 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] Internal System Error - HTTP Status 500

2016-07-11 Thread Luiz dos Santos
It seems like you did not deploy solr properly in tomcat.

Best
Luiz

On Monday, July 11, 2016, MICHAEL TUFFOUR  wrote:

> Dear ALL ,
>
> I am very new to Dspace but i am working on a project with it. After
> proper installation and upload of various academic resources(thesis). i
> Cannot now open it in properly since it gives me this errors below. I will
> be very glad if somebody can help me resolve this issues.
>
> HTTP Status 500 - {msg=SolrCore 'search' is not available due to init
> failure: Error opening new
> searcher,trace=org.apache.solr.common.SolrException: SolrCore 'search' is
> not available due to init failure: Error opening new searcher at
> org.apache.solr.core.CoreContainer.getCore(CoreContainer.java:745) at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:299)
> at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:50)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Unknown Source) Caused by:
> org.apache.solr.common.SolrException: Error opening new searcher at
> org.apache.solr.core.SolrCore.(SolrCore.java:873) at
> org.apache.solr.core.SolrCore.(SolrCore.java:646) at
> org.apache.solr.core.CoreContainer.create(CoreContainer.java:491) at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at
> org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at
> java.util.concurrent.FutureTask.run(Unknown Source) at
> java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ... 1
> more Caused by: org.apache.solr.common.SolrException: Error opening new
> searcher at
> org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1565) at
> org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:1677) at
> org.apache.solr.core.SolrCore.(SolrCore.java:845) ... 8 more Caused
> by: java.io.FileNotFoundException:
> C:\dspace\solr\search\data\index\_1s_Lucene41_0.tip (The system cannot find
> the file specified) at java.io.RandomAccessFile.open0(Native Method) at
> java.io.RandomAccessFile.open(Unknown Source) at
> java.io.RandomAccessFile.(Unknown Source) at
> org.apache.lucene.store.SimpleFSDirectory.openInput(SimpleFSDirectory.java:58)
> at
> org.apache.lucene.store.NRTCachingDirectory.openInput(NRTCachingDirectory.java:198)
> at
> org.apache.lucene.codecs.blocktree.BlockTreeTermsReader.(BlockTreeTermsReader.java:115)
> at
> org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat.fieldsProducer(Lucene41PostingsFormat.java:441)
> at
> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.(PerFieldPostingsFormat.java:197)
> at
> org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:254)
> at
> org.apache.lucene.index.SegmentCoreReaders.(SegmentCoreReaders.java:120)
> at org.apache.lucene.index.SegmentReader.(SegmentReader.java:108) at
> org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:144)
> at
> org.apache.lucene.index.ReadersAndUpdates.getReadOnlyClone(ReadersAndUpdates.java:238)
> at
> org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:104)
> at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:422) at
> org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:112) at
> org.apache.solr.core.StandardIndexReaderFactory.newReader(StandardIndexReaderFactory.java:41)
> at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:1531) ... 10
> more ,code=500}
>
> --
> 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 

Re: [dspace-tech] self-register new account .dspace 5.4 internal system error

2016-06-30 Thread Luiz dos Santos
Hi Victoria,

>From your log is seems a database connection issue:

2016-06-29 11:32:00,174 ERROR org.dspace.storage.rdbms.DatabaseManager @
SQL connection Error -
org.postgresql.util.PSQLException: Conexión rechazada. Verifique que el
nombre del Host y el puerto sean correctos y que postmaster este aceptando
conexiones TCP/IP.
at
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:138)

Check the build.properties if everything is ok, I mean the database access
info.

Best
Luiz


On Thu, Jun 30, 2016 at 8:50 AM, Victoria Parra  wrote:

>
>
> *good day guys.  :-) . I am writing you  because I have this problem in my
> dspace server test.my test server have installed dspace 5.4 with jspui. I
> want do self-register. first I configured my dspace.cfg with gmail .*
>
>  # Email settings ##
>
> # SMTP mail server
> mail.server = smtp.gmail.com
>
> # SMTP mail server authentication username and password (if required)
> mail.server.username = x...@gmail.com
> mail.server.password = 
>
> # SMTP mail server alternate port (defaults to 25)
> mail.server.port = 25
>
> # From address for mail
> mail.from.address = x...@gmail.com
>
> # Name of a pre-configured Session object to be fetched from a directory.
> # This overrides the Session settings above.  If none can be found, then
> DSpace
> # will use the above settings to create a Session.
> #mail.session.name = Session
> # Currently limited to one recipient!
> feedback.recipient =x...@gmail.com
>
> # General site administration (Webmaster) e-mail
> mail.admin =xx...@gmail.com
>
> # Recipient for server errors and alerts
> alert.recipient =xx...@gmail.com
>
> # Recipient for new user registration emails
> registration.notify =xx...@gmail.com
>
> # Set the default mail character set. This may be overridden by providing
> a line
> # inside the email template "charset: ", otherwise this default
> is used.
>
> mail.charset = UTF-8
>
> # A comma-separated list of hostnames that are allowed to refer browsers
> to email forms.
> # Default behaviour is to accept referrals only from dspace.hostname
>  mail.allowed.referrers = localhost
>
> # Pass extra settings to the Java mail library. Comma-separated, equals
> sign between
> # the key and the value. For example:
>  mail.extraproperties = mail.smtp.socketFactory.port=465, \
>
> mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory, \
>mail.smtp.socketFactory.fallback=false
>
>
>
>
>
>
>
>
>
>
>
> *good after I configured my authentication-password.cfg*
>
>
>
>
>
>
> #---#
> #--PASSWORD AUTHENTICATION CONFIGURATIONS---#
> #---#
> # Configuration properties used by the Password #
> # Authentication plugin, when it is enabled.#
> #---#
> #
> # In order to enable Password Authentication, you must first ensure the
> # 'org.dspace.authenticate.PasswordAuthentication' class is added to the
> # list of enabled AuthenticationMethods in 'authenticate.cfg'.
> # See 'authenticate.cfg' for more info.
> #
>
> # Only emails ending in the following domains are allowed to self-register
> # Example - example.com domain : @example.com
> # Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk cambio
> victoria$
>
>  domain.valid = @gmail.com , @otherdomain.ve
>
> # Password users group #
>
> # If required, a group name can be given here, and all users who log in
> # using the DSpace password system will automatically become members of
> # this group. This is useful if you want a group made up of all internal
> # authenticated users. victoria grupo original group-name y comentado
> # login.specialgroup = group-name
>
> # Password hashing algorithm #
>
> # You may select any digest algorithm available through
> # java.security.MessageDigest on your system.  At least MD2, MD5, SHA-1,
> # SHA-256, SHA-384, and SHA-512 should be available, but you may have
> # installed others.  If not set, SHA-512 will be used.
> # digestAlgorithm = SHA-512
>
>
>
>
> *well it configuration give me an internal system error. I attach my log
> for more informationthank you for all hep that you can give me.*
>
> --
> 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 

Re: [dspace-tech] Migrating to Rosetta / exporting items

2016-06-23 Thread Luiz dos Santos
Hi Stuart,

When I was in  ExLibris, they had Digitool, and Digitool had OAI-MPH
interface, did you check it Rosetta have it as well?

Best
Luiz

On Thu, Jun 23, 2016 at 5:22 PM, Stuart A. Yeates  wrote:

> We are moving our collections from DSpace to Rosetta (from ExLibris now
> Proquest) and I was wondering whether anyone had any experiences or
> suggestions to share about such migrations.
>
> As far as I can tell, what I really need is something like the development
> of the code at
> https://wiki.duraspace.org/display/DSPACE/DSpace+SIP+Toolkit which would
> let me export items in the repositories as SIPs.
>
> The vanilla DSpace export is lacking in significant ways, particularly
> relating to locked files, permissions, statistics, etc.
>
> We're running 5 instances of a branded but largely uncustomised DSpace
> 1.8.2.
>
> cheers
> stuart
> --
> ...let us be heard from red core to black sky
>
> --
> 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] xmlui.Discovery.AbstractSearch.type_department message

2016-06-23 Thread Luiz dos Santos
Hi,

   I think that the problem is this url,
"search-filter?field=department_with=b"

http://scholarworks.montana.edu/xmlui/search-filter?field=department_with=b
   This one works fine, I mean the label show up.
 http://scholarworks.montana.edu/xmlui/browse?type=department

  It smell like a bug to me, did you see something in the logs? Are you
able to debug your repository code?
https://www.youtube.com/watch?v=mrLl1qPsy6I

Best regards
Luiz






On Thu, Jun 23, 2016 at 5:01 PM, Borda, Susan 
wrote:

> Thanks Terry and Luiz-
> The message resolves to “Department” after I click on a letter but it’s
> just the initial view that’s the problem even after adding the
> xmlui.Discovery.AbstractSearch. Key. I’m not going to sweat it as I said I
> can’t reproduce this issue via the UI only by modifying the  URL itself.
>
> If someone raises a real stink about it I’ll dig into it further.
>
> -susan
> —
> Susan Borda
> Digital Technologies Development Librarian
> Montana State University Library
> 406-994-1873
>
>
>
> From:  on behalf of Terry Brady <
> terry.br...@georgetown.edu>
> Date: Wednesday, June 22, 2016 at 2:20 PM
> To: Susan Borda 
> Cc: "dspace-tech@googlegroups.com" 
> Subject: Re: [dspace-tech] xmlui.Discovery.AbstractSearch.type_department
> message
>
> Add a new entry to messages.xml that matches this field and the issue
> should be resolved.
>
> I have encountered this issue each time that I have added a custom facet.
>
> I create 4 new entries for each new facet.
>
>  key="xmlui.ArtifactBrowser.AdvancedSearch.type_dc.coverage.temporal">Time
> Period
> Time
> Period
> Time
> Period
> Time
> Period
>
> Terry
>
>
> On Wed, Jun 22, 2016 at 11:22 AM, Borda, Susan 
> wrote:
>
>> Hi All-
>> This appears when with
>> http://scholarworks.montana.edu/xmlui/search-filter?field=department
>> “xmlui.Discovery.AbstractSearch.type_department"
>>
>> When field=department is swapped with field=author this is what I get:
>> "Filter by: Author”
>>
>> I looked in $CATALINA_HOME/webapps/xmlui/i18n/messages.xml (where I
>> usually resolve these sorts of issues) for the “Filter by: Author” and am
>> not finding it.
>>
>> I’m not sure how this was first discovered as someone just sent the
>> “offending” URL to me. Also, I have seen this same issue on a number of
>> other Dspace instances.
>>
>> Any thoughts?
>>
>> Thanks,
>> susan
>> —
>> Susan Borda
>> Digital Technologies Development Librarian
>> Montana State University Library
>> 406-994-1873
>>
>>
>> --
>> 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
> http://georgetown-university-libraries.github.io/
> 
> 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] error when trying to create administrator account for dspace

2016-06-21 Thread Luiz dos Santos
Previous answer from Tim Donohue for this issue:

"This is a known issue that occurs when you start Tomcat prior to running
'create-administrator' when doing a fresh install of DSpace 5.x.  It's a
"race condition" that only occurs when certain webapps (namely OAI, REST or
RDF) load prior to the Administrator group being created.  It's described
in more detail here:

https://jira.duraspace.org/browse/DS-2408

A fix is already posted at https://github.com/DSpace/DSpace/pull/1008.
There's also an easy workaround. Simply do the following:
1. Stop Tomcat
2. Clean the database (./dspace database clean)...which resets it to an
entirely empty database. (Warning, this will wipe all data from your
database, but since this is a fresh install, there shouldn't be anything in
there yet)
3. Create the Administrator account first (./dspace create-administrator)
4. Then restart Tomcat

This bug should be fixed in the next release of DSpace.
"
Best
Luiz


On Tue, Jun 21, 2016 at 7:02 AM, Berrabah Abdelkrim <
berrabah.abdelk...@gmail.com> wrote:

> when I try to execute the commande :
>
>
> root@repository:~#
> /home/dspaceadm/dspace-5.5-src-release/dspace/bin/dspace
> create-administrator
>
>
> I get the error message :
>
>
> Erreur : impossible de trouver ou charger la classe principale
> org.dspace.app.launcher.ScriptLauncher
>
>
> anyone has an idea please help...
>
> --
> 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] erro de metadados ao inserir documentos

2016-06-10 Thread Luiz dos Santos
Hi Rafael,

   As Claudia mentioned you can see details about the translations in
https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n . In case of
jspui, you can find the messages here
[dspace-source]/dspace/modules/jspui/src/main/resources/Messages.properties
, I don't know about the IBICT customization version, even more, each
language should have it own file, the translated files should be in
[dspace-source]/dspace/modules/jspui/src/main/resources/,  the file in
portuguese should be  Messages_pt_BR.properties, again, I'm not sure about
IBICT version, once you find the file Portuguese, it should have something
like, for author:

metadata.dc.contributor.*   = Autor
metadata.dc.contributor.author  = Autor


Once you change the file you need build Dspace again.


Best regards
Luiz


On Fri, Jun 10, 2016 at 9:46 AM, Claudia Jürgen <
claudia.juer...@tu-dortmund.de> wrote:

> Hello Rafael,
>
> you are missing the translation in the message catalogue. How to
> customize the message catalogues for either JSPUI or XMLUI see
> https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n
>
> Hope this helps
>
> Claudia Jürgen
>
>
> Am 10.06.2016 um 15:24 schrieb Rafael Arcari:
>
>> Bom dia.
>>
>> Estou tendo o seguinte problema ao inserir documentos no dspace:
>>
>> Depois de inserir o documento, um artigo ou dissertação, os campos como
>> *tipo,
>> cnpq, resumo, autor,* aparecem com o nome do metado dele:
>>
>> metadata.dc.type:
>> metadata.dc.creator:
>>
>> metadata.dc.contributor.advisor1:
>>
>> Alguem poderia me explicar o motivo disso ocorrer?
>>
>>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32
> claudia.juer...@tu-dortmund.de
> www.ub.tu-dortmund.de
>
> Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank.
> Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen
> ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher
> Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines
> solchen Schriftstücks per Telefax erfolgen.
>
> Important note: The information included in this e-mail is confidential.
> It is solely intended for the recipient. If you are not the intended
> recipient of this e-mail please contact the sender and delete this message.
> Thank you. Without prejudice of e-mail correspondence, our statements are
> only legally binding when they are made in the conventional written form
> (with personal signature) or when such documents are sent by fax.
>
>
> --
> 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] erro de metadados ao inserir documentos

2016-06-10 Thread Luiz dos Santos
Oi,

Isso indica que ta faltando o traducao dos nomes dos campos, Vc ta
usando JSPUI ou XMLUI? Que versao? Dependendo da versao e da interface que
vc ta usando o lugar onde colocar a traducao varia.


Ps: Se vc postar suas duvidas em ingles vai aumentar no numero de pessoas
que podem responder.

[]'s
Luiz

On Fri, Jun 10, 2016 at 9:24 AM, Rafael Arcari  wrote:

> Bom dia.
>
> Estou tendo o seguinte problema ao inserir documentos no dspace:
>
> Depois de inserir o documento, um artigo ou dissertação, os campos como *tipo,
> cnpq, resumo, autor,* aparecem com o nome do metado dele:
>
> metadata.dc.type:
> metadata.dc.creator:
>
> metadata.dc.contributor.advisor1:
>
> Alguem poderia me explicar o motivo disso ocorrer?
>
> --
> 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] Recommended Testing Strategy

2016-06-08 Thread Luiz dos Santos
Hi Mark,

It seems nice, I would like at least start to write some test to
REST-API, so I should use the approach in dspace-api, right?

Best
Luiz

On Wed, Jun 8, 2016 at 9:31 AM, Mark Wood  wrote:

> On Tue, Jun 07, 2016 at 12:09:41PM -0500, Tim Donohue wrote:
> > As far as I'm aware, that's just how a Maven test runs. It automatically
> > will try to run tests in all modules, but it only will execute ones that
> > it finds.  So, most modules will report that no tests were found.  I'm
> > unaware of any way to change that behavior in Maven (if you know of one,
> > let us know).
>
> That's right: phases 'test' and 'integration-test' (and several other
> test-related phases) are part of the standard Maven lifecycle and will
> be run unless suppressed somehow.  I think that we could selectively
> disable these phases for projects that currently have no tests, but I
> would rather that we started writing good tests for those projects.
>
> Some good work was started in dspace-api, which can be extended to
> other projects without a lot of effort.  It just hasn't been done.
> What we have now is frameworks with some quite useful tests included,
> and a collection of newer tests that grows as individual developers
> add to it for their own use.  I'm less familiar with the test setup in
> dspace-services, which was developed separately.
>
> We could use some more mocking to make some of our unit tests more
> lightweight (and a lot faster).
>
> > Also, be aware that we have Unit / Integration Tests disabled by default
> > in our Maven POM settings.  So, to actually run tests, you need to apply
> > a flag to enable them:
> >
> >   * "-Dmaven.test.skip=false" will enable Unit Tests to run (via Maven
> > Surefire Plugin)
> >   * "-DskipITs=false" will enable Integration Tests to run (via Maven
> > Failsafe Plugin)
>
> Just to make things *really* confusing, I have the following in my
> ~/.m2/settings.xml:
>
>  
>
>   defaults
>   
>  false
>  false
>   
>
>  
>
>  
> defaults
>  
>
> --
> 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] the file new-top_es.html is not a valid news file

2016-06-08 Thread Luiz dos Santos
Tom I was not able to reproduce the error, I could edit the the news top
and sidebar without problem, did you try the solution pointed by William?
Each is add news files in the "core-services.xml"?




news-top.html
news-side.html
news-top_es.html
news-side_es.html




On Wed, Jun 8, 2016 at 9:34 AM, Tom Avino <tomav...@gmail.com> wrote:

> I followed the instructions at  https://github.com/DSpace/DSpace/pull/1430
> This error also occurs on the Dspace Demo site http://demo.dspace.org
> I also modified what was in this post above.
>
> Thanks,
>
> Tom
>
>
> On Wednesday, June 8, 2016 at 8:55:59 AM UTC-4, Luiz dos Santos wrote:
>>
>> Do you known what the exactly exception that you got? What instructions
>> did you follow, change the class or add the names of the files to the bean
>> configuration file?
>>
>> On Wednesday, June 8, 2016, Tom Avino <toma...@gmail.com> wrote:
>>
>>> I tried the following instructions, but still receive Internal Server
>>> error only when I try to edit Top News.  I can edit News Side with no
>>> issues.
>>>
>>> On Sunday, June 5, 2016 at 12:55:54 AM UTC-4, William Alejandro Ortiz
>>> wrote:
>>>>
>>>> Hola Victoria :)
>>>>
>>>> Te cuento que estuve teniendo este mismo problema, y buscando una
>>>> respuesta llegué a tu publicación.
>>>>
>>>> Quiero compartir contigo la solución, pues fue algo desesperante para
>>>> mí y no quiero que lo siga siendo para ti.
>>>>
>>>> Debes crear los archivos news-top_es.html y news-side_es.html en
>>>> /dspace/config/
>>>>
>>>> y luego debes modificar el fichero llamado "core-services.xml", ubicado
>>>> en /dspace/config/spring/api/  para que quede así:
>>>>
>>>>
>>>> 
>>>> 
>>>> news-top.html
>>>> news-side.html
>>>> news-top_es.html
>>>> news-side_es.html
>>>> 
>>>> 
>>>>
>>>>
>>>> Espero te sirva y a cualquiera que se encuentre con el mismo problema.
>>>>
>>>> Buena suerte Victoria y que tengas una buena y feliz vida :)
>>>>
>>>> Cuidate.
>>>>
>>>> William.
>>>>
>>>> On Wednesday, 1 June 2016 09:03:32 UTC-5, Victoria Parra wrote:
>>>>>
>>>>> good day to all.excuse me for my bad english. but I will try that you
>>>>> can understand my questions.
>>>>> I installed dspace 5.5 and all fine but when I change my
>>>>> default.locale=es in dspace.cfg my dspace give me an error:
>>>>> the file news-top_es.html is not a valid news file. I am suspecting
>>>>> that maybe my dspace don't can find this form.I want know if I'm right and
>>>>> how I can solve this. I will attach my log for better understanding.
>>>>> Thaking yours suggestions and answers. thank you so much.
>>>>>
>>>> --
>>> 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.
>

-- 
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] the file new-top_es.html is not a valid news file

2016-06-08 Thread Luiz dos Santos
Do you known what the exactly exception that you got? What instructions did
you follow, change the class or add the names of the files to the bean
configuration file?

On Wednesday, June 8, 2016, Tom Avino  wrote:

> I tried the following instructions, but still receive Internal Server
> error only when I try to edit Top News.  I can edit News Side with no
> issues.
>
> On Sunday, June 5, 2016 at 12:55:54 AM UTC-4, William Alejandro Ortiz
> wrote:
>>
>> Hola Victoria :)
>>
>> Te cuento que estuve teniendo este mismo problema, y buscando una
>> respuesta llegué a tu publicación.
>>
>> Quiero compartir contigo la solución, pues fue algo desesperante para mí
>> y no quiero que lo siga siendo para ti.
>>
>> Debes crear los archivos news-top_es.html y news-side_es.html en
>> /dspace/config/
>>
>> y luego debes modificar el fichero llamado "core-services.xml", ubicado
>> en /dspace/config/spring/api/  para que quede así:
>>
>>
>> 
>> 
>> news-top.html
>> news-side.html
>> news-top_es.html
>> news-side_es.html
>> 
>> 
>>
>>
>> Espero te sirva y a cualquiera que se encuentre con el mismo problema.
>>
>> Buena suerte Victoria y que tengas una buena y feliz vida :)
>>
>> Cuidate.
>>
>> William.
>>
>> On Wednesday, 1 June 2016 09:03:32 UTC-5, Victoria Parra wrote:
>>>
>>> good day to all.excuse me for my bad english. but I will try that you
>>> can understand my questions.
>>> I installed dspace 5.5 and all fine but when I change my
>>> default.locale=es in dspace.cfg my dspace give me an error:
>>> the file news-top_es.html is not a valid news file. I am suspecting that
>>> maybe my dspace don't can find this form.I want know if I'm right and how I
>>> can solve this. I will attach my log for better understanding. Thaking
>>> yours suggestions and answers. thank you so much.
>>>
>> --
> 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] Recommended Testing Strategy

2016-06-07 Thread Luiz dos Santos
Hi,

I didn't check all modules, but for the most part of them the test are
skipped just because there is no test to do, look for example the part of
the output of the "mvn test". Pantelis, did run the DSpace 5? I guess you
have to test your on? Did you do tests on JSPUI?


[INFO]

[INFO] Building DSpace XML-UI Mirage2 Theme 6.0-rc2-SNAPSHOT
[INFO]

[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @
dspace-xmlui-mirage2 ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @
dspace-xmlui-mirage2 ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @
dspace-xmlui-mirage2 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/luizfr/Development/ideaprojects/dspace-pre-6/dspace-xmlui-mirage2/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @
dspace-xmlui-mirage2 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources)
@ dspace-xmlui-mirage2 ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @
dspace-xmlui-mirage2 ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @
dspace-xmlui-mirage2 ---
[INFO] Tests are skipped.




On Tue, Jun 7, 2016 at 1:16 PM, Luiz dos Santos <luiz...@gmail.com> wrote:

> Hi Tim,
>
>I already used the plugin below, but I didn't test it in DSpace, let me
> try test and I can  submit a pull request later.
>
> Best
> Luiz
>
>
> 
> org.apache.maven.plugins
> maven-surefire-plugin
> 2.19.1
> 
> true
> 
> 
>
>
>
> On Tue, Jun 7, 2016 at 1:09 PM, Tim Donohue <tdono...@duraspace.org>
> wrote:
>
>> Hi Luiz,
>>
>> As far as I'm aware, that's just how a Maven test runs. It automatically
>> will try to run tests in all modules, but it only will execute ones that it
>> finds.  So, most modules will report that no tests were found.  I'm unaware
>> of any way to change that behavior in Maven (if you know of one, let us
>> know).
>>
>> Also, be aware that we have Unit / Integration Tests disabled by default
>> in our Maven POM settings.  So, to actually run tests, you need to apply a
>> flag to enable them:
>>
>>- "-Dmaven.test.skip=false" will enable Unit Tests to run (via Maven
>>Surefire Plugin)
>>- "-DskipITs=false" will enable Integration Tests to run (via Maven
>>Failsafe Plugin)
>>
>> These flags are both standard Maven flags, but we have configured both to
>> be set to "true" by default.
>>
>> So, to run both, you can simply run:
>>
>> "mvn install -Dmaven.test.skip=false -DskipITs=false"
>>
>> Again, a sample of running tests can be found in our Travis settings:
>>
>> https://github.com/DSpace/DSpace/blob/master/.travis.yml
>> - Tim
>>
>>
>> On 6/7/2016 9:53 AM, Luiz dos Santos wrote:
>>
>> Hi Tim,
>>
>> Pantelis send me the e-mail below with a question, basically he is
>> asking why "mvn test" run for all module if ti run for the dspace-api and
>> dspace-service only? Any idea?
>>
>> Best regards
>> Luiz
>>
>>
>>
>> Tests (mvn test) run ok when executed both in [dspace-src] and
>> [dspace-src]/dspace directories.
>> ​ My question why do they run for every project (SWORD, SWORDv2, REST,
>> Services Framework, Kernel etc.) while there seem to be test folders only
>> for api, oai, services and rest:
>>
>> (master)$ pwd
>> /home/pkaramol/Workspace/dspace/dspace-src
>> (master)$ tree -L 1
>> .
>> ├── dspace
>> ├── dspace-api
>> ├── dspace-jspui
>> ├── dspace-oai
>> ├── dspace-rdf
>> ├── dspace-rest
>> ├── dspace-services
>> ├── dspace-solr
>> ├── dspace-sword
>> ├── dspace-swordv2
>> ├── dspace-xmlui
>> ├── dspace-xmlui-mirage2
>> ├── LICENSE
>> ├── LICENSE_HEADER
>> ├── LICENSES_THIRD_PARTY
>> ├── local.cfg
>> ├── local.cfg.EXAMPLE
>> ├── NOTICE
>> ├── pom.xml
>> ├── README.md
>> └── src
>>
>> 13 directories, 8 files
>> (master)$ find . -name "test" -type d
>> ./dspace-api/src/test
>> ./dspace-oai/src/test
>> ./dspace-services/src/test
>> ./dspace-services/src/test/java/org/dspace/test
>> ./dspace-rest/src/test
>>
>

Re: [dspace-tech] Recommended Testing Strategy

2016-06-07 Thread Luiz dos Santos
Hi Tim,

Pantelis send me the e-mail below with a question, basically he is
asking why "mvn test" run for all module if ti run for the dspace-api and
dspace-service only? Any idea?

Best regards
Luiz



Tests (mvn test) run ok when executed both in [dspace-src] and
[dspace-src]/dspace directories.
​ My question why do they run for every project (SWORD, SWORDv2, REST,
Services Framework, Kernel etc.) while there seem to be test folders only
for api, oai, services and rest:

(master)$ pwd
/home/pkaramol/Workspace/dspace/dspace-src
(master)$ tree -L 1
.
├── dspace
├── dspace-api
├── dspace-jspui
├── dspace-oai
├── dspace-rdf
├── dspace-rest
├── dspace-services
├── dspace-solr
├── dspace-sword
├── dspace-swordv2
├── dspace-xmlui
├── dspace-xmlui-mirage2
├── LICENSE
├── LICENSE_HEADER
├── LICENSES_THIRD_PARTY
├── local.cfg
├── local.cfg.EXAMPLE
├── NOTICE
├── pom.xml
├── README.md
└── src

13 directories, 8 files
(master)$ find . -name "test" -type d
./dspace-api/src/test
./dspace-oai/src/test
./dspace-services/src/test
./dspace-services/src/test/java/org/dspace/test
./dspace-rest/src/test

On Tue, Jun 7, 2016 at 10:46 AM, Tim Donohue  wrote:

> Hi P.K.,
>
> Currently, DSpace only really has Unit / Integration tests for the main
> Java API layers, specifically these two modules/JARs:
>
> https://github.com/DSpace/DSpace/tree/master/dspace-api (creates
> dspace-api.jar)
>
> https://github.com/DSpace/DSpace/tree/master/dspace-services (creates
> dspace-services.jar)
>
> Unfortunately, we do not have Unit / Integration tests for the user
> interfaces (XMLUI or JSPUI).  Both of these interfaces are now quite old,
> and the plan is to replace them in the near future with a new User
> Interface (see RoadMap [1] and UI Prototype Challenge [2]).   My goal would
> be that the new User Interface *will* have an automated testing framework.
> Obviously, that's the recommended route these days.
>
> As for running the tests, we do use Travis CI to run our automated
> Unit/Integration tests for the API layer.  Our Travis config can be found
> in the codebase at:
>
> https://github.com/DSpace/DSpace/blob/master/.travis.yml
>
> The Travis config provides all the information you should need on how to
> trigger running the tests.  The documentation for the testing framework is
> a bit outdated, but it is still based on the notes at
> https://wiki.duraspace.org/display/DSPACE/DSpace+Testing  (We still use
> all the technologies mentioned there, though the versions have been updated
> as has the code as well)
>
> If you have further questions, feel free to ask them on this list, and
> we'll try to get them answered!
>
> Tim
>
> [1] https://wiki.duraspace.org/display/DSPACE/RoadMap
> [2]
> https://wiki.duraspace.org/display/DSPACE/DSpace+UI+Prototype+Challenge
>
> On 6/6/2016 10:56 AM, Pantelis Karamolegkos wrote:
>
> Assuming someone wants to fork and proceed with heavy DSpace
> customization, what is the recommended testing strategy?
> i.e. which of the tests should be kept in a CI environment like travis?
> (apart from our own custom tests we may set up)
> (note: 99% of the customization will most likely take place on jspui)
> Is there any documentation on dspace's (Unit/Integration) tests?
>
> Thx,
>
> P.K.
> --
> 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.
>

-- 
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] Recommended Testing Strategy

2016-06-06 Thread Luiz dos Santos
I saw this doc (https://wiki.duraspace.org/display/DSPACE/DSpace+Testing),
but I don't know if it is updated, and I don't see any test in the JSPUI at
all.

On Mon, Jun 6, 2016 at 11:56 AM, Pantelis Karamolegkos <
pantelis...@gmail.com> wrote:

> Assuming someone wants to fork and proceed with heavy DSpace
> customization, what is the recommended testing strategy?
> i.e. which of the tests should be kept in a CI environment like travis?
> (apart from our own custom tests we may set up)
> (note: 99% of the customization will most likely take place on jspui)
> Is there any documentation on dspace's (Unit/Integration) tests?
>
> Thx,
>
> P.K.
>
> --
> 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] Re: RTL Issue with Arabic in Dspace 5.4 XMLUI

2016-06-06 Thread Luiz dos Santos
Hi Shakir,


I thought in something like the code below, but I never tested, in
deep, I'm not sure about how to select the locale, you could try it, or
maybe somebody else in the list have a better idea.















 

 
 



Best
Luiz

On Fri, Jun 3, 2016 at 8:19 PM, Shakir Khan <shakirkhan2...@gmail.com>
wrote:

> Dear Lulz
>
> Thank you fr your ind help and revert aand I removed that from
> page-structure.xml and still its working fine.. This is the dspace link
> which I am testing http://kwarim.biz/xmlui/?locale-attribute=ar, for
> locale-attribute=ar, I want to include style_rtl.css means want to call
> separate css for each language so that I can change style_rtl.css for RTL
> use.  I want to put the condition that rtl css should be called during
> Arabic and for English default style.css is fine to be called.
>
>
> 
>
> 
> 
> 
> 
> 
> 
> 
>  value="lib/css/jquery-ui-1.8.15.custom.css"/>
> 
>  value="lib/css/authority-control.css"/>
> 
> 
>  value="lib/css/handheld.css"/>
> 
> 
> 
> 
>  value="lib/js/jquery-ui-1.8.15.custom.min.js"/>
> 
> 
> 
> 
>
> When I tried to call, it gives me error. Could you please help me to
> handle this situation for calling the different css for each language.
>
>
>
> On Sat, Jun 4, 2016 at 2:31 AM, Luiz dos Santos <luiz...@gmail.com> wrote:
>
>> Hi Shakir,
>>
>

-- 
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] After upgrading Dspace to 5.5 - Edit news error - The file null is not a valid news file

2016-06-04 Thread Luiz dos Santos
Hi Tom,

   I got this bug, I fixed and I submitted a pull request:
https://github.com/DSpace/DSpace/pull/1430, if you don't want to wait them
to approve the pull request, you can check my fix in the pull request.
Please, let me know if you need help.

Best
Luiz

On Sat, Jun 4, 2016 at 9:01 AM, Tom Avino  wrote:

> When I click Edit in the News Editor, I get the message below.
>
> 2016-06-04 08:56:53,895 WARN
>  org.dspace.app.webui.servlet.InternalErrorServlet @
> :session_id=8FBB62D7708C724747DE70FB603B4356:internal_error:-- URL Was:
> https://ldr-d.larc.nasa.gov/dspace-admin/news-edit
> -- Method: POST
> -- Parameters were:
> -- submit_edit: "Edit"
>
> java.lang.IllegalArgumentException: *The file null is not a valid news
> file*
> at org.dspace.core.NewsManager.readNewsFile(NewsManager.java:47)
> at
> org.dspace.app.webui.servlet.admin.NewsEditServlet.doDSPost(NewsEditServlet.java:55)
> at
> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:115)
> at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:73)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
> 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.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:71)
> 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-06-04 08:56:53,896 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
> org.dspace.app.webui.servlet.InternalErrorServlet.doPost(InternalErrorServlet.java:62)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
> 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
> 

Re: [dspace-tech] Re: RTL Issue with Arabic in Dspace 5.4 XMLUI

2016-06-03 Thread Luiz dos Santos
Hi Shakir,

   I really didn't get why Ahmad ask to change the page-structure.xsl, when
you add the webui.supported.locales = en, de, ar in the dspace.cfg, DSpace
will create the menu to you select the language, so I don't see the point
to change it in the  page-structure.xsl.
   About the css, you should add it to the sitemap.xml of you theme, you
should add the css, among the css, look the code below, of course I'm
supposing that you have the default installation of DSpace 5.


























 One last thing, it is a good practice do not change the DSpace
code files, instead, create a new file and directory structure in the
module folder and it will replace the DSpace original file in the
Build process.

Best

Luiz




On Fri, Jun 3, 2016 at 5:51 PM, Shakir Khan <shakirkhan2...@gmail.com>
wrote:

> ​Dear Luiz
> Thank you for your revert. I edited page-structure.XML just to switch
> ​ language because ​Arabic is RTL and how can I call style_rtl.css for the
> same funtionality. This is the copy of style.css. Yes I added
> webui.supported.locales = en, de, ar in the dspace.cfg? and its working
> fine but now just one problem to change RTL for Aabic. Without RTL its
> working fine. I followed this link
> https://amdmaher.wordpress.com/2013/08/16/add-another-language-to-dspace/
> and it worked fine.
> Kindly help me if you have better way for Arabic shifting RTL.
>
>
> On Jun 4, 2016 00:08, "Luiz dos Santos" <luiz...@gmail.com> wrote:
>
>> Hi,
>>
>>I didn't get why are you editing the page-structure.xml, did you try
>> to add webui.supported.locales = en, de, ar in the dspace.cfg?
>>
>> Best regards
>> Luiz
>>
>> On Fri, Jun 3, 2016 at 11:42 AM, Shakir Khan <shakirkhan2...@gmail.com>
>> wrote:
>>
>>> Anybody help please
>>>
>>>
>>>
>>> On Friday, June 3, 2016 at 1:12:03 PM UTC+3, Shakir Khan wrote:
>>>>
>>>> Hello Dear members
>>>> It is working with me Arabic support, my issue is that I want to call
>>>> style_rtl.css for arabic support so that I can change the style for Arabic
>>>> RTL.
>>>>
>>>> I already added the following for language switcher and switching is
>>>> working fine, my concern only to call different style_rtl.css for Arabic. I
>>>> used classic theme of xmlui.
>>>>
>>>> dspace\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl
>>>>
>>>>   language :: >>> href=”/xmlui?locale-attribute=ar”> Arabic | >>> href=”/xmlui?locale-attribute=en”> English  
>>>>
>>>>
>>>> Can anybody please help me what conditional code should I add for this
>>>> and in which file?
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>>
>>>> --
>>> 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] Re: RTL Issue with Arabic in Dspace 5.4 XMLUI

2016-06-03 Thread Luiz dos Santos
Hi,

   I didn't get why are you editing the page-structure.xml, did you try to
add webui.supported.locales = en, de, ar in the dspace.cfg?

Best regards
Luiz

On Fri, Jun 3, 2016 at 11:42 AM, Shakir Khan 
wrote:

> Anybody help please
>
>
>
> On Friday, June 3, 2016 at 1:12:03 PM UTC+3, Shakir Khan wrote:
>>
>> Hello Dear members
>> It is working with me Arabic support, my issue is that I want to call
>> style_rtl.css for arabic support so that I can change the style for Arabic
>> RTL.
>>
>> I already added the following for language switcher and switching is
>> working fine, my concern only to call different style_rtl.css for Arabic. I
>> used classic theme of xmlui.
>>
>> dspace\webapps\xmlui\themes\Mirage\lib\xsl\core\page-structure.xsl
>>
>>   language :: > href=”/xmlui?locale-attribute=ar”> Arabic | > href=”/xmlui?locale-attribute=en”> English  
>>
>>
>> Can anybody please help me what conditional code should I add for this
>> and in which file?
>>
>>
>> Thanks in advance
>>
>>
>> --
> 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] I can't find Messages.properties in dspace 5.5

2016-05-30 Thread Luiz dos Santos
Hi,

   As Claudio pointed out, the first question should be, are you using
JSPUI or XMLUI, what is the exctaly text the you want to change?

Best
Luiz

On Mon, May 30, 2016 at 3:34 AM, Claudia Jürgen <
claudia.juer...@tu-dortmund.de> wrote:

> Hello Arnuparb,
>
> there are two messages catalogues depending on what UI you are using,
> where to find and how to customize these is documented here:
> https://wiki.duraspace.org/display/DSDOC5x/Localization+L10n
>
> Hope this helps
>
> Claudia Jürgen
>
> Am 30.05.2016 um 05:40 schrieb arnuparb.jum...@gmail.com:
>
> I want to change the display name of a metadata field in simple item
> record. Thank you.
>
>
>
> --
> Claudia Juergen
> Eldorado
>
> Technische Universität Dortmund
> Universitätsbibliothek
> Vogelpothsweg 76
> 44227 Dortmund
>
> Tel.: +49 231-755 40 43
> Fax: +49 231-755 40 32claudia.juer...@tu-dortmund.dewww.ub.tu-dortmund.de
>
>
>
>
> *Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie
> ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für
> diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender
> und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz
> per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich,
> wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder
> durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.
> Important note: The information included in this e-mail is confidential. It
> is solely intended for the recipient. If you are not the intended recipient
> of this e-mail please contact the sender and delete this message. Thank
> you. Without prejudice of e-mail correspondence, our statements are only
> legally binding when they are made in the conventional written form (with
> personal signature) or when such documents are sent by fax. *
>
> --
> 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] Question about dc.date.accessioned and dc.date. available

2016-05-28 Thread Luiz dos Santos
Hi,

   I have seen some dc.date.available and dc.date.accessioned when the
items were harvested, and I do have a workflow where the dc.date.available
is one of the fields available through the repository workflow.

Best regards
Luiz

On Fri, May 27, 2016 at 6:22 PM, Xiping Liu  wrote:

> Hi Christian and Tim,
>
> Thank you for your replies.
>
> I don't think we have used embargo on our ETDs, although we will test on
> it to see if it will make a difference for these two fields. We can test on
> using an approval system too.
>
> I have found out that some of the older ETDs have these duplicate fields
> but not the newer ones. So maybe with the newer version of DSpace the bug
> has been fixed? As long as we know it's not something that we did that
> created these duplicate information, the only thing we need to do now is to
> clean them up.
>
> Thanks again.
> Xiping
>
>
> On Friday, May 27, 2016 at 1:42:35 AM UTC-5, Christian Scheible wrote:
>
>> Hi Xiping, Hi Tim,
>>
>> actually dc.date.available and dc.date.accessioned only differ if:
>>
>> 1. The old embargo system is used
>> 2. An embargo is set on an item.
>>
>> Otherwise, the both dates are the same (except for maybe a millisecond).
>>
>> See:
>> *org.dspace.content.InstallItem.installItem(Context,
>> InProgressSubmission, String)  *which calls:
>>
>> *org.dspace.content.InstallItem.populateMetadata(Context, Item) *where
>> the two dates are set.
>>
>> If you have two dc.date.accessioned for the same item only differing in a
>> millisecond than this seems to be a bug in your DSpace instance.
>> (like installItem is called twice) but not sure where this comes from.
>>
>> I just wanted to clarify the meaning of the dates because we had the same
>> impression for the meaning of dc.date.accessioned and dc.date.available as
>> Tim until we found that piece of code in InstallItem.java.
>>
>> Best regards
>> Christian
>>
>> Am 26.05.2016 um 21:47 schrieb Tim Donohue:
>>
>> Hi Xiping,
>>
>> The dates serve slightly different purposes:
>>
>> * dc.date.accessioned = the date/time that DSpace received this document
>> (i.e. date/time the item was created in DSpace)
>> * dc.date.available = the date/time that the item was made *available*
>> through the DSpace web interface.
>>
>> If you are not using approval workflows, then dc.date.available will
>> always be the same as dc.date.accessioned.
>>
>> However, if an item undergoes an approval process, then
>> dc.date.accessioned will be the date that the approval *began* (i.e. when
>> the item was created) and dc.date.available will be the date that the
>> approval *completed* (i.e. when the item was fully approved and made
>> available to users).
>>
>> Tim
>> On 5/26/2016 1:44 PM, Xiping Liu wrote:
>>
>> Hello all,
>>
>> We are in the process of cleaning up our ETD metadata and we came across
>> something very interesting:
>>
>> Some of our ETD records have two dc.date.accessioned and
>> dc.date.available fields and they are very close to each other. For example:
>>
>> dc.date.accessioned 2012-01-10T15:05:49Z
>> dc.date.accessioned 2012-01-10T15:05:50Z
>>
>> dc.date.available 2012-01-10T15:05:49Z
>> dc.date.available 2012-01-10T15:05:50Z
>> My understanding is that every time DSpace accepts a new submission it
>> gives a time stamp on it. So how come it has two almost duplicate fields.
>>
>> Thank you.
>>
>> Xiping
>> --
>> 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 post to this group, send email to dspac...@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...@googlegroups.com.
>> To post to this group, send email to dspac...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> --
>> Christian Scheible
>> Softwareentwickler / Abt. Content-basierte Dienste
>> Kommunikations-, Informations-, Medienzentrum (KIM)
>> Universität Konstanz
>> 78457 Konstanz+49 (0)7531 / 88-2857
>> Raum B 703
>>
>> --
> 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 

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] DSpace 6 RC1 - migrate_database ant target fails

2016-05-22 Thread Luiz dos Santos
Hi Pantelis,


This is the error:
 *This PostgreSQL Database is INCOMPATIBLE with DSpace. The upgrade will
NOT proceed. A supported version (>=1.1) of the 'pgcrypto' extension must
be installed! Please run 'dspace database info' for additional *

To fix it you should install 'pgcrypto'. The pgcrypto module provides
cryptographic functions for PostgreSQL.

You should run the SQL:

CREATE EXTENSION pgcrypto;


Best
Luiz


On Sun, May 22, 2016 at 7:05 PM, Pantelis Karamolegkos <
pantelis...@gmail.com> wrote:

> Here is line 799 of build.xml
>
>  classpathref="class.path" fork="yes" failonerror="yes">
>
> On Mon, May 23, 2016 at 1:35 AM, Luiz dos Santos <luiz...@gmail.com>
> wrote:
>
>> What do you have on this build.xml in the line 799? Do you see any
>> exception on the ant output?
>>
>> Best
>> Luiz
>>
>> On Sun, May 22, 2016 at 11:59 AM, Pantelis Karamolegkos <
>> pantelis...@gmail.com> 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.
>>>
>>
>>
>

-- 
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 pre 6 "Configuration Service"

2016-04-13 Thread Luiz dos Santos
Dears,

I'm trying to fix this issue "https://jira.duraspace.org/browse/DS-3107;.
I known that DSpace is using
https://commons.apache.org/proper/commons-configuration/ now. the
ConfigurationManager is deprecated, anyone knows what I can use instead?
Any doc?

Best
Luiz

-- 
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] Error rebuilding xml-ui on DSpace 5.1 - freezes during mvn packaging

2016-04-06 Thread Luiz dos Santos
Hi Michelangelo,

  Did you tried to user mvn -X to get a more detailed error message
from maven?

Best
Luiz

On Wed, Apr 6, 2016 at 1:28 PM, Michelangelo Viana 
wrote:

> Hi,
>
> Today (06 april 2016) I was not able to rebuild the XML-UI of our Dspace
> 5.1 [CentOS release 6.5 (Final)], and because of this, no other interface
> was able to be rebuilt:
> jspui ui at http://repositorio.pucrs.br/
>
> FYI in fact we use only JSPUI for deposits and via web (SWORD2 too, by a
> third part system).
> XML-UI is used only to register a embargo after submission (due JSPUI does
> not have this option), and we need it back working again.
>
> Error building XML-UI is happening during mvn packaging of xml-ui:
> - after downloading the following line, it simply stops responding:
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> (368 B at 1.0 KB/sec)
>
> As a workaround to complete the full rebuild process of all other
> interfaces, I just renamed the pom.xml of xml-ui to
> /opt/dspace-5.1-src-release/dspace/modules/xmlui/pom.xml.06apr2016
> then re-run the mvn and ant again, so the rebuild process was completed.
>
> [INFO]
> 
> [INFO] Building DSpace XML-UI (Manakin) :: Local Customizations 5.1
> [INFO]
> 
> Downloading:
> https://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> Downloading:
> http://repo.maven.apache.org/maven2/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> Downloading:
> https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> Downloading:
> http://maven.restlet.org/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> Downloaded:
> https://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> (2 KB at 3.2 KB/sec)
> Downloaded:
> https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-xmlui-lang/maven-metadata.xml
> (368 B at 1.0 KB/sec)
>
> Does anyone know why this problem happens and have suggestions of how to
> fix it?
>
> Thanks in advance
> Michelangelo Viana
> PUCRS/Brazil
>
> --
> 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] JSPui in pt DSpace 6.

2016-03-30 Thread Luiz dos Santos
I got the error in the jspui, I figured out that it is related with the
bean NewsServiceImpl receiving the values news-top.html and news-side.html
as parameter in the constructor.




news-top.html
news-side.html




But when I was debugging, the value in the parameter String newsName was
news-top_pt.html.

@Override
public boolean validate(String newsName) {
if (acceptableFilenames != null) {
return acceptableFilenames.contains(newsName);
}
return false;
}

And as the news-top_pt.html is not in the list acceptableFilenames, the
code below through a exception:

if (!validate(newsFile)) {
 throw new IllegalArgumentException("The file "+ newsFile + " is
not a valid news file");
 }

Now I got lost, I don't if I have to fix it not allowing the
"news-top_pt.html" or adding the "news-top_pt.html" in the bean
configuration file. What should be the approach here?

Best

Luiz

-- 
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] Re: workflow email troubleshooting

2016-03-10 Thread Luiz dos Santos
Good catch,  thanks for share!
Em 10/03/2016 16:20, "Chris Gray"  escreveu:

> We've discovered the problem.  It has nothing to do with the particular
> generator of the email but with garbage that has gotten into the email
> field of our eperson records for some of our users.
>
> We use CAS authentication and in some cases the email is getting populated
> with x:  five 'x's and the 'n's are the eperson_id.  The email
> isn't sent because the email server balks at the improper email address.
>
> Now we just have to figure out why we're getting this garbage and only for
> some users.
>
> On Thursday, March 10, 2016 at 11:07:59 AM UTC-5, Chris Gray wrote:
>>
>> In our 5.3 instance, people are not reliably receiving email notification
>> of submission rejections.  I'm at a loss to troubleshoot this problem.
>>
>> They were working previously but stopped recently.  Our campus email is a
>> complicated beasts and we are not always notified of changes, but I need
>> evidence to go to the people in charge of the email services.
>>
>> What I would like is a log of all outgoing emails but I can't find one.
>> Is there one or is there a way to turn this on?
>>
>> Other emails are going out.  Could it be a setting for that particular
>> work flow step or a particular collection?
>>
> --
> 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] Installing DSPACE in a Google Cloud Server with Data Repository stored on my local network

2016-03-01 Thread Luiz dos Santos
Hi,

I'm not sure about your solution, but the point here is a remote
assetstore, I guess, I would like to help, but I'm not sure your
infrastructure, actually I don't know docker.

Best
Luiz
Em 29/02/2016 13:24, "Bruno Cabral"  escreveu:

> Hi list,
>
> I'm member of a team that is developing and implementing a solution using
> DSPACE.
>
> We intend that the apps including DSPACE stays on the Google Cloud
> Infrastructure, in docker containers, and that the digital objects of the
> DSPACE repository stay stored and linked on our local network Storage, on a
> Network Attached Storage.
>
> Is this possible? How?
>
> Thanks,
>
> BC
>
> --
> 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] Add html in a java class.

2016-02-24 Thread Luiz dos Santos
Hi Tim,

The problem with just add the section in the xsl is that the field
dc.relation.externalresourse
have internal and external link and I need separate them in class, right?
I'm getting close I guess, I add the field in the item, sorry about the
DCValue, it is a DSpace 3.

private void addExternalURL(Item item) throws WingException {
DCValue[] related = item.getMetadata("dc", "relation",
"externalresource", Item.ANY);

ArrayList links = new ArrayList();

for(DCValue dcValue: related ){
if(!isInternal(dcValue.value)) {
item.addMetadata("iadb", "externalUrl",null, null, dcValue.value);
}
}

}

  And in the item-view.xls I have the code below, I'm not sure about the
how to use the for-each.

  



External Links














Best regards

Luiz




On Wed, Feb 24, 2016 at 2:54 PM, Tim Donohue <tdono...@duraspace.org> wrote:

> Hi Luiz,
>
> (I'm only answering this on dspace-tech, as that's the most appropriate
> list for this question)
>
> It might be easier to add simple HTML into the *Theme* itself (i.e. the
> XSLTs that make up the theme) rather than the Aspect layer.  The Aspect
> layer is only exports valid DRI (XML), which is then processed by the
> Theme's XSLTs and turned into the final HTML.  More on the DRI XML format:
> https://wiki.duraspace.org/display/DSDOC5x/DRI+Schema+Reference
>
> So, if you just want to add a simple link, it'd probably be easier to do
> that in the XSLT of your theme.
>
> If you still want to do it at the Aspect layer, you probably need to be
> sure the HTML is actually "well formed" (and valid XML as well).  It looks
> like your HTML is not, as it has an ending "<\a>" tag, instead of the
> "" tag that is expected in HTML/XML.
>
> Additionally, the "SimpleHTMLFragment" only supports some *very basic*
> HTML tags/attributes. When you use this option of the API, your HTML
> fragment is actually "translated" into valid DRI XML.  From reading the
> "SimpleHTMLFragment.translate()" method, it looks like the  tag is
> supported. But, the *class* attribute is not supported..so that may be
> another factor in the problems you are having.  Here's the full contents of
> that translate() method:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/element/SimpleHTMLFragment.java#L324
>
> Good luck,
>
> Tim
>
>
> On 2/24/2016 12:02 PM, Luiz dos Santos wrote:
>
> Hi,
>
>
> Our repository have two kind of url in the
> dc.relation.externalresourse, internal and external url, so I add the
> method below in the class 
> org.dspace.app.xmlui.aspect.artifactbrowser.ItemViewer.java,
> in module folder. I'm calling the method in the addBody. The problem is
> that I would like to add html to the item page, so I add the code that "
> externalLinks.addSimpleHTMLFragment(*false*, *" *"**\"** class=**\"**extternal-link**\"**> External Link <**\\**a>"*);"
> but it is printing the string as a literal in item page html, I mean, the
> browser is not render the html code. My question, how can I add something
> in the html using a aspect class?
>
>
> Thanks in advance
>
> Luiz
>
>
> *private void *addExternalItems(Division division, Item item) *throws 
> *WingException
> {
>
> DCValue[] related = item.getMetadata(*"dc"*, *"relation"*,
> *"externalresource"*, Item.*ANY*);
>
>
> ArrayList links = *new *ArrayList();
>
>
> *for*(DCValue dcValue: related ){
>
> *if*(!isInternal(dcValue.*value*)) {
>
> links.add(dcValue.*value*);
>
> }
>
> }
>
>
>
> *if*(!links.isEmpty()) {
>
> Division externalLinks  = division.addDivision(*"externalLinks"*);
>
> *for*(String value: links) {
>
> externalLinks.addSimpleHTMLFragment(*false*, *" *+ value + *"**\"** class=**\"**extternal-link**\"**> External Link <**\\*
> *a>"*);
>
> }
>
> }
>
>
>
> }
> --
> 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 

[dspace-tech] add html field in item page xmlui

2016-02-22 Thread Luiz dos Santos
Dears,


I have to add an external link to my item page, I'm trying to do it on
the ItemViewer.java, with the code below, I'm not sure if it is the best
way to do it, even more, I'm problem to add a single css class on it, I
already division.addPara addDiv and I didn't get a good results.

externalLinks.addSimpleHTMLFragment(false, "
External Link <\\a>");

Here is a complete version of my method, I'm calling from the method
addBody.

private void addExternalItems(Division division, Item item) throws
WingException {
DCValue[] related = item.getMetadata("dc", "relation",
"externalresource", Item.ANY);

ArrayList links = new ArrayList();

for(DCValue dcValue: related ){
if(!isInternal(dcValue.value)) {
links.add(dcValue.value);
}
}


if(!links.isEmpty()) {
Division externalLinks  = division.addDivision("externalLinks");
for(String value: links) {
externalLinks.addSimpleHTMLFragment(false, " External Link <\\a>");
}
}


}


Thanks

Luiz

-- 
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] Test documentation

2016-02-04 Thread Luiz dos Santos
Dears,

These are the most recent documentation about test in DSpace?

https://wiki.duraspace.org/display/DSPACE/DSpace+Testing

https://wiki.duraspace.org/display/GSOC/GSOC10+-+Add+Unit+Testing+to+Dspace


Thanks in advance
Luiz

-- 
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] Build with the Apache Commons Configuration

2016-02-02 Thread Luiz dos Santos
Hi,

Since today afternoon I'm build Maven and run ant targets with the new
local.cfg, dspace-pre-6, but the dspace.cfg doesn't reflect the changes
that I did in the file local.cfg, the maven and ant go through without any
error, so I wonder if anybody else is getting this issue?

Thanks
Luiz

-- 
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 UI Prototype Challenge

2016-01-21 Thread Luiz dos Santos
Anybody knows something about the results of this challenge?

Best Regards
Luiz

-- 
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] Modify default search options

2015-12-29 Thread Luiz dos Santos


Dears,


I need to modify the default search operator in our DSpace search, I 
mean, the DSpace is using the OR and I would like to use AND instead.  I am 
using  Dspace 3, I changed the files dspace/solr/search/conf/schema.xml and 
dspace/config/dspace.cfg, like below and after that I restarted the tomcat, 
but it didn’t work, am I missing anything?


dspace/config/dspace.cfg
search.operator = AND

dspace/solr/search/conf/schema.xml


 

 

Best Regards

Luiz

-- 
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] Modify default search options

2015-12-28 Thread Luiz dos Santos
Dears

,

I need to modify the default search operator in our DSpace search, I
mean, the DSpace is using the OR and I would like to use AND instead.  I am
using  Dspace 3.2, I changed the files dspace/solr/search/conf/schema.xml
and dspace/config/dspace.cfg, like below and after that I restarted the
tomcat, but it didn’t work, am I missing anything?

dspace/config/dspace.cfg
search.operator = AND

dspace/solr/search/conf/schema.xml


 



Best Regards

Luiz

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