Re: [Dspace-tech] Tomcat not publishing webpages
Hi Helix84 and Team Thanks for the helpful ideas, I have reinstalled tomcat 6 and it opens xmlui and well as jspui pages, the problem is that when I click on links like open a community or collection I get Connection Reset error, when I sometimes restart tomcat and reload pages then open community it opens and when I want to open pdf file I get Connection Reset error message. Please advise. Regards, Lewatle -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 11 July 2011 03:45 PM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Tomcat not publishing webpages On Mon, Jul 11, 2011 at 15:20, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: I have installed copy of dspace on the server with all Successful results and when I change my ROOT.xml file to point to the new installation directory ”dspace1.7.2/webapps/xmlui “ the only thing that appear on the browser is tomcat welcome page, this copy of tomcat has been installed long time ago but the version is 6 and I want to know if this is the problem and it needs to be updated, Hi Lewatle, DSpace documentation says it should work with Tomcat 5.5 and newer, so the problem shouldn't be with Tomcat version. That said, your tomcat configuration may be broken so a reinstall might help. But I would check the obvious things first: 1) check that your dspace1.7.2 directory (including all subdirectories and files) is owned by the same user as tomcat runs under 2) check tomcat logs for any errors and warnings Regards, ~~helix84 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, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Tomcat not publishing webpages
On Wed, Jul 13, 2011 at 08:57, Lewatle Phaladi lewatle.phal...@wits.ac.za wrote: Thanks for the helpful ideas, I have reinstalled tomcat 6 and it opens xmlui and well as jspui pages, the problem is that when I click on links like open a community or collection I get Connection Reset error, when I sometimes restart tomcat and reload pages then open community it opens and when I want to open pdf file I get Connection Reset error message. I never encountered this, the only things I can recommend are for you to send the full error you see to this list and look for errors/warnings in the tomcat log file at the time of the error. I did a quick Google search for tomcat connection reset and while it didn't tell me anything definite, I have a feeling that your pool of connection may be too low. Another wild guess - do you have enough memory for tomcat? The log should answer these questions. Regards, ~~helix84 -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Tomcat not publishing webpages
INFO: Port busy 8009 java.net.BindException: Address already in use Jul 12, 2011 3:15:39 PM org.apache.jk.common.ChannelSocket init SEVERE: Can't find free port 8009 8009 This error indicates that tomcat already runs on port 8009 (possibly one of the other instances). Therefore this tomcat can't start listening on that port. You have 2 options: either clear that up with your IT dept (recommended) or make sure each of those tomcats uses different ports. There are several more errors there but they may be just consequences of this, so let's clear that up first. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Tomcat not publishing webpages
I have send the message to IT guys to have a look at the alternative solution. Thanks, Lewatle -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: 13 July 2011 11:01 AM To: Lewatle Phaladi Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Tomcat not publishing webpages INFO: Port busy 8009 java.net.BindException: Address already in use Jul 12, 2011 3:15:39 PM org.apache.jk.common.ChannelSocket init SEVERE: Can't find free port 8009 8009 This error indicates that tomcat already runs on port 8009 (possibly one of the other instances). Therefore this tomcat can't start listening on that port. You have 2 options: either clear that up with your IT dept (recommended) or make sure each of those tomcats uses different ports. There are several more errors there but they may be just consequences of this, so let's clear that up first. 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, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] indexing error: too many open files
Thank you for the advice Stuart. I installed the Sun JDK and got the same error (see below). I have also tried changing the number of files allowed in the shell by adding the following lines to the /etc/security/limits.conf file: * hard nofile 65536 * soft nofile 65536 I have read on other mailing list archives that I should adjust the kernel file limits to 200k, but when I check the current value, it is already much larger! cat /proc/sys/fs/file-max 799000 I'm wondering if I should try doubling the shell limit. Does anyone have any other suggestions? Below is the error output: Updating search index: Exception in thread Thread-2 java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/libmanagement.so: /usr/lib/jvm/java-6-sun-1.6.0.24/jre/lib/amd64/libmanagement.so: cannot open shared object file: Too many open files at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1720) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1028) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at sun.management.ManagementFactory.clinit(ManagementFactory.java:467) at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504) at org.dspace.kernel.DSpaceKernelManager.unregisterMBean(DSpaceKernelManager.java:178) at org.dspace.servicemanager.DSpaceKernelImpl.destroy(DSpaceKernelImpl.java:211) at org.dspace.servicemanager.DSpaceKernelImpl.doDestroy(DSpaceKernelImpl.java:233) at org.dspace.servicemanager.DSpaceKernelImpl$1.run(DSpaceKernelImpl.java:78) Stuart Lewis s.le...@auckland.ac.nz 7/11/2011 6:06 PM Hi Joshua, The error message below suggests that you are running the openjdk. Instead, try installing the official Sun JDK: - https://wiki.duraspace.org/display/DSPACE/Installing+DSpace+1.7+on+Ubuntu#InstallingDSpace1.7onUbuntu-%28OPTIONAL%29ChangetousingSun%2FOracleJavaJDK This will hopefully help. Thanks, Stuart Lewis Digital Development Manager Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: +64 (0)9 373 7599 x81928 On 12/07/2011, at 3:33 AM, Joshua Gomez wrote: I ran across the following error last week while trying to run the media filter (I'm using DSpace 1.7.2, on Ubuntu 10.04.2): Exception in thread Thread-2 java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmanagement.so: cannot open shared object file: Too many open files at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1667) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at sun.management.ManagementFactory.clinit(ManagementFactory.java:485) at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:521) at org.dspace.kernel.DSpaceKernelManager.unregisterMBean(DSpaceKernelManager.java:178) at org.dspace.servicemanager.DSpaceKernelImpl.destroy(DSpaceKernelImpl.java:211) at org.dspace.servicemanager.DSpaceKernelImpl.doDestroy(DSpaceKernelImpl.java:233) at org.dspace.servicemanager.DSpaceKernelImpl$1.run(DSpaceKernelImpl.java:78) It appears this error is not a problem with DSpace so much as the server environment, but I'm wondering if anyone else has come across such an error before? This error occurred after the new items had been filtered and the script was in the process of updating the index. I recently added about a thousand items that had very poor OCR (they were very old documents) and our index word limit is not set, so I am wondering if the index has become too large due to all the new words from the bad OCR. Many of the pdfs we added are pretty large so I'm also wondering if it's just a memory issue. Any thoughts? Joshua Joshua Gomez Digital Library Programmer Analyst Gelman Library George Washington University (202) 994-8267 jngo...@library.gwu.edu -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of
[Dspace-tech] Ident authentication failed for user dspace
createdb: could not connect to database postgres: FATAL: Ident authentication failed for user dspace where im i going wrong? -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Ident authentication failed for user dspace
On Wed, Jul 13, 2011 at 14:12, Paul Mulinge mulinge.p...@gmail.com wrote: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user dspace where im i going wrong? http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg01761.html Regards, ~~helix84 -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Ident authentication failed for user dspace
Hello, check your database settings in the dspace.cfg see section ___ # Database settings # # Database name (oracle, or postgres) db.name = ${default.db.name} #db.name = postgres #db.name = oracle # URL for connecting to database db.url = ${default.db.url} #db.url = jdbc:postgresql://localhost:5432/dspace # JDBC Driver db.driver = ${default.db.driver} #db.driver = org.postgresql.Driver # Database username and password db.username = ${default.db.username} db.password = ${default.db.password} #db.username = dspace #db.password = dspace Make sure you got the right name and password for the databaseuser of your database, e.g. your database is called myDSpaceDatabase and the user is called dspaceTestUser with the password xyz your settings would be db.url = jdbc:postgresql://localhost:5432/myDSpaceDatabase db.username = dspaceTestUser db.password = xyz Hope that helps Claudia Jürgen Am 13.07.2011 14:12, schrieb Paul Mulinge: createdb: could not connect to database postgres: FATAL: Ident authentication failed for user dspace where im i going wrong? -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Claudia Juergen Universitaetsbibliothek Dortmund Eldorado 0231/755-4043 https://eldorado.tu-dortmund.de/ -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] seeking help in tracking down why Tomcat is dying on us
I keep a monitoring gadget like LambdaProbe (or PsiProbe) running on production Tomcat instances so I can watch what is happening to memory. It helps with tuning and sometimes diagnosis. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. pgpDLT1tXinNd.pgp Description: PGP signature -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Any hints for StreamCorruptedException
Hi Jennifer, I've never actually seen that error before either. But, a little bit of Google searching seems to imply that somehow your XMLUI/Cocoon Cache has been corrupted (not sure what the cause could have been though). http://web.archiveorange.com/archive/v/fTi8LIEB3AxnszySzs8E The solution they give is to actually remove your Cocoon Cache altogether and restart the web application. To clear you XMLUI/Cocoon Cache in DSpace, you'd do the following: (1) Stop Tomcat (2) Go into Tomcat's 'work' directory, and look for a folder named xmlui (or whatever the name of your XMLUI webapp folder is, if you renamed it). It likely should be at a path similar to: [tomcat]/work/Catalina/localhost/xmlui/ (This path may be slightly different based on how your Tomcat is configured locally) (3) Inside that xmlui folder, you'll find a cache-dir folder. This folder contains the Cocoon Cache (you'll see files named 'cocoon-ehcache.*' in that folder). Delete that entire folder and all its contents. (4) Now, restart Tomcat. As XMLUI/Cocoon starts back up, it will recreate its cache automatically. I've been looking around on the web to see if there's any easier way to do this (without having to reboot Tomcat), but it doesn't seem like there is. Good luck. Let us know if this resolves the problems or not. - TIm On 7/12/2011 5:27 PM, Jennifer Whalan wrote: Just having a look through the logs today, I've noticed a lot of a particular error popping up. I've never seen it before, and a google search didn't really give me much about it (or at least anything that I could understand). Has anyone seen this error, or have any idea what might be causing it. Thanks Jennifer 2011-07-13 07:53:18,627 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/3/password-login?pipelinehash=6295047711776200716. Error was invalid stream header: java.io.StreamCorruptedException: invalid stream header: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at net.sf.ehcache.store.DiskStore$1.init(DiskStore.java:284) at net.sf.ehcache.store.DiskStore.loadElementFromDiskElement(DiskStore.java:279) at net.sf.ehcache.store.DiskStore.get(DiskStore.java:250) 2011-07-13 07:53:18,867 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/4/?pipelinehash=4201346776282703005_T-SystemwideAlerts-1_T-Navigation-131656041572558754. Error was invalid stream header: java.io.StreamCorruptedException: invalid stream header: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at net.sf.ehcache.store.DiskStore$1.init(DiskStore.java:284) at net.sf.ehcache.store.DiskStore.loadElementFromDiskElement(DiskStore.java:279) at net.sf.ehcache.store.DiskStore.get(DiskStore.java:250) at net.sf.ehcache.Cache.searchInDiskStore(Cache.java:846) 2011-07-13 07:53:18,933 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/3/?pipelinehash=-6508156652230851455. Error was invalid stream header: java.io.StreamCorruptedException: invalid stream header: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at net.sf.ehcache.store.DiskStore$1.init(DiskStore.java:284) 2011-07-13 07:53:20,760 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/3/login?pipelinehash=7875940280639898231_T-Navigation--41994303761790368. Error was invalid stream header: java.io.StreamCorruptedException: invalid stream header: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at net.sf.ehcache.store.DiskStore$1.init(DiskStore.java:284) at net.sf.ehcache.store.DiskStore.loadElementFromDiskElement(DiskStore.java:279) 2011-07-13 07:53:20,765 ERROR net.sf.ehcache.store.DiskStore @ cocoon-ehcacheCache: Could not read disk store element for key PK_G-aspect-cocoon://DRI/2/login?pipelinehash=6981133072217521487. Error was invalid stream header: java.io.StreamCorruptedException: invalid stream header: at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream.init(ObjectInputStream.java:280) at net.sf.ehcache.store.DiskStore$1.init(DiskStore.java:284) at
Re: [Dspace-tech] seeking help in tracking down why Tomcat is dying on us
Thanks, Mark, many many moons ago you gave me this same, very helpful advice, and I've been running LambdaProbe ever since. The problem with LambdaProbe, is it requires Tomcat to function, and if Tomcat is down... ;-) Now I'm looking into getting JMX monitoring set up by my sysadmins, so they can use Zabbix to monitor our Tomcat installations. I'd love to have logs of memory usage to dig into, the next time something comes up. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ No matter how far down the wrong road you've gone, turn back. --Turkish proverb On 7/13/11 9:27 AM, Mark H. Wood mw...@iupui.edu wrote: I keep a monitoring gadget like LambdaProbe (or PsiProbe) running on production Tomcat instances so I can watch what is happening to memory. It helps with tuning and sometimes diagnosis. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] SWORD deposit issue
I am trying to do a SWORD deposit from one DSpace instance to another. However, I am getting two different Handle URI after the SWORD deposit. Is there any way to have just one Handle URI? Preferably the handle URL issued by the target DSpace instance. I could not find any setting at all in dspace.cfg for this. The source DSpace instance is an ETD application called Vireo, developed by the Texas Digital Library. It's built on top of DSpace (ver 1.5.x) and it only supports SWORD protocol to deposit into target DSpace instance. It does not support harvesting. Any feedback would be highly appreciated. Thanks. Diwakar Timilsina Systems Analyst, UITS University of Arkansas, Fayetteville Email: diwa...@uark.edumailto:diwa...@uark.edu Phone: 479.575.6160 -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech