AnsweredAssumed Answered

Tomcat hangs deleting big sites from share

Question asked by braguzz on Jul 5, 2013
Latest reply on Jul 5, 2013 by scouil
configuration:
4.2.c community
Ubuntu server 12.04 64 8Gb 8 CPU vsphere virtual


problem:
deleting a site with many nodes share tell me 'unable to delete site' , tomcat hang and cisf and http connection stop to work.

in catalina.log I see


2013-07-02 08:22:05,161 INFO [webscripts.connector.RemoteClient] [http-apr-80-exec-12] Error status 408 Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
.
.
.
2013-07-02 08:22:05,192 ERROR [extensions.webscripts.AbstractRuntime] [http-apr-80-exec-12] Exception from executeScript - redirecting to status template error: 06020001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js': 06020000 TypeError: Cannot read property "success" from null (file:/media/Data01/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
org.springframework.extensions.webscripts.WebScriptException: 06020001 Failed to execute script 'classpath*:alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js': 06020000 TypeError: Cannot read property "success" from null (file:/media/Data01/alfresco-4.2.c/tomcat/webapps/share/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/modules/delete-site.post.json.js#12)
ecc..


I've tried to install it with alfresco installer and with manual install (starting from a clean machine following <a>http://francescocorti.wordpress.com/2013/01/09/installation-alfresco-4-2-c-on-ubuntu/</a> ), but the problem persists.

I've already tried to change tomcat connectionTimeout and JAVA_OPTS without luck.


Outcomes