Slashdot Mirror


Who is Using Tomcat or Jetty in Production?

JettyCatReady queries: "Ok, my company (a rather large, global financial institution) has recently blessed Linux for production use (woohoo!). Their position is that it will save them hardware costs to run on Intel machines instead of big IBM or Sun iron. No mention at all has been made of their position on open source. I'm part of a team that wants to make the case that the real savings are to be made by making use of things like Tomcat in place of BEA where we can (if all we want is JSP why pay a huge cost per server?). I even have a boss's boss who said in front of me, 'So I'm thinking, am I missing something by not using Tomcat? Do I have anything to lose?'"

"These are all excellent signs. The next step is to get an open source server into production. Tomcat is the natural choice because it's got the name recognition among Java app servers. Here's where I'm a little stumped. Whenever I mention the words 'Tomcat' and 'production' together, performance junkies come out of the woodwork and tell me that Tomcat sucks for production (what with it being a reference implementation and not optimized for speed). They say use Jetty (except for the ones that say to use Resin). The counter argument is that if my managers have heard of Tomcat, and seen vendors that will support Tomcat, and have never heard of Jetty, then there's no way they're going to bless it over Tomcat. (The same boss who praised Tomcat above also made a face when I mentioned JBoss. And I'm sure it has nothing to do with his personal experience with either.)

My question is, does anybody have some real world numbers of large institutions actually using these servers in a production environment? If somebody can tell me 'Company X uses Tomcat exclusively' then we would have no problem contacting company X and saying, 'So, what have your experiences been?' In other words I need leads, not actual white papers (although those would be nice, too). I need some real experiences, not just people who like Jetty over Tomcat because they don't like Sun."

477 comments

  1. Production Tomcat by Anonymous Coward · · Score: 4, Informative

    Can't give our company name but we're using it in production for an ASP-type senario serving apps to large financial institutions off of WinNT boxes. Compared to the previous IIS builds (ugh) it's wonderful, stable and a nice advert for taking the whole show over to UNIX.

    1. Re:Production Tomcat by Anonymous Coward · · Score: 0

      I've worked on three systems in the last two years
      that all went into production using tomcat or jetty. OK, so the first was a dot-com that went bust, although one of the other contractors is still keeping it alive. The second is a profitable dot-com (Inceptor) about to go live with jboss-jetty, replacing a system written in perl-c++-activeX. And finally Golf-England (funded by centrica and hitachi) is also about to go live with a jboss-jetty system.

      I have to say the jetty developer support on the newsgroups from the founder is phenomenal. And the jboss community is huge, although the arrogance of the core developers can be a real hindrance ...

      Even for the big boys using EJBs JMS etc etc I would have a hard time justifying bea or websphere instead of jboss though. And if you only require a servlet container (jsps + servlets) I think it would be utter madness to pay ...

    2. Re:Production Tomcat by rwinston · · Score: 3, Interesting

      I work for a major Telco, and recently we have made some sweeping and far-reaching decisions: 1) Our internal Web servers (including some servers that exist solely to serve Perl CGI scripts) are being migrated from NT/2000/IIS/ActiveState to Linux/Apache/mod_perl/Perl CGI. 2) Instead of using Oracle/SQL Server by default, we are beginning to use MySQL by default, and only use the big iron when its necessary. 2) We are using Tomcat for at least one production site, and perhaps more in the future. A lot of internal apps are being ported to Tomcat 4/mod_jk/Apache 2 This is not just a cost-saving exercise - this is going to solve some long-term reliability and security issues

      --
      "If we cannot be free, then at least we can be cheap" -- Frank Zappa
    3. Re:Production Tomcat by Anonymous Coward · · Score: 2, Informative

      There might be people using Tomcat in production, but I wouldn't take that to mean you should use it too. It's a good indication that it's a possibility, but I would evaluate it for yourself. Company XYZ isn't going to have to explain to your boss that Tomcat is not performing. It's you holding the bag. The real question is your company going to be happy with the decision to it. There are plenty of load testing apps out their. Get a load tester, generate some traffic suitable to what you think your server will need to support, and drill it.

      Jetty IS a very good servlet container. It's much faster than Tomcat, and very modular. Look at the list of people who has choosen to use Jetty over Tomcat.

      Tomcat has had trouble in past with performance. They might have addressed some of those concerns, but I would be cautious about using it. Espcially, if your using their HTTP server which they say not to do.

      But, then again, don't take my word prove it to yourself, and to your bosses.

    4. Re:Production Tomcat by Anonymous Coward · · Score: 0

      You wil be going through referential-integrity and stored-procedure withdrawl if you move from Oracle/SQL Server to MySQL. Try PostgreSQL instead.

    5. Re:Production Tomcat by Anonymous Coward · · Score: 0

      The company is SAS Institute, isn't it?

    6. Re:Production Tomcat by Devastator · · Score: 1

      cbc.ca is using mod_jk/tomcat in production:

      From: Netcraft
      The site www.cbc.ca is running HP Apache-based Web Server/1.3.26 (Unix) mod_jk/1.2.0 mod_perl/1.25

    7. Re:Production Tomcat by rwinston · · Score: 1

      Referential integrity is enforced in the newer versions of MySQL. Stored procs are not in there, though, which would be nice in some apps. I'm very curious about Postgres, I've installed it on my FreeBSD box and will give it a go when I get some time.

      --
      "If we cannot be free, then at least we can be cheap" -- Frank Zappa
  2. Re:1st post by Anonymous Coward · · Score: 0

    Well how about I call your boss and take your job? I have been out of work for some time and I am REAL hungry. Where do you work again?

  3. My company uses tomcat exclusively by Tet · · Score: 5, Interesting

    Like the subject says. It seems to work OK for us. Startup times are annoyingly slow. If we need to deploy a new context, then restarting tomcat brings with it a 30-45 second outage. But other than that, it's fine. Performance testing showed that increasing the number of threads the connectors can handle, and increasing the memory size (we use -Xmx500M) helps enormously.

    --
    "The invisible and the non-existent look very much alike." -- Delos B. McKown
    1. Re:My company uses tomcat exclusively by flipperboy · · Score: 5, Interesting

      My experience is almost exactly the same. We started using tomcat during development because it was free, and found that it performed well enough that we were confident moving into production with it. Restart times are not an issue for us; we can schedule resource drops for times when system use is minimized.

      During load testing, we mucked about with the same tomcat parameters mentioned above, specifically thread count (starting and max) and heap size.

      One last note: with versions 4.x of Tomcat, we've found that Tomcat is quick enough at serving up static content that we don't need to put Apache into the mix.

    2. Re:My company uses tomcat exclusively by Reinout · · Score: 1

      I tried a jboss/tomcat combo a few months ago and jboss made tomcat reload .war files without restarting.

      Just dropping a new .war file in the deploy directory and requesting something out of that context and... automagical reloading.

      Perhaps tomcat4 does this too.

      P.s. this was with the older version 2 jboss. From what I understand jboss 3 blows away everything.

      Reinout

    3. Re:My company uses tomcat exclusively by Hard_Code · · Score: 4, Informative

      "If we need to deploy a new context, then restarting tomcat brings with it a 30-45 second outage."

      Remember, in 4.x, a command-line admin tool to insert/reload contexts at runtime has been added. A GUI is planned to follow.

      --

      It's 10 PM. Do you know if you're un-American?
    4. Re:My company uses tomcat exclusively by Reinout · · Score: 1

      This reply also mentions hot-deploy (and is a bit more technical in it's utterings :-))

    5. Re:My company uses tomcat exclusively by AMNESIACX · · Score: 1

      Glad to see I'm not alone in the Tomcat-4.x-without-Apache world. Aside from annoying startup issues, I have found it served its purpose well, for a small business. Wouldn't mind some tips or URL's on how exactly to run load/thread tests though, and the means by which to measure/compare?

      --
      "It's not just what you say, no it's mostly how you feel it." - Tim Buckley.
    6. Re:My company uses tomcat exclusively by Anonymous Coward · · Score: 1, Interesting

      I was one of the five developers who redid collegeclub.com from ASP to JSP. We had to build an infrastructure to handle the existing 300 million page views a month as well as be able to scale indefinately. Management would only let us go to a Java platform if they could see benchmarks showing performance as good as or better than their current IIS/ASP setup. We benchmarked Tomcat, Resin, and Orion. Tomcat just did not perform under the loads we needed; however, both Resin and Orion performed fine. We settled on Resin because at the time (maybe still are) they touted their software as open source (one of the big selling points of migrating from IIS). We did not kick Tomcat to the curb -- it is so simple to use that we keep it on each developer's machine as their isolated development environment. Hopefully it will continue to improve in the speed department. (And while I'm making wishes, hopefully someone will make an XMLDOM faster than MSXMLDOM!)

    7. Re:My company uses tomcat exclusively by CynicTheHedgehog · · Score: 2

      Out of expedience we deployed everything in the root context, so this would be great if it prevented downtime. Then again, if it still resulted in downtime for the specified context we wouldn't see any benefit at all. Right now we have to deploy in maintenance windows so that we can bounce Tomcat safely. Would that tool alleviate this problem?

    8. Re:My company uses tomcat exclusively by awb131 · · Score: 1

      Is this with the standard HttpConnector, or with the new (still marked unstable) CoyoteConnector?

      --
      "There is no night so forlorn, no mood so bleak, that it cannot be infused with pleasure by tender meat..." - R.W. Apple
    9. Re:My company uses tomcat exclusively by Anonymous Coward · · Score: 0

      Yes, by all means just randomly start increasing the heap size without consideration to garbage collection ... and more threads must mean better performance, right?!

      It's "the Java way".

    10. Re:My company uses tomcat exclusively by Tet · · Score: 2
      Just dropping a new .war file in the deploy directory

      We can't use war files easily, because each build needs to be configured for the system on which it's being deployed. So we just deploy a pre-extracted tar file, with a configure script that substitutes in the appropriate values in various config files for the server in question.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    11. Re:My company uses tomcat exclusively by ranulf · · Score: 3, Informative
      Just dropping a new .war file in the deploy directory
      We can't use war files easily

      Neither could we, but that's because the feature just doesn't work reliably.

      A large number of times, you'd stick a new .war file there and it'd just ignore it. IN my opinion the only safe way to do this is:

      1. kill apache
      2. kill tomcat
      3. wait a few seconds
      4. kill -9 tomcat
      5. remove all of the un-jarred directory ~tomcat/webapps/whatever
      6. start tomcat
      7. wait about 10 seconds
      8. start apache
      If you're feeling daring, or are using the webserver for other sites, don't kill apache in step 1, and just restart apache at the end. mod_webapp seems substantially less resiliant than mod_jk at restarting - with mod_jk you could just leave apache alone completely.

      If you don't wait about 10 seconds between restarting tomcat and restarting apache, you run the risk of mod_webapp failing to connect to tomcat at all.

      If you don't delete the appropriate webapp directory, in my experience your .war file is never actually unpacked.

    12. Re:My company uses tomcat exclusively by one9nine · · Score: 2, Insightful

      This sounds like a pefect job for Ant. I am sure you can find a way to make Ant alter the config files then produce individual WAR files for each server.

      And if you are not using Ant for builds, I would highly recommend you check it out. It's saves me so much time and, when I actually did have a job (a year ago), it saved my team and incredible amount of grief and time.

    13. Re:My company uses tomcat exclusively by notfancy · · Score: 1

      May I suggest using Ant? The <ftp/> task is handy, and @MACROS@ are tricky but serviceable.

    14. Re:My company uses tomcat exclusively by SquadBoy · · Score: 2

      We just went back to Tomcat. Basically my company is putting a "web application" thing out and when they first started they where using Tomcat. Went with HPAS for a while but now that that is dead we are going back to Tomcat. The main reason is because there is nobody to kill it. :) In any case I like it and hope we will be able to contribute back.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    15. Re:My company uses tomcat exclusively by Hard_Code · · Score: 2
      --

      It's 10 PM. Do you know if you're un-American?
    16. Re:My company uses tomcat exclusively by Phouk · · Score: 1

      Re: 30-45 second outage: Have you played with the tomcat manager app to reload / deploy / undeploy applications without restarting tomcat? If so, what were your results?

      For those who don't know the manager app, when you have tomcat running, the doc for it is at e.g. http://localhost:8080/tomcat-docs/manager-howto.ht ml
      It provides a very basic but easily scriptable URL interface.

      --
      Stupidity is mis-underestimated.
    17. Re:My company uses tomcat exclusively by unixbob · · Score: 1

      We make use of tomcat through apache because of some the extra stuff that apache gives like mod_rewrite, mod_gzip and mod_expire

      --
      The Romans didn't find algebra very challenging, because X was always 10
    18. Re:My company uses tomcat exclusively by Tet · · Score: 1, Offtopic
      This sounds like a pefect job for Ant.

      Hmmm. I don't like Ant. That's in no small part due to my belief that XML has no business being anywhere near a config file. You only have to look at Jabber to prove that. Or in fact, much of tomcat -- server.xml makes me feel sick every time I have to look at it. In fact Ant's very existence is a reaction to the problems Sun caused with Java when they decided to break the traditional source file to object file relationship that had existed for years. If they hadn't done that, and if javac worked like a traditional compiler, then make wouldn't have had such a hard time with Java in the first place, and Ant wouldn't have existed.

      I am sure you can find a way to make Ant alter the config files then produce individual WAR files for each server.

      Yes. I could do that with any number of means, and I'm sure Ant is one of them. However, it breaks one of the fundamental principles of software management -- the build you deploy on your production systems should come from the same distribution that you deployed on your test systems. Otherwise your tests are meaningless. You can exhaustively test a build all you want, but unless you're deploying the same build on production, what's the point?

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    19. Re:My company uses tomcat exclusively by Anonymous Coward · · Score: 0

      What sort of concurrent user load/hits can Tomcat deal with?

    20. Re:My company uses tomcat exclusively by Tet · · Score: 1
      Re: 30-45 second outage: Have you played with the tomcat manager app to reload / deploy / undeploy applications without restarting tomcat?

      Nope, not yet. We have a number of business critical deliveries to make in the next couple of months, so we're sticking with Tomcat 3 for now. Once those are out of the way, Tomcat 4 is one of the many things on the todo list (primarily driven by the potential to workaroung the slow startup times)

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    21. Re:My company uses tomcat exclusively by GreggBert · · Score: 1

      I've found Ant to be like the "regex" of build tools. In the right hands, it can be an enormous time saver especially with repeatable tasks like build, deploy scenarios. It's not for everybody but if you are willing to meet it half way and put in some time reading the Oreilly book on Ant, then you will be rewarded ten fold.

      --


      If you don't understand anything I post, please accept that I ate paste as a small boy...
    22. Re:My company uses tomcat exclusively by one9nine · · Score: 1

      I don't like Ant.

      Fine. Why?

      That's in no small part due to my belief that XML has no business being anywhere near a config file.

      Hate to burst your bubble chief, but more and more config files are being written in XML. If it had no business there, I seriously doubt so many people would be switching to it.

      server.xml makes me feel sick every time I have to look at it.

      If I hear this crap one more time, I'm going to be sick. XML is in no way supposed to be easy to read. It was never meant to be, it was never designed to be. If you find editing a XML file that difficult, get an XML GUI.

      the build you deploy on your production systems should come from the same distribution that you deployed on your test systems.

      Exactly why you have config files in the first place. I serious hope you aren't testing your software against your production database.

      With Ant, you can easily include differnent config files for different WAR files. Each WAR file will have the same build. Then you don't have to run a script on every production box in order to configure each deployment. It can all be done with Ant in one step. If your running scripts on each machine to config your software, you're doing something wrong.

    23. Re:My company uses tomcat exclusively by Tet · · Score: 2
      more and more config files are being written in XML. If it had no business there, I seriously doubt so many people would be switching to it.

      Do you honestly believe that? People switch to things because of momentum, and the desire to follow the herd. Technical merit comes a long way down the list.

      XML is in no way supposed to be easy to read.

      Remarkable... in one simple sentence, you've managed to completely explain why XML shouldn't be let anywhere near a config file.

      It was never meant to be, it was never designed to be. If you find editing a XML file that difficult, get an XML GUI.

      There are a few problems with that. Firstly, none of my machines have either a graphics card or even X libraries. They're servers, hence they don't need, and don't have, graphics. You could arguably have a curses based front end, I suppose. But step back for a second and think about what you're suggesting. You're claiming that every application should be shipped with a separate config front end, rather than just designing a sensible, easily readable config file format in the first place? Sorry, that doesn't sound like a win to me. Perhaps you can explain the benefits of XML for config files. Not why they're no worse than other formats, but what advantages they give you that are sufficiently compelling to use XML? Because I genuinely don't get it...

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    24. Re:My company uses tomcat exclusively by jstep · · Score: 1
      From our experience tomcat is not that stable in a production environment. We put apache and mod_jk loadbalancing in front of several tomcats, this helps a lot minimizing downtimes. Nevertheless even under medium load it happens that proceses hang and eat up all the cpu, so you may have to restart tomcat and apache.

      This happens in real world, almost never with load testing tools.

    25. Re:My company uses tomcat exclusively by spongman · · Score: 2
      And while I'm making wishes, hopefully someone will make an XMLDOM faster than MSXMLDOM!
      yeah, this is one of the main things keeping me on the MS (pre-.NET) platform. My app uses alot of XML/XSLT and the MS procesor is easily the fastest I've seen.
    26. Re:My company uses tomcat exclusively by aluminum+boy · · Score: 1

      Tomcat 4.0 has a manager application that allows you to create/reload/delete a context without restarting the server through a manager application.

    27. Re:My company uses tomcat exclusively by Reinout · · Score: 1

      thanks, I hadn't looked at tomcat 4 yet. I'll install it and take a look. Probably they've solved one other small problem I had with 3.x too :-)

      Reinout

    28. Re:My company uses tomcat exclusively by plumby · · Score: 2
      Perhaps you can explain the benefits of XML for config files. Not why they're no worse than other formats, but what advantages they give you that are sufficiently compelling to use XML? Because I genuinely don't get it...

      What is your preferred alternative? Windows INI files? Java properties files? Something else? Or a proprietary format for each app?

      One of the advantages of XML is that it uses a standard layout, meaning that once you've understood the basics of XML, you should be able to read any XML file. If the XML includes a DTD or schema, that describes (again in a standard format) exactly what the acceptable content of the file should be. This means that you don't normally have the same need to ship a config tool with each app as you would with most other tools, as a single XML tool can read the DTD and determine what the person editing the file should do.

      As for Ant, again what is your preferred alternative? The last real build tool I used (as opposed to batch files) was nmake, and the config file for that was certainly no easier to read than Ant's XML, and you had to learn all of the nuances of its file layout as well as the specific syntax for the app. The only editor there was for it (except for autogeneration from the IDE) was a text editor.

  4. Yes: Production Tomcat by Anonymous Coward · · Score: 1, Informative

    We use Tomcat in production, as a replacement for JRun, which we used to use. It's working quite nicely.

    1. Re:Yes: Production Tomcat by Anonymous Coward · · Score: 0

      I'll second that. We ditched JRun in favor of Tomcat. We've seen no issues with it as we used to with JRun.

    2. Re:Yes: Production Tomcat by restive · · Score: 1

      We have moved from JRun to Tomcat as well.
      JRun left a lot to be desired, and caused us a lot of problems. Moving to Tomcat was definitely the way to go.

      Not to mention the fact that JRun support was poor and licensing fees were rising for a product that was not even fulfilling our needs.

    3. Re:Yes: Production Tomcat by Anonymous Coward · · Score: 0

      We have a high-volume application that runs over a load-balanced farm, all using Appache/Tomcat. We spent around 6 months developing and tuning Jrun - pushed by the external web-hosting crowd that developed our first site. Finally, we were able to handle around 70 users on a server before Jrun threw up. Within around a month we ported everything to Tomcat; our final count was running around 600 users on the server (in both cases, SUN boxes were used as hardware).

      The other nice thing is that having the source code allows you to do better profiling!

  5. Novell by Scutter · · Score: 5, Informative

    Novell's Groupwise version 6 runs on Tomcat with Apache. It's actually set up to run on Netware, of course, but I've gotten it running quite nicely on linux as well.

    --

    "Tell me doctor, with all of your defenses, are there any provisions for an attack by killer bees?"
    1. Re:Novell by mj01nir · · Score: 2

      FWIW, NetWare 6 is bundled with Apache and Tomcat, which is used by some of NW6's new web services.

      --
      the no .sig .sig
  6. Hmmm... by Pumpernickel · · Score: 0

    'So I'm thinking, am I missing something by not using Tomcat? Do I have anything to lose?'"

    The only thing you have to lose, due to the fact the Tomcat is open source, is real support for technicians. But real men don't call tech support, right? Anyways, Tomcat == BEA - tech support.

  7. JBoss by Anonymous Coward · · Score: 4, Informative

    Take a look at JBoss, we replaced BEA with it for commercial product deploys and have been thrilled. It can also be integrated with Tomcat or Jetty.

    1. Re:JBoss by jaaron · · Score: 2

      Just wondering, version 3.0 or 2.x?

      --
      Who said Freedom was Fair?
    2. Re:JBoss by bigjocker · · Score: 2

      I must agree 100% with you. I work as a consultant and I have helped 3 companies to switch from WebLogic to JBoss.

      Everyone here should check the 3.x version, is one of the best software tools ever developed.

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    3. Re:JBoss by alext · · Score: 2

      Boy, I hate posts like this, and not just because I make a living working with BEA stuff.

      Not picking on you specifically, but whenever I mention moving projects from Tomcat or Resin to WebLogic I try to explain why the move was made.

      Peoples' requirements differ greatly and the products are complex and varied - I doubt if one poster in ten that mention WebLogic here can actually name the principal components of the WebLogic 7 platform, for example.

      Without a description of the context, blanket assertions of one product's superiority over another are just so much hot air.

    4. Re:JBoss by neoha · · Score: 1

      Any of you in this thread willing to discuss the
      requirements and logic in switching from weblogic to JBoss? Presently I am in such a situation and I need all the supporting and informative evidence I can get.

      Thanks.

    5. Re:JBoss by Anonymous Coward · · Score: 0

      Hate to say it, but you come across like you say it exactly because you make a living working with BEA stuff.

      The parent poster didn't do anything to disparage BEA, or claim that JBoss was better. He just expressed his opinion that JBoss "is one of the best software tools ever developed" and that everyone should check it out. Whereas you, by contrast, refuse to look at JBoss, and hate posts that have anything positive to say about it.

      If BEA were "one of the best software tools ever developed" (it may be), but a customer can switch to JBoss and save money, your only complaint could possibly be that the money saved isn't going to you.

    6. Re:JBoss by Bozdune · · Score: 1

      Golly, Alex, let's list the reasons.

      1) BEA releases really bad code. Version 6.0 almost cost me my job.
      2) BEA costs a fucking fortune.
      3) JBOSS is way faster.
      4) JBOSS deploys apps better.
      5) JBOSS is extremely stable.
      6) JBOSS support is better - I get better answers from the open sourcers than I got from the paid support we had with BEA.

      We've ripped BEA out of 5 apps, working on #6. The sooner we are BEA-free, the better. We'll never look back.

      I suggest you change the way you make a living, bro, before it's too late.

      Seriously, you have to be nuts to use Websphere or BEA when JBOSS is available for free.

    7. Re:JBoss by alext · · Score: 3, Interesting

      I appreciate your concern, but I'm quite capable of judging the rival merits of WebLogic and JBoss.

      I've worked with JBoss since before it was JBoss, and before it had any kind of support. I think it's fine as far as it goes, but your generalizations are not much more helpful than the original bit of flag-waving.

      You appear to forget that some real customers are interested in things like usable security (not freeware Java SSL implementations), clustering that works with real hardware and centralized management for servers and applications.

      These customers often also want to be in a position to handle future stuff like workflow and web services conveniently - not via 101 addons from different projects scattered around the web. This is what the Platform is giving them - the only competing strategy for this is from Microsoft.

      If BEA were still selling 6.0 and had no coherent plan then you might have a point, but until JBoss has something that really is as comprehensive and functional there are going to be sufficient reasons for corporates to choose WebLogic.

      I have shared your pain on the support side in the past (I've spent most of my time on the other side of the fence) but since the Web Support went live I've had no problem organizing things such as continuous, 24 hour attention to specific issues, with a problem being passed to engineers around the world in the middle of the night, and who I can talk to via one 800 number.

      And for what it's worth, the BEA consultants I've worked with over here have been among the most clued up I've encountered from any organization. Unlike a lot of technology outfits offering consultancy, they tend to be old hands who can fix all kinds of stuff outside WebLogic - from routers to Solaris sys admin to Emacs init files - if the occasion demands. Sorry if your experience was different.

    8. Re:JBoss by alext · · Score: 1

      Huh? If statements like
      we replaced BEA with [JBoss] for commercial product deploys and have been thrilled
      and
      I must agree 100% with you. I work as a consultant and I have helped 3 companies to switch from WebLogic to JBoss.
      are not claiming that JBoss is better than WebLogic, what exactly are they claiming?

      What makes you think I haven't looked at or worked with JBoss? WebLogic happens to be the main source of my income but I do work with a number of competing products, both in the web server space ([E]JBoss, WebSphere, EAServer and Orion/Oracle) and in the EAI space (Tibco, MQSeries).

    9. Re:JBoss by Anonymous Coward · · Score: 0

      they are claiming that he helped 3 companies switch from WebLogin to JBoss. Maybe he's claiming its cheaper. That doesn't necessarily make it better, just a better value.

      Your general air of ignorance makes me think you haven't looked at JBoss; you're closed-mindedness and insistence on calling it [E]JBoss to try and make some point about your knowledge add evidence to my assumption. You may have downloaded it a couple years ago and not gotten it to work. Or maybe you cross-deploy every app on JBoss, Websphere, Orion, and BEA. But I doubt it.

    10. Re:JBoss by togginho · · Score: 2, Interesting

      isn't it cute how men get caught up in their toys? :-) i'm not a fan of webLogic, and before alext runs me up against the wall, YES, i have worked with BEA and JBoss. as with everything in this get-exactly-what-you-need-world, there's a solution for every type of problem. why do people like JBoss? because it's stable enough to work, and free enough to be affordable. why do people like BEA? because of the reasons you mentioned. without products like JBoss, and the often-flamed open source software products, many, many people still wouldn't even know what a webapp deployment descriptor even is. the key to making new technologies work is to spread them, and WebLogic has never been good at that -- BEA used to be nothing but a transaction monitor, and has been turned into an application server, whereas JBoss was always meant to be, what it is.

    11. Re:JBoss by Anonymous Coward · · Score: 0

      If I were calling the shots earlier on I would have liked to give JBoss a try. Too late now though, BEA it is. BEA has pissed me off enough to really want to at least try something else.

  8. Free application server from Sun by MikeApp · · Score: 2, Interesting

    I know that you are probably looking for an open-source solution, but Sun has promised to release a free version of their application server this fall.

    Sun "basic" application server

    It will run on Linux.

    1. Re:Free application server from Sun by Anonymous Coward · · Score: 0

      That version is only decent for developers.

      Dont use it in production unless you're a mom & pop company and only mom is accessing the site.

    2. Re:Free application server from Sun by MikeApp · · Score: 1

      Er, interesting comment, since it hasn't been released yet.

      From everything I've read, it is definitely targeted at production use.

    3. Re:Free application server from Sun by Anonymous Coward · · Score: 0

      If it's the old iPlanet AS then stay AWAY !!!

  9. Tomcat is bad but alternatives are even worse by MSBob · · Score: 3, Informative
    I'm no fan of tomcat myself but if you're doing servlets then it is probably your best option (and cheapest). Being in a situation similar to yours I've evaluated JRun, WebSphere and Tomcat and liked Tomcat the most. It was most up to date with the J2EE spec and wasn't trying to be everything I didn't want it to be. It simply got its job done. Having said that, Tomcat on the back end means Apache on the web tier and I'm no big fan of Apache (or its configuration nightmare specifically).

    Tomcat 4.x series is designed and built for production use unlike the 3.x series which was a reference implementation donated by Sun.

    Anyway if you're not doing EJB tomcat is a reasonable choice. If you ARE doing EJB work you can pick up JBoss which integrates well with Tomcat. Pick up GLUE for web services and a decent persistence layer (OJB for example) and you're all set for enterprise level development with $0 spent on infrastructure software.

    --
    Your pizza just the way you ought to have it.
    1. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 5, Informative

      Having said that, Tomcat on the back end means Apache on the web tier

      Why? Tomcat can be used stand-alone and it can be integrated with other webservers, even IIS!

    2. Re:Tomcat is bad but alternatives are even worse by nervlord1 · · Score: 2, Troll

      I'm no big fan of Apache (or its configuration nightmare specifically).
      Sigh, its amazingly simple, just because you don't have a pretty GUI, does not make it a nightmare to configure, more to the point, there are many programs that offer GUI configuration of apache, have a look around before dismissing apache because you can't set it up right

      --
      Microsoft IIS is to webserving as KFC is to healthy eating
    3. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 2, Insightful

      And just what web server do you prefer? There isnt a product out there that can touch the versatility, reliability and stability of apache.

      -ax

    4. Re:Tomcat is bad but alternatives are even worse by Hrunting · · Score: 3, Informative

      Try Resin, a non-free open-source servlet/JSP server. It can run standalone or as an Apache plugin and absolutely screams. It works great with the IBM JDK under Linux and has very cheap licensing fees and incredible developer support. I myself am not partial to the whole Java phenomena, but if I had to use a web server for serving up such code, I wouldn't hesitate to use Resin.

      Sometimes, one has to step back from the plethora of big-name projects and realize that people are making considerable effort righting the mistakes made by the early pioneers of that medium.

      And sometimes, paying a little for a server engine ain't such a bad thing. Most companies with budgets can afford cheapo licenses.

    5. Re:Tomcat is bad but alternatives are even worse by sirinek · · Score: 0

      I bet he comes up with a lame answer like "IIS".

      The AC above was right, theres nothing that touches apache these days for a web server. I dont see a "configuration nightmare".

      siri

    6. Re:Tomcat is bad but alternatives are even worse by T3kno · · Score: 2

      Just an observation, but it seems like a lot of Ja*a programmers feel this way. Not sure why.

      --
      (B) + (D) + (B) + (D) = (K) + (&)
    7. Re:Tomcat is bad but alternatives are even worse by AftanGustur · · Score: 3, Insightful
      I'm no big fan of Apache (or its configuration nightmare specifically).

      So the majority of webserver admins in the world are having a bad dream ?

      Look, trying to use logic and something arguable to express your views is OK. But when you claim that the majority is stupid without any backing for your claims. It realy looks the other way.

      --
      echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
    8. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      Yeah, I guess "MSBob" prefers crappy IIS.

    9. Re:Tomcat is bad but alternatives are even worse by des09 · · Score: 2, Insightful

      because using Tomcat to serve static html and images is like using a an suv to deliver 2x4 and drywall to your construction site. Sure, they fit in the vehicle, but its not exactly optimal, not by a long shot.

      --
      .sigless since 2003
    10. Re:Tomcat is bad but alternatives are even worse by bigjocker · · Score: 2

      If you dont like tomcat you can check out Jetty. Its true that tomcat can be used as a standalone webserver, but is not designed that way.

      Jetty instead is a full-featured webserver with all the functionality built in. And now that its integrated in the JBoss 3.x series you can use JBoss instead and take advantage of the WAR deployment/redeployment.

      You know, you can use JBoss and if you dont need the EJB, JMS, etc functionality you just disable it and create a custom configuration.

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    11. Re:Tomcat is bad but alternatives are even worse by foobar104 · · Score: 3

      it seems like a lot of Ja*a programmers feel this way

      I'm confused. Is this a typo, or what? When people write "*nix" (an expression I really don't like, BTW), they're referring to all flavors and varieties of UNIX-like operating systems, including nominally non-UNIX OS's like Linux. So what do you mean by "Ja*a?" Is there a Jaba out there that I don't know about? Or a Jata, or a Jafa, or a Jaqa? What's the deal with the wildcard?

    12. Re:Tomcat is bad but alternatives are even worse by ranulf · · Score: 1
      Ja*a ... I'm confused. Is this a typo, or what?

      Tomcat is officially known as Jakarta-Tomcat. But that's just a guess. I've no idea what he really means!

      And Apache isn't hard to configure. There are numerous examples on the web showing how to go from a stock RedHat install to having mod_jk or mod_webapp up and running. All you need to do is cut and paste a few lines from a web page into an appropriate place. And if you can't understand the (heavily commented) syntax of the example configuration file, I'd suggest that perhaps Linux isn't the OS for you, as it's one of the simplest configuration files you're likely to come across.

    13. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      That depends on your load. Not every damn webapplicaton are Internet
      application, targeting 5000 hits/hour. Often you need sophisticated applications just for a small group of people. Tomcat servers that well.

    14. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      I wouldn't say tomcat is BAD. I actually quite liked it. We used apache as the web server, tomcat as the servlet engine. We got excellent throughput and it was quite stable.

      Later, when we needed J2EE we threw JBoss in the mix, and it integrated nicely. I've since been laid off, but the company still exists and continues to use the technology.

    15. Re:Tomcat is bad but alternatives are even worse by foobar104 · · Score: 1

      Just for the record, I wasn't the one talking about how Apache is hard to configure. That was another guy.

    16. Re:Tomcat is bad but alternatives are even worse by foobar104 · · Score: 1

      Oh, I get it. You're an idiot. Well, why didn't you say so? You would have saved us all a lot of time.

    17. Re:Tomcat is bad but alternatives are even worse by FyRE666 · · Score: 2

      Apache on the web tier and I'm no big fan of Apache (or its configuration nightmare specifically).

      What "Configuration nightmare"?! Out of the box it'll run on a *nix machine (maybe Windows, but I've never tried it on a desktop OS). Really, there's just one well commented text file to edit, unless you intend to add user authentication to directories (which itself isn't difficult) - it's hardly brain surgery.

      Now sendmail.cf on the other hand....

    18. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      This from someone connected through pacbell? Wow, you really are an idiot. Anyone who would use them for a DSL provider needs their head examined.

    19. Re:Tomcat is bad but alternatives are even worse by alext · · Score: 2

      First you say:

      Tomcat on the back end means Apache on the web tier and I'm no big fan of Apache

      then

      tomcat is a reasonable choice

      This sure looks like a contradiction to me. First, one key reason why you might not want Apache on the front end is that Apache 1.x is process-per-request. This scales appallingly badly if you have a lot of simultaneous requests in progress (database backend, search engine etc.).

      If this scenario occurs in your environment, WebLogic on its own is a far better choice - it can serve static content surprisingly quickly, certainly in the same order as Apache 1.x and nearly as fast as the old Netscape releases, at least in my experience.

      A lot of my time is spent sorting out overengineered WebLogic setups where people have felt obliged to put IIS or Apache in front. Netscape actually brings something to the party, performance-wise, the rest cause more trouble than they're worth.

    20. Re:Tomcat is bad but alternatives are even worse by alext · · Score: 2

      one has to step back from the plethora of big-name projects and realize that people are making considerable effort righting the mistakes made by the early pioneers of that medium

      such as using Resin? I just had to migrate a big server from Resin to WebLogic two weeks ago.

      You ever tried to update content on a Resin server, for example?

    21. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      my cock

    22. Re:Tomcat is bad but alternatives are even worse by MSBob · · Score: 2

      Nothing wrong with Apache itself but mod_jk/mod_webapp has ways to go before it's ready for prime time.

      --
      Your pizza just the way you ought to have it.
    23. Re:Tomcat is bad but alternatives are even worse by RollingThunder · · Score: 2

      It's not a wildcard, it's a censor mark. Dates back to issues about "UNIX" being a copyrighted term.

    24. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      Hows this for logic:

      The majority of majorities are stupid and wrong. Hence, it is likely that given any specific majority, the chances are that they are stupid and wrong. So, it is a safe assumption to assume that the majority of webserver admins are having a bad dream but don't realize it. It turns out that this case is the exception that proves the rule. The parent poster, however, would definitely feel at home in most majorities.

    25. Re:Tomcat is bad but alternatives are even worse by Anonymous Coward · · Score: 0

      How's WebLogic at request logging and management? Tomcat skips over this and Jetty doesn't do much. I'm using Jetty+JBoss and a bunch of wasteful custom logging and filtering and am seriously considering putting Apache in front, because it's all built in. The only drawback is that your application loses some of that knowledge.

  10. BEA is buggy as hell anyhow..... by codepunk · · Score: 4, Informative

    We use a BEA app server at work for our order processing system. Generally it works ok, but serious bugs in it cause us a lot of greif and downtime. First off it has serious memory leaks in the performance pack (trading speed for stability). We have to boot the BEA app server at least once a week least it runs out of memory and crashes. We are currently looking at JBOSS as our new production application server due to it's stability. If you code smartly you can move the code back and forth so you really have nothing to loose....

    --


    Got Code?
    1. Re:BEA is buggy as hell anyhow..... by JThaddeus · · Score: 5, Informative

      Amen! I have been forced to run BEA and it has been agony. Plenty of things that run under Tomcat won't under WebLogic. IMHO, this just plain wrong! Afterall, isn't Tomcat the *reference* implementation? Examples:

      6.0SP2 would not honor VariableInfo.NESTED in custom tag libraries

      6.1 requires the weblogic.xml file in your WAR. Huh? Why in the WAR?

      6.1 will hang for 30 seconds on your servlets if you open and close the stream without sending anything on the stream

      6.1SP2 to set the proper application CLASSPATH

      6.1SP3 fails to handle code that translates a SAX2 event stream to HTML using Xerces (SAX2) and Xalan (XSL); I'm dead in the water with this because our application depends on SAX2 streams

      Honestly, I think I have spent more time tryiing to make WebLogic work than it took to write the application in the first place!

      --
      "Love is a familiar; Love is a devil: there is no evil angel but Love." --William Shakespeare ('Love's Labors Lost')
    2. Re:BEA is buggy as hell anyhow..... by codingOgre · · Score: 2, Funny

      Ahh, so you guys are the ones that BEA talks about that have the "Godzilla Bean". Yes coroner, I did put 300 methods in my Godzilla bean, is this the cause of death?

      --
      Space may be the final frontier, but it's made in a Hollywood basement. --Red Hot Chili Peppers, Californication
    3. Re:BEA is buggy as hell anyhow..... by Brummund · · Score: 1

      We swapped from BEA hell to JBoss heaven, and we haven't regretted it a single day. Even the accounting dept loves JBoss. We used to run on nine Apache/Tomcat boxen, one "rather large" BEA box and a 8 CPU MS SQLServer box.

      We now use three boxen for tomcat/apache, one for JBoss and another one for the database. (Postgresql.) Even the accounting dept loves our solution. :-)

      For the next version of the product, we'll probably have the same number of apache/tomcat boxen, and use the cluster features in 3.0 to add more JBoss machines.

      We've had one crash, and that was related to too few file descriptors on the Postgresql-box. A simple matter of tuning, and it has never let us down since.

      We run Debian Potato as the OS on all machines. We will probably upgrade all the servers to woody around christmas.

    4. Re:BEA is buggy as hell anyhow..... by Anonymous Coward · · Score: 0

      You hit the nail on the head.

      Not about this guy having a huge bean with over 300 methods though...

      About how BEA constantly pushes the issue back on the user. I spend over two weeks with them on the phone trying to get a "HelloWorld" stateless session bean to work. We NEVER did. This is when 6.x just came out. We ran it on a clean NT 4.x server. WTF is up with that? Oh yeah I was even FORCED to use THEIR IDE later. It didn't help. The issue was with their ALPHA code deployment descriptor.

      One bean, a handfull of methods, and constant complaints from BEA. I hope that they have improved. I don't hate BEA, but now that there is REAL competition out there, they better get their support level up.

      Steve Michael
      steve.michael@performancestratiges.com

    5. Re:BEA is buggy as hell anyhow..... by alext · · Score: 3, Informative

      [An independent BEA consultant writes...]

      Yes, releases can be buggy - I never liked 6.0 - but after a couple of service packs it settles down. 6.1 is a fine J2EE 1.3 setup, and I like where 7.0 is heading, really pulls together all the complex bits.

      On to specifics, if you're hitting memory leaks with the performance pack enabled, you are using some old version - no question! The only problems I've hit with the perf pack on current releases are to do with relatively obscure things like HTTP pipelining (the latter is a buggy spec if you want my opinion...). Turn on INFO level logging and check the report of java.library.path - you may be picking up an unintended version of the perf pack DLL/.so libs.

      BTW Could be that now is exactly the wrong time moving an order management-type application from BEA to JBoss - WebLogic 7 has the Web Services and workflow management pulled together and when the Workshop tool caters for both (end of year?) constructing complex flows should be a breeze.

    6. Re:BEA is buggy as hell anyhow..... by alext · · Score: 2

      6.1 requires the weblogic.xml file in your WAR. Huh? Why in the WAR?

      Um, because it's an extension to the web.xml file that's in the WAR? I could be missing something here...

      6.1 will hang for 30 seconds on your servlets if you open and close the stream without sending anything on the stream

      What's the function here? Normally one wouldn't need to open and close streams like this, not least because it messes up buffering. This doesn't sound like your common or garden servlet app...

      Feel free to email me your SAX2 problem

      cheers
      alex

    7. Re:BEA is buggy as hell anyhow..... by Anonymous Coward · · Score: 0

      There's never a wrong time to migrate from Weblogic to JBoss... JBoss is simply that much better.

    8. Re:BEA is buggy as hell anyhow..... by codepunk · · Score: 2

      Nope....we don't have a single bean running on it, we are only using JMS....

      --


      Got Code?
    9. Re:BEA is buggy as hell anyhow..... by Anonymous Coward · · Score: 1, Interesting

      Disclaimer: I am a BEA employee, but these comments are my own and do not represent my employer in any way.

      Amen! I have been forced to run BEA and it has been agony. Plenty of things that run under Tomcat won't under WebLogic. IMHO, this just plain wrong! Afterall, isn't Tomcat the *reference* implementation?

      I've heard this many many times -- if it works in Tomcat, why doesn't it work in WebLogic? Tomcat is the reference implementation!

      Here's the deal -- Sun publishes the J2EE specifications. Tomcat, being the reference implementation, implements every feature in the JSP and Servlet specs. This allows Sun to demonstrate that the specification is workable.

      Now, it is completely allowed for Tomcat to go above and beyond the spec -- for instance, they can implement their own tag libraries. This does not mean that having those tag libraries is required for the spec.

      Tomcat follows the spec, it doesn't define it. Same with WebLogic -- we follow the same spec. As long as you code to the spec, your application will work on both WebLogic and Tomcat.

      If you happen to find an area where WebLogic doesn't implement the spec, let us know. Software will always have bugs, and those bugs will need to be fixed. Making a list of bugs and posting them on /. is pretty silly and it's pretty one-sided. You didn't post how many of those bugs were fixed in later releases. I could write a book with all of the bugs Tomcat has had in it's lifetime, but it really doesn't make much sense if the majority of those are fixed, does it?

    10. Re:BEA is buggy as hell anyhow..... by alext · · Score: 2

      Guys, you are being a little unfair here - the poster makes:

      5 statements describing

      4 problems

      2 of which were fixed years ago

      leaving

      2 of such vague description you have no idea whether they're relevant to you.

      SAX not working? That's odd, because he's using Xerces and Xalan - not BEA code. They are shipped with WebLogic, but we don't know if he's using these or standalone versions. Whatever - these are unlikely to be WebLogic-specific problems.

      Closing and opening streams causes problems? I should think it does - last time I looked the servlet specification didn't exactly encourage people to do this in the middle of processing requests.

      Informative? I doubt if it's relevant to one other reader here.

    11. Re:BEA is buggy as hell anyhow..... by alext · · Score: 1

      I was even FORCED to use THEIR IDE later.

      BEA didn't sell an IDE. Maybe thinking of IBM? ;-)

    12. Re:BEA is buggy as hell anyhow..... by alext · · Score: 1

      Sounds more as if you've moved from a mostly Apache/Tomcat environment with some bit in WebLogic to... a mostly Apache/Tomcat environment with some bit in JBoss. Sounds perfectly reasonable, but I don't see anything in your post to justify the heaven and hell hyperbole.

      [author is independent WebLogic consultant]

    13. Re:BEA is buggy as hell anyhow..... by Anonymous Coward · · Score: 0

      How deliciously ironic! I'm a laid off system guy who has been forced to daytrade for a living. Yesterday I made a fair amount of money scalping BEAS on the market.

      In my patch: DC, we have the Catch-22 employment requirement of an "active" high level clearance before we can even think about applying to 80% of the open listings. Even if you held something 5 years ago, you're screwed.

      So I'm having fun writing Perl/SSLeay/LWP based spiders to snoop stock info each night and gamble a good bit of my retirement nut to stay above water. Are we having career change yet?

    14. Re:BEA is buggy as hell anyhow..... by greenrd · · Score: 2
      6.1SP3 fails to handle code that translates a SAX2 event stream to HTML using Xerces (SAX2) and Xalan (XSL); I'm dead in the water with this because our application depends on SAX2 streams

      Just a guess: Have you made sure that you've downloaded the latest versions of Xerces and Xalan and that they are ahead of any other versions on the CLASSPATH? The bootclasspath also needs to be taken into account if you are using Sun JDK 1.4 or IBM JDK 1.3+, which both ship with Xerces.

    15. Re:BEA is buggy as hell anyhow..... by Anonymous Coward · · Score: 0

      Ah yes, when I started work, the first thing I had to make a stateless session bean, with zero previous BEA knowledge, or java knowledge beyond hello world.

      I eventually got it working by looking at their examples... but then I have to go show someone else how to do it. Doh!

  11. Support? by MicroBerto · · Score: 1, Insightful
    I'm not completely familiar with the software at hand, but when you are dealing with a corporation, they are often willing to pay money for support contracts or for an in-house support team.

    One thing execs don't like about "free" is, whose fault is it when it breaks? They need somebody to yell at, and don't ilke anything being their fault. So as long as you can get good support for when all hell breaks loose, you should have your ground covered.

    --
    Berto
    1. Re:Support? by Tet · · Score: 2
      One thing execs don't like about "free" is, whose fault is it when it breaks? They need somebody to yell at

      That's fine, so long as they're aware that yelling is all they can expect to be able to do. Read the fine print in your support contract. You'll see that there's no guarantee to fix anything, and no liability if they don't fix it.

      --
      "The invisible and the non-existent look very much alike." -- Delos B. McKown
    2. Re:Support? by Coward+the+Anonymous · · Score: 0

      JBoss is supported by the JBoss Group. They offer support contracts that provide phone and e-mail support. They also have consultants that can lend a hand in an enterprise deployment. Go to http://www.jboss.org for more info.

      --
      -- Jason
    3. Re:Support? by bigjocker · · Score: 2

      Well, you should check this site for JBoss support.

      Or this one if you want Jetty support.

      The thing is, if your boss feels better having expensive support thay can have it, even as the same price of the commercial products. The win/win situation comes from the fact that expensive support is a may and not a must with free software.

      --
      Life isn't like a box of chocolates. It's more like a jar of jalapenos. What you do today, might burn your ass tomorrow.
    4. Re:Support? by Lysol · · Score: 1

      Ahh, the illusion of support. I had a friend who worked for Weblogic support and boy, did he have some stories.

      Word to the wise, learn the non-BEA/IBM servers yourself. Newgroups are often 10X more useful than waiting on the phone. You'll usually find your answer there instead of hearing 'um, let us get back to you, ok? I gotta check into this.'

      While it might not seem crystal clear, if someone has a manager that needs to yell at someone, it's usually for the following reasons:
      1. They don't understand the product at all and thusly freak out about it when their servlet to access the payroll system is not working at all. (usually due to some dumb class path issue)
      2. They've dumped a bunch of money into a product so they can freak out in case it doesn't work. But this still leaves the project at a stand still.
      3. If the project is at a stand still, then the Mgr should be held accountable for not making good decisions and for not hiring people who actually know about the products they're using instead of getting the Excel guy from across the room to build a J2EE app. (Honest, this has happened before).

      When it becomes all about face, then you buy into support. When you wanna get the job done, you hire a pro and get it done.

    5. Re:Support? by Anonymous Coward · · Score: 0
      One thing execs don't like about "free" is, whose fault is it when it breaks?

      It's, uhm, the computer's fault, yes, must be a computer error! Did it ever happen to you, $BOSS, that your computer just ... failed or even crashed? It's for sure the computer's fault!

  12. We use it by istvandragosani · · Score: 2, Informative
    I won't give out the company name, but the shop I work for has several server-side software products we deploy on Solaris that use Tomcat & Apache, for use in IP telephony. A solid combination IMHO (although my personal preference on Unix is Apache & mod_perl).

    --
    Go not to the Elves for counsel, for they will say both no and yes
    1. Re:We use it by Anonymous Coward · · Score: 0

      mod_perl is shit. its not 1996 anymore. time to move on.

  13. 58.com by headwick · · Score: 1

    58k.com is the leading online print job auction company and they their entire operations on open source software.
    Here is a case study.

    --
    ~ fact is not dependant upon your belief therein. ~ ~ Have I therefore become your enemy because I tell you the truth?
    1. Re:58.com by PDHoss · · Score: 1

      the leading online print job auction company

      from the big-fish-in-a-little-pond dept.

      PDHoss

      --
      ======================================
      Writers get in shape by pumping irony.
  14. Is Tomcat crap? by jukal · · Score: 3, Informative
    I don't know, but I archived this article when I saw it. The article contains some benchmarks made by an obvious geek, he also talks about the price.

    "In conclusion, yes - in my book Tomcat is crap. I haven't actually really touched on the problems with Tomcat here (other than it has bad performance and bad developer productivity) and I apologise for that. Perhaps I'll get to them another day. For now, consider the other alternatives until Tomcat improves (which I hope - but doubt - it will)."

    1. Re:Is Tomcat crap? by Baki · · Score: 2

      Bad developer productivity?!? Not at all. We develop using JBuilder, which comes with tomcat built in and allows for very effective development.

      Since I like the development and production environment to be as much alike as possible, we also run tomcat for production (on an important 1000-user intranet application for a large bank). We run it stand alone to avoid problems with the connectors. I see no reason not to, since all our pages are dynamic so Apache would not bring any speed advantage, it would only be an extra relay/bottleneck between the servlet engine and the browser.

    2. Re:Is Tomcat crap? by Anonymous Coward · · Score: 0

      JBuilder? stop being a pussy and use emacs. write your own code dont have that IDE do it all for ya. oh yeah and fuck syntax coloring.
      - hard code joe

    3. Re:Is Tomcat crap? by Anonymous Coward · · Score: 0

      Whatever. tomcat is shit. run resin and orion and you'll see why you shouldnt use tomcat (at least for development ... doesnt take too long to hack around its stupid bugs)

    4. Re:Is Tomcat crap? by _xeno_ · · Score: 4, Insightful
      There are issues with that article that he doesn't mention. For example, what is his test page? Is he serving static content? Does he have Tomcat in "reload" mode (where it checks for updated code every time a servlet is executed)?

      I can't help but think that this article is just poorly written. It doesn't really paint a clear picture of what he's using Tomcat for. He mentions nothing about the various configurations tested. It's way too easy to just write him off due to an overly evident bias against Tomcat from the beginning. (Hint: when attempting to persuade people, calling a benchmark test "Is Tomcat Crap?" reveals your bias...)

      I use Tomcat at work as the development platform we use. We're probably going to be using Oracle Portal for the production system (not that I know what that is or what it uses for it's JSP engine, but...). It works fine for a development platform.

      I haven't done any performance testing on it (yet), but when I get the chance, I might look into it. It'd be interesting to find out what my results are. I have a suspicision that Tomcat performed poorly in his "tests" because the other servlet engines came in an optimized for speed setting while Tomcat comes "optimized" for development.

      --
      You are in a maze of twisty little relative jumps, all alike.
    5. Re:Is Tomcat crap? by Anonymous Coward · · Score: 0

      Erm, I think you mean vi.

    6. Re:Is Tomcat crap? by Baki · · Score: 2

      Look smart-ass, usually I use emacs for almost everything (it is almost my operating system), and syntax coloring is no problem with emacs either.

      But since I have to work in a real company with real 'normal' java coders, and it has advantages that all developers use the same tools, JBuilder does have its use. Do you really think the average (read mediocre) developer can set up his own environment to run a development servlet engine and use emacs with JDE or whatever?

    7. Re:Is Tomcat crap? by angel'o'sphere · · Score: 2


      We're probably going to be using Oracle Portal for the production system (not that I know what that is or what it uses for it's JSP engine, but...). It works fine for a development platform.


      Oracle uses Orion as EJB container, I asuem they also use it as servlet container.

      angel'o'sphre

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    8. Re:Is Tomcat crap? by Anonymous Coward · · Score: 0

      Alright dude, since you've admitted that you haven't done any performance testing yourself, you automatically have no say as to if this article is valid or not. I know the author and helped with some of those benchmarks, and I can tell you right now the reason they aren't there is becuse we have jobs to do and don't have time to document everything. But if you took your foot out of your mouth for one second and tried some various benchmarks yourself, you'd fine similar results _acrosss_the_board_. Now, as another poster said, stop being a pussy and go try Orion or Resin.

    9. Re:Is Tomcat crap? by _xeno_ · · Score: 1
      Oh, yeah, the performance testing I can do on my PII that I use to develop on is definately going to be valid. Oh, wait, maybe not. The only other machines I can test on would wind up having the database server locally, screwing up the tests. And how, exactly, do you propose I try Orion and Resin? I believe I would somehow magically have to obtain a license for them.

      Here's a hint: if you want to be considered "objective," try avoiding phrases like "stop being a pussy" - it kinda paints you as being some immature kid.

      And, without knowing exactly what the tests he's using are, it's quite possible that he's not actually testing Tomcat, but something else like the DB server or JVM. I mean, really, what do you want me to say? The article is useless as a benchmark because we have no idea what he's actually doing. And the fact that he explicitly says that he has no intention of explaining what it was he was doing kinda makes me think he has an agenda to see Tomcat fail for some reason.

      But we'll see - I'll have to try coming up with some tests myself, and see what I come up with. I can't take the word of someone who comes off as having some kind of need to watch Tomcat crash and burn.

      --
      You are in a maze of twisty little relative jumps, all alike.
  15. Get away from Java by Anonymous Coward · · Score: 1, Interesting

    Hmmm.. if you're got them on linux, you can also break away from the silly Java-does-everything culture. Common Lisp makes an excellent server-side tool, and is blazingly fast*, plus better OO than virtually anything else.

    * People _still_ trot out "Lisp is slow", despite the fact that that reputation originated when 1MHz was fast... compiled lisp is certainly faster and less resource-hungry than any useful Java Virtual Machine I've seen.

    1. Re:Get away from Java by Viol8 · · Score: 1

      Gawd , I'm so sick of hearing about how wonderful lisp is. How many people know lisp? Not many. How many people know Java or C++? Lots. How much do you think supporting it will cost when Joe Lisp-Expert leaves for a $$$$ elsewhere and you can't find anyone else to do the job for love nor money? Personally I'm no Java fan but if you're not going to use C++ (which would be my 1st choice) then at least use a language where you can be pretty certain that you can get people to maintain it. Use Lisp , jeez , why not just go the whole way and use Object Prolog?? After all , its waaay powerfull and has even more geek kudos!

    2. Re:Get away from Java by EJB · · Score: 1

      "What's the best language"-arguments aside, when you line up 10 programmers and ask them: "How many of you know Java and how many of you know Common Lisp", I think you'll have the answer to why there aren't more people doing this...

    3. Re:Get away from Java by __past__ · · Score: 2
      Common Lisp makes an excellent server-side tool, and is blazingly fast*, plus better OO than virtually anything else.
      Agreed, CL seems to be the only sane language around, with all others essentially being (buggy) subsets of it.

      However, for the type of work one would probably do with Tomcat, the point that there are a LOT of ready-to-use libraries for Java might me more important than the language itself - there just isn't as many CL code freely available.

      Maybe Jython could serve as a compromise, integrating the Java APIs with a better subset of Common Lisp ;-)

    4. Re:Get away from Java by Anonymous Coward · · Score: 0

      Well.. because of morons like you, we'll always be stuck with second grade technology.

    5. Re:Get away from Java by Jobe_br · · Score: 1

      While I can see an argument trying to get people away from Java, I cannot possibly agree with going to Lisp. Lisp is anything but a rapid deployment environment, which is typically the case: get as much functionality in as little time as possible.

      Now, I've used Lisp (and Tcl, which seems to be very "functional" and less procedural) and Java, PHP and Perl and each has their spot. However, a large financial institution has a large library of existing EJB code (most likely) and other Java/JSP infrastructure. Switching this to Lisp is not an intelligent suggestion.

      Never mind that one main reason to use Java/EJB/etc. is because of the pre-coded tools available to deploy. With a little "glue" you can use pre-existing solutions, which speed your time to deployment and ease your maintenance/support time and cost. I've yet to see any offerings in this arena based on Lisp!

      I don't think most people are still trotting out that Lisp is slow - its just not the right tool for the job, in this case! Maybe its a decent alternative to Perl or PHP, but certainly not to J2EE and EJB!

    6. Re:Get away from Java by Anonymous Coward · · Score: 0

      > "How many of you know Java and how many of you
      > know Common Lisp"

      "How many of you know Britney and how many of you know Bach."

      Hmmmmmmm...

    7. Re:Get away from Java by Anonymous Coward · · Score: 1, Insightful

      And exactly how much are you going to pay for a sharp lisp programmer, if you can find one?

      You don't understand, Java was designed to let bozos write stupid code, and have it still run. You may be a good programmer, but there are a lot of stupid people sitting behind the keyboard that need the structured playpen of Java in order to be productive. That's why managers love Java sooo much - they can pay cheaper bozos who can't find other jobs to write their boring code for them.

      Curl was about as close as you could dumb down lisp for the bozo programmer, and look at how sucessful it was - or wasn't.

    8. Re:Get away from Java by axxackall · · Score: 1
      People _still_ trot out "Lisp is slow

      The problem with Lisp is more than that: most of programmers are not educated (in terms of CS theories) enough to understand FP. That's also the reason why XSLT is still not popular. By the way, there is XSLT for Java, C, Tcl, Perl and Python. Google doesn't find any XSLT for Lisp. Actually, Google doesn't find much of good modern libraries for Lisp. And those available - they work only on some implementations. Forget about portability.

      Scheme, having Lisp-like syntax and same pradigms, has the same problem as Lisp. Also, Scheme in avergae requires not so high level of CS education as Lisp does. And Scheme is much better scalable down: VM startup time is really short, especially in "tiny" implementations. And, of course, the portability of Scheme makes it much more attractive: I have Scheme in both open source licenses (GPL and BSD) for all platforms I work with (Linux/86, Linux/PPC, Win32/Cygwin, MacOS/X). Personaly, the only problem I have with Scheme - there is not enough of libraries.

      I would better consider Python, as it is a language combining both imperative and functional programming paradigms, and at the same time having not-bad OOP model.

      Plus, Python has pretty good various libraries (OS, web, databases, regexps, RDF, XSLT) and a very good web application server (Zope). Would Lisp has such libraries and application (available in open source) - the situation might be different today.

      --

      Less is more !
    9. Re:Get away from Java by Anonymous Coward · · Score: 0

      terse languages are not better.

      Human languages are highly redundant for a reason.

      For a small percentage of programmers, languages that have low redundancy make them more productive; for the majority of the rest it makes them less productive. I still remember guys in one of my classes years ago printing pages and pages of prolog code. lol. the problem fit easily in a page and a half of code.

      Java may be frustrating because it often takes huge amounts of code to do things, but that huge amount of code is understandable and maintainable by average programmers. You can write a state machine or complex flow management in 1/20th the code in prolog but 90% of people will not be able to read and understand and work with it so wtf is the point?

    10. Re:Get away from Java by Anonymous Coward · · Score: 0

      Though Perl shares with Java that it has a wealth of open source libraries for just about anything you can think of.

    11. Re:Get away from Java by angel'o'sphere · · Score: 2


      Maybe Jython could serve as a compromise, integrating the Java APIs with a better subset of Common Lisp ;-)


      Jython is a Python on top of a Java Virtual Machine integrated into the Java libraries, not a CL.

      However there are a lot of lisp implementations for the JVM.

      see: http://grunge.cs.tu-berlin.de/~tolk/vmlanguages.ht ml

      Regards,
      angel'o'sphere

      --
      Cost free eBook I read (by iBook/Kobo/Amazon/ObookO/Gutenberg etc.): "The Green Odyssey" by Philip Jose Farmer.
    12. Re:Get away from Java by Anonymous Coward · · Score: 0

      _Python_ is the subset of common lisp he was talking about, you see :-)

      It's pretty trivial to give Lisp python-like whitespace-sensitive syntax, at which point Python definitely starts to look like a partial lisp. In fact, almost all scripting languages tend toward kludgy Lisp-like features - Python, TCL, Ruby and Perl have all become lisp-like, even though they started out as small, neat languages.

    13. Re:Get away from Java by Anonymous Coward · · Score: 0

      Um... Scheme, NOT Common Lisp requireds more of a CS education!

      Scheme is FP, Common Lisp is definitely multiparadigm, with iteration and standardised OO (which is much better than C++ braindead OO, which has resulted in people rabbiting on about "component based programming", which is just OO as in Lisp, Smalltalk or even ObjC - basically C++ took the dynamism out of OO)

    14. Re:Get away from Java by Anonymous Coward · · Score: 0
      Common Lisp is definitely multiparadigm

      I thought that Oz was positioned as a multiparadigm language. Although, I found the idea of a "language tower" in a literature about both Scheme and Lisp.

    15. Re:Get away from Java by __past__ · · Score: 2
      Jython is a Python on top of a Java Virtual Machine integrated into the Java libraries, not a CL.

      Sure. I meant to imply that Python, as a language, is more "lispy" than Java, not that it is Common Lisp.

      However there are a lot of lisp implementations for the JVM.

      None of which seem to be CL, unfortunatly

    16. Re:Get away from Java by Anonymous Coward · · Score: 0

      Uhm, Lisp? Why? Are you going to make a recursive webpage?

      Why the hell would you want to use lisp for a web-app? At some point, don't you get tired of all those parenthesis?!

  16. JBoss ! by FullClip · · Score: 5, Informative

    JBoss is an excellent fullfledged J2EE application server.

    They even offer consultancy if you cannot get it right the first time.
    Excellent award winning server, excellent support, what do you need more ?

    It has Jetty integrated and gives you the full J2EE stack.
    You can get it to work with Tomcat too: no problem.

    Check it out, the design is awesome for the techies.
    The support option is great for the management.
    Everyone's happy :)

    1. Re:JBoss ! by glh · · Score: 1

      I've heard about JBoss, it sounds pretty cool. A friend of mine is changing over his PHP Nuke site to run JBoss. Do you know how it is in terms of production sites? What are some "big sites" that are using it? How well does it scale? That sort of thing..

    2. Re:JBoss ! by lukegalea1234 · · Score: 1

      I've used JBoss.. it was wicked. Good call..

      I remember reading an article that compared cost of ownership of Tomcat to various other alternatives. I believe it came out pretty low due to it's low speed compared with similiar products ( like Jetty ).

    3. Re:JBoss ! by Mindbridge · · Score: 2, Insightful

      I just want to clarify a couple of things that seem to confuse people a lot.

      Tomcat, Jetty, Resin, etc. are Servlet containers. They are designed to run web applciations built on top of servlets and JSP. They also integrate with Web servers such as Apache and IIS to optimize the serving of static or other (e.g. PHP) content.

      JBoss, as well as IBM WebSphere, BEA WebLogic, Macromedia JRun, Orion, etc. are J2EE servers. They provide support for Enterprise Java Beans, as well as a lot of other technologies in J2EE, including Servlets and JSP. Some of the J2EE servers have their own internal implementation of a servlet container (e.g. Orion), while others use independent servlet containers. Comparing Tomcat to those is like comparing apples to fruits.

      JBoss, in particular, comes in several different standard distribution, one of which integrates with Tomcat, and another that integrates with Jetty by default. I am sure it can be confugured to use other Servlet containers as well.

      To address the main question, my personal experience is that Jetty is best for development because of its quick startup, although Tomcat is also fine as long as your development environment integrates with it well. In a production environment, I would recommend Resin and the Orion servlet container if performance is necessary. If it is not, Tomcat is okay, and the hot deploy feature in 4.x makes it a very attractive option. (I would just note that the hot deploy feature does not work in all cases, e.g. it does not work for Tapestry applications)

    4. Re:JBoss ! by axxackall · · Score: 1
      J2EE servers. They provide support for Enterprise Java Beans, as well as a lot of other technologies in J2EE, including Servlets and JSP. ... Comparing Tomcat to those is like comparing apples to fruits.

      Let's put it then in anoter way:

      If I write the web application from scratch and I don't have any other infrastructure yet (besides, probably, SQL/JDBC database), then what kind of JBoss (or other EJB servers) would I need comparing to a standalone installation of Tomcat?

      The installation of JBoss requires more time and efforts than the installtion of a standalone Tomcat. The development with EJB requires drammatically more time and effort than the development of servlets, especially, servlets with XSLT or other template toolkits. So, how would such diference be compensated?

      --

      Less is more !
    5. Re:JBoss ! by Mindbridge · · Score: 2

      J2EE apps are 3 or more tier, while simple web apps running within a servlet container are almost always 2 tier only.

      As such J2EE apps are more scalable, available, and reliable, especially when the app server chosen offers clustering.

      On the other hand, EJBs are a definite overkill for 90% of all scenarios for web-based applications, since those features are not really necessary, hence one should make the choice carefully. The bottom line is that each approach is appropriate for certain situations.

      As for J2EE complexity, the tools currently available make developing such apps a very simple process.

      -mb

    6. Re:JBoss ! by axxackall · · Score: 1
      With XSLT (for example Cocoon) I can create as much of tiers as I need, balancing and clustiring them, connecting them with Pipes (locally) or with SOAP (remotely), or even with CORBA.

      XSLT separates aspects using different templates. There is no problem with sessions (I have it in servlets) and DB connectivity (XSLT extensions work fine for it).

      With XSLT I can cache (save on the disk) XML (or HTML) output (in fact - every output) of intermediate tiers - that may give a very great perfomance improvement if you do it right. Can you do it with EJB?

      So, does it mean that if I know more than only Java (if I know also XSLT) then Cocoon or the other XSLT frameworks are more appropriate for those scenarios, which do not require EJB explicitely? Is this the real bottom line - to use EJB only if it is required to connect to pre-required 3rd party EJB components?

      Speaking about Java, with EJB I am limited to Java . Some people love Java for OOP

      (especiaally after C, Perl and Visual Basic), some people hate it for its imperative paradigm (especially after Lisp, ML, Haskell, OZ, Erlang and Mercury). With XSLT I can use any language with XSLT binding. Or even any combination of languages: Perl, Tcl, Python, some of Lisps or any others (with XSLT). Why would I do it? Again - to meet a combination of specific scenarios. For example, Java is too bad to work with OS. Another bottom line. It seems to me that EJB has very poor interoperability. You buy EJB and you are a poisoned slave of Java.
      --

      Less is more !
  17. M... mu... mu wa ha ha ha ha. by Anonymous Coward · · Score: 0

    This guy must have made this scenario up. No one in their right mind would jump off a stable Sun setup just to use Java and Linux.

    1. Re:M... mu... mu wa ha ha ha ha. by mabinogi · · Score: 2

      They would once the bean counters come in....

      --
      Advanced users are users too!
  18. My answer... by Anonymous Coward · · Score: 0
    I like Jetty over Tomcat because they don't like Sun.

    C'mon man, do your own homework and figure out what to do yourself. Resourcefulness is one thing, asking a public messageboard because you're lazy is another. Now quit posting messages and go and do some work...

  19. Just make sure it's good hardware by ch-chuck · · Score: 2, Insightful

    don't get too cheap on the Intel HW, I mean quality hardware - no software runs well when the tin memory contacts get flaky or the fans seize up after a week. Use a percentage of sw saving for quality stuff and rest is punching buttons with minimal finger pointing at the resident screwdriver jocky & board swapper.The last production box we got even for Msft 2K server was just a 1.1Ghz P3 w/ PC133 ram, and 2 40Gb SCSI disks (low voltage differential, new one on me). Giving untrusted hw a weeks thrashing under simulated production conditions builds confidence immensely and avoids em-bareass-ment.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
    1. Re:Just make sure it's good hardware by Anonymous Coward · · Score: 0

      Yeah.

      I use AMD/ASUS Dual CPU MOBO.

      Good Crucial/Kingston RAM ECC/Reg.
      Promise w/ Hot Swap if I don't need a high bandwidth on HDD subsystem. Otherwise I use Adaptec RAID.
      With a Hot Swap case.

      Intel NICs. Anymore Antec cases.

      You can save money. But, don't get too cheap.

    2. Re:Just make sure it's good hardware by Anonymous Coward · · Score: 0

      I think the "Intel is cheaper" than IBM and Sun is a myth. First, you
      can only scale Intel systems up to the lowest end IBM/Sun box, and if
      you do, the price isn't all that much differant. I also find Sun and
      IBM hardware to be much more consistent quality and crashes are very
      rare.

    3. Re:Just make sure it's good hardware by afidel · · Score: 2

      If you don't need to scale to Sun's midrange then their stuff is insanely expensive, but for some things it is the only solution. If you can get away with 2 cpu's and a couple gigs of ram then an Intel (Athlon) box will be 3-4X more bang/buck.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    4. Re:Just make sure it's good hardware by Malc · · Score: 1

      "2 40Gb SCSI disks (low voltage differential, new one on me)"

      You undermine the credibility of your whole argument with that statement. LVD SCSI drives have been around for years.

      Cheap Intel hardware is very suitable in certain circumstances. Take the company I work for: their web sites don't get hit hard enough to justify the price of non-Intel hardware. We use multiple load-balanced Intel based machines. They're cheap, and in this configuration, appear reliable. If one goes down, so what? Most of the servers (from Dell too!) went through their whole three year lease without any issues.

    5. Re:Just make sure it's good hardware by Anonymous Coward · · Score: 0

      D00d - that's some super quality iron you got there. Jesus, I mean you can afford both Asus and Promise. You must work for the queen of spain or someone.

      (BTW, this topic is about app servers, not the video game/porn box in your dorm room.)

    6. Re:Just make sure it's good hardware by gregwilkins · · Score: 1
      Jetty run's fine on low spec hardware. The Jetty site is currently getting slashdotted and it is frequently in the top 1% of sourceforge sites. OK yahoo.com it's not, but it runs on a 166MHz 486 with only 32MB of memory running red hat.

      That machine is also running 3 other sites, is mail hub and does nightly jetty builds.

      But if somebody would like to donate a gun multi CPU machine to the Jetty project....

  20. we have tomcat & Jetty with JBoss in productio by Anonymous Coward · · Score: 0

    hi,
    I also working for a 'global financial institution' and we are using Jetty+JBoss in production now. We also have many tomcat/apache installation globally. I personally pefer Jetty over Tomcat for the performance.

  21. last time I used it, it was slooowwww by AssFace · · Score: 2

    Apache is nice and fast for serving up static pages, and really nice with php pages.
    But in my own personal experience, and this was 2 years ago, Tomcat was really slow. It seemed to be just average with jsp pages, and then the more towards the j2ee route you went, the more worthless it was.
    we were mainly using it as a quick and dirty testing/training server system, so I would assume that perhaps it has either come a long way since then, or it is only really meant to server jsp pages.

    --

    There are some odd things afoot now, in the Villa Straylight.
  22. Tomcat by PacketMaster · · Score: 4, Insightful

    We've been using Tomcat in a production environment for 1 1/2 years and before that we were using Tomcat's predicessor JServ. It's been rock solid. 4.0 brought a lot of nice changes (like not overwriting the logs on startup!) and 4.1 is a refactoring release for performance. The one thing to keep in mind about Tomcat is that you have to write your own wrapper script/program to make Tomcat start up as a non-root user. If you're going to use it in conjunction with Apache, Apache2 will only work properly with the ajp13 connector. The webapp/warp connector doesn't seem to work properly yet.

    If you're going to replace BEA though, consider looking at JBoss which is a true J2EE server unlike Tomcat which is just a servlet container. To replace a commercial product such as Weblogic, WebSphere or iPlanet, you want to look at JBoss for a complete J2EE/EJB solution.

    --

    Some people take their .sig way too seriously

    1. Re:Tomcat by Anonymous Coward · · Score: 0
      We've been using Tomcat in a production environment for 1 1/2 years and before that we were using Tomcat's predicessor JServ

      We have done the same, we deployed a Tomcat based application over JServ in August 2001. Previous to that the applications predecessor had been running on JServ since June 1999. JServ was fantastic software and bulletproof. We have found the Tomcat 4.x series lives up to JServ's standard.

      We use it with Apache through mod webapp. The framework is Turbine and Velocity.

    2. Re:Tomcat by lonestar_new · · Score: 1

      > Apache2 will only work properly with the ajp13 connector.
      > The webapp/warp connector doesn't seem to work properly yet.

      Okay, the "mod_proxy" works well too, even with Apache 2. You can read about how to use mod_proxy with Tomcat in the docs included with Tomcat. Just remember to set both the ProxyPass as well as ProxyPassReverse as specified in the docs.

      Must admit that certain features like hot deploying of web apps are absent in Tomcat...thtough one can usually get around that using an Ant script.

  23. Re:We don't get paid to do your job by scawa · · Score: 3, Insightful

    They don't put Anonymous Coward on the "byline" for nothing. A forum is designed to get information. The purpose of her post was to get some information from people who knew their head from a hole in another part of their anatomy.

    You obviously don't.

    There are quite a few companies using Tomcat 4.0 or greater as a production JSP server and JBoss if they need EJB support.

    However, there are faster web servers out there.

    Resin and Jetty come to mind (use Google to find the Sites). Tomcat is a "reference" version of a JSP/Servlet Container. It is the first out of the gate... Others optimize stuff.

    Tomcat 4.0 and above is scalable and clusterable, so you have the ability to do that, but so are several other open/source or less expensive Web Servers...

    Check them out.

    And idiots like the one above... If you can't be constructive.. Don't demonstrate your ignorance... just shut up.

  24. Tomcat in our company by Anonymous Coward · · Score: 0

    We use tomcat in our company (a Fortune 500 to remain nameless) for all of our J2EE stuff. I hear Jetty is faster/more lightweight, but there are more books and other docs out there on Tomcat. If your company is looking to save money, why would they go to linux to save a little $$ on hardware then turn around and use BEA products to spend a lot of $$ on software? Makes no sense to me.

  25. We use Tomcat - *mostly* by cramped+bowels · · Score: 1

    Don't know if I can give the name, but it is one of the largest pharmaceutical companies on the planet. Some BEA.

  26. We've almost convinced our management to switch :) by monkeyserver.com · · Score: 1

    I'm leading a dev group that is stuck on a Java based App server (Silverstream) which we are not very happy with. As half my team would prefer to be linux based, we would like to migrate from windows to linux for development (hell, servers too).

    We've been playing the "more stable/reliable", "more flexible", "more standard", and "less bugs" cards and I am actually seeing upper management start to sway. But I am still looking for some more fodder, anyone know of any good performance reviews or any reviews at all the put tomcat/apache against any app servers?

    --
    http://monkeyserver.com --- weeeeee
  27. Choosing Tomcat over others by TheICEBear · · Score: 5, Insightful

    I come from a similar situation and have managed to do what you want to do. To sound a little zen don't try to change their minds just show them the benefits. In my case I drew on my knowledge on the lack of vendor lock-in combined with the economics of the situation and the inclusion of support in our seperate support contract (really cheap support at that).

    As for support that was never really and issue with us so I have no argument there. Now Tomcat has some flaws (most in the JSP compiler Jasper and their live redeploy area), but is otherwise a very sweet little servlet engine (don't call it an appserver it isn't one in the J2EE sense of the word and that is the game you're playing when you use things like servlets).

    Once it has compiled your JSPs it works just fine and the sweet things and the selling argument for our projects was redundancy of providers. You have a change of enviroments like going to another servlet engine. With a very minimal amount of care in your coding and everything is portable in fact if you stick to the Servlet/JSP api then you're good to go.

    In fact we had some time one evening and switched between Tomcat, Resin and Jetty with only a few minutes spent making the configurations fit and the files unpack and install.

    On a sidenote if you can delay any lock-in on a specific version of Tomcat, try and see if you can get your system over on the upcoming Tomcat 4.1 I am loving the improvements it brings esspecially in speed.

    You should try to change his opinion on jBoss though. jBoss has been the most loved thing about that recent projects (and EJB writing is in combination with a good Ant script and XDoclet http://xdoclet.sourceforge.net not that big a pain). It is probably the most stable thing about this entire project with hot redeploy (great for development), good performance and great ease of use and install on top. In fact the new 3.x version is even greater with clustering, failover and some very interesting innovations in the area of control over which parts of the server to actually run via SARs and JMX. But enough about all this.

    1. Re:Choosing Tomcat over others by bartling · · Score: 1

      The hot-depoy/redeploy feature alone is enough to sway me to use JBoss/Jetty or JBoss/Tomcat over plain Jane Tomcat. This is simply one of the most useful development-time features for J2EE programming (with or without EJBs). Our consulting company brought in Scott Stark from JBoss Group for a week long intensive training on the JBoss 3.0 internals. Very good, very technical information on the architecture and design of JBoss 3.0. Well worth the money spent on the course. If you have not used JBoss yet, you owe it to yourself to try this app server out.

    2. Re:Choosing Tomcat over others by n1vux · · Score: 1
      inclusion of support in our seperate [sic] support contract (really cheap support at that).

      Who do you get support from? Anyone our corporate masters have heard of? "really cheap support might not impress the "who do we sue?" kind of managers either.

      The Jakarta website lists only one support vendor, in Australia. Sounds bigger than tiny, but not "on the mainland" -- still better than "no support available" that I'd heard.

  28. My company uses Tomcat + Apache + PostgreSQL.... by rjkimble · · Score: 3, Informative

    running on Linux for all our clients. We build and deploy customized web apps for our growing client list. We have been running Tomcat for more than a year, and its performance has been superb. Of course, our clients don't have high volume web sites. And we're not a large company.

    --

    Guns don't kill people -- people kill people.
    But the guns seem to help a bit. (apologies to Eddie Izzard)
  29. Tomcat is not optimized for speed by Anonymous Coward · · Score: 0

    Just be aware that Tomcat is not optimized for speed. Tomcat is optimized to implement the JSP spec.

    1. Re:Tomcat is not optimized for speed by togginho · · Score: 1

      wouldn't most people rather have their clients wait a marginal amount of time longer knowing that this will get them a properly served JSP?!

  30. What savings are perceived with Intel hardware? by christophersaul · · Score: 1

    What savings do you think you're getting on the Intel hardware over, say, the newer Sun kit such as the v480 and v880? The newer Sun boxes are more scalable, more powerful and have better support if needed and similar prices to the Intel kit.

    Don't you need anything more than a few 1 or 2 cpu boxes, with no requirements for scaling in the future?

    1. Re:What savings are perceived with Intel hardware? by Anonymous Coward · · Score: 0

      IBM iron is cheap, but it is expensive:
      IBM will suck your money out with tech support and software updates while Sun "just works" and works 24/7

    2. Re:What savings are perceived with Intel hardware? by Anonymous Coward · · Score: 0

      I can't answer for this guy, but I can say that I am doing a LOT of JSP development for small companies that won't ever see over 2,000 transactions a day. If they do then purchasing a new machine will NOT be an issue.

      I can get a good Intel/AMD server for under $2,500. For most small businesses the bottleneck is the WAN, not the machine. Sun does offer some hardware in that price range, but you are locked in to their hardware. If you want to upgrade the processor, it will cost a ton. Also you are kinda locked in to Solaris. Not that Solaris is bad, but it is still a vendor lock in.

      I just looked at Suns site and found their SunFire V100 server for around $3,000 that compares well to what I buy Intel/AMD for.
      You might have a point! But the vendor lock in still kinda sucks.

      Steve Michael

    3. Re:What savings are perceived with Intel hardware? by Anonymous Coward · · Score: 0

      I don't consider a Unix standard OS a vendor lock since your
      application code is easily moved between systems. Since we're talking
      about Java, it's even less of an issue.

    4. Re:What savings are perceived with Intel hardware? by Anonymous Coward · · Score: 0

      He's talking about Solaris being a vendor lockin if you buy the hardware. It isn't really, you can get Linux for Sparc, but it's not the same level as Solaris on Sparc or Linux on Intel. And you don't have vendor lockin on Intel hardware, unless you consider commodity CPUs a lockin.

  31. If all else fails, test yourself by Anonymous Coward · · Score: 1, Interesting

    I'm not a Java guy (I know the language and have written small apps, but it's not my primary or preferred language), so the answer to the following may be obvious to anyone with more Java experience, but...

    How different are the implementations of each app server? If it only takes relatively small changes to be able to deploy some test code across multiple Java app servers, why not do a comparison between them with your company's own code (or a portion thereof)? That would be more accurate than a generalized benchmark (which, as we all know, can be manipulated to make any arbitrary product/implementation look better than the others).

    For all I know, though, this may not be feasible if each app server requires vastly different deployments and application design to get the best bang out of each. Even if that is the case, it may actually be worth your while to spend some time up front to find out which app server would work best for your company. If the app servers do require significant changes in the applications, you're committing yourself to a platform that will not be easy to switch away from if it turns out to not suit your company's needs.

    Any well managed project of moderate to large scales should involve some sort of product/platform/tool analysis anyway, or look to recent analyses for other similar company projects. Asking other people what app server they recommend will bring a lot of subjective comments. Best if you just grab the choices yourself and test to find which one will truly suit your company's need best.

  32. Suggestion: Use Tomcat/Jetty in JBoss by Hop-Frog · · Score: 1

    If you end up using Tomcat, I would suggest you deploy it as part of JBoss, even if you don't use EJB. The reason is the enhancements to Tomcat delivered by the JBoss integration. These include hot-deploy for Tomcat, which Tomcat (afaik) doesn't give you on its own, JMX, clustering, security, connection pooling (maybe Tomcat does this ...), etc.

    Also, as a further suggestion, ensure that you get information on Tomcat 4.x, as it is intended for production use. The 3.x versions were not.

    Good luck!

    --Kevin

    1. Re:Suggestion: Use Tomcat/Jetty in JBoss by Jord · · Score: 1
      imho, hot deployment is great for development but is painfully dangerous in a production enviroment. The last few projects I worked on we always turned off hot deployment in the production enviroment. Why? Security considered the risk of an app being placed on the server and "auto deployed" was too great.

      Made sense to me as well

  33. Tomcat is fine by Hard_Code · · Score: 3, Informative

    We use Tomcat pretty extensively over here (major league northeastern university). I have heard that Jetty and Resin are much faster. I have also heard TONS of praise for Resin (faster, easier to configure, deploy, etc.), so you might want to look into that.

    That said, Tomcat is perfectly adequate. Unless you are running Ebay or Amazon.com or something, your main bottleneck will probably be your database IO. Typically Tomcat (and any servlet engine, in general) is set up with mod_jk hooked into Apache, so that Apache is the frontend that serves all static files, and *only* those paths which are servlet/jsp get forwarded to Tomcat. In the recent past there seems to have been some flakiness in the Apache->Tomcat connector, but I presume that has been solved by now. Also, until 4.x, the configuration file format, and class loading mechanism were changing each release, but I believe that has settled down.

    Like many Apache (or maybe Open Source in general) projects you pay for not having the depth of features a commercial product would, but you get in return breadth of features, and the comfort of a de facto standard with tons of inertia and support behind it. Besides, the J2EE specs are written sufficiently well, that any servlet engine implementation is basically a dime a dozen. You won't lose with going with Tomcat - and you can always switch to a commercial product if/when you feel you need richer/deeper features (I know people who develop on Tomcat, but deploy on Resin).

    I must still be naive because I still can't fathom the absolute craptacular $$$,000 amount companies spend on commodity software. Unless there is something you *really* need in a commercial product, it is usually not worth the hassle chaining yourself in.

    --

    It's 10 PM. Do you know if you're un-American?
    1. Re:Tomcat is fine by Anonymous Coward · · Score: 0

      Managers spend $$$,000 on software because it makes them feel important. I'm a pinch-hitter sysadmin/pinch-hitter developer at this company, and the internal software development group uses WebLogic because they can. Ostensibly it's because they need 24/7 uptime, but we've been using WebLogic, it crashes at least daily, and the hours of downtime haven't been a problem.

      (When we were using Tomcat 3.x, the server crashed *once*, for a downtime of about an hour, and the screaming took days to subside. WebLogic crashes on a daily basis, and nobody's complained yet.)

      It was pointed out (when this decision was being considered) that we could use JBoss + Tomcat, take the money we saved on license fees, and *hire* a person to stay in the area and be on-call 24x7 to fix problems. This didn't seem to make an impression on management.

    2. Re:Tomcat is fine by Anonymous Coward · · Score: 0

      I too have heard tons of praise for Resin. But I haven't heard anything from people who actually use it. Since everyone says they've *heard* resin is good, you'd expect to hear from someone who actually uses it.

      Looking through this Slashdot forum, at Score 1 at 6:55pm on August 20th I see that there are 15 positive references to Resin by people who have heard about it and only 1 by someone who has claims to have actually deployed with it.

      posts that have only "heard" about Resin:
      4103616
      4103692
      4105375
      4193673
      410353 9
      4103552
      5103592
      4104300

      post that have used Resin but not in production:
      4107164
      4103516
      4105093

      posts that make claims about resin that are ambigous about having used it:
      4104300
      4104084
      4105173
      4103619
      4103688

      positive posts by real Resin users:
      4103653

  34. listen to his boss words by imr · · Score: 5, Insightful

    to tune your answers.
    he doesnt want to know what he can gain by using either of them, he wants to know he wont lose anything.

  35. Tomcat on IBM AS/400 by labil · · Score: 1

    After IBM started charging for WebSphere on AS/400 (I think it was after V5 was released) we switched all our development to Apache/tomcat, and strangely, this is what IBM recommends. IBM ships apache and tomcat with OS/400 and it works like a charm.

    We just deployed a servlet/jsp application on the AS/400 last week and we're just about finishing another major application for deployment next month.

    Performance-wise we've seen very little difference between WebSphere and tomcat, at least on iSeries, though I can't really speak for other platforms.

    cheers

  36. Dont dive into tomcat headfirst by Anonymous Coward · · Score: 0

    Dont run all your applications on tomcat. I understand the cost savings, but there's something to be said for prudency.

    Nobody got fired for going with IBM.

    Get a 30 or 60 day Weblogic/Websphere demo .. test applications running on it versus tomcat. Tomcat will be noticably slower and unscalable for large apps. If your test results are inconclusive as to whether it meets your needs,
    dish out the cash for BEA or Websphere, and have some of your apps running on it (JSP is portable so it wont be a biug deal). Then as time goes migrate everyuthing over to tomcat.

    That way you know it can handle the load.

    You can also find out what your peak times are .. have websphere or weblogic deal with peak times at first ... and then have tomcat slowlyt move in on pealk times until you're websphere and weblogic free.

    Oh, anpther thing you can tell your boss is that you can easily move your apps from tomcat to weblogic anyway. and since tomcat is free, ypou wouldnt have wasted money when you switch to higher ebnd software.

  37. Well by Hobophile · · Score: 1

    I find that our Tomcat does an excellent job of keeping the programmers in line.

  38. aplaws by tapiwa · · Score: 2

    UK local authorites, via the Accessible and Personalised Local Authority Websites.

    This is a web toolkit based on the Arsdigita (of Phil Greenspun fame) Community system.

    Their setup is *nix, Apache, Tomcat/Resin and Oracle.

    --

    Live today. Tomorrow will cost a lot more!

    1. Re:aplaws by foxy44 · · Score: 1

      I can confirm that APLAWS works well with RESIN and we have had no problems with it. Although we have not done any performance tests it was recommended at a better performing option for production systems than Tomcat. Although licenced cost are a few hundred dollars per server.

  39. Java servlets (win32) by Anonymous Coward · · Score: 0

    Is Tomcat the best for java servlets? My company is considering tomcat for windows, however the developers are having trouble increasing the virtual memory in tomcat does anyone know or can point me in the right direction?

  40. what about Jboss? by linuxislandsucks · · Score: 1

    Have you compared Jboss to Tomcat yet? Or are you still in the evaluation process?

    --
    Don't Tread on OpenSource
    1. Re:what about Jboss? by Anonymous Coward · · Score: 0

      You cannot compare the two. One is an ejb container the other is a servlet container. Infact JBOSS comes with tomcat (or jetty) to handle servlets.

  41. Tomcat does suck, avoid it. by Epesh · · Score: 3, Interesting
    I've used Tomcat for testing against the Sun specs, and I find that it's slow and not worth the money you spend on it.

    Yes, I know it's free. Pay attention.

    It does a relatively poor job of implementing the spec itself, and the spec is supposed to be its reason for being. It's gotten faster over time, which is nice, but it's still not very good at handling things. Tweaks abound, but running a custom version of a servlet container isn't likely to bring comfort to you... I hope.

    I'd suggest spending some money on the container, myself; Jetty is okay, but I personally prefer Orion, which is fully J2EE, fast as all get out, and very, very easy to administer. Installation of an Orion instance takes three steps: unzip, copy tools.jar, java -jar orion.jar. Done. It's also free for development, so there's no per-seat license cost for you to use it to write code.

    An aside: Oracle recently posted ECPerf numbers which were very good, and Oracle licensed the Orion codebase... and Orion costs thousands less. Since ECperf yields numbers based on dollars per transaction, you'd think Orion would kick butt on ECPerf.

    I find Tomcat to be acceptable only for compliance testing, because so many people think it's the best that out there (because of the price point). I've spent a lot of time having to work around Tomcat; I'd hope you didn't feel like doing the same.

    --
    Everybody dies.
    1. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 0
      And what servlet container has 100% spec compliance. There are alot of bad/confusing details in the specs, so lets put blame where it belongs. No servlet container is perfect. I've had plenty of problems with WebLogic, Websphere, and JRun. Choose the right tool for the job. Orion is a solid server, but again it's not perfect either. It's behind the game in admin tools, connection pooling and IDE integration.

      I use Orion on my own server, but I'm not about to say it's perfect. It's worlds better than ASP, but again it's not nearly as simple to setup DB connection pooling as weblogic. Personally I prefer to develop with tomcat because I can fix a bug if I happen to find one that isn't already in the bug database. In the past, when I found bugs in JRun, websphere and weblogic, I had to wait for a fix. The fixes usually took several months. For example, JSP inheritance was broken back in weblogic 4.5. I had to wait 3 months for weblogic 5 to come out for a fix to the bug. The bug was verified by weblogic as new and was corrected.

      The headache that bug caused required jumping through lots of hoops. Weblogic is a solid EJB container, but for simple JSP/Servlets, it's slow. Then again it's strength is EJB, so speed is less important than stability and reliability.

    2. Re:Tomcat does suck, avoid it. by Creepy · · Score: 2

      I had heard bad things about Tomcat's performance (especially with a load - and that has improved over the last year or so), but not much about compatibility. I personally have to deal with Websphere and Weblogic, and would take BEA's product over IBM's in a heartbeat (that's my opinion, not my company's opinion, although many developers here share that opinion).

      Truth be told, I haven't seen many compatibility problems, though. Usually something that doesn't work on Tomcat doesn't work on Weblogic or WebSphere, either. If we do find a bug in the JSP engine, it usually is fixed quickly by the vendor (except, AHEM, in IBM's case, but I'll let bygones be bygones :) or worked around. Most of our code just provides a client form-based interface, though, so I doubt we're pushing the limits of the J2EE spec.

    3. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 0

      Read your performance benchmarks carefully!

      The ECPerf benchmarks that you mentioned do show Oracle as having a significant price/performance difference... but... the license they used for the price comparison is a one-year no option license. Which means you have to buy the license all over again each year.

      In summary, they cheated.

    4. Re:Tomcat does suck, avoid it. by Turmio · · Score: 5, Insightful

      What the hell are you talking about?

      You didn't mention what spec you mean but I think you meant that Tomcat implements Servlet, JSP etc. specs poorly?

      I wonder what is your standard for poor but you can't get any better compliance than what you get with Tomcat namely it happens to be the official, Sub-blessed reference implementation of these very specs. If you're in doubt, then check these URLs: Java Servlet technology - Implementations ja Specifications at java.sun.com and Front page of Tomcat site. Thank you.

    5. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 0

      Hope Orion isn't eating its own dogfood, I can't get to the site.

    6. Re:Tomcat does suck, avoid it. by Epesh · · Score: 1

      I'm very aware it's the reference implementation - that's what makes its poor compliance so sad.

      --
      Everybody dies.
    7. Re:Tomcat does suck, avoid it. by Epesh · · Score: 1

      And my point was that Orion, which is what gave Oracle its very good performance, has a much lower license cost, which means the figures are even better... provided you go with Orion instead of Oracle.

      --
      Everybody dies.
    8. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 1, Informative

      Posting anonymously because I modded this thread.

      Epesh hit it on the head. Tomcat blows. The classloader is totally fnarkled from 4.0.3 to 4.1.3 and possibly later since I haven't seen it addressed at all. It's supposed to load classes from:

      WEB-INF/classes
      WEB-INF/lib
      shared/classes
      sh ared/lib
      common/classes
      common/lib

      in that order. I may have shared and common reversed, but that's not relevent to make my point. Try putting log4j.jar in your WEB-INF/lib. Oops, now Tomat cannot find the XML-RPC servlet in jaxrpc-ri.jar in common/lib. Huh? I don't know either. Try putting log4j.jar in common/lib and now your web-app can't find log4j.jar at all. The point is, if you try to load your own copy of something tomcat already has (especially anything having to do with XML), the classloader takes a crap on your application.
      And often you cannot rely on Tomcat's included jar especially if you want to use a new feature. Resin doesn't seem to have this problem (nor Orion).

      I honestly don't know how Tomcat became the RI from Sun. Resin is much better. I develop on Resin, then try to run on Tomcat. If Tomcat can't run it, I figure it's a Tomcat bug - and I'm usually right.

      -joeblowgt

    9. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 0

      Depending on how much traffic you expect, Tomcat may not work out.

      I've stress tested a Tomcat implementation that uses 3 dual-proc redhat boxes (2 running apache/tomcat, 1 running mysql) that would blow up when we hit about 120 users in a stress test.

      The app was really simple (1 page) and we couldn't find any information on tuning Tomcat 4.0x. The bottleneck wasn't mysql (load on the box was near zero), but had something to do with Tomcat or the JDK.

    10. Re:Tomcat does suck, avoid it. by poot_rootbeer · · Score: 2


      Wait, so you say Tomcat does a poor job of implementing the spec, yet is acceptable for compliance testing.

      ???

      Also, post proof or retract. Your opinion alone is useless if you don't have some kind of evidence to back up your (apparently contradictory) statements.

    11. Re:Tomcat does suck, avoid it. by Epesh · · Score: 1

      A few of the things that've bitten me lately: Tomcat's pisspoor choice of JNDI containers, which can (or can't) support Datasources, depending on how much of your system you screw up. Tomcat's handling of output streams in buffered output. Tomcat's oversized buffers, which negatively impact performance in a big, big way. Tomcat's performance, which is astounding... again, in a negative way. Jasper, for a long time, was horribly broken; now it's less so. (They're rewriting it, thank God.) The JSP engine's inability to load taglib descriptors from jar files.

      By "compliance testing," I mean that I test my components under a number of containers, including Tomcat, since a lot of people use it.

      --
      Everybody dies.
    12. Re:Tomcat does suck, avoid it. by Anonymous Coward · · Score: 0

      What are you talking about, tomcat does a bad job implementing the spec? What version of tomcat and what features in the servlet spec did you have in mind???

    13. Re:Tomcat does suck, avoid it. by Furry+Ice · · Score: 1

      What's so hard about Orion's connection pooling? My data-sources.xml looks like this:

      <data-sources>
      <data-source
      class="com.evermind.sql.DriverManagerDataSource"
      name="Oracle"
      location="oildexBMTPool"
      xa-location="jdbc/xa/OracleXADS"
      ejb-location="oildexPool"
      connection-driver="oracle.jdbc.OracleDriver"
      username="phiggins"
      password="phiggins"
      url="jdbc:oracle:oci:@hubd1"
      inactivity-timeout="30"
      max-connections="50" />
      </data-sources>

      Nothing too magical there. Granted, it's kind of weird to figure out which name you should look up in JNDI at any given time, but all the necessary pools are made more or less automagically.

  42. Comparisons, plus some opinions by potcrackpot · · Score: 3, Interesting

    From my experience, Tomcat 4.x is faster than Apache and JServ.

    Don't know how it compares to other servers (at least, from experience I don't), for example IIS, Resin, JRun etc.

    Tomcat 3.x WAS very slow - for example, who had to combine Apache and Tomcat to get anything reasonable - using Tomcat for JSP and servlets, and Apache for static pages. This was in itself a bit of a nightmare. Tomcat 4 is miles better.

    Comparing JRun to Tomcat for performance, see here.

    Compared to Orion and Resin, Tomcat also lost comprehensively. The arguments raged for a while over performance (for example)- but not many about whether it "did what it said on the tin".

    A more serious point here is that your bosses care more about the name and image than the quality. I'd think about trying to convince them that this is Not A Good Idea. For someone who IS using Tomcat in production, just do a google search; you'll get quite a few, for example.

    1. Re:Comparisons, plus some opinions by Heavy+Blimp · · Score: 1
      Sounds like Tomcat 4 is now ready for production if it matches Apache for speed!

      My company has been using Apache with a BEA Weblogic backend for a year or so now - we did do some extensive performance testing with just weblogic but found the overall site performance to degrade.

      Saying that, at the time we where upgrading from Oracle Application Server, and only Tomcat 3 was available at the time so 'the management' went with another big name.

      I think it maybe the time to re-evaluate our application server usage - being heavily commited to an EJB implementation JBoss might have to figure in this as well!

    2. Re:Comparisons, plus some opinions by LadyLucky · · Score: 2
      Tomcat also lost comprehensively [weblogs.com].

      I know they aren't your numbers, but they are a load of rubbish. Tomcat on my work PC (800Mhz, give or take) could handle 300 requests per second, and it was doing something with the requests, I was stressing the app, not the servlet container. So while I have no idea how it compares to the others, that weblogs benchmark (6 requests/sec) is more than a tad wrong.

      --
      dominionrd.blogspot.com - Restaurants on
  43. Not sure if this helps, but.... by blues5150 · · Score: 2
    Primavera's Expedition v8.0 ships with the following.
    • Jetty Web Server v3.1.1
    • JBoss Application Server v2.43
    • Expedition database running on Sybase Adaptive Server Anywhere v7.0.3
    • Sybase JConnect v5.5 JDBC driver
    • Expedition 8.0

    I just installed the Jetty Web Server the other day so I don't have any real data to provide, sorry. I know of a few people that use it and have been happy with it. The only complaint that I've heard is that the pages take long to load. The person that said this thought it might have to do with the page being Java, but I think it might just be the database itself causing the slowdown. Just my $.02 worth.
    --

  44. weather.com is now exclusively Tomcat by nevermind · · Score: 5, Informative

    We have migrated to Linux, Apache, and Tomcat over the last year-and-a-half. We use it both in development and in production, across 100 or so boxes. As with everything, there are issues, but for the most part we are very happy. Even most commercial vendor's idea of a "big" site doesn't come close to what we do, so we have found very little difference between problem solving in the open-source and closed-source worlds.

    For what we do, you can't beat the price... And yes, that includes the price of our time.

    1. Re:weather.com is now exclusively Tomcat by tweek · · Score: 1

      I've been in the Weather Channel's server room. It made me cry.

      From that point on, I understood what enterprise was ;)

      --
      "Fighting the underpants gnomes since 1998!" "Bruce Schneier knows the state of schroedinger's cat"
    2. Re:weather.com is now exclusively Tomcat by HaiLHaiL · · Score: 1

      I notice (http://uptime.netcraft.com/up/graph/?host=www.wea ther.com) that you use mod_jk. Does weather.com use mod_jk load balancing?

      --


      reech bee-yond ur clip-0n
    3. Re:weather.com is now exclusively Tomcat by nevermind · · Score: 1

      Yes and no. We use hardare loadbalancing to spread across our content servers. All connections are stateless/sessionless, so each request is atomic and requests are sent to the most available server.

      On each content server (dual 1.3G PIII) we have mod_jk configured to use 2 loadbalanced "servers", each an AJP connector running on the same machine within the same JVM, but each on separate ports. Each connector then has its own processor threads. This configuration isn't in the documentation, but it gives us the best throughput.

    4. Re:weather.com is now exclusively Tomcat by NuMessiah · · Score: 1

      OK, I'm working for [no name here] German Telco Company. We have installations with Ericsson equipment and they delivered with Tomcat preinstalled (IN Stuff, Service Numbers, Web Integration).

      Take a look at www.ericsson.com and try searching for Tomcat.

      bb4now,
      PMC

      --
      we-go-we-fly
    5. Re:weather.com is now exclusively Tomcat by Anonymous Coward · · Score: 0

      IBM says here that weather.com is using websphere. They don't mention Tomcat.

    6. Re:weather.com is now exclusively Tomcat by Anonymous Coward · · Score: 0

      Which one? TWC now has two DCs, one of which is a far cry from the other...

    7. Re:weather.com is now exclusively Tomcat by KidSock · · Score: 2

      Every connection is stateless? What's the point in using a contianer then? You might as well us CGI.

    8. Re:weather.com is now exclusively Tomcat by HaiLHaiL · · Score: 1

      The servlet container gives you a number of other things... security being a big one. No buffer overflows.

      --


      reech bee-yond ur clip-0n
    9. Re:weather.com is now exclusively Tomcat by QuaintRcky · · Score: 1

      Hey nevermind, please email me - my email address is dick@NOSPAMbldc.org (without the NOSPAM in it). Thanks and sorry all for the noise...

    10. Re:weather.com is now exclusively Tomcat by Fjord · · Score: 2

      Because CGI is a pain in the ass for large scale projects when compared to J2EE even if every connection is stateless.

      J2EE is very standardised in it's interface and components. Perl CGI is somewhat standard, but doesn't have anything analagous to, say, the ability to create JSP tag libraries, or even just standard tags like .

      When you know all of the features of J2EE, you really know what you're missing in perl, and the things you have in perl don't really feel as well thought out and integrated.

      Note, I'm only using perl as my CGI language choice because it along with C are the only 2 languages I've done CGI with, and perl beats C into the ground for that use. I'm pretty familiar with perl and have used it with other on large scale web applicatins (http://www.careerexperience.com for example) and routinely use it for small stuff. I just find J2EE better for real applications.

      --
      -no broken link
    11. Re:weather.com is now exclusively Tomcat by threadsafe_r · · Score: 1

      http://uptime.netcraft.com/up/graph/?mode_u=off&mo de_w=on&site=www.weather.com www.netcraft.com says: "The site www.weather.com is running Apache/1.3.26 (Unix) mod_jk/1.1.0 mod_oas/5.1.1 on Linux" For whatever that is worth...

  45. caucho resin by Anonymous Coward · · Score: 0

    I used resin a while back and it worked great. These days, I'm back in the world of perl, so I don't know what's current. Also, we didn't have high load. Can someone please inform us as to whether or not you need risc processors to really get the most out of Java.

    I get the idea that the best java virtual machines are made for sparc and the other big risc processors. ia-32 doesn't have a really well optimized jvm. Am I right or wrong?

    1. Re:caucho resin by alext · · Score: 1

      No, I don't think so - the Wintel and Lintel JVMs from Sun perform well, almost embarrassingly so compared to Sun big iron like E10000s and E4500s (what they lose in raw MIPs they gain in multi-CPUs and better I/O though).

      IBM and BEA are committed to producing high-performance JVMs for Intel too, so I the future looks pretty bright in this area.

  46. Somebody had to say it... by richieb · · Score: 1, Redundant
    Why don't you use Resin? It's not expensive, it's supported and it's fast.

    --
    ...richie - It is a good day to code.
  47. How I introduced free software into my big company by standards · · Score: 3, Informative

    My former employer, a very large areospace company, was at one time very very much against any software that wasn't back by a "stable corporation".

    The excuse was that if something went wrong, my company could sue the pants off the software provider. Of course, they almost never did that - instead, they just wouldn't pay the bills until the provider complied with company demands.

    Enter terminal emulator software. The popular 3270 emulator cost about $500+ per desktop. And with 10,000's of desktops, that was... um, expensive. So I started my own little cost/benefit analysis. We could buy a shareware product for $5 per seat, and it was very robust and served 99+% of the users (except for mainframe sysadmins, of course!).

    And the savings was amazing. We rolled out the product slowly. Everyone was happy. In the end, everyone used the product.

    This one little step put us on the road towards purchasing more shareware. Soon afterwards, we did the same kind of argument with freeware - and won.

    Conclusion: Start with something simple that you can back away from ... just in case it doesn't work out. Perform a cost/benefit analysis. Purchase a product if it's the right decision - don't let "free" blind you. Write white papers for management. Counter industry FUD "reports" ... as they're often BS that are easily attacked.

  48. (off-topic) use Embperl and/or mod_perl by Anonymous Coward · · Score: 0


    faster, more stable, easy to use and to install.

  49. Production Tomcat by TyrionEagle · · Score: 1

    As with many other people on this list, we are using Tomcat exclusively, development, staging and production, for all our new projects.

    We have a virtual press office tool that allows zip files of images to be uploaded and re-scaled to several sizes, using ImageMagick & JMagick, and we only have speed problems due to browser upload timeouts when our users upload huge zip files.

    --
    -- I like the cut of your thinking, young man. - me.
  50. We have been using Tomcat/Jakarta for 18 months by The_Ronin · · Score: 1

    We began using Apache-Tomcat to replace SilverStream as our app server for awhile now. It works better, faster, and best of all... CHEAPER. At first, our developers were hesitant to switch but now they absolutely love it. Unfortunately, the Apache-Tomcat combo is the only thing stable that our dev guys do... one day they will write decent code.

    --

    I don't drink because I have to, I drink to stop the voices in my head!

  51. Jetty in Production by neilb78 · · Score: 0

    We're running Jetty on an AS/400 in production. Startup times are slow, and I think we'd get much better preformance using a native language on this platform, but it works pretty well. It gets the job done.

    --
    © 2004 The SCO Group, Inc. All Rights Reserved.
  52. Tomcat 4 is much improved over the old tomcat 3 by MCRocker · · Score: 1

    Tomcat 4.0.x is the latest and greatest. From what I can tell and have read on the various mailing lists, it is a significant performance improvement over the older Tomcat 3.x line. Heck, even the Jetty folks acknowledge that Tomcat 4 is almost as fast a Jetty ;)

    --
    Signatures are a waste of bandwi (buffering...)
    1. Re:Tomcat 4 is much improved over the old tomcat 3 by Anonymous Coward · · Score: 0

      ...yet still much slower than PHP.

  53. mod_perl vs. Tomcat by CyberLife · · Score: 1
    I first got started with Servlets and JSPs back in the Apache JServ days before the specs had matured. At that time, things were rather klunky and needed significant work. I tried Tomcat a few months ago and was amazed at the vast improvement.

    The first thing I noticed was the speed. Once compiled, servlets and JSPs ran noticeably faster than their mod_perl counterparts, on the same hardware. In addition, the structured development environment and cleanliness of Java (with respect to Perl) seriously streamlines the construction and rollout of apps.

    The only thing I miss is CPAN. Perl has a vast archive of ready-made code libraries that do everything one could imagine. With Java, I was severely limited -- even having to roll-my-own UNIX-compatible MD5 password routines. However, given the improvement in overall development, I wouldn't switch back.

    1. Re:mod_perl vs. Tomcat by aled · · Score: 1

      There are lots of free-and-ready-to-reuse java libraries for almost everything but the difference is that you have to do the search. For MD5 you probably should the standard crypto api from Sun and the open source implementation from BouncyCastle. In any case Java comes with lots of api that you should investigate.

      --

      "I think this line is mostly filler"
    2. Re:mod_perl vs. Tomcat by CyberLife · · Score: 1

      The problem is not finding an MD5 digest implementation. There are many packages to choose from. I settled on Cryptix. The problem is finding an MD5 UNIX password implementation -- that's quite different. The latter uses the former, but is not in fact the same thing.

  54. Re:We've almost convinced our management to switch by Epesh · · Score: 1
    Silverstream has some nice performance numbers of its own, but it has the same problem WebLogic, WebSphere, and JBoss (to a somewhat lesser degree) have: you have to buy into the management process of each package in order to get anywhere with it.

    BEA's a good server, if slow, once you get around the absolutely awesomely bad management tools they tout as being so good. (Hint: they're not. If they work for you, great. We've found that we end up deploying the same applications multiple times, with restarts, in order to get the thing working correctly; this is with BEA support riding alongside to make sure we're not doing something stupid. We weren't.

    WebSphere... IBM, IBM, IBM. The best compliment I've ever heard about Websphere was from a fan, a developer who loved it: "It's not that bad..." (Yes, it is. In IBM's sales meetings, they crow about how they helped design the entity aspects now-hopelessly-muddled EJB spec... and then later in the meetings they denounce using entity beans altogether because WAS can't give you any good performance with them. Plus, being tied to WSAD isn't my idea of a good time.)

    JBoss is really pretty nice - it's built entirely around a component architecture, so you can swap out the Tomcat crap if you need to and replace it with something that actually works. (The default servlet container that comes with JBoss is Jetty, which you should replace with the current version of jetty if you use JBoss. The Jetty that ships with JBoss has a jasper error, jasper being a component from Tomcat.) The only issues I have with JBoss are related to its strengths: the component architecture means that each component chooses how it's administered, so you end up not only learning how to handle JBoss itself, but you have to learn how to configure Jetty, or this product, or THIS product, or THIS OTHER product... I prefer one ring to rule them all, etc.

    As far as performance reviews, use google! :) I've done some informal performance reviews, and I've found the two best performers were Resin and Orion, with Resin being a few milliseconds behind Orion in terms of servlet and JSP performance.

    --
    Everybody dies.
  55. javaBeans vs EJBs by spike666 · · Score: 2

    the big question begging moving from a simple jsp/servlet engine like Tomcat/Jetty/Resin to a full blown J2EE app server like WebSphere/BEA/JBoss is Do you want to run EJBs?
    i'm not an expert on EJBs by any means, and i'm trying to ask this same question of my own projects, but what i keep hearing is this: EJBs allow me to run much more scalable than servlet/javabeans.
    i dont know what your prospective usage numbers are, but if they are large scale (aka site on the internet that loads of people will hit hard) then you want to use an EJB architecture because you will be able to scale up with lots of big servers. given that you are working on PCs, my guess is that this is not the case.

    Also, i keep hearing that utilizing an EJB App Server will bring with it database connection architectures like Container Managed Persistance etc. BUT... there are some great examples of utilizing other data access patterns like Data Access Objects (see the jpetstore example)

    i think it comes down to proper application architecture. make sure your applications have good design, and keep in mind scalability (especially with the data access bottleneck) and you should be ok.

    oh yeah... in favor of tomcat ... Tomcat is used by IBM WebSphere to run all the jsp and servlets in webSphere, which in turn can then utilize the EJBs...

    1. Re:javaBeans vs EJBs by scrytch · · Score: 2

      Also, i keep hearing that utilizing an EJB App Server will bring with it database connection architectures like Container Managed Persistance etc. BUT... there are some great examples of utilizing other data access patterns like Data Access Objects (see the jpetstore example [ibatis.com])

      Bah. Beans, EJB, CMP, BMP, DAO ... Where does it end? My demands are really simple:

      I want to write Java.
      I want to run it.
      I want it to create objects.
      I want to publish them with a name.
      I want to move them around.
      I want to save those objects.

      Specifically, I do not not want to write stubs, "descriptors", configurators, managers, contexts, and all that bloody damn scaffolding. I do not want to write some sort of object/relational mapping -- I have no desire to convert a working object oriented schema into a SQL schema when I will never be querying it via SQL. I want objects with remotability and persistence that if it isn't orthogonal, is at least trivial -- as in one operation to effect each, at runtime.

      Only product I've seen that does anything like this is Objectspace Voyager. Is there *anything* free that comes close to that functionality?

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
    2. Re:javaBeans vs EJBs by spike666 · · Score: 2

      i agree!!!

      somewhere along the way, java became this huge weird pain to deal with (ejb)... but i do like the DAO model. it seems to be flexible with regards to changing out data providers etc...
      i'm leaning toward running my stuff as javabeans called via servlet/jsps/struts... all under tomcat 4.x - i took a look at jboss and it didnt seem too well documented and all of a sudden i had like 6 additional ports listening, so i decided more research on it was necessary...

      but i'm gonna have to cringe at your reply cuz you said "orthogonal"

  56. Answer to the question: Idiots! by Anonymous Coward · · Score: 0

    "Who is Using Tomcat or Jetty in Production?"

    The same people that uses MySQL in production.

  57. DO RESIN! by slonlow · · Score: 1
    If you are looking for just a servlet container, Resin is absolutly the way to go. Nicities abound- include level caching, solid connection pooling, and my personal favorite- Auto Servlet and class compliation. Resin really makes things that **should** be easy, easy. The config file is a breeze, running as an NT service is a breeze, classpath is a breeze, pretty much everything is a breeze. If Tomcat was more like Resin, server side java would rule the world.

    Oh, and Resin is about 4x faster than Tomcat. See here

    --
    fanny. It's a different word in the united kingdom.
  58. Tomcat in production by Kintanon · · Score: 2

    We're using Tomcat on servers here to replace PHP on Apache. Eventually we're going to phase out Apache and use just Tomcat. It works great except for one tiny thing for us, there's no equivelant to htaccess. Which makes setting up restricted parts of our website a tiny bit annoying. But once you get the hang of the xml config files it's pretty easy. As for robustness, one of the sites we run it on gets a few hundred thousand hits to the same 3 or 4 webapps. I think it's great. But I can't give out the company name.

    Kintanon

    --
    Check out JoshJitsu.info for Brazilian Ji
    1. Re:Tomcat in production by Anonymous Coward · · Score: 0
      • But I can't give out the company name.

      We'll just watch for it on fuckedcompany.com.
    2. Re:tomcat in production by r0ckflite · · Score: 1
      Wow, that is some piece of work you did. I hope you submitted your script to the bug fix folks so they can include it in the next release. Why fix something when you can create a POS kludge to get your work done. Nothing like giving back to the community. Sarcasm mode off

      --

      Push the button Max!!!!

    3. Re:Tomcat in production by Anonymous Coward · · Score: 0

      Add something like this to your web.xml:

      <security-constraint>
      <web-resource-collection>
      <web-resource-name>Entire Application</web-resource-name>
      <url-pattern>/secret/*</url-pattern>
      </web-resource-collection>
      <auth-constraint>
      <role-name>secret-agent</role-name>
      </auth-constraint>
      </security-constraint>

      and something like this to your tomcat-users.xml:

      <user name="james bond" password="007" roles="secret-agent" />

      voila. Of course, you need to do other stuff for other things handled with htaccess, but mostly you can add those in the web.xml too. For instance, I used mod_rewrite to embed a session id in the URL.

      I added this to my web.xml:

      <url-pattern>/site/sessionid=*/catalog </url-pattern>

      and then extracted the sessionid from the ServletContext.

  59. How about Resin? by martinde · · Score: 2

    I've got no experience with Resin and not too much with Tomcat. (I've used JRun and Websphere in the past and I like them both.) Anyways, there is a company at my local Java Users group that really speaks highly of Resin - I think this is the link.

    Obviously it's not open source which isn't exactly what you're looking for. On the other hand, what I hear is that it is fast, stable, and inexpensive. ($500 per deployed server.)

    1. Re:How about Resin? by Jord · · Score: 1

      Actually resin is open source but it is non-free. It is not licensed under the GPL but it is still "open source".

  60. tomcat is great by Senjiro · · Score: 1

    We use tomcat in an ASP hosting 30 clients, as well as ship it with our software license. All told we have over 50 clients using tomcat, each with user bases in the 100k's. Tomcat has been very stable, reliable, and efficient. However don't ever hope to understand anything from the docs: "fixme" is printed more than periods. The tomcat-users mailing list is an excellent resource when the docs fail you.

    --
    Help, I'm being repressed!
  61. Just for the record... by Anonymous Coward · · Score: 0

    I honestly don't get why people are so hung up on Java on the server. This isn't intended as a flamebait, but mod_perl is a very fast, very stable and very powerful solution. There are tons of modules out there already on CPAN, and the stuff just ... works. True, you can write really bad code using Perl. Java tends to force you to do things a certain way, whereas Perl is more tolerant. But, if you know what you're doing, and know how to architect large systems, you can definitely write large systems using mod_perl. But everywhere I look these days people seem to mindlessly keep chanting "Java, Java, Java", particularly with relation to "enterprise". I know for a fact that there's nothing in the "enterprise" that is the sole domain of Java. It's just another language, but very successfully pushed by Sun. Sure, it works, and has a right to exist, and it'll get better. But I'm a little irritated that existing solutions such as mod_perl are relegated to the dustpile in many people's minds simply because of an outdated association with the slow cgi stuff.
    Ok, you can mod me down now for "offtopic". Just thought I'd try to add another perspective...

    1. Re:Just for the record... by alext · · Score: 2

      simply because of an outdated association with the slow cgi stuff.

      It's more than that. Even with mod_perl, you're still lacking the efficient thread support of a Java web app server - this really matters when your concurrency level starts rising and Apache starts running out of back-end processes.

      And Java has a comprehensive security model, handles in-flight update and redeployment better, includes centralized management tools, has straightforward session and clustering support in many implementations, flexible and efficient database integration, not to mention a healthy market in applications and tools.

      These are some of the reasons Perl loses out in big developments - it has some nice features of its own but these aren't generally considered as critical.

  62. We use it by JediTrainer · · Score: 1

    My company uses it (can't reveal name here - contact arozeluk at websoup period net directly and I can tell you)

    We replaced our application, an ASP/COM deal that was horribly unstable, with two load-balanced front-end servers running RedHat Linux 7.2/Apache/Tomcat. This setup's been in place since last December.

    Originally we started on Tomcat 3.2, then upgraded to 3.3. I'm in the middle of fixing up small things to make everything work correctly with Tomcat 4 (no major problems, just trying to take advantage of new features). But our production is still Tomcat 3.3 for the moment and it's been great!

    If you can, go with Tomcat 4 right away. While I've found both to be stable, Tomcat 4 seems to be faster and also has built-in support for JNDI database connection pooling. Big plus.

    Don't trust servlet reloading, though. I've had problems with it. Thus, no updates are made to our application during the day, which normally isn't a big deal. A quick FTP of new code at 2am, and a restart-by-crontab and the new code is loaded nightly.

    Tomcat 4 also attempts to preserve sessions between restarts. This is neat, but in a load-balanced configuration won't work because the user will be transferred to another server, so their session would be lost. It takes quite long to shut down and restart Tomcat 4, but in my environment it hasn't mattered any.

    I say go with it. It's been very stable for us, and if you email me I can give you further details about exactly what our app does.

    Note that there's pages out there which describe how it might be possible to replicate sessions between servers. I suggest you investigate this before starting. Until now I haven't had the time, but I will be looking into it shortly as it would solve the problem of needing to restart the application during the day for me.

    --

    You can accomplish anything you set your mind to. The impossible just takes a little longer.
  63. Sears by Vladinator · · Score: 1

    Sears uses them with wireless scanners for inventory control.

    --

    "Going to war without France is like going deer hunting without your accordion." - Jed Babbin

  64. Resin is the best by Anonymous Coward · · Score: 0

    Resin is the fastest server I know of. It's only $500, and the source is available. And capable of handling high loads.
    Orion is nice, but not as fast as resin, and is $1000.

    I think resin is the best choice. It's blazing fast and only 500 bucks. Start up in a second, and does have the dreaded classcastexception..

    Also for development it's by far the best because you don't need to restart it when you change classes (orion and others throw the classcastexception, they have some classloader quirks).

    I use resin in production and development.

  65. Running on Intel machines? by Brian+Stretch · · Score: 2

    Their position is that it will save them hardware costs to run on Intel machines instead of big IBM or Sun iron.

    You mean AMD Athlon MP machines, right? :-)

    1. Re:Running on Intel machines? by Anonymous Coward · · Score: 0

      i see... so you are saying that amd has developed its own archetecture (sp)??

      clever, i love how slashdot users will moderate up a post that has nothing to do with the subject in favor of brand-loving-hand-holding-goodness

      lets see what your little athlon/mp/xp/wtf-p can do against my sun4u cluster

  66. I think another issue is which *version* you use by DrLoveMD · · Score: 1

    My company (a financial institution using tomcat 3 on AIX servers) is still using older versions of tomcat to serve up our jsp's. The main reason we use an older version is simple: tomcat can be a bitch to configure We've had tomcat 3 working for about two years, give or take, and migrating from 3 to 4 could be a potential nightmare (there are some groups who have already tried it inside the company and spent many a weekend in the office scratching their heads). While I will agree that tomcat is slower than Apache, there are tweaks that you can do to prevent the webserver from crashing and to speed things up a little bit. One such tweak is increasing the default memory allocation from whatever it is set at (i think 64MB) to 256MB(or whatever you see fit). Granted there are problems in doing this, too, but it does speed speed things up in most instances. Just make sure you have your stressball handy next time a nullPointerException rears its ugly head... :)

    --
    "How it infuriates a bigot, when he is forced to drag out his dark convictions"-- Logan Pearsall Smith
  67. Re: Who is Using Tomcat or Jetty in Production? by Anonymous Coward · · Score: 0

    I've deployed a complete production setup using apache with mod_ssl as front-end and using apache 4.x in the backend with PostgreSQL 7.2.x all under linux.

    first off, our production server software costs were 0. this is nice.

    some folks may say apache, or tomcat or postgresql is slow. well, the vast swathes of cash you save on server licenses you can stick into decent hardware. in this case, our boxes are quad processor machines. slow? no, they are not. rock solid, very fast and easy to maintain.

    so basically, if stuff runs slow then use a faster machine. works out cheaper. besides, i like tomcat a lot.

  68. Resin rocks by ssajous · · Score: 1

    Compiles on the fly, the help is in english (unlike tomcat). There are usefull forums with people who have the same issues that you may have, installs easy as a services, compiles on the fly, easy to configure (once again thanks to the help).

    I personally think that Tomcat is one of the reasons why the Open Source movement gets a bad rap. Yeah it's free but what good would a free airplane do me if I had to fly it myself but could not learn how to fly?

    The support sucks! might as well have the help written in Russian. If you are not an advanced user you will not get it working easily.

    No one wants to bother with spending hours setting the app up, people want to to code and put up the web sites ASAP.

  69. Navy by jonasson · · Score: 3, Funny

    I've heard good things that the Navy has been using Tomcats in production use for quite a while now. They even made a movie about it.

    1. Re:Navy by "Zow" · · Score: 2

      Yeah, I saw that. Seemed to me that the Tomcat was pretty impressive, but when it crashed, it crashed hard, and all your development just went up in smoke. Not to mention that it killed one of the admins. I don't think I'd want to put something like that in a production environment.

  70. Watchfire's FeedbackXM is Tomcat-based by ab762 · · Score: 2, Informative

    I work for Watchfire a leading maker of website quality management software. One part of the suite is FeedbackXM, a user feedback survey system (of the survey button on the web page / pop-up survey kind.)

    FeedbackXM uses Tomcat as an application server. This information is in the customer documentation.

  71. a production site using tomcat by norwoodites · · Score: 2

    http://trafac.chmcc.org

    It is a bioinformatics web site for finding promoters in DNA sequences.

    I did not design it, I work on it though (use and develop it).

  72. We are standardising on Apache and Tomcat by Ice+Tiger · · Score: 2

    Won't put our company name on here(it is a large UK health insurance company), but we use apache and tomcat for all our large scale web apps. For example we saved huge amounts of money by fronting our legacy middleware product with an app that you call using XMLRPC and it sits on Apache and tomcat on a Sun E10k domain. For performance it handles about 30 requests per second and about 1.2 million calls a day.

    The reason for this combo? It works, we tried other products and they couldn't handle the load, and when you dig deep then the parts we were using were old versions of Apache and jserv or tomcat! :)

    --
    "Because we are not employing at entry level, offshoring will kill our industry stone dead."
    1. Re:We are standardising on Apache and Tomcat by alext · · Score: 2

      I don't mean to jump down your throat, but from your description, and having just wrestled with a big Apache 1.x-fronted site, this sounds like one of the least appropriate environments for Apache+Tomcat.

      Apache 1.x handles concurrency very poorly, and transactions which take longer than simple static pages (such as XMLRPC ones going to a database) can quickly highlight the problems - suddenly your pool of 50 Apache processes looks mighty feeble faced with massed ranks of users out there whacking their submit buttons.

      In this environment, something like WebLogic really shines because it handles concurrency in a scalable and easily configurable manner, plus with nifty things like WebLogic Workshop, you get to build Web Service components with a fraction of the effort of Apache SOAP or similar setups, comparable with Microsoft Visual Studio .NET in fact, if I'm allowed to mention the evil empire.

      The WebLogic world is evolving pretty quickly these days - get those BEA salesmen to earn their commissions by keeping you up to date.

      [Disclaimer: earns living working with WebLogic]

  73. My Experience by Anonymous Coward · · Score: 0

    I've deployed Tomcat 4 in a fairly large corporate intranet and had relatively few problems with it. The main issues I encountered were its flakiness in integrating with the Apache http server. My goal was to use Apache for serving up the static html pages and then using the mod_webapp connector to forward jsp requests to Tomcat. This was frustrating in that the documentation for doing this is very scarce and I also encountered some stability issues. What I ended up doing was bypassing Apache altogether and serving up everything using Tomcat (99% of the pages were JSP anyways).

    Hopefully they've resolved some of these issues since the 4.0 release.

  74. Not exclusively but want to by iajo · · Score: 2, Insightful

    At NetDoktor A/S we use Tomcat/Weblogic currently to run our Java platform. We're deseperatly trying to gain time to look at JBoss to see if we can kill off Weblogic.

    So I'd like to stand forward and say, yes we use Tomcat, and yes it's been in production so long we'd never consider Weblogic as a JSP/Servlet container.

    /Ian

  75. Use JBoss/Jetty, not Tomcat... by Anonymous Coward · · Score: 0

    (Anonymous because I'm not entirely sure what of this is appropriate to disclose from the company I work for)

    Tomcat isn't even remotely production worthy. Performance is absolutely horrid, to the point where we rarely even use it for development (although personally, I do...).

    We've found that JBoss/Jetty running a very large enterprise application (gig+ of ram usage, page rates in excess of 100/sec, nearly 40 meg of compiled java code) holds its own with all the other expensive app servers we've tested (WebLogic, WebSphere, etc)... Most of our customers use WebLogic, because they are Fortune 100 type companies that already have site licenses, but all of our internal ASP hosting, all our pilot and demo systems, and 90% of our developers run on JBoss/Jetty.

  76. tomcat in production by Anonymous Coward · · Score: 0

    haha, we use it in production but had to write a little script to restart it every 300 connections or so cause we had problems with it clearing out old/unused connections... have fun!

  77. real cost of bea by wheel · · Score: 1
    like Tomcat in place of BEA where we can (if all we want is JSP why pay a huge cost per server?).

    Actually, it's not just per server -- it's per cpu which can get expensive in a hurry if your loadballancing accross a couple 4-cpu sun boxes.

  78. I run Tomcat in production by Simon+Brooke · · Score: 3, Informative
    ... and so do many of my customers. This may not be as good an endorsement as it sounds as none of the sites concerned is particularly high traffic and performance isn't really a big issue. However I've also tried JRun (fundamentally broken and useless), BEA WebLogic (huge, over-complex, bloated) and Jigsaw (very nice for small installations but last time I used it didn't yet support Servlet 2.2).

    I would have no hesitation in recommending Tomcat for low and medium traffic sites; I don't really know enough to recommend it for very high traffic sites.

    --
    I'm old enough to remember when discussions on Slashdot were well informed.
  79. Try Resin by peterdaly · · Score: 5, Interesting

    I run two production Servlet Containers. One is Tomcat 4.X, the other is on Resin. While Resin is not open source, the cost is only $500/server, which is quite low by J2EE standards. I believe it is free for development, but I could be wrong.

    I tried Resin since I have heard "buzz" about it in message forums, and now can't say enough about it myself. Tomcat has a lot of quirks with reloading updated war files, reloading modified JSP's, etc. Resin does not have these problems, and I believe is much better suited for a non-stop production envirnment.

    In Tomcat, it is not uncommon for me to have to restart the container when rolling out updates where certain things have changed. In Resin, I can even add or remove a JDBC Connection Pool from the resin.conf file and have to pool rolled out or back without any additional intervention from me. In short, it just works. Not only does it work well as far a few (if any) glitches, it is VERY fast as well.

    For a commercial envirnment, I suggest you try Resin just to see if you find the value it adds over Tomcat worth it for you. I did.

    -Pete

    1. Re:Try Resin by AndyMan! · · Score: 2, Informative

      I agree about Resin. We run it exclusively on our production machines.

      It is "sort-of" open source, you can see the code, make changes, just not redistribute it. The makers of resin (caucho.com) are very good about taking good code, though...

      Development licence is free, and production licence is $500 / server.

      Resin blows both webLogic and tomcat out of the water.

      _Am

    2. Re:Try Resin by lobsterGun · · Score: 1

      I too agree. We used Resin where I used to work. I was a solid product.

    3. Re:Try Resin by slagdogg · · Score: 1

      I couldn't agree more -- Resin is fantastic (faster than Apache for static files in my tests). I use it exclusively for all of my servlet application deployments. altavista.com is running it, which is a pretty strong endorsement.

      --
      (Score:-1, Wrong)
    4. Re:Try Resin by Anonymous Coward · · Score: 0

      So. What you are all saying is. Closed source kicks ass over open source? On /.? Course anyone with a brain realizes that this is often (Though not always) the case. But saying so here will get the snot beaten out of you.

    5. Re:Try Resin by Anonymous Coward · · Score: 0

      Resin isn't really "closed source" because the source is available (under a "developer source" license).

      It's not "open source" either, because it's not "free as in beer". (Because "free as in beer" is a rotten business model.)

    6. Re:Try Resin by Anonymous Coward · · Score: 0

      Please try to avoid loaded terms like "sort-of open source". The term that's been is use since the 80s for such products (which are very common in the Unix, military/governmental and engineering world) is "source-available proprietary"

  80. My project is by bokmann · · Score: 2

    We are using JBoss and Tomcat in a production system, deployed in the government offices of 9 different governments.

    For more information, see www.trackernet.org

  81. Tomcat and Documentum by Anonymous Coward · · Score: 0

    Documentum, a very large purveyor of high-end content management software, says they will begin shipping Tomcat with their v.5 products in November. They are converting from a proprietary macro language and preprocessor to JSP for all of their web interface functions. Customers who already run either ASP or an app server like BEA or WebSphere won't have to use Tomcat.

    IMHO, that's a pretty significant endorsement. Unfortunaely, all the v.5 and Tomcat info is in their developer site which requires registration with a prodcut key.

  82. Sun Application server by maitas · · Score: 1

    Sun's new Sun ONE application server has a free Liux version (I think it's in beta, but you can ask Sun for a copy). Although TomCat is a good implementation, Jboss is way faster. If you want support, go for the free Sun ONE application server.

    1. Re:Sun Application server by adamy · · Score: 1

      Suns app server is an also ran, with regard to EJB. It uses Tomcat for its Servlet stuff.

      --
      Open Source Identity Management: FreeIPA.org
  83. Use Resin by alienmole · · Score: 2
    They say use Jetty (except for the ones that say to use Resin).

    Here are some good reasons to use Resin:

    • Fast, reliable, scalable
    • Easy configuration
    • Full source code provided under a "Developer Source" license, which makes it competitive with "free" products, at least from a commercial perspective
    • Development use is free - no licences need to be purchased for development and testing purposes. Runs well on Linux as well as Windows; latter can be useful for test deployments on developer machines
    • Inexpensive to deploy: $500 per server for the JSP version, $1000 for the EJB version; additional for priority support options.
    • Commercial support - see their pricing page.
    Here's a testimonials and customer list which includes some pretty big names.

    Despite any appearances above, I'm not associated with Resin, except as a customer. I first heard about it here on Slashdot, a couple of years ago. We evaluated it and eventually switched a number of applications from both Tomcat and commercial servers and have never looked back.

    Other servers that might be worth looking into are Orion and JBoss, but I don't know how they compare on some of the points above. The availability of commercial support from the vendor can be a clincher, and the source code provides some insurance against the vendor disappearing.

    I agree with all the cautionary comments about Tomcat, although we haven't worked with it for some time now.

  84. Tomcat is Cisco's preferred env. by vanguard · · Score: 2

    Cisco is working towards moving all their web based applications to tomcat. Just about all their new applications are being written there.

    Tomcat works for us. Regarding speed, if everybody says it's slow then maybe they're right. However, in my experience it's the database interaction that's slow, not the java code. Tuning the query can cut seconds, tuning the java cuts milliseconds. It's hard to fuss too much about the milliseconds when there is low hanging optimization fruit to be found in the sql.

    Vanguard

    --
    That which does not kill me only makes me whinier
  85. Tomcat is OK, but ... by HansMoser · · Score: 0
    ZOPE is better.

    I 'm using Tomcat for an old JSP-Application. It is rock solid. For new Web-Application-Development, the ZOPE-Framework is much easier to handle.

  86. Enough Tomcat Bashing... I have proof it works! by md17 · · Score: 3, Informative


    I manage a few servers...
    1 Apache box on an Ultra 5 (Slow sun box typically used as a workstation)
    1 Tomcat box on an Ultra 5
    I use mod_jk and hide the tomcat box behind the web server. This adds a nice layer of security and lets Apache process .html pages.
    In total I have 5 instances of Apache, ~100 instances of tomcat, and ~150 web sites. The apache box sustains about 2MB/s and about 400k/s gets sent to the Tomcat box to deal with. I have had very few problems with Tomcat 3.3.
    If you need some redundancy I would recommend using the mod_jk load balancing. It works very well and is simple to setup.

    My advice: Don't litsten to all the Slashdoters who gripe about anything to do with Java, give Tomcat a try. It works for me!

    BTW: If you want to get into J2EE stuff, absolutly use JBoss!!! It rocks!

  87. BEA's New Clothes by dgenr8 · · Score: 1

    Wow, the posts so far really bear out your point -- a lot of long-winded opinions but in 115 posts, only one mention of actual production traffic.

    Go for it. I have been running tomcat in production on a public site for 2 years. Currently it's getting half a million hits a day and purring along at 3% CPU usage per Xeon. Over half of these are dynamic .jsp's that talk sockets to the back-end (no database -- use Slashdot for your example there).

    Tomcat 3.3 was an improvement over the last 3.2 update. Haven't tried 4.0 in production yet.

    BEA has no clothes!

  88. What middleware by Anonymous Coward · · Score: 0

    We are also using BEA weblogic, and we would like to move to Tomcat or JBoss, However we also use Tuxedo.

    What opensource alternatives are there for Tuxedo?

  89. Just look at Netcraft by BoomerSooner · · Score: 1

    That should help, although I think they bundle Tomcat-Apache with Apache only. However the web server is apache in my understanding?!?!

    I could be wrong however (as my wife frequently points out! lol).

  90. Why not consider Orion? by Clay+Mitchell · · Score: 1, Flamebait

    I've seen a couple mentions of it, but here's a full fledged endorsement. If you hang out in #java in efnet, they pretty much unanimously recommend Orion or Resin, with the majority going to Orion. I've been using it for 6 months now.

    It's ridiculously easy to set up (moreso than Resin)

    it's fast, faster than weblogic/tomcat/resin

    it's stable (I've had it running it (http://www.squabble.org) for that 6 months execpt when I moved it's server a couple months ago)

    it's cheap. It's not free (as in beer or as in source) but it's a heckuva lot cheaper than Weblogic, and the development licenses are free.

    for those of you who don't like Tomcat's start up times, it takes all of about 5 seconds to launch and you can redeploy a webapp simply by touching it's web.xml

    Anyway, it's a great app. Give it a look.

  91. Not quite.. by ktrapszo · · Score: 1

    Tomcat is good as a JSP engine, it will not replace what BEA does for you.. If you want to replace weblogic with open source, look at JBoss which uses tomcat as a JSP engine.

  92. From the lab by coldtone · · Score: 1

    Wow talk about timing,

    Right now I'm in an IBM lab doing performance measurements of a webapp I've written, hosted by tomcat 3.3.1. Tomcat is running on 2 p660 6way systems with about 8 gigs of ram. Run AIX. This has been my experience so far.

    Basic JSP responses are quite good. (Simple JSP page response times are about 4 - 15ms, with the more complex servlets taking about 100ms.)

    The tomcat threading is very, very nice. All of the processors have even load.

    Also Tomcat is so easy to install! On any platform. (I've installed on Windows, Linux and AIX. All are a easy.) Set JAVA_HOME and TOMCAT_HOME and your done.

    In short tomcat is production quality. I wouldn't hesitate to use it.

  93. you're confusing "app server"... by MORTAR_COMBAT! · · Score: 2

    with "servlet container" and-or "JSP container". both tomcat and jetty are fine examples of servlet and JSP containers.

    an app server, i.e., a server which serves up J2EE applications, is more generally thought of as a combined servlet, JSP, and EJB container. BEA, IBM WebSphere, etc, and JBoss are the real players in this space, but Oracle has their own app server rolling along now too. FYI, JBoss ships both a Jetty and Tomcat distribution.

    Tomcat is the reference implementation for the Servlet and JSP container APIs. This means it is absolutely the standard. While Jetty is great for being "lighter" weight and more easily embedded, Tomcat would have to be my choice for "open source" servlet and JSP container.

    --
    MORTAR COMBAT!
    1. Re:you're confusing "app server"... by Anonymous Coward · · Score: 0

      "app server"... nice buzzword. Get a fucking clue.

    2. Re:you're confusing "app server"... by MORTAR_COMBAT! · · Score: 1

      (taking the troll bait:) interesting. seeing as how I write applications for "app servers" for a ton of money, and it is interesting enough work to keep me happy and employed, I think I have a "clue". it ceases to be a buzzword when it pays for your house and car.

      (troll bait for the troll:) at least I can figure out how to log in before posting.

      --
      MORTAR COMBAT!
  94. Lack of good benchmarks makes it tough to decide by MCRocker · · Score: 2, Insightful

    The problem seems to be that it is extremely difficult to benchmark such servers. Greg Wilkins, one of the primary authors of Jetty, explains the issues fairly clearly in a response to the Jetty Benchmark thread on the jetty-discuss list.

    In addition, experience shows that J2EE application optimization is not as straight forward as other Java applications, so it is easy to get radically different performance results from a servlet with only minor tweaks. There was a wonderful presenation at JavaOne 2002 San Francisco about servlet optimization (link for atendees only). Among other things, the author demonstrated. a simple 6 line "Hello World" servlet that is written in standard style, yet can be made to run 3x faster with only minor tweaks. He also shows that testing under load reveals that servlets can behave much differently under load and that the only way to really write fast and reliable servlets is to write them as you normally would and then test them mercilessly.

    My conclusion is that you can't believe any of those published bechmarks, they're mostly biased marketting crap (everybody's benchmark seems to show their product is fastest). What you really need to do is load up multiple servers and configure them to do what you need them to do and test them under load to see how they perform in your environment. I know it's not what you want to hear, but since there are so many features that have varying performance, it's the only way to really find out.

    --
    Signatures are a waste of bandwi (buffering...)
  95. We use Jetty by tSade · · Score: 1
    At our tiny little webhosting company (whichmall.com, 15/month, 150/year), we use Jetty to do our theme engine and the back end for the shopping cart, etc. I started with Tomcat/Apache, but had trouble with the virtual host setup and the various domains (Apache wouldn't behave), so I tried a few other things.

    Eventually, I found out about Jetty. One of the major advantages of it is the deploy setup is very nice (drop the .war or .ear file into a directory and it works) and the integeration of the EJB container with the webserver (no RMI). We've had very good uptime (months) with Jetty and very few memory-style leaks. Now, I'm sure Tomcat has a good deploy, but I could never get it to work. Also, Jetty has a nice interface for handlers, to handle SSO (single-signon) before displaying the page, which makes it worth it.

    So, my vote it Jetty (and Postgres and Xdoclet and Emacs, but that's beside the point).

    --
    --- My novel, The Mummy's Girl is now for sa
  96. Tomcat for Production by Anonymous Coward · · Score: 0

    One company I used to work for, Saepio, uses Tomcat exclusively for production. Haven't had any performance problems. After some Java code tweaking, they actually got the performance better than mod_perl for parts of the application.

    http://www.saepio.com/

  97. My company will be by JaseOne · · Score: 1

    Can't give their name at this stage, we're only small anyway but prior to me arriving they were using JRun 3.1 exclusively for our Java web app that is purely servlet based. I was studying Java at the time so I pulled down Tomcat, did a bit of configuring, packaged our app to the J2EE standard, deployed it and voila. From my experience performance with Tomcat 4.02 is on a par or even slightly better than JRun 3.1 on Win32 based platforms. We are now supporting both Tomcat 4.02 and JRun 4 for production implementations, as we are selling a product we find some clients like to have a commercial product for the application server. I've also had a bit of a play with Tomcat 4.1 and hold onto your hat as that baby flies along, can't wait until that is released (my company won't tocuh it until it's released). As far as the support argument goes, when it comes to the crunch who is it that ends up solving problems? From my experience my company doesn't even goto Macromedia, yet that is some of the opponent's first argument "yeah but who is going to support it?", so I'm the first to stick up my hand and say I will just to placate them, if they have someone to count on (ie. blame) they are happy. We have found a few clients that actually embrace open source and are already using various open source products in production, which is quite nice to see to say the least. :) JaseOne

  98. A little name dropping here... by rgraham · · Score: 2

    But just last week at our local Java users group James Duncan Davidson, the original developer of Tomcat (and Ant), and he really didn't recommend using Tomcat by itself in a large enterprise type setting where speed is an issue. He said using Apache to help serve up static pages/images will certainly help but it is important to keep in mind that Tomcat wasn't built for speed, it was built to be a reference platform.

    On a side note Davidson is a good speaker and worth seeing if you get a chance to.

  99. Screw Lisp, use Forth... by Anonymous Coward · · Score: 0

    Hey boss, I think we should use Lisp for our new application...

    Why don't you just use Forth?

  100. We use it.... by gfxguy · · Score: 1

    It's for a relatively small internal server, a few hundred users who, more often than not, will never use it - just a few people now and again.

    Works fine, though. We're happy with it.

    --
    Stupid sexy Flanders.
  101. Small World! We may have been on a conference by (H)elix1 · · Score: 2

    We may have been on a conference call a few weeks ago. Call it a hunch.

    Here is my take...

    I suspect you did a big cost analysis of the different Application servers out there. Looked at IBM, BEA, and a few of the other smaller players. Tomcat was listed, but written off. Things moving at the speed of business - the developers started building with Tomcat. Now there is lots of code and tweaking to Tomcat that may (may not) prove difficult to migrate. Additionally, it looks like your not going to worry about an EJB container for the first couple phases and focus on STRUTS instead.

    Tomcat works great for development. It works amazingly well for fewer than 100 concurrent users - and that really works out to a lot of people. The cost factor is less of an issue. The full blown EJB container / CORBA ORB / kitchen sink tend to cost a pretty penny.... but a strait JSP / Servlet container do not. Weblogic Express goes for a couple grand - and contrary to what folks my say, you can get decent support from them. (Just make sure you are the contact rather than someone on the "business" side). I guess I view the cost as irrelevant at that point. Take the time to benchmark and load test on a production box (sparc?) a couple different solutions. . Some of the commercial Servlet engines are very fast - at the expense of some bleeding edge features you may get with Tomcat. Figure out if runtime or development time is more important.

    That being said, yes... there are folks using Tomcat in production. I have seen tons of departmental stuff out there. Enterprise gets a little rougher - I've seen a few companies wedge it in.

  102. Re:How I introduced free software into my big comp by daffmeister · · Score: 1

    My former employer, a very large areospace company, was at one time very very much against any software that wasn't back by a "stable corporation".

    The excuse was that if something went wrong, my company could sue the pants off the software provider. Of course, they almost never did that - instead, they just wouldn't pay the bills until the provider complied with company demands.


    I hear this a lot but has anyone ever actually sued a software provider?

  103. Because code isn't free... by Anonymous Coward · · Score: 0

    First, let's get it out of the way... you don't have to use EJB's to get the job done.

    EJB's provide a "less code" solution towards writing business logic. That comes in four areas. First, they provide cached resources (like connections to a DB, or access to a message service). Second, they provide transaction support. Ever try to keep track of a transaction while in code and find you actually have two commits, not one? Third, they provide failover and lateral scaling abilities (more small machines equals better up time). Finally, they provide consistent run-time controls that allow the developer to distance themselves from the deployment platform.

    Can you do all of this yourself? You betcha. And if you want to prove how cool an engineer you are by writing it all yourself, by all means go ahead. If, however, you are on a deadline (like the rest of us) these things help. (And I personally like going home on weekends. :-) )

  104. Tomcat/Solaris by Tora · · Score: 1

    We use Tomcat on Solaris in a large production environment (10,000,000 hits daily). We use Solaris over Linux or BSD because it isn't any cheaper to run the Opensource options (consider v100 servers in a load-balanced server farm), and you get the benefit of a more robust OS. We also have a cluster which runs weblogic, and to be honest tomcat has a LONG ways to go to be comparable to some of the features of weblogic (such as session mirroring), but I believe it'll get there some day.

    --
    tora
  105. Anyone running Vignette V/6 by ldopa1 · · Score: 2

    Anyone running Vignette's V/6 Enterprise Application Platform is running Jakarta Tomcat. It's a prerequisite. You can of course make custom connections to another servlet engine, but it isn't supported.

    I don't have a customer list or anything, but there it is.

    --
    The Dopester
    "Yes, I'm a Karma Whore, but I'm doing it to pay my way through school."
  106. Use Resin if you care about performence by Codex+The+Sloth · · Score: 4, Informative

    Resin is significantly faster than tomcat. Catalina (Tomcat 4.x) has close the gap somewhat but if they still have a long way to go. OTOH, if cheap / stable is all you need then Catalina is a great way to go. FYI, Resin comes with all the source but is not free. Any of the EJB server will be total overkill and the overhead will soak you. And Websphere (at least the servlet side) is based on Tomcat (as is JBoss).

    --
    I am not a number! I am a man! And don't you ... oh wait, I'm #93427. Ha ha! In your face #93428!
    1. Re:Use Resin if you care about performence by Kerg · · Score: 3, Informative

      JBoss is certainly not based on Tomcat. We allow any servlet container to be plugged in to the server. Currently we support Jetty and Tomcat. -- Juha

    2. Re:Use Resin if you care about performence by King_TJ · · Score: 2

      I haven't done a whole lot with any of these packages on a corporate level - so take this with several large grains of salt....

      A while back, I was working on a project with a couple Java developers that required a Linux-based web server running a servlet engine.

      We went with Tomcat/Apache because it seemed like the most "standardized" option - and it was key that our application run under something fairly common/generic. (We had ideas of possibly selling the technology itself to a company interested in re-purposing it.)

      I quickly discovered Resin, and got permission from the author to use it free of charge while we were in this development stage (and not generating any profit). I liked Resin, and noticed it was fast -- but I also had some configuration hassles with it.

      We ended up cancelling our project before I had time to really dig into it very far - but it seemed that the resin service was a little bit picky about exactly where it was in the startup sequence on my RedHat server. Sometimes everything would boot, and then I'd discover Resin wasn't running. Launching it manually always worked just fine. If I juggled around what loaded before what in the runlevels, I could usually get it working - until I did some other RedHat upgrades. After that, sometimes it was suddenly "broken" again.

      I don't think I was the only one with these issues, as a search of Usenet uncovered several other people confused about errors they got that indicated Resin wasn't running.

  107. JBoss == Tomcat by Codex+The+Sloth · · Score: 3, Informative

    The servlet engine used in JBoss is Tomcat. Since he said he didn't need to do EJB (Servlets / JSP only) there is no value in using Tomcat with an EJB server added. That having been said, if I had to actually use EJB for something (shudder) I would use JBoss.

    --
    I am not a number! I am a man! And don't you ... oh wait, I'm #93427. Ha ha! In your face #93428!
    1. Re:JBoss == Tomcat by oops · · Score: 3, Informative

      No. JBoss 3.0 now comes with Jetty as standard. Check out the Jboss download page and the comment regarding Jetty as the default web server.

    2. Re:JBoss == Tomcat by betis70 · · Score: 1

      I think you missed the point. The original 'article' specifically said they did not need an EJB App Server. JBoss uses something ELSE (whether it is Tomcat or Jetty is not relevant) for the Servlet container, so suggesting JBoss to solve this guy's problem is not addressing the question. The parameters of the problem are such that JBoss has already been ruled out.

      We use Tomcat in production, but we are not expecting high client loads compared so the performance side of it is not as important. And we have been using it for a few years, but the other suggestions here have been interesting--I might have to look into Resin, Jetty, et al.

      --
      I forget...are we at war with Eurasia or East Asia?
    3. Re:JBoss == Tomcat by md17 · · Score: 2


      <sarcasm>
      You are right... Because using JBoss's:
      - Database connection pools
      - Better war file deployment handling (no restarts needed)
      - JNDI stuff
      - JAAS stuff
      - etc.
      Just has "no value"
      </sarcasm>

      JBoss is not just EJB! JBoss is the kitchen sink... It provides so much infrastructure that I save tons of time on every project. Plus even if I don't use EJB now, it is much easier to implement later.

      The only reason I can think of to not use JBoss is that it consumes a little extra memory.

      Give it a try

      Besides, if all you need is a web container, it's jmx... Pull out the mbeans you don't need. Yup, it's that easy.

    4. Re:JBoss == Tomcat by Codex+The+Sloth · · Score: 2

      Clearly I was confused about what servlet container JBoss used. I was pretty sure it used to ship with Tomcat but maybe I just got it confused with Enhydra which does.

      That having been said, there are alot of infrastructure tools available for Tomcat from Apache. Yes, you have to install them but the whole point is that they are not "the kitchen sink". The whole problem with BEA is that it is huge and bloated. The guy said, "I'm just doing servlets" and for that, JBoss sounds like it is overkill.

      Fundamentally, the benefit to using Servlets / JSP is not only platform migration but also being able to use different servlets containers without a rebuild. If you are using JBoss only features (or BEA only features) then you will be locked into that server vendor. If you wanted to switch away from JBoss now could you? If the answer is yes (because all the add-ons are independent of the container) then it would work in ANY servlet container and if not then you are hosed if you need to switch.

      There is no one servlet container to rule them all -- you have to be able to migrate easily (without a recompile) or you might as well be using ASP.

      --
      I am not a number! I am a man! And don't you ... oh wait, I'm #93427. Ha ha! In your face #93428!
  108. BEA no faster... by DoenerMord · · Score: 1

    Startup times are annoyingly slow. If we need to deploy a new context, then restarting tomcat brings with it a 30-45 second outage. But other than that, it's fine.

    Don't count on any BEA Weblogic outages to be any faster than this, though. In my experience at my company (Weblogic in production, Tomcat in development), Weblogic can take 5 minutes to shutdown and startup. It all depends on the number and complexity of your web application(s).

    There are also manager apps for Tomcat, (at least bundled with Tomcat version 4 and up) to re-deploy content without restarting, that are nearly instantaneous.

    Do keep in mind that Tomcat can't deal with EJB's, and so you'll need JBoss oran instance of Weblogic somewhere to handle those. But if you're just serving up plain JSPs, go for it. Tomcat is beautiful in its simplicity!

  109. I'm with the troll... by EEEthan · · Score: 2

    Maybe he's a bit rude, but I've never thought that Apache's configuration was a nightmare. Especially compared with another major free offering, which is configured with GUI boxes...

    1. Re:I'm with the troll... by Anonymous Coward · · Score: 0

      I can't think of another "major" free offering, nevermind one which is configured with GUI boxes. Jetty isn't what I'd call "major", but it is free and I don't think it has a GUI. If you mean IIS is free, in what sense do you mean free? Certainly not dollars. I paid $150 for my "free" version of IIS that comes with Windows 2000 pro and it can only serve like 5 pages a minute. An OEM can get Windows 2000 server for $699, but I'm not sure what retail is. Microsoft.com doesn't want to quote a price.

  110. Not quite there yet by gardol · · Score: 1

    Tomcat 4 is still in the 4.0.x stage, so I think sticking with Tomcat 3 is a more reasonable decision. However, according to a benchmark my company recently did, Tomcat 3's perfomance sucks compared to WebLogic.

  111. EJB's is what is missing by Anonymous Coward · · Score: 0

    Basically WebSphere is Tomcat with a bunch of extra stuff added on. We do a lot of Websphere stuff here and if you are just doing JSP then Tomcat should be just fine.

  112. Why performance by Hairy+Fop · · Score: 1

    There seems to be a real problem with techies choosing performance over conformance. I'll admit that tomcat is not the quickest. But it's cheaper, conforms better to standards and you will have no problem getting community support for it.

    Marginal performance benchmarks on app servers are rarely the biggest issue. The thing slows down more because of bad application code than implementation of the container.

    BEA may go 10% faster (probably 10% slower anyway), but that's not the main issue.

    Think sustainable standard interfaces (conformance) it'll save you money in the long run.

  113. Tomcat on AS400 by nicestepauthor · · Score: 1

    My company has thousands of stores all over the U.S., each of which has a small AS400. WebSphere 2.0 runs on this hardware (slowly) but later versions of WebSphere have too large a footprint. 2.0 will not be supported indefinitely, and it has poor support for JSPs among other things.

    AS400s are proprietary as hell and the cost of upgrading the memory in thousands of them is not something to take lightly.

    We tried running JRun and other products on an NT box and just using the AS400 as a database server. This works fine until you start running batch jobs on the AS400. At that point your servlets just get ignored. The problem seems to be that if the AS400 is running at full capacity then it ignores any requests coming from outside it. An AS400 with sufficient memory works fine as a database server, but again we didn't want to buy the memory.

    IBM's officially blessed solution involves running Tomcat on the AS400. We have found that it has a smaller footprint than even WebSphere 2.0, decent support for JSPs, and performance actually improves. We plan to roll out Tomcat chainwide.

    I'd be surprised if your boss wasn't willing to do some tests of various application servers to see which work and perform the best.

  114. Production, development, yeah. by dzawitz · · Score: 1

    At my old company Unanet we supported tomcat right along with JRun...as for development, I preferred tomcat. But customers could use either if they so chose. JRun was just a pain in the ass...

    Pretty sure they still support it, but I wouldn't know anymore.

  115. Tomcat in production by Anonymous Coward · · Score: 0

    One high volume server product that seems to use Tomcat (3.3) is Computer Associates' CleverPath portal product. At least one instance its in use is at http://www.ves.ws. Custom application development currently being done within the VES system (which is an education portal for the state of Massachusetts) is done with Tomcat (over iPlanet: the administration and performance were much better), and there are currently 3 applications hosted within the portal running on Tomcat.
    One comment: Tomcat without Apache (in my observation) is VERY resource intensive: my memory usage was greatly improved by front-ending with Apache 1.3.26.

  116. Complementary by Martin+Spamer · · Score: 5, Informative


    There seems to be a lot of confusion about what Tomcat, Jetty, JBoss and J2ee App-Servers. They are not really competative but complementary products. A Java AppServer is composed of [at least] three main components. The HTTP deamon, a Servlet/JSP container and a EJB Container.

    Jetty is a primarily HTTP deamon, it is designed to handle HTTP request in a scalable manner.

    Tomcat is a Servlet/JSP container, it implements the Servlet API it provides limited HTTP handling and no EJB support. Tomcat is highly reliable more so than most commercial 'industrial strength' App Servers. On the performance side; the Tomcat 3.x architecture is not hot but is adequate for many applications, all but the heaviest loads. Tomcat 4.x is significant better in this regard, because it includes an enhanced HTTP deamon.

    JBoss is an EJB container which uses Tomcat 4.0 as it's HTTP deamon and Servlet container.

    1. Re:Complementary by Furry+Ice · · Score: 2, Informative
      Sorry, but some of what you post is misleading.

      Jetty does serve HTTP, but it's mostly a servlet/JSP container, just like Tomcat. It actually uses Jasper, which is the JSP implementation from Tomcat. It has a very nice and fast servlet implementation, however.

      JBoss 3.0 bundles Jetty by default, but builds with Tomcat bundled are also available. Prior to 3.0, JBoss was available without any servlet container, but packages with Tomcat and Jetty were available; the Tomcat builds were the most popular.

  117. Details? Re:weather.com is now exclusively Tomcat by Anonymous Coward · · Score: 1, Interesting

    please provide more details on the setup. eg. what type of RDBMS, if any, are you using? how are the boxes arranged for load balancing, clustering, etc. which flavor of linux?

    we're architecting a large ASP product and considering a linux/apache/tc solution. any more details would be very helpful.

    thanks!

  118. Tomcat is slow by Anonymous Coward · · Score: 0

    Why use BEA over Tomcat? The performance of Tomcat is pitiful.

    Rather than pay $35K per server, though, you could go with one of the low-cost Java application servers like Allaire/Macromedia JRun. It's under $1k per CPU and it's more than twice as fast as Tomcat, rivaling BEA in features and stability.

    1. Re:Tomcat is slow by gwhalin · · Score: 1

      Tomcat can be tuned if you spend some time with it. We get very usable performance out of it.

      Greg
      greg@whalin.com

      --
      Greg Whalin
      greg@whalin.com
  119. Jetty/JBoss for production by xyzzy-ladder · · Score: 0

    Works easily. We have been using first Tomcat/JBoss, now Jetty/JBoss, for over a year in production. It's fast, stable, and totally free.

    Never had any problems deploying ear files built in Sun's RI to JBoss - no changes necessary. We're using 2.7, and we've got 3.0 in a testing environment right now, which we will probably move to - hot deploying new databases is very nice.

    JBoss is more than just EJBs - connection pooling, naming services, messaging - it's a full J2EE stack.

    --
    There are two types of people; those who divide people into two types of people, and those who don't.
  120. Where is Tomcat used? by ericman31 · · Score: 2

    Check out Computer Associate's portal product, CleverPath. It uses Tomcat as its application server. My company is testing CleverPath right now for deployment as a B2B portal for our customers.

    If I were you I would let somebody else do the heavy lifting on benchmarks, where it's in production, etc. Contact CA, tell them you are thinking about deploying their portal and you want to know where it's in production and what the benchmarks are. Since CleverPath can be deployed with a third party app server (BEA, WebSphere, Sun ONE) you need to specify a native deployment for the reference customers. Since you know that the app server architecture is built on Tomcat you will have good references for Tomcat that you can use to demonstrate its abilities, or lack thereof.

    --
    In my universe I'm perfectly normal, it's not my fault you don't live in my universe.
  121. Tomcat with Autonomy by shftleft · · Score: 1

    We use Tomcat/Apache/J2EE in a production environment here with Autonomy's Portal in a Box. We've found that it performs much better than a Win32 install with the same hardware and specs. Tomcat, however, is much harder to configure and get working with proprietary software than say New Atlanta's ServletExec, which I found is much easier to configure and install. But once it get's going, I think Tomcat is as rock solid a server engine as any other.

    --
    People who have witty things here blow.
  122. Quality Servlet/J2EE Platform (Not Tomcat) by Anonymous Coward · · Score: 0

    I cannot endorse the use of Tomcat as a deployment platform. Both from my experience as a user, and as a sysadmin/developer. My primary gripe with Tomcat is speed. Both from a DB perspective and general execution. Stability is also a big issue. If you ask someone if they have seen a "Tomcat java.lang.NullPointerException" in a production system, you might be surprised how many people say yes. JRun is to be avoided at all costs. I'd suggest using Caucho's Resin. It's 500 dollars a license, there is commercial support, load balancing, J2EE and most of all you will be able to reduce your hardware costs becuase it is so fast. Performance tests have shown that it's faster than any other servlet J2EE container out there. I have deployed it in a production environment and have never had a single complaint. Resin will also restart the servlet engine if there is a dump either by the JVM or Resin itsself.

    - My Two Cents

  123. Tomcat in production sucks!! (alas!) by dario.lupi · · Score: 2, Interesting

    Ok guys, that's my experience. We had bad results with tomcat, our group of linux boxes (4 biprocessor pentium class machines RH 7.1) had big problems only with 60.000 pages on a day. What I appreciate less was the Tomcat ungraceful behaviour under stress. One moment all is Ok, after some seconds it starts trashing. We changed the code, installed Resin and achieve to serve 500.000 pages on a day with only 2 servers!!! Tomcat version was 3.2.something... Good luck!

  124. Use Resin instead by tarkil · · Score: 1

    my company started development with tomcat and it worked well. we then moved it into production and it started to choke as we added more sites and more traffic. memory usage became a real problem (even with only 20-30 sites and 1.5GB of RAM). our application is more complex than most so perhaps you won't run into the same problem. We switched to resin (http://www.caucho.com) and have been extremely pleased with performance and support. It's relatively cheap ($500 as opposed to $40k for websphere), and it's opensource.

  125. Free, but a reference impl. by Anonymous Coward · · Score: 0

    Tomcat is an excellent reference implementation written by some talented people. That being said, think long and hard before you deploy mission critical apps on a reference implementation for two main reasons:
    - speed.
    - reproduction of any errors/ill-thought out concepts in the spec.

    I dont have much experience with Jetty, but consider taking a look at Resin http://www.caucho.com
    Its fast and it cost $500/server (flat fee) with source code and free dev licenses.

  126. Tomcat as a viable Content Gateway by kyoko21 · · Score: 1

    At my last job, we used Tomcat to serve out servlet pages that were requested from Set Top Boxes that were used as a form of Electronic Programming Guide. It was fast though the previous versions of Tomcat that we were using (granted it was still fairly new) was hard to configure and a lot of tweaking by hand. This was all later on automated when we wrapped the Tomcat inside a MSI installer and ran it on a Win32 platform. By then, it has gotten somewhat more stable than the previous version. That was the last that I had heard before I was canned.

  127. See For Yourself... by JohnA · · Score: 2
    Check out AnalystScan, a DB and JSP intensive site running exclusively on Tomcat and PostgreSQL. It's survived several mentions in the mainstream press, as well as a mini slashdotting.

    The only caveats I have for you are to be sure that you use the groovy built in connection pooling for your DB resources, and that you tune your JSPs before going into production.

    Good luck!

  128. Search Engine Fingerprint? by SEWilco · · Score: 1

    Do those tools include a standard file or string which can be looked for with search engines? Sites might change those to avoid leaking information, but some default installations could be detected.

  129. Using it. by Anonymous Coward · · Score: 0

    We're using it as a frontend to a _big_ Telcom system.

  130. Apache is a configuration nightmare? LOL! by zaqattack911 · · Score: 1, Insightful
    No offence but if you find apache a "configuration nightmare", then perhaps you are in the wrong business :)

    Just a thought.

    --Me

  131. Same Position by tweakt · · Score: 2

    I was volunteered to evaluate application servers to replace what we had been using (New Atlanta's ServletExec).

    Their main interest is in speed and scalability... and the $0 pricetag of Tomcat is also of interest to them (though not critical).

    I've been testing Tomcat as well as Caucho Resin (www.caucho.com) and have found Resin to be much faster and feature rich, but my bosses are actually pushing for Tomcat because it's open source and free. I think mostly also do to the (hopefully) larger installed base so peer to peer support will be more of a reality.

    BTW: Does anyone know a decent... free package that can script through a complex website (logins cookies, javascript) and load it down to test for performance? They want to see numbers of both of these and I have till friday!! eek.

  132. Using Tomcat & JSP's ? Probably illegal. by Anonymous Coward · · Score: 0

    And, for those using Tomcat and JSPs, you are probably doing something illegal.
    That is, if you use javac to compile the JSPs, which is the default for Tomcat.
    Go ahead, read the j2sdk license, you are not permitted to use the j2sdk for such (commercially) purposes.
    Using Jikes as the compiler is ok.

    1. Re:Using Tomcat & JSP's ? Probably illegal. by Anonymous Coward · · Score: 0

      That is out of date, look in the JRE readme for javac

  133. Resin in a production environment, plus GLUE by eyefish · · Score: 4, Interesting

    We've tested both Tomcat and Resin, and decided to go with Resin for several reasons.

    First of all it is very stable and very fast. And secondly, it has a very comprehensive way to do clustering, fail-over, and distributed sessions management.

    In just a couple of minutes you can set it up to cluster with several copies of Resin, each residing on a separate machine, on the same machine, or even in the same VM. You can even set up a Resin container to be a backup of another Resin container in the same machine, so you get both inter-machine and intra-machine failover.

    You can also do distributed sessions in several ways (with TCP messages, database storage, etc), and you can even force a user session to stay within the same Resin container out of a clustered group.

    As for Web Services, we heartly recommend GLUE from The Mind Electric. It's bar-none the absolute best (in terms of speed, stability, and easy of use) Web Services toolkit available for ANY platform. It puts Microsoft's .Net to shame, and it's way easier than offerings from IBM, Sun, Bea, Borland, or the Apache/Tomcat efforts. It's so easy to use that already you can make your *existing* applications be Web-Services compliant without re-writing or re-compiling them!!! You just tell GLUE which classes and methods will be exposed as Web Services and it automatically generates WSDL and starts listening for SOAP clients!!!

    As for a database, try the latest non-beta version of mySQL. It supports row-level locking, full transactional support using innoDB, and it is fast (specially considering its price). (Note that postgress is also a good alternative).

    Note that like many here, I also agree that Tomcat and JBoss are great solutions to your needs, so if your boss definitelly cannot be convinced otherwise, I think you'll be fine with Tomcat at least. I only advice you to design your applications in a way that they can cluster, so that you can increase performance easily by adding more Tomcat servers to the mix.

  134. [OT Sortof] And What Do I See... by CowboyBob500 · · Score: 1

    ...on the topic list page?

    An advert for Visual Studio .NET

    LOL

    Bob

  135. Tomcat AND Jetty by tubaman24 · · Score: 1

    We're using both Tomcat and Jetty in our environment. They're both packaged as part of commercial products. Unfortunately both have to run on the same server. Two Java web servers on the same machine (yech!)

  136. More Production Tomcat by bobaferret · · Score: 1

    The company I work for is putting [some state]'s circut court data online. We handle about 13k searches per day, only 8 counties are up so far. We have used tomcat exclusively with great results. At our current peak during the day we have about 1000 hits per hour on a little over 1 million court cases. Obviously this isn't much in the grand scheme of things, but tomcat has been quite solid. This thing that we have found to be the best feature so far are the tools that are available for working with tomcat. OptimizeIt suite, Netbeans, Ant. There are RPMs out there that set up tomcat4 as a service runinning under a non-root user, and vastly improving setup.

    We love it,
    -jj-

  137. I did an evaluation of Tomcat 3.x and 4.x by Anonymous Coward · · Score: 0

    Over a year ago I looked at Tomcat and found that it works ok, and the speed of 4.x was ok, but it was a real pain to hook it in to Apache.

    All I wanted to do was run JSP's. I wasn't looking at EJB's or even coding my own servlets. (Yes I know a JSP becomes a servlet, but what I mean is that I never plan on using one of my own servlets).

    One thing that you need to consider is that Tomcat kinda sucks as a web server. You will probably want to hook it in to Apache. I hope that it hooks in to the 2.x series of Apache, but I don't know. I do know that it is a real pain to hook it into Apache 1.3.x. What I found is that you generally want you web server to be able to handle all kinds of weird stuff like PHP, Perl, SSL, Virtual Domains, and not to mention good logging and administration. Tomcat was never designed to do that.

    I chose to go with resin http://www.caucho.com. It provides a FAST JSP/Servlet runner and it is a SNAP to hook in to Apache. The thing is solid as a rock and it cost less than $1k. You get good support from a company and I was up running in less than a few hours. I spent a couple of days getting JRUN/IPLANET/WEBSPHERE/WEBLOGIC and Tomcat running.

    For us it came down to Jrun, Iplanet, Tomcat and Resin.

    Here is my opinion of the products for our company that does less than 1000 transactions a day.

    Jrun - Good product, but the Linux version seemed imature at the time. Also, I am not sure what their long term strategy is with Java.

    Iplanet - Version 4.2 was just out. I had numerous issues with this product. I would not use it. The only nice thing is that it does provide a good web server with the JSP/Servlet runner for around $1,500.00

    Tomcat - 3.x 4.x - It is a reference implementation. It obviously is being used by some businesses in production, but the product as a whole was not designed to run this way. Although you only need to do an initial setup once, it will be a real pain. Don't use this as your primary web server!

    Resin - Is not J2EE certified, I believe it can to CMP Entity bean, but so what. The thing ROCKS, solid as a rock, easy to setup and cost nothing for development and only around a grand for production.

    Hope that this helps.

    p.s. I did look at JBOSS also, but that was well over a year ago. I would have to give it serious consideration now. Our company is just getting starting with some EJB development and because of that constraint, JBOSS will probably be the way we go.

    My development environment is Oracle Jdeveloper 3.x and 9i on Win2k. I have had no major issues moving code from my development box to test and production. The JSP front end stuff is done with DreamWeaver Ultradev 4. BE VERY careful about what HTML editor you use, a lot of them will delete your JSP code in the page when you move objects around! Some of them like HotMetal Pro won't even work with it.

    If anyone knows of a good WYSIWYG HTML editor for Linux that works well with JSP's let me know, I would love to switch from Windows to Linux for development.

    Steve Michael
    steve.michael@performancestrategies.com

  138. JBOSS by Anonymous Coward · · Score: 0

    My company use JBOSS for production server with very good results.

  139. HP uses it for production e-service web sites by chuckfee · · Score: 1

    The subject says it all. HP's E-services
    division uses tomcat in many of their
    public-facing sites. This is significant
    because HP owns/used to own bluestone
    application server and are now in bed with
    BEA. Nevertheless they are using tomcat in
    production for real e-commerce sites right
    now.

    --chuck

  140. .NET is the only way to go by cmdr_beeftaco · · Score: 2, Funny

    haha your blood pressure doubled and pulse rate jumped 15 points, call it your exercise for the day.

  141. SAS ships Tomcat together with AppDev Studio by quax · · Score: 1

    the latter being their Java Develpment Environment. Tomcat is also shipped with many other product of SAS.

    In Germany I know at least two companies that use Tomcat in conjuction with SAS® Strategic Performance Management.

    Unfortunatelly they do not offer a good basis to judge scalabilty of Tomcat, because the product only addressed reporting needs for a limited number of executives.

    I believe many custom build internal systems here at my workplace are also running on top of Tomcat, but I would have to inquire about this.

    DISCLAIMER: I am an employee of SAS.

  142. Run tests yourself. by mahlen · · Score: 1

    I would hope that you have the in-house ability to test your application in the things that matter to your boss. For example, if you expect high load, you have stress tests, and so on.

    So run multi-day tests on each of the different servers you are considering. Compare the results. As you can see below, there's wide ranges of opinion. I suspect that those differences in opinion are due to different applications surfacing different problems, people having different expectations, and so forth.

    These comments provide at least some evidence that Tomcat can run in production. So really, find out what works for _you_ best before pushing for it's adaptation. And then you'll have data that says, "X will work best for us". That will goes miles toward convincing the boss to use X.

    Who knows, it may even convince you that Tomcat isn't the right choice (if it isn't). Rather than tie your reputation to Tomcat because Tomcat is Open Source, find out what really works best. Better for you and the company.

    Also, you might check the Netcraft reports; they may help convince the boss that these things are real. Not to mention the various companies' marketing groups.

    mahlen

    Old age is the most unexpected of things that can happen to a man.
    --Trotsky

  143. tomcat and jetty (also re: to non-java re's) by Anonymous Coward · · Score: 0

    honestly, im quite agitated by the lack of understand for the use of java in the enterprise. i am a coder in a multitude of langs (as are almost all of us). my personal favorite still remains as C, but as of now, i am working as a java developer for a fortune 500 company.

    java's main power is its flexibility; not only in its extensive api support, but also in the fact that it when used correctly, it is 100% platform independant. ANY time you have a substatial services platform, this is incredibly important. (ie. developers on ix86 boxen vs. servers running sun4u and such other ilk).

    using common lisp or c++ for a scalable and distributed platform?? are you mad? the servlet specs ensure a common platform regardless of what vendor you choose; this is VERY important for drop deployment and other various aspects. not to mention, it ALREADY takes into account such things as app server clustering and session availability.

    java is by no means slow - in fact, with some operations its very fast and highly optimized. most of your overhead is caused by jvm startup costs etc... and yes, of COURSE native code is faster, thats a no brainer - but to create any type of unified platform, it involves cost.

    -- the actual meat --

    anyhow, as far as the reply to jetty vs tomcat, i have found the following (this is based on realworld observations and high traffic loads)

    tomcat does not scale or perform that well. sun is using it for its basic servlet product (which will be jammed out later this year.) i used to be a die hard tomcat user until a developer here at work turned me on to resin. resin is VERY fast, it scales very well, and has a good developer base (bugs are dealt with in a matter of hours).

    ive heard good things about orion as well.

    you may also give thought to running an apache cluster to sit in front of your app servers to protect them/increas performance for static content.

    i am now playing jetty, and it seems to be relatively minimalistic (which of course appleals to my unix branded C mentality) and somewhat fast. but more importantly, it integrates seamlessly into jboss, the server we use for our ejb deployment.

    if you to choose between tomcat and jetty, id probably go with jetty, but at all costs, look at resin or orion as those really are the known (in the java community) as two of the better app servers out there.

    just a thought, and thanks for your time to hear some good ol' pent up java slashdot angst :)

  144. LiteWebServer by Anonymous Coward · · Score: 0

    When I was Director of Advanced Technology at a big e-commerce site, I choose Gefion's LiteWebServer.

    http://www.gefionsoftware.com/LiteWebServer/

    I tested in against every servlet/JSP engine out there, and it did as well as anything else.

    In particular, we bought IBM hardware, so they tried really hard to sell us on WebSphere. They had to admit that the benchmarks they kept quoting didn't reflect the kinds of things our site was doing. So, they invited us to do some performance testing at IBM's facility with IBM consultants. They still couldn't beat it.

    (Which just goes to prove that a servlet engine really isn't all that complex a beast, and as long as it is written in Java, they all have the same limitations--those of the JVM & OS.)

    When I left, we were considering moving to tomcat, but it was still pretty new then. I wasn't convinced the change was really necessary, though.

    In any case, I signed things that prevent me from devulging what company I'm talking about, so, unfortunately, I can't give you a contact.

  145. Tomcat in production by Anonymous Coward · · Score: 0

    I was involved in a project last year for [a major German telco] which built a portal for mobile phone dealers, using Apache & Tomcat on Solaris. All fine and stable, and quick although it's not really a high transaction load environment (only a few thousand mobile phone dealers in Germany) so I can't say anything about performance under heavy loads.

    We did see one of the key benefits of Open Source - found a bug in Tomcat during development, where it would crash if it received an http parameter string whose length was an exact multiple of 2k. We had a look at the code and found this was due to some dodgy-looking complicated stuff it was getting up to with pointers into the string buffer. (OK, not pointers really as it's all in Java - but the code in question looked as if somebody was trying their hardest to ignore the fact that they were using Java and write C instead). We didn't write & submit a proper fix - the code was nasty-looking and even had a comment saying "all this needs to be re-written from the ground up in the next version", but at least we were able to do a quick'n'dirty fix for our own purposes (bigger chunks of buffer allocation) and carry on without having to wait for a vendor to fix the bug many months later.

    We're currently doing a major enhancement to the same project, this time still using Tomcat as the servlet engine but with JBoss rather than standalone.

  146. Use Tomcat with Apache by Anonymous Coward · · Score: 0

    A client I've worked with uses Tomcat fronted by Apache (to serve images and static content). Unfortunately, the connector between Tomcat 4 and Apache wasn't up to snuff, so we had to fall back on Tomcat 3.3.x, but it's been working great so far. I believe we've loaded tested the application running on Tomcat and on a small sun box it can handle 600 simultaneous users without falling over.

    Hope this helps.

  147. Getting the product approved by davecb · · Score: 1
    Back when I worked for a big, conservative company, we asked our equally conservative customers what they wanted for qualifying gcc as one of the compilers we supported. Everyone wanted at least three things
    1. A stable product release on a CD
    2. A book (preferably an O'Reilly book (;-)) on it
    3. Someone who would provide support for money
    So we added gcc one quarter, included the information about getting the three items above, and no-one objected. So I signed up to work on the Samba book!
    --
    davecb@spamcop.net
  148. Instant Messenger... by chemguru · · Score: 1

    We have just put into production our own IM client based off of jabber. For the file transfers, we are running Tomcat on top of jakarta. Haven't seen a LOT of users pushing files, but our load test results seemed satisfactory.

    --JamesT

    --
    --Chemguru
  149. Tomcat Works by Anonymous Coward · · Score: 1, Informative

    I've been working for a company a while now that uses Tomcat as it's sole application server, and it runs fine for us. Just a handful of servers provide for hundreds of users without a hickup. We are advantaged to have very good developers, which is the key to any application server.

    No matter what application server is, BEA, NAS, ASP, ColdFusion, Tomcat, Jakarta, it all depends on how the code is deployed. Bad code makes or breaks performance. What kind of platform the code runs on has much less to do with performance than what kind of code.

    I've seen ASP zoom and I've seen ASP choke on 11 users. The difference was not that they ran on Microsoft (although it's always fun to jab them), but rather the developers who used horrible routines and memory management, and created a monster that couldn't sustain more than 11 connections.

  150. Jetty is shipped by IBM, Cisco, Sonic, many more.. by gregwilkins · · Score: 1
    You may already be using Jetty without knowing it. It is bundled with many commercial products and other OS projects including:
    • Sonic MQ
    • Tivolli NetView from IBM
    • Subscriber Edge Services platform from Cisco
    • JBoss
    • JXTA
    There is high quality professional services and support available for it, plus a helpful community.
  151. Resin Rocks by Anonymous Coward · · Score: 0

    Definitely look at resin from caucho.com. It's a fast, cheap JSP container and makes a great client for app servers.

    My team implemented a very computationally-intensive app with a JSP front end using resin & jboss. They saved the day - nothing would have been done on budget without them. And they worked extremely well in production environments.

  152. Check out the IBM JDK by mxmasster · · Score: 2, Informative

    BEA lists the IBM JDK as their platform requirements for the Linux platform. We found that Tomcat 3.3.1 / IBM 1.3.1 would serve around 1.2 million page views a day on a dual proc Linux machine.

    I don't care what anyone says, this is definately ready for prime time, and in fact was faster than BEA WLS5.1 running on E420Rs.

    --
    "The similarities of sysadmins and drug dealers: both measure stuff in K's, and both have users."
  153. Re:JBoss == Jetty by gregwilkins · · Score: 1
    JBoss has a pluggable architecture, but Jetty is now the default web container for JBoss3 onward.

    Jetty has also been integrated with the Jonas J2EE server.

  154. Tomcat is at least 2 times slower than resin by webperf · · Score: 3, Informative

    We just finished some benchmarking on our internal app-server. we found that tomcat ran 2-4 times slower than BEA/resin. Before we knew about resin, the cost of buying the extra hardware for tomcat was greater than paying for the extra BEA licences. That said.. we found resin, it is just as fast as BEA in our tests, and we are looking at using it and saving some $$$

    1. Re:Tomcat is at least 2 times slower than resin by TheLastUser · · Score: 1

      On my app, I found Resin to be maybe 20% faster, but the ease of configuration is what sold me. Tomcat is just too quriky and unpolished. Even if the speeds were reversed, I would rather buy more hardware than deal with Tomcat.

      e.g. When connecting to Apache, resin provides a single connector for both webapps and the webroot, all config is done in the resin.conf. Tomcat has 3 connectors.

      e.g.2 A quick look at the config files for resin vs. tomcat, shows how simple the resin is to configure. I have seen people struggle with tomcat for half a day to get it running the first time, resin takes the same person 5-10 minutes.

  155. I am using tomcat in production by unixbob · · Score: 2, Informative

    We use tomcat exclusively. We have tried a few others but we have settled on tomcat. First reason is that when the project was kicked off, tomcat was free and it allowed us to trial the technology. Tomcat proved usable in the development environment and did what the development / design team wanted. As it got nearer deployment time a decision was taken that we had timescales to work to and all of the testing had been done with the webapp running under tomcat. We have since been using it in a live environment for nearly 12 months and (currently) have no problems with it. We use both tomcat 3 and 4. We had a few teething trouble to start with but that was more down to our lack of experience in general with running a java web server. One of the major beneifts I see in using tomcat specifically and open source stuff in general is support and product information. Although commerical companies give you a number to call if stuff goes wrong with their product, freely available information on the net is less prevalent. So you are dependant on the number of people available in their support department and the skill of the tech support you speak to. The likelyhood of you doing something brand new that has never been done before is remote. What is more likely is that you are trying to do something that isn't in the install docs but many other people do. And where open source works better is that you are much more likely to find help on the internet to boost your understanding and resolve your problem. This will make your able to respond to your businesses requirements quicker and more confidently. The other thing that commercial products tend to offer is "pretty" GUI's for configuring software. Aside from the support, this is the only thing that a commercial product will offer you that tomcat won't (same thing with apache vs. zeus). Now that is up to you really. Personally I think that as long you should get an understanding of how to configure tomcat then that isn't really a problem. I would personally have no qualms about recommending tomcat to anyone.

    --
    The Romans didn't find algebra very challenging, because X was always 10
  156. You need numbers... by gaff1 · · Score: 2, Insightful

    Every application has different performance requirements and every app server has different pros and cons. It's absolutely critical that you figure out what you need from the app server.

    Figure out and document the "typical" type of application you will need to run on your app server, then design and document an application architecture for it. Once you have the architecture, create a prototype of the architecture that establishes a "thin thread" through the entire architecture. For example, JSP to Servlet to EJB to JDBC. This is really important because one app server may be super fast at parsing and displaying a JSP but horrible at authorization checking. Now that you have the prototype, the fun part starts.

    Conduct scalability testing, load testing, stress testing, and fault tolerance testing on each app server you are considering. Use your prototype architecture for the tests. Collect all the numbers and graph them out. It's really important that you establish a baseline hardware configuration and maintain that baseline throughout the tests so that you compare apples to apples.

    This process is time consuming but I believe it's a critical. You will learn boat loads about each of the app servers as you do this. You'll learn what it takes to set them up, configure an application for them, how to administer them, oh yeah and also how they perform for your architecture.

  157. Tomcat 3.2x under load by Jetifi · · Score: 1

    The 3.2x were really, really sucky under load. There was also a recusion problem of some sort - if you sent a GET then close the recieving socket - it may not have been this exactly, but I recall pressing & holding CTRL-R on 3.2.2 (IIRC) caused CPU usage to rocket to 100%, and eventually you'd get a stack overflow exception.


    This got fixed in 3.3 and upwards (post-refactoring), which is what I'm using now. Now it just logs an IOException + stack trace, which is no less gracefull but doesn't chew memory. I'm waiting for 4.1 before switching.

  158. Jetty is optimized for speed by gregwilkins · · Score: 2, Interesting
    Firstly It is not strickly true to say that tomcat does not look for speed. If anything it is a poor reference implementatin because it is trying to be suitable for production.

    Jetty has been developed mainly as an efficient HTTP/1.1 server. The Servlet container is secondary to providing correct and efficient service of the protocol.

    Jetty has been focused on being embedable in your application, rather than being a stand alone application server. Hence it is widely deployed but with very low visability. I wrote jetty and I'm still surprized when I find the jetty.jar inside IBM tivolli or Sonic MQ!

    1. Re:Jetty is optimized for speed by tau_ · · Score: 1

      What about JSP? Jetty uses Jasper, like Tomcat, and Jasper has, as far as I've understood, been one of the major roadblocks to Tomcat performance (and the reason Resin is brought up as an alternative). However, I see Jetty 4.1 is using a new Jasper version. What is the performance benefit?

      --
      Ask a silly person, get a silly answer.
  159. Tomcat is inside Veritas Cluster Server by JLouder · · Score: 1

    The web GUI inside Veritas Cluster Server (Veritas' high-availability manager) is Tomcat with a wrapper around it. Plenty of people are using this software in production.

  160. TP Monitors by leandrod · · Score: 2

    What about TP monitors?

    I have never been able to find a real free TP monitor.

    I see everyone going nuts for application servers, but the fate of most of them is to suffer under high loads. I've never seen any of them incorporate the lessons learned by hard experience during 30 years in the TP monitor field.

    This to me seems like the whole OO and Web fads: everything has to be OO and HTML and HTTP, and XML too. But few people learn the fundamentals. So they go and build beautiful applications on Java, HTML, MySQL, without ever realizing its unreliability or all the duplication of effort necessary. Or the risks for lack of scalability.

    This is yet another thing the proprietary world gets not so bad as the free software world. For example, BEA's WebLogic Enterprise actually embeds the Tuxedo core to provide TP monitor services; they call it BEA Engine.

    --
    Leandro Guimarães Faria Corcete DUTRA
    DA, DBA, SysAdmin, Data Modeller
    GNU Project, Debian GNU/Lin
  161. Borland Enterprise Server (BES) uses Tomcat by Anonymous Coward · · Score: 0

    BES uses Tomcat and Apache. That combination seems to work well for them and their performance seems pretty good.

    From what I understand though, they did do some customisation on Tomcat for performance.

    We dumped BES though, not because of Tomcat but because BES is unaware of something called the EJB SPECIFICATION. Now we go with the boss, JBoss!

  162. WARNING: Apache 2.0 on NetWare has been r00ted!!! by Anonymous Coward · · Score: 0

    I submitted this as an article, but I guess it didn't make the cut:
    An anonymous reader writes "A flaw in Apache 2.0's interpretation of the backslash delimiter allows for a remote r00ting on NetWare, Windows, and OS/2. InfoWorld has an overview; the attack was discoverd by PivX's Auriemma Luigi, and he describes it in this technical document. I don't know whether there is such a thing as an OS/2 shop anymore, and most Microsoft shops probably run IIS, but Apache now ships as the default web server for NetWare 6, so Novell shops: Take note. A patch is available from Apache, and Luigi describes a workaround in his article."


  163. J2EE? by Free+Heel+Skier · · Score: 1

    I am glad that you feel that Tomcat is J2EE compiant, but...


    It's not. It is a Servlet / JSP engine, and not a J2EE server. If you want to integrate Tomcat with JBoss then you have a nice J2EE platform.


    Sorry, just needed to straighten this guy out.



    ~Ab
    1. Re:J2EE? by MSBob · · Score: 2

      And servlet/JSP spec is part of what may I ask you? J2EE is a group of technologies and Servlets/JSP is one of them.

      --
      Your pizza just the way you ought to have it.
    2. Re:J2EE? by aluminum+boy · · Score: 1

      That's right, but JSP/servlets are a subset of the J2EE standard. The Tomcat is not J2EE compliant since it does not include so many of the other standard technologies, most notably EJBs. It is compliant to JSP/servlet standards.

  164. Tomcat vs Jetty and Java on Linux by j3110 · · Score: 2

    Tomcat is slower than Jetty in all cases that I've seen (I've not seen them all, so test it for yourself). Tomcat wants to be restarted everytime you deploy a new context(or I'm just stupid and don't know how to set it up right). Jetty is an embedded small fast implementation, that will run on it's own, but I recommend JBoss! With JBoss, you can create good war or ear files that you just drop in a directory to make things work. No hassle unless you can't write a simple deployment descripter and use jar, in which case you have bigger problems. If you think JBoss will use too much memory, you can just disable all most of it's services and it will be just fine. JBoss loads in anywhere from 7s (minimal services on fast machine) to 60s (all services on a ~400Mhz machine with 64+ M of ram, UDMA enabled on your hard drive, and IBM's JRE). Get a copy of JBoss and play with it. The only reason to run Tomcat is if you want to run Apache (because you like the way it does virtual hosts or you need PHP or modperl for some other project).

    Java on Linux is a complicated thing to get good results from. You need a good VM, and the one's from Sun are getting better. I recommend that you take a look at IBM and JRockit as well and compare them for your own use. They are both have no cost, but are pretty fast. JRockit is pretty robust. I use the Sun VM now just because I need 1.4 features.

    --
    Karma Clown
    1. Re:Tomcat vs Jetty and Java on Linux by threadsafe_r · · Score: 1

      > I know that at least w/4.0.3, Tomcat has an admin context for starting/stopping/publishing/removing contexts... but in support of your point, it behaves kinda' quirky when re-deploying a context...

    2. Re:Tomcat vs Jetty and Java on Linux by j3110 · · Score: 2

      yeah... I remembered that you could use JBoss with Tomcat and not have to do it... I don't know how how JBoss manages it, but it seems to work ok :) Still, Tomcat is slower than Jetty. Tomcat is cool for that wierd Warp connector to Apache so that you can run PHP and JSP's on virtual hosts without having to do much configuration and still use the same port 80 for both.

      --
      Karma Clown
  165. 2 Beefs, the rest is cake. by digerata · · Score: 1
    My company has started using Tomcat for production applications over the past 4 months. Overall we have been very pleased with its performance. The two most important reasons we went with Tomcat are speed, its 'reference implementation' backing, and development team. Price was not a problem for us in this case. We reviewed: JBoss, Resin, Oracle's app server (apache with tomcat 3.x), and even Orion. Oracle's offering wasn't up to the current level everyone else was at (its Tomcat 3.x for crying out loud) and who really want's to install 20 pacthes every month to keep it up to date.

    The only problems in my eyes with Tomcat, are its handling of updates to any war files. It seems to just miss new changes 75% of the time.

    The other problem is its lack of JDBC Pooling for DBs such as MySQL or Postgres. Let's just say, there is no connection pooling. We ended up with using only one connection until we had time to roll our own.

    --

    1;
  166. TUX! by ttfkam · · Score: 4, Informative

    If speed your concern for static content, put TUX in front of tomcat. No config changes are necessary for tomcat and TUX can saturate gigabit ethernet adapters easily and with comparatively little CPU overhead (more CPU free for tomcat to handle the dynamic stuff).

    You can read more about TUX here.

    --

    - I don't need to go outside, my CRT tan'll do me just fine.
    1. Re:TUX! by des09 · · Score: 1

      Have you done this in production? (not flaming, curious)

      --
      .sigless since 2003
    2. Re:TUX! by ttfkam · · Score: 3, Informative

      It's on a production box, but it hasn't gone "live" yet (meaning: we haven't told people the URL yet).

      It works as advertised in that it's serving static content and very quickly. Tomcat serves the dynamic requests that TUX passes on to userland.

      One caveat is that you have to use the HTTP 1.0 connector in Tomcat. I figured this out after almost a week of pulling my hair out. Since Tomcat uses HTTP 1.1 by default and HTTP 1.1 keeps connections alive to save socket negotiation time, it wasn't letting go of the socket and serving out 404s instead of letting TUX handle the next request. As time permits, I plan on tweaking the Tomcat code to disable keep-alives.

      But other than that, it works just fine. Since Tomcat is handling dynamic requests which involve some processing time, the extra overhead associated with HTTP 1.0 is not an issue. We've load testing it with JMeter on a few hosts with no obvious problems -- but I'm sure that sending it live will uncover some hiccups (it always does).

      --

      - I don't need to go outside, my CRT tan'll do me just fine.
  167. Caucho Resin is fast. Next Tomcat = better perf. by shodson · · Score: 1

    We are using Tomcat but haven't really put it in any large, production environments, though i've heard complaints about Tomcat not being industrial strength. My understanding, however, is that the next release, which is in 4.1.x beta releases now, is much more focused on performance improvements and we've seen it perform better than 4.0.x and 3.x versions.

    Also, I've heard a few people rave about Resin and say that it's really fast.

    http://www.caucho.com/

  168. JBoss/Jetty by GOD_ALMIGHTY · · Score: 3, Informative

    We've been porting an app from SilverStream (complete pos!) to JBoss. Originally we used JBoss/Tomcat, but have moved to JBoss/Jetty since the Jetty guys have been much better at supporting features via JBoss.

    I would recommend against straight servlet/JSP development. Using EJBs, you get portability to different user interfaces, data source pooling, transactional integrety, and a larger choice of security options a la JAAS.

    Since we're working on JBoss, I can write message beans for JMS systems, I have a built in timer mechanism, I can hot deploy by copying my ear file to a directory.

    I can federate enterprise wide Directory Servers (LDAP via JNDI) and Databases, integrate with MessageQueue systems (MQSeries), tie in with CORBA apps and manage everything via custom JMX apps.

    Jetty was also easier to work with in the development cycle, we didn't want to unpack the ear and war and redeploy the EJBs every time we changed a single HTML tag in a JSP, so I wrote an Ant target that copies the JSPs and associated stuff to the Jetty temp dir where Jetty does a great job of finding it and recompiling it.

    Tomcat's temp dir structure was too dynamic and unpredictable to do this. I've also found more options when configuring Jetty via JBoss than Tomcat (you don't use the std config xmls, they have JBoss specific ones that JBoss parses and passes on to the Web Container).

    The other beautiful thing about JBoss is the JMX. JBoss is really a JMX 'spine' with the EJB Container and Servlet Container (Jetty or Tomcat) as interchangable JMX MBeans. You can provide your app way more in the way of services.

    Also Jetty supports clustering, real session clustering in JBoss.

    JBoss has also integrated Apache AXIS so you can expose your EJBs via SOAP if needed. (I still hate SOAP though) Using EJBs I retain the flexibility of my user interface, since the data model and business logic are in EJBs, I can write a GUI client with relative ease, or expose my EJBs to a CORBA client via JacORB (also integrated with the default JBoss install).

    Some things to also look at if choosing the J2EE path:
    Apache Struts or Jade for web user interface development

    Xdoclet for generating your EJBs and maintaining all those XML files in your source code (web.xml, jboss.xml, struts-config.xml, ejb-jar.xml, etc.)

    Ant, become one with Ant, you'll thank yourself later.

    http://sf.net/projects/middlegen
    Middlegen, point app at database, generate CMP Entity Beans and basic CRUD ops in struts, write business logic, then user interface, done with new J2EE app.

    ArgoUML and UML2EJB
    Create a UML diagram, generate EJB code. Still a work in progress, but very promising.

    With all the development in code generation tools, I'm in danger of becoming a point and click programmer on Linux ;-) Never thought I'd see the day ;-)

    Downsides, XDoclet and Middlegen are lacking in docs, Ant has a lot of useful, poorly documented tricks, JBoss could use some more docs too, or at least better organized ones... (I even have the subscription docs)

    Believe me, get into the J2EE swing with all the loving Open Source tool goodness, you'll never want to touch Perl or PHP again. It just works so much nicer, and the pace of development is blinding fast. Also most of the J2EE open source projects deliver, and deliver on time.

    The community is great. Mailing lists are good, IRC not as good. Sites like The ServerSide and JavaLobby have a lot of good info as well and their forums are really lively.

    With JBoss and the other open source tools it's the feel of a well supported commercial environment with all the source goodness you can read, and it scales up to enterprise class systems and development methodologies, try that with Perl/PHP!

    --
    Arrogance is Confidence which lacks integrity. -- me
    1. Re:JBoss/Jetty by dr_l0v3 · · Score: 1
      With JBoss and the other open source tools it's the feel of a well supported commercial environment with all the source goodness you can read, and it scales up to enterprise class systems and development methodologies, try that with Perl/PHP

      I have, it does. Oh, it required less developers, performs better and I didn't have to learn 1000 acronyms to get there. I'm not paid by the hour so I keep it simple.

    2. Re:JBoss/Jetty by k4m3 · · Score: 1
      Believe me, get into the J2EE swing with all the loving Open Source tool goodness, you'll never want to touch Perl or PHP again.
      I've used both, and still lack PHP speed when I redeploy a bunch of JSP... Even if we talk about speed improvement, regarding to PHP it's just plain slow. So use J2EE for the right things in the first place, not because it's a wonderful hammer.
    3. Re:JBoss/Jetty by GOD_ALMIGHTY · · Score: 2

      Precompile your JSPs in Ant 1.5
      Then when you deploy it's will be faster than PHP cause there will be no interpretation (other than normal JVM) or compiling. If it's still too slow for you look at GJC (Java frontend for gcc) and see if you can get the whole app server to compile to native code, I actually had a gcc developer tell me this should work now... haven't tried it though so YMMV.

      Also remember that developer time is way more expensive than hardware.

      --
      Arrogance is Confidence which lacks integrity. -- me
    4. Re:JBoss/Jetty by k4m3 · · Score: 1

      I guess I didn't explain my point clearly. With equivalent hardware, JSP feels slow. It's not a question of benchmark, developping with PHP is less cumbersome than JSP because of that.

  169. Yet Another Application Based (in part) on Tomcat by Anonymous Coward · · Score: 0

    Sun Microsystems just released a Storage Area Management (SAN) management application based in part on Tomcat. Information is available here. Other technologies used include Postgres, Apache, and SLP. Almost qualifies for LAMP...

  170. iPlanet by Jamiestarr · · Score: 1

    We used to use Weblogic but the license was becoming too expensive for our JSP/Servlet Financial Application, so we switched to Sun's iPlanet Web Server and have never looked back. They are pretty much giving away the Software now. It comes free with any server purchase (We use the cheap Netra X1 and Sunfire V100, which are about 1K) and I bet if you wanted to purchase thier new Linux Server, they wouldn't have a problem with you running it for free there as well.
    -_Tony

  171. Tomcat has been ready to go by iprone · · Score: 1

    I would recommend Tomcat for Production usage. I am the Senior Network Administrator for an ASP who has been hosting Tomcat 3.x and 4.x for two years now. The problems we get are usually small, but its always useful to have the source code available if it does get too involved. We actually were thinking about using WebSphere and even Lutris Enhydra before they went under. Both are just overkill if you are talking a non J2EE style application, but even if you are looking for Enterprise, throw JBoss into the mix. Either way you look, for the price / funtionality ratio, you cant beat it.

  172. Names withheld to protect the guilty by JustAnotherReader · · Score: 1
    I worked for a couple of companies last year who used Tomcat in production. They're both out of business (or struggling just to stay alive). However, the use of Tomcat is not what killed them. Using a free servlet/jsp engine is probably one of the few good decisions they made.

    I would suggest you remember that Tomcat is only a servlet and JSP app server. If you want an EJB container or automatic database pooling or other additional features you may want to go with a full blown app server product. I've used WebSphere quite a bit and it works well. Web Logic is also a good choice. However, both of those products are pretty pricey.

    You may want to look into the Orion app server. They have a good product with much more reasonable prices (free to developers, reasonble prices for production and test servers). We're using both Orion and WebSphere in production and they both seem to handle the load easily (I work at a large California bank with hundreds of thousands of online banking users).

    Hope it helps.

  173. Performance Junkies by aminorex · · Score: 2

    In a commercial environment transaction volume
    translates into revenue (or you have a broken
    business model). If your transaction volume is
    too high, buy another $%^@ box, dumbkopf!

    By the way, your boss is obviously an idiot, so
    I would suggest finding a new job ASAP.

    --
    -I like my women like I like my tea: green-
  174. Cheap is often times a lot better than free by TheNarrator · · Score: 1

    We use resin, which is cheap ($500/host) but not free and it performs wonderfully. I've played around with jetty and tomcat but they just aren't as easy to configure and their documentation, speed, and apache integration are lacking. Resin is straight forward, fast and works well. I have also heard good things about Orion Server which recently became the basis for Oracle 9i and is also a pretty good bargain at a few thousand dollars per host.

  175. It doesn't matter by slamb · · Score: 2

    Try any of them. I use Resin. Others are happy with Tomcat. I've never heard of Jetty, but it may be good, too.

    The important thing is that you write your application to the servlet spec. If you do that, switching servlet containers will be completely trivial. So if you later decide you've outgrown Tomcat, try something else instead.

  176. TOMCAT F**KING RULES :) by kberg108 · · Score: 0

    The more people and orginizations that support the Apache Software fundation and it's children ie( jakarata(tomcat, catalina, ant, ect...)) the better the software will get it's already proven to work. Does anybody dispute the dominance and reliability of the Apache web server? Well then why would the same org changes it's standards for it's servlet engine and other projects? That's right all software from the Apache Software Foundation kicks ass and always will. As an org they have always provided plenty of information to use thier software in production unlike other OSS projects (no mentions out of respect). It's about fucking time that so called technology executives start to recognize good OSS projects and org's.

    PS: my entire company rides on the back of the kick ass developers @ apache... JAM ON Apache / Jakarta

    --
    I like things that are sweet and not things that are lame. --
  177. Here is my ant file for doing just that. Enjoy by adamy · · Score: 1

    Source code on slashdot

    task automatically
    works its way down a source code hierarchy and compiles any class that
    has not yet been compiled, or where the source file is newer than the
    class file.
    Feel free to adjust the compilation option parameters (debug,
    optimize, and deprecation) to suit your requirements. It is also
    possible to base them on properties, so that you can adjust this
    behavior at runtime.
    -->

    -->

    --
    Open Source Identity Management: FreeIPA.org
  178. Re:Here is my ant file for doing just that. Enjoy by adamy · · Score: 1

    Well that worked like crap. Basically, what we do is have a paramter you pass to ant about how you want the code configured.

    Then we do a lot of copying from one directory to another using the @value@ replacements for Database pools, config files etc. Works quite welll. I do think we'd be better off writng a few custom Ant tasks for some of the things we do, but my last day at this job is tomorrow. Maybe at my next one, which is for Sun, and will be using Tomcat...

    --
    Open Source Identity Management: FreeIPA.org
  179. Stupid Non-Disclosure by greysky · · Score: 1

    I was working for a client a while back that was using tomcat in a huge production environment, but due to non-disclusure agreements that I signed, I can't give you any details about the system, or even tell you who the client is. All I can say is that it is a large financial institution that used tomcat to serve out data to several hundred corporate users. It was being implemented to replace a mainframe system. Wish I could supply some real detail.

  180. what about documentation? by Anonymous Coward · · Score: 0

    the software could be good but how am i going to use it if it has bad documentation? I don't want to beg on newsgroups and hope someone provides the right answer.

    We use weblogic and have found their docs are thorough.

  181. If you need Tomcat Support...Cocoon 2 support..etc by hackus · · Score: 2

    You might want to try looking at the vendor pages at http://jakarta.apache.org/site/vendors.html

    Hack

    --
    Got Geometrodynamics? Awe, too hard to figure out? Too bad.
  182. servlet runner comparison by Anonymous Coward · · Score: 0

    A couple of months ago I did a comparison of the various free servlet runners I could find available on the web for a product that my company provides. You may find the following useful for your own comparison:

    Name: Jigsaw
    Webpage: http://www.w3.org/Jigsaw/
    Developer: W3C
    - The W3C's reference Servlet API implementation.
    - Java implementation.
    - Development appears to have slowed significantly in the past year.

    Name: Java Web Server
    Webpage: http://wwws.sun.com/software/jwebserver/
    Develope r: Sun Microsystems
    - No longer in Development; End Of Life announced Feb, 2001.

    Name: Apache JServ (mod_jserv)
    Webpage: http://java.apache.org/jserv/index.html
    Developer : Apache Jakarta Project
    - Servlet API: v2.0
    - JVM: v1.1
    - In maintenance mode, no longer currently developed project.
    - Tomcat has replaced JServ as the Apache project's sponsored servlet runner.

    Name: Tomcat (RECOMMENDED)
    Webpage: http://jakarta.apache.org/tomcat/index.html
    Devel oper: Apache Jakarta Project
    - Current production quality release: v4.0.3
    - Servlet API: v2.3
    - JSP: v1.2
    - JVM: 1.2 (and newer)
    - Advantages:
    - JavaSoft's Java Servlet reference implementation.
    - Integration with Apache guaranteed and central to Tomcat.
    - Used in numerous commercial and non-commercial products.

    Name: Jetty (RECOMMENDED)
    Webpage: http://jetty.mortbay.org/jetty/index.html
    Develop er: Mort Bay Consulting
    - Servlet API: v1.3
    - JSP: v1.2
    - Configurable as standalone webserver or from within Apache using mod_proxy or mod_rewrite.
    - Advantages:
    - Small, lightweight, and fast.
    - Used and distributed by IBM and Cisco in their products (Cisco sponsors development);
    integrated with JBoss Application Server

  183. Re:How I introduced free software into my big comp by GenCuster · · Score: 1

    I am working on a emulator for exactly the same reason. Terminal Emulators are a sweet spot for OSS development.

    --
    "The poet presents his thoughts festively, on the carriage of rhythm; usually because they could not walk" Nietzsche
  184. Re:How I introduced free software into my big comp by Anonymous Coward · · Score: 1, Funny

    Sweet baby Jesus on rye! $500 for a 3270 terminal emulator? Instead of convincing your bosses to buy shareware software, here's what you really should have done:

    1. Leave company
    2. Sell previous employer robust telnet clients (ahem repackaged standard BSD telnet) $2000 a pop.
    3. Profit!

  185. Validation for Regulatory Agencies? by Anonymous Coward · · Score: 0

    For those of you using these open source products in the enterprise, how do you handle validation for any regulatory agencies (e.g. the FDA)?

  186. Currently running Tomcat with IIS in production by Rivin · · Score: 1
    I have deployed an operational system that uses Tomcat integrated with IIS on NT. We had to use IIS because someone with Power got it in their head that IIS is more secure than Apache. Chalk another point up for proprietary software. "If you can't see the code, it must be more secure."

    It is a pretty small system (~100 users), and for that Tomcat works very well. I have also had no problems with IIS integration, including using IIS for authentication when accessing servlets served by Tomcat.

    Tomcat is a little slow when serving up very large pages (many megs), but I haven't tried any other servlet containers with output that big to see if they're any better. My main problem with Tomcat is in my development environment, I have to be careful about how I update servlets. Tomcat is somewhat flaky when it comes to figuring out when a servlet has been updated and needs to be redeployed. Often I have to restart Tomcat completely. But again, that's only in development where the software is changing often. In production I have had no such problems. I also haven't had any problems with Tomcat not following the JSP/servlet specification.

  187. Redeployment with WebLogic by alext · · Score: 3, Informative

    The prospect of restarting the whole server just to update some JSPs or to redeploy a web app is, frankly, a complete non-starter for most large sites.

    A lot of WebLogic shops update their content regularly, often using separate content management systems like Vignette (I know...), so if the original enquirer has requirements like this then Tomcat can be ruled out right now.

    To wax on WebLogic's virtues a bit (hey, gotta restore some balance!) it allows you to redeploy a whole WAR (as a single file or as individual ones in 'exploded' format), to update JSPs automatically just by writing them to the source directory, and to update other servlets using the refresh tool.

    [Disclaimer: poster is an independent BEA consultant type]

  188. Conformance, footprint, community support, price. by Anonymous Coward · · Score: 0

    The company I work for (Toronto based ASP, http://www.ragemedia.ca) is using JBoss 3.0.x -Tomcat 4.0.x bundle as application server for 20 clients. JBoss-Tomcat bundle has been very reliable and stable. We tried Resin, JRun 3.1, IBM WebSphere, BEA WLS5 and I'll admit that JBoss-Tomcat is not the fastest, but that's not the main concern there are things like standard conformance, small footprint, community support, price.

  189. Is Tomcat Crap? by mwsf · · Score: 1
    You might find this weblog post interesting. It compares performance, cost/performance, and other tangible benefits of Orion, Resin, Tomcat, and Weblogic.

    http://radio.weblogs.com/0107789/stories/2002/05/2 8/isTomcatCrap.html

  190. Jetty and Apache... by javabandit · · Score: 1

    Currently, we use Jetty 4.1 and Apache on our medium-level production traffic site. We absolutely love it.

    Originally, we used Apache/Tomcat... but Tomcat was far too slow. Jetty is very fast serving both dynamic pages and static content. Jetty is highly configurable and easily modified with wonderful XML-based configuration files. I have Jetty configuring a part of my application using some custom/application-specific classes that I wrote. Great stuff! The days of having to code application startup stuff in the init() method of a load-on-startup servlet is OVER.

    Oh... and Jetty running on J2SE 1.4 supports non-blocking I/O. The guys at Mortbay are on top of their game. I cannot say enough about how wonderful this tool is.

    The only reason we still have Apache hanging around is because Jetty has a _very primitive_ CGI interface. It doesn't support HTTP sessions. It will run Perl scripts, but without the session support... it renders most CGI-based applications useless.

    So if you want to run CGI-based apps like Bugzilla or mysqltool... you need Apache to do it for you. Jetty can't cut the mustard here.

    Not withstanding its CGI weaknesses, I still feel Jetty is by far the best servlet engine out there. I have also tried Resin... but I don't see any major advantage of Resin over Jetty. I certainly didn't see any signifigant performance difference on my server (Dual 1.2Ghz, SCSI Cheetah, 1GB RAM).

    If you want a servlet engine... try Jetty. I doubt you'll look any further once you've tried it.

  191. Re:My company uses Tomcat + Apache + PostgreSQL... by Anonymous Coward · · Score: 0

    is there a type 4 driver for postgresql?

  192. We've used Tomcat in production by Eneff · · Score: 1

    Just watch out when moving from BEA to Tomcat... We use both JRun and Tomcat and I've found that JRun is more forgiving. (IE... tomcat doesn't like .jar s to be named .zip, and it's a little less space-efficient in jsp compilation. Normally, this wouldn't be a big deal, but we had a jsp page that compiled above the 64k limit with tomcat.) -- BEA may be similar, so don't depend on a perfect transition.

    PS -- we use 4.0.3

  193. Tomcat vs. Resin by KidSock · · Score: 2

    I just setup Tomcat and Resin to develop a Filter that exposes our library to containers. Results: Tomcat is pathetically slow compared to Resin. No contest.

  194. Check out Resin too by TheLastUser · · Score: 1

    Tomcat is cool, but I find Resin (Caucho.com) to be easier to configure and use, especially with Apache.

    I use Resin, standalone, on 7 load balanced web servers for one of my clients. I have been pretty happy with it. I also use it for my tiny Java web hosting biz &ltShamelessPlug&gt(europasystems.net).&lt/Shamele ssPlug&gt

  195. Tomcat for development and Jetty for deployment by Billy+the+Mountain · · Score: 1

    I've used both of these products and found that when developing our product, exception reporting with Jetty was a pain to decipher. Tomcat, OTOH, has really nice exception reporting and is thus a pleasure to develop on.

    For deployment, Jetty is small nice and lightweight. Also, if you plan to use customized tags, last I checked (9 months ago), Jetty didn't support them.

    BTM

    --
    That was the turning point of my life--I went from negative zero to positive zero.
  196. Tomcat in production by Anonymous Coward · · Score: 0

    Hi,
    We use tomcat in production for a number of large systems. The systems support hundreds of concurrent users on big hardware with multi-gigabyte JVMs.

    I cannot divulge my company's name, but we've been using tomcat for a long time and love it. We have also compared with Jetty and iPlanet and found tomcat performance to be comparable, if not better, for our applications.

  197. Re:We've almost convinced our management to switch by alext · · Score: 2

    We've found that we end up deploying the same applications multiple times, with restarts, in order to get the thing working correctly

    Ugh. That should not happen at all - I'm working with news sites that redeploy and update several times a day on WebLogic.

    The process is complicated, particularly in a centrally managed/clustered environment - your consultant needs to understand precisely what goes on so that servers don't accidentally share temporary directories, the component is targeted at the right thing etc. etc. It's a bit arcane, but not unreasonably so.

    What's the central management console in JBoss? I didn't think it had one.

  198. Secure deployment by alext · · Score: 2

    Use manual deployment? This is the standard recommendation for WebLogic environments.

    Seems rather like you're cutting off your nose to spite your face.

    1. Re:Secure deployment by Jord · · Score: 1

      I agree that it is harder but a lot safer than hoping someone won't stick bad code in there for "auto" deployment.

  199. Zanvas.com by Anonymous Coward · · Score: 0

    The company Zanvas that my cousin owns is doing some great stuff with Apache/Tomcat.

  200. My old company by ronfar · · Score: 1

    We ran on Tomcat without Apache, it worked very well. Unfortunately, the company went the way of other .coms, but the technology behind the company was fundamentally sound.

    --
    All the creatures will die, And all the things will be broken. That's the law of samurai. (Jubai, 1605)
  201. Anyone running Oracle Application 11i by Anonymous Coward · · Score: 0

    Oracle Application 11i, with the latest patch level of 11.5.5 uses Apache/JServ exclusively for it's web/servlet serving. Before the 11.5.5 Oracle had some custom WebDB listeners that they used, but since then have migrated fully to the Apache/JServ combo.

    Even Oracle Database 8i installs Apache and Jserv with demo servlets to connect to the oracle database.

    So any corporation running Oracle 8i or 11i is using Open Source web and servlet servers in a large scale production environment.

  202. Stability broke tomcat for me by markus_baertschi · · Score: 2, Informative

    I've got just one datapoint:

    We were deploying a commercial application which was shopped by the vendor with Tomcat. As this is the way the app was installed by the vendor we counted on running that way in production.

    In the weeks before the official production started we were hosting the classes for the future users. This was the first time we had more than the three developers online at the same time and it failed miserably. We had to restart tomcat every 45 minutes !

    As I had previous good experience with Websphere we decided to switch over and this solved our stability problem at once. The first three months it just kept going without any intervention. In the meantime I've added preemptive weekly restart to cron to be on the safe side.

    For our environment Tomcat (V3.x & V4.x, I've tried several incarnations) was not stable enough for production. I'm still a bit stumped about this, the app was shipped with Tomcat by the vendor. This might have to do with the hardware (IBM pSeries), I don't now.

    Markus

  203. Not a huge Tomcat fan here.. by Poison-R · · Score: 1

    We use Tomcat at the company I work for (~55k users).. Our Tomcat 4 servers (Tomcat/Apache combo) have always had a flakey feel to them and seemed slower than they should be (bad enough that I have a cron in place to restart one of them when it dies on me). The previous Tomcat 3 versions were not so bad but just don't meet the requirements any more.. I'm currently replacing the systems with new ones running Resin - Testing Resin has so-far proven to be positive (very fast/easy to configure - integrates well with Apache).

    --
    PR
  204. Don't use IBM VM with WebLogic by alext · · Score: 2

    No they don't - check here.

    What's much more interesting is that Linux on Intel (OK, and probably Wintel too) is the prime focus of BEA's own JRockit VM.

    With Sun, IBM and BEA all investing heavily, the outlook for Java on Linux has never looked better.

  205. We use Tomcat by ikekrull · · Score: 2

    We have used Tomcat in production since v. 3.2

    4.0.4 is the only version I would really say is rock solid though, and we had puzzling cases where the CPU would go to 100% usage and stay there under earlier 4.0.x - this is under NT, so its probably bugs in the OS/Java implementation anyway. I never had this problem running Tomcat under Linux.

    Overall, I have been very happy with Tomcat, whether integrated with Apache or standalone.

    You might as well at least try Tomcat before a commercial Servlet engine, and you'll probably find there is simply no need to look anywhere else.

    --
    I gots ta ding a ding dang my dang a long ling long
  206. Tomcat's good but....... by Allnighterking · · Score: 2

    PHP runs better. Faster response. Less overhead as far as CPU/memory usage. Greater availablity of code snippets on the web to shortcut deployment. PHP isn't just nuke. It's supported by a large company, and really works well. If you want to fully implement the features of Tomcat go with Zope. Even if you purchase Zope services from Zend Corp. you'll find that your return on your dollar is much, much higher. Especially since the load is lower on the server and as a result you can serve a greater number of users with the same box.

    --

    I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

    1. Re:Tomcat's good but....... by gwhalin · · Score: 1

      Yeah, but then I have to code in PHP as opposed to a real language like Java! Yucky! No thanks! :) Flame away!

      Greg
      greg@whalin.com

      --
      Greg Whalin
      greg@whalin.com
    2. Re:Tomcat's good but....... by Allnighterking · · Score: 2

      A HA you happen to be one of those cold fusion people I see. PHP can do everything java does EXCEPT require 6 or 7 different JVM's (Linux currently has about 8 or 9 or iX86 and they aren't always compatible. PHP is web only so no main.) Then if you embed Javascript ... you can do more. (OK if you run from WinIIs you can embed VBasic.wet or C-- )

      --

      I'm sorry, I'm to tired to be witty at the moment so this message will have to do.

  207. using tomcat, bea and ibm by andykimbrough · · Score: 1

    At my company we use all three. Tomcat works fine, but the admin tools make it difficult to admin if you have lots of machines. We use Tomcat for small projects. We use WebLogic (6.1 and 7.0) because the clustering works nicely and it is easy to admin large numbers of machines. Some of our HR software requires websphere which is my least favorite in that it is not free and is not as easy to admin large numbers of machines. My thought is get it free or get the best. If you code smartly you can use tomcat for a long time. Once you system gets larger than 10 machines you might want to look at WebLogic. The in memory session replication works really well so that you can cycle machines with out lossing session. Also the built in jdbc connection pooling is a nice add. You can build multi-pools to distrubute jdbc load or for high availablity. I haven't had more trouble with tomcat or WebLogic in terms of up time. They both have minor bugs that you can work around. This is all running on Sun or Linux boxes. We use Oracle and postgresql. I don't care who makes the tool, just use the right one for the job. You will have to weight your budget vs support vs ease of admin. Getting someone who knows how to operate WebLogic = easy. Getting a Tomcat ninja is a little harder. If you plan on sitting on the server your whole life then use what ever you want. There is something to be said for being able to get away from the office and know that your admins have someone good to call if they get in trouble. WebLogic support is great. If you are running a 24x7 application, it is worth it. If you have a small shop and down time isn't going to cost your head then try out tomcat. See how it does for you. Code smartly so that you can port if you need to. There are other free app servers out there. I think HP released their app server for free. Oracle app server is SUPPOSED to be free. I have a feeling that going with Oracle will cost you even if they give the sever to you for free. Nothing is really free with Oracle. My final bit of advise is don't over build. Spend your money wisely and get hardware.

  208. Jetty Real World by Anonymous Coward · · Score: 0

    probably anyone using Tivoli Network Management software has Jetty as an application server since '99. :)

  209. Cardiff Software's Liquid Office runs on Tomcat by McSpew · · Score: 2

    The company where I work just implemented Cardiff Software's Liquid Office online forms software, and it only runs on Tomcat. We've had some minor issues getting everything installed and getting Tomcat running, but once it's running, Tomcat has been fine. We've experienced no problems with Tomcat. We're running it on the same box as an IIS-based intranet, an IIS/MS-friendly content manager, and a web-based interface to our document imaging system.

    The box I'm running all this on is a dual 933 MHz PIII box with 1.5GB of RAM and four 18GB 15K rpm HDs in a RAID 5 array, running Win2k Server. Performance is downright snappy. LiquidOffice is using LDAP-integration to authenticate users out ActiveDirectory, too.

    Would I love to be running all this on Linux or Solaris or HP-UX or whatever, with some sort of high-quality LDAP-based directory instead of Win2k and ActiveDirectory? You're damn skippy I would. I hate Microsoft, but I have a lot of stuff I have to run that I don't get to choose and most of it doesn't yet run on anything except Microsoft.

  210. Offtopic, but shows how cool Tomcat can be by altoidsman · · Score: 1

    Just for the heck of it, I put Tomcat on my home PC (600mhz athlon - redhat 7.2) over dialup and tried working with servlets. A friend of mine pulled 'em up and said it was just as fast as any other website on the net. Tried that with Apache? no luck at all. Interesting (for me anyways)

  211. Re:1st post by Anonymous Coward · · Score: 0

    Did you know the food bank gives out free food?

  212. very thankfull by geekoid · · Score: 2

    I am very thankfull
    I don't need to write haiku,
    for topic reply.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  213. Tomcat & CleverPath Portal by zombiestomper · · Score: 1

    My company (Computer Associates-- I know, I know...) uses Tomcat as the core for a number of products that we resell to clients. CleverPath Portal and CP ECM to name a couple. We find that it does pretty well-- reliability is excellent, and since we can 'pseudo-cluster' our products it's extremely scalable. We've companies running it for 50k+ users on the tomcat base, but for heavy traffic (1000+ concurrent, heavy use connections) we usually reccomment one of the more robust engines like WebSphere or Weblogic. Check out the webpage and give me some work... ;)

  214. WebLogic logging and management by alext · · Score: 2

    Well, it's pretty good actually, no need to put Apache in there just for that - it creates an access.log file just the same. Check the Server HTTP Logging help page. Only thing it doesn't do is merge the access logs for you across different servers in a cluster like it can do with normal logs - too much traffic I guess.

    Filters appear in WebLogic 7 (they came in servlet 2.3 I think) - you write the class and then mention it in the web app deployment descriptor, e.g. using WebLogic Builder.

  215. iPlanet is free by RobGarth · · Score: 1

    I was at a recent Sun Developer night (in Sydney). It was announced there that sun now giving away iplanet for free. So if you want an industry strength solution I would choose that over BEA.

  216. Re:JBoss == Jetty by Anonymous Coward · · Score: 0

    Jetty uses the Tomcat Jasper JSP engine, which is slow. Jetty's HTTP server is faster than Tomcat's, but tomcat is meant to use an external webserver, like Apache.

  217. Jboss 3.0 w/Integrated Tomcat 4.x by Anonymous Coward · · Score: 0

    I recommend using Jboss 3.0 with integrated tomcat. It's the most popular application server on Earth, it's free, and it is entirely standards based. It is even using the LGPL license which means you can do pretty much whatever the heck you want with it.

    As an aside, you'll never want to move your Java over to UNIX. Ironically, Microsoft does not support Java but Java runs nearly twice as fast on Windows than any other platform according to my own internal benchmarks. Freaky? True. Throw the IBM JIT in the mix and Windows based Java is much better.

    Nobody uses UNIX anymore anyway. :) (hehe, I can feel the anger coming).

    1. Re:Jboss 3.0 w/Integrated Tomcat 4.x by threadsafe_r · · Score: 1

      What platforms you benchmarking against? *What* are you benchmarking? Perhaps your benchmarks are against an Access database running on your little POS script-kiddy Windows box... I can see how that would be faster than an E10000...

  218. We use Tomcat in a production environment by gwhalin · · Score: 1

    ... and get fairly good performance out of it. I think much of the bad press out there about the poor performance of Tomcat is due to people running it straight "out of the box" without tuning it at all. I was able to nearly quadruple my initial benchmarks simply by doing some basic tuning. I for one think that Tomcat is a great application server, especially given the price tag! :)

    Greg
    greg@whalin.com

    --
    Greg Whalin
    greg@whalin.com
  219. Jetty by Anonymous Coward · · Score: 0
  220. if you care by Anonymous Coward · · Score: 0

    if you care about your job, your project, or your company, go with something like BEA. My company uses BEA now, after trying out Tomcat for a year. tuning and optimization can only take you so far - in my opinion, tomcat is no where near weblogic when it comes to performance or stability.
    There's also a really important reason why you should consider weblogic or jrun - professional support. if you recommend tomcat to your company, and 3 months from now your production server keeps crashing because of a bug in tomcat, what will you say to your boss? open source sounds cool and all, but be careful where you use it.

  221. using tomcat, happy so far by DinkyDoorknob · · Score: 1

    I just launched a new ecommerce site for my parent's toy company, WJFantasy.com, using Tomcat 4.0, and we have no complaints -- seems plenty fast. We had a few problems with stability initially, due mostly, I think, to our ISP having limited familiarity with Tomcat. They worked it out, though, and we've had no problems for a while now. Admittedly, our traffic level isn't that high yet.

    I have a friend who heads web development at a very large media company, and they just migrated a number of their most heavily trafficked sites from Tomcat to Resin. While I think Tomcat was working marginally well for them, he claims a 10x speed improvement since moving to Resin. More impressive still, he says they did the migration in a day and without having to make a single code change.

  222. Is there a list of corporate OSS users? by Corrado · · Score: 2

    I have been trying to convice my large company to give OSS a chance (specifically CVS) but they want to talk to other large companies and get their take on it. What I need is a web site that contains a list of either references or quotes from large companies telling their OSS stories. If I could say that Sprint and IBM uses CVS extensively, and here is a inside contact that can talk about it, that would go a long way to opening the OSS door.

    --
    KangarooBox - We make IT simple!
  223. Reference Implementations by rjamestaylor · · Score: 2, Interesting

    Regarding Tomcat's role as a reference implementation: for HTML, XHTML, XSLT, MathML, etc., the W3C commissions Amaya as the reference implementation, but I don't see people giving up IE or Mozilla for the lastest Amaya builds...nor have I heard, "Yeah, but how does it look in Amaya?," when reviewing a new site design. So, not knowing the world of Java Servers, I find the repeated cry of "reference implementation" a bit weak as a recommendation.

    --
    -- @rjamestaylor on Ello
  224. Re:WARNING: Apache 2.0 on NetWare has been r00ted! by ajft · · Score: 2, Informative

    "Apache now ships as the default web server for NetWare 6, so Novell shops: Take note. A patch is available from Apache [apache.org], and Luigi describes a workaround in his article."

    But Apache 1.3 is the default version that ships with NetWare 6, not Apache 2.0

  225. Re:WARNING: Apache 2.0 on NetWare has been r00ted! by Anonymous Coward · · Score: 0

    FYI, it's well known that Apache 2.0 is NOT recommended for production environments yet, and it clearly states that on Apache's site. It's still considered in a development stage. Also, the vulnerability that affected it on Netware affected it on various other platforms.

  226. Re:Novell Is dying by Anonymous Coward · · Score: 0

    It must be nice to be so ignorant as to think this way. MS Active Directory could only hope to be as robust as NDS has been for years. You can count Netware vulnerabilities on one hand.

    Oh and before someone trots out the same tired BS argument of MS is the largest installed base, and hackers always target the largest installed base... How then do you explain the ratio of IIS vulnerabilities to Apache vulnerabilities given the marketshare ratios?

  227. A year ago it sucked, but it's better today by Adam+Wiggins · · Score: 2

    My company began using it a few years ago as a replacement for a commercial JSP server that was a completely piece of crap. Compared to the commercial program it was okay, but it frequently (like once every couple of months) would lock up and require not only a complete restart, but in fact a "kill -9" of all java processes running as the Jakarta/Tomcat user.

    Today we are using JDK 1.4 and Tomcat 3.x and are pretty happy. It doesn't lock up or do weird things anymore. Speed is okay; not blazing fast, but for our business, the compiling (or interpreting) of dynamic pages is not the slowdown. Database access is a hundred times as CPU intensive so speed of our dynamic content isn't really important. Our pages are fairly complex and usually compile in about 500ms.

    All in all I vastly prefer coding web pages in PHP. Java is just plain clumsy for creating web content. But if you've got hundreds of thousands of lines of legacy code (like us), Tomcat will do you just fine.

  228. No it isn't by ajf · · Score: 1
    Actually resin is open source but it is non-free. It is not licensed under the GPL but it is still "open source".

    Nope, "Commercial and other paid users must purchase deployment licenses" means it isn't open source.

    --

    I miss Meept.

    1. Re:No it isn't by Jord · · Score: 1

      Developers can view the source and are able to make changes which can then be submitted back. That is open source software. It just happens to be 'non-free' open source. But still open source none the less.

    2. Re:No it isn't by ninejaguar · · Score: 1
      "Developers can view the source and are able to make changes which can then be submitted back. That is open source software. It just happens to be 'non-free' open source. But still open source none the less."

      Excuse me. That wasn't the most inane comment I've heard, but its bucking for the title. By your definition, Microsoft would be an "Open Source" company because it shares the source code for its products to other companies.

      In no way or fashion does showing your sourcecode mean "Open Source" as everyone understands it. Microsoft would be the first to adamantly disagree with your statement.

      Your concept of "Open Source" further solidifies my fear that these companies who try to get a free ride on the Open Source bandwagon, are diluting the spirit or even the IDEA of what Open Source is all about. Sun wasn't allowed to do it (thought they tried), so why should the makers of Resin? Or, perhaps what they really want is the free publicitly or a controversy; in which case, I say let them be forgotten in obscurity.

      I think I'll start using the term Free Software in future reference to things I previously refered to as Open Source.

    3. Re:No it isn't by Jord · · Score: 1
      You should consider the difference between "open source" and the Open Source Movement. While I agree they share the same words they have drastically different meanings.

      Any code that the source is open and available for modification is "open source" code. Period end of statement. MS code does not fall into this category for the simple reason that you are not allowed to modify it nor is the entire code base available for review. However, Resin is an example of "open source" code. Developers can review the source and even modify it for their own use and *gasp* can submit the code back to resin to be integrated.

      Free Sofware aka "the Open Source Movement" is complete different than a company opening its source code and allowing people to use it in a non-GPLed license. What is so bad about that? Resin allows people to use it for FREE for development and even small businesses get to use it for free.

      Why must the Open Source Zealots(tm) demand that everything they *consider* to be open source must also be completely free of a pricetag? There is a world of difference between what Resin and other companies like them are doing and what Microsoft, et al. are doing. Stop thinking in extremes.

  229. Orionserver by corgi · · Score: 1

    Take a look at orionserver.com. Their latest STABLE release was released 6/2001! Since then they have released two EXPERIMENTAL versions. Since they want to do experiments over bug fixes, we have decided to move away from orionserver. Tomcat/JBoss seems to be the best way to go. I have used JServ/Tomcat-variations for several years, and in many production-sites. Tomcat has always been adequate (JServ was a bit of pain). If you really need to squeeze every last drop of performance out of your cpu, Resin might be the way to go. YMMV

    1. Re:Orionserver by Epesh · · Score: 1
      I was unaware that performance meant having to put out new stable versions every so often. Have you tested Orion? What about it failed for you? Would you rather they released buggy versions as stable, or would you rather them point out "YMMV" with new features?

      Personally, I prefer the latter; when I use an experimental version of Orion, I get the latest and greatest of their codebase... and when I need to be able to rely on certain features, I go for the stable. (I find the experimental code stable enough for production work, but hey.)

      You decided to move away from Orion to Tomcat... man, your development team must have screamed bloody murder because of the deployment phase.

      --
      Everybody dies.
  230. Measuring Tomcat Production Peformance by Anonymous Coward · · Score: 0

    All kinds of performance debates are best solved by numbers in practice. Use JMeter to mount a heavy load - equivalent 2-3 times of your known peak load - on Tomcat (configured with Apache web server) and see if it's acceptable. In practice, few sites have the load of concurrent users that Tomcat could not handle. Also, most of the performance issues come from the way apps are programmed, using a particular container vs another is very secondary and often accounts for about 5% of performance bottlenecks

  231. Actuate Software ships with Tomcat by ArizCom · · Score: 1

    Actuate V6 software (large-scale reporting) ships with Tomcat which it uses to power the included Active Portal as well as other internal processes.

  232. Tomcat in production environment... by threadsafe_r · · Score: 1

    We're using Tomcat 4.0.3 in a production environment (though on Solaris 2.8 E10000s/Ultrasparcs) and are very pleased with performance & stability. I should also add we're finalizing testing of an interface we developed to enable JSP/OpenJMS interactions - we're very pleased with the results to this point. Though our circumstances are unique I would otherwise seriously consider/recommend utilizing Tomcat under JBoss or Jonas...

  233. more Pro Resin by fishdan · · Score: 1

    Before an nameless evil company that makes PDA's and is named after a part of your hand bought and then closed us, we made a very complicated online calendar app for them. It scaled to handle 100k+ requests/transactions daily, and as far as I know still handles all their wireless registration, etc. We predated EJB's but we had rolled our own analagous beasts. We had started out on IIS (shudder) and after careful consideration moved to Resin. In addition to being superb, stable and fast, we found that the support that Scott (the head tech over at Caucho) was willing to give us was superb! We looked at TomCat tried it in our QA env, and it didn't hold up to even casual stress testing. Resin running on jdk1.4 with HotSpot--mmmmm, good. Responded well to tweaking nursery size etc, but ran well out of the box too.

    --
    Nothing great was ever achieved without enthusiasm
  234. Re:Orion & Resin licences by Anonymous Coward · · Score: 0

    Just download the kits - they only need licences for commercial deployments.