Playing with JDK 5.0 and Tomcat 5.5.2
I did some experimenting this evening with JDK 5.0 and Tomcat 5.5.2. The good news is that AppFuse compiles fine with JDK 5.0 and runs on Tomcat 5.5.2 nicely too. Here's a couple of things I found:
I received a number of interesting errors from the new JDK. Here's one of them:
[javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.
I received a few other messages that were deprecation warnings. The wierd thing is that it was telling me what's deprecated in HttpServletResponse, rather than what's deprecated in my code. Huh - what's the point?
Unfortunately, I found that Cactus won't run on JDK 5.0. Too bad, everything else seems to work fine.
I like the speediness of the new Tomcat, but I was disappointed to find out that they changed the DTD for the context.xml file. The old one works fine on Tomcat 4.1.x and 5.0.x, but you have to make some modifications for it to work on 5.5.x. To be fair, the new syntax is shorter and more concise. I've updated AppFuse's build.xml to detect Tomcat 5.5 and swap context files as appropriate.
Because of the Cactus bug, I think I'll be sticking with JDK 1.4.2 and Tomcat 5.0.28 for now - but it's cool to know that everything else will work once Cactus is fixed.
Posted by Paul on October 01, 2004 at 08:42 AM MDT #
Posted by char on October 01, 2004 at 02:00 PM MDT #
Posted by Steve Wall on February 03, 2005 at 03:55 PM MST #
Posted by Niel More on February 04, 2005 at 02:19 AM MST #
I am trying to run the latest version of Struts Resume. I followed the instructions in README-new.txt file and on step 4 which asks to run target "ant setup-tomcat deploy" it fails and complains about the following
I am using tomcat 5.5
Can you give me some pointer? Is this a jar version issue? Which appropriate jars do I need?
Posted by Rachit Gandhi on February 11, 2008 at 11:51 AM MST #
Posted by Matt Raible on February 11, 2008 at 04:05 PM MST #