Re: [Dspace-tech] Got It Installed (I Think) But... No Go

2013-07-31 Thread helix84
On Tue, Jul 30, 2013 at 8:49 PM, Thomas Ronayne
ronayne.tho...@gmail.com wrote:
Host name=localhost appBase=/opt/dspace/webapps
  unpackWARs=true autoDeploy=true

Hi Thomas,

I'm not sure if this will help, but I'll try to guess. The Host
configuration above probably expects the webapps to be in .war format.
When Tomcat notices such file, it will unpack and deploy it. However,
what ant fresh_install or ant update does, is that it copies the
_unpacked_ webapps to [dspace]/webapps. My guess is that Tomcat
doesn't work with these untill you point it to them, which is
explained in our installation instructions, Step 9:

https://wiki.duraspace.org/display/DSDOC3x/Installation#Installation-Installation

My guess why it doesn't work may be wrong, but I'm sure the
recommended procedure using Context in our installation instructions
works.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Delete item/collection/communities

2013-07-31 Thread Gustavo
DSpace 3.0 allow customize which browse engine is utilized. 
I use now SOLR Browse Engine(browseCreateDAO.class = 
org.dspace.browse.SolrBrowseCreateDAO). This class not add/remove any row in 
communities2item table. When I add an item no new row are add in the 
communities2item table. 
Above I used browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres 
when I add an item, a new row are add in the communities2item table each item.
When I attempt to erase an item add with the old configuration 
browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres   since the 
new configuration browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO 
 no row are deleted from communities2item and an error ocurr 
Excepción:
 org.postgresql.util.PSQLException: ERROR: update o delete en «item» 
 viola la llave foránea «communities2item_item_id_fkey» en la tabla 
 «communities2item»
   Detail: La llave (item_id)=(1984) todavía es referida desde la tabla 
 «communities2item».

*
Gustavo Perosillo Herrera 
STIC- Universidad de Valladolid
Telefono: 983423418
e-mail: gustavo.perosi...@uva.es
*

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: viernes, 26 de julio de 2013 14:12
Para: Gustavo
CC: dspace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Delete item/collection/communities

Hi Gustavo,

the item is probably an unfinished submission. Check your list of pending 
submissions. If that doesn't help, you can do

DELETE FROM communities2item WHERE item_id=1984;

and then try again deleting the item.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Jul 26, 2013 at 11:15 AM, Gustavo gustavo.perosi...@uva.es wrote:
 I have update to Dspace 3.1 and when I try to delete an item, 
 collection o communitie, it show the message:
 Excepción:
 org.postgresql.util.PSQLException: ERROR: update o delete en «item» 
 viola la llave foránea «communities2item_item_id_fkey» en la tabla 
 «communities2item»
   Detail: La llave (item_id)=(1984) todavía es referida desde la tabla 
 «communities2item».
 at
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExe
 cutorI
 mpl.java:2103)
 at
 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorI
 mpl.ja
 va:1836)
 at
 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
 at
 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State
 ment.j
 ava:512)

 *
 Gustavo Perosillo Herrera
 STIC- Universidad de Valladolid
 Telefono: 983423418
 e-mail: gustavo.perosi...@uva.es
 *




 --
  See everything from the browser to the database with 
 AppDynamics Get end-to-end visibility with application monitoring from 
 AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.c
 lktrk ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Add references in the sidebar navigation

2013-07-31 Thread Geoconda Toledo
Hi All,
I try to add references in the sidebar navigation, in especial, in the
browse with All of our repository. In this list we can see
CommunitiesCollections, Authors, Titles, Subjects and Type. I want to add
a new reference but  i cant find a file in the directory that contains this
information. Initially, I thought that it could be in the navigation.xsl or
in the page-structure.xsl, but not.
Someone  has been able to change the browse?
could tell me where i can find this list?

We have DSpace 3.1 and XMLUI.
Thank you.
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Delete item/collection/communities

2013-07-31 Thread Andrea Bollini

Hi Gustavo,
have you run the index-init script as part of you upgrade process 
*after* to have changed the Browse implementation?

The org.dspace.browse.SolrBrowseCreateDAO
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/SolrBrowseCreateDAO.java#L404
delegate to the DBMS browse implementation the drop of any old 
tables/views that could be created before for the browse using the DBMS 
implementation.
Looking to the code it seems that I have missed to delegate the 
operation for the deleteCommunityMappings (but not sure that it is 
really needed)

https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/browse/SolrBrowseCreateDAO.java#L362
that looks as possible source for your issue.
If you switch back to the SOLR implementation you can just delete all 
the rows in the communities2item table and you should not have any more 
issues deleting items as the SOLR implementation never write in this table.


I will appreciate too if you can check if delegating the operation for 
the method deleteCommunityMappings

i.e.
@Override
public void deleteCommunityMappings(int itemID) throws BrowseException
{

dbCreateDAO.deleteCommunityMappings(itemID);

}

solve your problem running the index-init script.
Please report also this issue as a JIRA bug
Thanks,
Andrea


Il 31/07/2013 11:28, Gustavo ha scritto:

DSpace 3.0 allow customize which browse engine is utilized.
I use now SOLR Browse Engine(browseCreateDAO.class = 
org.dspace.browse.SolrBrowseCreateDAO). This class not add/remove any row in 
communities2item table. When I add an item no new row are add in the 
communities2item table.
Above I used browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres 
when I add an item, a new row are add in the communities2item table each item.
When I attempt to erase an item add with the old configuration 
browseCreateDAO.class = org.dspace.browse.BrowseCreateDAOPostgres   since the 
new configuration browseCreateDAO.class = org.dspace.browse.SolrBrowseCreateDAO 
 no row are deleted from communities2item and an error ocurr
Excepción:

org.postgresql.util.PSQLException: ERROR: update o delete en «item»
viola la llave foránea «communities2item_item_id_fkey» en la tabla 
«communities2item»
   Detail: La llave (item_id)=(1984) todavía es referida desde la tabla
«communities2item».

*
Gustavo Perosillo Herrera
STIC- Universidad de Valladolid
Telefono: 983423418
e-mail: gustavo.perosi...@uva.es
*

-Mensaje original-
De: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] En nombre de helix84
Enviado el: viernes, 26 de julio de 2013 14:12
Para: Gustavo
CC: dspace-tech@lists.sourceforge.net
Asunto: Re: [Dspace-tech] Delete item/collection/communities

Hi Gustavo,

the item is probably an unfinished submission. Check your list of pending 
submissions. If that doesn't help, you can do

DELETE FROM communities2item WHERE item_id=1984;

and then try again deleting the item.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Fri, Jul 26, 2013 at 11:15 AM, Gustavo gustavo.perosi...@uva.es wrote:

I have update to Dspace 3.1 and when I try to delete an item,
collection o communitie, it show the message:
Excepción:
org.postgresql.util.PSQLException: ERROR: update o delete en «item»
viola la llave foránea «communities2item_item_id_fkey» en la tabla 
«communities2item»
   Detail: La llave (item_id)=(1984) todavía es referida desde la tabla
«communities2item».
 at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExe
cutorI
mpl.java:2103)
 at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorI
mpl.ja
va:1836)
 at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
 at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State
ment.j
ava:512)

*
Gustavo Perosillo Herrera
STIC- Universidad de Valladolid
Telefono: 983423418
e-mail: gustavo.perosi...@uva.es
*




--
 See everything from the browser to the database with
AppDynamics Get end-to-end visibility with application monitoring from
AppDynamics Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.c
lktrk ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette:
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get your SQL database under version control now!
Version control is standard for 

Re: [Dspace-tech] Delete item/collection/communities

2013-07-31 Thread helix84
Hi,

I tried to give generic advice regarding the SQL constraint, but
Andrea (in CC) wrote the SolrBrowseCreateDAO, so he will probably know
the particular implementation details.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] LDAP and Special Groups Code

2013-07-31 Thread Clive Gould
Hi

I'm just upgrading from DSpace 1.8.1 to DSpace 3.0 on our test server

We used to use custom code to differentiate between staff and student login
and assign them to appropriate dynamic special groups

I have tried using the new DSpace 3.0 login.groupmap directive within
authentication-ldap.cfg

Users are successfully authenticated against AD but apparently not being
assigned to the special groups

Is there a table in the database that allows the membership of the
dynamically allocated special groups to be viewed?

Once I find out the solution I'll log the entire upgrade process on my blog
at http://dspacebromley.blogspot.co.uk/

Thanks very much

Clive
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] LDAP and Special Groups Code

2013-07-31 Thread helix84
On Wed, Jul 31, 2013 at 2:48 PM, Clive Gould cli...@gmail.com wrote:
 We used to use custom code to differentiate between staff and student login
 and assign them to appropriate dynamic special groups

Hi Clive,

where does your custom code take the group information from? Full DN
or attributes?

 I have tried using the new DSpace 3.0 login.groupmap directive within
 authentication-ldap.cfg

The source of information for this mapping is the LDAP DN.

 Users are successfully authenticated against AD but apparently not being
 assigned to the special groups

Send an example of your login.groupmap.*.

In my opinion, the most likely problem might be misunderstanding the
left-hand side of the mapping, e.g.:
login.groupmap.1 = ou=Students:ALL_STUDENTS

Notice ou=Students. So if I log in as
cn=helix84,ou=Students,dc=example,dc=com, this will put me to the
DSpace ALL_STUDENTS group.

If your LDAP contains group information not in the DN, but in
attributes, DSpace 3 doesn't currently support that. But we're
currently discussing that functionality here:
http://dspace.2283337.n4.nabble.com/DSpace-LDAP-authentication-problem-td4665853.html

Second likely problem is that you haven't created the ALL_STUDENTS
group in DSpace. This is not created automatically, only the user is
assigned to that group dynamically upon login!

 Is there a table in the database that allows the membership of the
 dynamically allocated special groups to be viewed?

 Once I find out the solution I'll log the entire upgrade process on my blog
 at http://dspacebromley.blogspot.co.uk/

There is no such table. Your page already contains the explanation:

This means that users are not added to it as such, but are transient
members of it during the period that they are logged in. Therefore you
will not see anyone listed in that group, however such users should
inherit the permissions of belonging to that group. Stuart Lewis

The only easy way to check is to log in as the user and check
currently active groups on user's profile page.

Please check those two problems and report back. Let us know if
something is still unclear. Hope this helps.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] DSpace 3.2 needs JDK 1.7 for OAI functionality?

2013-07-31 Thread Tim Donohue
All,

I've created a JIRA ticket to track this OAI-PMH  JDK 1.7 bug:

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

On 7/30/2013 9:58 AM, Tim Donohue wrote:
 Hi Sam  All,

 On 7/30/2013 8:13 AM, Sam Ottenhoff wrote:
 But regardless, isn't this commit
 (https://github.com/lyncode/xoai/commit/a25cf93b1861608d8ed2d52b224b243fb0aca511)

 saying that any software that depends on XOAI 2.2.9 and up can only
 use JDK 7+?

 Those lines in the POM essentially say the following:
 1) source1.7/source means that only 1.7 or above source code is
 accepted to be compiled.  This is equivalent to the -source option
 passed to javac [1].

 2) target1.7/target means that Maven should compile class files
 targeting a 1.7 JVM (Java 7). In other words, the compiled class files
 for XOAI are only guaranteed to run on JVM 1.7 or above.  This is
 equivalent to the -target option passed to javac compiler [1].

 Combined, this essentially means that XOAI is being compiled for Java 7
 or above. I'm actually surprised it is running properly on OpenJDK 6. I
 would have expected to see that same Unsupported major.minor version
 51.0 error on any Java 6 implementation.

 I haven't had a chance to do any additional testing on my own (sorry),
 but I thought I'd just chip in the meaning behind these two POM settings.

 My analysis here is that XOAI 2.2.9 seems like it requires Java 7 to
 run.  So, since DSpace 3.2 OAI-PMH uses those classes, it is also
 essentially requiring Java 7 to function. Therefore, I think this is a
 bug. It'd be nice to see if we could get a version of XOAI which doesn't
 require Java 7, since DSpace 3.x allows for Java 6 or above.

 - Tim

 [1] Javac documentation  options:
 http://docs.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread Thomas Ronayne
Thanks to all the individuals that helped me deal with installation 
difficulties (well, ignorance is bliss sometimes and RTFM can go a long 
way toward ultimate success).

It's working and I think it's working properly (I can do stuff even 
though I don't know what the heck I'm doing).

Now this may not be the best place to ask, but I would really appreciate 
a little push in the right direction for getting things set up for the 
long haul; let me explain, as briefly as possible, what I have to deal with:

  * We have some 60,000+ books dating from the 12th through the early
20th century (only a few early 20th century, maybe 50 volumes);
  * We have statuary dating from ancient Egypt through Greek and Roman
time to the 19th century;
  * We have postage stamps dating from the beginning of postage stamps;
  * We have coins dating from Greek and Roman times through modern
European and Asian periods;
  * We have scientific instruments dating from... well, ancient Egypt
though modern European and Asian periods;
  * We have monographs and documents dating from, roughly, the 15th century;
  * We have art in multiple formats dating from the Middle Ages though
early 20th century Asian woodcuts;
  * In short, we have a helluva a lot of stuff.

Maybe someday there will be scholarly papers (at least I hope there 
will!)  but, for now, I need to catalog our holdings (with appropriate 
images for articles that can be photographed or scanned) in a reasonable 
way and I'm wondering if someone might be able to point me to some 
documentation that describes a pretty good way of doing that with DSpace?

Thanks for any advice.

-- 
A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm 
stickin' to it.


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread Tim Donohue
Hi Thomas,

Just a brief note. This general usage / best practices question 
might be better asked on our dspace-general mailing list.

dspace-gene...@lists.sourceforge.net

That dspace-general list tends to have more repository managers and 
folks who work more directly on local policies around how they use 
DSpace for different types of content. So, you may be able to learn more 
(or kick off a discussion) by posting to that list.

If you aren't on that list, you can join it at:

https://lists.sourceforge.net/lists/listinfo/dspace-general

(This dspace-tech list tends to be more for bugs/problems folks are 
encountering with DSpace. So, it's a slightly different audience, and 
sometimes tends to be more of the developers/tech folks.)

- Tim

On 7/31/2013 10:14 AM, Thomas Ronayne wrote:
 Thanks to all the individuals that helped me deal with installation
 difficulties (well, ignorance is bliss sometimes and RTFM can go a long
 way toward ultimate success).

 It's working and I think it's working properly (I can do stuff even
 though I don't know what the heck I'm doing).

 Now this may not be the best place to ask, but I would really appreciate
 a little push in the right direction for getting things set up for the
 long haul; let me explain, as briefly as possible, what I have to deal with:

* We have some 60,000+ books dating from the 12th through the early
  20th century (only a few early 20th century, maybe 50 volumes);
* We have statuary dating from ancient Egypt through Greek and Roman
  time to the 19th century;
* We have postage stamps dating from the beginning of postage stamps;
* We have coins dating from Greek and Roman times through modern
  European and Asian periods;
* We have scientific instruments dating from... well, ancient Egypt
  though modern European and Asian periods;
* We have monographs and documents dating from, roughly, the 15th century;
* We have art in multiple formats dating from the Middle Ages though
  early 20th century Asian woodcuts;
* In short, we have a helluva a lot of stuff.

 Maybe someday there will be scholarly papers (at least I hope there
 will!)  but, for now, I need to catalog our holdings (with appropriate
 images for articles that can be photographed or scanned) in a reasonable
 way and I'm wondering if someone might be able to point me to some
 documentation that describes a pretty good way of doing that with DSpace?

 Thanks for any advice.


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread helix84
Hi Thomas,

because it's not clear from your email, my first question is - do you
have all this only as physical items or do you have metadata to go
with it all?

In the first case, this is not something I can answer here - there is
a whole another occupation that deals with this - the cataloguer.

In the second case, the important question is what format do you have
the metadata in. We can help you with that on this mailing list.
There's a short summary of the different batch import methods
available in DSpace just to get you started, but please do consult us
before proceeding - there may be always be a better way:
https://wiki.duraspace.org/display/DSPACE/EndUserFaq#EndUserFaq-CanIimportcontentintoDSpaceinbatchmode?


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread Thomas Ronayne
Hi, Helix84,

Nope, no metadata, just a whole lot of physical items. Well, not quite 
-- there is a WinXP box with FoxBase (you know, obsolete since 1997 and 
totally unsupported and I'm not even sure how to spell FoxBase let alone 
have I ever seen it) that I'm going to need to unload to CSV files (I 
hope), massage with AWK or sed or something then try loading in the 
development system. If that proves to be impossible then we'll have just 
start from scratch and get on with it.

At a personal level, though, I have a library of some 2,000 books that 
are recorded in Tellico, a KDE-based collection manager that records and 
manages multiple collections (like books, music CD-ROM, videos, wine, 
coins, stamps, etc.) that I'm thinking about exporting and importing in 
my personal copy of DSpace. Robby Stevenson, the developer of Tellico, 
was the guy that suggested DSpace in the first place and he's willing to 
pitch in on exporting in reasonable format. That'll wait a few days (or 
weeks) until I get the institute going but it'll be an interesting 
exercise because all my books have acquired date, cost, vendor, ISBN, 
LOC numbers, genre, key words, descriptions and cover images, pretty 
complete (even has Dewey Decimal). Nice application but not multi-user 
and not DBMS.

I'll keep that in mind and thanks.

Thomas

A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm 
stickin' to it.

On 07/31/2013 11:40 AM, helix84 wrote:
 Hi Thomas,

 because it's not clear from your email, my first question is - do you
 have all this only as physical items or do you have metadata to go
 with it all?

 In the first case, this is not something I can answer here - there is
 a whole another occupation that deals with this - the cataloguer.

 In the second case, the important question is what format do you have
 the metadata in. We can help you with that on this mailing list.
 There's a short summary of the different batch import methods
 available in DSpace just to get you started, but please do consult us
 before proceeding - there may be always be a better way:
 https://wiki.duraspace.org/display/DSPACE/EndUserFaq#EndUserFaq-CanIimportcontentintoDSpaceinbatchmode?


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Watermarking and adding to PDF properties in DSpace

2013-07-31 Thread Daryl Grenz
Hi all,
I was looking and couldn't find any examples of adding a process to DSpace to 
automatically add a watermark to and/or fill in the properties (author, title, 
subject, keywords) of PDF files.
If any of you can point to examples of how to do this I would be curious to see 
how it's done.
Thanks, Daryl
  --
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread Thomas Ronayne
Hi, Tim,

Thank you for the information -- I'll get on to the dspace-general list 
and ask there. Sorry to post the question to the wrong place (shoulda 
known better, tech is tech after all).

Thanks again,

Thomas

A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm 
stickin' to it.

On 07/31/2013 11:33 AM, Tim Donohue wrote:
 Hi Thomas,

 Just a brief note. This general usage / best practices question 
 might be better asked on our dspace-general mailing list.

 dspace-gene...@lists.sourceforge.net

 That dspace-general list tends to have more repository managers and 
 folks who work more directly on local policies around how they use 
 DSpace for different types of content. So, you may be able to learn 
 more (or kick off a discussion) by posting to that list.

 If you aren't on that list, you can join it at:

 https://lists.sourceforge.net/lists/listinfo/dspace-general

 (This dspace-tech list tends to be more for bugs/problems folks are 
 encountering with DSpace. So, it's a slightly different audience, and 
 sometimes tends to be more of the developers/tech folks.)

 - Tim

 On 7/31/2013 10:14 AM, Thomas Ronayne wrote:
 Thanks to all the individuals that helped me deal with installation
 difficulties (well, ignorance is bliss sometimes and RTFM can go a long
 way toward ultimate success).

 It's working and I think it's working properly (I can do stuff even
 though I don't know what the heck I'm doing).

 Now this may not be the best place to ask, but I would really appreciate
 a little push in the right direction for getting things set up for the
 long haul; let me explain, as briefly as possible, what I have to 
 deal with:

* We have some 60,000+ books dating from the 12th through the early
  20th century (only a few early 20th century, maybe 50 volumes);
* We have statuary dating from ancient Egypt through Greek and Roman
  time to the 19th century;
* We have postage stamps dating from the beginning of postage stamps;
* We have coins dating from Greek and Roman times through modern
  European and Asian periods;
* We have scientific instruments dating from... well, ancient Egypt
  though modern European and Asian periods;
* We have monographs and documents dating from, roughly, the 15th 
 century;
* We have art in multiple formats dating from the Middle Ages though
  early 20th century Asian woodcuts;
* In short, we have a helluva a lot of stuff.

 Maybe someday there will be scholarly papers (at least I hope there
 will!)  but, for now, I need to catalog our holdings (with appropriate
 images for articles that can be photographed or scanned) in a reasonable
 way and I'm wondering if someone might be able to point me to some
 documentation that describes a pretty good way of doing that with 
 DSpace?

 Thanks for any advice.




--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] FW: XPDF: filter-media error cannot find the file

2013-07-31 Thread Álvaro Vargas Quezada
Hi everyone!

I'm trying to use XPDF in my DSpace site, but when I execute the filter-media 
command it throws me a lot of errors. The jpg files are ok, it shows the 
thumbnail, that means xpdf works, but it says cannot find the file specified, 
if it is about the xpdf that's wrong because the xpdf files are there, and if 
it is because of the pdf, it is also wrong because when I go to the specified 
item, I can open the documento without problems. 
Below I let you the error, I hope you can help me :) I'm using DSpace 1.8.2, 
Apache Tomcat 6.0, XPDF 3.01
Muchas gracias desde Chile!:D
ERROR filtering, skipping bitstream:Item Handle: 123456789/1359
Bundle Name: ORIGINALFile Size: 32379168Checksum: 
5ee6a48c6d7cc9c7d4fc1bf0b4fbc426 (MD5)Asset Store: 
0java.io.IOException: Cannot run program http://localhost:80/xpdf/pdftotext: 
CreateProcess error=2, The system cannot find the file 
specifiedjava.io.IOException: Cannot run program 
http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system cannot 
find the file specifiedat java.lang.ProcessBuilder.start(Unknown 
Source)at java.lang.Runtime.exec(Unknown Source)at 
java.lang.Runtime.exec(Unknown Source)at 
org.dspace.app.mediafilter.XPDF2Text.getDestinationStream(XPDF2Text.java:111)   
 at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:414)
at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:333) 
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at 
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at 
java.lang.reflect.Method.invoke(Unknown Source)at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)Caused by: 
java.io.IOException: CreateProcess error=2, The system cannot find the file 
specifiedat java.lang.ProcessImpl.create(Native Method)at 
java.lang.ProcessImpl.init(Unknown Source)at 
java.lang.ProcessImpl.start(Unknown Source)... 15 moreERROR filtering, 
skipping bitstream: 
   --
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread helix84
On Wed, Jul 31, 2013 at 6:16 PM, Thomas Ronayne
ronayne.tho...@gmail.com wrote:
 Nope, no metadata, just a whole lot of physical items. Well, not quite --
 there is a WinXP box with FoxBase (you know, obsolete since 1997 and totally
 unsupported and I'm not even sure how to spell FoxBase let alone have I ever
 seen it) that I'm going to need to unload to CSV files (I hope), massage
 with AWK or sed or something then try loading in the development system. If
 that proves to be impossible then we'll have just start from scratch and get
 on with it.

Don't do that. This tool worked for me:
http://pgdbf.sourceforge.net/

If you're not comfortable with Postgres, just goodle for something
like dbf to csv or dbf to Excel.

 At a personal level, though, I have a library of some 2,000 books that are
 recorded in Tellico, a KDE-based collection manager that records and manages
 multiple collections (like books, music CD-ROM, videos, wine, coins, stamps,
 etc.) that I'm thinking about exporting and importing in my personal copy of
 DSpace. Robby Stevenson, the developer of Tellico, was the guy that
 suggested DSpace in the first place and he's willing to pitch in on
 exporting in reasonable format. That'll wait a few days (or weeks) until I
 get the institute going but it'll be an interesting exercise because all my
 books have acquired date, cost, vendor, ISBN, LOC numbers, genre, key words,
 descriptions and cover images, pretty complete (even has Dewey Decimal).
 Nice application but not multi-user and not DBMS.

So it seems like you want to catalogue your personal collection? We
mostly hear from institutions here, so usually there's someone they
can turn to locally. In your case you may not have a cataloguer easily
available. You might want to at least read something about Dublin
Core, which is the metadata standard DSpace uses internally. And of
course, dspace-general would be a good place to ask for help.

In general, once you get your input data in XML, it's quite easy to
work with that using XSLT and get it to DSpace. There's even an
importer in DSpace that performs the transformation for you (once you
provide it with an XSLT stylesheet).


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Watermarking and adding to PDF properties in DSpace

2013-07-31 Thread helix84
Hi Daryl,

although I've never personally worked with it, what you're looking for
(for watermarks) is called BrandedPreviewJPEGFilter and it's part of
the Media Filter framework - the same framework that takes care of
extracting text from files for indexing and generating thumbnails.

https://wiki.duraspace.org/display/DSDOC3x/Configuration#Configuration-ConfiguringMediaFilters

I'm not sure what you mean by fill in the properties (author, title,
subject, keywords) of PDF files. Do you want to put these fields from
DSpace metadata into your PDF bitstreams? Firstly, you should
reconsider if you really want that; people usually want to preserve
their bitstreams and not risk accidentally destroying them. If you're
working on a bitstream, keep the old one for archiving purposes and
create a copy of it to mess with. I don't think there's any tool in
DSpace that can do that, so you would have to write either a media
filter or a curation task. I personally think curation tasks are
easier to write.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] A Little Push in the Right Direction

2013-07-31 Thread Thomas Ronayne
Wow -- I hadn't even started looking, thank you.

I am familiar with PostgreSQL -- used to design data bases, mostly 
Informix and PostgreSQL looks an awful lot like Informix (even comes 
with a version of ESQL/C for embedding SQL in a C program -- done a 
whole lot more of that than I like to think about). I've been switching 
my MySQL geographic data bases to PostgreSQL and that's going pretty 
well (and the dang thing is faster, too). That fiddling with locale was 
just one of those never-looked-at-before things in the midst of 
never-done-with before (Ant, Maven, Tomcat? Arrgghh!).

I've become familiar with Dublin Core (and MARC, the other coding 
schemes and who knows what-all) in the process of evaluating library 
management systems for this purpose; rapidly discovered that library 
management wasn't going to cut the mustard thus DSpace. Looked at 
Evergreen: no. Looked at KOHA: nope. Looked at a couple of other things 
that were interesting but incomplete for our needs. Even though about 
rolling my own (what the heck, LAMP is not a bad model), but no.

That link to PgDBF is the berries -- probably save a whole heckuva lot 
of time and effort to get whatever we do actually have (and I have no 
idea how many records there are but I at least have a more-or-less 
schema so I at least know what's what). Thank you so much for that.

About the personal collection, yeah, might as well do it in DSpace if 
for just the exercise (well, no, it's a good thing to get into DSpace). 
Nice thing about Tellico is that you can enter a title or an ISBN, do a 
search and import all the info from Amazon or other sites about a given 
book then update that from LOC and some other sites. You can input a UPC 
or ISBN and do the same for videos (including the cast list, director, 
producer, composer, etc.). Kind of like that. Quick, easy, useful but, 
according to the developer, a stretch for 60,000+ titles (with no ISBN, 
UPC, and probably not even a LOC number). It's a nice little application.

So, off to the DSpace-General list and ask there, thanks.

A riddle, wrapped in a mystery, inside an enigma but that's my story and I'm 
stickin' to it.

On 07/31/2013 12:52 PM, helix84 wrote:
 On Wed, Jul 31, 2013 at 6:16 PM, Thomas Ronayne
 ronayne.tho...@gmail.com wrote:
 Nope, no metadata, just a whole lot of physical items. Well, not quite --
 there is a WinXP box with FoxBase (you know, obsolete since 1997 and totally
 unsupported and I'm not even sure how to spell FoxBase let alone have I ever
 seen it) that I'm going to need to unload to CSV files (I hope), massage
 with AWK or sed or something then try loading in the development system. If
 that proves to be impossible then we'll have just start from scratch and get
 on with it.
 Don't do that. This tool worked for me:
 http://pgdbf.sourceforge.net/

 If you're not comfortable with Postgres, just goodle for something
 like dbf to csv or dbf to Excel.

 At a personal level, though, I have a library of some 2,000 books that are
 recorded in Tellico, a KDE-based collection manager that records and manages
 multiple collections (like books, music CD-ROM, videos, wine, coins, stamps,
 etc.) that I'm thinking about exporting and importing in my personal copy of
 DSpace. Robby Stevenson, the developer of Tellico, was the guy that
 suggested DSpace in the first place and he's willing to pitch in on
 exporting in reasonable format. That'll wait a few days (or weeks) until I
 get the institute going but it'll be an interesting exercise because all my
 books have acquired date, cost, vendor, ISBN, LOC numbers, genre, key words,
 descriptions and cover images, pretty complete (even has Dewey Decimal).
 Nice application but not multi-user and not DBMS.
 So it seems like you want to catalogue your personal collection? We
 mostly hear from institutions here, so usually there's someone they
 can turn to locally. In your case you may not have a cataloguer easily
 available. You might want to at least read something about Dublin
 Core, which is the metadata standard DSpace uses internally. And of
 course, dspace-general would be a good place to ask for help.

 In general, once you get your input data in XML, it's quite easy to
 work with that using XSLT and get it to DSpace. There's even an
 importer in DSpace that performs the transformation for you (once you
 provide it with an XSLT stylesheet).


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette



--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk

Re: [Dspace-tech] Installing Dspace in sub directory

2013-07-31 Thread suzon
Hi Helix,
At first pardon me to call you again.
You know I am from Bangladesh. In our library, the IT staff know very little
about library technical aspects.  After long discussion of you with Lewatle
Phaladi, I could understand that I also mistook in step 0. In this respect I
am requesting you to response on some questions..

 I am using 1.8 version of Dspace. Suppose, I just copy and paste the
mobile theme to xmlui/theme folder. Then I just made a sub-domain mobile
before main domain. Then Should I see the mobile interface by
mobile.main.com? If not what must to change?

*** As direction, I made a sub-domain mobile. But I can not see. I am facing
problem how to make a alias sub-domain? If you kindly see the link if all is
ok? our site link

mobile.dspace.daffodilvarsity.edu.bd 

is the mobile sub-domain is alias to dspace domain?

I will be grateful to you if you help me to overcome the issue.



Suzon Das
Dhaka, Bangladesh



--
View this message in context: 
http://dspace.2283337.n4.nabble.com/Installing-Dspace-in-sub-directory-tp4665719p4666141.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] FW: DSpace 3.2 Failed to resolve artifact

2013-07-31 Thread Sean Zhao
Hello All

I am trying to upgrade from 3.1 to 3.2, and after merging, I am trying to 
compile when this error appears:

[INFO] Building DSpace Kernel :: Additions and Local Customizations
[INFO]task-segment: [clean, package]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 
/var/www/dspace-3.2-source/dspace/modules/additions/target
[INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates from 
sonatype-releases
[INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates from 
sonatype-nexus-snapshots
Downloading: 
http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pomhttp://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT' in 
repository sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom
[INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT' in 
repository sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots)
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from 
sonatype-releases
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from central
Downloading: 
http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jarhttp://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT' in 
repository sonatype-releases 
(http://oss.sonatype.org/content/repositories/releases/)
Downloading: 
https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar
[INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT' in 
repository sonatype-nexus-snapshots 
(https://oss.sonatype.org/content/repositories/snapshots)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.dspace:dspace-api:jar:4.0-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.dspace -DartifactId=dspace-api 
-Dversion=4.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file


I feel this is related to misconfiguration, and the suggested download is not 
necessary.
If anyone got any idea what's going on here, that will be much appreciated.
Thanks in advance.

Sean Zhao | Information Technology Services | (416) 946 0114
[Standardized Email Signature_96dpi]

inline: image001.png--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] FW: DSpace 3.2 Failed to resolve artifact

2013-07-31 Thread Tim Donohue
Hi Sean,

Where did you download DSpace 3.2 from?  Was it the zip package from 
SourceForge, or did you clone it from GitHub?

It almost sounds like you are accidentally attempting to build the 
master code (unstable, pre-4.0) from GitHub, instead of building the 
DSpace 3.2 release.  If you are attempting to build the code from 
GitHub, you should make sure to checkout the dspace-3.2 tag for the 
DSpace 3.2 stable release.

If this is unclear, just ask...we'd be glad to try and help clarify as 
needed.

- Tim


On 7/31/2013 4:08 PM, Sean Zhao wrote:
 Hello All

 I am trying to upgrade from 3.1 to 3.2, and after merging, I am trying
 to compile when this error appears:

 [INFO] Building DSpace Kernel :: Additions and Local Customizations

 [INFO]task-segment: [clean, package]

 [INFO]
 

 [INFO] [clean:clean {execution: default-clean}]

 [INFO] Deleting directory
 /var/www/dspace-3.2-source/dspace/modules/additions/target

 [INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates
 from sonatype-releases

 [INFO] snapshot org.dspace:dspace-api:4.0-SNAPSHOT: checking for updates
 from sonatype-nexus-snapshots

 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom
 http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom

 [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT'
 in repository sonatype-releases
 (http://oss.sonatype.org/content/repositories/releases/)

 Downloading:
 https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.pom

 [INFO] Unable to find resource 'org.dspace:dspace-api:pom:4.0-SNAPSHOT'
 in repository sonatype-nexus-snapshots
 (https://oss.sonatype.org/content/repositories/snapshots)

 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
 sonatype-releases

 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from
 central

 Downloading:
 http://oss.sonatype.org/content/repositories/releases//org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar
 http://oss.sonatype.org/content/repositories/releases/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar

 [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT'
 in repository sonatype-releases
 (http://oss.sonatype.org/content/repositories/releases/)

 Downloading:
 https://oss.sonatype.org/content/repositories/snapshots/org/dspace/dspace-api/4.0-SNAPSHOT/dspace-api-4.0-SNAPSHOT.jar

 [INFO] Unable to find resource 'org.dspace:dspace-api:jar:4.0-SNAPSHOT'
 in repository sonatype-nexus-snapshots
 (https://oss.sonatype.org/content/repositories/snapshots)

 [INFO]
 

 [ERROR] BUILD ERROR

 [INFO]
 

 [INFO] Failed to resolve artifact.

 Missing:

 --

 1) org.dspace:dspace-api:jar:4.0-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:

mvn install:install-file -DgroupId=org.dspace
 -DartifactId=dspace-api -Dversion=4.0-SNAPSHOT -Dpackaging=jar
 -Dfile=/path/to/file

 I feel this is related to misconfiguration, and the suggested download
 is not necessary.

 If anyone got any idea what’s going on here, that will be much appreciated.

 Thanks in advance.

 Sean Zhao |Information Technology Services| (416) 946 0114

 Standardized Email Signature_96dpi



 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: 

Re: [Dspace-tech] One handle server for two DSpace instances?

2013-07-31 Thread cristiaan3003
This post was updated on 2013-07-31 18:57.Hi how are everybody? how are
helix84 :) I'm also trying to figure out how to accomplish what Jessica and
nraanes asked (one handle server for multiple DSpace instances). Would it be
possible for you to share the solution  again? this is my first post I would
like to thank everyone on here.I want to thank all. Regards ;  Cristian.



-
Argentina
--
View this message in context: 
http://dspace.2283337.n4.nabble.com/One-handle-server-for-two-DSpace-instances-tp4662743p4666157.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] FW: XPDF: filter-media error cannot find the file

2013-07-31 Thread SUZUKI Keiji
Hi Álvaro,

 java.io.IOException: Cannot run program 
http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
cannot find the file specified

This error means that the value of the property xpdf.path.pdftotext in
[dspace]/config/dspace.cfg is http://localhost:80/xpdf/pdftotext;.
Double-check if this property is set to the valid path.

Keiji Suzuki
Ebetsu, Japan

2013/8/1 Álvaro Vargas Quezada al...@outlook.com

 Hi everyone!

 I'm trying to use XPDF in my DSpace site, but when I execute the
 filter-media command it throws me a lot of errors. The jpg files are ok, it
 shows the thumbnail, that means xpdf works, but it says cannot find the
 file specified, if it is about the xpdf that's wrong because the xpdf
 files are there, and if it is because of the pdf, it is also wrong because
 when I go to the specified item, I can open the documento without problems.

 Below I let you the error, I hope you can help me :) I'm using DSpace
 1.8.2, Apache Tomcat 6.0, XPDF 3.01

 Muchas gracias desde Chile!
 :D

 *ERROR filtering, skipping bitstream:*
 *Item Handle: 123456789/1359*
 *Bundle Name: ORIGINAL*
 *File Size: 32379168*
 *Checksum: 5ee6a48c6d7cc9c7d4fc1bf0b4fbc426 (MD5)*
 *Asset Store: 0*
 *java.io.IOException: Cannot run program 
 http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
 cannot find the file specified*
 *java.io.IOException: Cannot run program 
 http://localhost:80/xpdf/pdftotext: CreateProcess error=2, The system
 cannot find the file specified*
 *at java.lang.ProcessBuilder.start(Unknown Source)*
 *at java.lang.Runtime.exec(Unknown Source)*
 *at java.lang.Runtime.exec(Unknown Source)*
 *at
 org.dspace.app.mediafilter.XPDF2Text.getDestinationStream(XPDF2Text.java:111)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:737)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:561)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:414)
 *
 *at
 org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:333)
 *
 *at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)*
 *at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)*
 *at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)*
 *at java.lang.reflect.Method.invoke(Unknown Source)*
 *at
 org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)*
 *Caused by: java.io.IOException: CreateProcess error=2, The system cannot
 find the file specified*
 *at java.lang.ProcessImpl.create(Native Method)*
 *at java.lang.ProcessImpl.init(Unknown Source)*
 *at java.lang.ProcessImpl.start(Unknown Source)*
 *... 15 more*
 *ERROR filtering, skipping bitstream:*


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette:
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette