Re: [Dspace-tech] Best OS for DSpace

2014-04-03 Thread Vlastimil Krejcir
   Hello,

   the best one is the one you want. Your favorite OS is good choice 
because you probably know it very well so you can quickly solve any 
troubles. Among various OSes we have/had DSpace on several 
distros (Debian, Mint, Gentoo, Fedora and even Windows 7) without 
significant troubles - so the choice is yours.

   I can recommend Debian for production environment, because every
version has a quite long support (and version upgrades are not so often).

   Vlastik

On Wed, 2 Apr 2014, Matthew Sherman wrote:

 Hello DSpace folks,

 I have a question that I was hoping the community can weigh in on.  We
 are looking to upgrade our DSpace instance over the summer from 1.8 to
 4 and in so doing we want to make sure we are using the best core
 setup we can have.  As such we are trying to figure which is the best
 OS we could use for the server.  Our IT guy is looking at Ubuntu or
 CentOS, so we are wondering if one of these is better than the other?
 Or is there another OS that is better to use?  Any input is welcome,
 particularly with reasons as to why the OS is good to use.  Thanks to
 everyone for your time and insights.

 Matt Sherman

 --
 ___
 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


--
___
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


[Dspace-tech] DSpace scalability (tens of hundreds TBs)

2013-04-08 Thread Vlastimil Krejcir
Hello all,

I have already posted this to dspace-general, however, without a 
great effect. I hope it will be better here :-).

I have been recently asked the question on DSpace scalability - assume the 
project:

16 millions of items (bistreams size about 230 TB) increasing by 3
millions items (86 TB) per year

Is DSpace able to handle this? My answer was I don't know. Is anyone
working with such big loads of data? What is your opinion?

Regards,

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org



--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
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] Using DRI during processing mets.xml

2013-02-13 Thread Vlastimil Krejcir
   So, I played with it a bit today, however, using Xinclude (so during 
XSL traformation use xi:include ... together with xpointer and setting 
up map:transform type=xinclude/ into sitemap.xmap) leads to the same 
behaviour as before (= weird timeouting).

   We solved our task using a different way (populating mets.xml with what 
we need), so this bug has low priority now, but I'd like to know why it 
behaves this way...

   Vlastik

On Tue, 12 Feb 2013, helix84 wrote:

 Vlastik, if you want to study the details (I didn't get that far) of using
 Xinclude instead of document(), I suggest you to start here:
 
 http://cocoon.apache.org/2.0/faq/faq-xslt.html#faq-6
 If you figure out something useful, I'd love to know!
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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


[Dspace-tech] Using DRI during processing mets.xml

2013-02-12 Thread Vlastimil Krejcir
   Hi all,

   I have a trouble with using xpath document($pathtodri). Assume we have 
e template which process a mets.xml. Inside such template I want to use 
some data from a DRI document. Using cocoon://path_to_DRI_doc causes 
weird behaviour - timeouting without an end (processor, network as well as 
disk do almost nothing). Anyone alse has the same or similar experience?
Am I doing something wrong? What is the correct way to get the DRI docs 
inside the template?

   The example code:

xsl:template name=foo
xsl:apply-templates select=document($externalMetadataURL)
mode=list /
/xsl:template

xsl:template
match=mets:METS[mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']]
mode=list

xsl:variable name=dridocpath
xsl:textcocoon://xmlui/DRI/handle/ourprefix/id/xsl:text
xsl:variable

xsl:value-of

select=document($dridocpath)/dri:document/dri:meta/dri:pageMeta/dri:metadata[3]
/

/xsl:template


Thanks for any help.

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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] Using DRI during processing mets.xml

2013-02-12 Thread Vlastimil Krejcir
   Your example is useful only in certain context (there is a trouble with 
variable visibility). The second solution is pass the neccessary DRI data 
as a paramater. However, it is not so elegant as use the DRI 
directly (I mean the code is more complicated passing it as a parameter).

  Vlastik

On Tue, 12 Feb 2013, helix84 wrote:

 Hi Vlastik,
 
 unfortunately, I don't know the correct way. I'd like to know that, too, so
 hopefully someone here can point it out.
 
 Meanwhile, I wanted to share with you the workaround I use - while
 processing DIM, save the value, element or tree fragment you need to a
 variable. Then access the variable it while processing another document.
 
 E.g. (untested example):
 
 xsl:variable name=my-uri select=/dri:document/dri:meta/dri:pageMeta/dri:
 metadata[3]/
 
 xsl:template match=mets:METS[mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']]
  mode=list
 xsl:value-of select=$my-uri /
 /xsl:template
 
 just to illustrate the tree fragment case, same as above (I'm not sure about
 the namespaces off the top of my head):
 
 
 xsl:variable name=my-uri select=/dri:document/dri:meta/dri:pageMeta/
 
 xsl:template match=mets:METS[mets:dmdSec/mets:mdWrap[@OTHERMDTYPE='DIM']]
  mode=list
 xsl:value-of select=$my-uri/dri:metadata[3] /
 /xsl:template
 
 
 Regards,
 ~~helix84
 
 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 
 


--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
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] the dri cache, how long to wait before it clears.

2012-11-09 Thread Vlastimil Krejcir
   Caching is sometimes a nightmare. In this case it could be a combination 
of several caches: your browser cache, Cocoon cache and the most 
mysterious Tomcat cache. Try to clear at least Tomcat cache. It could help 
a lot.

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Fri, 9 Nov 2012, helix84 wrote:

 Hi Jose,

 what you probably mean is the Cocoon cache, which is applied only
 after the DRI generation stage:

 https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache

 Your users _should_ see any metadata updates immediately. You should
 need to clear the Cocoon cache only if you change your XSLT files. Let
 us know if it seems to you something is rotten in the state of
 Denmark.


 Regards,
 ~~helix84

 Compulsory reading: DSpace Mailing List Etiquette
 https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_nov
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] mod_proxy_ajp and Tomcat and 5xx errors

2012-11-05 Thread Vlastimil Krejcir
   Hi,

   it's again and again - try to search dspace-tech archives, it has been 
already discussed. And don't be sad, this is probably not your fault and 
you're not alone who observer this behaviour. The solution is to have a 
guard testing periodically if Tomcat is running. In case Tomcat doesn't 
respond you need to restart it.

   Have a nice day

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Sun, 4 Nov 2012, Francis Kayiwa wrote:

 Hey all

 I am wondering if anyone can help shed light on this. We have

 Red Hat Enterprise Linux Server release 6.3
 Apache 2.2.15 (Red Hat package)
 Tomcat (Apache Tomcat Version 6.0.36)
 Apache forwards request via AJP

 We seem to encounter frequent crashes that remain unpredictable to me
 at the moment. As best as I can determine Tomcat is not processing
 these `fast enough` based on the errors in the Apache logs

 We keep seeing these errors

 [Sun Nov 04 03:16:09 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost
 [Sun Nov 04 03:16:16 2012] [error] (111)Connection refused: proxy:
 AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
 [Sun Nov 04 03:16:16 2012] [error] ap_proxy_connect_backend disabling
 worker for (localhost)
 [Sun Nov 04 03:16:16 2012] [error] proxy: AJP: failed to make
 connection to backend: localhost

 Below are what I think are the pertinent parts of the config files
 which I will gladly share on request.

 IfModule prefork.c
 StartServers   8
 MinSpareServers5
 MaxSpareServers   20
 ServerLimit  256
 MaxClients   256
 MaxRequestsPerChild  4000
 /IfModule

 VirtualHost *:80
ServerName tld.domain.name
DocumentRoot /path/to/home
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined

ProxyRequests Off

ProxyPass  /Shibboleth.sso !
ProxyPass / ajp://localhost:8009/ max=256 retry=60
ProxyPassReverse / ajp://localhost:8009/
 /VirtualHost

 Connector port=8009 protocol=AJP/1.3 redirectPort=8443
 UIEncoding=UTF-8 tomcatAuthentication=false enableLookups=false
 connectionTimeout=12 packetSize=22528 maxThreads=256 /

 Is there anything there that looks unreasonable? Any recommendations?
 My (mis?)reading of the dspace documentation is that mod_proxy_ajp has
 the most reliable results. It certainly is that way on all our dev
 machines.

 regards,
 ./fxk

 --
 Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer
 nights... --Homer Simpson

 --
 LogMeIn Central: Instant, anywhere, Remote PC access and management.
 Stay in control, update software, and manage PCs from one command center
 Diagnose problems and improve visibility into emerging IT issues
 Automate, monitor and manage. Do more in less time with Central
 http://p.sf.net/sfu/logmein12331_d2d
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-24 Thread Vlastimil Krejcir
   No, I did not upgrade Maven and I still use version 3.0. And it works 
for a long time... Have you tried to install DSpace 1.6.2? Does it works? 
What version of maven do you use? I am very curious if someone is able to 
install 1.6.2 without any troubles (this piece of information can help me a
lot).

   I have already googled the link you suggested, however, it doesn't 
answer my question why it stops working right now...

   Vlastik

P.S. Another person (Lucka) tried it yestarday with the same result...


On Tue, 23 Oct 2012, helix84 wrote:

 Ahoj Vlastík,

 this is probably a problem with your particular version of Maven. Did
 you happen to run a system upgrade during the last week that might
 have upgraded Maven? It's easy to forget to check the release notes
 for a particular version of DSpace for recommended versions of build
 tools.

 See a similiar problem here:

 http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html

 Regards,
 ~~helix84


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2 - solved

2012-10-24 Thread Vlastimil Krejcir
   Hi all,

   it works now. So, I have to look like an idiot... I tried it again and 
to my surprise it works. I haven't changed anything. I'm looking at the 
working mvn and I don't understand. I'm really sorry for annoying all of 
you. This must be something bigger than me, maybe then all of us, 
something between the network and the heaven... or there are ghost in our 
office or... I wish you a nice day.

   Regards

   Vlastik


On Tue, 23 Oct 2012, helix84 wrote:

 Ahoj Vlastík,

 this is probably a problem with your particular version of Maven. Did
 you happen to run a system upgrade during the last week that might
 have upgraded Maven? It's easy to forget to check the release notes
 for a particular version of DSpace for recommended versions of build
 tools.

 See a similiar problem here:

 http://dspace.2283337.n4.nabble.com/DSpace-1-7-0-amp-Maven-3-0-2-DuplicateProjectException-Missing-pom-xml-properties-td3339149.html

 Regards,
 ~~helix84

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread Vlastimil Krejcir
   Hi all,

   has anyone else encountered troubles with 'mvn package' on older DSpace 
1.6.2? Something has changed because I get

[ERROR] Two or more projects in the reactor have the same identifier, please 
make sure that groupId:artifactId:version is unique for each project: ...

on pom.xml files. Last week mvn package works well...

I can't say I'm maven expert but I guess maven repositories for 1.6.2 has 
changed.

Regards

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] maven in DSpace 1.6.2

2012-10-23 Thread Vlastimil Krejcir
   ... and I have to add thata for 1.8.2 mvn package works...

   Vlastik

On Tue, 23 Oct 2012, Tim Donohue wrote:

 Hi Vlastik,

 The Maven central repositories for 1.6.2 have not changed (in fact, it's 
 actually impossible to modify a Maven release once it is made public). So, 
 that's not the cause here.

 Could you explain where you downloaded that 1.6.2 release from?  Is your copy 
 downloaded from Sourceforge? Is it accessed from GitHub?  Have you modified 
 it in any way, or is it an out-of-the-box release?

 Just trying to narrow down what the issues could be.  There's definitely 
 something odd going on, but it shouldn't have to do with the Maven central 
 repository. It's much more likely that something is wrong or misconfigured in 
 the 1.6.2 release you've downloaded.

 Finally, did Maven provide any more details to that error message?  Did it 
 say which two projects had the same identifier, or what that identifier was?

 - Tim

 On 10/23/2012 2:35 AM, Vlastimil Krejcir wrote:
 Hi all,

 has anyone else encountered troubles with 'mvn package' on older DSpace
 1.6.2? Something has changed because I get
 
 [ERROR] Two or more projects in the reactor have the same identifier, 
 please
 make sure that groupId:artifactId:version is unique for each project: 
 ...
 
 on pom.xml files. Last week mvn package works well...
 
 I can't say I'm maven expert but I guess maven repositories for 1.6.2 has
 changed.
 
 Regards
 
 Vlastik

 
 
 Vlastimil Krejčíř
 Library and Information Centre, Institute of Computer Science
 Masaryk University, Brno, Czech Republic
 Email: krejcir (at) ics (dot) muni (dot) cz
 Phone: +420 549 49 3872
 ICQ: 163963217
 Jabber: kre...@jabber.org
 
 

 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-19 Thread Vlastimil Krejcir
   ps ax | grep tomcat is not very helpful - sometimes the Tomcat process 
is running but Tomcat doesn't respond. So my watch script: I check 
selected URL directly using wget URL and examine the downloaded document 
for certain content (simple regexp matching). If it doesn't match then I 
try to download and check it again. If it doesn't match again then I 
restart Tomcat.

   The script watch is executed via cron every 2 minutes. And if restart 
is needed I'm informed via e-mail. Just for information - this kind of 
restart is raised once or twice a week.

   Vlastik

On Fri, 19 Oct 2012, Sean Carte wrote:

 On 18 October 2012 14:00, Vlastimil Krejcir krej...@ics.muni.cz wrote:
 Tomcat seems to be running (ps ax | grep tomcat), but no response or
 timeouting. No usefull info in logs. The solution is to restart the Tomcat -
 I restart it once a day. And I have a watch script testing if Tomcat is
 running correctly and if not then the watch restart him (this can include
 kill -9 restart because sometimes Tomcat doesn't want to terminate himself
 correctly).

 Thanks for the input Vlastik. In my case, though, Tomcat was no longer
 running. I also restart tomcat daily.

 About your 'watch' script, is that a bash script running ps ax | grep
 tomcat in a loop, and relaunching tomcat if it's not found?

 Sean
 -- 
 Sean Carte
 DUT E-Repository Administrator
 +27 72 898 8775
 +27 31 373 5761
 fax: +27 86 674 1254
 http://ir.dut.ac.za

 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Fwd: Tomcat Crashing Intermittently

2012-10-18 Thread Vlastimil Krejcir
   Hi Sean and others,

   I just want to add a note - Tomcat behaviour is quite strange and is 
discussed from time to time again and again (as long as I'm subscribed 
in this mailing list). You closed it with a conclusion of bad RAM. Well, 
uhh, you'll see :-). But what you described is very similar to the Tomcat 
behaviour I can sometimes observe:

Tomcat seems to be running (ps ax | grep tomcat), but no response or 
timeouting. No usefull info in logs. The solution is to restart the Tomcat 
- I restart it once a day. And I have a watch script testing if Tomcat 
is running correctly and if not then the watch restart him (this can 
include kill -9 restart because sometimes Tomcat doesn't want to terminate 
himself correctly).

Regards

Vlastik



Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Fri, 12 Oct 2012, Sean Carte wrote:

 On 12 October 2012 11:47, helix84 heli...@centrum.sk wrote:

 Indeed, the stackoverflow question I posted mentions checking RAM with 
 memtest86

 If you find it's bad, you don't have to toss it, Linux is able to
 bypass the bad ram (based on location memtest gives you):
 http://blog.nguyenvq.com/2012/03/30/test-ram-with-memtest86-and-ignore-bad-parts-with-badram-in-grub/

 Thanks, that looks like it might be useful.

 PS. Funny thing, I initially typed bad rum instead of bad ram.
 Must be my subconscious playing tricks with me:
 http://www.bbc.co.uk/news/world-europe-19608461

 ... and I thought bad RAM was a problem!

 -- 
 Sean Carte
 DUT E-Repository Administrator
 +27 72 898 8775
 +27 31 373 5761
 fax: +27 86 674 1254
 http://ir.dut.ac.za

 --
 Don't let slow site performance ruin your business. Deploy New Relic APM
 Deploy New Relic app performance management and know exactly
 what is happening inside your Ruby, Python, PHP, Java, and .NET app
 Try New Relic at no cost today and get our sweet Data Nerd shirt too!
 http://p.sf.net/sfu/newrelic-dev2dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] item downloades

2012-09-12 Thread Vlastimil Krejcir
   I can add a little note - if you use Apache HTTP server as a reverse 
proxy in front of Tomcat then you can use logs produced by Apache HTTP 
server. In this case there are plenty tools that can work with these kind 
of logs.

   Regards

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Wed, 12 Sep 2012, helix84 wrote:

 Hi Sisay,

 On Wed, Sep 12, 2012 at 10:36 AM, Webshet, Sisay (ILRI)
 s.webs...@cgiar.org wrote:
 · Is there a possiblity to monitor publication/item downloades

 you can use the new Solr statistics. It makes it rather easy to do
 custom queries like the one you're asking about. I wrote up a short
 intro into DSpace Solr here:

 http://wiki.duraspace.org/display/DSPACE/Solr

 Then there are addons you can use for pretty visualizations of this data:
 * [1] Content and Usage Analysis from @mire (commercial), taps into Solr
 * [2] DSpace Statistics Addon from Minho University (Apache-licensed),
 current versions (including the one for 1.6) make heavy use of SQL,
 future version will most likely use Solr

 · Is it possible  clicking on the thumbnail to open a file like pdf

 Yes, you can configure a filter to create the thumbnails from PDFs.
 You have to configure the parameters in dspace.cfg (see Settings for
 Thumbnail Creation and Custom settings for PDFFilter under [3].
 Then you have to schedule the [dspace]/bin/dspace filter-media
 command to run periodicaly (e.g. a cron job) to create the thumbnails
 on newly added items. [4] describes how you can show the thumbnails in
 item lists.

 [1] http://atmire.com/website/?q=modules/cua
 [2] https://wiki.duraspace.org/display/DSPACE/StatisticsAddOn
 [3] 
 https://wiki.duraspace.org/display/DSDOC17/Configuration#Configuration-Thedspace.cfgfile
 [4] 
 https://wiki.duraspace.org/display/DSDOC17/Mirage+Configuration+and+Customization#MirageConfigurationandCustomization-ConfigurationParameters

 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] [Dspace-devel] About Google Scholar

2012-04-10 Thread Vlastimil Krejcir
   Hi,

   do not hesitate to contact Google. We had some troubles last year (wrong 
links to PDFs in GS), so I asked Google and they quite fast response 
suprised me :-). It showed up the troubles were on our side, however, they 
helped me to find where the troubles are.

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Fri, 6 Apr 2012, revskill wrote:

 Hi everybody. We're currently have about 10.000 items within our repository,
 but google scholar only index about 1/3 of them though all items are
 identical in dublin core format. I don't know how to tell google scholar to
 index and recognize all items of the repository.
 Does anyone face similar problem ?
 
 --
 TRUONG HOANG DUNG
 Librarian Researcher
 Information and Library Centre
 Mobile: 0121.411.5322
 Email: dun...@hpu.edu.vn
 Hai Phong Private University
 


--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Handle server on Windows

2012-01-26 Thread Vlastimil Krejcir
   Hi all,

   is there any possibility to startup Handle server on Windows except for 
a bit complicated way I have found at

https://wiki.duraspace.org/display/DSPACE/Handle+Server+Setup+as+Windows+Service+(using+Tanuki)

   Or is there anyone already running Handle server on Windows? Could you 
paste the java starting command (including full classpath etc.).

   Thank a lot for any help.

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org



--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] XHTML/XML entities (ampersand) encoded twice in XMLUI

2011-11-22 Thread Vlastimil Krejcir
   Hi all,

   I've found interesting bug in XMLUI - searching in the archives has told 
me that some users found it before me (however, without any suitable 
response).

   The trouble is that the ampersand  character is always translated 
into XML amp; in XMLUI in case this ampersand is stored in any HTML 
form (like introductory text for community/collection). This behaviour 
could be quite embarassing - assume we want to have a well-formed XHTML so 
there is for example:

iHewletamp;Packard/i:
a href=http://linkwithparams.org/?param1amp;param2;linkwithparams/a

The result in XMLUI is then:

iHewletamp;amp;Packard/i
a 
href=http://linkwithparams.org/?param1amp;amp;param2;linkwithparams/a

The first line cause only wrong diplayed text while the link on the second 
line is malfunctional (the params are corrupted).


The solution could be to ignore entity and store  character only (and 
most of users do so). However, the best (and right) solution is to encode 
only those ampersands which are not encoded yet...

How do you cope with this bug?

Regards

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
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] Oracle - enterprise vs. standard edition

2011-10-04 Thread Vlastimil Krejcir
   Hi all,

   does DSpace require any special edition of Oracle? To be precise, the 
question is Enterprise edition or Standard edition (or the edition is 
not important at all)?

   Thanks.

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
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. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Tomcat memory leak warning prevents restarting

2011-07-04 Thread Vlastimil Krejcir
   Hi,

   I'm sure that this issue has already been discussed here more than once 
and as I can remember without any final and useful universal solution 
(maybe there's not one). I have been fighting with it for years (and still 
don't know where lies the bug). My solution is to restart Tomcat (via 
cron) once a day and use a special piece of code to do this - I test if 
Tomcat is really stopped correctly and if not I kill the Tomcat 
process (bash script):


/opt/tomcat/bin/shutdown.sh
echo Waiting 45 second for Tomcat shutdown...
# This is necessary, because shutting down process can take some time, 
# 45 second is enough according to my experience 
sleep 45

RUNNING=`ps ax | grep opt\/tomcat | grep 2048`

if [ -z $RUNNING ]
then
 echo Tomcat has been stopped...;
else
 echo Shutdown failure... Trying to do hard kill.
 PID=`echo $RUNNING | cut -d ' ' -f 1`
 kill -9 $PID

# give system some time to kill it
sleep 3

# check it again
 RUNNING=`ps ax | grep opt\/tomcat | grep 2048`
 if [ -z $RUNNING ]
 then
 echo Tomcat has been killed with -9.
 else
 echo Cannot kill Tomcat. Administrator needed!
 exit 1
 fi
fi


This shutdown Tomcat for sure.

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University, Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Tue, 24 May 2011, Jason Stirnaman wrote:


 I found a long, interesting thread from September 2010 at 
 http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg11969.html 
 around this topic and an excellent description of the Tomcat 
 MemoryLeakProtection at http://wiki.apache.org/tomcat/MemoryLeakProtection. I 
 obviously didn't do my homework before posting. It looks like Tomcat 7.0.6 
 *might* solve this problem.
 However, I'm still unclear whether there is anything else I can do now to 
 work around it - to at least stop the leak detection from thwarting my 
 restarts?

 As Tim suggested in that earlier thread I'm including more details from my 
 production server while Tomcat is up and DSpace is running OK.

 Hardware:
  Solaris 10 Zone virtual machine with 1167MHz processor
  Output from top (I'm open to better methods, but I'm limited to the single 
 Zone.)
  40 processes: 39 sleeping, 1 on cpu
  CPU states: 93.5% idle,  3.7% user,  2.8% kernel,  0.0% iowait,  0.0% swap
  Kernel: 18117 ctxsw, 6164 trap, 8377 intr, 45826 syscall, 4 fork, 543 flt, 
 16 pgin, 40 pgout
  Memory: 64G phys mem, 40G free mem, 4104M total swap, 4104M free swap

 RAM:
 CATALINA_OPTS value=-Xms256m -Xmx1028m -XX:MaxPermSize=256m
 I recently increased RAM to 1028 from (I think) 256M and I doubled PermGen. 
 Since then the Java process has consistently been using around 490M and 
 usually less than 1% CPU.
 Postgres uses around 520M.

 DSpace: version 1.7.1 with XMLUI and Discovery

 Issues: Prior to my increasing the allotted Catalina RAM and Permgen, Tomcat 
 would stop responding around every 3 days (? number of requests) due to the 
 database pool filling up (cannot get a connection - pool exhausted). I 
 decided to also restart Tomcat every night to prevent this from happening. 
 That's when I encountered the memory leak warnings preventing my restarts.

 Jason


 Jason Stirnaman
 Biomedical Librarian, Digital Projects
 A.R. Dykes Library, University of Kansas Medical Center
 jstirna...@kumc.edu
 913-588-7319


 On 5/23/2011 at 01:02 PM, in message 4DDAA130.D22 : 5 : 23711, Jason 
 Stirnaman wrote:


 I get the error below when stopping Tomcat. In this particular case, I was 
 trying to use Solaris' SMF to restart the Tomcat service. Instead, it never 
 completed shutting down and it stopped answering requests. I got this error 
 stanza repeated over and over in the log. Any ideas what's going on?
 Thanks,
 Jason


 Details:
 DSpace 1.7.1 w/ Discovery
 Tomcat 6.0.32
 Solaris 10


 May 21, 2011 12:00:07 AM org.apache.coyote.http11.Http11Protocol pause
 INFO: Pausing Coyote HTTP/1.1 on http-80
 May 21, 2011 12:00:08 AM org.apache.catalina.core.StandardService stop
 May 21, 2011 12:00:07 AM org.apache.coyote.http11.Http11Protocol pause
 May 21, 2011 12:00:07 AM org.apache.coyote.http11.Http11Protocol pause
 INFO: Pausing Coyote HTTP/1.1 on http-80
 May 21, 2011 12:00:08 AM org.apache.catalina.core.StandardService stop
 INFO: Stopping service Catalina
 May 21, 2011 12:00:49 AM org.apache.catalina.loader.WebappClassLoader 
 clearReferencesThreads
 SEVERE: The web application [] appears to have started a thread named 
 [MultiThreadedHttpConnectionMa
 nager cleanup] but has failed to stop it. This is very likely to create a 
 memory leak.
 May 21, 

[Dspace-tech] Shibboleth - user groups

2010-10-19 Thread Vlastimil Krejcir
   Hi all,

I have set up Shibboleth authentication in DSpace and assingning groups 
according to the affiliation (authentication.shib.role-header) does not 
work.

I have found that getSpecialGroups() from 
/org/dspace/authenticate/ShibAuthentication.java gets no shibboleth 
headers. I guess that the trouble lies in Apache config. At first I have 
tried mod_proxy, then mod_jk and the result is still the same. To get 
getSpecialGroups() works properly (to sent shib headers) I have to change 
Apache config slightly to use lazy session for the root (where I have my 
DSpace installation):

Location /shibboleth-login
AuthType shibboleth
ShibRequireSession On
Require valid-user
ShibUseHeaders On
/Location

Location /
AuthType shibboleth
ShibRequireSession Off
ShibUseHeaders on
Require shibboleth
/Location


So this is lazy session configuration. Using this, groups assigning works. 
But I can't logout - means trying to reach /mydspace cause I'm logged in 
via Shibboleth without asking what kind of authetication I want. If I was 
logged in before, my last session is used, if I wasn't there is 
something I name empty user. It seems, DSpace tests shibboleth header 
and then assumes somebody is logged in.

Removing lazy session config (for the root /) causes Shibboleth works fine 
except for assigning groups.

Has anyone experienced the same troubles? Can you share your Apache 
config?

I have version 1.6.2, also last SP (2.3.1 I think). I have also set up
webui.session.invalidate = false.

Thanks.

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Shibboleth - user groups

2010-10-19 Thread Vlastimil Krejcir
   Hi,

   thanks for sharing configs. However, it does not work. I have done 
everything almost like you, assingning groups does not work. I have to set 
ShibUseHeaders On to have this feature worked. But then I can not logout - 
yes, it is not a tragedy, the tragedy is that I can not login as I have 
already described.

   Here is my Apache config:

 Location /
 AuthType shibboleth
 ShibRequireSession Off
 Require shibboleth
 /Location

  JkMount /* tomcat

  JkUnMount /Shibboleth.sso/* tomcat
  JkUnMount /shibboleth tomcat
  JkUnMount /shibboleth-sp/* tomcat

  Location /shibboleth-login
AuthType shibboleth
ShibRequireSession On
 ShibUseHeaders On
 require valid-user
  /Location


Can anyone else help? I suppose it could be a small bug, I would like to 
do more testing and debugging, but it takes a lot of time, so if anyone 
can help I would appreciate it.

Thanks.

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Tue, 19 Oct 2010, Pottinger, Hardy J. wrote:

 Hi, we actually like the functionality of the Shibboleth lazy session it 
 makes the site feel friendlier. Our university has not yet implemented any 
 sort of logout cookie for Shibboleth, and don't plan to until it's supported 
 (that's what the sysadmins tell me). However, our setup is a bit different 
 from yours, here are the pertinent snippets from our various configs:

 !-- snip from /etc/tomcat5/server.xml tomcat server config --
 Connector port=8009
  enableLookups=false redirectPort=8080 protocol=AJP/1.3 
 address=127.0.0.1 tomcatAuthentication=false
  connectionTimeout=2 disableUploadTimeout=true URIEncoding=UTF-8/


 !-- snip from /etc/tomcat5/Catalina/localhost/xmlui.xml context fragment --
 Context debug=0
docBase=/dspace/webapps/xmlui reloadable=true unpackWARs=true 
 autoDeploy=true
 /Context


 ### snips from our_production_vhost.conf

 # turn on Shibboleth Lazy Session
 Location /
AuthType shibboleth
ShibRequireSession Off
require shibboleth
 /Location

 # reverse proxy for xmlui
 Location /xmlui
  ProxyPass ajp://127.0.0.1:8009/xmlui
  ProxyPassReverse  ajp://127.0.0.1:8009/xmlui
  SetEnv force-proxy-request-1.0 1
  SetEnv proxy-nokeepalive 1
 /Location

 # start Shibboleth login at this location
 Location /xmlui/shibboleth-login 
  AuthType shibboleth
  ShibRequireSession On
  ShibUseHeaders On
  require valid-user
 /Location

 For your setup, I think if you moved that ShibUseHeaders On down from the 
 lazy session stanza to your shibboleth-login stanza, you'd end up with what 
 you wanted. If memory serves, that's the magic give me my headers, now, 
 please command.

 Hope that helps!

 --Hardy

 -Original Message-
 From: Vlastimil Krejcir [mailto:krej...@ics.muni.cz]
 Sent: Tuesday, October 19, 2010 9:15 AM
 To: DSpace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Shibboleth - user groups


Hi all,

 I have set up Shibboleth authentication in DSpace and assingning groups
 according to the affiliation (authentication.shib.role-header) does
 not
 work.

 I have found that getSpecialGroups() from
 /org/dspace/authenticate/ShibAuthentication.java gets no shibboleth
 headers. I guess that the trouble lies in Apache config. At first I have
 tried mod_proxy, then mod_jk and the result is still the same. To get
 getSpecialGroups() works properly (to sent shib headers) I have to
 change
 Apache config slightly to use lazy session for the root (where I have my
 DSpace installation):

 Location /shibboleth-login
  AuthType shibboleth
  ShibRequireSession On
  Require valid-user
  ShibUseHeaders On
 /Location

 Location /
  AuthType shibboleth
  ShibRequireSession Off
  ShibUseHeaders on
  Require shibboleth
 /Location


 So this is lazy session configuration. Using this, groups assigning
 works.
 But I can't logout - means trying to reach /mydspace cause I'm logged in
 via Shibboleth without asking what kind of authetication I want. If I
 was
 logged in before, my last session is used, if I wasn't there is
 something I name empty user. It seems, DSpace tests shibboleth
 header
 and then assumes somebody is logged in.

 Removing lazy session config (for the root /) causes Shibboleth works
 fine
 except for assigning groups.

 Has anyone experienced the same troubles? Can you share your Apache
 config?

 I have version 1.6.2, also last SP (2.3.1 I think). I have also set up
 webui.session.invalidate = false.

 Thanks.

 Vlastik

 
 
 Vlastimil Krejčíř
 Library

Re: [Dspace-tech] Mathematical formulas/equations in metadata fields of dspace

2010-09-21 Thread Vlastimil Krejcir
   Hi Vishal,

   we have already ecounter this and our mathematicians say, that inserting 
all the formulas etc. is good to be in TeX (or LaTeX) format. We are just 
working on converting these into MathML a on indexing it for fulltext 
searching. See http://dml.cz/.

   Regards


Mgr. Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: kre...@jabber.org


On Wed, 8 Sep 2010, vishal jindal wrote:

 Hi,
  
 I want to insert mathematical formulas/equations, symbols in metadata fields 
 of dspace. Is there any way to do this?
  
 Thanks and Regards,
 Vishal Jindal



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Best Practices for Journal Articles

2008-06-04 Thread Vlastimil Krejcir
   Hi,

   you might be interested in the Czech Digital Mathematics Library 
project. We use DSpace together with Manakin to store and present 
journals. I'm not sure what do you mean by the articles tied together. 
You can look at http://dml.cz/ if this is what you want. If you have any 
question just send me an e-mail.

   cheers

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: [EMAIL PROTECTED]


On Mon, 2 Jun 2008, Thomas A McGee wrote:

 What's the best methodology for archiving individual articles within an
 issue of a periodical? We'd like to have the metadata be more closely tied
 to an individual author's work, as well as let users more easily find the
 section they need. But we'd also like to keep the articles tied together
 as part of a master entry which represents the entire issue.

 _
 Tom McGee
 Seton Hall University TLTC
 973 761 9000 x5021

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Derived prefix for handles not work

2008-05-21 Thread Vlastimil Krejcir
   Hi,

   we have derived prefix for the Handle system. The prefix is 
10338.dmlcz. So the handles are like 10338.dmlcz/123. I have just 
started handle server which gives me handle not found for any handle.

   I went deep into the code and I have found something wrong. The 
problematic is MAYBE the method Util.decodeString() in HandlePlugin. I 
have to stress MAYBE. Because this method returns the handle where all 
letters are capital - input argument for the method is byte[]. The 
method simply calls the constructor String(byte[], ...). So maybe the 
handle server gives bad parameter (I don't wnat to believe that the String
constructor is bad).

Returned handle looks like this:

10338.DMLCZ/123

   Consequently no object is found in database and the resolution does not 
work (because there's no such handle).

   I have simple fix for this:

Util.decodeString().toLowerCase();

   But this is not general solution. If anybody is familiar with Handle.net 
you can investigate it deeper. I'm using handle.jar which is default in 
1.4.2 version of DSpace.

   cheers

   Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Help with Manakin theme debugging

2008-02-15 Thread Vlastimil Krejcir
   To be honest I almost went mad about this lets say feature last week 
:-). What I want to add - IE 6 behaves the same way as Firefox. Maybe this 
happens in almost all web browsers because they don't process XML, they 
must process very dirty HTML. So they do their work very good :-/.

   have a nice weekend

   Vlastik

On Tue, 5 Feb 2008, Walker, David wrote:

 Hey Dorthea,

 The problem appears to be that these 'bad' pages end-up creating a collapsed, 
 empty detail-view layer, like this:

  div class=detail-view /

 For some reason, that is causing Firefox to misbehave.  If I copy your HTML 
 source to a local file and edit this line to this, it works fine:

  div class=detail-view/div

 The 'bad' collections don't seem to have an into or copyright text, hence 
 this layer being empty.

 The original Manakin template in DS-METS-1.0-DOM.xsl includes a non-breaking 
 space (#160;) after the div, which would guarantee at least some data in 
 that layer.  Did you perhaps remove that in your theme?  If so, restoring it 
 might at least confirm my hypothesis.

 Also, your pages don't seem to display in IE.  Is that just me?  Perhaps the 
 conditional [ie] tag is not closed or something?

 --Dave

 ---
 David Walker
 Library Web Services Manager
 California State University
 http://xerxes.calstate.edu

 

 From: [EMAIL PROTECTED] on behalf of Dorothea Salo
 Sent: Tue 2/5/2008 11:04 AM
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] Help with Manakin theme debugging



 Okay, I am admitting defeat. I cannot get one particular Manakin theme
 working on all pages, and I can't figure out why not.

 Broken page in theme:
 http://minds-test.wisconsin.edu/manakin/handle/1960/10498
 Another broken page in theme:
 http://minds-test.wisconsin.edu/manakin/handle/1960/208
 Working page in theme: 
 http://minds-test.wisconsin.edu/manakin/handle/1960/122

 Here's the code that governs the basic structure of the page. What
 appears to be happening is that the so-called goodies boxes end up
 nested incorrectly for no readily apparent reason. I know that the
 variables work as intended; I've got them in place on another theme.

 Whoever solves this is entitled to a night out with me paying for all
 their beverages, at the next conference we both attend. I am
 completely stuck. I'll be happy to forward the entire theme if that
 will help.

xsl:template match=dri:document
html

!-- First of all, build the HTML head element --
xsl:call-template name=buildHead/
!-- Then proceed to the body --
body
div id=wrapper
!--
The header div, complete with title, subtitle,
 trail and other junk. The trail is
built by applying a template over pageMeta's
 trail children. --
xsl:call-template name=buildHeader/
xsl:call-template name=buildOptions /
!--
Goes over the document tag's children
 elements: body, options, meta. The body template
generates the ds-body div that contains all
 the content. The options template generates
the ds-options div that contains the
 navigation and action options available to the
user. The meta element is ignored since its
 contents are not processed directly, but
instead referenced from the different points
 in the document. --
div id=content-wrapper
xsl:if test=$is_comm or $is_coll
xsl:attribute
 name=classwith-goodies-box/xsl:attribute
/xsl:if
div id=content
xsl:apply-templates /
/div
xsl:if test=$is_coll or $is_comm
xsl:call-template name=goodienav/
xsl:call-template name=goodieabout/
xsl:call-template name=goodiedeposit/
/xsl:if
/div

xsl:call-template name=buildFooter/
/div

/body
/html
/xsl:template

 --
 Dorothea Salo[EMAIL PROTECTED]
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


 -
 This SF.net 

[Dspace-tech] DSpace 1.5 documentation

2007-12-11 Thread Vlastimil Krejcir
   Hi all,

   does sombody know if there is a documentation available for DSpace 
1.5 (install, Manakin and so on). It seems a lot has changed since 1.4.x.

I have only found Tim's note about docs for 1.5 
(http://sourceforge.net/mailarchive/message.php?msg_id=472239CF.9030003%40uiuc.edu)
...

   thanks

   Vlastik


-
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Manakin theme not overriding default XSLT

2007-12-03 Thread Vlastimil Krejcir
   Hi Dorothea,

   I am not sure if I can help you - I can only give you some advices. From 
time to time I have similar issues like you. I have found it's my mistake 
at 100% - caused a little bit by Tomcat caching, complicated overriding 
default templates, etc. What can help:

-- At first things like logo image can be cached by Tomcat, try to stop 
Tomcat, remove directory manakin/ in webapps/ and remove everything in 
work/ directory in Tomcat's home dir. For sure, restart your internet 
browser.

-- Next check if you really override selected default templates from 
dri2xslt.xsl by your own templates. dri2xslt.xsl is a bit complicated and 
there's a lot of templates that can match path in DRI document. I have 
usually missed something - that's my experiance.

I hope it will help you.

regards

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: [EMAIL PROTECTED]


On Fri, 30 Nov 2007, Dorothea Salo wrote:

 All of a sudden Manakin seems to be randomly ignoring bits of XSLT
 from my theme. Examples:

 My theme doesn't have the h3 id=ds-search-option-head in the
 dri:options template. Yet it shows up.

 My theme has moved community and collection logos OUT of the
 detail-view div, and yet they show up. (Twice, now, because Manakin is
 obligingly also putting in the logo where I actually want it to go!)

 Has anybody else ever had this happen? What gives? How can I fix it?

 Dorothea

 -- 
 Dorothea Salo[EMAIL PROTECTED]
 Digital Repository Librarian  AIM: mindsatuw
 University of Wisconsin
 Rm 218, Memorial Library
 (608) 262-5493

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] streaming video?

2007-11-27 Thread Vlastimil Krejcir
   Hi,

   Symlink DSpace project is stopped now.

   ad to Shane Beers reply -- it would be nice to have everything in 
central repository. But DSpace doesn't support many features that is 
needed for downloading big video files - all the things behind such as 
load balancing, data flow optimalization etc. (it is usual that the 
servers providing video files are overloaded from time to time, especially 
when students download captured lessons at the end of the term before 
exams :-)). That's why we have used the symbolic linking - all the things 
for optimizing doesn't depend on anything in DSpace.

   However I can't say there's no better way how to solve it. The 
symlinking seemed to be the most elegant way at that time.

   That's all I would like to add :-)

   Vlastik


On Sun, 25 Nov 2007, NS Hashmi,  Information Systems and Computing wrote:

 Hi, do you have a demo in action? I assume 'actual stream' refers to the
 file prior to becoming a bitstream located in the asset store?

 For info :-
 http://wiki.dspace.org/index.php/SymlinkDSpace

 Naveed

 Date: Fri, 23 Nov 2007 10:08:34 -0500
 From: Mark H. Wood [EMAIL PROTECTED]
 Subject: Re: [Dspace-tech] streaming video?
 To: dspace-tech@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 I've tinkered a bit with storing an item consisting of a SMIL document
 that points at the actual stream.  I got it to work but we haven't
 used this in production yet.

 -- 
 Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
 Typically when a software vendor says that a product is intuitive he
 means the exact opposite.


 
 Naveed Hashmi
 Information Systems and Computing
 University of Bristol
 [EMAIL PROTECTED]



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Language pack authors - czech translation

2007-11-27 Thread Vlastimil Krejcir
   Hi all,

   does anybody know who are the authors of the translations of 
Messages_properties. Especially who is the author of czech (cs) 
translation for DSpace version 1.5?

   Or better - this is message for the one who has translated 
Messages_properties into czech: Could you contact me?

   Thanks for help

   Vlastik




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Where to get the DSpace and Manakin logos

2007-10-09 Thread Vlastimil Krejcir
   Hi all,

   I am not sure where to ask - so maybe here :-). Is it possible to 
download the DSpace logo and Manakin logo in a vector (SVG, EPS, WMF, ...) 
format? I would like to use them on my poster... The bitmaps that can be 
found on the web are not enough :-(.

   Thanks

   Vlastik


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Items count for authors

2007-09-13 Thread Vlastimil Krejcir
Hi,

is it possible to get how many items each author has? I would like to 
have items count at every author on the /browse-author page. One of the 
solutions can be to ask DSpace for every author before display the list of 
them but I worry it can be to slow (and it can cause too big load). Any 
experiences?

thank you

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Sorting issues

2007-09-07 Thread Vlastimil Krejcir
   Hi all,

   I have read the summary on sorting issues:

http://sourceforge.net/mailarchive/message.php?msg_id=E1IQ2zI-00077G-SI%40sc8-sf-web23.sourceforge.net

   If I understand sorting good - titles marked en language are 
normalized and others are not. Then both of them are sorted and displayed. 
Am I right?

   If the previous is true then I am confused about sorting in our DSpace 
installation. We have about 4500 items in DSpace - many of them are in 
different languages (english, french, german and czech). So the titles 
marked en language are normalized and the others are not. So

Die Mutter (de) should be sorted near letter D
A Mother (en) should be sorted near letter M

But there are several items sorted bad and I have definitely no clue why 
(and why this items). You can look for example there:

http://dl.ics.muni.cz:8080/manakin/browse-title?top=dml_cz%2F9047

Why the Použití matematické statistiky v hydrologii is here? Because it 
is in czech language? Or:

http://dl.ics.muni.cz:8080/manakin/browse-title?bottom=dml_cz%2F12638

Why the Eine Klasse entarteter gewöhnlicher Differentialgleichungen und 
das Kollokationsverfahren zu ihrer Lösung or the Über einige 
Eigenschaften der Charakteristik der Schraubenenveloppe einer Kegelfläche 
is here?

And the best:

http://dl.ics.muni.cz:8080/manakin/browse-title?top=dml_cz%2F12638

Try Next page and it will jump almost at the end of the whole list! 
Weird.

There's something wrong... Does anyone have the same experiences?

Thank for any help

Vlastik


Vlastimil Krejčíř
Library and Information Centre, Institute of Computer Science
Masaryk University in Brno, Czech Republic
Email: krejcir (at) ics (dot) muni (dot) cz
Phone: +420 549 49 3872
ICQ: 163963217
Jabber: [EMAIL PROTECTED]


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech