[Dspace-tech] How to restrict the anonymous user for dspace

2011-01-19 Thread thandu venkat narayana
Dear all,
 
I am using Dspace 1.7.0 on wondows platform.
 
I wish to create a login interface for dspace, to restrict the anonymous users. 
Is it possible?
 
Regards,
Venkat

--
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] Dspace 1.7 Date format

2011-01-19 Thread Wellaway, Ian
Hi,

Any idea how to change the date format in Dspace 1.6 from 2011-01-18 to 
17-Jan-2011 ?

Thanks

Ian



Ian Wellaway
Senior Web Services Developer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852



--
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] pdf thumbnail using xpdf:Dspace manual 5.3.2.5. Build and Install

2011-01-19 Thread इन्‍दु भूषण Indu Bhushan
Dear sir,

Thanks for your help.Now 90% work is over only i have run ant (*5.3.2.5.
Build and Install*).
i want to know that i have to run ant as root or dspace.  i did following.

[dspace@library-1 dspace-1.6.2-build.dir]$ cp -R /dspace/webapps/*
/diglib/tomcat/webapps/
[dspace@library-1 dspace-1.6.2-build.dir]$ ant -Dconfig=etc. ...
Buildfile: /diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml
*BUILD FAILED
*/diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml:86: Source
resource does not exist:
/diglib/dspace/dspace/target/dspace-1.6.2-build.dir/etc.
Total time: 0 seconds

Please reply soon i am one reply away from the pdf thumnail in Dspace

With Regards

Indu Bhushan
RRCAT Library
--
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] Dspace 1.7 Date format

2011-01-19 Thread Claudia Jürgen
Hello Ian,

there are utility methods to retrieve dates in a suitable display 
format, as e.g. it is done in the browse listings, take a look at
[dspace-source]/dspace-api/src/main/java/org/dspace/content/DCDate.java 
and the respective utility classes for jspui and xmlui.

Hope that helps

Claudia Jürgen



Am 19.01.2011 09:30, schrieb Wellaway, Ian:
 Hi,

 Any idea how to change the date format in Dspace 1.6 from 2011-01-18 to 
 17-Jan-2011 ?

 Thanks

 Ian

 

 Ian Wellaway
 Senior Web Services Developer
 Academic Systems
 Exeter IT

 Room 909, Laver Building
 University of Exeter
 EX4 4QE
 UK

 tel +44 1392 722852



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

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
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] Maximum item limit in postgresql

2011-01-19 Thread dspace nsu
Dear Sir,
I want to know the maximum items limit of the dspace. I am using postgresql
database. Can I store 1 million items?
Thank
--
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] Problem in installation Dspace v.1.7.0

2011-01-19 Thread David
Hi, everyone!

We have just done some test and xmlui interface starts to work but only the
main page. It seems we have some kind of error connecting to database:

Thanks in advance to everyone

David


19-Jan-2011 11:01:13 org.apache.catalina.core.StandardContext listenerStop
SEVERE: Exception sending context destroyed event to listener instance of
class org.dspace.app.util.DSpaceContextListener
java.lang.NoClassDefFoundError: org/dspace/storage/rdbms/DatabaseManager
at
org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:129)
at
org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1046)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException:
org.dspace.storage.rdbms.DatabaseManager
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
... 13 more
19-Jan-2011 11:01:13 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/sword]


On 18 January 2011 17:22, Tim Donohue tdono...@duraspace.org wrote:

 David,

 We might need some more information (at least, I'm not familiar with where
 this error may be occurring)

 When are you seeing this error message?  Is it when you visit Tomcat for
 the first time?  Are you using the JSPUI?

 Can you provide more of the error stack (i.e. the error lines just below
 that one)?  Oftentimes seeing a fuller error stack can help us 'triangulate'
 what may be going on, so that we can make better suggestions.

 - Tim


 On 1/17/2011 4:02 AM, David wrote:

 Forgot to include all specifications, sorry


OS:

 Debian 64


Tomcat:

 Server version: Apache Tomcat/6.0.18
 Server built: Jul 22 2008 02:00:36
 Server number: 6.0.18.0
 OS Name: Linux
 OS Version: 2.6.32-5-amd64
 Architecture: amd64
 JVM Version: 1.6.0_22-b04
 JVM Vendor: Sun Microsystems Inc.


PostgreSQL 8.4


java version 1.6.0_22

 Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
 Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)


Apache Ant

 version 1.8.0 compiled on March 11 2010


Maven

 Apache Maven 2.2.1 (rdebian-4)
 Java version: 1.6.0_22
 Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
 Default locale: en_GB, platform encoding: UTF-8
 OS name: linux version: 2.6.32-5-amd64 arch: amd64 Family: unix


 On 17 January 2011 10:59, David david.blobj...@gmail.com
 mailto:david.blobj...@gmail.com wrote:

We are having problems installing dspace v.1.7.0

Apache Maven 2.2.1 (rdebian-4)
Java version: 1.6.0_22
Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: linux version: 2.6.32-5-amd64 arch: amd64 Family: unix

Got this error message:

/org.apache.jasper.JasperException: The absolute uri:
//http://www.dspace.org/dspace-tags.tld// cannot be resolved in
either web.xml or the jar files deployed with this application/
/
/
Can anybody help us?

Thanks!






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

Re: [Dspace-tech] Problem in installation Dspace v.1.7.0

2011-01-19 Thread David
Hi, everyone!

We have edtected we have not configured dpsce.cfg correctly, we solved this.
Now we get this message trying to access to http://url:8080/jspui

Thanks!

David


INFO: Server startup in 15186 ms
[WARN] deprecation - The 'component-configurations' section in the sitemap
is deprecated. Please check for alternatives.
19-Jan-2011 12:20:21 org.apache.catalina.connector.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request
processing
java.lang.OutOfMemoryError: PermGen space
at java.lang.Throwable.getStackTraceElement(Native Method)
at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
at java.lang.Throwable.printStackTrace(Throwable.java:510)
at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:72)
at org.apache.juli.FileHandler.publish(FileHandler.java:129)
at java.util.logging.Logger.log(Logger.java:458)
at java.util.logging.Logger.doLog(Logger.java:480)
at java.util.logging.Logger.logp(Logger.java:680)
at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167)
at org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:662)



On 19 January 2011 11:34, David david.blobj...@gmail.com wrote:

 Hi, everyone!

 We have just done some test and xmlui interface starts to work but only the
 main page. It seems we have some kind of error connecting to database:

 Thanks in advance to everyone

 David


 19-Jan-2011 11:01:13 org.apache.catalina.core.StandardContext listenerStop
 SEVERE: Exception sending context destroyed event to listener instance of
 class org.dspace.app.util.DSpaceContextListener
 java.lang.NoClassDefFoundError: org/dspace/storage/rdbms/DatabaseManager
 at
 org.dspace.app.util.DSpaceContextListener.contextDestroyed(DSpaceContextListener.java:129)
 at
 org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3882)
 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4523)
 at
 org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
 at
 org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1046)
 at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
 at
 org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
 at
 org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at
 org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
 at
 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
 at
 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
 at
 org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
 at java.lang.Thread.run(Thread.java:662)
 Caused by: java.lang.ClassNotFoundException:
 org.dspace.storage.rdbms.DatabaseManager
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
 at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
 ... 13 more
 19-Jan-2011 11:01:13 org.apache.catalina.startup.HostConfig checkResources
 INFO: Undeploying context [/sword]


 On 18 January 2011 17:22, Tim Donohue tdono...@duraspace.org wrote:

 David,

 We might need some more information (at least, I'm not familiar with where
 this error may be occurring)

 When are you seeing this error message?  Is it when you visit Tomcat for
 the first time?  Are you using the JSPUI?

 Can you provide more of the error stack (i.e. the error lines just below
 that one)?  Oftentimes seeing a fuller error stack can help us 'triangulate'
 what may be going on, so that we can make better suggestions.

 - Tim


 On 1/17/2011 4:02 AM, David wrote:

 Forgot to include all specifications, sorry


OS:

 Debian 64


Tomcat:

 Server version: Apache Tomcat/6.0.18
 Server built: Jul 22 2008 02:00:36
 Server number: 6.0.18.0
 OS Name: Linux
 OS Version: 2.6.32-5-amd64
 Architecture: amd64
 JVM Version: 1.6.0_22-b04
 JVM Vendor: Sun Microsystems Inc.


PostgreSQL 8.4


java version 1.6.0_22

 Java(TM) SE 

Re: [Dspace-tech] TIFF Thumbnail Preview

2011-01-19 Thread Keith Gilbertson
Scott - 

It's been a while since I've done this anywhere.  I'm a bit fuzzy on it and 
looks like I may have left out some details in the original message.

- Did you deploy the updated dspace.cfg file to your installation directory?

- Do the file extensions of your TIFF files match the file extensions that you 
added to the bitstream format registry?

- Were the TIFF bitstreams added to DSpace before or after you added the TIFF 
format to the bitstream format registry?  If the bitstreams were added before 
you made the changes, you will need to go back into the items and edit the 
bitstreams. Change the formats from application/octet-stream to image/tiff.  
Then try running filter-media again.


--keith


On Jan 18, 2011, at 12:21 PM, RENTON Scott wrote:

 Hi folks,
 
 I'm running 1.5.2 and have had a request from a user for TIFFs to have 
 thumbnails generated to appear in their lists as previews. I followed the 
 instructions in this thread ( 
 http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg03180.html), 
 getting the dspace.cfg file updated, MIME types updated, and the Java tools 
 installed to the server, but I'm not seeing the output of filter-media 
 attempt to convert these items. Is there anything else I should be doing?
 
 Thanks very much
 Scott
 
 
 -- 
 The University of Edinburgh is a charitable body, registered in
 Scotland, with registration number SC005336.
 


--
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] Troubleshooting the harvester

2011-01-19 Thread Chris Charles
Hi DSpace folks:

I'm trying to troubleshoot the harvesting process using DSpace 1.6.2
XMLUI. It generally works fine, but for one of our internal services I'm
not having any luck. I've tried harvesting other sites running the same
software [1] (though possibly a different version) and it *does* work. At
this point I'm just trying to figure out why ours won't harvest.

I'm receiving the error message * OAI server could not be reached.,
which isn't terribly helpful. I'm unable to find anything relevant in
either the dspace.log or catalina.log. Note that I am able to query the
software via my web browser and retrieve valid (looking) XML. Sometimes
this flakes out, though, so I'm thinking the problem is on that end.

It looks to me like the actual harvesting in DSpace is done by the
third-party OCLC OAIHarvester2. Unfortunately, when I changed my log4j
root logger to DEBUG I still didn't get anything useful in the logs.

Furthermore, the CLI harvesting tool hasn't been helpful in
troubleshooting this either. The ping option doesn't do anything at all
[2] and the one-time harvest feature doesn't seem to print anything out.
The CLI tool always returns 0.

Does anybody have suggestions for how to better troubleshoot this problem?
Any insight would be appreciated.

[1] Desire2learn's Learning Repository
http://www.desire2learn.com/learningrepository/.
[2] Search for 'ping.equals' at
http://scm.dspace.org/svn/repo/dspace/trunk/dspace-api/src/main/java/org/d
space/app/harvest/Harvest.java. This is the 1.7.0 code, but it's similar
in 1.6.2.

Thanks,
~Chris
--
Chris Charles
Application Programmer/Analyst II
Research Enterprise and Scholarly Communication
University of Guelph Library
519-824-4120 x52974



--
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] Problem in installation Dspace v.1.7.0

2011-01-19 Thread Mark H. Wood
On Wed, Jan 19, 2011 at 01:30:30PM +0100, David wrote:
 Hi, everyone!
 
 We have edtected we have not configured dpsce.cfg correctly, we solved this.
 Now we get this message trying to access to http://url:8080/jspui
 
 Thanks!
 
 David
 
 
 INFO: Server startup in 15186 ms
 [WARN] deprecation - The 'component-configurations' section in the sitemap
 is deprecated. Please check for alternatives.

Everybody gets this.  Not to worry.

 19-Jan-2011 12:20:21 org.apache.catalina.connector.CoyoteAdapter service
 SEVERE: An exception or error occurred in the container during the request
 processing
 java.lang.OutOfMemoryError: PermGen space

This is the problem.  The Java Virtual Machine in which Tomcat runs
doesn't have enough memory set aside for holding class bodies
(essentially, program code) and the like.  Check the way Tomcat is
started up, especially the value of the environment variable JAVA_OPTS
if you have one.  I suspect that -XX:MaxPermSize is set very low.  You
may have left out a scale factor, such as writing MaxPermSize=512
rather than MaxPermSize=512M.  (That is:  bytes rather than megabytes.)

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


pgphcouaefllI.pgp
Description: PGP signature
--
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] Where should I do configuration update?

2011-01-19 Thread Sergio Belkin
Hi,,

I've read on documentation of v1.5.1:

Note that this does mean there are multiple copies of the compiled DSpace
code and third-party libraries in the system, so care must be taken to
ensure that they are all in sync. (The storage overhead is a few megabytes,
totally insignificant these days.) In general, when you change any DSpace
code or JSP, it's best to do a complete update of both the installation (
[dspace]), and to rebuild and redeploy the Web UI and OAI .war files, by
running this in [dspace-source]:

ant -D* [dspace]*/config/dspace.cfg update

and then following the instructions that command writes to the console.

http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43


However on Chapter 9 it states:

   1.

   Re-install the DSpace WAR(s) to [dspace]/webapps by running the following
   command from your
[dspace-source]/dspace/target/dspace-[version].dirdirectory:

   ant -Dconfig=* [dspace-source]*/config/dspace.cfg
update


http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43

So my question is what's the right location where I should update: either
from source directory or target directory?

Thanks in advance!


-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified


-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified
--
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] Editing metadata for items deposited with SWORD

2011-01-19 Thread Kristian Roberto Salcedo
Hi all,

If I understand the sword profile correctly:

http://www.swordapp.org/docs/sword-profile-1.3.html#b.9

it is possible to return an atom:link attribute with a
rel=edit attribute, as part of the Atom Entry Document
returned after a successful SWORD deposit.

The sword profile further states that:
SWORD makes no further recommendations about what this link element should
resolve to; examples might include a jump-off page, users private metadata
or workflow management page. This link MAY allow authorized users to make
further edits to the atom, or other, metadata.

Has anyone made use of this possibility, for example in order
to provide a link to a workflow management page where metadata
about the deposited item can be edited ?

regards,
Kristian

--
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] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Fred Edwards
as a test, I've recently added a browse index to our dspace and initially it
correctly added the items to the nav. panel...

however, after removing the browse index in the config file the nav panel is
now doing weird things.

at the top level it is retaining menu items for browse that is no longer
there and clicking leads to an error page obviously...

go down a level or two into communities and collections you start finding
the nav panel in some areas do not show these links, others do...

I've recompiled countless times... re-indexed countless times...
re-initialized the index countless times...

the last go I re-added the browse indexes and still the same situation... in
some places on... in others off...

we have a quasi live collection or two in the server, and no test server
currently, so we'd rather not have to completely rebuild...

I'm also loath to:  ant fresh_install   without getting some feedback from
the community on how safe this would be...






Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--
--
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] pdf thumbnail using xpdf:Dspace manual 5.3.2.5. Build and Install

2011-01-19 Thread Tim Donohue
Hi Indu,

Those instructions were unfortunately slightly incomplete.

The 'ant' command you should be running is:

ant -Dconfig=[dspace]/config/dspace.cfg update

Make sure to replace [dspace] with the full path of your current 
DSpace installation.  So, if DSpace is installed at '/usr/local/dspace', 
you would run:

ant -Dconfig=/usr/local/dspace/config/dspace.cfg update

This mistake in the Documentation has been fixed in our online Docs at:
https://wiki.duraspace.org/display/DSDOC/Configuration#Configuration-BuildandInstall

Good luck,

- Tim

On 1/19/2011 3:35 AM, इन्‍दु भूषण Indu Bhushan wrote:


 Dear sir,
 Thanks for your help.Now 90% work is over only i have run ant (*5.3.2.5.
 Build and Install*).
 i want to know that i have to run ant as root or dspace.  i did following.
 [dspace@library-1 dspace-1.6.2-build.dir]$ cp -R /dspace/webapps/*
 /diglib/tomcat/webapps/
 [dspace@library-1 dspace-1.6.2-build.dir]$ ant -Dconfig=etc. ...
 Buildfile: /diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml
 *BUILD FAILED
 */diglib/dspace/dspace/target/dspace-1.6.2-build.dir/build.xml:86:
 Source resource does not exist:
 /diglib/dspace/dspace/target/dspace-1.6.2-build.dir/etc.
 Total time: 0 seconds
 Please reply soon i am one reply away from the pdf thumnail in Dspace
 With Regards
 Indu Bhushan
 RRCAT Library




 --
 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] Where should I do configuration update?

2011-01-19 Thread Mark H. Wood
On Wed, Jan 19, 2011 at 11:47:48AM -0300, Sergio Belkin wrote:
 Hi,,
 
 I've read on documentation of v1.5.1:
 
 Note that this does mean there are multiple copies of the compiled DSpace
 code and third-party libraries in the system, so care must be taken to
 ensure that they are all in sync. (The storage overhead is a few megabytes,
 totally insignificant these days.) In general, when you change any DSpace
 code or JSP, it's best to do a complete update of both the installation (
 [dspace]), and to rebuild and redeploy the Web UI and OAI .war files, by
 running this in [dspace-source]:
 
 ant -D* [dspace]*/config/dspace.cfg update

If you enter that when in [dspace-source], Ant will complain that
there is no build.xml.  Here the documentation is in error.  Thanks
for discovering that.  It's also incorrect in that the command should
be:

  ant -Dconfig=[dspace]/config/dspace.cfg update

 and then following the instructions that command writes to the console.
 
 http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43
 
 
 However on Chapter 9 it states:
 
1.
 
Re-install the DSpace WAR(s) to [dspace]/webapps by running the following
command from your
 [dspace-source]/dspace/target/dspace-[version].dirdirectory:
 
ant -Dconfig=* [dspace-source]*/config/dspace.cfg
   update

[dspace-source]/dspace/target/dspace-[version].dir is the correct
directory.  You should find a 'build.xml' there.  Ant will assume that
it is to get things relative to your current directory, and the
'config' property points to a file which will tell Ant where to put
them.

 
 http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43

I don't find that text there.  Was this meant to cite a different
version of the documentation?

 So my question is what's the right location where I should update: either
 from source directory or target directory?

The target in [dspace-source]/dspace/target is a different use of
the word.  Notice that it is beneath [dspace-source] so you are in the
source tree.  The build tool (maven) assembles a project into a
directory target within that project's directory (sub)tree during
the *build* procedure.  This has no connection with [dspace] being the
target of the *installation* procedure.  The confusion of terms is
unfortunate.

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


pgpA8Hq5tIbA9.pgp
Description: PGP signature
--
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] Submitting only metadata

2011-01-19 Thread Wellaway, Ian
Hi everyone,

When submitting in Dspace, the choosing of a file to submit is madatory. Can 
Dspace be configured so only a metadata record can be submitted with no 
accompanying item?

Thanks

Ian



Ian Wellaway
Senior Web Services Developer
Academic Systems
Exeter IT

Room 909, Laver Building
University of Exeter
EX4 4QE
UK

tel +44 1392 722852

--
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] Submitting only metadata

2011-01-19 Thread Claudia Jürgen
Hello Ian,

this is configurable with the dspace.cfg setting:

# Whether or not we REQUIRE that a file be uploaded
# during the 'Upload' step in the submission process
# Defaults to true; If set to 'false', submitter has option to skip upload
#webui.submit.upload.required = true

change this to
webui.submit.upload.required = false

Hope this helps

Claudia Jürgen


Am 19.01.2011 16:15, schrieb Wellaway, Ian:
 Hi everyone,

 When submitting in Dspace, the choosing of a file to submit is
 madatory. Can Dspace be configured so only a metadata record can be
 submitted with no accompanying item?

 Thanks

 Ian

 

 Ian Wellaway Senior Web Services Developer Academic Systems Exeter
 IT

 Room 909, Laver Building University of Exeter EX4 4QE UK

 tel +44 1392 722852

 --


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

-- 
Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

--
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] Maximum item limit in postgresql

2011-01-19 Thread Tim Donohue
There is no known maximum limit to the number of items you can store 
in DSpace.

However, as you store more items in DSpace, you will likely eventually 
need to upgrade to a more powerful server (with more memory and 
processing power). You will also want to pay closer attention to our 
Performance Tuning suggestions on the DSpace Wiki:
https://wiki.duraspace.org/display/DSPACE/HowToPerformanceTuneForDspace

Performance Tuning becomes much more important as you start to approach 
storing 1/2-1 million items. Without any performance tuning, it's highly 
likely DSpace would begin to slow down as you add more and more items.

We've made recent improvements to the scalability and performance of 
DSpace in version 1.7.0. So, using DSpace 1.7.0, you should see better 
overall scalability (and you should be able to run a larger-sized DSpace 
on a reasonable sized server). However, even with DSpace 1.7.0, we 
highly recommend looking into the above performance tuning suggestions 
to ensure optimum performance out of your DSpace installation.

Let us know if you have more questions. I'm sure others with larger 
sized DSpace installs may be able to offer you additional suggestions.

- Tim

On 1/19/2011 4:33 AM, dspace nsu wrote:
 Dear Sir,
 I want to know the maximum items limit of the dspace. I am using
 postgresql database. Can I store 1 million items?
 Thank



 --
 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] Problem in installation Dspace v.1.7.0

2011-01-19 Thread Tim Donohue
Hi David,

Also see the following Performance Tuning page on our wiki for 
suggestions on how to avoid 'PermGen space' errors:

https://wiki.duraspace.org/display/DSPACE/HowToPerformanceTuneForDspace

As of DSpace 1.7.0, we recommend the following minimums for optimal 
DSpace performance:

Java Heap Memory (-Xmx and -Xms) should be set to =512MB
Java PermGen Memory (-XX:MaxPermSize) should be set to =128MB

Again, these are the *minimums* we recommend for optimal performance (it 
may be possible to run on less memory, but performance will not be 
optimal).  Also, if your DSpace will be storing lots of items or having 
a lot of simultaneous users, you actually may need to increase these values.

Instructions on how to set those are on the above wiki page.

- Tim

On 1/19/2011 8:20 AM, Mark H. Wood wrote:

 19-Jan-2011 12:20:21 org.apache.catalina.connector.CoyoteAdapter service
 SEVERE: An exception or error occurred in the container during the request
 processing
 java.lang.OutOfMemoryError: PermGen space

 This is the problem.  The Java Virtual Machine in which Tomcat runs
 doesn't have enough memory set aside for holding class bodies
 (essentially, program code) and the like.  Check the way Tomcat is
 started up, especially the value of the environment variable JAVA_OPTS
 if you have one.  I suspect that -XX:MaxPermSize is set very low.  You
 may have left out a scale factor, such as writing MaxPermSize=512
 rather than MaxPermSize=512M.  (That is:  bytes rather than megabytes.)

--
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] Maven failure for 1.6.2

2011-01-19 Thread Jeffrey Trimble
I just attempted to compile and assemble 1.6.2 for an update.  I got the 
following at the end.  We are
running maven 2.0.9 and java 1.6  Do I need to probably upgrade maven?

[INFO] 
[INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
[INFO]task-segment: [package]
[INFO] 
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net
[INFO] artifact org.dspace:dspace-api-lang: checking for updates from central
[WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' could 
not be retrieved from repository: central due to an error: Error transferring 
file
[INFO] Repository 'central' will be blacklisted
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

No versions are present in the repository for the artifact with a range 
[1.6.0.0,1.7.0.0)
  org.dspace:dspace-api-lang:jar:null

from the specified remote repositories:
  java.net (http://download.java.net/maven/2),
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 40 seconds
[INFO] Finished at: Wed Jan 19 11:25:37 EST 2011
[INFO] Final Memory: 27M/49M
[INFO] 


Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
For he is the Kwisatz Haderach...


--
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] Maven failure for 1.6.2

2011-01-19 Thread Jeffrey Trimble
Never mind...it seems that our internet here burped and cause the calamity.

Please ignore the man behind the curtain.

--Jeff

On Jan 19, 2011, at 11:29 AM, Jeffrey Trimble wrote:

 I just attempted to compile and assemble 1.6.2 for an update.  I got the 
 following at the end.  We are
 running maven 2.0.9 and java 1.6  Do I need to probably upgrade maven?
 
 [INFO] 
 
 [INFO] Building DSpace XML-UI (Manakin) :: API and Core Aspects
 [INFO]task-segment: [package]
 [INFO] 
 
 [INFO] [resources:resources]
 [INFO] Using default encoding to copy filtered resources.
 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from java.net
 [INFO] artifact org.dspace:dspace-api-lang: checking for updates from central
 [WARNING] repository metadata for: 'artifact org.dspace:dspace-api-lang' 
 could not be retrieved from repository: central due to an error: Error 
 transferring file
 [INFO] Repository 'central' will be blacklisted
 [INFO] 
 
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 
 No versions are present in the repository for the artifact with a range 
 [1.6.0.0,1.7.0.0)
  org.dspace:dspace-api-lang:jar:null
 
 from the specified remote repositories:
  java.net (http://download.java.net/maven/2),
  maven.dspace.org-snapshot (http://maven.dspace.org/snapshot),
  central (http://repo1.maven.org/maven2)
 
 
 [INFO] 
 
 [INFO] For more information, run Maven with the -e switch
 [INFO] 
 
 [INFO] Total time: 40 seconds
 [INFO] Finished at: Wed Jan 19 11:25:37 EST 2011
 [INFO] Final Memory: 27M/49M
 [INFO] 
 
 
 
 Jeffrey Trimble
 System LIbrarian
 William F.  Maag Library
 Youngstown State University
 330.941.2483 (Office)
 jatrim...@ysu.edu
 http://www.maag.ysu.edu
 http://digital.maag.ysu.edu
 For he is the Kwisatz Haderach...
 
 
 --
 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

Jeffrey Trimble
System LIbrarian
William F.  Maag Library
Youngstown State University
330.941.2483 (Office)
jatrim...@ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
For he is the Kwisatz Haderach...


--
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] Trouble deleting items in dspace 1.6.2

2011-01-19 Thread Harish Maringanti
We are having trouble deleting items in 1.6.2. I looked through the
error log  this is what I found -

-
database_error:org.postgresql.util.PSQLException\colon; ERROR\colon;
update or delete on table item violates foreign key constraint $2
on table collection2item
---

I found a thread referring to the same problem -
http://sourceforge.net/mailarchive/message.php?msg_id=24951813 but did
not any answers. Can I just drop the constraints or is there another
way to resolve this ? Any help appreciated.

Thanks,
Harish

Harish Maringanti
Systems Analyst
K-State Libraries
785.532.3261

--
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] Where should I do configuration update?

2011-01-19 Thread Sergio Belkin
2011/1/19 Mark H. Wood mw...@iupui.edu

 On Wed, Jan 19, 2011 at 11:47:48AM -0300, Sergio Belkin wrote:
  Hi,,
 
  I've read on documentation of v1.5.1:
 
  Note that this does mean there are multiple copies of the compiled DSpace
  code and third-party libraries in the system, so care must be taken to
  ensure that they are all in sync. (The storage overhead is a few
 megabytes,
  totally insignificant these days.) In general, when you change any DSpace
  code or JSP, it's best to do a complete update of both the installation (
  [dspace]), and to rebuild and redeploy the Web UI and OAI .war files, by
  running this in [dspace-source]:
 
  ant -D* [dspace]*/config/dspace.cfg update

 If you enter that when in [dspace-source], Ant will complain that
 there is no build.xml.  Here the documentation is in error.  Thanks
 for discovering that.  It's also incorrect in that the command should
 be:

  ant -Dconfig=[dspace]/config/dspace.cfg update

  and then following the instructions that command writes to the console.
 
  http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43
 
 
  However on Chapter 9 it states:
 
 1.
 
 Re-install the DSpace WAR(s) to [dspace]/webapps by running the
 following
 command from your
  [dspace-source]/dspace/target/dspace-[version].dirdirectory:
 
 ant -Dconfig=* [dspace-source]*/config/dspace.cfg
update

 [dspace-source]/dspace/target/dspace-[version].dir is the correct
 directory.  You should find a 'build.xml' there.  Ant will assume that
 it is to get things relative to your current directory, and the
 'config' property points to a file which will tell Ant where to put
 them.

 
  http://www.dspacedev2.org/1_5_1Documentation/ch09.html#N12F43

 I don't find that text there.  Was this meant to cite a different
 version of the documentation?

  So my question is what's the right location where I should update: either
  from source directory or target directory?

 The target in [dspace-source]/dspace/target is a different use of
 the word.  Notice that it is beneath [dspace-source] so you are in the
 source tree.  The build tool (maven) assembles a project into a
 directory target within that project's directory (sub)tree during
 the *build* procedure.  This has no connection with [dspace] being the
 target of the *installation* procedure.  The confusion of terms is
 unfortunate.



It would be better the name build dir, wouldn't it?

Thanks for your complete explanation!



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


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




-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified
--
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] Error installing dspace 1.5.2

2011-01-19 Thread Bruno Bernardes

Hi folks,

  I discovered that the folowing problem is cased by the package 
ant-optinal with is not installed in my CentOS (version 5.4). Does 
anyone know how to install it? The yum command can't find it.


Thanks,
Bruno





Em 18-01-2011 18:23, Bruno Bernardes escreveu:

Hi all,

After the file dspace.cfg was configured, the command mvn package 
ended well and when I executed the command ant fresh_install, I 
received the error below:


BUILD FAILED
/...//.../dspace/target/dspace-1.5.2-build.dir/build.xml:88: No 
supported regular expression matcher found



At the line 88 of the build.xml I have the folowing lines:

loadproperties srcFile=${config}
filterchain
linecontainsregexp
regexp pattern=^\s*dspace\.dir\s+ /
/linecontainsregexp
/filterchain
/loadproperties


The config  variable at line 88 is well defined.

Any help or idea will be very  appreciated,
Bruno


 


Aviso de confidencialidade
Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecu�ria  
(Embrapa),
empresa p�blica federal  regida pelo disposto  na Lei Federal no. 
5.851,  de
7 de dezembro de 1972,  �  enviada exclusivamente  a seu destinat�rio 
e pode
conter informa��es  confidenciais, protegidas  por sigilo 
profissional.  Sua
utiliza��o desautorizada  � ilegal e  sujeita o infrator �s penas da 
lei. Se
voc�  a recebeu indevidamente, queira, por gentileza, reenvi�-la ao 
emitente,

esclarecendo o equivoco.

Confidentiality note

This message from Empresa  Brasileira de Pesquisa  Agropecu�ria  
(Embrapa), a
government company  established under  Brazilian law  (5.851/72), is 
directed
exclusively to  its addressee  and may contain  confidential data,  
protected
under  professional secrecy  rules. Its unauthorized  use is illegal 
and  may
subject the transgressor to the law's penalties. If you are not the 
addressee,

please send it back, elucidating the failure.




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




Aviso de confidencialidade 


Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecu�ria  (Embrapa),
empresa p�blica federal  regida pelo disposto  na Lei Federal no. 5.851,  de
7 de dezembro de 1972,  �  enviada exclusivamente  a seu destinat�rio e pode
conter informa��es  confidenciais, protegidas  por sigilo profissional.  Sua
utiliza��o desautorizada  � ilegal e  sujeita o infrator �s penas da lei. Se
voc�  a recebeu indevidamente, queira, por gentileza, reenvi�-la ao emitente,
esclarecendo o equivoco.

Confidentiality note

This message from Empresa  Brasileira de Pesquisa  Agropecu�ria  (Embrapa), a
government company  established under  Brazilian law  (5.851/72), is directed
exclusively to  its addressee  and may contain  confidential data,  protected
under  professional secrecy  rules. Its unauthorized  use is illegal and  may
subject the transgressor to the law's penalties. If you are not the addressee,
please send it back, elucidating the failure.


--
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] Trouble deleting items in dspace 1.6.2

2011-01-19 Thread Claudia Juergen
Hello Harish,

while updating to 1.6 did you get some errors like that:

psql:database_schema_15-16.sql:105: ERROR:  constraint
community2collection_collection_id_fkey of relation
community2collection does not exist
ALTER TABLE
psql:database_schema_15-16.sql:108: ERROR:  constraint
community2community_child_comm_id_fkey of relation
community2community does not exist
ALTER TABLE
psql:database_schema_15-16.sql:111: ERROR:  constraint
collection2item_item_id_fkey of relation collection2item does not exist

If so, inspect your database and use the references for the foreign keys
to delete them, e.g::

psql [YourDBName]
\d [TableName]
will show you the foreign keys, e.g.:
\d community2collection

Table public.community2collection
 Column |  Type   | Modifiers
---+-+---
id| integer | not null
community_id  | integer |
collection_id | integer |
Indexes:
 community2collection_pkey PRIMARY KEY, btree (id)
 community2collection_collection_id_idx btree (collection_id)
 community2collection_community_id_idx btree (community_id)
Foreign-key constraints:
 $1 FOREIGN KEY (community_id) REFERENCES community(community_id)
 $2 FOREIGN KEY (collection_id) REFERENCES collection(collection_id)


In that case you got to run:

ALTER TABLE collection2item DROP CONSTRAINT $2;
ALTER TABLE community2community DROP CONSTRAINT $2;
ALTER TABLE community2collection DROP CONSTRAINT $2;



The reason for this is:

In Step 7 Update the database it can happen that not all the commands in
the database_schema_15-16.sql are executed properly.

The commands to drop foreign keys:

ALTER TABLE collection2item DROP CONSTRAINT collection2item_item_id_fkey;

ALTER TABLE community2community DROP CONSTRAINT
community2community_child_comm_id_fkey;

ALTER TABLE community2collection DROP CONSTRAINT
community2collection_collection_id_fkey;


assume that the keys got default names, whereas depending on the
database version and operating system on which your instance started,
they can have no names and just be counted internally.

If you got no names or other names the script will skip the commands,
with the above mentioned ERROR.

This will lead to errors running DSpace as now 2 contraints exist and
one is unable to delete items, collections etc.


Hope that helps

Claudia Jürgen


 We are having trouble deleting items in 1.6.2. I looked through the
 error log  this is what I found -

 -
 database_error:org.postgresql.util.PSQLException\colon; ERROR\colon;
 update or delete on table item violates foreign key constraint $2
 on table collection2item
 ---

 I found a thread referring to the same problem -
 http://sourceforge.net/mailarchive/message.php?msg_id=24951813 but did
 not any answers. Can I just drop the constraints or is there another
 way to resolve this ? Any help appreciated.

 Thanks,
 Harish

 Harish Maringanti
 Systems Analyst
 K-State Libraries
 785.532.3261

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



Mit freundlichen Gruessen

Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/
Tel.: 0049-231-755-4043




--
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] Error installing dspace 1.5.2

2011-01-19 Thread Brian Freels-Stendel
Hi Bruno,

I believe the package we're using for this is ant-apache-regexp.  I don't 
know if it's available for CentOS, but it may be worth a try.

B--

 On 1/19/2011 at 11:20 AM, in message 4d372b78.30...@embrapa.br, Bruno
Bernardes bruno.bernar...@embrapa.br wrote:
 Hi folks,
 
I discovered that the folowing problem is cased by the package 
 ant-optinal with is not installed in my CentOS (version 5.4). Does 
 anyone know how to install it? The yum command can't find it.
 
 Thanks,
 Bruno
 
 
 
 
 
 Em 18-01-2011 18:23, Bruno Bernardes escreveu:
 Hi all,

 After the file dspace.cfg was configured, the command mvn package 
 ended well and when I executed the command ant fresh_install, I 
 received the error below:

 BUILD FAILED
 /...//.../dspace/target/dspace-1.5.2-build.dir/build.xml:88: No 
 supported regular expression matcher found


 At the line 88 of the build.xml I have the folowing lines:

 loadproperties srcFile=${config}
 filterchain
 linecontainsregexp
 regexp pattern=^\s*dspace\.dir\s+ /
 /linecontainsregexp
 /filterchain
 /loadproperties


 The config  variable at line 88 is well defined.

 Any help or idea will be very  appreciated,
 Bruno


  
 

 Aviso de confidencialidade
 Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecuria  
 (Embrapa),
 empresa pblica federal  regida pelo disposto  na Lei Federal no. 
 5.851,  de
 7 de dezembro de 1972,enviada exclusivamente  a seu destinatrio 
 e pode
 conter informaes  confidenciais, protegidas  por sigilo 
 profissional.  Sua
 utilizao desautorizada   ilegal e  sujeita o infrator s penas da 
 lei. Se
 voc  a recebeu indevidamente, queira, por gentileza, reenvi-la ao 
 emitente,
 esclarecendo o equivoco.

 Confidentiality note

 This message from Empresa  Brasileira de Pesquisa  Agropecuria  
 (Embrapa), a
 government company  established under  Brazilian law  (5.851/72), is 
 directed
 exclusively to  its addressee  and may contain  confidential data,  
 protected
 under  professional secrecy  rules. Its unauthorized  use is illegal 
 and  may
 subject the transgressor to the law's penalties. If you are not the 
 addressee,
 please send it back, elucidating the failure.




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

 
 
 
 Aviso de confidencialidade 
 
 Esta mensagem da Empresa  Brasileira de Pesquisa  Agropecuria  (Embrapa),
 empresa pblica federal  regida pelo disposto  na Lei Federal no. 5.851,  de
 7 de dezembro de 1972,enviada exclusivamente  a seu destinatrio e pode
 conter informaes  confidenciais, protegidas  por sigilo profissional.  Sua
 utilizao desautorizada   ilegal e  sujeita o infrator s penas da lei. Se
 voc  a recebeu indevidamente, queira, por gentileza, reenvi-la ao emitente,
 esclarecendo o equivoco.
 
 Confidentiality note
 
 This message from Empresa  Brasileira de Pesquisa  Agropecuria  (Embrapa), a
 government company  established under  Brazilian law  (5.851/72), is 
 directed
 exclusively to  its addressee  and may contain  confidential data,  
 protected
 under  professional secrecy  rules. Its unauthorized  use is illegal and  
 may
 subject the transgressor to the law's penalties. If you are not the 
 addressee,
 please send it back, elucidating the failure.

--
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] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Graham Triggs
Which UI are you using - JSP or XML?

If it's XMLUI, then it sounds like it might be caching elements of the
Cocoon pipeline, in which case you should stop the application and remove
the cache from within the web application directory, and/or disable Cocoon
caching.


On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:


 as a test, I've recently added a browse index to our dspace and initially
 it correctly added the items to the nav. panel...

 however, after removing the browse index in the config file the nav panel
 is now doing weird things.

 at the top level it is retaining menu items for browse that is no longer
 there and clicking leads to an error page obviously...

 go down a level or two into communities and collections you start finding
 the nav panel in some areas do not show these links, others do...

 I've recompiled countless times... re-indexed countless times...
 re-initialized the index countless times...

 the last go I re-added the browse indexes and still the same situation...
 in some places on... in others off...

 we have a quasi live collection or two in the server, and no test server
 currently, so we'd rather not have to completely rebuild...

 I'm also loath to:  ant fresh_install   without getting some feedback from
 the community on how safe this would be...






 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 --
 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] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Pottinger, Hardy J.
FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:

/var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir

I have this alias set in my .bashrc file:

alias dspace.clearcache='sudo rm 
/var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'

I only empty these after I first shut down tomcat, figuring I'd rather not 
cause Cocoon undue stress. Though it's been a while since I've had to empty the 
cache.

--Hardy
 
 -Original Message-
 From: Graham Triggs [mailto:grahamtri...@gmail.com]
 Sent: Wednesday, January 19, 2011 4:28 PM
 To: Fred Edwards
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] browse index config changes not reflecting in
 nav panel (1.6.2)
 
 Which UI are you using - JSP or XML?
 
 If it's XMLUI, then it sounds like it might be caching elements of the
 Cocoon pipeline, in which case you should stop the application and
 remove the cache from within the web application directory, and/or
 disable Cocoon caching.
 
 
 On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:
 
 
 
   as a test, I've recently added a browse index to our dspace and
 initially it correctly added the items to the nav. panel...
 
   however, after removing the browse index in the config file the nav
 panel is now doing weird things.
 
   at the top level it is retaining menu items for browse that is no
 longer there and clicking leads to an error page obviously...
 
   go down a level or two into communities and collections you start
 finding the nav panel in some areas do not show these links, others
 do...
 
   I've recompiled countless times... re-indexed countless times...
 re-initialized the index countless times...
 
   the last go I re-added the browse indexes and still the same
 situation... in some places on... in others off...
 
   we have a quasi live collection or two in the server, and no test
 server currently, so we'd rather not have to completely rebuild...
 
   I'm also loath to:  ant fresh_install   without getting some
 feedback from the community on how safe this would be...
 
 
 
 
 
 
   Fred Edwards
 
   Systems Technician
   Patrick Power Library
   Saint Mary's University
   Halifax, Nova ScotiaB3H 3C3
 
   Phone: (902) 420-5096
   Fax:   (902) 420-5561
   E-mail:fred.edwa...@smu.ca
   Website:   http://www.smu.ca/library/
 
   --
 
 
   ---
 ---
   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


[Dspace-tech] Logo changes on Mirage

2011-01-19 Thread Lewatle Phaladi
Hi All



I want to do some changes on mirage theme, like changing   logo's, I
have put my preferred logo on
/dspaceinstalldir/webapps/xmlui/themes/Mirage/images and reloaded tomcat
but no changes has occurred on the Mirage interface, anyone with idea is
welcomed.



Regards,

Lewatle












htmlpfont face = verdana size = 0.8 color = navyThis communication 
is intended for the addressee only. It is confidential. If you have received 
this communication in error, please notify us immediately and destroy the 
original message. You may not copy or disseminate this communication without 
the permission of the University. Only authorized signatories are competent to 
enter into agreements on behalf of the University and recipients are thus 
advised that the content of this message may not be legally binding on the 
University and may contain the personal views and opinions of the author, which 
are not necessarily the views and opinions of The University of the 
Witwatersrand, Johannesburg. All agreements between the University and 
outsiders are subject to South African Law unless the University agrees in 
writing to the contrary./font/p/html
--
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