Tomcat is Dead
I just spent an entire day attempting to get Tomcat working for me, a day that could have been spent playing Dungeon Siege or Asheron's Call or maybe writing that detective story I've been thinking about...alas 'twas not to pass.
I have 2 servers for my development environment. One of these (named appropriately enough "server") uses Sybase SQL Anywhere 7.x and is my database server. This has got to be one of the most under-rated databases out there. Really nice performance and a low price. The other server runs (or at least is supposed to) the application server. Up until very recently this was running a development version of ATG Dynamo. The problem I had with this was that with 256 megs of RAM in the server (a P2 366 Mhz) it was taking forever for it to start up. No problem says I, I'll just convert our app over to Tomcat and install that. Best laid plans of mice and men and all that....
I ran in circles for approximately 8 hours when I ran across Mike Cannon's article Is Tomcat Crap? You can understand at this point I was pulling what little was left of my hair out by the roots and this was a life preserver to grasp in a sea of conflicting results. Needless to say it gave me a completely different perspective on things. This persepctive included the use of resin which I downloaded, installed....edited the config with what would seem to be logical values and *poof* (well, no actual *poof* per se...) it just worked. I was also quite shocked by how much faster it ran then Dynamo. Granted there are some pretty heavy memory requirements for Dynamo so I'm gonna have to build up a better app server to test it but.....all I can say is "YIKES"....seriously...no really...I tried saying some other stuff and all that would come out was that. Maybe I should see a Doctor.
One of my biggest beefs with Tomcat has GOT to be the supremen LACK of documentation for Tomcat 4. There's a ton of stuff out there for 3 but whatever docs have been written for 4 are generously sprinkled with a "Fix Me" label. Google searches where fruitless and JGuru was just not helpful at all....except of course for pointing me in the Resin direction.
Tomorrow it'll be time to see what my boss has to say about all of this. Our group has little to no budget for new app servers but considering the licensing fees are coming up for the Dynamo Servers we should have no problem slotting these in....though of couse at this point it's all just aimless rambling.....
1:39:05 AM
|