20040527 Thursday May 27, 2004

Tomcat 5.0.25 quietly released Download · Changelog. Less than two weeks ago, Tomcat 5.0.24 Stable was released. However, it had a small bug where two cookies would be issued instead of just one - so a hotfix was released. Today, I discovered that 5.0.25 Stable is already out with a whole bunch of other fixes. Since there seem to be no announcements about this release - I thought you might like to know in case you have an upgrade planned.

Tomcat tip o' the day: When you install a new version of Tomcat, clean out its webapps directory (rm -r $CATALINA_HOME/webapps/*) and remove the balancer.xml from $CATALINA_HOME/conf/Catalina/localhost/. The webapps directory contains a number of sample apps that do nothing more than slowdown server startup. I also typically delete the "admin" application since I don't use that either:

rm -r $CATALINA_HOME/server/webapps/admin 
rm $CATALINA_HOME/conf/Catalina/localhost/admin.xml

Lastly, don't forget to add a user with a "manager" role in $CATALINA_HOME/conf/tomcat-user.xml. This way you can use the slick Manager app (http://localhost:8080/manager/html) to install/start/stop/reload/remove webapps.

Update: After installing this release, I discovered that looking up a Mail Session in JNDI doesn't work. It's possible its a bug in my configuration, but it's worked fine on all previous 4.1.x and 5.0.x releases. Because of this, I recommend sticking with 5.0.19 or 5.0.24.

Update 2: This has been verified as a bug in 5.0.25. Posted in Java at May 27 2004, 12:18:11 PM MDT 3 Comments

Comments:

Now that I'm over bitching about Tomcat, I'm getting to really like some of the features, including the ability to create a completely separate CATALINA_BASE directory. You put a copy of the conf, logs, tmp, webapps and work directories in there and develop as per normal. Then when I download and unpack new copy of Tomcat, I *don't touch* it at all, I simply set the CATALINA_BASE environment variable and it doesn't load anything else. This is great for consultants like yourself as well (or people like me who are constantly working on local projects) - different base directories for different clients/projects. No more "tweaking" the servlet.xml file or cleaning out the examples dir. -Russ

Posted by Russ on May 27, 2004 at 04:01 PM MDT #

Hi I'm having a problem accessing the implicit error object in my error handling jsp page - I have triple checked all my settings and have search google and the tomcat list server. Nothing mentioned that is of relevance. Here is the url to my post on the Java Developers Forum: http://forum.java.sun.com/thread.jsp?forum=45&thread=534741&tstart=0&trange=15 Thank you in advance :~)

Posted by 217.42.130.100 on July 09, 2004 at 09:47 AM MDT #

fixed the implicit error object access. some microsoft ish. http://forum.java.sun.com/thread.jsp?forum=45&thread=534741

Posted by obi on July 10, 2004 at 09:15 PM MDT #

Post a Comment:
  • HTML Syntax: Allowed
Click me to subscribe
Matt Raible is a Web Architecture Consultant specializing in open source frameworks.
« May 2012
SunMonTueWedThuFriSat
  
1
2
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29
30
31
  
       
Today

Recent Entries

Tag Cloud