[Dspace-tech] oetq
http://osvycfimppsw.de.tl -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] adding, removing dc fields and the order of them in title list and simple item record
Dear All, Is it possible to change the title list view and simple record view in Dspace by adding, removing dc fields and the order of them? I mean, instead of displaying the titles like this : Axial Charges of Octet Baryons in Two-flavor Lattice QCD Erkol, Güray; Oka, Makoto; Takahashi, Toru T. (Elsevier, 2010-03-15) we would like to see title, author, publication, vol, iss, date, Publisher as a citation. And in the simple item record, we would like to see all the info, which you need for citing the source? Thanks so much for your help. İlkay Mrs. İlkay Holt Manager, Information Access Services Ozyegin University Library -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace backup
On Mon, Oct 4, 2010 at 12:47, Ramakant Navghare ramakant.navgh...@gmail.com wrote: I would be grateful if any body guides me to, how to take a backup of data uploaded on DSpace. I have installed DSpace (Version 1.6) on Windows XP. I was trying to find out on Internet but not yet succeed. Please, guide me. Hello Ramakant, this is described in DSpace manual: http://dspacedev2.org/1_6_2Documentation/ See sections 9.1.1 and 9.2.1. Regards, ~~helix84 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Dspace backup
To, Respected All, I would be grateful if any body guides me to, how to take a backup of data uploaded on DSpace. I have installed DSpace (Version 1.6) on Windows XP. I was trying to find out on Internet but not yet succeed. Please, guide me. *Thanks in advance.*.! -- Thank You, Regards, Ramakant Amar Navghare (M.L.I.Sc/NET) Librarian. JBSPS's C K Thakur, Arts, Com. Sci. College, New Panvel. http://www.ckthakurcollege.net/ Skype ID :ramakant.amar.navghare Mob. No. : +91 09324564183 Mobile Website : http://wapamama.net/ramakant/ Personal Blog : www.ramakantnavghare.blogspot.com -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] tomcat reporting memory leak?
On 29 September 2010 14:17, Tom De Mulder td...@cam.ac.uk wrote: I know you like to talk down the problem, but that really isn't helping. This isn't about talking down the problem - it's about finding where the real problems are and not just patching the immediate concerns. And considering the interests of nearly 1000 DSpace instances that are registered on dspace.org - many of whom will probably be more worried about rampant resource usage for small repositories from adding overhead to cover up the problems of larger repositories. We run 5 DSpace instances, three of these are systems with hundreds of thousands of items, and it's dog slow and immensely resource-intensive. And yes, we want these to be single systems. Why shouldn't we? Surely the more pertinent question is why wouldn't you want to be able to run a multi-node solution? I'm sure I don't need to tell you that no matter how good a job you do of making the system perform better with larger datasets, there will always be a finite limit to how large the repository can be, how many users you can service, and how quickly it will process requests for any given hardware allocation. Yes, DSpace can do a better job than it currently does, but it's just postponing the inevitable. How much in technology relies on just making things bigger/faster? Even our single system hardware is generally made of multiple identical components - CPUs with multiple cores, memory consisting of multiple 'sticks', each consisting of multiple storage chips, storage combining multiple hard drives each having multiple platters. And much of our dependencies are going the same way - Oracle database clusters, Solr is designed to get scalability from running over multiple shards, even Postgres has taken a major step towards clustering / replication with it's 9.0 release. Either way, you will always hit a hard limit with keeping things on a single system - so at some point, something has to give, whether it's separating out DSpace application, Solr and Postgres instances to separate machines, or accepting this reality in the repository and building it to scale across multiple nodes itself. This in turn would bring benefits to how easily you can scale (in theory, a lot easier to scale at the repository level than scaling each of it's individual components), as well as potentially better preservation and federation capabilities. G -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding, removing dc fields and the order of them in title list and simple item record
2010/10/4 ilkay.h...@ozyegin.edu.tr: Is it possible to change the title list view and simple record view in Dspace by adding, removing dc fields and the order of them? Hello Ilkay, you didn't specify whether you use JSPUI or XMLUI. I know how to solve this in XMLUI: Copy the template called itemSummaryView-DIM-fields to the .xsl file in your custom theme. It's located in this file: xmlui/themes/dri2xhtml/DIM-Handler.xsl:449 The DRI contains all the fields and this template displays only specified fields in the summary view, so edit it as you please. Hopefully this should get you started. Regards, ~~helix84 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace backup
On Mon, Oct 4, 2010 at 13:23, Ramakant Navghare ramakant.navgh...@gmail.com wrote: Dear Helix, Thanks a lot for your prompt response to my DSpace query, but the link has been provided by you is only for Linux. Its not cover the Windows Backup process. Though it is good for me to know about, but still my query is not solved. Thanks once again for your reply. Actually, there is very little stuff that is system specific. Instead of cron on unix-like systems, on Windows you would use a thing called something like Scheduled tasks to run a batch job at specified times. Other than that, the database part should be the same and also the assetstore part is just files. Can you think of any other difference that can couse you problems? The manual can be amended to address those. P.S. I'm adding dspace-tech back to CC so other peple having the same issue in future can find the information. Regards, ~~helix84 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace on WebLogic Server
Hi all, I need to deploy DSpace on a Weblogic Server 10.3 and i try but have problems with spring framework integration and support. I have read and tried some suggestions (http://download.oracle.com/docs/cd/E12839_01/web./e14453/enable_spring.htm for example), but could not achieve the successful deploy. Has anyone had this problem? Could fix it? -- Ing. Miguel A. Robledo Dirección Provincial de Gobierno Digital Tucuman 2657 1º Piso - Santa Fe Teléfono: 0342-4508700 int. 5606 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DGOC Oct 5 Meeting Agenda
The next DSpace Global Outreach Committee meeting is tomorrow, Oct 5 at 9am EDT/13:00 and 3pm EDT/19:00 UTC/GMT. The proposed agenda can be found here: https://wiki.duraspace.org/display/DSPACE/DGOC+October+5%2C+2010. We welcome anyone in the community to join the meetings, but due to space limitations on our teleconference number, we do ask that if you plan to attend you email me at vhollis...@duraspace.org in advance to ensure there is capacity on the call. For more information about the meetings, including dial in instructions and archived meeting notes visit here: https://wiki.duraspace.org/display/DSPACE/DGOC+Meeting+Notes. Membership to the DGOC is open to anyone in the DSpace community. You can read more about the group here: https://wiki.duraspace.org/display/DSPACE/DSpace+Global+Outreach+Cmte. For anyone interested in talking about the DGOC and how you can get involved, please feel free to contact me at any time. Likewise if you have any feedback or questions about DGOC efforts I'd love to hear from you. Valorie Hollister Director of Community Development, DSpace Project DuraSpace vhollis...@duraspace.org-- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Problem Viewing Items and Collections without signing up
Hi All, I'm using DSpace 1.6.2 xmlui Interface (http://desarrollo.rephip.unr.edu.ar) and I can view Communities but I can't view Items or Collections if I don't sign up first. It looks like the 'isAdmin' method of the AuthorizeManager class throws a NullPointer exception when it tries to verfy if an anonymous user is an administrator. the exception occurs at this line: c.getCurrentUser().getId() where c is an instance of Context. c.getCurrentUser() returns null because there's no current user and the exception becomes when java tries to evaluate NULL.getID(). Below is the error's stacktrace. I would appreciate any help/correction about what's going on. Regards César Sabater. - Cocoon stacktrace [hide] Failed to process pipeline context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 126:31 map:serialize type=xml context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 125:55 map:generate type=file context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 234:84 map:serialize type=xml context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 233:97 map:transform type=CollectionViewer context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 107:59 map:transform type=Navigation context:/resource://aspects/ArtifactBrowser/sitemap.xmap - 95:40 map:generate context:/resource://aspects/Administrative/sitemap.xmap - 957:31 map:serialize type=xml context:/resource://aspects/Administrative/sitemap.xmap - 295:38 map:transform type=Navigation context:/resource://aspects/Administrative/sitemap.xmap - 294:44 map:transform type=SystemwideAlerts context:/resource://aspects/Administrative/sitemap.xmap - 292:19 map:generate context:/resource://aspects/EPerson/sitemap.xmap - 332:31 map:serialize type=xml context:/resource://aspects/EPerson/sitemap.xmap - 137:38 map:transform type=Navigation context:/resource://aspects/EPerson/sitemap.xmap - 126:19 map:generate context:/resource://aspects/Submission/sitemap.xmap - 342:27 map:serialize context:/resource://aspects/Submission/sitemap.xmap - 318:26 map:generate context:/resource://aspects/Statistics/sitemap.xmap - 70:31 map:serialize type=xml context:/resource://aspects/Statistics/sitemap.xmap - 33:19 map:generate context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 115:34 map:serialize type=xml context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 114:43 map:transform type=PageNotFound context:/jndi:/localhost/xmlui/aspects/aspects.xmap - 113:22 map:generate context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 184:62 map:serialize type=xhtml context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 181:112 map:transform type=NamespaceFilter context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 180:106 map:transform type=NamespaceFilter context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 174:68 map:transform type=i18n context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 170:72 map:transform context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 155:87 map:transform type=IncludePageMeta context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 131:83 map:generate type=file context:/jndi:/localhost/xmlui/themes/Reference/sitemap.xmap - 128:49 map:match context:/jndi:/localhost/xmlui/themes/themes.xmap - 63:45 map:mount context:/jndi:/localhost/xmlui/themes/themes.xmap - 62:35 map:match type=ThemeMatcher context:/jndi:/localhost/xmlui/sitemap.xmap - 550:94 map:mount Java stacktrace [hide] java.lang.NullPointerException at org.dspace.authorize.AuthorizeManager.isAdmin(AuthorizeManager.java:405) at org.dspace.app.xmlui.aspect.administrative.Navigation.addOptions(Navigation.java:260) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:261) at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy22.startElement(Unknown Source) at org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:94) at org.dspace.app.xmlui.wing.AbstractWingTransformer.startElement(AbstractWingTransformer.java:271) at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler.invoke(PoolableProxyHandler.java:71) at $Proxy22.startElement(Unknown Source) at org.apache.cocoon.environment.internal.EnvironmentChanger.startElement(EnvironmentStack.java:140) at org.apache.cocoon.components.sax.XMLTeePipe.startElement(XMLTeePipe.java:87) at
[Dspace-tech] RegistryLoader fails
Could someone please send me a dump of tables BITSTREAMFORMATREGISTRY, METADATAFIELDREGISTRY, and FILEEXTENSION from a freshly built 1.6.2 database? I can not get them to load data. Thank you Marvin mwea...@sju.edu -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] RegistryLoader fails
Marvin, can you send us the errors you are getting when the load fails? Perhaps it is an indication of some larger misconfiguration that will give you problems once you get these tables loaded anyway. The loads should work for a properly configured system... -- sands fish Senior Software Engineer MIT Libraries Technology Research Development sa...@mit.edumailto:sa...@mit.edu E25-131 On Oct 4, 2010, at 12:43 PM, Marvin Weaver wrote: Could someone please send me a dump of tables BITSTREAMFORMATREGISTRY, METADATAFIELDREGISTRY, and FILEEXTENSION from a freshly built 1.6.2 database? I can not get them to load data. Thank you Marvin mwea...@sju.edumailto:mwea...@sju.edu -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Cocoon status, empty cache, empty store sample apps
Hardy, We have not implemented it and I am curious to learn more about it because I have occasionally seen strange Cocoon cache issues as well, particularly when doing sacrilegious things like dropping patch JARs into a running webapp, or editing dspace.cfg and not seeing the changes reflected after a Tomcat restart. (For the curious, I've seen the Authentication page continue to reflect one authentication method (Shibboleth) after having changed the Auth stack configuration to use Certificates instead.) What I have always done to clear this is less-than-ideal and a trial compared to a clean method that might not require the shutting down of the webapp or Tomcat instance: 1.) ${tomcat6.home}/bin/shutdown.sh 2.) cd ${tomcat6.home}/work/Catalina/{appropriate.domain.dir}/_/ 3.) rm -rf cache-dir This solves the config issue I described above, but is certainly not a method I love having to do. A push-button (or ./script/run) solution would be much welcome. -- sands fish Senior Software Engineer MIT Libraries Technology Research Development sa...@mit.edumailto:sa...@mit.edu E25-131 On Oct 1, 2010, at 2:31 PM, Pottinger, Hardy J. pottinge...@umsystem.edumailto:pottinge...@umsystem.edu wrote: Hi, I was wondering, has anyone implemented/set up the Cocoon status, empty cache, or empty store sample apps for DSpace? Very occasionally, a weird caching error will crop up, and it has me wishing I had a way to just empty the Cocoon cache, so I could then rule out Cocoon as the culprit, and be able to look elsewhere. -- HARDY POTTINGER pottinge...@umsystem.edumailto:pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] 1.6.2 metadata export - incorrect diacritics
Hello all- Has anyone experienced a metadata export where the diacritics are not handled properly? Here is an example of what it should look like and what it came out in the exported Excel file as. Jrade, Cathy Login. Rubén Darío y la búsqueda romántica de la unidad : el recurso modernista a la tradición esotérica. México: Fondo de Cultura Económica, 1986. Jrade, Cathy Login. RubeÌn DariÌo y la buÌsqueda romaÌntica de la unidad : el recurso modernista a la tradicioÌn esoteÌrica. Is this something that could be generated by the export or by importing into excel? Any ideas? Thanks, Ronee Francis -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] 1.6.2 metadata export - incorrect diacritics
Hi Ronee, Has anyone experienced a metadata export where the diacritics are not handled properly? Here is an example of what it should look like and what it came out in the exported Excel file as. Jrade, Cathy Login. Rubén Darío y la búsqueda romántica de la unidad : el recurso modernista a la tradición esotérica. México: Fondo de Cultura Económica, 1986. Jrade, Cathy Login. RubeÌn DariÌo y la buÌsqueda romaÌntica de la unidad : el recurso modernista a la tradicioÌn esoteÌrica. Is this something that could be generated by the export or by importing into excel? Any ideas? It is possible that the text is being mutilated by Excel. If the CSV file opens by default in Excel, then it tends to get upset by the diacritics, and converts dates to date objects rather than leaving them as text. OpenOffice is better at opening CSV files - it asks what encoding you want to use (select 'UTF-8') and you can select what formatting to apply to the columns (click on the top left cell to highlight them all, and select the column type of 'Text'. - http://oldwiki.dspace.org/index.php/Batch_Metadata_Editing_Prototype#CSV_editing_hints Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Cocoon status, empty cache, empty store sample apps
Hi, Sands, though we've communicated off-list about this, I figured I'd go ahead and report back what I've found so far to the list, on the off chance anyone else wants to pitch in with this. I believe the sample apps to which I referred previously are no longer part of Cocoon, but I could be mistaken, I'm obviously pretty green at this stuff still. However, I have confirmed that there is a clear-cache action which is part of Cocoon core, and is definitely in my build of DSpace 1.6.2: http://cocoon.apache.org/2.2/core-modules/core/2.2/1006_1_1.html and http://www.jarfinder.com/index.php/java/info/org.apache.cocoon.acting.ClearCacheAction So, I did a bit more googling, and it looks like you can add an action to the list of components, and then call that action in some way, probably I'd do it with an XMLUI admin control panel. Here's a very basic outline of how to do this: http://mail-archives.apache.org/mod_mbox/cocoon-users/200707.mbox/%3c468abf66.5000...@danielbruessler.de%3e I'm going to keep muddling with this, as I think it will be a good learning experience. But, if anyone wants to chime in with hints, or words of encouragement, or even a good grief, don't do that, be my guest. :-) --Hardy -Original Message- From: Sands Alden Fish [mailto:sa...@mit.edu] Sent: Monday, October 04, 2010 12:38 PM To: Pottinger, Hardy J. Cc: dspace-tech@lists.sourceforge.net Tech Subject: Re: [Dspace-tech] Cocoon status, empty cache, empty store sample apps Hardy, We have not implemented it and I am curious to learn more about it because I have occasionally seen strange Cocoon cache issues as well, particularly when doing sacrilegious things like dropping patch JARs into a running webapp, or editing dspace.cfg and not seeing the changes reflected after a Tomcat restart. (For the curious, I've seen the Authentication page continue to reflect one authentication method (Shibboleth) after having changed the Auth stack configuration to use Certificates instead.) What I have always done to clear this is less-than-ideal and a trial compared to a clean method that might not require the shutting down of the webapp or Tomcat instance: 1.) ${tomcat6.home}/bin/shutdown.sh 2.) cd ${tomcat6.home}/work/Catalina/{appropriate.domain.dir}/_/ 3.) rm -rf cache-dir This solves the config issue I described above, but is certainly not a method I love having to do. A push-button (or ./script/run) solution would be much welcome. -- sands fish Senior Software Engineer MIT Libraries Technology Research Development sa...@mit.edu E25-131 On Oct 1, 2010, at 2:31 PM, Pottinger, Hardy J. pottinge...@umsystem.edu wrote: Hi, I was wondering, has anyone implemented/set up the Cocoon status, empty cache, or empty store sample apps for DSpace? Very occasionally, a weird caching error will crop up, and it has me wishing I had a way to just empty the Cocoon cache, so I could then rule out Cocoon as the culprit, and be able to look elsewhere. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb --- --- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] A simplified version of dspace-services and Tomcat unloading
Hello all, So, we've been debating the performance / resource usage of DSpace 1.6. This has just happened to coincide with work that I needed to do to qualify DSpace 1.6 (and/or 1.7) for our own use. So, for the past week or so, I've been hammering away at profiling DSpace. This isn't a comprehensive analysis of the entire codebase, but focusing on the serious issue of stability and resource leakage. This immediately led to finding two issues with the dspace-services code and it's dependencies: 1) The resources in the FinalizableReferenceQueue were leaking (this was noted before in a Tomcat stack trace posted here) - this could have been avoided if a newer version of reflectutils had been used, along with the LifeCycleManager it contains 2) A ThreadLocal in the CachingServiceImpl was also leaking - the service did attempt to clean up in the shutdown, but it would only ever have been able to clear up the resources of the thread executing the shutdown, not all the other threads that would have processed requests. Investigating the second issue, it turned out that this was being used to keep track of Request scope caches - as well as potentially leaking resources (across requests), this highlighted a problem in the service contract, and a dangerous coupling between the implementation of the services. The Caching service was written to return a Request scoped cache without any valid Request to bind it to - this was explicitly used in the listeners / filters to acquire a cache and assign request objects into it before the request service was called to 'start' a request and bind to the scoped cache. There were also tests that expected this behaviour. Whilst the request service will clear a request scoped cache if it's been bound to it, you can't guarantee that the cache gets bound to a request. Worse though, the Request service was depending on the Caching service tracking request scoped caches against the current thread in order to be able to track the current request. So, the one responsibility that the request service should have, it was passing on and hoping that another service might do the job for it without it being explicitly clear in the contract. If that wasn't bad enough, getCache doesn't actually properly respect the CacheScope when trying to retrieve a particular cache (it could retrieve a non-Request scoped cache if one of the same name had already been created, regardless of the scope parameter). The Caching service also registered an MBean that was never removed. And, to wrap up my examination of the Caching service, it didn't close an InputStream that it opened. So, onwards - wanting to simplify this code a bit (as we don't need to support non-Spring IoC containers, at least not yet - and we do need to be able to understand and maintain this code) - I quickly noticed an issue in the SpringServiceManager where it returned multiple instances of the same service name, because it was under the mistaken belief that it needed to track some of the service names itself, when it was actually getting them returned from Spring. And the ServiceMixinManager was entirely redundant - as long as we can rely on Spring, we can rely on the container to do everything that the Mixin manager does, without us having to worry about the complexity of it (and it is both relatively complex, and a source of our problems earlier as it uses the FinalizableReferenceQueue). I've actually got a real bugbear about us using the term 'mixin'. A mixin means something specific - a class that provides an actual implementation, and is combined with other mixins to produce other classes [through multiple-inheritance]. When you look at what is implemented in dspace-services under the term mixin, well we don't actually have mixins... we have interfaces that are implemented by service classes. Each service class completely and wholly provide implementations of the methods defined in all the interfaces they implement. That's a concept that Java has had for a long time, and is (should be) well understood by all Java programmers. That doesn't make them mixins. We don't/shouldn't want 'mixins' (multiple inheritance - there is a reason Java doesn't support it). And we shouldn't be using a term incorrectly just because it's cool. While I'm on a terminology rant, I'm not particularly happy about the 'interceptors' (ie. RequestInterceptor). They are looking and feeling a lot more like listeners than interceptors - allowing other services to react to events taking place (start request / end request), rather than affecting it's behaviour. I've not renamed them, for the sake of keeping as much of the existing API intact as I can (whilst clearing out [currently] redundant or problematic code), but actually it seems that it should really be pushing a synchronous and immediately executing event notification, so that the listener registration can occur in a single place rather than duplicating that functionality anywhere similar concepts may