[Dspace-tech] OAI giving incorrect server name for bitstreams

2015-01-08 Thread Fred Edwards
Hey folks,

Server config:
Dspace v4.2
Postgresql
Sun Java

Does anyone know where the server name is located in config files or db that is 
used to construct URLs for bitstreams for OAI requests

I originally built dspace using a temporary server name and that name seems to 
have gotten stuck (?)

I've tried searching, especially in OAI related config files, but have had no 
luck...

I've also did a dump of the database to an SQL file and searched it but 
likewise found no indications of the old server name

The offending block looks like this in an xoai record dump:

element name=bundle
field name=nameORIGINAL/field
element name=bitstreams
element name=bitstream
field name=name$.pdf/field
field name=originalName$.pdf/field
field name=formatapplication/pdf/field
field name=size1928382/field
field 
name=urlhttp://.server.com/xmlui/bitstream/01/25536/1/$.pdf/field


.server.com should actually be .server.com

This doesn't seem to show up anywhere else and certainly hasn't caused any 
issue with the web pages and links to a records bitstream there.

In any case, if anyone can help it'd be much appreciated!

thanks




[cid:image001.jpg@01D02A98.76512790]









attachment: Fred Edwards.vcf--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] OAI giving incorrect server name for bitstreams

2015-01-08 Thread Fred Edwards
Rebuilding the index seems to have done the trick!

Thanks Claudia!

And others that replied!

Greatly appreciated!



Fred Edwards
Library Systems Technician

Saint Mary's University | 923 Robie Street | Halifax NS B3H 3C3
Tel: 902-420-5096 | Fax: 902-491-8698 | Email: fred.edwa...@smu.ca | 
http://www.smu.ca/library/









-Original Message-
From: Claudia Jürgen [mailto:claudia.juer...@ub.tu-dortmund.de] 
Sent: January-08-15 11:02 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] OAI giving incorrect server name for bitstreams

Hi Fred,

in 4.2 the base url for the bitstreams is configured in

[dspace-src]/dspace/config/modules/oai.cfg
bitstream.baseUrl = ${dspace.url}

the dspace.url in
[dspace-src]/dspace/config/dspace.cfg

and dspace.baseUrl in
[dspace-src]/build.properties

Note that there is a cache for OAI responses which can be cleared via the 
command line launcher [dspace]/bin/dspace oai clean-cache. The cache can be 
disabled via the oai configuration.

In order to do a complete fresh indexing of the solr index run 
[dspace]/bin/dspace oai import -co

It is useful to do a complete fresh indexing from time to time otherwise 
changes in the metadata will not be picked up. If your metadata does not change 
there is no need for it



Hope this helps

Claudia Jürgen




Am 08.01.2015 um 15:15 schrieb Fred Edwards:
 Hey folks,

 Server config:
 Dspace v4.2
 Postgresql
 Sun Java

 Does anyone know where the server name is located in config files or 
 db that is used to construct URLs for bitstreams for OAI requests

 I originally built dspace using a temporary server name and that name 
 seems to have gotten stuck (?)

 I've tried searching, especially in OAI related config files, but have had no 
 luck...

 I've also did a dump of the database to an SQL file and searched it 
 but likewise found no indications of the old server name

 The offending block looks like this in an xoai record dump:

  element name=bundle
  field name=nameORIGINAL/field
  element name=bitstreams
  element name=bitstream
  field name=name$.pdf/field
  field name=originalName$.pdf/field
  field name=formatapplication/pdf/field
  field name=size1928382/field
  field 
 name=urlhttp://.server.com/xmlui/bitstream/01/25536/1/$
 .pdf/field


 .server.com should actually be .server.com

 This doesn't seem to show up anywhere else and certainly hasn't caused any 
 issue with the web pages and links to a records bitstream there.

 In any case, if anyone can help it'd be much appreciated!

 thanks




 [cid:image001.jpg@01D02A98.76512790]


 









 --
  Dive into the World of Parallel Programming! The Go Parallel 
 Website, sponsored by Intel and developed in partnership with Slashdot 
 Media, is your hub for all things parallel software development, from 
 weekly thought leadership blogs to news, videos, case studies, 
 tutorials and more. Take a look and join the conversation now. 
 http://goparallel.sourceforge.net



 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: 
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


--
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia.juer...@ub.tu-dortmund.de
www.ub.tu-dortmund.de


Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist 
ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese 
E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und 
vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail sind unsere Erklärungen ausschließlich 
final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit 
eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks 
per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. 
It is solely intended for the recipient. If you are not the intended recipient 
of this e-mail please contact the sender and delete this message. Thank you.
Without prejudice of e-mail correspondence our statements are only legally 
binding when they are made in the conventional written form (with personal 
signature) or when such documents are sent by fax.

--
Dive into the World of Parallel Programming! The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news

Re: [Dspace-tech] restrict OAI to specific collections...

2011-11-23 Thread Fred Edwards
Thanks for the response... 

Instead of getting into the code... which is way too time intensive since I'd 
have to learn tomcat, java (relearn I guess), etc (I'm a C++ programmer if 
anything)...

I hunted around a bit more, after seeing Proai mentioned in one of the links 
you sent, and found jOAI...

It seems a bit silly to be using a harvester/provider on something that is 
itself a harvester/provider, but what are ya gonna do...  ;-)

It seems to work exactly as we want it so now it's off to testing...

Again, thanks for the response



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax: (902) 420-5561
E-mail: fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--

 -Original Message-
 From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of
 helix84
 Sent: November-22-11 2:02 PM
 To: Fred Edwards
 Cc: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] restrict OAI to specific collections...
 
 This might also be relevant:
 
 https://wiki.duraspace.org/display/DSPACE/OAI+Sets+Generalisation
 
 https://wiki.duraspace.org/display/DSPACE/DSpaceOAISets
 
 -
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] restrict OAI to specific collections...

2011-11-22 Thread Fred Edwards

Is there any way to set dspace to only provide specified collections when an 
OAI request is made?

We want to provide OAI access, but some collections are not as important as 
others and we feel are best left as accessible only via dspace.




Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax: (902) 420-5561
E-mail: fred.edwa...@smu.camailto:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--

--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
Sorry, I should have said that I was using XMLUI.

I've deleted the cache from the cache-dir but it wasn't successful

I shut down apache and tomcat

removed the cache

I removed items from browse.index settings in dspace.cfg and did an
index-init

and then I restarted tomcat and apache

I am still also no longer able to sort the order of items in the nav panel
by changing the browse index order in the config...




Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Wed, Jan 19, 2011 at 7:12 PM, Pottinger, Hardy J. 
pottinge...@umsystem.edu wrote:

 FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:

 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir

 I have this alias set in my .bashrc file:

 alias dspace.clearcache='sudo rm
 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'

 I only empty these after I first shut down tomcat, figuring I'd rather not
 cause Cocoon undue stress. Though it's been a while since I've had to empty
 the cache.

 --Hardy

  -Original Message-
  From: Graham Triggs [mailto:grahamtri...@gmail.com]
  Sent: Wednesday, January 19, 2011 4:28 PM
  To: Fred Edwards
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] browse index config changes not reflecting in
  nav panel (1.6.2)
 
  Which UI are you using - JSP or XML?
 
  If it's XMLUI, then it sounds like it might be caching elements of the
  Cocoon pipeline, in which case you should stop the application and
  remove the cache from within the web application directory, and/or
  disable Cocoon caching.
 
 
  On 19 January 2011 15:03, Fred Edwards fred.edwa...@smu.ca wrote:
 
 
 
as a test, I've recently added a browse index to our dspace and
  initially it correctly added the items to the nav. panel...
 
however, after removing the browse index in the config file the nav
  panel is now doing weird things.
 
at the top level it is retaining menu items for browse that is no
  longer there and clicking leads to an error page obviously...
 
go down a level or two into communities and collections you start
  finding the nav panel in some areas do not show these links, others
  do...
 
I've recompiled countless times... re-indexed countless times...
  re-initialized the index countless times...
 
the last go I re-added the browse indexes and still the same
  situation... in some places on... in others off...
 
we have a quasi live collection or two in the server, and no test
  server currently, so we'd rather not have to completely rebuild...
 
I'm also loath to:  ant fresh_install   without getting some
  feedback from the community on how safe this would be...
 
 
 
 
 
 
Fred Edwards
 
Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3
 
Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/
 
--
 
 
---
  ---
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them.
  Understand
malware threats, the impact they can have on your business, and how
  you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
when I rebuild this is my procedure

stop apache
stop tomcat
mvn package
ant -Dconfig=[dspace-source]/dspace/config/dspace.cfg update
ant update_configs
ant init_configs
[dspace]/bin/dspace index-init
start apache
start tomcat


I'm using a XMLUI theme, pretty much modified for look only...

not sure if it'll help, or appreciated onlist, but I've attached two
screenshots showing how the nav panel differs in different locations of the
UI...



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


2011/1/20 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de

 Hello Fred,

 just to make sure what and where you did it. As you wrote you have
 recompiled I assume you did:

 Edit dspace.cfg in
 [dspace-source]/dspace/config

 run mvn package
 run ant init_configs
 run [dspace]/bin/dspace index-init

 Btw which theme are you using?


 Claudia Jürgen



 Am 20.01.2011 14:34, schrieb Fred Edwards:
  Sorry, I should have said that I was using XMLUI.
 
  I've deleted the cache from the cache-dir but it wasn't successful
 
  I shut down apache and tomcat
 
  removed the cache
 
  I removed items from browse.index settings in dspace.cfg and did an
  index-init
 
  and then I restarted tomcat and apache
 
  I am still also no longer able to sort the order of items in the nav
 panel
  by changing the browse index order in the config...
 
 
 
 
  Fred Edwards
 
  Systems Technician
  Patrick Power Library
  Saint Mary's University
  Halifax, Nova ScotiaB3H 3C3
 
  Phone: (902) 420-5096
  Fax:   (902) 420-5561
  E-mail:fred.edwa...@smu.ca
  Website:   http://www.smu.ca/library/
 
  --
 
 
  On Wed, Jan 19, 2011 at 7:12 PM, Pottinger, Hardy J.
  pottinge...@umsystem.edu  wrote:
 
  FYI, the path to the XMLUI cache directory, on my RHEL5 box, is:
 
  /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir
 
  I have this alias set in my .bashrc file:
 
  alias dspace.clearcache='sudo rm
 
 /var/cache/tomcat5/work/Catalina/localhost/xmlui/cache-dir/cocoon-ehcache.*'
 
  I only empty these after I first shut down tomcat, figuring I'd rather
 not
  cause Cocoon undue stress. Though it's been a while since I've had to
 empty
  the cache.
 
  --Hardy
 
  -Original Message-
  From: Graham Triggs [mailto:grahamtri...@gmail.com]
  Sent: Wednesday, January 19, 2011 4:28 PM
  To: Fred Edwards
  Cc: dspace-tech@lists.sourceforge.net
  Subject: Re: [Dspace-tech] browse index config changes not reflecting
 in
  nav panel (1.6.2)
 
  Which UI are you using - JSP or XML?
 
  If it's XMLUI, then it sounds like it might be caching elements of the
  Cocoon pipeline, in which case you should stop the application and
  remove the cache from within the web application directory, and/or
  disable Cocoon caching.
 
 
  On 19 January 2011 15:03, Fred Edwardsfred.edwa...@smu.ca  wrote:
 
 
 
 as a test, I've recently added a browse index to our dspace and
  initially it correctly added the items to the nav. panel...
 
 however, after removing the browse index in the config file the
 nav
  panel is now doing weird things.
 
 at the top level it is retaining menu items for browse that is
 no
  longer there and clicking leads to an error page obviously...
 
 go down a level or two into communities and collections you
 start
  finding the nav panel in some areas do not show these links, others
  do...
 
 I've recompiled countless times... re-indexed countless times...
  re-initialized the index countless times...
 
 the last go I re-added the browse indexes and still the same
  situation... in some places on... in others off...
 
 we have a quasi live collection or two in the server, and no
 test
  server currently, so we'd rather not have to completely rebuild...
 
 I'm also loath to:  ant fresh_install   without getting some
  feedback from the community on how safe this would be...
 
 
 
 
 
 
 Fred Edwards
 
 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3
 
 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/
 
 --
 
 
 
  ---
  ---
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them.
  Understand
 malware threats, the impact they can have on your business, and
 how
  you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net

Re: [Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-20 Thread Fred Edwards
Got it folks...

it appears it WAS a cache issue...

however it doesn't seem to have been the XMLUI cache.. at least not only...

out of whimsy, actually mostly frustration, I deleted the cache in:

/var/cache/tomcat6/Catalina/localhost/_/cache-dir

reinitialized the index and then it worked...

so it's resolved...


one final question regarding this, however...

is this something that should be cron'ed as part of regular maintenance?

say, once a month/week/day shut down the services, delete the cache files
and restart?


in the meantime, thank you all for the responses!!



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


2011/1/20 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de

 Hello Fred,


  I'm using a XMLUI theme, pretty much modified for look only...
 just to make sure it's not homemade i.e. your theme, just switch to the
 reference theme and check the browse behavior there.


 Hope that helps

 Claudia Jürgen


 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] browse index config changes not reflecting in nav panel (1.6.2)

2011-01-19 Thread Fred Edwards
as a test, I've recently added a browse index to our dspace and initially it
correctly added the items to the nav. panel...

however, after removing the browse index in the config file the nav panel is
now doing weird things.

at the top level it is retaining menu items for browse that is no longer
there and clicking leads to an error page obviously...

go down a level or two into communities and collections you start finding
the nav panel in some areas do not show these links, others do...

I've recompiled countless times... re-indexed countless times...
re-initialized the index countless times...

the last go I re-added the browse indexes and still the same situation... in
some places on... in others off...

we have a quasi live collection or two in the server, and no test server
currently, so we'd rather not have to completely rebuild...

I'm also loath to:  ant fresh_install   without getting some feedback from
the community on how safe this would be...






Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--
--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] is the index exportable?

2010-12-01 Thread Fred Edwards
is there a way of having dspace (solr/lucene) export the index that has been
generated?





Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--
--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] is the index exportable?

2010-12-01 Thread Fred Edwards
that did the trick...

Luke allows for an xml dump of the index

and a display of indexed keywords.

great!

thanks Tim





Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Wed, Dec 1, 2010 at 11:05 AM, Tim Donohue tdono...@duraspace.org wrote:

 Fred,

 There's not an easy way to export a Solr/Lucene index.  However, there
 is a tool called Luke, which allows you to browse/view the contents of
 any Solr/Lucene index:

 http://code.google.com/p/luke/

 We also have a page on our wiki which talks a bit more about how you can
 use Luke to view the Lucene indexes that DSpace generates:

 https://wiki.duraspace.org/display/DSPACE/Debug+lucene+query

 By the way, DSpace's lucene index is generated at [dspace]/search/ , so
 that's the directory you'd point Luke at if you want to see the contents
 of that index.  The Solr index (which can also be read by Luke) is under
 [dspace]/solr/statistics/data/index (for Solr Statistics) and under
 [dspace]/solr/search/data/index (for the new, 1.7.0, Solr-based DSpace
 Discovery faceted browse/search).

 Also, feel free to update that wiki page, if you discover something is
 out of date, or missing. Or let us know if something isn't clear.

 I hope that helps!

 - Tim

 On 12/1/2010 7:27 AM, Fred Edwards wrote:
 
  is there a way of having dspace (solr/lucene) export the index that has
  been generated?
 
 
 
 
 
  Fred Edwards
 
  Systems Technician
  Patrick Power Library
  Saint Mary's University
  Halifax, Nova ScotiaB3H 3C3
 
  Phone: (902) 420-5096
  Fax:   (902) 420-5561
  E-mail: fred.edwa...@smu.ca mailto:fred.edwa...@smu.ca
  Website: http://www.smu.ca/library/
 
  --
 
 
 
 
 --
  Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
  Tap into the largest installed PC base  get more eyes on your game by
  optimizing for Intel(R) Graphics Technology. Get started today with the
  Intel(R) Software Partner Program. Five $500 cash prizes are up for
 grabs.
  http://p.sf.net/sfu/intelisp-dev2dev
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech


 --
 Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
 Tap into the largest installed PC base  get more eyes on your game by
 optimizing for Intel(R) Graphics Technology. Get started today with the
 Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
 http://p.sf.net/sfu/intelisp-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

--
Increase Visibility of Your 3D Game App  Earn a Chance To Win $500!
Tap into the largest installed PC base  get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] upload a new bitstream java.io.IOException: No such file or directory

2010-09-01 Thread Fred Edwards
the system can be going along fine, but then when adding a new bitstream to
an existing record a java/cocoon stacktrace error page appears claiming no
such file or directory

the weird thing is, if I refresh/reload that error page in the browser the
upload process seems to proceed to a successful completion and the bitstream
has been uploaded...

if I restart tomcat and apache this behaviour will stop for a few hours, but
then will start again...

here's a partial of the error/stacktrace

Cocoon stacktrace [hide]
*Sitemap: error calling continuation*
context:/resource://aspects/Administrative/sitemap.xmap
- 201:38 *map:call*  context:/resource://aspects/Administrative/sitemap.xmap
- 200:67 *map:match type=request*
context:/resource://aspects/Administrative/sitemap.xmap
- 199:38 *map:match*  context:/resource://aspects/Administrative/sitemap.xmap
- 148:45 *map:select type=AuthenticatedSelector*
context:/jndi:/localhost/aspects/aspects.xmap
- 119:72 *map:mount*  context:/jndi:/localhost/aspects/aspects.xmap -
109:34 *map:select type=parameter*
context:/jndi:/localhost/aspects/aspects.xmap
- 108:36 *map:match type=AspectMatcher*
 .

Java Stacktrace

java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at edu.sdsc.grid.io.local.LocalFile.createNewFile(LocalFile.java:486)
at 
org.dspace.storage.bitstore.BitstreamStorageManager.store(BitstreamStorageManager.java:332)
at org.dspace.content.Bitstream.create(Bitstream.java:232)
at org.dspace.content.Bundle.createBitstream(Bundle.java:389)
at 
org.dspace.app.xmlui.aspect.administrative.FlowItemUtils.processAddBitstream(FlowItemUtils.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
at 
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at 
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3237)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2394)
at 
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
.



Java Full Stacktrace
org.apache.cocoon.ProcessingException: Sitemap: error calling continuation
at map:call - resource://aspects/Administrative/sitemap.xmap:201:38
at map:match type=request -
resource://aspects/Administrative/sitemap.xmap:200:67
at map:match - resource://aspects/Administrative/sitemap.xmap:199:38
at map:select type=AuthenticatedSelector -
resource://aspects/Administrative/sitemap.xmap:148:45
at map:mount - jndi:/localhost/aspects/aspects.xmap:119:72
at map:select type=parameter - 
jndi:/localhost/aspects/aspects.xmap:109:34
at map:match type=AspectMatcher -
jndi:/localhost/aspects/aspects.xmap:108:36
at map:mount - jndi:/localhost/sitemap.xmap:430:108
at map:match - jndi:/localhost/sitemap.xmap:429:53
at map:serialize type=xml - 
resource://aspects/EPerson/sitemap.xmap:332:31
at map:transform type=Navigation -
resource://aspects/EPerson/sitemap.xmap:137:38
at map:generate - resource://aspects/EPerson/sitemap.xmap:126:19
at map:serialize type=xml -
resource://aspects/Submission/sitemap.xmap:312:38
at map:transform type=Navigation -
resource://aspects/Submission/sitemap.xmap:144:45
at map:generate - resource://aspects/Submission/sitemap.xmap:141:26
at map:serialize type=xml -
resource://aspects/Statistics/sitemap.xmap:70:31
at map:generate - resource://aspects/Statistics/sitemap.xmap:33:19
at map:serialize type=xml - 
jndi:/localhost/aspects/aspects.xmap:115:34
at map:transform type=PageNotFound -
jndi:/localhost/aspects/aspects.xmap:114:43




any ideas would be appreciated...

;-)




Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Wed, Sep 1, 2010 at 2:38 PM, Mark H. Wood mw...@iupui.edu wrote:

 On Wed, Sep 01, 2010 at 01:36:00PM +0200, Claudia Jürgen wrote:
  this is an unused column like last_active. Maybe it was intended to hold
  the information about submission frequency, but this is mere speculation.

 My guess would be the frequency with which subscriptions are checked.
 Tell me when something new comes in, but not more than every other
 week.

 --
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Balance your desire for bells and whistles

Re: [Dspace-tech] PDF viever

2010-05-13 Thread Fred Edwards
actually... I really jumped the gun when I thought I had it working...

turns out that the images that did finally come through in the viewer were
simply cached images...

I had been playing with direct links to see what the problem was so I was in
fact just looking at cached images from page 1 and 2...

so, I'm right back where I started...

I can view the PDF in a full size viewer... I can also look at individual
images that make up the viewer pages...

BUT... when in the iFrame on the item page it just won't work...

:-(


Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Thu, May 13, 2010 at 2:11 PM, Peter Dietz dietz...@osu.edu wrote:

 I'm glad you worked that out. I had never ran into window size problems.
 But I was thinking of having buttons to let the user expand/shrink the size
 of the viewer window. Some simple jQuery to make the height equal
 height+100, and perhaps even a button to close the viewer.

 mets:fileSec
 mets:fileGrp USE=CONTENT
 mets:file CHECKSUMTYPE=MD5 GROUPID=group_file_156873 ID=file_156873
  MIMETYPE=application/pdf SIZE=2672965 CHECKSUM=
 56f01cd0d6ce9bdfea6eebb1c3f9103c
 mets:FLocat LOCTYPE=URL xlink:title=HIL_ENICH_FMS_1.pdf xmlns:xlink=
 http://www.w3.org/TR/xlink/; xlink:type=locator xmlns:xlink=
 http://www.w3.org/TR/xlink/xlink:href=
 /dspace/bitstream/handle/1811/37140/HIL_ENICH_FMS_1.pdf?sequence=1
  xmlns:xlink=http://www.w3.org/TR/xlink//
 /mets:file
 /mets:fileGrp

 From the DRI above you have a few choices of how you may want to construct
 the link to your bitstream. In the example I posted, I grab the bitstream
 ID xsl:value-of select=substring(@ID,6)/, so I can avoid spaces
 completely. Otherwise if you want to use the filename, you'll have to do a
 url encode.

 a href=#preview
 onclick=embeddedPreview('
 http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true')http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true%27%29
 ;
  Preview /a

 (in my post here, the Google accessible / production box is still jspui and
 this a work living on development, thus the /retrieve/)

 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries



 On Thu, May 13, 2010 at 10:51 AM, Fred Edwards fred.edwa...@smu.cawrote:



 it wasn't a time out issue... it was an issue with teh size of the
 iFrame...

 the original code set the preview iFrame to be height='342px'

 I changed it to be 830px and lo and behold... preview pages...

 so my issues seem to be resolved.

 thanks to those, on and off list, who have been looking into this for me.




 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Thu, May 13, 2010 at 10:06 AM, Fred Edwards fred.edwa...@smu.cawrote:


 now I'm kinda wondering if it is a time-out issue somewhere...




 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Thu, May 13, 2010 at 9:50 AM, Jason Fowler jfow...@sbts.edu wrote:

  If it doesn’t like the spaces, you could just change the filenames and
 reupload the bitstreams. I try to never use spaces in filenames because 
 *nix
 based systems hate them.



 If you have high res images in the PDF, Google struggles with it. Still,
 you can put some image only stuff in there. For example, here’s a pdf of a
 MSS we have in our repository.




 http://docs.google.com/viewer?url=http%3A%2F%2Fdigital.library.sbts.edu%2Fbitstream%2Fhandle%2F10392%2F226%2FFreedomInPreaching.pdf%3Fsequence%3D1







 *From:* Fred Edwards [mailto:fred.edwa...@smu.ca]
 *Sent:* Thursday, May 13, 2010 8:27 AM

 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] PDF viever




 it seems its a little more insidious than that...

 what I was experiencing first seems to indicate that the viewer isn't
 happy with PDFs that have spaces in the file name...

 now, secondly, a working URL and PDF (one with no spaces in the file
 name) will properly display when directly browsed to...  ie. grab the URL
 from the page source that the viewer is supposed to use... copy and paste 
 to
 the address bar... and google will display the PDF no problem...

 however, within the embedded iframe that same PDF will only be
 somewhat loaded... the pages all display an icon for a broken image and
 not the PDF pages...

 erk


 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax

Re: [Dspace-tech] PDF viever

2010-05-13 Thread Fred Edwards
really is solved this time...

the problem is browser security

google needs/wants to push a cookie onto the user...

my security settings blocks third party cookies

once google.com is made an exception the issue is resolved...

for my PC...

I can't say that I personally find this solution palatable, but the problem
is solved and policy is another story.


Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Thu, May 13, 2010 at 2:38 PM, Fred Edwards fred.edwa...@smu.ca wrote:


 actually... I really jumped the gun when I thought I had it working...

 turns out that the images that did finally come through in the viewer were
 simply cached images...

 I had been playing with direct links to see what the problem was so I was
 in fact just looking at cached images from page 1 and 2...

 so, I'm right back where I started...

 I can view the PDF in a full size viewer... I can also look at individual
 images that make up the viewer pages...

 BUT... when in the iFrame on the item page it just won't work...

 :-(



 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Thu, May 13, 2010 at 2:11 PM, Peter Dietz dietz...@osu.edu wrote:

 I'm glad you worked that out. I had never ran into window size problems.
 But I was thinking of having buttons to let the user expand/shrink the size
 of the viewer window. Some simple jQuery to make the height equal
 height+100, and perhaps even a button to close the viewer.

 mets:fileSec
 mets:fileGrp USE=CONTENT
 mets:file CHECKSUMTYPE=MD5 GROUPID=group_file_156873 ID=
 file_156873 MIMETYPE=application/pdf SIZE=2672965 CHECKSUM=
 56f01cd0d6ce9bdfea6eebb1c3f9103c
 mets:FLocat LOCTYPE=URL xlink:title=HIL_ENICH_FMS_1.pdf
  xmlns:xlink=http://www.w3.org/TR/xlink/; xlink:type=locator
  xmlns:xlink=http://www.w3.org/TR/xlink/xlink:href=
 /dspace/bitstream/handle/1811/37140/HIL_ENICH_FMS_1.pdf?sequence=1
  xmlns:xlink=http://www.w3.org/TR/xlink//
 /mets:file
 /mets:fileGrp

 From the DRI above you have a few choices of how you may want to construct
 the link to your bitstream. In the example I posted, I grab the bitstream
 ID xsl:value-of select=substring(@ID,6)/, so I can avoid spaces
 completely. Otherwise if you want to use the filename, you'll have to do a
 url encode.

 a href=#preview
 onclick=embeddedPreview('
 http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true')http://docs.google.com/viewer?url=http://kb.osu.edu/dspace/retrieve/156873embedded=true%27%29
 ;
  Preview /a

 (in my post here, the Google accessible / production box is still jspui
 and this a work living on development, thus the /retrieve/)

 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries



 On Thu, May 13, 2010 at 10:51 AM, Fred Edwards fred.edwa...@smu.cawrote:



 it wasn't a time out issue... it was an issue with teh size of the
 iFrame...

 the original code set the preview iFrame to be height='342px'

 I changed it to be 830px and lo and behold... preview pages...

 so my issues seem to be resolved.

 thanks to those, on and off list, who have been looking into this for me.




 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Thu, May 13, 2010 at 10:06 AM, Fred Edwards fred.edwa...@smu.cawrote:


 now I'm kinda wondering if it is a time-out issue somewhere...




 Fred Edwards

 Systems Technician
 Patrick Power Library
 Saint Mary's University
 Halifax, Nova ScotiaB3H 3C3

 Phone: (902) 420-5096
 Fax:   (902) 420-5561
 E-mail:fred.edwa...@smu.ca
 Website:   http://www.smu.ca/library/

 --


 On Thu, May 13, 2010 at 9:50 AM, Jason Fowler jfow...@sbts.edu wrote:

  If it doesn’t like the spaces, you could just change the filenames
 and reupload the bitstreams. I try to never use spaces in filenames 
 because
 *nix based systems hate them.



 If you have high res images in the PDF, Google struggles with it.
 Still, you can put some image only stuff in there. For example, here’s a 
 pdf
 of a MSS we have in our repository.




 http://docs.google.com/viewer?url=http%3A%2F%2Fdigital.library.sbts.edu%2Fbitstream%2Fhandle%2F10392%2F226%2FFreedomInPreaching.pdf%3Fsequence%3D1







 *From:* Fred Edwards [mailto:fred.edwa...@smu.ca]
 *Sent:* Thursday, May 13, 2010 8:27 AM

 *To:* dspace-tech@lists.sourceforge.net
 *Subject:* Re: [Dspace-tech] PDF viever




 it seems its a little more insidious than that...

 what I was experiencing first seems

Re: [Dspace-tech] PDF viever

2010-05-12 Thread Fred Edwards
any idea how to debug this?

everything appears fine, however the viewer doesn't seem to grab the
PDF...

I can browse to the URL generated by the script and see the PDF, so the URL
handed to Google is fine as well...

does the viewer have a problem with using a port besides port 80?



Fred Edwards

Systems Technician
Patrick Power Library
Saint Mary's University
Halifax, Nova ScotiaB3H 3C3

Phone: (902) 420-5096
Fax:   (902) 420-5561
E-mail:fred.edwa...@smu.ca
Website:   http://www.smu.ca/library/

--


On Fri, May 7, 2010 at 8:08 PM, Peter Dietz dietz...@osu.edu wrote:

 I was working on XMLUI today, and implemented the document preview for
 XMLUI. I also added the howto on that to the documentation for Document
 Preview,

 http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewer


 http://fedora-commons.org/confluence/display/DSPACE/Document+Preview+with+Google+Docs+viewerI
 imagine this might be helpful.


 --
 I didn't update the instructions for jspui.


 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries



 On Wed, May 5, 2010 at 4:56 AM, Lewatle Phaladi 
 lewatle.phal...@wits.ac.za wrote:

 Hi Jason

 Thanks for the reply.
 Please explain the process step by step in most easiest way, I tried the
 one I found on the net but with no good results.

 Regards,
 Lewatle

 -Original Message-
 From: Jason Fowler [mailto:jfow...@sbts.edu]
 Sent: 23 April 2010 03:21 PM
 To: dspace-tech@lists.sourceforge.net
 Subject: Re: [Dspace-tech] PDF viever

 That should be pretty easy in XMLUI using something like Google's
 viewer, especially if you have no collections that need to be
 authenticated. You should be able to simply make changes to your
 theme.xsl file to enable it (and perhaps messages.xml). No java coding
 would be necessary using this method.

 You could do something very similar to what I have explained here for
 the inclusion of the video tag for HTML5 pseudo streaming.

 http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-ds
 pace/http://neoarch.wordpress.com/2009/12/15/using-the-html-5-video-tag-in-dspace/

 Instead of embedding the video tag, you would put in code to embed the
 viewer.

 I am in a bit of a hurry now. If you need more information, let me know
 and I can explain this more fully next week.

 Blessings,

 Jason Fowler, CA, MSLS
 Archives and Special Collections Librarian
 The Southern Baptist Theological Seminary
 Vice President, ALABI
 jfow...@sbts.edu
 
 From: Lewatle Phaladi [lewatle.phal...@wits.ac.za]
 Sent: Friday, April 23, 2010 4:52 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] PDF viever

 Hi all

 I want to enable PDF viewer for DSpace  so that a user who doesn't have
 PDF application installed can just view the document on the web browser
 without the need to install PDF viewer.
 I am using XMLUI  as a default and I need to show those changes on
 XMLUI.
 I also discovered that setting up most functionalities for JSPUI  is
 quite straight forward than for XMLUI.
 The thumbnail preview is well setup on JSPUI than on XMLUI where I can
 see changes happened on the web interface.

 Regards,
 Lewatle

 This communication is intended for the addressee only. It is
 confidential. If you have received this communication in error, please
 notify us immediately and destroy the original message. You may not copy
 or disseminate this communication without the permission of the
 University. Only authorized signatories are competent to enter into
 agreements on behalf of the University and recipients are thus advised
 that the content of this message may not be legally binding on the
 University and may contain the personal views and opinions of the
 author, which are not necessarily the views and opinions of The
 University of the Witwatersrand, Johannesburg. All agreements between
 the University and outsiders are subject to South African Law unless the
 University agrees in writing to the contrary.



 
 --
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 htmlpfont face = verdana size = 0.8 color = navyThis
 communication is intended for the addressee only. It is confidential. If you
 have received this communication in error, please notify us immediately and
 destroy the original message. You may not copy or disseminate this
 communication without the permission of the University. Only authorized
 signatories are competent to enter into agreements on behalf of the
 University and recipients are thus advised that the content of this message
 may not be legally binding on the University and may contain the personal
 views and opinions of the author, which are not necessarily the views and
 opinions of The University of the Witwatersrand