Re: [Dspace-tech] Where is Messages_LOCALE.properties ?
Hello Panyarak, the message catalogues are a dependency and pulled in during the maven build process. They can be found as a dspace-api-lang-[Version].jar in the lib directories. If you want to customize the catalogues you can use the overlay mechanism. Copy the files you want to overlay to [dspace-src]/dspace/modules/jspui/src/main/resources and rebuild your application. Hope that helps Claudia Jürgen Am 14.04.2010 06:36, schrieb Panyarak Ngamsritragul: Thanks Hayden, I set the supportin locales in dspace.cfg to be something like this: webui.supported.locales = en, th, ja And then deployed the DSpace. There is no problem to have them switch between each locales. But I found it very tricky because the Messages_LOCALE.properties files are not anywhere in DSpace paths! I took a look at /path/to/my/repository/webapps/jspui/WEB-INF/classes, it is just an empty directory! Where are those different language messages from? Does the system read them directly from http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources ? One more thing, I downloaded the Messages_th.properties, and Messages_ja.properties in order to make some necessary modifications. But they are in something like native codes. Is there some tools we can convert them to human readable form. Sorry if this is a too basic question. If possible the instruction should be included as comments in the files. Panyarak Ngamsritragul Prince of Songkla University. On Wed, 14 Apr 2010, Hayden Young wrote: Probably the most up-to-date generic language property files are located in the DSpace language module source control. http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources/. If you already have a DSpace instance deployed, implmenting a new language properties file is simply a matter of dropping it into /path/to/your/repository/webapps/jspui/WEB-INF/classes. Cheers Hayden On 14/04/10 03:29, Panyarak Ngamsritragul wrote: I am now in the state of implementing DSpace 1.6 to our service. There are a few modifications I would like to make to Messages.properties file. For English language, this can be done with difficulty. But for some other languages, I just could not locate the files! In the manual page 139 it is said that those file are in (for example Thai version) [dspace-source]/dspace/modules/jspui/src/main/resources/Messages_th.properties But there is no such file! I search the entire source package using command find [dspace-source] -iname Messages_* I could find related files for xmlui, but not for jspui... And more over, there is no message_th.xml for xmlui too. Can anyone tell me where I can find these related files and where should I really put them before I build and deploy the application ? Thanks Panyarak Ngamsritragul Prince of Songkla University. -- Hayden Young Managing Director Wijiti Pty Ltd p. +61 (0) 8 6102 1198 m. +61 (0) 405 520 778 e. haydenyo...@wijiti.com w. www.wijiti.com vcard. www.wijiti.com/vcard/haydenyoung.vcf NOTICE This e-mail and any attachments are intended for the addressee(s) only and may be confidential. They may contain legally privileged or copyright material. You should not read, copy, use or disclose them without authorization. If you are not the intended recipient please contact the sender as soon as possible by return e-mail and then please delete both messages. This notice should not be removed. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. attachment: Claudia_Juergen.vcf-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search box in xmlui
Hi Debashree I will test this latter but as soon as there is anything I don't get it well I will let you know. Regards, Lewatle -Original Message- From: dp...@localhost.oln.org [mailto:dp...@localhost.oln.org] Sent: 13 April 2010 06:30 PM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Search box in xmlui Hi Lewatle, I had wanted to remove that search box completely instead of moving it to the bottom. Upon searching the dspace-tech I had found the snippet that worked for me. It might give you some clue about what you might need to do for moving it. The element that identifies the search box is named front-page-search. I have put this snippet in the themes xsl file. xsl:template match=dri:d...@n='front-page-search'] priority=4 /xsl:template Hope this will help, Debashree Hi Dspacers I want to move the default search box on xmlui interface the one in the middle to the bottom or I can say after communities on a default manakin page, anyone who knows which file I need to modify please let me know. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dspace Installation on Test server Done
Hi Hilton I setup anything from start, the prerequisites packages etc. and follow all the installation steps and anything works fine. The only problem is when I try to access the site on other machine using http://ipaddress:8180/jspui I got the error message saying : While trying to retrieve the URL: http://ipaddress:8180/jspui The following error was encountered: * Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is ithelp. I suspect that this port is blocked by firewall and on my previous installation I was using port 8080. Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace Installation on Test server Done
Hi Letwale Speak to your campus IT network administrator. We have intelligent network installed and only allow certain ports to certain machines to help stem the tide of illegal sharing. Cheers hg. On 14 April 2010 09:31, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi Hilton I setup anything from start, the prerequisites packages etc. and follow all the installation steps and anything works fine. The only problem is when I try to access the site on other machine using http://ipaddress:8180/jspui I got the error message saying : While trying to retrieve the URL: http://ipaddress:8180/jspui The following error was encountered: - *Access Denied. * Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is ithelp. I suspect that this port is blocked by firewall and on my previous installation I was using port 8080. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Systems Administrator Library and Information Services Stellenbosch University http://www.sun.ac.za http://library.sun.ac.za http://scholar.sun.ac.za http://ubuntu.sun.ac.za -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Solr statistics - Tomcat access denied
Hi everybody. I'm testing 1.6 version and when I try to access to http:/my-dspace-url/solr I get this message from Tomcat: Access to specified resource is forbidden. Any Ideas?. Thank's and regards. Manu -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace Installation on Test server Done
Hi Hilton Now everything works fine. Regards, Lewatle From: Hilton Gibson [mailto:hilton.gib...@gmail.com] Sent: 14 April 2010 10:01 AM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: Dspace Installation on Test server Done Hi Letwale Speak to your campus IT network administrator. We have intelligent network installed and only allow certain ports to certain machines to help stem the tide of illegal sharing. Cheers hg. On 14 April 2010 09:31, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi Hilton I setup anything from start, the prerequisites packages etc. and follow all the installation steps and anything works fine. The only problem is when I try to access the site on other machine using http://ipaddress:8180/jspui I got the error message saying : While trying to retrieve the URL: http://ipaddress:8180/jspui The following error was encountered: * Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is ithelp. I suspect that this port is blocked by firewall and on my previous installation I was using port 8080. Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Systems Administrator Library and Information Services Stellenbosch University http://www.sun.ac.za http://library.sun.ac.za http://scholar.sun.ac.za http://ubuntu.sun.ac.za htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace-tech Digest, Vol 48, Issue 48
hi dear, does anybody know that how to search an image file within a pdf or some document containing an image uisng dspace. plz do reply On Wed, Apr 14, 2010 at 4:41 PM, dspace-tech-requ...@lists.sourceforge.netwrote: Send DSpace-tech mailing list submissions to dspace-tech@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to dspace-tech-requ...@lists.sourceforge.net You can reach the person managing the list at dspace-tech-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than Re: Contents of DSpace-tech digest... Today's Topics: 1. Solr statistics - Tomcat access denied (ManuMohedano) 2. Database connection timeout (Rajshekhar Pandey) 3. Re: Refworks and Dspace (Alexandre Magaz Gra?a) -- Message: 1 Date: Wed, 14 Apr 2010 11:47:18 +0200 From: ManuMohedano manumohed...@usal.es Subject: [Dspace-tech] Solr statistics - Tomcat access denied To: dspace-tech@lists.sourceforge.net Message-ID: j2u86e354e91004140247sd3826e99ve6a981f82d88d...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi everybody. I'm testing 1.6 version and when I try to access to http:/my-dspace-url/solr I get this message from Tomcat: Access to specified resource is forbidden. Any Ideas?. Thank's and regards. Manu -- next part -- An HTML attachment was scrubbed... -- Message: 2 Date: Wed, 14 Apr 2010 16:16:58 +0530 From: Rajshekhar Pandey rajshek...@webinito.com Subject: [Dspace-tech] Database connection timeout To: dspace-tech@lists.sourceforge.net Message-ID: z2pc5cd023b1004140346n4a7a1c51t9a26aac06c31f...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hello to all, I am using DSpace 1.5.2 with postgreSQL and my site is running on internet 24 hrs. But some time I am getting the Internal Server Error while browsing to DSpace When I check log I found this error 2010-04-14 05:54:49,727 WARN org.dspace.app.webui.servlet.DSpaceServlet @ anonymous:no_context:database_error:org.apache.commons.dbcp.SQLNestedException\colon; Cannot get a connection, pool error\colon; Timeout waiting for idle object org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error: Timeout waiting for idle object at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:582) at java.sql.DriverManager.getConnection(DriverManager.java:207) at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:616) at org.dspace.core.Context.init(Context.java:128) at org.dspace.app.webui.util.UIUtil.obtainContext(UIUtil.java:113) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:132) 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:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Caused by: java.util.NoSuchElementException: Timeout waiting for idle object at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:958) at org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:176) ... 24 more 2010-04-14 05:56:30,872 WARN org.dspace.app.webui.servlet.DSpaceServlet @
Re: [Dspace-tech] Lost permission to access dspace server after update
Yes, my main problem is the 'blank screen' too. I guess it is a JAVA servlet problem but just do not know how to deal with it. Are we suppose to have dspace.war and dspace-oai.war files in the [dspace]/webapps directory after the update ('ant -Dconfig=[dspace]/config/dspace.cfg update')? We have them in 1.4.2 but I do not see them in version 1.5.0. Jason Fowler wrote: Since upgrading, I, too, have had the blank screen problem. Usually, the only thing that resolves it for me is a restart. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: Shaw Yu [...@vcu.edu] Sent: Tuesday, April 13, 2010 10:39 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Lost permission to access dspace server after update Also, When accessing some other directories, I simply got blank screens. For example: http://uls-linux17.uls.vcu.edu/mydspace (blank) http://uls-linux17.uls.vcu.edu (blank) http://uls-linux17.uls.vcu.edu/dspace/manager/ (Error: Document Not Found) http://uls-linux17.uls.vcu.edu/dspace (forbidden) Thanks. Shaw Shaw Yu wrote: Hi there, I followed the update steps from 1.4.2 to 1.5.0 and finished the update. However, when access the server, I got: Forbidden You don't have permission to access /dspace/ on this server. I did not touch the Apache and the related files. Not sure what went wrong. Also, I do not see any *.war files in the [dspace]/webapps directory after 'ant -Dconfig=[dspace]/config/dspace.cfg update'. There are only 5 subdirectories (jspui lni oai sword xmlui). Is this normal? If it is, how do we deal with the original *.war files in the [tomcat]/webapps/ directory? I am new to dspace. Any suggestions are/ /greatly appreciated./ /Shaw VCU Libraries -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] IPAuthentication not working since upgrade
Thanks for the link, Keith. We're working with the release rather than source here. Does anyone know of a workaround that might work for us without having to switch to source? Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu From: keith.gilbert...@library.gatech.edu [keith.gilbert...@library.gatech.edu] Sent: Tuesday, April 13, 2010 8:58 AM To: Jason Fowler Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] IPAuthentication not working since upgrade Jason, There's a bug that breaks IP authentication in 1.6, discovered by Dave Falke and Stuart Lewis. There's a thread here that details the fix: http://www.mail-archive.com/dspace-de...@lists.sourceforge.net/msg02985.html - Original Message - From: Jason Fowler jfow...@sbts.edu To: dspace-tech@lists.sourceforge.net Sent: Tuesday, April 13, 2010 8:45:43 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] IPAuthentication not working since upgrade All, We recently upgraded to 1.6, and I have noticed that IPAuthentication now seems not to be working. Any idea why this might be the case? Nothing has really changed in our setup. Jason Fowler, CA, MSLS Archives and Special Collections Librarian The Southern Baptist Theological Seminary Vice President, ALABI jfow...@sbts.edu -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] collection
Hi All I created a collection and loaded some PDF files I also chosen anonymous to have read access but I can't read that file as anonymous, when I open a file I got a message saying you are restricted and when I log in the file doesn't open but instead the system log me out I am using normal user account for this not administrator, when I am using administrator account everything goes well. Someone give help Regards, Lewatle htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] log4j causing slowness for DSpace
Graham, I think you make be on to something with the loading of xmlui. I have now discovered that the problem ONLY occurs when I deploy xmlui or jspui. I can start every other webapp and the entire startup process takes just over 2 seconds. Starting either xmlui or jspui results in a startup of nearly 3 minutes each. Also, the only time that I see the No appenders could be found for logger warnings is when I start one of these two webapps. I am entirely at a loss for why this is happening. It never happened prior to the upgrade. Blessings, Jason From: Graham Triggs [mailto:grahamtri...@gmail.com] Sent: Wednesday, April 07, 2010 5:50 AM To: Jason Fowler Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] log4j causing slowness for DSpace Jason, It's highly unlikely that Log4J is causing the startup to be slow. Whilst your startup takes in the region of 10 minutes, there is no indication in the log as to when each of those log4j warnings appeared, or what was occurring at the time. The regular re-occurrence of org.apache.commons.digester.Digester.sax appender warnings, and the org.apache.catalina.startup.Embedded warning, would suggest that the application server itself (Tomcat?) is missing some logging configuration. Those Digester messages look like they relate to the initialization of each webapp deployed to the server - ie. where it loads WEB-INF/web.xml (and correlating with the 'using dspace.cfg' messages that would also appear with each one). Deploying multiple web applications can take some time - loading the JARs, starting any listeners / servlets that are set to load on startup. In the case of xmlui (and Solr?) at least that will trigger a fairly significant initialization process. And it appears that you are deploying the xmlui application twice (once as xmlui, and once as root?) Regards, G On 5 April 2010 21:50, Jason Fowler jfow...@sbts.edumailto:jfow...@sbts.edu wrote: I've been beating my brains in over this issue, and I have tried every possible solution I can find. I've recently migrated to 1.6.0, and since making the change, problems with log4j occur at startup. This makes my Dspace startup take ten minutes. I've narrowed down the problem (I think) to being an issue with log4j. I just appended a date stamp to my catalina.out file while I restarted. I have output it below. The first thing that shows up after the stamp is log4j errors. After churning for 10 minutes, everything works fine, even logging, solr, etc. Does anyone have any idea what might be causing this problem? If so, many, many thanks in advance. Mon Apr 5 15:29:51 CDT 2010 log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). log4j:WARN Please initialize the log4j system properly. log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. INFO: Loading provided config file: /mnt/storage/dspace/config/dspace.cfg INFO: Using dspace provided log configuration (log.init.config) INFO: Loading: /mnt/storage/dspace/config/log4j.properties Loading catalog: file:/usr/local/apache-tomcat-5.5.26/work/Catalina/localhost/xmlui/cocoon_xml_resolver_entities/catalog log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. INFO: Loading provided config file: /mnt/storage/dspace/config/dspace.cfg INFO: Using dspace provided log configuration (log.init.config) INFO: Loading: /mnt/storage/dspace/config/log4j.properties - Loading provided config file: /mnt/storage/dspace/config/dspace.cfg - Using dspace provided log configuration (log.init.config) - Loading: /mnt/storage/dspace/config/log4j.properties log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. INFO: Loading provided config file: /mnt/storage/dspace/config/dspace.cfg INFO: Using dspace provided log configuration (log.init.config) INFO: Loading: /mnt/storage/dspace/config/log4j.properties log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. INFO: Loading provided config file: /mnt/storage/dspace/config/dspace.cfg INFO: Using dspace provided log configuration (log.init.config) INFO: Loading: /mnt/storage/dspace/config/log4j.properties Loading catalog: file:/usr/local/apache-tomcat-5.5.26/work/Catalina/localhost/_/cocoon_xml_resolver_entities/catalog log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. INFO: Loading provided config file: /mnt/storage/dspace/config/dspace.cfg INFO: Using dspace provided log configuration (log.init.config) INFO: Loading: /mnt/storage/dspace/config/log4j.properties Apr 5, 2010 3:39:31 PM
Re: [Dspace-tech] collection
Hi Lawatle. Maybe you haven't specified privileges for DEFAULT_BITSTREAM_READ action in Collection's Authorizations... Regards On Wed, Apr 14, 2010 at 4:25 PM, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Hi All I created a collection and loaded some PDF files I also chosen anonymous to have read access but I can’t read that file as anonymous, when I open a file I got a message saying you are restricted and when I log in the file doesn’t open but instead the system log me out I am using normal user account for this not administrator, when I am using administrator account everything goes well. Someone give help Regards, Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Where is Messages_LOCALE.properties ?
Thanks a lot Hayden and Claudia. I have tried native2ascii command in Ubuntu. It does not seem to work properly. Maybe I do not know how to use it properly. Nevermind. It sounds TongueTied should be easier to use, so I tried it out and it works fine for me now. Thanks again. Panyarak Ngamsritragul Prince of Songkla University. On Wed, 14 Apr 2010, Hayden Young wrote: Where are those different language messages from? Does the system read them directly from http://scm.dspace.org/svn/repo/modules/dspace-api-lang/trunk/src/main/resources ? You'll need to download the properties files from the languages module to your DSpace installation's webapps/jspui/WEB-INF/classes directory first. It may also require a restart of your Tomcat server. The messages files are already encoded but you can use various tools to make modifications to the file. The quickest is to run the native2ascii command line tool against the encoded properties files, make the changes you need, then encode them back to ascii using the same tool. Alternatively, there are a number of good gui and webui tools available for bulk editing. One integrates into Eclipse and is available at http://sourceforge.net/projects/eclipse-rbe/. Another, which we use, is TongueTied, http://code.google.com/p/tongue-tied/. It takes a little to set up but it provides really good online management of properties files and doesn't require your translators have Java running on their machines. Hope this helps. Cheers Hayden -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] RAMAVAT MOHAN
hi dear, does anybody know that how to search an image file within a pdf or some document containing an image uisng dspace. plz do reply -- Ramavat Mohan M.Tech (CSE) Computer Science Engineering Indian Institute of Technology, Kharagpur Mobile # : +919735509949 Email: ramavat.nit...@gmail.com -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal Error When Creating Community
The problem occurs when: I have no communities or collections. I'm trying to create my first top level community. I click to create it type in the name of the community and description and click the create button. I then get an error message saying there was an internal server error. I've turned on debugging in the log4j.properties file but it doesn't even look like the log files are working. They don't seem to be updating for anything. The permissions and ownership seems to be set correctly. On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote: I know you said you've checked your logs, but make sure you're checking the DSpace log. [dspace]/log/dspace.log.{DATE} You can also get more verbose output by setting the logs to DEBUG mode. Edit [dspace]/config/log4j.properties, and typically that is by changing INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG mode, so you can't set that. What step exactly is causing the issue? Is it you've created a community, and are creating a collection, or you've created a community, and created a collection successfully, and submitting an item gives the problem? If its while submitting an item, is it on item upload? For that, check that your assetstore directory exists and is writable by your {tomcat} user. On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.com wrote: I've just installed dspace and am having some difficulties. Everything appears to be working except the create communities function. When I try to submit a new community I get the error: The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. I've looked through logs and can't seem to find the right log with a more detailed description of what is going wrong. Through searching online I've found that some people who experience this were because of permission problems. I have taken the time to triple-check my permissions. Any ideas on what is wrong or suggestions on how I can find out more information about the actual internal server error which is occurring? Thanks. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Solr statistics - Tomcat access denied
Manu, you might try the following instead... we may adjust to this in the very near future. Instead of solr.log.server = ${dspace.baseUrl}/solr/statistics use solr.log.server = http://localhost:8080/solr/statistics On Wed, Apr 14, 2010 at 2:47 AM, ManuMohedano manumohed...@usal.es wrote: Hi everybody. I'm testing 1.6 version and when I try to access to http:/my-dspace-url/solr I get this message from Tomcat: Access to specified resource is forbidden. Any Ideas?. Thank's and regards. Manu -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal Error When Creating Community
More information: I can add a top level and side bar new items as well as edit the default license. So it does not seem to be a database problem. To be safe though I've gone through the database information to check to make sure everything is right. The user appears to have the right ownership and privileges. However, I'm not the best with postgresql. Thanks for your help. On Wed, Apr 14, 2010 at 12:44 PM, bryce ray bryceray1...@gmail.com wrote: The problem occurs when: I have no communities or collections. I'm trying to create my first top level community. I click to create it type in the name of the community and description and click the create button. I then get an error message saying there was an internal server error. I've turned on debugging in the log4j.properties file but it doesn't even look like the log files are working. They don't seem to be updating for anything. The permissions and ownership seems to be set correctly. On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote: I know you said you've checked your logs, but make sure you're checking the DSpace log. [dspace]/log/dspace.log.{DATE} You can also get more verbose output by setting the logs to DEBUG mode. Edit [dspace]/config/log4j.properties, and typically that is by changing INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG mode, so you can't set that. What step exactly is causing the issue? Is it you've created a community, and are creating a collection, or you've created a community, and created a collection successfully, and submitting an item gives the problem? If its while submitting an item, is it on item upload? For that, check that your assetstore directory exists and is writable by your {tomcat} user. On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.comwrote: I've just installed dspace and am having some difficulties. Everything appears to be working except the create communities function. When I try to submit a new community I get the error: The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. I've looked through logs and can't seem to find the right log with a more detailed description of what is going wrong. Through searching online I've found that some people who experience this were because of permission problems. I have taken the time to triple-check my permissions. Any ideas on what is wrong or suggestions on how I can find out more information about the actual internal server error which is occurring? Thanks. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Peter Dietz Systems Developer/Engineer Ohio State University Libraries -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech