[Dspace-tech] duplicate key violates unique constraint handle_handle_key
Hi; Has anyone found a fix for PSQLException: ERROR: duplicate key violates unique constraint handle_handle_key ? I've upgraded a DSpace from 1.4.2 to 1.5 and then to 1.5.2 and haven't done anything to the handle-server. At both the newer versions, by batch import, I am able to `add' but not `replace' an item. The newly added item is given the handle `123/89310'; the current state of the handle table in the postgresql database has by descending handle_id values: handle_id | handle ---+- 89306 | 123/89306 89305 | 123/89305 89304 | 123/40284 89303 | 123/5090 89302 | 123/4383 89301 | 123/8301 89300 | 123/7008 and handle_seq is 89306 The error message is: 1 org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constraint handle_handle_key 2 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse (QueryExecutorImpl.java:1512) 3 at org.postgresql.core.v3.QueryExecutorImpl.processResults (QueryExecutorImpl.java:1297) 4 at org.postgresql.core.v3.QueryExecutorImpl.execute (QueryExecutorImpl.java:188) 5 at org.postgresql.jdbc2.AbstractJdbc2Statement.execute (AbstractJdbc2Statement.java:430) 6 at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags (AbstractJdbc2Statement.java:346) 7 at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate (AbstractJdbc2Statement.java:300) 8 at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate (DelegatingPreparedStatement.java:101) 9 at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate (DelegatingPreparedStatement.java:101) 10 at org.dspace.storage.rdbms.DatabaseManager.execute (DatabaseManager.java:1301) 11 at org.dspace.storage.rdbms.DatabaseManager.update (DatabaseManager.java:657) 12 at org.dspace.handle.HandleManager.createHandle (HandleManager.java:206) 13 at org.dspace.content.InstallItem.installItem (InstallItem.java:114) 14 at org.dspace.app.itemimport.ItemImport.addItem (ItemImport.java:672) 15 at org.dspace.app.itemimport.ItemImport.replaceItems (ItemImport.java:585) 16 at org.dspace.app.itemimport.ItemImport.main (ItemImport.java:425) This problem is also noted at: http://jira.dspace.org/jira/browse/DS-110 Thanks in advance. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] `mvn package' output for DSpace 1.4.2 to 1.5 upgrade
Hi, I'm about to upgrade a DSpace 1.4.2 instance to 1.5. Just in case there's a problem, I'd like to check with the list the output from the `mvn package' command. Other than the `jetty' lines 34--41; are there any show stoppers in the output? I suppose using `tomcat5' removes the need for `jetty'. Thanks in advance. Van Ly vly at usyd dot edu dot au -- mvn package output 1 $ mvn package 2 [INFO] Scanning for projects... 3 [INFO] Reactor build order: 4 [INFO] DSpace Parent Project 5 [INFO] DSpace Kernel :: API and Implementation 6 [INFO] DSpace JSP-UI 7 [INFO] DSpace JSP-UI :: API and Implementation 8 [INFO] DSpace JSP-UI :: Web Application Resources 9 [INFO] DSpace XML-UI (Manakin) 10 [INFO] DSpace XML-UI (Manakin) :: Wing-Framework 11 [INFO] DSpace XML-UI (Manakin) :: API and Core Aspects 12 [INFO] DSpace XML-UI (Manakin) :: Web Application Resources 13 [INFO] DSpace LNI 14 [INFO] DSpace LNI :: Core Implementation 15 [INFO] DSpace LNI :: Web Application Resources 16 [INFO] DSpace LNI :: CLI Client Application 17 [INFO] DSpace OAI 18 [INFO] DSpace OAI :: API and Implementation 19 [INFO] DSpace OAI :: Web Application Resources 20 [INFO] DSpace SWORD 21 [INFO] DSpace SWORD :: API and Implementation 22 [INFO] DSpace SWORD :: Web Application Resources 23 [INFO] DSpace Addon Modules 24 [INFO] DSpace XML-UI (Manakin) :: Web Application 25 [INFO] DSpace LNI :: Web Application 26 [INFO] DSpace OAI :: Web Application 27 [INFO] DSpace JSP-UI :: Web Application 28 [INFO] DSpace SWORD :: Web Application 29 [INFO] DSpace Assembly and Configuration 30 [INFO] 31 [INFO] Building DSpace Parent Project 32 [INFO]task-segment: [package] 33 [INFO] 34 [INFO] Unable to find resource 'org.mortbay.jetty:jetty- util:pom:6.1.5' in repository codehaus.org (http:// snapshots.repository.codehaus.org) 35 [INFO] Unable to find resource 'org.mortbay.jetty:jetty- util:pom:6.1.5' in repository apache.m2.incubator (http:// people.apache.org/repo/m2-snapshot-repository/) 36 [INFO] Unable to find resource 'org.mortbay.jetty:servlet- api-2.5:pom:6.1.5' in repository codehaus.org (http:// snapshots.repository.codehaus.org) 37 [INFO] Unable to find resource 'org.mortbay.jetty:servlet- api-2.5:pom:6.1.5' in repository apache.m2.incubator (http:// people.apache.org/repo/m2-snapshot-repository/) 38 [INFO] Unable to find resource 'org.mortbay.jetty:jetty- util:jar:6.1.5' in repository codehaus.org (http:// snapshots.repository.codehaus.org) 39 [INFO] Unable to find resource 'org.mortbay.jetty:jetty- util:jar:6.1.5' in repository apache.m2.incubator (http:// people.apache.org/repo/m2-snapshot-repository/) 40 [INFO] Unable to find resource 'org.mortbay.jetty:servlet- api-2.5:jar:6.1.5' in repository codehaus.org (http:// snapshots.repository.codehaus.org) 41 [INFO] Unable to find resource 'org.mortbay.jetty:servlet- api-2.5:jar:6.1.5' in repository apache.m2.incubator (http:// people.apache.org/repo/m2-snapshot-repository/) 42 [INFO] [site:attach-descriptor {execution: default-attach- descriptor}] 43 [INFO] 44 [INFO] Building DSpace Kernel :: API and Implementation 45 [INFO]task-segment: [package] 46 [INFO] 47 [INFO] [resources:resources {execution: default-resources}] 48 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! 49 [INFO] Copying 3 resources 50 [INFO] [compiler:compile {execution: default-compile}] 51 [INFO] Compiling 254 source files to /usr/local/share/ dspace_pkgs/dspace-1_5/dspace-api/target/classes 52 [INFO] [resources:testResources {execution: default- testResources}] 53 [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! 54 [INFO] skip non existing resourceDirectory /usr/local/share/ dspace_pkgs/dspace-1_5/dspace-api/src/test/resources 55 [INFO] [compiler:testCompile {execution: default-testCompile}] 56 [INFO] No sources to compile 57 [INFO] [surefire:test {execution: default-test}] 58 [INFO] No tests to run. 59 [INFO] [jar:jar {execution: default-jar}] 60 [INFO] Building jar: /usr/local/share/dspace_pkgs/dspace-1_5/ dspace-api/target/dspace-api-1.5.0.jar 61 [INFO] 62 [INFO] Building DSpace JSP-UI 63 [INFO]task-segment: [package
Re: [Dspace-tech] Filtering errors with XPDF Tools
On 22/10/2009, at 12:57 AM, Kurzenberger, Eric wrote: Turning on debug logging and run the filter-media command results in the several errors of this type in the log: 2009-10-21 09:26:43,478 ERROR org.dspace.app.mediafilter.XPDF2Text @ PDF conversion proc failed, returns=-1, file=/tmp/DSfilt27010.pdf I verified that the dspace user has access to the /tmp directory as well (permissions on it are 777). The /tmp file doesn't contain any of the files shown in the log, so it looks like they're not being written. Try and perform the conversion in the DSpace/Java user's context with all operations on files in /tmp . There may be an issue with the filesystem for /tmp . Good luck. Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] xml type files for windows
Different platforms have different end-of-line conventions http://en.wikipedia.org/wiki/Newline quote XML Stores New Line as LF In Windows applications, a new line is normally stored as a pair of characters: carriage return (CR) and line feed (LF). The character pair bears some resemblance to the typewriter actions of setting a new line. In Unix applications, a new line is normally stored as a LF character. Macintosh applications use only a CR character to store a new line. /quote http://www.w3schools.com/xmL/xml_syntax.asp Under ms-windows, the write.exe application (aka WordPad) will present LF terminated lines as you expect. On 03/10/2009, at 11:29 PM, allen.dspace wrote: Hi Sina, There is no difficulty for win-dspace to process any well structured xml files, no matter they are created by linux or windows or mac or by hand. Allen Lam. HKU Hub Administrator, http://hub.hku.hk sina khankhajeh wrote: Hi all I was wondering if xml type files in dspace that are created in linux would cause difficulty for running them for dspace in windows best regards -- Sina Khankhajeh - --- 8--- Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] work around authentication mechanism RESOLVED
In case anyone else has to do this, what I ended up doing was copy out the needed bitstream paths to the filesystem, and present them with a standard apache httpd with .htaccess settings for access control based on originating ip-address or basic authentication. On 28/09/2009, at 5:05 PM, Van Ly wrote: Hi, I've a need to completely disable DSpace authenticated access and use instead iptables(8) for restricting access based on ip-address. Does anybody know the easiest way to achieve this? Thanks in advance. -- Van Ly On 23/09/2009, at 10:02 AM, Van Ly wrote: Thanks Larry. The desired behavior I'm wanting is for the web browser to ask for credentials under `basic authentication' in rfc2617. The installed settings handles a http `GET' request with credentials as expected. Without credentials, rather than doing [x] it does [y]. Originally, had I needed, I had in mind to strip DSpace naked (ie. without authentication) and as a temporary fix use `iptables(8)' to control access based on IP. But really, whether the browser or the page prompts for credentials is a cosmetic issue as long as the link is trusted. 8 [snipped] -- # [x] `401' points to the web browser's sign-on, expected behaviour by end-user 0.000478 num.num.num.103 - num.num.num.56 HTTP GET / basicAuthTest/ HTTP/1.1 0.000523 num.num.num.56 - num.num.num.103 TCP http 54837 [ACK] Seq=1 Ack=576 Win=7040 Len=0 TSV=1837843610 TSER=1974179631 0.002128 num.num.num.56 - num.num.num.103 HTTP HTTP/1.1 401 Authorization Required (text/html) -- # [y] unexpected behaviour 0.000550 num.num.num.103 - num.num.num.4 HTTP GET /bitstream/ num/num/1/External.pdf HTTP/1.1 0.000634 num.num.num.4 - num.num.num.103 TCP http 54862 [ACK] Seq=1 Ack=601 Win=7040 Len=0 TSV=2843474683 TSER=1974184374 0.047864 num.num.num.4 - num.num.num.103 HTTP HTTP/1.1 302 Moved Temporarily -- #[y'] `302' points to the DSpace sign-on num.num.num.103 - - [22/Sep/2009:17:04:12 +1000] GET /bitstream/ num/num/1/External.pdf HTTP/1.1 302 - num.num.num.103 - - [22/Sep/2009:17:04:12 +1000] GET /password- login HTTP/1.1 200 4743 Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] work around authentication mechanism
Hi, I've a need to completely disable DSpace authenticated access and use instead iptables(8) for restricting access based on ip-address. Does anybody know the easiest way to achieve this? Thanks in advance. -- Van Ly On 23/09/2009, at 10:02 AM, Van Ly wrote: Thanks Larry. The desired behavior I'm wanting is for the web browser to ask for credentials under `basic authentication' in rfc2617. The installed settings handles a http `GET' request with credentials as expected. Without credentials, rather than doing [x] it does [y]. Originally, had I needed, I had in mind to strip DSpace naked (ie. without authentication) and as a temporary fix use `iptables(8)' to control access based on IP. But really, whether the browser or the page prompts for credentials is a cosmetic issue as long as the link is trusted. Best wishes, Van Ly vly at usyd dot edu dot au -- # [x] `401' points to the web browser's sign-on, expected behaviour by end-user 0.000478 num.num.num.103 - num.num.num.56 HTTP GET / basicAuthTest/ HTTP/1.1 0.000523 num.num.num.56 - num.num.num.103 TCP http 54837 [ACK] Seq=1 Ack=576 Win=7040 Len=0 TSV=1837843610 TSER=1974179631 0.002128 num.num.num.56 - num.num.num.103 HTTP HTTP/1.1 401 Authorization Required (text/html) -- # [y] unexpected behaviour 0.000550 num.num.num.103 - num.num.num.4 HTTP GET /bitstream/ num/num/1/External.pdf HTTP/1.1 0.000634 num.num.num.4 - num.num.num.103 TCP http 54862 [ACK] Seq=1 Ack=601 Win=7040 Len=0 TSV=2843474683 TSER=1974184374 0.047864 num.num.num.4 - num.num.num.103 HTTP HTTP/1.1 302 Moved Temporarily -- #[y'] `302' points to the DSpace sign-on num.num.num.103 - - [22/Sep/2009:17:04:12 +1000] GET /bitstream/ num/num/1/External.pdf HTTP/1.1 302 - num.num.num.103 - - [22/Sep/2009:17:04:12 +1000] GET /password- login HTTP/1.1 200 4743 On 11/09/2009, at 12:36 PM, Larry Stone wrote: If you just want to deny all access based on the requestor's IP address, that is best done in the web server or servlet container. If you're using naked Tomcat, see the doc for org.apache.catalina.valves.RemoteAddrValve. If you're using Apache httpd it's very easy to configure, just see the server docs. -- Larry On Sep 10, 2009, at 9:50 PM, Van Ly wrote: Hi, I may have a situation where one of the items in the list for `plugin.sequence.org.dspace.eperson.AuthenticationMethod' isn't behaving as expected. To work around, if I need to put up a firewall to restrict access based on ip-address and bypass the authentication mechanism entirely, what would be a way? Thanks in advance. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Database Question
On 16/09/2009, at 7:20 AM, Greg Johnson wrote: The question I have is this: If we were to take a do-over and recreate DSpace from scratch, having copied our Postgres database prior the rebuild, would not the communities and collections that we currently have be transferrable to the new version? From my understanding, the assetstore has all the resource objects, such as pdf files, and the database has all the tracking objects, such as metadata and access control and in there are the ideas of communities and collections. Look for the file db-schema.gif in the DSpace source distribution for a layout of the database contents. If you don't have a root cause explanation for the unexpected behaviour, the `do-over' and recreate may carry the problem over. Another way would be to clone the broken system, experiment and address the fault there and then fix the actual system. Best wishes, Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Fwd: org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
On 23/09/2009, at 6:50 AM, Eric Luhrs wrote: Having to restart tomcat again this morning at 2am has prompted me to re-send this message to the list. Can anyone tell me why tomcat was fine for many months, but now crashes every two days? Take the necessary precautions and then try enabling filesystem check at the next reboot, eg. with fsck() on ext3, and reboot. Best wishes, Van Ly vly at usyd dot edu dot au -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] work around authentication mechanism
Hi, I may have a situation where one of the items in the list for `plugin.sequence.org.dspace.eperson.AuthenticationMethod' isn't behaving as expected. To work around, if I need to put up a firewall to restrict access based on ip-address and bypass the authentication mechanism entirely, what would be a way? Thanks in advance. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Java out of memory error : urgent plz
On 10/09/2009, at 6:41 AM, Khan, Baseer wrote: When I searched for it shows me the memory needs to be increased for tomcat , This is the output of the free command on the server I picked up the following jsp page for revealing memory state you could find useful. To use, put it in your webapps directory as `mem- status.jsp' and point your browser at it. It is as follows: 1 %@ page import=java.lang.management.* % 2 %@ page import=java.util.* % 3 html 4 head 5 titleJVM Memory Monitor/title 6 /head 7 /html 8 table border=0 width=100% 9 trtd colspan=2 align=centerh3Memory MXBean/h3/ td/tr 10 trtd 11 width=200Heap Memory Usage/tdtd 12 %= 13 ManagementFactory.getMemoryMXBean().getHeapMemoryUsage() 14 % 15 /td/tr 16 trtdNon-Heap Memory 17 Usage/tdtd 18 %= 19 ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage() 20 % 21 /td/tr 22 trtd colspan=2nbsp;/td/tr 23 trtd colspan=2 align=centerh3Memory Pool MXBeans/ h3/td/tr 24 % 25 Iterator iter = ManagementFactory.getMemoryPoolMXBeans ().iterator(); 26 while (iter.hasNext()) { 27 MemoryPoolMXBean item = (MemoryPoolMXBean) iter.next(); 28 % 29 trtd colspan=2 30 table border=0 width=100% style=border: 1px #98AAB1 solid; 31 trtd colspan=2 align=centerb%= item.getName() %/ b/td/tr 32 trtd width=200Type/tdtd%= item.getType() %/td/tr 33 trtdUsage/tdtd%= item.getUsage() %/td/tr 34 trtdPeak Usage/tdtd%= item.getPeakUsage() %/td/tr 35 trtdCollection Usage/tdtd%= item.getCollectionUsage () %/td/tr 36 /table 37 /td/tr 38 trtd colspan=2nbsp;/td/tr 39 % 40 } 41 % 42 /table 43 preHERE/pre Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] help! migration causes slow loading of files
On 09/09/2009, at 2:19 AM, susan teague rector wrote: For example, here's a couple of larger files (although they're still on ~24 mb) on our production instance: https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf These files never open, but rather just spin. Hi Susan, I am able to slowly fetch all that file and it renders partially as it downloads. You may want to check the local network interface is OK or too busy or if there is network traffic throttling deliberately slowing transfers somewhere in-between. Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] help! migration causes slow loading of files
On 04/09/2009, at 6:08 AM, susan teague-rector wrote: All seems great until I click on a pdf (or other file) in a record. The server just sits and spins and the file never opens. Hi Susan, Assuming you click on a link to the pdf file in a record, what is the resulting URL? Does the new server replace the old server on the same ip-address and host name? Does the URL include a host name you expect? If it is a file system issue, you may want to find the tool to dump it's configured and running characteristics and confirm the combination is all OK. Try adding a pdf file directly to the file system to see if it will write as expected. Also check the logs for the stack of components (e.g. tomcat) and that the account permissions for the application and files are OK. You may also be able to use the mapping of the pdf file name to the assetstore's object path from details in the database and possibly look directly at that object on the file system to see if it is really there and available. Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] error while ant fresh_install
On 31/08/2009, at 3:15 PM, Gopa Kumar wrote: [java] 2009-08-31 10:39:36,802 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: [java] org.postgresql.util.PSQLException: The connection attempt failed. The fatal error message occurs in the above. A place to look is the settings file # see ch20 client authentication in the postgresql-8.1 manual pgsql/data/pg_hba.conf and the lists resulting from calls to # for roles echo '\du' | psql # should have List of roles Role name | Superuser | Create role | Create DB | Connections | Member of ---+---+-+---+- +--- dspace| no| no | yes | no limit| # for databases echo '\l' | psql # should have List of databases Name | Owner | Encoding --+--+-- dspace | dspace | UTF8 Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Handle URL
On 27/08/2009, at 3:12 PM, sowmyamoturi wrote: ...8 Our handle server is not working now ...8 ps -ef | grep handle-server i got nothing. -bash-3.00$ ps -ef | grep handle-server csta1 13598 13593 0 00:43:43 pts/1 0:00 grep handle-server -bash-3.00$ That confirms it. You could look for the startup script in the likely place by find /etc -name '*hand*' -type f When it is running it should appear under netstat -pan | fgrep 2641 Restarting the host might do it, if it was configure to start the service automatically. Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Bit streams size
On 19/08/2009, at 7:06 PM, Mariano A. Belladonna wrote: Is there a limit imposed by DSpace on the size of files to be included into an item? Can it be fixed somehow? DSpace 1.4.2 has the parameter `upload.max' you can set in dspace.cfg. How it works is detailed in FileUploadRequest.java. Look for int maxSize = ConfigurationManager.getIntProperty(upload.max); DiskFileUpload upload = new DiskFileUpload(); upload.setSizeMax(maxSize); Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Importing Multiple files Same Time
On 17/08/2009, at 6:44 PM, Lewatle Phaladi wrote: java.io.FileNotFoundException: /export/contained/opensrc.pdf (No such file or directory) java.io.FileNotFoundException: /export/contained/opensrc.pdf (No such file or directory) `/export/contained/opensrc.pdf ' Does that file really exist where it is expected? and did you intend for two files to be called differently, such as, opensrc_0.pdf opensrc_1.pdf? Best wishes, Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] map file contention?
Hi, I have two components sharing a filesystem where package directories are put for batch import. The first component from whence packages originate has only the following relevant directories import/ failed/ success/ success/Log/ and the files handle.map ; import.map When the second component (dspace) has ingested a batch import package, the state is communicated in those files. handle.map has a two column blank separated format having column contents package_name and handle_number # for instance, handle.map has 1234x56789 123456789/4 1234x9 123456789/9 import.map expands handle.map with file index and pathname # for instance, import.map has 1234x56789.1 123456789/4/1/ë.pdf 1234x9.1 123456789/9/1/ëë.pdf 1234x9.2 123456789/9/2/sëë.pdf handle.map has 40,000+ lines import.map has 50,000+ lines I'm concerned that these map files could be `in contention' when, simultaneously, the first component wants to read and the second wants to update. Is there a problem? if yes, how to avert? I can think of 1. using a lockfile for access control 2. using a database table in place of those map files, at what point do the line size of the files require this? Thanks in advance. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-devel] statistics
On 17/08/2009, at 5:56 AM, Kim Shepherd wrote: the subquery run by stat-initial (when it’s getting a count of non-withdrawn items) looks for metadata with element ‘date’ and qualifier ‘accessioned’ but ignores schema ID – both results are returned, and the exception is thrown because the subquery should only have returned one result. There is a definable schema `search_path' mentioned in section 5.7.3 Postgresql 8.1 manual which might help. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] problem installing dspace
Hi Chris, You can manually reset the destination installation environment by emptying out the [dspace] directory and re-creating the database: # the first dollar sign is your shell prompt # in my case I would do for the [dspace] directory where `x=/usr/ local/dspace' $ x=/usr/local/dspace $ test -d $x rm -fr $x $ mkdir $x $ ls -ld $x # and then make sure the permissions are as desired # to re-create the database where $ role=dspace $ db=dspace $ dropdb $db $ createdb -U $role -E UNICODE $db and to check which java implementation your are using, in my case I obtained $ type javac javac is /usr/bin/javac $ readlink -e /usr/bin/javac /usr/lib/jvm/java-1.6.0-sun-1.6.0.15/bin/javac and running `javac -version' shows, for instance javac 1.6.0_15 # for java-1.6.0-sun-1.6.0.15 javac 1.6.0-internal# for java-1.6.0-openjdk-1.6.0.0.x86_64 Hope that helps. -- Van Ly On 14/08/2009, at 7:33 PM, Chris Ward wrote: I have not got a dspace install, i am installing a new fresh copy. running ant clean_database game me the following: clean_database: [java] 2009-08-14 09:29:23,804 INFO org.dspace.core.ConfigurationManager @ Loading system provided config property (-Ddspace.configuration): config/dspace.cfg [java] 2009-08-14 09:29:23,814 INFO org.dspace.core.ConfigurationManager @ Using default log4j provided log configuration,if uninitended, check your dspace.cfg for (log.init.config) [java] 2009-08-14 09:29:23,814 INFO org.dspace.storage.rdbms.InitializeDatabase @ Initializing Database [java] 2009-08-14 09:29:24,009 ERROR org.dspace.storage.rdbms.InitializeDatabase @ The configuration for db.name is either invalid, or contains an unrecognised database [java] org.dspace.browse.BrowseException: The configuration for db .name is either invalid, or contains an unrecognised database [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance (BrowseDAOFactory.java:101) [java] at org.dspace.browse.IndexBrowse.init (IndexBrowse.java:153) [java] at org.dspace.browse.IndexBrowse.init (IndexBrowse.java:131) [java] at org.dspace.storage.rdbms.InitializeDatabase.main (InitializeDatabase.java:83) [java] 2009-08-14 09:29:24,011 FATAL org.dspace.storage.rdbms.InitializeDatabase @ Caught exception: [java] java.lang.RuntimeException: The configuration for db.name is either invalid, or contains an unrecognised database [java] at org.dspace.storage.rdbms.InitializeDatabase.main (InitializeDatabase.java:91) br [java] Caused by: org.dspace.browse.BrowseException: The configuration for db.name is either invalid, or contains an unrecognised database [java] at org.dspace.browse.BrowseDAOFactory.getCreateInstance (BrowseDAOFactory.java:101) [java] at org.dspace.browse.IndexBrowse.init (IndexBrowse.java:153) [java] at org.dspace.browse.IndexBrowse.init (IndexBrowse.java:131) [java] at org.dspace.storage.rdbms.InitializeDatabase.main (InitializeDatabase.java:83) it mentions soem erros in my sspace.cfg, btu the details in there are correct for the database. and when i use the fresh_install i get warnings saying the table already exists. why does the install script get access to the db but not the clean_database one? Chris !-- .style1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; text-align:center; } .style2 { color: #66; text-decoration:none;} -- http://www.ico3.com ch...@ico3.com Chris Ward Web Developer ICO3 Limited Tamar Science Park Davy Rd Plymouth 01752 764400 -Original Message- Hi Chris, if you already used ant fresh_install and want to use it again run ant clean_database to clear the db and then ant fresh_install. If you successfully set up a fresh install and want to update it use ant update and/or ant init_configs. Hope that helps Claudia J?rgen Chris Ward schrieb: I have been following this wiki: http://wiki.dspace.org/index.php/ Installing_DSpace_1.5_on_Ubuntu_8.04 I have edited dspace/config/dspace.cfg to add in my postgresql settings I have then gone to dspace and run 'mvn package' which downloadeds a log of jar files and says complete [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! When running it i get lots of [info] lines, a few of these lnes: [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent and these: [WARNING] The following patterns were never triggered in this artifact exclusion filter: o 'org.dspace:dspace-xmlui-webapp' o 'org.dspace:dspace-xmlui-lang' o 'org.dspace:dspace-lni-webapp' o 'org.dspace:dspace-sword-webapp' o 'org.dspace:dspace-jspui-webapp' o 'org.dspace:dspace-oai-webapp' br[WARNING] The following
Re: [Dspace-tech] [Dspace-devel] statistics
On 17/08/2009, at 9:46 AM, Kim Shepherd wrote: I assume this is to do with database schema rather than metadata registry schema, so it probably isn't relevant.. sorry if I didn't explain what I meant by 'schema' very well. If you inspect your metadatafieldregistry table, you'll see the schema ID I'm talking about. Yep, that would be the `metadata_schema_id'. Thanks. Cheers, Kim -Original Message- From: Van Ly [mailto:v...@usyd.edu.au] Sent: Monday, 17 August 2009 11:36 a.m. To: DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] [Dspace-devel] statistics On 17/08/2009, at 5:56 AM, Kim Shepherd wrote: the subquery run by stat-initial (when it’s getting a count of non-withdrawn items) looks for metadata with element ‘date’ and qualifier ‘accessioned’ but ignores schema ID – both results are returned, and the exception is thrown because the subquery should only have returned one result. There is a definable schema `search_path' mentioned in section 5.7.3 Postgresql 8.1 manual which might help. Van Ly vly at usyd dot edu dot au -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Importing Files into Dspace 1.5.2 from DVD disc
[ how to use batch import ] Hi, As a first step, searching for `batch import' is possible at http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/ Best wishes, Van. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How change uri handle from http://hdl.handle.net/ tohttp://myip in all items [RESOLVED]
Hi, Summarizing back to the list, the fix was to do the following # in dspace.cfg for handle.canonical.prefix parameter in Handle settings section # to change # CNRI Handle prefix handle.prefix = 123456789 # to change to # CNRI Handle prefix handle.prefix = 123456789 handle.canonical.prefix = http://your.dspace.server.url/handle/ Best wishes, -- Van Ly -Original Message- From: djr [mailto:subs...@gmail.com] Sent: Thu 2009-08-06 02:39 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] How change uri handle from http://hdl.handle.net/ tohttp://myip in all items You can change the handle server (to not use a handle server) by editing the HandleManager.java (mine was located in the dspace-src/dspace-api/src/main/java/org/dspace/handle directory). In specific, find the getCanonicalForm class, comment out the existing logic and set the return to the following: return http://yourIP:8180/jspui/handle/; + handle; Where yourIP is the URL or IP of the server where DSpace is installed. NOTE: Dont forget to set the port to the port that your dspace webapp is running on as well. More information can be found on the following link: http://femto.cs.uiuc.edu/~sbond/dspace/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal System Error
| You could also check if the `click on the name of the title' reduces to | an sql-query in the dspace-source and apply that query to see if you get | the expected result. | | Can you tell me in detail how to do it? It's just a theory. Have a look at an example title link in html form, like, tr td headers=t1 class=evenRowEvenCol nowrap=nowrap align=rightstrong2009 /strong/td td headers=t2 class=evenRowOddCol a href=/handle/12345/6789cw3 rpm/a/td td headers=t3 class=evenRowEvenCol emName Authore/em/td /tr if the title `cw3 rpm' is clicked a request for url ending with `/handle/12345/6789' occurs, and if you follow that request, you may find it touches on files in dspace-source, such as, rdbms/DatabaseManager.java where I expect an sql query happens. Best wishes, -- Van Ly -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How change uri handle from http://hdl.handle.net/ tohttp://myip in all items
[ how to change handle prefix for dspace objects ] Have a look at [dspace]/bin/update-handle-prefix Best wishes, -- Van Ly -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How change uri handle from http://hdl.handle.net/ tohttp://myip in all items
If you look further in the details of it, it does a string rewrite at offset and length, that you could change. There might be an easier way. -- Van Ly -Original Message- From: Nguyen Hung Thanh [mailto:nghungth...@gmail.com] Sent: Tue 2009-07-28 12:14 To: Van Ly; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] How change uri handle from http://hdl.handle.net/ tohttp://myip in all items Hi I'm running [dspace]/bin/update-handle-prefix but only change *123456789 *in Uri ( *http://hdl.handle.net/123456789/ http://hdl.handle.net/123456789/8 *8 http://hdl.handle.net/123456789/8). Uri *http://hdl.handle.net* cannot change. Thanh On Tue, Jul 28, 2009 at 8:59 AM, Van Ly v...@library.usyd.edu.au wrote: [ how to change handle prefix for dspace objects ] Have a look at [dspace]/bin/update-handle-prefix Best wishes, -- Van Ly -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal System Error
Hi Michael, You could check the java api documentation: # e.g. java_se_N_docu/docs/api/java/lang/NullPointerException.html You could also check if the `click on the name of the title' reduces to an sql-query in the dspace-source and apply that query to see if you get the expected result. It's possible to navigate the source code by converting to diagrams and point and click with Netbeans. Only a minority of 4-lines of the trace refer to webui, perhaps the java+tomcat combination is awry. Best wishes, -- Van Ly -Original Message- From: Onte, Michael [mailto:mo...@lrri.org] Sent: Sun 2009-07-26 07:23 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Internal System Error I upgraded our Dspace from 1.4.2 to 1.5 by following the steps on the manual. Everything seems to work fine after that except when we do a search and then click on the name of the title. I then get the message Internal System Error. Below is the java stack displayed when I viewed the source of the page. If anybody can help, it would be greatly appreciated. java.lang.NullPointerException at org.dspace.app.webui.servlet.HandleServlet.displayItem(HandleServlet.java:331) at org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:180) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) Michael Onte Database Administrator Lovelace Respiratory Research Institute mo...@lrri.org mailto:mo...@lrri.org Office - (505) 348-9460 Cell - (505) 975-4504 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] java.lang.ClassNotFoundException:org.dspace.handle.HandlePlugin
If you have a look at the file [dspace]/bin/dsrun you'll find two lines like.. // FULLPATH=$CLASSPATH:$JARS:$DSPACEDIR/config // java -Xmx256m -classpath $FULLPATH $@ that `storage_class' value you have there ought to associate with a class or jar file and, I believe, if you put the path to it in the `-classpath' option for the call to java, the ClassNotFoundException will go away. -- Van Ly -Original Message- From: Serbe Leon Rojas [mailto:serbe.ro...@biblioteca.udea.edu.co] Sent: Sat 2009-07-18 06:48 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech]java.lang.ClassNotFoundException:org.dspace.handle.HandlePlugin Hi, I'm configuring the Handle Server and I placed in config.dct the option: storage_class = org.dspace.handle.HandlePlugin But, when I run the server, I received the error: java.lang.ClassNotFoundException:org.dspace.handle.HandlePlugin Somebody does say me what's the problem? Do I need to set some variable? Thanks, - Serbe León Rojas Yepes Biblioteca Digital Universidad de Antioquia Medellin - Colombia Somos el Alma de la Universidad -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] filter-media IOException Permission denied
Hi, I ran a filter-media job and found a number of errors of the kind `skipping bitstream #N' which to be expected. The very first of them is listed below. At a guess, it looks like the IOException is due to the process wanting to create a file but it already exists and this is a condition for complaint. Do you think if I gave it the `force' option, this kind of IOException would go away? bitstream #3636 is fine, I can search for and retrieve it according to handle id. Thanks in advance. -- Van Ly -- details of 1.4.2 Dspace as follows with attempt to interpret the stack trace [0] // open(2) with O_RDWR | O_CREAT | O_EXCL may fail if file already exists [1] // has GeneralFile file = getFile(bitstream); file.createNewFile(); [2] // has Bitstream b = targetBundle.createBitstream(destStream); [3] // MediaFilterManager.java:108 has option to force all bitstreams to be processed ... ERROR filtering, skipping bitstream #3636 java.io.IOException: Permission denied ... java.io.IOException: Permission denied ... at java.io.UnixFileSystem.createFileExclusively(Native Method) [0] at java.io.File.createNewFile(File.java:850) ... at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486) [1] at org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332) ... at org.dspace.content.Bitstream.create(Bitstream.java:184) ... at org.dspace.content.Bundle.createBitstream(Bundle.java:362) [2] at org.dspace.app.mediafilter.MediaFilter.processBitstream(MediaFilter.java:168) ... at org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:327) ... at org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:296) ... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:266) ... at org.dspace.app.mediafilter.MediaFilterManager.applyFiltersAllItems(MediaFilterManager.java:234) [3] at org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:185) -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] server is seriously slow
What if you try to scp() or rsync() that 500kb pdf file to destination:/var/tmp and see if the 10 minute wait is constant. You could try also to reboot your server with fsck() forced to run and see if the file system is OK. Check the the memory, cpu, storage are physically OK and then profile the performance stats after. -- Van Ly -Original Message- From: Zico [mailto:mailz...@gmail.com] Sent: Thu 2009-07-09 16:40 To: Tech DSpace Subject: [Dspace-tech] server is seriously slow Hi, We have been using our dspace 1.5.1 in Debian 5.0 server for last 6 months. Everything went well. But, now, the administrative job has become seriously slow there. As for example: if my staff wants to upload data there, it takes 10 minutes to upload one 500 kb pdf file. I have checked the network and others. Everything seems fine. But, then what is the problem? Can anyone help me? -- Best, Zico -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error importing database dump
[ Our old server has Postgres 8.3 installed, the new one has 8.1.11. ] Taking your content down a step to Postgres 8.1 is likely the problem. Are there good reason(s) for wanting this? Check the postgres documentation if you must do it. -- Van Ly -Original Message- From: mikan.d.dspace listmail [mailto:mikan.dsp...@gmail.com] Sent: Thu 6/11/2009 9:37 PM To: Dspace Tech Subject: [Dspace-tech] Error importing database dump Im moving one of our DSpace insntances to a new server. Our old server has Postgres 8.3 installed, the new one has 8.1.11. When running db import created with pg_dump I get the following errors. I also tried restoring with pg_restore, but that didnt help. Could someone tell me whats the problem here? Thanks, Mika psql:/tmp/neurop5.sql:412: ERROR: syntax error at or near OWNED at character 46 psql:/tmp/neurop5.sql:412: LINE 1: ALTER SEQUENCE checksum_history_check_id_seq OWNED BY checks... -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] AJP Errors
[ where I should be looking ] # this explains the NullPointerException http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NullPointerException.html # this looks suspect in the stacktrace $Proxy10.service(Unknown Source) Perhaps, look in the vicinity of lines in all those java files in the stacktrace for the chance of a null object coming into play. -- Van Ly -Original Message- From: Sean Carte [mailto:sean.ca...@gmail.com] Sent: Thu 6/11/2009 10:26 PM To: dspace-tech Subject: [Dspace-tech] AJP Errors Since upgrading to 1.5.2 I've noticed a lot of exceptions that seem to be related to the Apache proxy ajp connector: 2009-06-11 14:16:30,877 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[Cocoon] @ Servlet.service() for servlet Cocoon threw exception java.lang.NullPointerException at org.apache.cocoon.servletservice.HttpServletResponseBufferingWrapper.flushBufferedResponse(HttpServletResponseBufferingWrapper.java:245) at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:481) at org.apache.cocoon.servletservice.ServletServiceContext$PathDispatcher.forward(ServletServiceContext.java:443) at org.apache.cocoon.servletservice.spring.ServletFactoryBean$ServiceInterceptor.invoke(ServletFactoryBean.java:264) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy10.service(Unknown Source) at org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:106) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.app.xmlui.cocoon.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:142) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.dspace.app.xmlui.cocoon.DSpaceCocoonServletFilter.doFilter(DSpaceCocoonServletFilter.java:244) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:131) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:619) Does anybody know what I've got configured wrong or where I should be looking. Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check
Re: [Dspace-tech] UI batch import
[ ## in DSpaceBatchImportFormat.pdf: The contents file is a tab-delimited text file listing the files to be included in the item. The first column contains the name of the file, and the second column indicates the bundle into which the file will be placed in the repository ] If the contents file has no second column for the bundle is there a problem for 1.4.2 DSpace? As default as of now, should I be requiring lines of the form FILENAME tab bundle:ORIGINAL in the contents file? Thanks. -- Van Ly -Original Message- From: Claudia Jürgen [mailto:claudia.juer...@ub.uni-dortmund.de] Sent: Tue 2/06/2009 5:15 PM To: prathap nk Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] UI batch import Hi Prathap, this howto of TDL is very usefull: http://www.tdl.org/files/DSpaceBatchImportFormat.pdf Hope that helps Claudia Jürgen prathap nk schrieb: Hi All I am finding difficulty in creating UI batch import. , can anyone help me in this regards. Regards, prathap Cricket on your mind? Visit the ultimate cricket website. Enter http://beta..cricket.yahoo.com -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] archive_directory assetstore growth
Actually, without having run any of the helper scripts, an initial deposit in DSpace leaves in the assetstore a bitstream for the file and the accompanying license. -- Van Ly dspace= select * from bitstream; bitstream_id | bitstream_format_id |name| size_bytes | checksum | checksum_algorithm | description | user_format_description |source | internal_id | deleted | store_number | sequence_id --+-+++--++-+-+---+-+-+--+- 1 | 3 | Dspace-architecture-whitepaper.pdf | 109472 | 3a4d1f4beb72d526852b994785c2f087 | MD5| | | /common/dspace-data/upload/Dspace-architecture-whitepaper.pdf | 115815019145092108673282291954599930771 | f |0 | 1 2 | 2 | license.txt| 90 | fdc1c5203350a12ba913209150953506 | MD5| | | Written by org.dspace.content.Item | 86990559682600625622922454764247047595 | f |0 | 2 (2 rows) -Original Message- From: Van Ly Sent: Thu 28/05/2009 10:30 AM To: Stuart Lewis Cc: DSpace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] archive_directory assetstore growth (Also, the asset store contains the extracted text copies of files you uploaded, but I wouldn't expect them to take up 3x the size of your new files). A single document in the assetstore, the `DSpace Architectural Futures: A White Paper' looks as follows #0, interestinglythe extracted text copy occupies less than ten percent of the original. Thanks. -- Van Ly -- #0 -- [r...@dabih dspace-data]# tree assetstore assetstore |-- 11 | `-- 58 | `-- 15 | `-- 115815019145092108673282291954599930771 `-- 86 `-- 99 `-- 05 `-- 86990559682600625622922454764247047595 [r...@dabih dspace-data]# find assetstore |xargs file assetstore: directory assetstore/11: directory assetstore/11/58:directory assetstore/11/58/15: directory assetstore/11/58/15/115815019145092108673282291954599930771: PDF document, vers\ ion 1.3 assetstore/86: directory assetstore/86/99:directory assetstore/86/99/05: directory assetstore/86/99/05/86990559682600625622922454764247047595: ASCII text [r...@dabih dspace-data]# find assetstore -type f |xargs ls -h --size 116K assetstore/11/58/15/115815019145092108673282291954599930771 \ 8.0K assetstore/86/99/05/86990559682600625622922454764247047595 -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tue 26/05/2009 6:36 PM To: Van Ly Subject: RE: [Dspace-tech] archive_directory assetstore growth Hi Van Ly, Have you tried running [dspace]/bin/cleanup to get rid of old stale bitstreams? (Also, the asset store contains the extracted text copies of files you uploaded, but I wouldn't expect them to take up 3x the size of your new files). Cheers, Stuart From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Tue 26/05/2009 19:55 To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] archive_directory assetstore growth Hi, At the moment, I've an archive_directory of 51Gb occupying 89Gb of assetstore in DSpace. The archive_directory is like the one shown in dspace-1.4.2-source/docs/application.html#itemimporter and is a copy of all packages successfully imported in 1.4.2 DSpace with 8.1 Postgresql. When the archive_directory grew from 50-51Gb, that 1Gb difference grew the DSpace assetstore by 4Gb, is that supposed to happen? or are failed import attempts (and retries) responsible for leaving clutter in the assetstore? or are package replacement operations (and many repeats) responsible for leaving earlier duplicate copies of bitstreams behind? I was expecting a successful 1Gb feed to DSpace would grow the assetstore by about 1Gb plus minus a little bit. Any `clue' is much appreciated. -- Van Ly -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google
Re: [Dspace-tech] archive_directory assetstore growth
(Also, the asset store contains the extracted text copies of files you uploaded, but I wouldn't expect them to take up 3x the size of your new files). A single document in the assetstore, the `DSpace Architectural Futures: A White Paper' looks as follows #0, interestinglythe extracted text copy occupies less than ten percent of the original. Thanks. -- Van Ly -- #0 -- [r...@dabih dspace-data]# tree assetstore assetstore |-- 11 | `-- 58 | `-- 15 | `-- 115815019145092108673282291954599930771 `-- 86 `-- 99 `-- 05 `-- 86990559682600625622922454764247047595 [r...@dabih dspace-data]# find assetstore |xargs file assetstore: directory assetstore/11: directory assetstore/11/58:directory assetstore/11/58/15: directory assetstore/11/58/15/115815019145092108673282291954599930771: PDF document, vers\ ion 1.3 assetstore/86: directory assetstore/86/99:directory assetstore/86/99/05: directory assetstore/86/99/05/86990559682600625622922454764247047595: ASCII text [r...@dabih dspace-data]# find assetstore -type f |xargs ls -h --size 116K assetstore/11/58/15/115815019145092108673282291954599930771 \ 8.0K assetstore/86/99/05/86990559682600625622922454764247047595 -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tue 26/05/2009 6:36 PM To: Van Ly Subject: RE: [Dspace-tech] archive_directory assetstore growth Hi Van Ly, Have you tried running [dspace]/bin/cleanup to get rid of old stale bitstreams? (Also, the asset store contains the extracted text copies of files you uploaded, but I wouldn't expect them to take up 3x the size of your new files). Cheers, Stuart From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Tue 26/05/2009 19:55 To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] archive_directory assetstore growth Hi, At the moment, I've an archive_directory of 51Gb occupying 89Gb of assetstore in DSpace. The archive_directory is like the one shown in dspace-1.4.2-source/docs/application.html#itemimporter and is a copy of all packages successfully imported in 1.4.2 DSpace with 8.1 Postgresql. When the archive_directory grew from 50-51Gb, that 1Gb difference grew the DSpace assetstore by 4Gb, is that supposed to happen? or are failed import attempts (and retries) responsible for leaving clutter in the assetstore? or are package replacement operations (and many repeats) responsible for leaving earlier duplicate copies of bitstreams behind? I was expecting a successful 1Gb feed to DSpace would grow the assetstore by about 1Gb plus minus a little bit. Any `clue' is much appreciated. -- Van Ly -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] archive_directory assetstore growth
[ run [dspace]/bin/cleanup to get rid of old stale bitstreams ] Thanks Stuart, yeah, DSpace flags bitstreams for delete without deleting them unless cleanup is called. The importer script I have tries to add or replace a package but it should really test first before doing, ie. use ItemImport with the --test flag (exit status = 0 means good to add or replace?). Could incomplete add and replace ItemImport operations be wasting assetstore space? -- Van Ly -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tue 26/05/2009 6:36 PM To: Van Ly Subject: RE: [Dspace-tech] archive_directory assetstore growth Hi Van Ly, Have you tried running [dspace]/bin/cleanup to get rid of old stale bitstreams? (Also, the asset store contains the extracted text copies of files you uploaded, but I wouldn't expect them to take up 3x the size of your new files). Cheers, Stuart From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Tue 26/05/2009 19:55 To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] archive_directory assetstore growth Hi, At the moment, I've an archive_directory of 51Gb occupying 89Gb of assetstore in DSpace. The archive_directory is like the one shown in dspace-1.4.2-source/docs/application.html#itemimporter and is a copy of all packages successfully imported in 1.4.2 DSpace with 8.1 Postgresql. When the archive_directory grew from 50-51Gb, that 1Gb difference grew the DSpace assetstore by 4Gb, is that supposed to happen? or are failed import attempts (and retries) responsible for leaving clutter in the assetstore? or are package replacement operations (and many repeats) responsible for leaving earlier duplicate copies of bitstreams behind? I was expecting a successful 1Gb feed to DSpace would grow the assetstore by about 1Gb plus minus a little bit. Any `clue' is much appreciated. -- Van Ly -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://p.sf.net/sfu/creativitycat-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] human languages character detection was: Dspace in CD
[ on Chinese / mandariam / Pinyin characters ] Hi Emily, Have a look at UTF-8 for your database and DSpace installation(s). -- Van Ly From: Emily Monteiro [mailto:galinaem...@gmail.com] Sent: Thu 21/05/2009 10:18 PM To: Van Ly Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace in CD Hi Van Ly, Thanks for the help, but I have yet another problem. I have metadata in Chinese and put on DSpace, but for research it can not detect those characters in mandariam, know how to send in addition to solving the problem? I was searching about the Pinyin, but not found yet how to use it in DSpace. Thank you if they can help 2009/5/20 Van Ly v...@library.usyd.edu.au [ wanting to copy and transfer DSpace on media, such as CD ] Hi Emily Depending on how big your DSpace is, the capacity of one CD may not be enough. Two places I know of for meta/data are: 1/ the location of the assetstore for as defined in dspace.cfg for data 2/ and a dump of the backend database for metadata Perhaps, stopping DSpace, copy the meta/data, transfer, restore are the sequence of steps you should follow. Using rsync() or robocopy.exe across the network or to a large capacity portable device is an option for the transfer stage. Best wishes -- Van Ly From: Emily Monteiro [mailto:galinaem...@gmail.com] Sent: Thu 21/05/2009 1:38 AM To: Ricard de la Vega Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace in CD hi Ricardo! I think I did not understand well, but I do not want a CD version of DSpace, but after installing DSpace can copy it or export it to a CD, with all data and metadata to be used in another computer. Can you help me with this. Now pardon my English is that I only understand well the protuguês 2009/5/20 Ricard de la Vega rdelav...@cesca.es There are a Live CD version at http://cadair.aber.ac.uk/dspace/handle/2160/565 I hope this helps you, Ricard Emily Monteiro wrote: Hello everyone? I am in Cape Verde at the University Jean Piaget of Cape Verde, working with the DSpace some time ago and I am researching the specifics of it, so wanted to know if you can save the DSpace on CD-R Thank you for your help -- Émília Monteiro Laboratório de Educação Digital -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- .. __ / / Ricard de la Vega C E / S / C A Departament de Sistemes /__ /Centre de Supercomputació de Catalunya Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. 93 205 6464 (ext. 300) · F. 93 205 6979 · rdelav...@cesca.cat .. -- Émília Monteiro Laboratório de Educação Digital -- Émília Monteiro Laboratório de Educação Digital -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp
Re: [Dspace-tech] Dspace in CD
[ wanting to copy and transfer DSpace on media, such as CD ] Hi Emily Depending on how big your DSpace is, the capacity of one CD may not be enough. Two places I know of for meta/data are: 1/ the location of the assetstore for as defined in dspace.cfg for data 2/ and a dump of the backend database for metadata Perhaps, stopping DSpace, copy the meta/data, transfer, restore are the sequence of steps you should follow. Using rsync() or robocopy.exe across the network or to a large capacity portable device is an option for the transfer stage. Best wishes -- Van Ly From: Emily Monteiro [mailto:galinaem...@gmail.com] Sent: Thu 21/05/2009 1:38 AM To: Ricard de la Vega Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Dspace in CD hi Ricardo! I think I did not understand well, but I do not want a CD version of DSpace, but after installing DSpace can copy it or export it to a CD, with all data and metadata to be used in another computer. Can you help me with this. Now pardon my English is that I only understand well the protuguês 2009/5/20 Ricard de la Vega rdelav...@cesca.es There are a Live CD version at http://cadair.aber.ac.uk/dspace/handle/2160/565 I hope this helps you, Ricard Emily Monteiro wrote: Hello everyone? I am in Cape Verde at the University Jean Piaget of Cape Verde, working with the DSpace some time ago and I am researching the specifics of it, so wanted to know if you can save the DSpace on CD-R Thank you for your help -- Émília Monteiro Laboratório de Educação Digital https://www.owa.usyd.edu.au/Exchange/vly/Drafts/ATT354116.gif -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- .. __ / / Ricard de la Vega C E / S / C A Departament de Sistemes /__ /Centre de Supercomputació de Catalunya Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona T. 93 205 6464 (ext. 300) · F. 93 205 6979 · rdelav...@cesca.cat .. -- Émília Monteiro Laboratório de Educação Digital ATT354116.gif-- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, Big Spaceship. http://www.creativitycat.com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] RESOLVED: metadatafieldregistry_pkey duplicate key error
I found the largest value of metadata_field_id in metadatafieldregistry had outgrown last_value in metadatafieldregistry_seq [1,2], piecing together search results of similar `duplicate key' errors, I got it to accept further metadata field names after using [3]. -- #1 - get largest metadata_field_id SELECT metadata_field_id,element,qualifier FROM metadatafieldregistry ORDER BY metadata_field_id DESC; -- #2 - get last value SELECT * from metadatafieldregistry_seq; -- #3 - set value in #2 to #1 -- ## - where N is a Number (see page 222 ; chapter 9.12 of the 8.1 postgresql manual for more) SELECT setval('metadatafieldregistry_seq', N); Best wishes, -- Van Ly From: Van Ly Sent: Mon 18/05/2009 1:05 PM To: DSpace-tech@lists.sourceforge.net Subject: metadatafieldregistry_pkey duplicate key error Hello everyone, Has anyone worked around or fixed this kind of `PSQLException: ERROR: duplicate key' internal error. #2 occurs When trying to add dublin core and qualifier labels (on 1.4.2 DSpace + Postgresql 8.1.11) similar to: description.exhibit description.exhibitHost description.exhibitCity description.exhibitCountry description.exhibitCategory description.exhibitImpact Kind regards, -- Van Ly -- #2 - specifically in the case of already having ## description.exhibitHost ## description.exhibition ## adding description.exhibit fails 2009-05-18 12:52:45,935 WARN org.dspace.app.webui.servlet.DSpaceServlet @ name\ @place:session_id=F32DD4066DD475B8841A2A2204961B9A:ip_addr=1.2\ .3.4:database_error:org.postgresql.util.PSQLException: ERROR: duplicate key \ violates unique constraint metadatafieldregistry_pkey org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constra\ int metadatafieldregistry_pkey at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryE\ xecutorImpl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecuto\ rImpl.java:1309) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.j\ ava:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Sta\ tement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstrac\ tJdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJd\ bc2Statement.java:308) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(De\ legatingPreparedStatement.java:101) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(De\ legatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.jav\ a:1492) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java\ :815) at org.dspace.content.MetadataField.create(MetadataField.java:281) at org.dspace.app.webui.servlet.admin.MetadataFieldRegistryServlet.doDS\ Post(MetadataFieldRegistryServlet.java:166) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServ\ let.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java\ :105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter\ .java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper\ Valve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContext\ Valve.java:174) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.jav\ a:1492) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java\ :815) at org.dspace.content.MetadataField.create(MetadataField.java:281) at org.dspace.app.webui.servlet.admin.MetadataFieldRegistryServlet.doDS\ Post(MetadataFieldRegistryServlet.java:166) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServ\ let.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java\ :105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188
[Dspace-tech] metadatafieldregistry_pkey duplicate key error
Hello everyone, Has anyone worked around or fixed this kind of `PSQLException: ERROR: duplicate key' internal error. #2 occurs When trying to add dublin core and qualifier labels (on 1.4.2 DSpace + Postgresql 8.1.11) similar to: description.exhibit description.exhibitHost description.exhibitCity description.exhibitCountry description.exhibitCategory description.exhibitImpact Kind regards, -- Van Ly -- #2 - specifically in the case of already having ## description.exhibitHost ## description.exhibition ## adding description.exhibit fails 2009-05-18 12:52:45,935 WARN org.dspace.app.webui.servlet.DSpaceServlet @ name\ @place:session_id=F32DD4066DD475B8841A2A2204961B9A:ip_addr=1.2\ .3.4:database_error:org.postgresql.util.PSQLException: ERROR: duplicate key \ violates unique constraint metadatafieldregistry_pkey org.postgresql.util.PSQLException: ERROR: duplicate key violates unique constra\ int metadatafieldregistry_pkey at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryE\ xecutorImpl.java:1525) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecuto\ rImpl.java:1309) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.j\ ava:188) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Sta\ tement.java:452) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstrac\ tJdbc2Statement.java:354) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJd\ bc2Statement.java:308) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(De\ legatingPreparedStatement.java:101) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(De\ legatingPreparedStatement.java:101) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.jav\ a:1492) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java\ :815) at org.dspace.content.MetadataField.create(MetadataField.java:281) at org.dspace.app.webui.servlet.admin.MetadataFieldRegistryServlet.doDS\ Post(MetadataFieldRegistryServlet.java:166) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServ\ let.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java\ :105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter\ .java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper\ Valve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContext\ Valve.java:174) at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.jav\ a:1492) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java\ :815) at org.dspace.content.MetadataField.create(MetadataField.java:281) at org.dspace.app.webui.servlet.admin.MetadataFieldRegistryServlet.doDS\ Post(MetadataFieldRegistryServlet.java:166) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServ\ let.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java\ :105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter\ .java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App\ licationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application\ FilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper\ Valve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContext\ Valve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.\ java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.\ java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa\ lve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja\ va:151
Re: [Dspace-tech] [Fwd: DSpace: Internal Server Error]
Hi, I noticed in the attached log, fragments of the kind /dspace/upload/upload__14b22f3a_120f156836e__7ffc_0004.tmp (Permission denied) you might try checking whether the user context of the webapp has appropriate access permissions to that part of the file system. -- Van Ly From: Miguel A. Robledo [mailto:marobl...@santafe.gov.ar] Sent: Wed 4/29/2009 8:57 PM To: dspace-tech@lists.sourceforge.net; dspace-gene...@mit.edu Subject: [Dspace-tech] [Fwd: DSpace: Internal Server Error] Hi, I am testing DSpace 1.5.2, i created some comunities and collections but i have a problem when intented load items. I Fordward the log mail. Thanks you. -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] maven problem
Putting 'maven mvn proxy' in a search engine gives http://maven.apache.org/guides/mini/guide-proxies.html -- Van Ly From: Zico [mailto:mailz...@gmail.com] Sent: Tue 4/21/2009 7:24 PM To: Tech DSpace Subject: [Dspace-tech] maven problem I am trying to install dspace-1.5 behind a proxy in university. Here, i cannot execute the command mvn package. How can i solve this problem? -- Best, Zico -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] High Availability DSpace
[ VMWare ESX just allows me to setup many virtual machines on one hardware ] In theory, from reading the documentation in my limited experience, it allows the clustering of many real hardware elements to support a Virtual Datacenter/Virtual Infrastructure. In practice, 1 of 6 in a VMware cluster had a memory problem; we vmotioned the DSpace to another in the cluster, there was no break in service, the real host went off-line for servicing. The same was done for upgrading bios. The vmotion can be set to trigger conditionally. It gives you one more layer for high availability. You can use linuxha or similar for high availability. -- Van Ly From: John Preston [mailto:byhisde...@gmail.com] Sent: Tue 4/21/2009 12:39 AM To: Van Ly; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] High Availability DSpace There is also VMware ESX with vmotion of virtual host in case of underlying real host having troubles. You can arrange it with LVS, linuxha, etc anyway you like The VMWare ESX just allows me to setup many virtual machines on one hardware, but I would still need to handle the issues related to keeping multiple DSpace instances in sync. John -- Van Ly From: Robin Taylor [mailto:robin.tay...@ed.ac.uk] Sent: Mon 4/20/2009 6:25 PM To: John Preston; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] High Availability DSpace Hi John, I am a little out of my depth here so forgive me if I am taking rubbish, but I am not sure that having two servers constantly available is the right solution for you. Typically this setup would be used to spread the load if the application is in high demand. To provide high availability in the event of failure you would typically use some clustering software which will failover of IP addresses etc from the failed machine to another machine which sits idle ready to be used in the event of a failover. I just did a quick google on 'Centos clustering' and this came up http://www.linuxtopia.org/online_books/centos_linux_guides/centos_cluster_configuration_and_management/. I don't know if its free or if there are any free alternatives. Cheers, Robin. Robin Taylor Main Library University of Edinburgh Tel. 0131 6515208 -Original Message- From: John Preston [mailto:byhisde...@gmail.com] Sent: 20 April 2009 00:16 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] High Availability DSpace I have to set up a DSpace instance and want to make it highly avalable. Its not that the load is gonna be that heavy to start with, but I want to have some redundancy such that if a machine goes bad, the system will still function while I look about changing it out. So I'm planning on using LVS on Centos. I will have two routers which will keep traffic going to two webservers on the backend which have duplicate DSpace instances. Now to have duplicate instances I will use a common NFS store for the assest store, but for the database I will point each of the DSpace instances to a common database on the network. I know this will be a single point of failure, but I can either restore the database quickly if I need, or I can get synchronisation across postgres databases dynamically if I want (slony, etc). My question is: can anyone give me a simpler or better way to achieve high availability, and is DSpace code able to manage different web applications writing to the database across different instances. John -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Stay on top of everything new and different, both inside and around Java (TM) technology - register
Re: [Dspace-tech] High Availability DSpace
[ (I also have some ideas related to Amazon's EC2 service ] There is an interesting SFPUG: PostgreSQL In the Cloud presentation at http://www.vimeo.com/4144396 -- Van Ly -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Strange results when configure to support https
Hi, Alternatively, you can frontend tomcat with apache httpd with proxy_ajp and ssl support and put in the ssl.conf file,VirtualHost element (in the case of RHEL5): ProxyPass / ajp://localhost:8009/ ProxyPassReverse / ajp://localhost:8009/ -- Van Ly From: Panyarak Ngamsritragul [mailto:pa...@me.psu.ac.th] Sent: Fri 4/17/2009 12:48 AM To: Ruth Anjo Cc: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Strange results when configure to support https Hi, I have been trying to setup https support for tomcat6 and found strange behavior: The https port is set to 7443, but I could not bring up the service using https://localhost:7443/jspui. It works with http://localhost:7443/jspui! This behaves the same as http://localhost:8080/jspui. Is this what we should expect ? (Sorry for my ignorance) -- Panyarak Ngamsritragul Department of Mechanical Engineering Prince of Songkla University. -- This message has been scanned for viruses and dangerous content by MailScanner. -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Java Heap dumps during Filter-Media
[ How does the PDFBox stay ahead of the game when Adobe is upgrading and adding features to the PDF standard? ] PDFBox could track and target the iso standard first and Adobe's second. # Document management -- Portable document format -- Part 1: PDF 1.7 http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=51502 -- Van Ly -Original Message- From: Jeffrey Trimble [mailto:jtrim...@cc.ysu.edu] Sent: Thu 4/9/2009 5:46 AM To: Richard Rodgers Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Java Heap dumps during Filter-Media Got my vote for that. Until the PDFBox is perfected to really delve into this, it will be helpful. How does the PDFBox stay ahead of the game when Adobe is upgrading and adding features to the PDF standard? That should be catching up with all of us sooner or later. --Jeff Jeffrey Trimble System LIbrarian William F. Maag Library Youngstown State University 330.941.2483 (Office) jtrim...@cc.ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu On Apr 8, 2009, at 11:53 AM, Richard Rodgers wrote: At MIT we came up with a similar approach, which takes some of the grunt work out of managing the skips. We extended MediaFilter to detect PDFBox (or other) exceptions, then automatically record their handles to a skip list, which is used for any subsequent runs. We'd be glad to give you the code or just put it into the next 1.5.X release. Thanks, Richard R Quoting Tim Donohue tdono...@illinois.edu: Jeffrey, I've seen this same issue all to many times to count. From what I've noticed it seems that the PDFBox software (which DSpace uses) occasionally has difficulties with larger PDFs (usually 7MB or larger) which included OCRed, scanned images. I've never encountered this problem with PDFs created directly from digital files (like Word, etc.)... From what I've seen, occasionally recreating the PDF will resolve the problem...but, more often than not even that doesn't help. The problem seems to be more of an issue with how PDFBox loads the content into memory. Locally, I've only come up with two possible solutions: (1) Increase the memory available to the 'filter-media' script (by bumping up the -Xmx value in the '[dspace]/bin/dsrun' script). This works for some PDFs, but others will continue to have problems (as PDFBox seems to use up enormous amounts of memory for some PDFs). (2) Force those problematic PDFs to be skipped over by the 'filter-media' script (by using the -s flag): To make this easier on myself, I've started maintaining a filter-skiplist file which lists all the handles of the problematic PDFs (so far we've encountered 35 of them), with a separate handle on each line. Then, I pass this filter-skiplist file to the cronjob which runs 'filter-media' like so: 0 2 * * * filter-media -s `less filter-skiplist | tr '\n' ','` The above script translates all the newlines (\n) to commas (,) in the 'filter-skiplist' file and passes the result to the 'filter-media' -s (skip) flag. So, in the end, filter-media receives a comma-separated list of handles of PDFs which it should no longer process. (Obviously this means any PDFs belonging to items in your 'filter-skiplist' can not be full text searched in DSpace) I'm hoping that in the longer term PDFBox will resolve its memory issues as it comes out of the incubation stage under Apache. If anyone else has potential solutions, I'd love to hear them, as I'm in a similar situation as Jeffrey. - Tim Jeffrey Trimble wrote: I've run into a funky situation. After using the distributed PDFBOXand the associated jars (bouncy castle) the filter media works really, really well, until-- We have one pdf that has caused the filter-media to produce a memory dump/ java heap dump. The errors are reports first the IBM flavor of JVM. We removed the offending PDF from the database, the filter-media went on it's way merrily. Has anyone seen anything like this? I have a copy of the heap dump and trace. I can reproduce it one demand by placing this PDF back into the IR. If you have seen this, and was able to resolve it, please let me know. The only thing I can think of doing is to rescan the PDF file from the original and seeing if there is something that resovles itself with the new scan. Thanks in advance, Jeffrey Trimble System LIbrarian William F. Maag Library Youngstown State University 330.941.2483 (Office) jtrim...@cc.ysu.edu mailto:jtrim...@cc.ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http
[Dspace-tech] using ItemImport WAS: no subject
Hi Karen, I've a script that does data capture with a call to ItemImport, you can redirect stdout and stderr to files for debugging. I've a feeling the eperson name has to have `@' as part of the value ie. an email address. --- ItemImport in use 104 $ds/bin/dsrun org.dspace.app.itemimport.ItemImport \ 105 -a \ 106 -e $dsEperson \ 107 -c $dsCollection \ 108 -s $dsItemCopy \ 109 -m $dsItemCopy/mapfile \ 110$dsItemCopy/stdout.text \ 111 2 $dsItemCopy/stderr.text --- from ItemImport.java:341 341 if (eperson.indexOf('@') != -1) 342 { 343 // @ sign, must be an email 344 myEPerson = EPerson.findByEmail(c, eperson); 345 } -- Van Ly From: Karen_Savage [mailto:karen_sav...@baylor.edu] Sent: Tue 7/04/2009 5:00 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] no subject No, unfortunately, changing the eperson_id over to my email didn't work. Still the same error message. -- Karen S From: Scott Phillips scott.a.phill...@gmail.com Date: Mon, 6 Apr 2009 10:42:51 -0500 To: Karen Savage karen_sav...@baylor.edu Subject: Re: [Dspace-tech] no subject Karen, /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 2039 -c 3029/2039 -s import -m /mapfiles/mapfile_ball -t The problem is likely with you're -e switch. -e is suppose to indicate the EPerson who is performing the action (aka you), you typically want to use the email address you have registered with your EPerson account in the repository. Scott-- On Apr 6, 2009, at 10:35 AM, Karen_Savage wrote: Hi, I'm trying to do a batch import of files to a particular etd in our collection, but I keep getting the following error: Destination collections: Exception in thread main java.lang.ClassCastException: org.dspace.content.Item at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:341) This is the command I'm running (I've switched out the ids): /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 2039 -c 3029/2039 -s import -m /mapfiles/mapfile_ball -t This is my directory structure: import 001 contents dublin_core.xml various files to upload We're running Dspace 1.3.2. I double-checked all the log files and didn't see any errors for the time that I last ran the command. I'd appreciate any help or suggestions! -- Karen Savage Baylor University Central Libraries Electronic Libraries ext. 3275 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] using ItemImport WAS: no subject
Hi Stuart, So, eperson is identified by emailName or number. I've in the past tried swapping out an emailName for a generic name `ds_capture' which didn't work. That explains it, thanks. -- Van Ly -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Tue 7/04/2009 10:39 AM To: Van Ly; dspace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] using ItemImport WAS: no subject Hi Van, The 'if' statement looking for an email address also has an 'else': if (eperson.indexOf('@') != -1) { // @ sign, must be an email myEPerson = EPerson.findByEmail(c, eperson); } else { myEPerson = EPerson.find(c, Integer.parseInt(eperson)); } So you are able to use the EPerson ID number for imports. Cheers, Stuart Lewis Digital Services Programmer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz http://www.library.auckland.ac.nz/ / From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Tuesday, 7 April 2009 12:07 p.m. To: Karen_Savage; dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] using ItemImport WAS: no subject Hi Karen, I've a script that does data capture with a call to ItemImport, you can redirect stdout and stderr to files for debugging. I've a feeling the eperson name has to have `@' mailto:%60@' as part of the value ie. an email address. --- ItemImport in use 104 $ds/bin/dsrun org.dspace.app.itemimport.ItemImport \ 105 -a \ 106 -e $dsEperson \ 107 -c $dsCollection \ 108 -s $dsItemCopy \ 109 -m $dsItemCopy/mapfile \ 110$dsItemCopy/stdout.text \ 111 2 $dsItemCopy/stderr.text --- from ItemImport.java:341 341 if (eperson.indexOf('@') != -1) 342 { 343 // @ sign, must be an email 344 myEPerson = EPerson.findByEmail(c, eperson); 345 } -- Van Ly From: Karen_Savage [mailto:karen_sav...@baylor.edu] Sent: Tue 7/04/2009 5:00 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] no subject No, unfortunately, changing the eperson_id over to my email didn't work. Still the same error message. -- Karen S From: Scott Phillips scott.a.phill...@gmail.com Date: Mon, 6 Apr 2009 10:42:51 -0500 To: Karen Savage karen_sav...@baylor.edu Subject: Re: [Dspace-tech] no subject Karen, /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 2039 -c 3029/2039 -s import -m /mapfiles/mapfile_ball -t The problem is likely with you're -e switch. -e is suppose to indicate the EPerson who is performing the action (aka you), you typically want to use the email address you have registered with your EPerson account in the repository. Scott-- On Apr 6, 2009, at 10:35 AM, Karen_Savage wrote: Hi, I'm trying to do a batch import of files to a particular etd in our collection, but I keep getting the following error: Destination collections: Exception in thread main java.lang.ClassCastException: org.dspace.content.Item at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:341) This is the command I'm running (I've switched out the ids): /dspace/bin/dsrun org.dspace.app.itemimport.ItemImport -a -e 2039 -c 3029/2039 -s import -m /mapfiles/mapfile_ball -t This is my directory structure: import 001 contents dublin_core.xml various files to upload We're running Dspace 1.3.2. I double-checked all the log files and didn't see any errors for the time that I last ran the command. I'd appreciate any help or suggestions! -- Karen Savage Baylor University Central Libraries Electronic Libraries ext. 3275 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Install dspace unsucessful
Hi Panyarak, For next time, you'll find the createuser/createdb steps need to be done before the `ant fresh_install'. Something I use for testing is # su --login dspace -c 'dropdb -i dspace' # su --login postgres -c 'dropuser dspace' # # su --login postgres -c 'createuser -U postgres -S -R -c 35 -d dspace' # su --login dspace -c 'createdb -U dspace -E UTF8 -T template0 dspace database for dspace' -- Van Ly From: Panyarak Ngamsritragul Sent: Wed 1/04/2009 12:01 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Install dspace unsucessful Thanks a lot for your information. I did not record all the details I did last time(s). Sometimes I was stopped at 'maven package' which I learned from others experiences that it was the file permission issue. Sometimes it seemed that I successfully went through the 'ant fresh_install', but could not see anything when called from browser. I rebuilt DSpace again and was stopped at 'ant fresh_install' Anyway, I will try again and let you know later. Thanks again. Panyarak On Tue, 31 Mar 2009, Mark H. Wood wrote: On Tue, Mar 31, 2009 at 10:07:47PM +0700, Panyarak Ngamsritragul wrote: As postgres, I tried to create a database: createdb -U dspace -E UNICODE dspace But the command returned an error message: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user dspace Rightly so. Your user process is owned by 'postgres', not 'dspace', and that is what the Ident daemon will report to PostgreSQL. Your user and database credentials do not match, and that match is required for Ident authentication. It is possible to create the database when I 'sudo su dspace'. This can even be done without specifying '-U dspace' in the command line. Yes. Since the database/user pair in question is authenticated with Ident, the matching usernames are sufficient. Is there anything wrong in this step ? I did do further to install the package, but finally failed. Well, I think that the command should be 'createdb -O dspace -E UNICODE dspace'. The database needs to be owned by 'dspace' but it need not be *created by* 'dspace'. You should be able to use the PostgreSQL superuser ('postgres') to create the database. But it sounds like you have created the database properly. Maybe you should tell us how far you got and what the error was that has stopped you. -- This message has been scanned for viruses and dangerous content by MailScanner. -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace on Port 80
Hi Sean, [ http://wiki.dspace.org/index.php/DspaceOnStandardPorts ] I've added a section for mod_proxy_ajp in the above. The steps involved are less intricate than what you've described. Give that a go. -- Van Ly From: Sean Carte Sent: Thu 26/03/2009 12:49 AM To: dspace-tech Subject: [Dspace-tech] DSpace on Port 80 I've been trying to use Apache and mod_proxy to redirect queries to port 80, following the instructions at http://wiki.dspace.org/index.php/DspaceOnStandardPorts I've got everything working so long as I browse to /xmlui. Going to the server's root page simply gives me a blank screen. This is documented in the wiki as follows: In order to display the dspace home page, not the tomcat home page when accessing http://rose.bris.ac.uk 1. Create a page called HelloWorld.jsp in the directory below: $CATALINA_HOME/webapps/ROOT/ 2. Add the following lines to the HelloWorld.jsp: % response.sendRedirect(/dspace/); % Next. In the same directory, add the following to index.jsp just after the body tag:- body jsp:forward page=HelloWorld.jsp/ 3. Edit: ../ROOT/WEB-INF/web.xml, disable the following text as follows: 4. Re-start tomcat I don't have a ROOT directory anywhere on my system. Should I simply create it in the tomcat install directory /var/lib/tomcat5.5/webapps/? Then what about the files that it's supposed to contain? Am I missing something? It also looks like that wiki page is missing some instructions for 3. What should that be? I did find something in the archives that suggested: redirect tomcat's ROOT webapp to dspace using a symlink: ln -s /tomcat/home/webapps/ROOT /your/dspace/installation/webapps/jspui I tried that, but it didn't work, I used `ln -s /dspace/webapps/ROOT /dspace/webapps/xmlui`. I'm tempted to give up and try the iptables approach instead, but it looks like I'm almost there ... Sean -- Sean Carte esAL Library Systems Manager +27 72 898 8775 +27 31 373 2490 fax: 0866741254 http://esal.dut.ac.za/ -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changes to Messages.properties not being recognized
Hi Eric, Have a look at http://wiki.dspace.org/index.php/Fix_%3F%3F%3Fsome.key.name%3F%3F%3F_%28JSP%29 -- Van Ly From: Kurzenberger, Eric Sent: Wed 25/03/2009 1:59 PM To: Gary Browne; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Changes to Messages.properties not being recognized Thanks for the response, Gary. I followed the steps you outlined, but still am not seeing my changes reflected. Messages.properties did not get copied to the [dspace-install-directory]/webapps/jspui/WEB-INF/classes/ directory (which is empty) after running both ant init_configs and ant update. I copied it manually and restarted tomcat, but still didn't see my changes reflected. I also tried copying Messages.properties to [dspace-install-directory]/config, but that didn't work either. I did get the following build error when running mvn clean package: Failed to delete directory: /usr/local/dspace-1.5.1-release/dspace/modules/xmlui/target. Reason: Unable to delete file /usr/local/dspace-1.5.1-release/dspace/modules/xmlui/target/xmlui-1.5.1/WEB-INF/lib/activation-1.1.jar But the build was successful, and since I'm using jspui, not xmlui, I don't see why this would be an issue. Do you have any other suggestions? Cheers, Eric On 3/23/09 6:38 PM, Gary Browne g.bro...@library.usyd.edu.au wrote: Hi Eric, Looks like noone has replied to you AFAICS. Let's see how we go... I don't copy the war files, just point tomcat to the [dspace-install-directory]/webapps/jspui directory (in server.xml), so not sure if this will work with your setup. So it looks like you have the Messages.properties file in the right location (I think, from memory) in the source directory. Then you need to run from the [dspace-source]/dspace directory: mvn clean package Then change to your dspace-1.5.1-build.dir directory (cd target/dspace-1.5.1-build.dir) and run: ant init_configs (or maybe 'ant update', if that doesn't work - sorry, just back from 3 months off and a bit rusty). How can you check if it has worked? Check the [dspace-install-directory]/webapps/jspui/WEB-INF/classes/ directory for your (updated) Messages.properties file. It should be copied here. Then of course, check your button. Hope this is of help in some small way. Kind regards Gary Gary Browne Development Programmer Library IT Services University of Sydney ph: 9351-5946 -Original Message- From: Kurzenberger, Eric [mailto:eric.kurzenber...@yale.edu] Sent: Saturday, 21 March 2009 2:36 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Changes to Messages.properties not being recognized Hi all, I made a couple changes to my Messages.properties file (to take care of the ???jsp.mydspace.request.export.community.??? button issue, amongst other things) and did a rebuild of DSpace, but my changes aren't being recognized. Since I'm using the default release of 1.5.1 and not the source release, I had to get the Messages.properties file from the DSpace SourceForge repository and copy it to [Dspace-source]/modules/jspui/main/resources, which I've read worked for other users, then did a rebuild of DSpace and restarted Tomcat. But the changes I made aren't showing up when I go back into DSpace. One note: the rebuild instructions on the wiki indicate to copy the .war files from the build directory in [dspace-source] to [tomcat], but I don't see a build directory anywhere in my [dspace-source]. I do have a dspace-1.5.1-build.dir directory, but hat doesn't contain any .war files. Could this be the source of the issue? Thanks for all your help! Cheers, Eric -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM
Re: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.???
Hi, I got my copy of the Messages.properties file from the local 1.5.0 DSpace instance that happened to be around. -- Van Ly . U. of Sydney Library From: Jewel Sent: Sat 7/03/2009 8:16 AM To: DSpace-tech@lists.sourceforge.net Cc: Kim Shepherd; Van Ly Subject: Re: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.??? I am trying to edit this file as well and cannot locate it anywhere. I have looked in the entire dspace directory and it appears to not even exist. I am running version 1 5.1. Any other suggestions? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] a button labelled ???jsp.mydspace.request.export.community.???
Hi, On a new installation of 1.5.1 DSpace, after creating a community, I see in the Admin Tools part of the web-frontend a button labelled ???jsp.mydspace.request.export.community.??? It shows below the buttons edit, create collection, create sub-community. Does anyone know what's missing? perhaps something related to Messages.properties? Thanks in advance. -- Van Ly -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.???
Hi Kim, Thanks. From [0] I have in Messages.properties a line of value jsp.mydspace.request.export.community = Submit But which of the Messages.properties is the source for the installation copy? [1, 2] Without rebuilding, I copied [x] to [y] and inserted that line and restarted tomcat, the button looks as it should without the question marks. I suppose [i] is one source for setting that line... and a DSpace rebuild would do the trick but I don't recall the Messages.properties file was ever installed in the first place. --- details follow [i] -- ## 1.5.1 DSpace has dspace-api/src/main/resources/Messages.properties jsp.mydspace.remove-item.title = Remove Item jsp.mydspace.request.export.collection = Export Collection jsp.mydspace.request.export.item = Export Item jsp.mydspace.subscriptions.info1 = Your subscriptions have been updated. [0] -- ## looking for request.export in jsp files r...@shibsp# find dspace-1.5.1-src-release |fgrep jsp |xargs fgrep -i request.export.community |cat -n 1 dspace-1.5.1-src-release/dspace/target/dspace-1.5.1-build.dir/webapps/jspui/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ \ / 2 dspace-1.5.1-src-release/dspace/modules/jspui/target/war/work/org.dspace/dspace-jspui-webapp/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.expo\ rt.community/ / 3 dspace-1.5.1-src-release/dspace/modules/jspui/target/jspui-1.5.1/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ / 4 dspace-1.5.1-src-release/dspace-jspui/dspace-jspui-webapp/target/dspace-jspui-webapp-1.5.1/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export\ .community/ / 5 dspace-1.5.1-src-release/dspace-jspui/dspace-jspui-webapp/src/main/webapp/community-home.jsp: input type=submit value=fmt:message key=jsp.mydspace.request.export.community/ / -- ## looking for jsp.mydspace.request.export.community ## in /usr/local/dspace/webapps/jspui/WEB-INF/classes/Messages.properties 648 jsp.mydspace.remove-item.remove.button = Remove the Item 649 jsp.mydspace.remove-item.title = Remove Item 650 jsp.mydspace.subscriptions.info1 = Your subscriptions have been updated. 651 jsp.mydspace.subscriptions.info2 = To subscribe to a collection, visit the collection's home page, and click on the Subscribe button. [1] -- ## 1.5.0 source [r...@shibdspace dspace-1.5.0-src-release]# find . -name Messages.properties ./dspace/target/dspace-1.5.0-build.dir/webapps/jspui/WEB-INF/classes/Messages.properties ./dspace/modules/jspui/src/main/resources/Messages.properties ./dspace/modules/jspui/target/classes/Messages.properties ./dspace/modules/jspui/target/jspui-1.5.0/WEB-INF/classes/Messages.properties ./dspace-api/src/main/resources/Messages.properties ./dspace-api/target/classes/Messages.properties ## 1.5.0 installation [r...@shibdspace dspace-1.5.0-src-release]# find /dspace -name Messages.properties [x] /dspace/webapps/jspui/WEB-INF/classes/Messages.properties [2] -- ## 1.5.1 source r...@shibsp# cd dspace-1.5.1-src-release r...@shibsp# find . -name Messages.properties ./dspace-api/target/classes/Messages.properties ./dspace-api/src/main/resources/Messages.properties ## 1.5.1 installation r...@shibsp# find /usr/local/dspace/ -name Messages.properties [y] /usr/local/dspace/webapps/jspui/WEB-INF/classes/Messages.properties -- Van Ly . U of Sydney Library From: Kim Shepherd Sent: Fri 6/03/2009 1:36 PM To: Van Ly; DSpace-tech@lists.sourceforge.net Subject: RE: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.??? Hi Van, Yes, you're correct, that indicates a missing key from Messages.properties - I think this one is known to be missing from the 1.5.1 release, but it's probably quicker to just add it in yourself rather than try to find it in the tracker. Cheers, Kim. From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Friday, 6 March 2009 3:18 p.m. To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] a button labelled???jsp.mydspace.request.export.community.??? Hi, On a new installation of 1.5.1 DSpace, after creating a community, I see in the Admin Tools part of the web-frontend a button labelled ???jsp.mydspace.request.export.community.??? It shows below the buttons edit, create collection, create sub-community. Does anyone know
Re: [Dspace-tech] Internal System Error after uploading document.
We are using Dspace 1.5.1 with Fedora 9. When uploading document to collection , its showing Internal System Error. I know of the following work-around # for tomcat 5.5.27 JAVA_OPTS=$JAVA_OPTS -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -- Van Ly -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.1 in Ubuntu 8.10
Hi Zico, You may need a package called 'ant-apache-regexp'. -- Van Ly : University of Sydney Library From: Zico Sent: Fri 13/02/2009 2:51 AM To: Tech DSpace Subject: [Dspace-tech] Dspace 1.5.1 in Ubuntu 8.10 Hello Mark. i need your help again. Hello, Now, i am trying to install dspace 1.5.1 in Ubuntu 8.10. Everything was pretty much same like Debian 4.0. But, when i go for ant fresh_install .. then.. i got this error... Buildfile: build.xml BUILD FAILED /opt/src/dspace-1.5.1-release/ dspace/target/dspace-1.5.1-build.dir/build.xml:88: No supported regular expression matcher found: java.lang.ClassNotFoundException: org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp Total time: 0 seconds z...@zico-desktop:/opt/src/ dspace-1.5.1-release/dspace/target/dspace-1.5.1-build.dir# I cannot understand the problem. Can you please help me again? -- Best, Zico -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding static pages to a DSpace site using xmlui
Hi, perhaps you add your files to [src]/dspace-1_5_1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp and run 'mvn package' followed by ant. -- Van Ly : University of Sydney Library From: Pottinger, Hardy J. Sent: Fri 13/02/2009 5:06 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] adding static pages to a DSpace site using xmlui Hi, let me ask this question in a different way. If you've added static pages (a FAQ, an about page, etc.) to a DSpace site using xmlui, how did you go about it? Thanks! --Hardy -Original Message- From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] Sent: Wednesday, February 11, 2009 4:25 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] adding static pages to a DSpace site using xmlui Hi, I am using DSpace 1.5.1, on a development instance running on my Windows notebook, and I'm attempting to follow option #1 (XSL-based method) from the Manakin theme tutorial on the wiki, for adding static pages: http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding _static_pa ges I will paste some code snippets below, but first the problem: when I navigate to http://localhost:8080/xmlui/add, the body of the page is blank, and the title of the page reads Page not found. I'm sure I'm missing something obvious. I have confirmed that the file add.xml is in a subfolder of the theme folder, called pages. Any ideas? TIA. Here's the override code for the main body template, which I'm using: xsl:template match=dri:body div id=ds-body ul id=ds-trail [snip, not important] /ul xsl:if test=/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen t='alert'] [...@qualifier='message'] div id=ds-system-wide-alert [snip, not important] /div /xsl:if !-- Check for the custom pages: add, about, help -- xsl:choose xsl:when test=/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen t='request ']...@qualifier='URI']='add' xsl:copy-of select=document('pages/add.xml') / /xsl:when xsl:when test=/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen t='request ']...@qualifier='URI']='about' xsl:copy-of select=document('pages/about.xml') / /xsl:when xsl:when test=/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen t='request ']...@qualifier='URI']='help' xsl:copy-of select=document('pages/help.xml') / /xsl:when !-- Otherwise use default handling of body -- xsl:otherwise xsl:apply-templates / /xsl:otherwise /xsl:choose /div /xsl:template And here's the very basic pages/add.xml file I'm using: h1 xmlns=http://di.tamu.edu/DRI/1.0/; style=font-size: 200%; class=ds-div-headAdd to MOspace/h1 div id=file_news_div_news class=ds-static-div primary p class=ds-paragraphmore content coming soon.../p /div -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~hardy/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Internal Server Error - backdoor.trojan attempt
Hi, Should I be worried about this kind of activity? The link involved refers to something the auto-protection system cleans by deletion, and is expanded on at http://securityresponse.symantec.com/security_response/detected_writeup.jsp?name=Backdoor.Trojan I've inserted [THE_LINK] to prevent it being accidentally triggered. -- Van Ly : University of Sydney Library An internal server error occurred on http://ses.library.usyd.edu.au: Date: 2/3/09 1:16 AM Session ID: E0507983E865B7F7DC2F84C26A99DE7B -- URL Was: http://ses.library.usyd.edu.au/browse?type=http://www.ronnymosuse.com.THE_LINK/pages/_notes/lila.jpg?cmd=cat%20bugado -- Method: GET -- Parameters were: -- cmd: cat bugado -- type: http://www.ronnymosuse.com.THE_LINK/pages/_notes/lila.jpg?; Exception: javax.servlet.ServletException: There is no browse index for the request at org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.java:92) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error installing pljava for statistics plugin
After putting pljava.so in the right place, you could try $ ldconfig Try different things to get different exception(s) or none :-) -- Van Ly : University of Sydney Library -Original Message- From: felipe Melero [mailto:fmel...@unav.es] Sent: Fri 30/01/2009 10:03 PM To: dspace tech Subject: Re: [Dspace-tech] Error installing pljava for statistics plugin hi all, I continue with the same problems. I have tried the same things but I'm getting all the time the same exception: * org.postgresql.util.PSQLException: ERROR: could not access file pljava: No such file or directory* My configuration is the following: postgreSQL 8.1.4 postgresql-8.1-408.jdbc3.jar pljava-i686-pc-linux-gnu-pg8.3-1.4.0 the error is reproduced when I execute the install.sql, can anybody help me please? thanks in advance, Felipe Van Ly escribió: [ I dont know nothing about pljava.so and where to put it, could anyone help me ] Have a look in /usr/lib and you'll find a number of .so files; in manpage ld(1) it mentions, By convention, a .so extension indicates a shared library. Perhaps, the site http://www.pathname.com/fhs/ has something to say for where to put pljava.so -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] host for dspace
I have used gandi.net for hosting in general and for some more see http://delicious.com/vy0123/hosting -- Van Ly : University of Sydney Library From: Andrew Marlow Sent: Mon 2/02/2009 5:10 AM To: Cirilo Macanze Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] host for dspace On Sun, Feb 1, 2009 at 5:15 PM, Cirilo Macanze mutx...@gmail.com wrote: Hi Adam, I'm looking for ta good hosting company to host my DSpace application. Do anyone have a such experience with a provider? Please help me. I don't know of such a provider so I can't help. Sorry. But it seems to me that the issue is which providers have either postgres or oracle. Without those a provider cannot host a DSpace. All the ones I have come across, admittedly for small scale deployments, only support MySQL. This is why I am keen to see support added for mySQL. -- Regards, Andrew M. http://www.andrewpetermarlow.co.uk/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] dspace build error
Hi, When trying to build dspace in netbeans 6.1, has anyone seen this and got around it? Downloading: http://repo1.maven.org/maven2/commons-io/commons-io/1.4/commons-io-1.4.pom [ERROR]Runtime Exception thrown during execution [ERROR]null I have built dspace successfully on sun's jdk, in this case, is openjdk the issue? --- java details $ readlink -e /usr/bin/java /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java --- full dspace build details: Scanning for projects... Reactor build order: DSpace Addon Modules DSpace XML-UI (Manakin) :: Web Application DSpace LNI :: Web Application DSpace OAI :: Web Application DSpace JSP-UI :: Web Application DSpace SWORD :: Web Application DSpace Assembly and Configuration project-execute Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.2/maven-clean-plugin-2.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-components/8/maven-shared-components-8.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.pom Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.4.6/plexus-utils-1.4.6.pom Downloading: http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/file-management/1.2/file-management-1.2.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar [#clean] [clean:clean] [#package] [site:attach-descriptor] [#install] [install:install] Installing /home/vly/var/bag/system/project/dspace-1_5_1/dspace/modules/pom.xml to /home/vly/.m2/repository/org/dspace/modules/1.5.1/modules-1.5.1.pom project-execute [#clean] [clean:clean] [#process-resources] [resources:resources] Using default encoding to copy filtered resources. [#compile] Downloading: http://repo1.maven.org/maven2/commons-io/commons-io/1.4/commons-io-1.4.pom [ERROR]Runtime Exception thrown during execution [ERROR]null Thanks, -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Backup Error
Hi, Check if you've more than one pg_dump on your system by updatedb ; locate pg_dump And, if there are multiples, to get an indication of version numbers, for each rpm -qf /absolute/path/to/pg_dump -- Van Ly : University of Sydney Library -Original Message- From: Geetha Rao [mailto:iictdsp...@gmail.com] Sent: Thu 29/01/2009 9:01 PM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] Backup Error Hi, I have installed Dspace 1.5 on RedHat 9 with Postgresql 8.1. When i tried to use the command pg_dump , the following error is displayed: *pg_dump: server version: ; pg_dump version: 7.3.2* *pg_dump: aborting because of version mismatch (Use the -i option to proceed any way)* ** ** Please, give me the steps to take backup of my DataBase. Regards, Geetha -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Handle Server starting problem
Have a look in /etc/rc.d or /etc/init.d and see if you've a script for stop/starting the handle server. On my system, I have the following $ head /etc/init.d/handled #!/bin/sh # # chkconfig: 345 86 14 # description: Starts and stops the handle service # # Source function library. if [ -f /etc/init.d/functions ] ; then . /etc/init.d/functions -- Van Ly : University of Sydney Library From: Jozsef Gabor Bone Sent: Thu 29/01/2009 12:54 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Handle Server starting problem Dear Members! Unfortunately it seems, that in our site (http://snap.archivum.ws/dspace - dspace. 1.4), the handle server is not running. If I click on a handle.net lin, it gives me the 'Error - Cannot Connect to Server'. Unfortunately I'm a new colleague here, so who installed dspace has already left us. I tried to start Handle Server in two ways: 1. osasite:~# /usr/local/dspace/bin/start-handle-server Nothing has happened, the error log said: 2. java -cp /hs/bin/handle.jar net.handle.server.Main /hs/svr_1 2009/01/23 11:20:30 GMT+01:00 25 Rotating log files -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Trying to restart HANDLE server
I see signs of the handle server using ps -wwo pid,cmd -C java |grep -Fi handle -- Van Ly : University of Sydney Library From: Thomas A McGee Sent: Wed 28/01/2009 6:51 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Trying to restart HANDLE server I've seen the instructions to kill off the process, there might be two of them, then run start-handle-server. But what is the HANDLE server process called? I don't see anything under ps -A that looks like a likely candidate. _ Tom McGee Senior Digital Media Specialist Seton Hall University 400 South Orange Ave., South Orange, NJ 07079 973.275.2992 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] FW: error messages when submitting to dspace
You may have run out of inodes before disk blocks, try df -i -- Van Ly : University of Sydney Library -Original Message- From: Sandy De Groote [mailto:sgro...@uic.edu] Sent: Sat 24/01/2009 8:00 AM To: Diggory Mark Cc: dspace-tech@lists.sourceforge.net; Claudia Jürgen Subject: Re: [Dspace-tech] error messages when submitting to dspace Unfortunately non of these suggestions seems to be the problem. Any other suggestions? thanks. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Modifying values exposed via OAI unqualified DC
[I've done a find [on dc.identifier] on my server and it's not coming up] Hi, cd [path to dspace] ; find . -type f -print0 |xargs -0 fgrep -i dc.identifier I got some results with the above command. -- Van Ly : UNIX System Administrator : University of Sydney Library : e= v...@usyd.edu.au : t= +61 2 9351 4304 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] upgrade help
[ there was something printed to the terminal (that went by too fast to catch with ^c and I wasn't able to redirect the output to a file either) ] On some systems, it is possible to scroll back the terminal buffer by SHIFT+PAGE_UP -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Google bots and web crawlers
This would be a good opportunity to construct a reasonably good default robots.txt file and add it to the documentation set. At http://ses.library.usyd.edu.au/robots.txt, I have the following: User-agent: * Crawl-Delay: 11 Disallow: /browse Disallow: /browse? Disallow: /browse-title Disallow: /bitstream Disallow: /dspace/ Disallow: /feed/ Disallow: /feedback Disallow: /password-login #Disallow: /retrieve/ #Disallow: /handle/ #Disallow: /oai/ /bitstream is intended to deter crawlers from triggering the catalina error + dspace warning. which lines should I re-use from Jeff's example and why? The lines I have are based on my best guess at what a crawler ought not to be interested in. Thanks in advance. -- Van Ly : University of Sydney Library -Original Message- From: Robert Tansley [mailto:roberttans...@google.com] Sent: Thu 15/01/2009 7:52 AM To: Shane Beers Cc: dspace-tech Tech; Jeffrey Trimble Subject: Re: [Dspace-tech] Google bots and web crawlers As of DSpace 1.5, sitemaps are supported which allow search engines to selectively crawl only new items, while massively reducing the server load: http://www.dspace.org/1_5_1Documentation/ch03.html#N10B44 Unfortunately, it seems that relatively few DSpace instances actually use this feature. I would strongly recommend against blocking /dspace/bitstream/* and /dspace/html/*, as these prevent crawlers from accessing the full-text of items, vital for effective indexing. As of DSpace 1.4.2 (and possibly earlier), these URLs support the if-modified-after header, which means that crawlers don't re-retrieve files if they haven't been changed since the last crawl. Rob On Wed, Jan 14, 2009 at 14:20, Shane Beers sbe...@gmu.edu wrote: Jeff: We had an issue with our local google instance crawling our DSpace installation and causing huge issues. I re-wrote the robots.txt to disallow anything besides the item pages themselves - no browsing pages or search pages and whatnot. Here is a copy of ours: User-agent: * Disallow: /dspace/browse-author Disallow: /dspace/browse-author* Disallow: /dspace/items-by-author Disallow: /dspace/items-by-author* Disallow: /dspace/browse-date* Disallow: /dspace/browse-date Disallow: /dspace/browse-title* Disallow: /dspace/browse-title Disallow: /dspace/feedback Disallow: /dspace/feedback/* Disallow: /dspace/items-by-subject Disallow: /dspace/items-by-subject/* Disallow: /dspace/handle/1920/*/brow! se-title* ace/handle/1920/*/browse-author* Disallow: /dspace/handle/1920/*/browse-subject* Disallow: /dspace/handle/1920/*/browse-date* Disallow: /dspace/handle/1920/*/items-by-subject* Disallow: /dspace/handle/1920/*/items-by-author* Disallow: /dspace/bitstream/* Disallow: /dspace/image/* Disallow: /dspace/html/* Disallow: /dspace/simple-search* This likely would live in your tomcat directory. Shane Beers Digital Repository Services Librarian George Mason University sbe...@gmu.edu http://mars.gmu.edu ! 703- lass=Apple-interchange-newline On Jan 14, 2009, at 1:09 PM, Jeffrey Trimble wrote: Is there something simple I can place in the jsp that will prohibit the crawlers from using my server resources? TIA, Jeff Jeffrey Trimble Systems Librarian Maag Library Youngstown State University 330-941-2483 (Office) jtrim...@cc.ysu.edu http://www.maag.ysu.edu http! ://digita div -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there
Andrew, Try exposing the value of CLASSPATH in the context of where java is called for DSpace. Locate your .jar file and check its path is listed in CLASSPATH. I find this command useful for showing all the gory details of java and dspace /bin/ps -ww -Heo cmd |grep java -- Van Ly : University of Sydney Library From: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] Sent: Thu 15/01/2009 8:30 AM To: Andrew Marlow; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there The error message is actually looking for WebContinuation$UserObject in org/apache/cocoon/components/flow/JAVASCRIPT/fom and your grep found it in org/apache/cocoon/components/flow/JAVASC/fom/FOM_WebContinuation$UserObject.class (I've put the difference in ALL CAPS). Hope this helps! Sue Walker-Thornton susan.m.thorn...@nasa.gov From: Andrew Marlow [mailto:marlow.and...@googlemail.com] Sent: Wednesday, January 14, 2009 1:55 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there Hello DSpacers, I am quite desperate to resolve the problem I am having on debian running any kind of admin function within DSpace. I get the exception shown below. One way is to try to create a community but it seems like it happens when I try to create anything. The so-called missing class is in the xmlui installation in cocoon-2.1.9.jar. java.lang.NoClassDefFoundError: org/apache/cocoon/components/flow/javascript/fom/FOM_WebContinuation$UserObject org.apache.cocoon.components.flow.javascript.fom.FOM_WebContinuation.setPageLocal(FOM_WebContinuation.java:202) org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_sendPage(FOM_Cocoon.java:267) inv3.invoke() Here is the output from jar (via grep) that shows the class is there. 637 Tue Apr 11 11:56:44 BST 2006 org/apache/cocoon/components/flow/javasc/fom/FOM_WebContinuation$UserObject.class I am using DSpace 1.5.1, tomcat 5.5 and java 1.6.0_11 (and postgres 8.3 FWIW). The jar does have read permission. I did a chmod 777 to be absolutely sure. Can anybody help me please? -- Regards, Andrew M. http://www.andrewpetermarlow.co.uk/ -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] error on browse by date
Hi Everyone, I've a DSpace unable to respond without error to the following request: http://ses.library.usyd.edu.au/browse?type=date The local dspace.cfg has the following extra search.index lines than the default: search.index.13 = description:dc.description search.index.14 = department:dc.contributor.department After reading section 5.1.2 of the 1.5.1 DSpace Manual, I'm wanting to run index-all but it doesn't exist, index-init and index-update do, and I've tried running them as user dspace and root without effect. At a guess, I'm trying to fix the fault in the case the database was changed, as suggested by those search index lines, but the index wasn't updated somehow. Any clues to the solution? Thanks in advance. -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] error on browse by date
After setting up a testing 1.5.1 DSpace instance on Redhat by following http://wiki.dspace.org/index.php/Installing_DSpace_on_Red_Hat_Enterprise_Linux_5#DSpace_1.5.x I compared the ordering of the webui.browse.index.N lines in dspace.cfg with the presentation of the 'browse navigation menu'; the ordering matches in the case of my 1.5.1 Dspace testing instance --- 1.5.1 DSpace testing instance dspace.cfg webui.browse.index.1 = dateissued:item:dateissued webui.browse.index.2 = author:metadata:dc.contributor.*:text webui.browse.index.3 = title:item:title webui.browse.index.4 = subject:metadata:dc.subject.*:text --- 1.5.1 DSpace testing instance browse navigation menu + under communities collections issue date author title subject but the ordering doesn't match in the production instance, I expect 'subject' to come last on the browse navigation menu. --- 1.5.0 DSpace production instance dspace.cfg webui.browse.index.1 = dateissued:item:dateissued webui.browse.index.2 = author:metadata:dc.contributor.*:text webui.browse.index.3 = title:item:title webui.browse.index.4 = subject:metadata:dc.subject.*:text --- 1.5.0 DSpace production instance browse navigation menu + under communities collections titles authors subjects by date Should there be a mapping between webui.browse.index.N with the browse navigation menu? Where would the string 'by date' for the navigation menu be originating? Thanks in advance. -- Van Ly : University of Sydney Library -Original Message- From: Van Ly [mailto:v...@library.usyd.edu.au] Sent: Wed 14/01/2009 11:41 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] error on browse by date Hi Everyone, I've a DSpace unable to respond without error to the following request: http://ses.library.usyd.edu.au/browse?type=date The local dspace.cfg has the following extra search.index lines than the default: search.index.13 = description:dc.description search.index.14 = department:dc.contributor.department After reading section 5.1.2 of the 1.5.1 DSpace Manual, I'm wanting to run index-all but it doesn't exist, index-init and index-update do, and I've tried running them as user dspace and root without effect. At a guess, I'm trying to fix the fault in the case the database was changed, as suggested by those search index lines, but the index wasn't updated somehow. Any clues to the solution? Thanks in advance. -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] problem executing create-administrator
Quoting Keith Gilbertson ke...@ohiolink.edu: For what it's worth, I've had somewhat similar problems executing the scripts in the bin directory after transferring them from a Windows-based machine to a Unix-like system. You might check that the line endings in the file haven't been changed to DOS-style endings, and if they have, convert them back with a command such as dos2unix. Not sure this is the same issue but maybe worth checking into. In the case of files crossing the ms-windows/unix platforms, as well as having line ending conventions appropriate to the platform, for unix-like systems, you should check that the execute permissions are set for the script. What I've found when unpacking package.zip files on unix is the unexpected loss of the execute permissions. To show the execute permissions, use stat FILENAME stat /bin/sh stat ./create-administrator Look for x in the 'access' field. To add execute permissions, use man chmod chmod u+x FILENAME felipe Melero wrote: Yes, I'm running it from dspace/bin directory but no way to get it working... surely is a matter of unix, I'm a chrooted user... 8-- snipped Cheerio. -- Van Ly : U. of Sydney Library This message was sent using IMP, the Internet Messaging Program. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] bitstream request = catalina error + dspace warning
Hi everyone, From time to time I get an email alert about a request for /bitstream which has produced an error. Going through the logs on conditions other than INFO, I found an error pointing to catalina. Does anyone know what could be the matter with catalina? Below, I have the two events in question [ #0 ]. Thanks. -- Van Ly : U. of Sydney Library [ #0 ] # tail -n 2000 dspace.log |grep -vFi INFO 2009-01-08 05:18:46,735 ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[bitstream] @ Servlet.service() for servlet bitstream threw exception java.lang.NullPointerException at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:126) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) 2009-01-08 05:18:46,735 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=3E9263FF3177E0DA99199A3060EA378F:internal_error:-- URL Was: http://ses.library.usyd.edu.au/bitstream -- Method: GET -- Parameters were: java.lang.NullPointerException at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:126) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) This message was sent using IMP, the Internet Messaging Program. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.5 implementation questions
Quoting Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] susan.m.thorn...@nasa.gov: Hi, I am working on our upgrade from DSpace 1.4.2 -- 1.5.0 and have a couple of questions. 1. I have a copy of the DSpace 1.5.0 System documentation, entitled DSpace Manual Software Version 1.5 May 2008, however it references install-configs which I understand does not exist anymore in DSpace 1.5.0. Can any of the developers (or anyone else) tell me if this is the most recent version of the DSpace 1.5 System Documentation or was there a subsequent update? If there is a more recent version, I would appreciate it if anyone could either email me a copy, or let me know where I can get one. Hi, I googled dspace svn and found http://projects.dspace.org/dspace/source-repository.html if that repository is current, the latest files should be available from there. It has a link to http://svnbook.red-bean.com/ perhaps with an svn-book in pdf format, one of the appendices has a quick start tutorial for subversion new users. Cheers. -- Van Ly : U. of Sydney Library This message was sent using IMP, the Internet Messaging Program. -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech