[Dspace-tech] Tomcat takes forever

2014-09-02 Thread John Chris
I have installed DSpace 4.2 through upgrade from 3.1 and also with a 
fresh install. Both times when I copied the webapps inside Tomcat 
installation, Tomcat stops rensponding and loading takes forever. If I 
delete the sword, swordv2 and xmlui folders, the jspui that I want to 
use works fine. What should cause this bug?
System: Windows 2008 R2 Standard, Apache Tomcat 8, Apache Ant 1.9.4, 
Apache Maven 3.2.2, PostgreSQL 9.2, JDK 1.7.0_65 with JRE 7

Thanks,
John

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
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] Tomcat takes forever

2014-09-02 Thread Mark H. Wood
On Tue, Sep 02, 2014 at 03:11:15PM +0300, John Chris wrote:
 I have installed DSpace 4.2 through upgrade from 3.1 and also with a 
 fresh install. Both times when I copied the webapps inside Tomcat 
 installation, Tomcat stops rensponding and loading takes forever. If I 
 delete the sword, swordv2 and xmlui folders, the jspui that I want to 
 use works fine. What should cause this bug?
 System: Windows 2008 R2 Standard, Apache Tomcat 8, Apache Ant 1.9.4, 
 Apache Maven 3.2.2, PostgreSQL 9.2, JDK 1.7.0_65 with JRE 7

If you have no use for sword, swordv2, or xmlui then don't copy them
into Tomcat.  It is quite proper to only run the webapp.s that you
intend to use.  (solr is used by xmlui and jspui, and perhaps others,
so it should always be included.)  If the documentation says
otherwise, we should correct it.

Do you find anything suggestive in the Tomcat or DSpace log files,
when Tomcat stops responding?

I see that you have a very recent Tomcat, which is good, but Tomcat 8
and recent Tomcat 7 will search through every JAR looking for
configuration fragments and taglibs unless told not to.  We need to
work out how DSpace should inform Servlet 3.x containers as to which
JARs are worth inspecting.  In the meantime, starting up DSpace on
recent Tomcat releases may indeed just be slow.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
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