​Yes.​

*Hilton Gibson*
Ubuntu Linux Systems Administrator
JS Gericke Library
Room 1025D
Stellenbosch University
Private Bag X5036
Stellenbosch
7599
South Africa

Tel: +27 21 808 4100 | Cell: +27 84 646 4758
http://scholar.sun.ac.za
http://bit.ly/goodir
http://library.sun.ac.za
http://za.linkedin.com/in/hiltongibson


On 29 May 2014 10:42, Stephano John <[email protected]> wrote:

> Hi Hilton,
> you have mentioned cleaning cache while logged in as an administrator
> dspace 4
>
> regards
> stephano j
>
> > Send DSpace-tech mailing list submissions to
> >       [email protected]
> >
> > 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
> >       [email protected]
> >
> > You can reach the person managing the list at
> >       [email protected]
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of DSpace-tech digest..."
> >
> >
> > Today's Topics:
> >
> >    1. How add Link to Primary Bitstream in item-list.xsl? (royopa)
> >    2. Anomaly in moving collection to new community (Alan Orth)
> >    3. Re: Anomaly in moving collection to new community (Hilton Gibson)
> >    4. Re: Anomaly in moving collection to new community (Alan Orth)
> >    5. Re: JAVA_OPTS for cron jobs? (Peter Dietz)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Tue, 27 May 2014 21:01:19 -0400
> > From: royopa <[email protected]>
> > Subject: [Dspace-tech] How add Link to Primary Bitstream in
> >       item-list.xsl?
> > To: dspace-tech <[email protected]>
> > Message-ID:
> >       <CAKRHySJaNUme-AvkgHCFznfOafSewdSL7=VsH1+0J+5qyjpi=
> [email protected]>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi guys!
> >
> > I need to insert a link to the first bitstream for each item in the
> > item-list.xml. This is possible? Could you give me a hand?
> >
> > I am using Mirage theme and DSpace 4.1
> >
> > Thanks
> > --
> > Rodrigo Prado de Jesus
> > http://about.me/royopa
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 28 May 2014 09:36:33 +0300
> > From: Alan Orth <[email protected]>
> > Subject: [Dspace-tech] Anomaly in moving collection to new community
> > To: "[email protected]"
> >       <[email protected]>
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hi,
> >
> > I've just moved a collection from CommunityA to CommunityB using SQL
> > like this:
> >
> > UPDATE community2collection SET community_id=8 WHERE community_id=140
> > and collection_id=132;
> >
> > Followed by stopping Tomcat, then running an `index-init`.
> >
> > Now I see the collection listed in the new community, but when I browse
> > to the collection itself, the bread crumb trail in the header still
> > lists the old community as it's parent.
> >
> > I'm on DSpace 3.1 with PostgreSQL, and I've tested this same procedure
> > in a test environment with the same DB / environment, where it worked as
> > expected.
> >
> > Any pointers? :)
> >
> > --
> > Alan Orth
> > [email protected]
> > http://alaninkenya.org
> > http://mjanja.co.ke
> > "I have always wished for my computer to be as easy to use as my
> > telephone; my wish has come true because I can no longer figure out how
> > to use my telephone." -Bjarne Stroustrup, inventor of C++
> > GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: signature.asc
> > Type: application/pgp-signature
> > Size: 819 bytes
> > Desc: OpenPGP digital signature
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Wed, 28 May 2014 09:26:08 +0200
> > From: Hilton Gibson <[email protected]>
> > Subject: Re: [Dspace-tech] Anomaly in moving collection to new
> >       community
> > To: Alan Orth <[email protected]>
> > Cc: "[email protected]"
> >       <[email protected]>
> > Message-ID:
> >       <CAAV1Wv76rza17KFQs=X1Y7XVtfhBCVDVbvD=
> [email protected]>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi Alan
> >
> > Check the cache options.
> > Try clearing the cache when logged in as admin using the XMLUI.
> >
> > Cheers
> >
> > hg
> >
> > *Hilton Gibson*
> > Ubuntu Linux Systems Administrator
> > JS Gericke Library
> > Room 1025D
> > Stellenbosch University
> > Private Bag X5036
> > Stellenbosch
> > 7599
> > South Africa
> >
> > Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> > http://scholar.sun.ac.za
> > http://bit.ly/goodir
> > http://library.sun.ac.za
> > http://za.linkedin.com/in/hiltongibson
> >
> >
> > On 28 May 2014 08:36, Alan Orth <[email protected]> wrote:
> >
> >> Hi,
> >>
> >> I've just moved a collection from CommunityA to CommunityB using SQL
> >> like this:
> >>
> >> UPDATE community2collection SET community_id=8 WHERE community_id=140
> >> and collection_id=132;
> >>
> >> Followed by stopping Tomcat, then running an `index-init`.
> >>
> >> Now I see the collection listed in the new community, but when I browse
> >> to the collection itself, the bread crumb trail in the header still
> >> lists the old community as it's parent.
> >>
> >> I'm on DSpace 3.1 with PostgreSQL, and I've tested this same procedure
> >> in a test environment with the same DB / environment, where it worked as
> >> expected.
> >>
> >> Any pointers? :)
> >>
> >> --
> >> Alan Orth
> >> [email protected]
> >> http://alaninkenya.org
> >> http://mjanja.co.ke
> >> "I have always wished for my computer to be as easy to use as my
> >> telephone; my wish has come true because I can no longer figure out how
> >> to use my telephone." -Bjarne Stroustrup, inventor of C++
> >> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Time is money. Stop wasting it! Get your web API in 5 minutes.
> >> www.restlet.com/download
> >> http://p.sf.net/sfu/restlet
> >> _______________________________________________
> >> DSpace-tech mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >> List Etiquette:
> >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >>
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Wed, 28 May 2014 13:18:17 +0300
> > From: Alan Orth <[email protected]>
> > Subject: Re: [Dspace-tech] Anomaly in moving collection to new
> >       community
> > To: Hilton Gibson <[email protected]>
> > Cc: "[email protected]"
> >       <[email protected]>
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > On 05/28/2014 10:26 AM, Hilton Gibson wrote:
> >> Hi Alan
> >>
> >> Check the cache options.
> >> Try clearing the cache when logged in as admin using the XMLUI.
> >>
> >> Cheers
> >>
> >> hg
> >>
> >> *Hilton Gibson*
> >> Ubuntu Linux Systems Administrator
> >> JS Gericke Library
> >> Room 1025D
> >> Stellenbosch University
> >> Private Bag X5036
> >> Stellenbosch
> >> 7599
> >> South Africa
> >>
> >> Tel: +27 21 808 4100 | Cell: +27 84 646 4758
> >> http://scholar.sun.ac.za
> >> http://bit.ly/goodir
> >> http://library.sun.ac.za
> >> http://za.linkedin.com/in/hiltongibson
> >>
> >>
> >> On 28 May 2014 08:36, Alan Orth <[email protected]
> >> <mailto:[email protected]>> wrote:
> >>
> >>     Hi,
> >>
> >>     I've just moved a collection from CommunityA to CommunityB using SQL
> >>     like this:
> >>
> >>     UPDATE community2collection SET community_id=8 WHERE
> >> community_id=140
> >>     and collection_id=132;
> >>
> >>     Followed by stopping Tomcat, then running an `index-init`.
> >>
> >>     Now I see the collection listed in the new community, but when I
> >> browse
> >>     to the collection itself, the bread crumb trail in the header still
> >>     lists the old community as it's parent.
> >>
> >>     I'm on DSpace 3.1 with PostgreSQL, and I've tested this same
> >> procedure
> >>     in a test environment with the same DB / environment, where it
> >> worked as
> >>     expected.
> >>
> >>     Any pointers? :)
> >>
> >>     --
> >>     Alan Orth
> >>     [email protected] <mailto:[email protected]>
> >>     http://alaninkenya.org
> >>     http://mjanja.co.ke
> >>     "I have always wished for my computer to be as easy to use as my
> >>     telephone; my wish has come true because I can no longer figure out
> >> how
> >>     to use my telephone." -Bjarne Stroustrup, inventor of C++
> >>     GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >>     Time is money. Stop wasting it! Get your web API in 5 minutes.
> >>     www.restlet.com/download <http://www.restlet.com/download>
> >>     http://p.sf.net/sfu/restlet
> >>     _______________________________________________
> >>     DSpace-tech mailing list
> >>     [email protected]
> >>     <mailto:[email protected]>
> >>     https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>     List Etiquette:
> >>     https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >>
> >>
> >
> > Hilton,
> >
> > Ah, indeed.  It was indeed the Cocoon cache.  Thank you, I was going
> > crazy. :)
> >
> > --
> > Alan Orth
> > [email protected]
> > http://alaninkenya.org
> > http://mjanja.co.ke
> > "I have always wished for my computer to be as easy to use as my
> > telephone; my wish has come true because I can no longer figure out how
> > to use my telephone." -Bjarne Stroustrup, inventor of C++
> > GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
> >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: signature.asc
> > Type: application/pgp-signature
> > Size: 819 bytes
> > Desc: OpenPGP digital signature
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Wed, 28 May 2014 10:33:52 -0400
> > From: Peter Dietz <[email protected]>
> > Subject: Re: [Dspace-tech] JAVA_OPTS for cron jobs?
> > To: Terry Brady <[email protected]>
> > Cc: "[email protected]"
> >       <[email protected]>
> > Message-ID:
> >       <
> cacl+z9uxejtpmvu1ecbvomjpu5s-_x81ebpqfvqeuuhmpfc...@mail.gmail.com>
> > Content-Type: text/plain; charset=UTF-8
> >
> > Hi Alan,
> >
> > At Longsight, we customize the JAVA_OPTS in dspace/bin/dspace
> >
> https://github.com/LongsightGroup/DSpace/blob/longsight-4_x/dspace/bin/dspace#L66
> >
> > #Allow user to specify java options through JAVA_OPTS variable
> > if [ "$JAVA_OPTS" = "" ]; then
> >   #Default Java to use 256MB of memory
> >   JAVA_OPTS="-server -Xmx256m"
> > fi
> >
> >
> > Previously, when I was at Ohio State, I had more in my JAVA_OPTS, to
> > help with permgen issues.
> > https://github.com/osulibraries/DSpace/blob/osukb/dspace/bin/dspace#L66
> >
> > #Allow user to specify java options through JAVA_OPTS variable
> > if [ "$JAVA_OPTS" = "" ]; then
> >   #Default Java to use 256MB of memory
> >   JAVA_OPTS="-server -Xmx512m -XX:MaxPermSize=128m
> > -XX:+CMSClassUnloadingEnabled"
> > fi
> >
> >
> > By adding the "-server" your ensuring that Java runs in server mode,
> > as opposed to client mode. Server has slower initial startup, but a
> > better memory footprint, and better performance for a longer running
> > task, as per:
> >
> http://stackoverflow.com/questions/198577/real-differences-between-java-server-and-java-client
> >
> > Then, if one of our clients has some jumbo-sized content that just
> > isn't completing the cron jobs, then we'll temporarily bump the Xmx
> > memory limit high, such as 4G.
> > ________________
> > Peter Dietz
> > Longsight
> > www.longsight.com
> > [email protected]
> > p: 740-599-5005 x809
> >
> >
> > On Tue, May 27, 2014 at 7:03 PM, Terry Brady <[email protected]>
> wrote:
> >> Alan,
> >>
> >> We override JAVA_OPTS for the nightly filter-media task in our cron.
> >>
> >> export JAVA_OPTS=-Xmx1200m;dspace filter-media ...
> >>
> >> We have a set of automated ingest tools.  We set JAVA_OPTS in some of
> >> the
> >> workflows that are run by those tools.
> >>
> >>
> https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/bin-src/dspaceBatch.sh
> >>
> >> Terry
> >>
> >>
> >>
> >> On Tue, May 20, 2014 at 1:33 AM, Alan Orth <[email protected]> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I'm curious if anyone sets memory limits for DSpace's various cron
> >>> jobs?
> >>>
> >>> Lately we've been having Tomcat's java process get killed every morning
> >>> around the same time, and all dmesg shows is that "java" was killed by
> >>> the kernel's OOM killer.  Catalina logs don't show any "SEVERE" errors,
> >>> so I have to assume it's the cron jobs which are using up loads of
> >>> memory and then confusing the kernel, which then identifies Tomcat's
> >>> java as the memory hog and kills it.
> >>>
> >>> So I'm just curious if anyone has had these kinds of problems, and
> >>> if/what they set their JAVA_OPTS to in crontab.
> >>>
> >>> The long term plan of course is to move to a machine with more memory
> >>> (currently 4GB).
> >>>
> >>> Thanks,
> >>>
> >>> DSpace version is 3.1, OS is Ubuntu 12.04.
> >>>
> >>> --
> >>> Alan Orth
> >>> [email protected]
> >>> http://alaninkenya.org
> >>> http://mjanja.co.ke
> >>> "I have always wished for my computer to be as easy to use as my
> >>> telephone; my wish has come true because I can no longer figure out how
> >>> to use my telephone." -Bjarne Stroustrup, inventor of C++
> >>> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
> >>>
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> >>> Instantly run your Selenium tests across 300+ browser/OS combos.
> >>> Get unparalleled scalability from the best Selenium testing platform
> >>> available
> >>> Simple to use. Nothing to install. Get started now for free."
> >>> http://p.sf.net/sfu/SauceLabs
> >>> _______________________________________________
> >>> DSpace-tech mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >>> List Etiquette:
> >>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >>
> >>
> >>
> >>
> >> --
> >> Terry Brady
> >> Applications Programmer Analyst
> >> Georgetown University Library Information Technology
> >> https://www.library.georgetown.edu/lit/code
> >> 425-298-5498
> >>
> >>
> ------------------------------------------------------------------------------
> >> The best possible search technologies are now affordable for all
> >> companies.
> >> Download your FREE open source Enterprise Search Engine today!
> >> Our experts will assist you in its installation for $59/mo, no
> >> commitment.
> >> Test it for FREE on our Cloud platform anytime!
> >>
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> >> _______________________________________________
> >> DSpace-tech mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >> List Etiquette:
> >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
> >
> >
> >
> > ------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > Time is money. Stop wasting it! Get your web API in 5 minutes.
> > www.restlet.com/download
> > http://p.sf.net/sfu/restlet
> >
> > ------------------------------
> >
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> > End of DSpace-tech Digest, Vol 97, Issue 48
> > *******************************************
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> >
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to