Why I like Tomcat 5.5.12 better than Tomcat 5.5.15
Here's what happens with Tomcat 5.5.15:
alotta:~/dev/appfuse mraible$ export CATALINA_HOME=$TOOLS_HOME/apache-tomcat-5.5.15 alotta:~/dev/appfuse mraible$ ant deploy;tstart Buildfile: build.xml ... deploy: [unwar] Expanding: /Users/mraible/Work/appfuse/dist/webapps/appfuse.war into /opt/dev/tools/apache-tomcat-5.5.15/webapps/appfuse BUILD SUCCESSFUL Total time: 3 seconds Using CATALINA_BASE: /opt/dev/tools/apache-tomcat-5.5.15 Using CATALINA_HOME: /opt/dev/tools/apache-tomcat-5.5.15 Using CATALINA_TMPDIR: /opt/dev/tools/apache-tomcat-5.5.15/temp Using JRE_HOME: /Library/Java/Home alotta:~/dev/appfuse mraible$ ant reload Buildfile: build.xml reload: [reload] FAIL - Encountered exception java.lang.NoClassDefFoundError: org/apache/log4j/spi/VectorWriter BUILD FAILED /Users/mraible/Work/appfuse/build.xml:1063: FAIL - Encountered exception java.lang.NoClassDefFoundError: org/apache/log4j/spi/VectorWriter Total time: 1 second alotta:~/dev/appfuse mraible$
Here's what happens with Tomcat 5.5.12:
alotta:~/dev/appfuse mraible$ export CATALINA_HOME=$TOOLS_HOME/apache-tomcat-5.5.12 alotta:~/dev/appfuse mraible$ ant deploy;tstart ... BUILD SUCCESSFUL Total time: 4 seconds Using CATALINA_BASE: /opt/dev/tools/apache-tomcat-5.5.12 Using CATALINA_HOME: /opt/dev/tools/apache-tomcat-5.5.12 Using CATALINA_TMPDIR: /opt/dev/tools/apache-tomcat-5.5.12/temp Using JRE_HOME: /Library/Java/Home alotta:~/dev/appfuse mraible$ ant reload Buildfile: build.xml reload: [reload] OK - Reloaded application at context path /appfuse BUILD SUCCESSFUL Total time: 3 seconds alotta:~/dev/appfuse mraible$
Looks like I'll be sticking with 5.5.12 for the foreseeable future.
did you name your macbook pro alotta, and why?
Posted by Erik Weibust on March 01, 2006 at 11:08 PM MST #
Posted by Matt Raible on March 01, 2006 at 11:21 PM MST #
Posted by Lee on March 02, 2006 at 09:46 AM MST #
Posted by kp on April 10, 2006 at 11:40 AM MDT #
Posted by Jason Thrasher on June 14, 2006 at 03:15 AM MDT #
ok ... try again,
Any ideas? It's not a big deal but it is a bug, but not nearly as bad as the
Should I upgrade to 5.5.20 or better yet downgrade to 5.5.12 or 3.0?
Posted by John Newman on October 20, 2006 at 03:38 PM MDT #
Posted by Tonny Brucker on April 04, 2007 at 07:45 AM MDT #
Posted by Daniel Serodio on August 02, 2007 at 02:34 PM MDT #
Also I just found out the other day, this perm gen error is mainly caused by three things
doing that fixed it for me.
Posted by John Newman on August 03, 2007 at 01:27 PM MDT #
John - thanks for the tip about LogFactory.release() - I'll have to try adding that in my app. In the meantime, I've noticed the following JAVA_OPTS allow me to develop a Struts 2 + Spring + Hibernate w/o a PermGen error using "mvn jetty:run".
Posted by Matt Raible on August 03, 2007 at 07:25 PM MDT #