[Dspace-tech] itemcounter

2012-09-18 Thread Amira Shoukry
hey all

I'm currently faceing a strange problem with displying the strengths of the
communities and the collections. I have set all the properties in the
config file webui.strengths.show =true and webui.strengths.cache=false,
and I periodically run the job  /[dspace]/bin/dspace itemcounter  every
morning. It was working fine and all of sudden it stop working and the
numbers disappeared. Any suggestion as how can I solve this problem.

-- 
Thanks

Amira Shoukry
Software Developer
University Academic Computing Technologies (UACT)
The American University in Cairo (AUC)
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] itemcounter

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 9:19 AM, Amira Shoukry am_ma...@aucegypt.edu wrote:
 I'm currently faceing a strange problem with displying the strengths of the
 communities and the collections. I have set all the properties in the config
 file webui.strengths.show =true and webui.strengths.cache=false, and I
 periodically run the job  /[dspace]/bin/dspace itemcounter  every morning.
 It was working fine and all of sudden it stop working and the numbers
 disappeared. Any suggestion as how can I solve this problem.

Hi Amira,

I'm not sure why they have disappeared when they were working. But
let's take this one step as a time.
1) Did you try restarting tomcat?
2) Did you try running itemcounter manually? (maybe there's a problem
with your cron)
3) I there any particular reason why you have
webui.strengths.cache=false? It really should be set to true. Set it
and restart Tomcat.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] How to allow searches in dc.description field

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 3:31 AM, LIBRIS Reference (LIBRIS)
lib...@nie.edu.sg wrote:
 My DSpace is v1.4. I need to let users search specifically in the
 dc.description field. What needs to be done?

Please, refer to the docs/configure.html file in you installation,
chapter Configuring Lucene Search Indexes.

You need to add
search.index.12 = id:dc.description.*
to dspace.cfg, shut down Tomcat, run the index-all command from the
bin/ directory to rebuild indexes, then start Tomcat.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] itemcounter

2012-09-18 Thread Amira Shoukry
hey,

1) I have restarted tomcat several times with no change :(,
2) for the itemcounter, I have run it manually and with the job but also no
effect.
3) as for the cache thing, I set it to false as I want the counters to be
recalculated each time

Actually i have made some changes in the communityViewer.java, login page
after which the itemcounter stopped working. Do you believe is there any
relation between these changes and the counter thing.

you can visit our website at  http://dar.aucegypt.edu/

On Tue, Sep 18, 2012 at 10:05 AM, helix84 heli...@centrum.sk wrote:

 On Tue, Sep 18, 2012 at 9:19 AM, Amira Shoukry am_ma...@aucegypt.edu
 wrote:
  I'm currently faceing a strange problem with displying the strengths of
 the
  communities and the collections. I have set all the properties in the
 config
  file webui.strengths.show =true and webui.strengths.cache=false, and
 I
  periodically run the job  /[dspace]/bin/dspace itemcounter  every
 morning.
  It was working fine and all of sudden it stop working and the numbers
  disappeared. Any suggestion as how can I solve this problem.

 Hi Amira,

 I'm not sure why they have disappeared when they were working. But
 let's take this one step as a time.
 1) Did you try restarting tomcat?
 2) Did you try running itemcounter manually? (maybe there's a problem
 with your cron)
 3) I there any particular reason why you have
 webui.strengths.cache=false? It really should be set to true. Set it
 and restart Tomcat.

 Regards,
 ~~helix84




-- 
Thanks

Amira Shoukry
M.Sc. Student
Department of Computer Science  Engineering
Software Developer
University Academic Computing Technologies (UACT)
The American University in Cairo (AUC)
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] itemcounter

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 10:29 AM, Amira Shoukry am_ma...@aucegypt.edu wrote:
 3) as for the cache thing, I set it to false as I want the counters to be
 recalculated each time

For XMLUI, it should be set to true. For now, just try scheduling
itemcounter to run more often if you need more current numbers. I
agree there should be a way to make itemcounter run after
submission/import automatically, we can file a Jira issue for that.

 Actually i have made some changes in the communityViewer.java, login page 
 after which the itemcounter stopped working. Do you believe is there any 
 relation between these changes and the counter thing.

It might have somehting to do with changes to CommunityViewer.java.

 you can visit our website at  http://dar.aucegypt.edu/

It seems to have the numbers at this moment. Did you manage to fix it?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] itemcounter

2012-09-18 Thread Amira Shoukry
I just change the cache thing to true :D

thanks for your help :D

On Tue, Sep 18, 2012 at 10:37 AM, helix84 heli...@centrum.sk wrote:

 On Tue, Sep 18, 2012 at 10:29 AM, Amira Shoukry am_ma...@aucegypt.edu
 wrote:
  3) as for the cache thing, I set it to false as I want the counters to be
  recalculated each time

 For XMLUI, it should be set to true. For now, just try scheduling
 itemcounter to run more often if you need more current numbers. I
 agree there should be a way to make itemcounter run after
 submission/import automatically, we can file a Jira issue for that.

  Actually i have made some changes in the communityViewer.java, login
 page after which the itemcounter stopped working. Do you believe is there
 any relation between these changes and the counter thing.

 It might have somehting to do with changes to CommunityViewer.java.

  you can visit our website at  http://dar.aucegypt.edu/

 It seems to have the numbers at this moment. Did you manage to fix it?

 Regards,
 ~~helix84




-- 
Thanks

Amira Shoukry
M.Sc. Student
Department of Computer Science  Engineering
Software Developer
University Academic Computing Technologies (UACT)
The American University in Cairo (AUC)
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread Benjamin Ryan
Hi,
Does anybody have any info on best/good practice for building 
and then deploying DSpace.

I have a setup as follows:

1.   Build server - setup only to build and test DSpace from source

2.   Staging server - when build passes all tests it will be deployed here 
for UAT phase

3.   Live server - identical to Staging server (except hostname and DNS 
name) that will host the live DSpace version

Staging server will have replicated copy of the live DSpace database and an 
nightly rsynced version of the live assetstore.

Regards,
Ben


--
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6256
E-mail: benjamin.r...@manchester.ac.ukmailto:benjamin.r...@manchester.ac.uk
--

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread helix84
Hi Benjamin,

sounds like solid standard practice to me.

The only thing I don't like about it is your 1 rsync/day vs. mirrored
DB. That will cause inaccessible bistreams for items added in the last
day. So
a) either reduce the DB contents transfer to 1/day
b) or try using some mechanism for live synchronization of directories
like lsyncd (leverages inotify)

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread Benjamin Ryan
Hi Helix84,
Thanks I will take a look at lsyncd.
One other question: I will have configs for both the live and staging 
servers and I assume that once I have setup the DSpace install on both machines 
(via ant) I can just use rsync when I need to update the codebase after a new 
build?

Regards,
Ben 

--
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6256
E-mail: benjamin.r...@manchester.ac.uk
--

-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 18 September 2012 11:17
To: Benjamin Ryan
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

Hi Benjamin,

sounds like solid standard practice to me.

The only thing I don't like about it is your 1 rsync/day vs. mirrored DB. That 
will cause inaccessible bistreams for items added in the last day. So
a) either reduce the DB contents transfer to 1/day
b) or try using some mechanism for live synchronization of directories like 
lsyncd (leverages inotify)

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 12:51 PM, Benjamin Ryan
benjamin.r...@manchester.ac.uk wrote:
 Thanks I will take a look at lsyncd.

That was just an example, you may want to search for similiar options
in your distribution's repository.

 One other question: I will have configs for both the live and staging 
 servers and I assume that once I have setup the DSpace install on both 
 machines (via ant) I can just use rsync when I need to update the codebase 
 after a new build?

Not at the moment, because dspace.cfg contains hostname and url, but
this should be possible in 3.0 thanks to DS-1208 [1], which lets you
keep some hosts-specific setting in a machine-local build.properties
file and fill them into dspace.cfg at ant update time.

[1] https://jira.duraspace.org/browse/DS-1208

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Dspace Public View doesnt Display

2012-09-18 Thread Henry Atsu Agbodza
Good day to all,
i have a problem i wish folks to help me with (still learning on the job).
My dspace instance doesn't display from time to time. It goes blank. I
normally restart Tomcat to fix this problem but i wish to have a permanent
solution to this so that i can provide uninterrupted service to the
University Community and the outside world.
Thanks.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread Benjamin Ryan
Helix84,
Don't think I made myself clear, each server will have its own 
dspace.cfg setup for the initial deployment and then the rsync should just copy 
over what has changed in the core API and modules but not the config etc.
This will work will it not?

Regards,
Ben

--
Dr Ben Ryan
Jorum Technical Coordinator (Services)

5.13 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6256
E-mail: benjamin.r...@manchester.ac.uk
--


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 18 September 2012 11:58
To: Benjamin Ryan
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

On Tue, Sep 18, 2012 at 12:51 PM, Benjamin Ryan 
benjamin.r...@manchester.ac.uk wrote:
 Thanks I will take a look at lsyncd.

That was just an example, you may want to search for similiar options in your 
distribution's repository.

 One other question: I will have configs for both the live and staging 
 servers and I assume that once I have setup the DSpace install on both 
 machines (via ant) I can just use rsync when I need to update the codebase 
 after a new build?

Not at the moment, because dspace.cfg contains hostname and url, but this 
should be possible in 3.0 thanks to DS-1208 [1], which lets you keep some 
hosts-specific setting in a machine-local build.properties file and fill them 
into dspace.cfg at ant update time.

[1] https://jira.duraspace.org/browse/DS-1208

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 1:25 PM, Benjamin Ryan
benjamin.r...@manchester.ac.uk wrote:
 Don't think I made myself clear, each server will have its own 
 dspace.cfg setup for the initial deployment and then the rsync should just 
 copy over what has changed in the core API and modules but not the config etc.
 This will work will it not?

OK, I misunderstood. But the 3.0 approach is also suitable for
staging/production environments, just a bit different strategy.

It should work fine, as long as you remember to keep the config
directory and code in sync. You'll have to pay attention during
upgrades to a new upstream major version, because there are sometimes
incompatible changes (although we strive to minimize them). E.g.
accidentally using my old config from 1.8 with code from the current
master branch bit me in the butt just last week. But of course you
know that already, I just thought it's worth pointing out.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Dspace Public View doesnt Display

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 1:23 PM, Henry Atsu Agbodza
atsu.agbo...@gmail.com wrote:
 Good day to all,
 i have a problem i wish folks to help me with (still learning on the job).
 My dspace instance doesn't display from time to time. It goes blank. I
 normally restart Tomcat to fix this problem but i wish to have a permanent
 solution to this so that i can provide uninterrupted service to the
 University Community and the outside world.
 Thanks.

Hi Henry,

some issues may not print eny error messages on the webpage itself.
But you should be able to find them in the logs. One of them is the
dspace log in [dspace]/log/dspace.log, the other one is the Tomcat log
(e.g. catalina.out or other files, depending on how you installed
Tomcat). You should look at these files when the problem occurs and
look for any problems (you can usually ignore the INFO messages, look
for WARNING, ERROR and SEVERE). It's useful to watch these logs at
runtime using tail -f dspace.log.

If that doesn't show anything, you should turn up log level to DEBUG
and send us anything that looks suspicious. More info here (read the
warning):
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error#Troubleshootanerror-TurningonDebugging%28optional%29

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Tom Autry
Unless I've missed something, it seems that the filter-media only works on 
files that need to be extracted first (i.e., from word, pdf, etc.) and doesn't 
do any work on files that are already TEXT.  Therefore, the information from 
these files do not get put into the search indices and are not found.  I 
believe I've seen some configurations that use the HTML extractor on TEXT files 
but this seems to fail on larger TEXT files.  Has anyone else had this problem 
or suggestions on a different media filter plugin to put a copy of these into 
the TEXT bundle so that they are properly searched?


Thanks.

Tom Autry


This e-mail message and any attachments may contain legally privileged, 
confidential or proprietary information. If you are not the intended 
recipient(s),or the employee or agent responsible for delivery of this message 
to the intended recipient(s), you are hereby notified that any dissemination, 
distribution or copying of this e-mail message is strictly prohibited. If you 
have received this message in error, please immediately notify the sender and 
delete this e-mail message from your computer. Any views expressed in this 
message are those of the individual sender and may not necessarily reflect the 
views of the company.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 2:48 PM, Tom Autry tom.au...@coffingco.com wrote:
 Unless I’ve missed something, it seems that the filter-media only works on
 files that need to be extracted first (i.e., from word, pdf, etc.) and
 doesn’t do any work on files that are already TEXT.  Therefore, the
 information from these files do not get put into the search indices and are
 not found.  I believe I’ve seen some configurations that use the HTML
 extractor on TEXT files but this seems to fail on larger TEXT files.  Has
 anyone else had this problem or suggestions on a different media filter
 plugin to put a copy of these into the TEXT bundle so that they are properly
 searched?

Interesting problem, that didn't occur to me.

However, although it's not intuitive, according to documentation the
MS Word filter should be able to filter plain text files:
Word Text Extractor
org.dspace.app.mediafilter.WordFilter
extracts the full text of Microsoft Word or Plain Text documents for
full text indexing. (Uses the Microsoft Word Text Mining tools.)

Can you verify that?

If it doesn't work, we should probably write such identity
transformation filter (file a Jira issue).
As a workaround, you can just copy the text file to the TEXT bundle
and run index-update.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Mark H. Wood
On Tue, Sep 18, 2012 at 03:32:09PM +0200, helix84 wrote:
 On Tue, Sep 18, 2012 at 2:48 PM, Tom Autry tom.au...@coffingco.com wrote:
  Unless I’ve missed something, it seems that the filter-media only works on
  files that need to be extracted first (i.e., from word, pdf, etc.) and
  doesn’t do any work on files that are already TEXT.  Therefore, the
  information from these files do not get put into the search indices and are
  not found.  I believe I’ve seen some configurations that use the HTML
  extractor on TEXT files but this seems to fail on larger TEXT files.  Has
  anyone else had this problem or suggestions on a different media filter
  plugin to put a copy of these into the TEXT bundle so that they are properly
  searched?
 
 Interesting problem, that didn't occur to me.
 
 However, although it's not intuitive, according to documentation the
 MS Word filter should be able to filter plain text files:
 Word Text Extractor
 org.dspace.app.mediafilter.WordFilter
 extracts the full text of Microsoft Word or Plain Text documents for
 full text indexing. (Uses the Microsoft Word Text Mining tools.)
 
 Can you verify that?
 
 If it doesn't work, we should probably write such identity
 transformation filter (file a Jira issue).
 As a workaround, you can just copy the text file to the TEXT bundle
 and run index-update.

I don't understand:  why would there be any need to extract plain text
from a bitstream that's already plain text?  Just index it.  The point
of text extraction is to create a plain-text bitstream for the indexer
to digest.

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


pgpHSeDNqUQsC.pgp
Description: PGP signature
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 3:46 PM, Mark H. Wood mw...@iupui.edu wrote:
 I don't understand:  why would there be any need to extract plain text
 from a bitstream that's already plain text?  Just index it.  The point
 of text extraction is to create a plain-text bitstream for the indexer
 to digest.

Mark, does the indexer index text from plain text files in the ORIGINAL bundle?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Tom Autry
Thanks for the responses and to answer both questions/comments:

1. I tried the Word filter and it fails with Invalid Word Format
2. My other comment was regarding that it doesn't seem to index TEXT files in 
the ORIGINAL bundle but only the TEXT bundle which is where the problem 
originally stemmed from.  It would seem that having just a filter that puts a 
copy of the ORIGINAL file in the TEXT bundle would suffice to get the indexer 
to work properly.

Any other insight is greatly appreciated.

Thanks.

Tom Autry
Coffing Corporation
3136 Presidential Drive
Fairborn, Ohio 45324
Office: 937-458-6100
Cell: 937-361-4680
Email: tom.au...@coffingco.com

-Original Message-
From: helix84 [mailto:heli...@centrum.sk]
Sent: Tuesday, September 18, 2012 9:51 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Filter-media on TEXT files

On Tue, Sep 18, 2012 at 3:46 PM, Mark H. Wood mw...@iupui.edu wrote:
 I don't understand:  why would there be any need to extract plain text
 from a bitstream that's already plain text?  Just index it.  The point
 of text extraction is to create a plain-text bitstream for the indexer
 to digest.

Mark, does the indexer index text from plain text files in the ORIGINAL bundle?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

This e-mail message and any attachments may contain legally privileged, 
confidential or proprietary information. If you are not the intended 
recipient(s),or the employee or agent responsible for delivery of this message 
to the intended recipient(s), you are hereby notified that any dissemination, 
distribution or copying of this e-mail message is strictly prohibited. If you 
have received this message in error, please immediately notify the sender and 
delete this e-mail message from your computer. Any views expressed in this 
message are those of the individual sender and may not necessarily reflect the 
views of the company.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Tim Donohue
Currently, only the TEXT bundle is indexed.

See: 
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/search/DSIndexer.java#L1244

Obviously the ideal scenario here is to also index plain text files 
directly, but it doesn't look like it works that way.

HOWEVER, it is worth noting that plain text files should have their text 
extracted by the HTMLFilter.  See the dspace.cfg default settings: 
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L410

(Notice that the HTMLFilter is configured to run for HTML format and 
Text format)

So, currently, Text files should be indexed...but the full text of a 
plain text file is first duplicated to the TEXT bundle before indexing. 
(Not ideal, but it should work)

Does that makes sense?

- Tim

On 9/18/2012 8:50 AM, helix84 wrote:
 On Tue, Sep 18, 2012 at 3:46 PM, Mark H. Wood mw...@iupui.edu wrote:
 I don't understand:  why would there be any need to extract plain text
 from a bitstream that's already plain text?  Just index it.  The point
 of text extraction is to create a plain-text bitstream for the indexer
 to digest.

 Mark, does the indexer index text from plain text files in the ORIGINAL 
 bundle?

 Regards,
 ~~helix84

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread helix84
Ben, would you care to document your practices on a wiki page? We
don't have such page yet, it could be very useful for some beginners.
Especially the processes and techniques for moving code from
dev-staging-prod; are you using git branches? patches? shared
directories? rsync? How often do you move code from dev to staging?
How and how long are you testing code on staging before you move to
prod? Who participates in testing? How do you guarantee that the
staging environment is the same as in prod? just regular OS updates?
VM cloning? how often? What automation tools do you use?

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Tom Autry
Tim,

Thanks for the information and I had also come across that information.  I 
forgot to mention that we are using 1.8.2.

We were using the HTML extractor but it runs into Java Heap issues on larger 
TEXT documents and then the FilterMedia just hangs up.  This is what initially 
started this process.  Here is the log message for the error.  The file is 
29MB, which isn't large for a file but large for a TEXT file.  It actually took 
several hours of processing (or failure to process) before it failed with out 
of memory.

Exception: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2894)
at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117)
at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:532)
at java.lang.StringBuffer.append(StringBuffer.java:323)
at 
javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.java:143)
at javax.swing.text.html.HTMLDocument.create(HTMLDocument.java:472)
at 
javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3719)
at 
javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2523)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:263)
at javax.swing.text.DefaultEditorKit.read(DefaultEditorKit.java:149)
at 
org.dspace.app.mediafilter.HTMLFilter.getDestinationStream(HTMLFilter.java:71)
at 
org.dspace.app.mediafilter.MediaFilterManager.processBitstream(MediaFilterManager.java:750)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterBitstream(MediaFilterManager.java:574)
at 
org.dspace.app.mediafilter.MediaFilterManager.filterItem(MediaFilterManager.java:511)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersItem(MediaFilterManager.java:479)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersCollection(MediaFilterManager.java:457)
at 
org.dspace.app.mediafilter.MediaFilterManager.applyFiltersCommunity(MediaFilterManager.java:441)
at 
org.dspace.app.mediafilter.MediaFilterManager.main(MediaFilterManager.java:347)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

I will look into creating a MediaFilter extension that does nothing more than 
copies the ORIGINAL text document to the TEXT bundle for searching purposes.


Thanks for all the information and help as it is greatly appreciated.

Tom Autry
Coffing Corporation
3136 Presidential Drive
Fairborn, Ohio 45324
Office: 937-458-6100
Cell: 937-361-4680
Email: tom.au...@coffingco.com


-Original Message-
From: Tim Donohue [mailto:tdono...@duraspace.org]
Sent: Tuesday, September 18, 2012 9:58 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Filter-media on TEXT files

Currently, only the TEXT bundle is indexed.

See:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/search/DSIndexer.java#L1244

Obviously the ideal scenario here is to also index plain text files directly, 
but it doesn't look like it works that way.

HOWEVER, it is worth noting that plain text files should have their text 
extracted by the HTMLFilter.  See the dspace.cfg default settings:
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L410

(Notice that the HTMLFilter is configured to run for HTML format and Text 
format)

So, currently, Text files should be indexed...but the full text of a plain text 
file is first duplicated to the TEXT bundle before indexing.
(Not ideal, but it should work)

Does that makes sense?

- Tim

On 9/18/2012 8:50 AM, helix84 wrote:
 On Tue, Sep 18, 2012 at 3:46 PM, Mark H. Wood mw...@iupui.edu wrote:
 I don't understand:  why would there be any need to extract plain
 text from a bitstream that's already plain text?  Just index it.  The
 point of text extraction is to create a plain-text bitstream for the
 indexer to digest.

 Mark, does the indexer index text from plain text files in the ORIGINAL 
 bundle?

 Regards,
 ~~helix84

 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond.
 Discussions will include endpoint security, mobile security and the
 latest in malware threats.
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread Terry Brady
I think the page that you propose creating would be very helpful.  I have
been using DSpace for about 3 months.  I would have found such an overview
very helpful.

Here is a summary of the process that I am using, and it has proven to be
very helpful so far.

I will be glad to share more details if the wiki page you propose is
created.

   - Setup
  - Download DSpace release to development machine
  - Add code directories to source code management (exclude target
  dirs, data dirs and log dirs from source code)
  - Create a config file for each environment
 - dspace.cfg.local: Developer desktop
- use unique sub-handle for resources created in this domain to
avoid handle collision with the production repository
 - dspace.cfg.dev: Build/integration machine
- use unique sub-handle for resources created in this domain
 to avoid handle collision with the production repository
 - dspace.cfg.test: System test machine
- use unique sub-handle for resources created in this domain
 to avoid handle collision with the production repository
 - dspace.cfg.prod: Production machine
  - Modify configuration settings in the config directory
  - When applicable, add custom overlays and themes to the modules
  directory
  - If applicable, reference any 3rd party packages in maven build
  file.  Add corresponding credentials to local maven repository.
  - Run maven build from [dspace-src]/dspace
 - mvn package
  - Run ant build from the target/dspace... directory using the local
  config file
 - ant -Dconfig=congig\dspace.cfg.local -Doverwrite=true update
  - Restart tomcat
  - Unit test customizations
  - Commit changes to source code repository
   - Build/Integration machine
  - Create build script to
 - Delete build directory
 - Extract code from code repository
 - Run maven build
- Add credentials for 3rd party modules if needed
 - Run ant build using DEV config file
- ant -Dconfig=congig\dspace.cfg.dev -Doverwrite=true update
 - Run script to modify config file with host-specific settings not
 stored in source code repository (i.e. database passwords)
 - Tar up the target directory and save as a baseline tar file
 - Restart tomcat (and apache if applicable)
  - Execute build script
   - System Test machine
  - Create build script to
  -
 - Extract target directory from baseline tar file
 - Run ant build using TEST config file
- ant -Dconfig=congig\dspace.cfg.test -Doverwrite=true update
 - Run script to modify config file with host-specific settings not
 stored in source code repository (i.e. database passwords)
  - Copy baseline tar file to System Test machine
  - Execute build script
  - Restart tomcat (and apache if applicable)


   - Production machine
  - Create build script to
  -
 - Extract target directory from baseline tar file
 - Run ant build using PRODconfig file
- ant -Dconfig=congig\dspace.cfg.prod -Doverwrite=true update
 - Run script to modify config file with host-specific settings not
 stored in source code repository (i.e. database passwords)
  - Copy baseline tar file to Production machine
  - Execute build script
  - Restart tomcat (and apache if applicable)

Data synchronization strategy

   - I am manually copying data from production to my other environments on
   an as-needed basis
   - I have not yet scripted the data copy process


On Tue, Sep 18, 2012 at 10:02 AM, helix84 heli...@centrum.sk wrote:

 Ben, would you care to document your practices on a wiki page? We
 don't have such page yet, it could be very useful for some beginners.
 Especially the processes and techniques for moving code from
 dev-staging-prod; are you using git branches? patches? shared
 directories? rsync? How often do you move code from dev to staging?
 How and how long are you testing code on staging before you move to
 prod? Who participates in testing? How do you guarantee that the
 staging environment is the same as in prod? just regular OS updates?
 VM cloning? how often? What automation tools do you use?

 Regards,
 ~~helix84


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Terry Brady
Applications 

Re: [Dspace-tech] Filter-media on TEXT files

2012-09-18 Thread Tom Autry
Just an FYI, created and implemented the following class along with needed 
changes in dspace.cfg and now the Text file *extractor* is working.  Just 
copies input to another stream using current FilterFormat example as well as 
borrowing code from XPDFtoText.  Hopefully someone else may find this useful as 
well.  Haven't uploaded any code before to DSpace so if this is something that 
would be useful, let me know.

Dspace.cfg updates:

Add to plugin.named.org.dspace.app.mediafilter.FormatFilter
org.dspace.app.mediafilter.DocxFilter = DocX Extractor, \

Add under configure each filter's input format section:

filter.org.dspace.app.mediafilter.TextFilter.inputFormats = Text

Added TextFilter.java to mediafilter directory and built/deployed:

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dspace.app.mediafilter;

import java.io.FileInputStream;

import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

import org.apache.log4j.Logger;
import org.dspace.core.Utils;

/**
 *
 * @author Tom Autry
 */
public class TextFilter extends MediaFilter
{
private static Logger log = Logger.getLogger(TextFilter.class);

 public String getFilteredName(String oldFilename)
{
return oldFilename + .txt;
}

/**
 * @return String bundle name
 *
 */
public String getBundleName()
{
return TEXT;
}

/**
 * @return String bitstreamformat
 */
public String getFormatString()
{
return Text;
}

/**
 * @return String description
 */
public String getDescription()
{
return Extracted text;
}


 /**
 * @param source
 *source input stream
 *
 * @return InputStream the resulting input stream
 */
public InputStream getDestinationStream(InputStream sourceStream)
throws Exception
{

File sourceTmp = File.createTempFile(DSfilt,.txt);
sourceTmp.deleteOnExit();  // extra insurance, we'll delete it here.
int status = -1;
try
{
// make local temp copy of source PDF since PDF tools
// require a file for random access.
// XXX fixme could optimize if we ever get an interface to grab 
asset *files*
OutputStream sto = new FileOutputStream(sourceTmp);
Utils.copy(sourceStream, sto);
sto.close();
sourceStream.close();

//create object of BufferedInputStream
InputStream stdout = new FileInputStream(sourceTmp);
BufferedInputStream bin = new BufferedInputStream(stdout);
//create a byte array
byte[] contents = new byte[4096];

int bytesRead=0;
String strFileContents;

ByteArrayOutputStream baos = new ByteArrayOutputStream();
//Utils.copy(new BufferedInputStream(stdout), baos);
Utils.copy(bin, baos);
stdout.close();
baos.close();

return new ByteArrayInputStream(baos.toByteArray());
}
catch (IOException e)
{
log.error(Failed in to text subprocess: ,e);
throw e;
}
finally
{
if (!sourceTmp.delete())
{
log.error(Unable to delete temporary file);
}
if (status != 0)
{
log.error(Text copy failed, returns= + status + , file= + 
sourceTmp);
}
}

}

}

Thanks.

Tom Autry
Coffing Corporation
3136 Presidential Drive
Fairborn, Ohio 45324
Office: 937-458-6100
Cell: 937-361-4680
Email: tom.au...@coffingco.com


-Original Message-
From: Tom Autry [mailto:tom.au...@coffingco.com]
Sent: Tuesday, September 18, 2012 10:18 AM
To: DSpace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Filter-media on TEXT files

Tim,

Thanks for the information and I had also come across that information.  I 
forgot to mention that we are using 1.8.2.

We were using the HTML extractor but it runs into Java Heap issues on larger 
TEXT documents and then the FilterMedia just hangs up.  This is what initially 
started this process.  Here is the log message for the error.  The file is 
29MB, which isn't large for a file but large for a TEXT file.  It actually took 
several hours of processing (or failure to process) before it failed with out 
of memory.

Exception: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2894)
at 
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:117)
at 
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:532)
at 

Re: [Dspace-tech] dspace xmlui language selection switch

2012-09-18 Thread Vezina Marie-Helene
I don't know if you are using Mirage but the Mirage part of the 
https://jira.duraspace.org/browse/DS-842 patch didn't work for me.

 For my 1.8.2 test machine, I had to rewrite the part within the 
dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/xsl/core/page-structure.xsl
 into 
dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/Mirage/lib/xsl/core/navigation.xsl
 (code not tested thoroughly yet): 

!-- TODO: figure out why i18n tags break the go button --
xsl:template match=dri:options
div id=ds-options-wrapper
div id=ds-options

+ xsl:template match=dri:options
+ div id=ds-options-wrapper
+ div id=ds-options

+ !-- Selecteur de langue lorsque plus d'une langue est specifiee--

+ xsl:if 
test=count(/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale'])
 gt; 1
+ h1 id=ds-language-option-head class=ds-option-set-head
+ i18n:textxmlui.EPerson.EditProfile.Language/i18n:text
+ /h1
+ div id=ds-language-option class=ds-option-set
 
+ form method=get name=repost action= style=display: inline;
+ select name=locale-attribute id=tlang 
onchange=javascript:document.repost.submit();
+ xsl:for-each 
select=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='supportedLocale']
+ xsl:variable name=locale select=./
+ option
+ xsl:attribute name=valuexsl:value-of select=.//xsl:attribute
+ xsl:if 
test=.=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='page'][@qualifier='currentLocale']
+ xsl:attribute name=selectedselected/xsl:attribute
+ /xsl:if
+ xsl:value-of 
select=/dri:document/dri:meta/dri:pageMeta/dri:metadata[@element='supportedLocale'][@qualifier=$locale]/
 
+ /option
+ /xsl:for-each
+ /select
+ /form
+ /div
+ /xsl:if

I also changed a few items within the style.css file:

+ /*#ds-search-option-head{
+   margin-top: 0;
+ }
+ */
+ #ds-language-option-head{
+   margin-top: 0;
+ }

(...) 

+ #ds-search-option, #ds-language-option {
+   padding: 10px;
+ }


Also, as advised in this post 
(http://sourceforge.net/mailarchive/message.php?msg_id=28540682) I had to 
update, for the first part of the DS-842 patch, ViewArtifacts instead of 
ArtifactBrowser.

Hope it can help.


Marie-Hélène Vézina
Librarian · Digital Library Initiatives
Libraries, Université de Montréal

@ | marie-helene.vez...@umontreal.ca
w | www.bib.umontreal.ca
t | +1-514-343-6111 x5225



-Message d'origine-
De : helix84 [mailto:heli...@centrum.sk] 
Envoyé : 14 septembre 2012 06:12
À : M Ramakrishna Rao
Cc : dspace-tech@lists.sourceforge.net
Objet : Re: [Dspace-tech] dspace xmlui language selection switch

On Fri, Sep 14, 2012 at 11:54 AM, M Ramakrishna Rao r...@tidaldata.com wrote:
 I am able to switch between  languages using  browser settings and is 
 working fine

 Kindly   provide me the detailed steps to  configure language selection
 switch   for XMLUI.. i.e  without Browser language switching

I'm sorry to inform you that DSpace currently doesn't contain this 
functionality out-of-the-box, the only way is adjusting your browser settings. 
We are going to add this function in the future.

However, there have been two separate patches submitted adding this
functionality:

https://jira.duraspace.org/browse/DS-332
https://jira.duraspace.org/browse/DS-842

You can use either of them (I'd take a look at the second one). It's likely 
they will need some minor adjustments to work with 1.8 because they were 
designed for previous versions.

Regards,
~~helix84

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] change permisson

2012-09-18 Thread Miguel Angel Robledo
I'm using dspace 1.8.0 with XMLUI .

I have to change the permissions of a collection but I understand that 
these change are for news articles.

There is a way to restore the read permission for the items already 
existing?

-- 
Ing. Miguel Angel Robledo
Secretaría de Tecnologías para la Gestión
Ministerio de Gobierno y Reforma del Estado
Provincia de Santa Fe
0342-4508704

El 10/09/12 08:08, helix84 escribió:
 please, always state your DSpace version, interface and XMLUI theme so
 that we don't have to guess.

 I XMLUI you can use the wildcard policy admin tool when you log in
 as administrator and select Authorizations from the Administrative
 menu. It operates on collections, though (not on an arbitrary set of
 items).


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] dspace xmlui language selection switch

2012-09-18 Thread helix84
Thanks Marie-Helene, I'm sure it will be useful. I copied it into the
proper place - the DS-842 issue comments.

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] change permisson

2012-09-18 Thread helix84
On Tue, Sep 18, 2012 at 10:02 PM, Miguel Angel Robledo
marobl...@santafe.gov.ar wrote:
 I have to change the permissions of a collection but I understand that these
 change are for news articles.

That's correct, the collection permissions are inherited to its items
only during submission. So only new items (sent after the change) will
be affected.

 There is a way to restore the read permission for the items already
 existing?

Yes, just like I wrote:

 El 10/09/12 08:08, helix84 escribió:
 I XMLUI you can use the wildcard policy admin tool when you log in
 as administrator and select Authorizations from the Administrative
 menu. It operates on collections, though (not on an arbitrary set of
 items).

Regards,
~~helix84

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

2012-09-18 Thread Benjamin Ryan
Hi Helix84,
Would be happy to do this as we are currently developing the 
infrastructure and nothing as yet is set in stone.
I have a plan of how I want things to work and a good idea of how this 
can be achieved but this will be an ongoing process that we will learn from.
We currently run our Dspace installations on Solaris but will be 
deploying the next release on Ubuntu 11.10 running on VMWare servers. One 
live and one staging server with a build server that will pull from 
GitHub periodically and be our build/test system.
The live server will run Apache fronting a number of Tomcat servers to 
load balance and fail over with replication of the assetstore and Postgres 
database to the staging server to provide another level of manual fail over, 
though I would like this to be as seemless as possible given the constraints of 
DNS.
All this work is ongoing and I am documenting as we go (in a very tight 
time frame) so it will be some time before this work is done.

Regards,
Ben 

--
Dr Ben Ryan
Jorum Technical Manager

5.12 Roscoe Building
The University of Manchester
Oxford Road
Manchester
M13 9PL
Tel: 0160 275 6039
E-mail: benjamin.r...@manchester.ac.uk
--


-Original Message-
From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84
Sent: 18 September 2012 15:02
To: Benjamin Ryan
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Best (good) practice for building/deploying DSpace

Ben, would you care to document your practices on a wiki page? We don't have 
such page yet, it could be very useful for some beginners.
Especially the processes and techniques for moving code from
dev-staging-prod; are you using git branches? patches? shared
directories? rsync? How often do you move code from dev to staging?
How and how long are you testing code on staging before you move to prod? Who 
participates in testing? How do you guarantee that the staging environment is 
the same as in prod? just regular OS updates?
VM cloning? how often? What automation tools do you use?

Regards,
~~helix84
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech