Wednesday March 01, 2006
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. Posted in Java at Mar 01 2006, 12:17:13 PM MST 10 Comments
Search This Site
Recent Entries
- Raible Road Trip #13
- The good ol' Job Hunt
- How to use GWT 2.0 with Maven and Generate SOYC Reports
- JSON Parsing with JavaScript Overlay Types in GWT
- A Fun Father's Day at Great Sand Dunes
- Going to the Great Sand Dunes for Father's Day
- Implementing OAuth with GWT
- Enhancing Evite.com with GWT and Grails
- 2nd Row at Red Rocks and Elephant Rock Ride
- Creating a Facebook-style Autocomplete with GWT
did you name your macbook pro alotta, and why?
Posted by Erik Weibust on March 01, 2006 at 04:08 PM MST #
Posted by Matt Raible on March 01, 2006 at 04:21 PM MST #
Posted by Lee on March 02, 2006 at 02:46 AM MST #
Posted by kp on April 10, 2006 at 05:40 AM MDT #
Posted by Jason Thrasher on June 13, 2006 at 09:15 PM MDT #
start-LOCAL: [start] FAIL - Application at context path /dosimetry could not be started [start] FAIL - Encountered exception java.lang.NoClassDefFoundError: org/apache/log4j/spi/VectorWriterok ... try again,
start-LOCAL: [start] OK - Started application at context path /dosimetryAny 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 09:38 AM MDT #
Posted by Tonny Brucker on April 04, 2007 at 01:45 AM MDT #
Posted by Daniel Serodio on August 02, 2007 at 08:34 AM 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 07:27 AM 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 01:25 PM MDT #