Re: [Dspace-tech] Privileges in top-level communities and lower-level communities

2011-01-11 Thread Mark Melia
Hi Tim,

Thanks for getting back to me and thanks for your help. Fingers crossed 
I will find time to look at this bug in more detail in the near future, 
but at least I know now whats causing this issue.

Thanks,
Mark

On 10/01/11 17:38, Tim Donohue wrote:
 Mark,

 Aha. Now I understand. This is a reported issue with 1.6.2:
 https://jira.duraspace.org/browse/DS-678

 I'd encourage you to add your additional comments to that issue, 
 and/or 'vote' for that issue.  Unfortunately this is a known issue 
 at this time (and still exists in 1.7.0). We need to find a developer 
 to work on this issue and provide a patch which resolves it.

 - Tim

 On 1/10/2011 11:21 AM, Mark Melia wrote:
 Hi Tim,

 To give a little more details what I am trying to do:
 A user who is a community admin is trying to add a bitstream to an item.
 This item has up to now no bitstreams. When she opens the upload a new
 bitstream page the only type of bundle she is presented with is 
 License.

 Upon further investigation I have found in the addBundleOption in
 AddBitstreamForm.java if there are no bundles the user must be
 authorized as an administrator. This is checked by
 AuthorizeManager.isAdmin. This checks is the user is a system admin. In
 this case my user is only a community admin and is therefore not shown
 the bundle types.

 Now the question is - is this logically correct?

 Thanks for all your pointers on this.

 Mark

 On 10/01/11 15:59, Tim Donohue wrote:
 Hi Mark,

 As far as I'm aware, this should be functioning properly in DSpace
 1.6.0 or above. At least we've had no other reports of bugs in this
 area, from what I can find.

 Can you provide us with more information about your setup? Are you
 running XMLUI or JSPUI? If XMLUI, what Theme are you using (and have
 you customized the theme)? Have you made any other major
 customizations/changes which could be affecting this?

 As of DSpace 1.6.0, DSpace now has a new Delegate Admins feature,
 which improves the inheritance of Admin rights, and lets you more
 easily control what individual Administrations can and cannot do.

 You also may want to check your 'dspace.cfg' to see if you've changed
 the default settings for Community Administrators. Look for this 
 section:
 # Authorization system configuration - Delegate ADMIN #

 By default, the contents of that configuration section are commented
 out. This defaults to allowing a Community Admins perform all actions
 on any Sub-Community, Collection or Item in their Community. If you've
 customized these settings in any way, this obviously will affect what
 a Community Administrator can do.

 - Tim

 On 1/10/2011 9:46 AM, Mark Melia wrote:
 Hi Tim,

 Thanks for getting back to me. I am running DSpace 1.6.2.

 Thanks,
 Mark

 On 10/01/11 15:43, Tim Donohue wrote:
 Hi Mark,

 DSpace is supposed to inherit Admin permissions automatically. So, if
 you are an Admin of a Community, it also means you should be an Admin
 of all Sub-Communities, Collections or Items within that Community.

 Can you let us know what version of DSpace are you using? It's
 possible you may be running into a bug in an old version of DSpace.

 - Tim

 On 1/10/2011 8:32 AM, Mark Melia wrote:
 Hi all,

 Perhaps a better example might help here.

 I have a top level community - Faculty of Engineering and Computing
 - in
 this community there is a sub-community - School of Civil 
 Engineering.
 The faculty dean has administrative privileges on the collections
 directly in the Faculty community but these privileges do not 
 seem to
 extend on down to the School of Civil Engineering collections.

 Does anyone know if this is how DSpace is meant to behave. I would
 appreciate any information on this.

 Thanks in advance,
 Mark



 On 06/01/11 14:21, Mark Melia wrote:
 Hi all,

 I am trying to specify user privileges at a top level community and
 have
 those privileges for users using sub-communities within the top 
 level
 community.

 So for example if I am admin in topLevelCommunity1 and communityA
 is in
 topLevelCommunity1 I should have admin privileges in communityA.

 This does not appear to be the case for me. Does anyone have any 
 idea
 how to rectify this?

 Thanks,
 Mark

 --
  



 Learn how Oracle Real Application Clusters (RAC) One Node allows
 customers
 to consolidate database storage, standardize their database
 environment, and,
 should the need arise, upgrade to a full multi-node Oracle RAC
 database
 without downtime or disruption
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

 --
  



 Gaining the trust of online customers is vital for the success of 
 any
 company
 that requires sensitive data to be transmitted over the Web. 

[Dspace-tech] Proxy Error

2011-01-11 Thread Webshet, Sisay (ILRI)
Hi All,

 


Our dspace sever responds Proxy Error


The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /
http://mahider.cgiar.org/ .

Reason: Error reading from remote server



Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
proxy_html/3.0.0 Server at mahider.cgiar.org Port 80

 

 

Can anyone support us.

 

Thank you

Sisay

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Privileges in top-level communities and lower-level communities

2011-01-11 Thread helix84
On Mon, Jan 10, 2011 at 18:38, Tim Donohue tdono...@duraspace.org wrote:
 I'd encourage you to add your additional comments to that issue, and/or
 'vote' for that issue.  Unfortunately this is a known issue at this
 time (and still exists in 1.7.0). We need to find a developer to work on
 this issue and provide a patch which resolves it.

I just want to report that voting doesn't work (Error occurred while
voting. Please reload this issue and try again.).

Regards,
~~helix84

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Privileges in top-level communities and lower-level communities

2011-01-11 Thread Mark Melia
Hi Helix84,

I was able to add a vote today. Perhaps if refresh the page it might work?

Mark

On 11/01/11 09:53, helix84 wrote:
 On Mon, Jan 10, 2011 at 18:38, Tim Donohuetdono...@duraspace.org  wrote:
 I'd encourage you to add your additional comments to that issue, and/or
 'vote' for that issue.  Unfortunately this is a known issue at this
 time (and still exists in 1.7.0). We need to find a developer to work on
 this issue and provide a patch which resolves it.
 I just want to report that voting doesn't work (Error occurred while
 voting. Please reload this issue and try again.).

 Regards,
 ~~helix84

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Privileges in top-level communities and lower-level communities

2011-01-11 Thread helix84
On Tue, Jan 11, 2011 at 10:58, Mark Melia mark.me...@enovation.ie wrote:
 I was able to add a vote today. Perhaps if refresh the page it might work?

So I tested with Chrome and I was able to vote. Voting doesn't work in Opera.

Regards,
~~helix84

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Data Migration from Dspace to GSDL

2011-01-11 Thread G.K.MANJUNATH


Hello All,

Greetings from Mumbai, India!

I am trying to export data, with bit streams, from Dspace to GSDL.

Data export from Dspace ( Linux ) can be done quite easily. However, 
when the data is imported to GSDL, the metadata do not get transferred to 
the corresponding DC fields in GSDL. Instead, get transferred to the 
'Exctracted metadata' .

I highly appreciate any suggestion / solution to the problem.

   Dr.G.K.Manjunath
   Chief Librarian
   Indira Gandhi Inst of Development Research
   Film City Road
   Santosh Nagar
   Goregaon(East )
   MUMBAI - 400 065
   India
  Phone:91-22-28416528
  email:g...@igidr.ac.in

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Problem with OpenSearch configuration

2011-01-11 Thread Lehtilä Tapani
I have some problems with Opensearch configuration. Our search is working good 
with default settings, but I want to extend it to serve other fields also.

For example I want to include for example dc.description.urn -field and I have 
in the dspace.cfg -file line
webui.feed.item.urn = dc.identifier.urn. 
The result don't come anywhere.

That field comes with description line. Here's configuration for that which 
works in right way. 
webui.feed.item.description = dc.title, dc.contributor.author,  
dc.contributor.tiedekunta, dc.contributor.laitos, dc.creator, dcterms.abstract, 
dc.identifier.urn
It would be easier to parse output, every field has it's own xml-tag, not all 
the fields combined.

Any suggestions, what I have done or understood wrong?
My original purpose is make searches from our university intranet web server to 
DSpace and show results in that web server, not in DSpace. Is this the right 
way to handle that?
Our DSpace version is 1.6.2

Example search could be search 
http://dspace.cc.tut.fi/dpub/open-search/?query=author:Varjonenformat=atom, 
and here is result for one item:
entry
titlePikakarbonatisoitu betoni korroosioympäristönä/title
link href=http://dspace.cc.tut.fi/dpub/handle/123456789/5922; 
rel=alternate/
author
nameVarjonen, Saija/name
/author
idhttp://dspace.cc.tut.fi/dpub/handle/123456789/5922/id
updated2010-06-30T11:58:44Z/updated

published2001-12-11T22:00:00Z/published
summary type=textPikakarbonatisoitu betoni korroosioympäristönä
Rakennustekniikan osasto
Rakennetekniikan laitos, talonrakennustekniikka
Varjonen, Saija
Betoniterästen korroosio on yleinen vaurioitumisilmiö betoniteollisuudessa. 
Korroosio voi alkaa, kun teräksen pinnalla oleva oksidikalvo tuhoutuu. Tämä 
kalvo voi tuhoutua joko kloridien tunkeutumisen tai betoniin 
karbonatisoitumisen seurauksena. Pikakarbonatisoinnissa kappale asetetaan 
kaappiin, jossa ilman hiilidioksidipitoisuus on 4 %. Yhden viikon säilytys 
kaapissa vastaa noin yhden vuoden säilytystä ulkoilmassa. Tavoitteena oli 
selvittää, mitä eroa on pikakarbonatisoituneella ja luonnollisesti 
karbonatisoituneella betonilla korroosion etenemien kannalta. Koekappaleiden 
alkalisuuden vähenemistä tutkittiin pH-indikaatoreilla, pH-mitarilla sekä 
huokosvesitutkimuksilla. Kokeissa selvitettiin myös lämpötilan ja 
kosteuspitoisuuksien vaikutus korroosioon. Karbonatisoitumisen vaikutusta 
betonin tiiviyteen tutkittiin vedenimukokeilla, kuppikokeilla ja 
elohopeaporisimetrialla. Luonnollisesti ja nopeutetusti karbonatisoituneiden 
kappaleiden välillä havaittiin pieniä eroavaisuuksia. Käytettäessä nopeutettua 
karbonatisointia tulee tutkimustuloksiin suhtautua pienellä varauksella. 
Betoniterästen korroosio oli tämän tutkimuksen mukaan luonnollisen 
karbonatisoitumisen yhteydessä nopeampaa kuin käytettäessä 
pikakarbonatisointia. /Kir10
URN:NBN:fi:tty-200907106762
/summary
dc:date2001-12-11T22:00:00Z/dc:date
/entry

-- 
Tapani Lehtilä, Tampere University of Technology / Library
tapani.leht...@tut.fi +358 40 849 0208 
P.O.Box 537, 33101 Tampere Finland
Street address:
Korkeakoulunkatu 10, 33720 Tampere, Finland


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Online Document Viewer Functionality

2011-01-11 Thread Mark H. Wood
Would it seem ungrateful if I suggest that the first thing we need is
some more descriptive terms?  Because to me, document viewer is so
generic as to be nearly meaningless.

o  xdvi is a document viewer
o  mplayer is a document viewer
o  GPhoto is a document viewer
o  Audacious is a document viewer
o  'info' and 'man' are document viewers
o  'less' is a document viewer

What kind(s) of documents are we talking about here?  What specific
needs do we identify which are unmet by existing helper applications?

Specific needs mentioned so far:

o  PDF documents are capable of random access (when linearized), but
   Adobe Reader assumes you will want the whole document eventually,
   whereas small references to a large document would be best served
   if it could be told to only fetch pages on demand.

o  Maps are big but screens are small.  There is a need to express the
   idea that an image should be shown pixel-for-pixel regardless of
   size, under a scrollable viewport.  Sometimes it's most appropriate
   to view photographs at full resolution, too.

Others?

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Asking whether markets are efficient is like asking whether people are smart.


pgpfrNiv0hu1M.pgp
Description: PGP signature
--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Privileges in top-level communities and lower-level communities

2011-01-11 Thread Thornton, Susan M. (LARC-B702)[LITES]
If I'm not mistaken, I believe this is an issue in 1.5.1 also.  We have a user 
who has Admin privileges on a certain collection, yet she is unable to add a 
bitstream to an item in that collection unless I give her Administrator 
privileges on the entire repository (which of course I don't want to do).  
Sue



Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center|LITES Contract
(757) 224-4074


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Monday, January 10, 2011 12:39 PM
To: Mark Melia
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Privileges in top-level communities and lower-level 
communities

Mark,

Aha. Now I understand. This is a reported issue with 1.6.2:
https://jira.duraspace.org/browse/DS-678

I'd encourage you to add your additional comments to that issue, and/or 
'vote' for that issue.  Unfortunately this is a known issue at this 
time (and still exists in 1.7.0). We need to find a developer to work on 
this issue and provide a patch which resolves it.

- Tim

On 1/10/2011 11:21 AM, Mark Melia wrote:
 Hi Tim,

 To give a little more details what I am trying to do:
 A user who is a community admin is trying to add a bitstream to an item.
 This item has up to now no bitstreams. When she opens the upload a new
 bitstream page the only type of bundle she is presented with is License.

 Upon further investigation I have found in the addBundleOption in
 AddBitstreamForm.java if there are no bundles the user must be
 authorized as an administrator. This is checked by
 AuthorizeManager.isAdmin. This checks is the user is a system admin. In
 this case my user is only a community admin and is therefore not shown
 the bundle types.

 Now the question is - is this logically correct?

 Thanks for all your pointers on this.

 Mark

 On 10/01/11 15:59, Tim Donohue wrote:
 Hi Mark,

 As far as I'm aware, this should be functioning properly in DSpace
 1.6.0 or above. At least we've had no other reports of bugs in this
 area, from what I can find.

 Can you provide us with more information about your setup? Are you
 running XMLUI or JSPUI? If XMLUI, what Theme are you using (and have
 you customized the theme)? Have you made any other major
 customizations/changes which could be affecting this?

 As of DSpace 1.6.0, DSpace now has a new Delegate Admins feature,
 which improves the inheritance of Admin rights, and lets you more
 easily control what individual Administrations can and cannot do.

 You also may want to check your 'dspace.cfg' to see if you've changed
 the default settings for Community Administrators. Look for this section:
 # Authorization system configuration - Delegate ADMIN #

 By default, the contents of that configuration section are commented
 out. This defaults to allowing a Community Admins perform all actions
 on any Sub-Community, Collection or Item in their Community. If you've
 customized these settings in any way, this obviously will affect what
 a Community Administrator can do.

 - Tim

 On 1/10/2011 9:46 AM, Mark Melia wrote:
 Hi Tim,

 Thanks for getting back to me. I am running DSpace 1.6.2.

 Thanks,
 Mark

 On 10/01/11 15:43, Tim Donohue wrote:
 Hi Mark,

 DSpace is supposed to inherit Admin permissions automatically. So, if
 you are an Admin of a Community, it also means you should be an Admin
 of all Sub-Communities, Collections or Items within that Community.

 Can you let us know what version of DSpace are you using? It's
 possible you may be running into a bug in an old version of DSpace.

 - Tim

 On 1/10/2011 8:32 AM, Mark Melia wrote:
 Hi all,

 Perhaps a better example might help here.

 I have a top level community - Faculty of Engineering and Computing
 - in
 this community there is a sub-community - School of Civil Engineering.
 The faculty dean has administrative privileges on the collections
 directly in the Faculty community but these privileges do not seem to
 extend on down to the School of Civil Engineering collections.

 Does anyone know if this is how DSpace is meant to behave. I would
 appreciate any information on this.

 Thanks in advance,
 Mark



 On 06/01/11 14:21, Mark Melia wrote:
 Hi all,

 I am trying to specify user privileges at a top level community and
 have
 those privileges for users using sub-communities within the top level
 community.

 So for example if I am admin in topLevelCommunity1 and communityA
 is in
 topLevelCommunity1 I should have admin privileges in communityA.

 This does not appear to be the case for me. Does anyone have any idea
 how to rectify this?

 Thanks,
 Mark

 --


 Learn how Oracle Real Application Clusters (RAC) One Node allows
 customers
 to consolidate database storage, standardize their database
 environment, and,
 should the need arise, upgrade to a full multi-node Oracle RAC
 database
 without downtime or disruption
 

Re: [Dspace-tech] Online Document Viewer Functionality

2011-01-11 Thread helix84
I looked at several Fedora Commons instances and some have a nice
PDF reader displaying individual pages and navigation, which also has
a zoom option. Is this a standard part of FC? Could this be easily
used in DSpace?

Regards,
~~helix84

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Online Document Viewer Functionality

2011-01-11 Thread Tim Donohue
helix84,

Fedora Commons is more of a flexible repository architecture than an 
out-of-the-box repository application. As such, it doesn't come with a 
standard user interface solution. That's the main difference between a 
system like DSpace and one like Fedora.

However, there are several third-party user interfaces that have been 
built for Fedora Commons.  It's possible one of these does come with a 
PDF reader (I'm actually not sure, but I could ask around).  A full list 
of all End User applications that work on Fedora is here:
https://wiki.duraspace.org/display/FEDORACREATE/Complete+Solutions

So, we'd need to determine what end user application those sites are 
using that you are talking about.  Then we could investigate what PDF 
reader they may be using, and whether it is available as an open source 
tool.

- Tim

On 1/11/2011 10:07 AM, helix84 wrote:
 I looked at several Fedora Commons instances and some have a nice
 PDF reader displaying individual pages and navigation, which also has
 a zoom option. Is this a standard part of FC? Could this be easily
 used in DSpace?

 Regards,
 ~~helix84

 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Discovery plug-in reorder for 1.70

2011-01-11 Thread Germán Biozzoli
Hi Kevin

Finally I think that I understood what're you telling: The main idea
is that I will not find any xsl template for discovery inside the
actual xsl's mirage theme distribution and I should include one for
customizing the facets appeareance.

I've tested looking for
dri:li...@id='aspect.discovery.SimpleSearch.list.discovery'] and it's
seems to be a good point of interception but it applies only in a
search context, actually I have the requirement to delete facets from
home page entirely and show it only when the user has performed a
search. To accomplish this, should I touch the xsl and look for
another aspect, for instance Navigation, or should I see the
sitemap.xmap from resources/aspects/Discovery source and recompile?

Thank you very much for the help
Germán



On Wed, Jan 5, 2011 at 7:47 AM, Kevin Van de velde ke...@mire.be wrote:
 Hi Germán,

 What I would do is duplicate any xsl you would want to alter from the
 navigation.xsl, paste these in {your.theme}.xsl and alter them there.
 By doing it this way it is much easier to keep track of your changes.

 best regards,

 Kevin Van de Velde
 @mire - www.atmire.com
 533 2nd Street - Encinitas, CA 92024 - USA
 Technologielaan 9 - 3001 Heverlee - Belgium


 http://www.atmire.com - Institutional Repository Solutions
 http://www.togather.eu - Before getting together, get t...@ther


 On 4 January 2011 22:49, Germán Biozzoli germanbiozz...@gmail.com wrote:

 Thank you very much Kevin
 Perhaps my question is very basic, I've created my own theme copying
 mirage theme, you're suggesting that I should modify navigation.xsl or
 create a new xsl for the facets? I simply need to reorder the section
 upside statistics or login section in navigation bar.

 Regards
 Germán

 On Tue, Jan 4, 2011 at 1:36 PM, Kevin Van de velde ke...@mire.be wrote:
  Hi Germán,
 
  The reason why you can't find the xsl is because there is no special xsl
  to
  render the discovery navigation.
  So what I would suggest is that you create your own template in xsl to
  do
  this, just take a look at the DRI from dspace demo site:
  http://demo.dspace.org/xmlui/DRI/discover and you will find that the
  sidebar
  is rendered in a list with id
  'aspect.discovery.SimpleSearch.list.discovery'.
  Below is a small example on how to place the discovery sidebar in a
  couple
  of divisions.
 
  xsl:template
  match=dri:li...@id='aspect.discovery.SimpleSearch.list.discovery']
      div id=div1
      div id=div2 
      xsl:apply-templates/
      /div
      /div
  /xsl:template
 
  I hope I was able to solve your problem.
 
 
  best regards,
 
  Kevin Van de Velde
  @mire - www.atmire.com
  533 2nd Street - Encinitas, CA 92024 - USA
  Technologielaan 9 - 3001 Heverlee - Belgium
 
 
  http://www.atmire.com - Institutional Repository Solutions
  http://www.togather.eu - Before getting together, get t...@ther
 
 
  On 4 January 2011 16:47, Germán Biozzoli germanbiozz...@gmail.com
  wrote:
 
  Hi people
 
  The users that I'm working for with DSpace 1.70, requested to me to
  re-order the discovery plug-in facets to show it more easily to the
  final users. They find that are in some way forgotten in the last
  position and they wish to see it at first or second division in
  navigation bar. I've tried to look in the mirage xsls or
  dri2xhtml_alt's but it's seems to be solved in the aspect instance,
  somebody could give me a clue to fullfill this request?
 
  Thanks a lot
  Germán
 
 
 
  --
  Learn how Oracle Real Application Clusters (RAC) One Node allows
  customers
  to consolidate database storage, standardize their database
  environment,
  and,
  should the need arise, upgrade to a full multi-node Oracle RAC database
  without downtime or disruption
  http://p.sf.net/sfu/oracle-sfdevnl
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 



--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Online Document Viewer Functionality

2011-01-11 Thread helix84
On Tue, Jan 11, 2011 at 17:16, Tim Donohue tdono...@duraspace.org wrote:
 Fedora Commons is more of a flexible repository architecture than an
 out-of-the-box repository application. As such, it doesn't come with a
 standard user interface solution. That's the main difference between a
 system like DSpace and one like Fedora.

Thanks, I didn't know that.

These are the ones I've seen. Both are nice.

https://fedora.phaidra.univie.ac.at/fedora/get/o:9479/bdef:Book/view#
http://collections.nlm.nih.gov/pageturner/viewer.html?PID=nlm:nlmuid-64750960R-bk

Regards,
~~helix84

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Fwd: Failing compilation on debian lenny, PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20, tomcat 5.5

2011-01-11 Thread Kocisky
Previous message not sent to the ml


-- Forwarded message --
From: Kocisky koci...@autistici.org
Date: 10 January 2011 15:12
Subject: Re: [Dspace-tech] Failing compilation on debian lenny,
PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20,
tomcat 5.5
To: Tim Donohue tdono...@duraspace.org


Dear Tim,

i've tried to install the last version of java (directly from the
oracle site and not the version on the debian repository) but got the
same problem.
below the error log you can also verify the versions of the
applications required by dspace (from the doc).
I've tried also with another environment (MacOSX 10.6.6) with the
latest tomcat 6.0.29 and postgreSQL 9.0 but had the same error (check
the tread: Syntax error on ant fresh_install with dspace 1.7.0 in
the same ml).

i didn't really understood where the postgres/JDBC connector resides
and which version is compatible...
since i'm not confident with this environment i dont even know how to
follow the code, should i post it on the dev mailing list ?

thank you!
K

dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
java -version
java version 1.6.0_23
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
ant -version
Apache Ant version 1.7.0 compiled on April 29 2008
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
mvn -version
Maven version: 2.0.9
Java version: 1.6.0_22
OS name: linux version: 2.6.26-2-686 arch: i386 Family: unix
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
 psql --version
psql (PostgreSQL) 8.3.12
contains support for command-line editing
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
perl -version

This is perl, v5.10.0 built for i486-linux-gnu-thread-multi

Copyright 1987-2007, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using man perl or perldoc perl.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

[]

[INFO] Copying files to
/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
[INFO]
[INFO]
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] DSpace Addon Modules .. SUCCESS [10.229s]
[INFO] DSpace XML-UI (Manakin) :: Web Application  SUCCESS [29.401s]
[INFO] DSpace LNI :: Web Application . SUCCESS [9.994s]
[INFO] DSpace OAI :: Web Application . SUCCESS [8.520s]
[INFO] DSpace JSP-UI :: Web Application .. SUCCESS [7.514s]
[INFO] DSpace SWORD :: Web Application ... SUCCESS [9.485s]
[INFO] DSpace SOLR :: Web Application  SUCCESS [20.712s]
[INFO] DSpace Assembly and Configuration . SUCCESS [59.814s]
[INFO] 
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 2 minutes 36 seconds
[INFO] Finished at: Mon Jan 10 14:37:19 EST 2011
[INFO] Final Memory: 40M/97M
[INFO] 
dev:/home/user/Desktop/dspace-1.7.0-release/dspace# cd
/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
java -version
java version 1.6.0_23
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
ls
bin  build.xml  CHANGES  config  docs  etc  KNOWN_BUGS  lib  LICENSE
README  solr  webapps
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
ant fresh_install
Buildfile: build.xml

init_installation:
   [mkdir] Created dir: /usr/local/dspace/bin
   [mkdir] Created dir: /usr/local/dspace/config
   [mkdir] Created dir: /usr/local/dspace/lib
   [mkdir] Created dir: /usr/local/dspace/etc
   [mkdir] Created dir: /usr/local/dspace/webapps
   [mkdir] Created dir: /usr/local/dspace/exports
  

Re: [Dspace-tech] Failing compilation on debian lenny, PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20, tomcat 5.5

2011-01-11 Thread Kocisky
Hi Tim,

thank you for your reply, i've followed your suggestions but didn't
got many results, see below:

 DSpace 1.7 actually comes packaged with the PostgreSQL JDBC driver it needs
 to use.  You do not need to install a separate JDBC driver (in fact, you may
 want to remove what you installed, to make sure it doesn't cause any
 conflicts).

great, i've removed that package


 The full installation prerequisites  instructions are at:

 https://wiki.duraspace.org/display/DSDOC/Installation

i was following the doc in the pkg, thanks also for this !


 Also be aware that you will need Maven 2.2.x or above to properly build
 DSpace 1.7.0.  We've discovered an error in builds with Maven 2.0.x -- see
 the above link for more details (look under the prerequisites software
 section)

i'm now using apache-maven 3.0.1 but have the same syntax problem, see below


 Your version of Maven actually may be part of the problem.  After the Maven
 build, it seems you don't receive a full summary of all modules being built
 properly.  Double check that you are running 'mvn package' from the
 [dspace-src]/dspace/ directory.  The results of a successful build should
 report similar to this (notice how many more modules were built -- you only
 had 8 listed in your logs below):

maybe i have less packages because i'm not compiling the source but
the slim package with pre-compiled modules?
here the last build with maven version:

[INFO] Copying 1394 files to
/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] DSpace Addon Modules .. SUCCESS [0.385s]
[INFO] DSpace XML-UI (Manakin) :: Web Application  SUCCESS [7.276s]
[INFO] DSpace LNI :: Web Application . SUCCESS [4.203s]
[INFO] DSpace OAI :: Web Application . SUCCESS [4.589s]
[INFO] DSpace JSP-UI :: Web Application .. SUCCESS [5.691s]
[INFO] DSpace SWORD :: Web Application ... SUCCESS [4.986s]
[INFO] DSpace SOLR :: Web Application  SUCCESS [10.092s]
[INFO] DSpace Assembly and Configuration . SUCCESS [44.539s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:22.092s
[INFO] Finished at: Tue Jan 11 15:12:14 EST 2011
[INFO] Final Memory: 10M/26M
[INFO] 
dev:/home/user/Desktop/dspace-1.7.0-release/dspace# cd
/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
ls
bin  build.xml  CHANGES  config  docs  etc  KNOWN_BUGS  lib  LICENSE
README  solr  webapps
dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
ant fresh_install
Buildfile: build.xml

init_installation:

init_configs:
 [copy] Copying 1 file to /usr/local/dspace/config

test_database:
 [java] 2011-01-11 15:12:49,705 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
 [java] 2011-01-11 15:12:49,724 INFO
org.dspace.core.ConfigurationManager @ Using default log4j provided
log configuration,if unintended, check your dspace.cfg for
(log.init.config)
 [java]
 [java] Attempting to connect to database:
 [java]  - URL: jdbc:postgresql://localhost:5432/dspace
 [java]  - Driver: org.postgresql.Driver
 [java]  - Username: postgres
 [java]  - Password: zsx
 [java]  - Schema: dspace
 [java]
 [java] Testing connection...
 [java] Connected successfully!
 [java]

setup_database:
 [java] 2011-01-11 15:12:51,258 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
 [java] 2011-01-11 15:12:51,264 INFO
org.dspace.core.ConfigurationManager @ Using default log4j provided
log configuration,if unintended, check your dspace.cfg for
(log.init.config)
 [java] 2011-01-11 15:12:51,264 INFO
org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database
 [java] 2011-01-11 15:13:01,503 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
 [java] 2011-01-11 15:13:01,509 INFO
org.dspace.core.ConfigurationManager @ Using default log4j provided
log configuration,if unintended, check your dspace.cfg for
(log.init.config)
 [java] Started: 1294776781495
 [java] Ended: 1294776782197
 [java] Elapsed time: 0 secs (702 msecs)

load_registries:
 [java] 2011-01-11 15:13:02,426 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
 [java] 

[Dspace-tech] Question about the version of JAVA needed for DSpace 1.7

2011-01-11 Thread Thornton, Susan M. (LARC-B702)[LITES]

Hi,
 We are in the process of implementing DSpace 1.7.  The DSpace 
documentation for version 1.7 says:

“DSpace now requires Oracle Java 6 or greater because of usage of new language 
capabilities introduced in 5
and 6 that make coding easier and cleaner….. Only Oracle's Java has been tested 
with each release and is known to work correctly.
Other flavors of Java may pose problems.”


We are currently running DSpace 1.5.1 on a Sun Solaris 10 Unix machine and our 
current version of JAVA is:

java version 1.6.0_07
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)


Do we need a different version of JAVA?  The link in the DSpace doc takes us to 
an Oracle.com download page where it points to:
Java SE 6 Update 23


I guess I’m confused by the language, “other flavors of Java….” since I didn’t 
realize there was any other Java than Oracle Java….???

Thanks in advance,
Sue



Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center|LITES Contract
SGT, Inc.|130 Research Drive
Hampton, Va.  23666
Office: (757) 224-4074
Mobile: (757) 506-9903
Fax: (757) 224-4001
susan.m.thorn...@nasa.gov

inline: image001.jpg--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about the version of JAVA needed for DSpace 1.7

2011-01-11 Thread Peter Dietz
I think thats trying to say we don't recommend the OpenJDK, since it doesn't
have all of the proprietary performance enhancements that come in
Sun/Oracle's flavor.

java version 1.6.0_07

That is Java 6. The version number meant by saying Java 6, means the minor
version number. Java 5 would have been 1.5.x_y. So your Java version is fine
for DSpace 1.7

--
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries



On Tue, Jan 11, 2011 at 4:14 PM, Thornton, Susan M. (LARC-B702)[LITES] 
susan.m.thorn...@nasa.gov wrote:

  Hi,

  We are in the process of implementing DSpace 1.7.  The DSpace
 documentation for version 1.7 says:



 “DSpace now requires *Oracle *Java 6 or greater because of usage of new
 language capabilities introduced in 5

 and 6 that make coding easier and cleaner….. Only Oracle's Java has been
 tested with each release and is known to work correctly.

 Other flavors of Java may pose problems.”





 We are currently running DSpace 1.5.1 on a Sun Solaris 10 Unix machine and
 our current version of JAVA is:



 java version 1.6.0_07

 Java(TM) SE Runtime Environment (build 1.6.0_07-b06)

 Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)





 Do we need a different version of JAVA?  The link in the DSpace doc takes
 us to an Oracle.com download page where it points to:
 Java SE 6 Update 23





 I guess I’m confused by the language, “other flavors of Java….” since I
 didn’t realize there was any other Java than Oracle Java….???



 Thanks in advance,

 Sue



 * *

 * *

 *Sue Walker-Thornton*

 *Software Developer/Database Administrator*

 *NASA Langley Research Center|LITES Contract*

 *SGT, Inc.|130 Research Drive*

 *Hampton, Va.  23666*

 *Office: (757) 224-4074*

 *Mobile: (757) 506-9903*

 *Fax: (757) 224-4001*

 *susan.m.thorn...@nasa.gov*




 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


image001.jpg--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Question about the version of JAVA needed for DSpace 1.7

2011-01-11 Thread Andrea Schweer
Hi Sue,

On 12/01/11 10:14, Thornton, Susan M. (LARC-B702)[LITES] wrote:
 We are currently running DSpace 1.5.1 on a Sun Solaris 10 Unix machine
 and our current version of JAVA is:
 
 java version 1.6.0_07
 Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
 Java HotSpot(TM) Server VM (build 10.0-b23, mixed mode)
 
 Do we need a different version of JAVA?  The link in the DSpace doc
 takes us to an Oracle.com download page where it points to:
 
   Java SE 6 Update 23
 
 I guess I’m confused by the language, “other flavors of Java….” since I
 didn’t realize there was any other Java than Oracle Java….???

You should be fine with the version you have.

There are a bunch of third-party implementations of the Java language
specs (mostly from before the time that Sun/Oracle released their
implementation under a license that is considered 'open enough'). Have a
look here if you want to know more:
http://en.wikipedia.org/wiki/Java_(software_platform)#Licensing

cheers,
Andrea

-- 
Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Failing compilation on debian lenny, PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20, tomcat 5.5

2011-01-11 Thread Tim Donohue
Hi Kocisky,

Your Maven build part is working properly.  I didn't notice you were 
using the 'dspace-1.7.0-release' version (which has pre-compiled code, 
and therefore responds as having built fewer modules).  I had thought 
you were still using the 'dspace-1.7.0-src-release' version.

Here's something else you can try:

(1) From [dspace-src]/dspace/ run this command:
 'mvn clean package'
(WARNING: this will first delete the entire 
/target/dspace-1.7.0-build.dir , before it rebuilds DSpace.)

(2) After DSpace has been rebuilt, edit the following configuration file:

[dspace-src]/dspace/target/dspace-1.7.0-build.dir/config/log4j-console.properties

In that text file, temporarily change the following line:

log4j.rootCategory=INFO, A1

Replace INFO with DEBUG like this:

log4j.rootCategory=DEBUG, A1

This changes the logging mode to debug. That means that the DSpace 
installer will now report a lot more information to you about what is 
going on while DSpace is being installed.

(3) Finally, re-run the 'ant fresh_install' command.

This time, you should see a ton of extra information be logged to your 
command line (since you are now in debug mode).  Once it errors out 
again, please email us the lines just *before* that error message.  This 
time, those lines should include extra information on what is happening 
and what exact command the install process is failing on.

Hopefully this extra information can help us figure out what could be 
going wrong in your DSpace installation.

- Tim

On 1/11/2011 2:31 PM, Kocisky wrote:
 Hi Tim,

 thank you for your reply, i've followed your suggestions but didn't
 got many results, see below:

 DSpace 1.7 actually comes packaged with the PostgreSQL JDBC driver it needs
 to use.  You do not need to install a separate JDBC driver (in fact, you may
 want to remove what you installed, to make sure it doesn't cause any
 conflicts).

 great, i've removed that package


 The full installation prerequisites  instructions are at:

 https://wiki.duraspace.org/display/DSDOC/Installation

 i was following the doc in the pkg, thanks also for this !


 Also be aware that you will need Maven 2.2.x or above to properly build
 DSpace 1.7.0.  We've discovered an error in builds with Maven 2.0.x -- see
 the above link for more details (look under the prerequisites software
 section)

 i'm now using apache-maven 3.0.1 but have the same syntax problem, see below


 Your version of Maven actually may be part of the problem.  After the Maven
 build, it seems you don't receive a full summary of all modules being built
 properly.  Double check that you are running 'mvn package' from the
 [dspace-src]/dspace/ directory.  The results of a successful build should
 report similar to this (notice how many more modules were built -- you only
 had 8 listed in your logs below):

 maybe i have less packages because i'm not compiling the source but
 the slim package with pre-compiled modules?
 here the last build with maven version:

 [INFO] Copying 1394 files to
 /home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
 [INFO] 
 
 [INFO] Reactor Summary:
 [INFO]
 [INFO] DSpace Addon Modules .. SUCCESS [0.385s]
 [INFO] DSpace XML-UI (Manakin) :: Web Application  SUCCESS [7.276s]
 [INFO] DSpace LNI :: Web Application . SUCCESS [4.203s]
 [INFO] DSpace OAI :: Web Application . SUCCESS [4.589s]
 [INFO] DSpace JSP-UI :: Web Application .. SUCCESS [5.691s]
 [INFO] DSpace SWORD :: Web Application ... SUCCESS [4.986s]
 [INFO] DSpace SOLR :: Web Application  SUCCESS [10.092s]
 [INFO] DSpace Assembly and Configuration . SUCCESS [44.539s]
 [INFO] 
 
 [INFO] BUILD SUCCESS
 [INFO] 
 
 [INFO] Total time: 1:22.092s
 [INFO] Finished at: Tue Jan 11 15:12:14 EST 2011
 [INFO] Final Memory: 10M/26M
 [INFO] 
 
 dev:/home/user/Desktop/dspace-1.7.0-release/dspace# cd
 /home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir
 dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
 ls
 bin  build.xmlCHANGES  config  docs  etc  KNOWN_BUGS  lib  LICENSE
 README  solr  webapps
 dev:/home/user/Desktop/dspace-1.7.0-release/dspace/target/dspace-1.7.0-build.dir#
 ant fresh_install
 Buildfile: build.xml

 init_installation:

 init_configs:
   [copy] Copying 1 file to /usr/local/dspace/config

 test_database:
   [java] 2011-01-11 15:12:49,705 INFO
 org.dspace.core.ConfigurationManager @ Loading system provided config
 property (-Ddspace.configuration): config/dspace.cfg
   [java] 2011-01-11 15:12:49,724 INFO
 

Re: [Dspace-tech] Failing compilation on debian lenny, PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20, tomcat 5.5

2011-01-11 Thread Kocisky
Tim, i think that the DEBUG flag is not helping us much, in the mean
while i've tried also to update ant to 1.8.2 but nothing...
should we enable other debug flags? maybe in org.postgresql.util package ?

thank you,
K

[java] 2011-01-11 17:19:37,432 DEBUG
org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
bi_4_dis_value_idx ON bi_4_dis(value)  with parameters:
 [java] 2011-01-11 17:19:37,433 DEBUG
org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
bi_4_dis_uvalue_idx ON bi_4_dis(UPPER(value))  with parameters:
 [java] 2011-01-11 17:19:37,435 DEBUG
org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
bi_4_dmap_item_id_idx ON bi_4_dmap(item_id)  with parameters:
 [java] 2011-01-11 17:19:37,436 DEBUG
org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
bi_4_dmap_dist_idx ON bi_4_dmap(distinct_id)  with parameters:
 [java] Started: 1294784376950
 [java] Ended: 1294784377438
 [java] Elapsed time: 0 secs (488 msecs)

load_registries:
 [java] 2011-01-11 17:19:38,273 INFO
org.dspace.core.ConfigurationManager @ Loading system provided config
property (-Ddspace.configuration): config/dspace.cfg
 [java] 2011-01-11 17:19:38,281 INFO
org.dspace.core.ConfigurationManager @ Using default log4j provided
log configuration,if unintended, check your dspace.cfg for
(log.init.config)
 [java] 2011-01-11 17:19:39,283 DEBUG
org.dspace.storage.rdbms.DatabaseManager @ Running query INSERT INTO
bitstreamformatregistry ( ) VALUES ( ) RETURNING null
 [java] 2011-01-11 17:19:39,292 FATAL
org.dspace.administer.RegistryLoader @
anonymous::error_loading_registries:
 [java] org.postgresql.util.PSQLException: ERROR: syntax error at
or near )
 [java] at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
 [java] at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
 [java] at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
 [java] at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
 [java] at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
 [java] at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:258)
 [java] at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 [java] at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
 [java] at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeError:
 [java]  - ERROR: syntax error at or near )
 [java] Query(DelegatingPreparedStatement.java:96)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.doInsertPostgres(DatabaseManager.java:1755)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
 [java] at
org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:451)
 [java] at
org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
 [java] at
org.dspace.administer.RegistryLoader.loadFormat(RegistryLoader.java:172)
 [java] at
org.dspace.administer.RegistryLoader.loadBitstreamFormats(RegistryLoader.java:138)
 [java] at
org.dspace.administer.RegistryLoader.main(RegistryLoader.java:75)

BUILD FAILED
/home/user/Desktop/dspace-1.7.0-src-release/dspace/target/dspace-1.7.0-build.dir/build.xml:809:
Java returned: 1

Total time: 13 seconds

On 11 January 2011 16:31, Tim Donohue tdono...@duraspace.org wrote:
 Hi Kocisky,

 Your Maven build part is working properly.  I didn't notice you were using
 the 'dspace-1.7.0-release' version (which has pre-compiled code, and
 therefore responds as having built fewer modules).  I had thought you were
 still using the 'dspace-1.7.0-src-release' version.

 Here's something else you can try:

 (1) From [dspace-src]/dspace/ run this command:
    'mvn clean package'
 (WARNING: this will first delete the entire /target/dspace-1.7.0-build.dir ,
 before it rebuilds DSpace.)

 (2) After DSpace has been rebuilt, edit the following configuration file:

 [dspace-src]/dspace/target/dspace-1.7.0-build.dir/config/log4j-console.properties

 In that text file, temporarily change the following line:

 log4j.rootCategory=INFO, A1

 Replace INFO with DEBUG like this:

 log4j.rootCategory=DEBUG, A1

 This changes the logging mode to debug. That means that the DSpace
 installer will now report a lot more information to you about what is going
 on while DSpace is being installed.

 (3) Finally, re-run the 'ant fresh_install' command.

 This time, you should see a ton of extra information be logged to your
 command line (since you are now in debug mode).  Once it errors out again,
 please email us the lines just *before* that error message.  This time,
 those lines should 

Re: [Dspace-tech] Failing compilation on debian lenny, PostgreSQL 8.3.12, libpg-java 8.2-504-2, java version 1.6.0_20, tomcat 5.5

2011-01-11 Thread Tim Donohue
Kocisky,

Actually those logs are helpful.  It shows me that for some reason your 
install process is not able to load data into your 
'bitstreamformatregistry' table.

Can you check to make sure this table is created properly in your DB?

It should be created with the following columns:

bitstream_format_id integer NOT NULL,
mimetype character varying(256),
short_description character varying(128),
description text,
support_level integer,
internal boolean

You also may want to look at your PostgreSQL log files, to see if it has 
reported any errors.

 From your logged output, it looks like DSpace is not able to determine 
the columns in this 'bitstreamformatregistry' table.  That's why you see:

[java] 2011-01-11 17:19:39,283 DEBUG 
org.dspace.storage.rdbms.DatabaseManager @ Running query INSERT INTO 
bitstreamformatregistry ( ) VALUES ( ) RETURNING null

In a successful install, you should instead see a long listing of 
similar INSERT queries, which look like this:

[java] 2011-01-11 16:58:27,896 DEBUG 
org.dspace.storage.rdbms.DatabaseManager @ Running query INSERT INTO 
bitstreamformatregistry ( 
mimetype,short_description,description,support_level,bitstream_format_id,internal)
 
VALUES ( ?,?,?,?,getnextid('bitstreamformatregistry'),?) RETURNING 
bitstream_format_id

These insert queries should be run for *every* entry in the 
dspace/config/registries/bitstream-formats.xml file.  Unfortunately, 
your install process is erroring out on the first insert, which likely 
means something may be wrong with your database or your database (db.*) 
settings in the dspace.cfg.

Let us know what you find out!

- Tim


On 1/11/2011 4:35 PM, Kocisky wrote:
 Tim, i think that the DEBUG flag is not helping us much, in the mean
 while i've tried also to update ant to 1.8.2 but nothing...
 should we enable other debug flags? maybe in org.postgresql.util package ?

 thank you,
 K

 [java] 2011-01-11 17:19:37,432 DEBUG
 org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
 bi_4_dis_value_idx ON bi_4_dis(value)  with parameters:
   [java] 2011-01-11 17:19:37,433 DEBUG
 org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
 bi_4_dis_uvalue_idx ON bi_4_dis(UPPER(value))  with parameters:
   [java] 2011-01-11 17:19:37,435 DEBUG
 org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
 bi_4_dmap_item_id_idx ON bi_4_dmap(item_id)  with parameters:
   [java] 2011-01-11 17:19:37,436 DEBUG
 org.dspace.storage.rdbms.DatabaseManager @ Running query CREATE INDEX
 bi_4_dmap_dist_idx ON bi_4_dmap(distinct_id)  with parameters:
   [java] Started: 1294784376950
   [java] Ended: 1294784377438
   [java] Elapsed time: 0 secs (488 msecs)

 load_registries:
   [java] 2011-01-11 17:19:38,273 INFO
 org.dspace.core.ConfigurationManager @ Loading system provided config
 property (-Ddspace.configuration): config/dspace.cfg
   [java] 2011-01-11 17:19:38,281 INFO
 org.dspace.core.ConfigurationManager @ Using default log4j provided
 log configuration,if unintended, check your dspace.cfg for
 (log.init.config)
   [java] 2011-01-11 17:19:39,283 DEBUG
 org.dspace.storage.rdbms.DatabaseManager @ Running query INSERT INTO
 bitstreamformatregistry ( ) VALUES ( ) RETURNING null
   [java] 2011-01-11 17:19:39,292 FATAL
 org.dspace.administer.RegistryLoader @
 anonymous::error_loading_registries:
   [java] org.postgresql.util.PSQLException: ERROR: syntax error at
 or near )
   [java]  at
 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1531)
   [java]  at
 org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1313)
   [java]  at
 org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:188)
   [java]  at
 org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
   [java]  at
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:354)
   [java]  at
 org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:258)
   [java]  at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
   [java]  at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
   [java]  at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeError:
   [java]  - ERROR: syntax error at or near )
   [java] Query(DelegatingPreparedStatement.java:96)
   [java]  at
 org.dspace.storage.rdbms.DatabaseManager.doInsertPostgres(DatabaseManager.java:1755)
   [java]  at
 org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:675)
   [java]  at
 org.dspace.storage.rdbms.DatabaseManager.create(DatabaseManager.java:451)
   [java]  at
 org.dspace.content.BitstreamFormat.create(BitstreamFormat.java:403)
   [java]  at