I'm getting this error on my tomcat installation: 

SEVERE: Error listenerStart 
Sep 23, 2010 2:29:40 PM org.apache.catalina.core.StandardContext start 
SEVERE: Context [/Simon] startup failed due to previous errors 
Sep 23, 2010 2:29:40 PM org.apache.catalina.loader.WebappClassLoader 
clearThreadLocalMap 
SEVERE: The web application [/Simon] created a ThreadLocal with key of type 
[java.lang.ThreadLocal] (value [java.lang.threadlo...@7befc208]) and a value of 
type [com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl] (value 
[com.ibatis.sqlmap.engine.impl.sqlmapsessioni...@39abdac9]) but failed to 
remove it when the web application was stopped. This is very likely to create a 
memory leak. 


I've already disabled IPv6 entirely and set the default settings: 

# Run Tomcat as this user ID. Not setting this or leaving it blank will use the 
# default of tomcat6. 
#TOMCAT6_USER=tomcat6 

# Run Tomcat as this group ID. Not setting this or leaving it blank will use 
# the default of tomcat6. 
#TOMCAT6_GROUP=tomcat6 

# The home directory of the Java development kit (JDK). You need at least 
# JDK version 1.5. If JAVA_HOME is not set, some common directories for 
# OpenJDK, the Sun JDK, and various J2SE 1.5 versions are tried. 
#JAVA_HOME=/usr/lib/jvm/openjdk-6-jdk 
# sun-jdk 
JAVA_HOME=/usr/lib/jvm/java-6-sun 

# Directory where the Tomcat 6 binary distribution resides. This a read-only 
# directory that can be shared by all Tomcat instances running on the machine. 
# Default: /usr/share/tomcat6 
#CATALINA_HOME=/usr/share/$NAME 

# Directory for per-instance configuration files and webapps. It contains the 
# directories conf, logs, webapps, work and temp. See RUNNING.txt for details. 
# Default: /var/lib/tomcat6 
#CATALINA_BASE=/var/lib/$NAME 

# You may pass JVM startup parameters to Java here. If unset, the default 
# options (-Djava.awt.headless=true -Xmx128m) will be used. 
JAVA_OPTS="-Djava.awt.headless=true -Xmx128m" 

# Use a CMS garbage collector for improved response time 
# JAVA_OPTS="${JAVA_OPTS} -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC" 
JAVA_OPTS="${JAVA_OPTS} -Xnoclassgc -Xloggc:/var/log/tomcat6/gc.log" 


# When using the CMS garbage collector, you should enable the following option 
# if you run Tomcat on a machine with exactly one CPU chip that contains one 
# or two cores. 
#JAVA_OPTS="$JAVA_OPTS -XX:+CMSIncrementalMode" 

# To enable remote debugging uncomment the following line. 
# You will then be able to use a java debugger on port 8000. 
#JAVA_OPTS="${JAVA_OPTS} -Xdebug 
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n" 

# Java compiler to use for translating JavaServer Pages (JSPs). You can use all 
# compilers that are accepted by Ant's build.compiler property. 
#JSP_COMPILER=javac 

# Use the Java security manager? (yes/no, default: no) 
#TOMCAT6_SECURITY=no 

# Number of days to keep logfiles in /var/log/tomcat6. Default is 14 days. 
#LOGFILE_DAYS=14 

# Location of the JVM temporary directory 
# WARNING: This directory will be destroyed and recreated at every startup ! 
#JVM_TMP=/tmp/tomcat6-temp 


I'd really appreciate if I could get a quick reply, as we're not being able to 
solve this on our own :3 

Thanks! 

Kevin 

Reply via email to