Matt RaibleMatt Raible is a Web Developer and Java Champion. Connect with him on LinkedIn.

The Angular Mini-Book The Angular Mini-Book is a guide to getting started with Angular. You'll learn how to develop a bare-bones application, test it, and deploy it. Then you'll move on to adding Bootstrap, Angular Material, continuous integration, and authentication.

Spring Boot is a popular framework for building REST APIs. You'll learn how to integrate Angular with Spring Boot and use security best practices like HTTPS and a content security policy.

For book updates, follow @angular_book on Twitter.

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

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 10: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 03:47 PM 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 11, 2004 at 03:15 AM MDT #

Post a Comment:
  • HTML Syntax: Allowed