IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.72 MB
Powered by
Channel Info
Network: freenodeChannel: #tomcat |
Search in www.irclog.org
Log from #tomcat at freenode 2006-08-10
[00:00]<rrsjg2>Ries: But, there have been some pretty fair benchmark tests that found PHP/Apache to be slightly slower than Tomcat/JSP/Java.. and Tomcat/Java (no JSP).
[00:01]<ryns>jasonb: is that php with otu without a accelerator?
[00:01]<rrsjg2>Ries: It ends up being very hard to compare them fairly since both sets of technologies are broad, with lots of features each, and since the features don't exactly correspond, it is hard to write a fair test for each feature you wish to compare, and if you don't compare them all then you don't have the full picture.
[00:02]<rrsjg2>Ries: It was with an accelerator.. but as usual the details are somewhat sketchy. I wish someone would put together a team dedicated to getting to the bottom of this question in as fair and open a manner as possible.
[00:03]<r2rfygv>Well it would probably have to be the exact same app written on both platforms.
[00:03]<rrsjg2>Ries: It really comes down to a couple of main things: which web server is faster, Apache or Tomcat? Which web scripting language is faster, PHP or JSP? But, each of those isn't one big feature to compare, it's a large set of features to compare.
[00:04]<rrsjg2>jbalint: Yes, but it's worse than that since no single webapp can be called "average", nor representitive of what each of us is trying to write.
[00:04]<drssygn>heya jbalint jasonb :) how is everything ?
[00:04]<rrsjg2>jbalint: So, instead, you have to benchmark zillions of individual features.. and on like 5 different operating systems each..
[00:05]<r2rfygv>Yep. :) I don't really even consider things as whether raw PHP is faster than Java or JSP or Tomcat. I just think Javais best and capable so I use it and get it to do what I need.
[00:05]<rrsjg2>yassine: Hi yassine. Things are good, just been unusually busy.
[00:05]<wfvaz>not to mention different jvms ;)
[00:05]<r2rfygv>hey yassine
[00:05]<r2rfygv>wltjr: Nobody uses different JVMs! :p
[00:05]<r2rfygv>Sun is the one to rule them all.
[00:05]<rrsjg2>wltjr: That's for sure! Like JRockit or Excelsior JET for example!
[00:06]<rrsjg2>jbalint: Nah.. that's not true. There are some JVMs out there that do a better job of some things than Sun's JVM, and people do use them.
[00:06]<wfvaz> jbalint: we do one gentoo :)
[00:06]<ryns>jasonb: thnk you for your opinion.... I fully agree.... a hello world, would not be a good thing to compare...
[00:06]<wfvaz> jbalint: sun also does not have to much love for linux+amd64, no 1.4 jdk, and 1.5 is only a server vm, crappy performance with like netbeans and etc
[00:07]<rrsjg2>Also, different traffic loads would need to be tested.. so it's a multi-dimensional graph for each feature that would need to be compared.
[00:07]<r2rfygv>bbl - phone
[00:07]<wfvaz>heck Sun does not even have a booth at LWE SF next week :( only open solaris
[00:08]<wfvaz>jasonb: sure and not sure about php, but java apps can thread :)
[00:08]<rrsjg2>Sun is still learning their lesson over Linux.
[00:08]<wfvaz>Sun needs to revive Cobalt
[00:08]<rrsjg2>wltjr: PHP is also multithreaded, but how well it does that has a lot to do with which Apache version you run it through.
[00:08]<wfvaz>that was a great company, and good products, and Sun ate them and spit very little out
[00:09]<wfvaz>jasonb: I know php as a hole, but like a servlet can be single threaded or not, not sure about php stuff?
[00:09]<rrsjg2>wltjr: I find it funny that most PHP developers use Apache 1.3, which only has a multi-process model, not a multi-thread model.
[00:09]<wfvaz>I see little to no purpose to run 1.3
[00:09]<rrsjg2>wltjr: I believe new versions of PHP can run threaded code.
[00:09]<rrsjg2>wltjr: well, lots of PHP developers use 1.3 because for a long time PHP did not support Apache 2.0 or higher.
[00:10]<wfvaz>interesting, I don't know to much about it in modern days, I looked into it heavily a long time ago when I left ASP, but it was Java for me ;)
[00:10]<ryns>I think that apache itslef always say, stick to 1.4 because 2.0 is not stable....
[00:10]<wfvaz>jasonb: I will have to get with you over the weekend or first part of next week on your schedule, as I will be out your way
[00:11]<rrsjg2>People who I know who used PHP for a significant amount of time ended up dropping it for Java/JSP/servlets eventually in most cases, saying that the PHP language itself was really shaky and not what it needed to be. Plus, Java is a much more full featured programming language, and is the most widely used professional programming language today.
[00:11]<wfvaz>I have never known 2.0.x to not be stable, it's always been rock solid for me, just as much as 1.3.x, but I still have not dived into the workers part very deep
[00:12]<rrsjg2>wltjr: You're going to be in the SF bay area?
[00:12]<wfvaz>I know a few C people that prefer PHP, they have varying opinions of Java ;)
[00:12]<wfvaz>jasonb: yes, LWE :)
[00:13]<rrsjg2>wltjr: Ahh. I'm going to be busy next week, all except for Friday. I don't know about this weekend though. I might have some time.
[00:13]<rrsjg2>wltjr: When do you fly home?
[00:13]<rrsjg2>wltjr: BTW: Lyken is out here now too. :)
[00:14]<wfvaz>cool, I will be around
[00:14]<rrsjg2>wltjr: Developers who like coding in C have a major stylistic conflict with anything orderly like Java, so I don't expect them to like it.
[00:14]<wfvaz>not sure who Lyken is? TC dev?
[00:15]<swggvg>"'lo" btw :)
[00:16]<rrsjg2>hi swente. :)
[00:17]<rrsjg2>Well, when people do surveys to find out what languages businesses are using to develop their products, that's what I try to see. That does include lots of OSS since lots of OSS does start out or end up in a company.
[00:17]<swggvg>hm. i've the strange feeling that especially in OSS area many people are paranoid against java
[00:18]<rrsjg2>Lots of people are.. for no good reason.
[00:18]<rrsjg2>But, that hasn't stopped zillions of OSS Java projects from springing up all over.
[00:18]<swggvg>mmh "opinions" and "reasons" oftenly heavily differ :)
[00:18]<rrsjg2>It could be more, but..
[00:19]<rrsjg2>Eventually there will be a completely OSS (and good) JVM, so then I wonder what OSS folks will think of Java at that point.
[00:19]<swggvg>i wonder how things will evolve when|if SUN gives java free "totally"
[00:20]<rrsjg2>That will happen eventually. I just wonder if someone else won't donate their clean-room JVM before that happens.
[00:20]<rrsjg2>I was hoping for Excelsior JET, but they just licensed Java from Sun so I think it's not a clean-room impl anymore. :(
[00:21]<swggvg>(i personally do not really worry about this *that* much. if java had been opensource, i assume m$ would have taken over.. i'm not sure how the process agains M$ and java had ended when java had not been that close to sun)
[00:21]<swggvg>much fanatism in OSS, although hardly anyone insists on using opensource hardware *g*
[00:24]<rrsjg2>Open source hardware is a failed concept as far as I can tell.
[00:24]<rrsjg2>Open source software, though, isn't.
[00:25]<swggvg>well, you're probably [obviously?] right. (at least as long as we can't produce chips in a microwave)
[00:25]<rrsjg2>heh
[00:26]<rrsjg2>We can... nachos.
[00:26]<swggvg>45nm-nachos? :)
[00:54]<cs>how do I run tomcat on different port ?
[00:54]<rrsjg2>Edit server.xml and change the Connector port number.
[00:55]<cs>cool thanks
[00:57]<rrsjg2>(then restart Tomcat)
[12:03]<pr2h>hello
[12:06]<pr2h>I have trouble the configuration of Loggers
[12:07]<pr2h>I have inserted Logger in contexts, but i can't see any log file in $CATALINA_HOME/logs
[12:31]<ngsypnzud>hello. i downloaded the tomcat 5.5 core package. when i try to run it i get SEVERE: Begin event threw exception
[12:31]<ngsypnzud>java.lang.ClassNotFoundException: org.apache.catalina.logger.FileLogger
[12:31]<ngsypnzud>in the log file
[12:31]<ngsypnzud>what gives?
[12:35]<ngsypnzud>hmm its probably an error migrating the config file from 5.0 to 5.5
[12:35]<ngsypnzud>5.5 doesnt seem to have logging.
[12:39]<dnf>Ensiferum,
[12:39]<dnf> org.apache.catalina.logger.FileLogger is no more supported in the 5.5.x
[12:40]<dnf>you probably have a kind of Logger directive there that point to org.apache.catalina.logger.FileLogger
[12:40]<ngsypnzud>yassine: what should i use instead?
[12:41]<ngsypnzud>actually
[12:41]<drssygn>i think now you need JULI
[12:41]<drssygn>wait let me see
[12:41]<ngsypnzud>if it works then i dont care.
[12:41]<drssygn>i still did not tried it by my self
[12:41]<ngsypnzud>cant be bothered with this really.
[12:41]<ngsypnzud>only need logging if problems arise :)
[12:42]<ngsypnzud>yay







