irclog2html for #tomcat on 20030307

00:00.31a4akbso why cant apache have tomcat capabilites and be a supernova in server technology
00:00.39jasonbDoesn't seem like Apache httpd, special config for that, mod_jk, special protocol, & Tomcat is a KISS way to do it either.
00:02.03a4akbkissing and joking?
00:02.05jasonbTomekN2: I don't know what your jk problem is, but I don't know if I've heard success from people using that on a Linux 2.2 kernel.  I think I'd suspect that jk isn't quite flexibly written enough for that, but that's just a guess.
00:03.18jasonbSeriously, hooking Apache httpd up to Tomcat is not simple by any stretch of the imagination, and running Tomcat on port 80 is actually simpler even if it doesn't seem to be.  But, of course that doesn't solve your problem of being chained to php.
00:03.40TomekN2jasonb that's what I also think. I wrote to tomcat-user list my point of view (that I don't understand why connectors are sore complex and complicated) and... John Turner started argue with me :>
00:04.43TomekN2a4akb KISS is Keep It Simple, Stupid
00:04.47jasonbWell, you're asking to hook up a native code web server to a pure Java servlet container.  Mixing languages like that is complex in the first place, plus to actually do it you either have to add a network layer inbetween, or JNI calls (even more complex), or UNIX domain sockets (then you're not multiplatform enough), etc etc etc
00:05.15jasonbIMO, hooking Apache to Tomcat should be avoided whenever possible, and if it's not possible, then you should try to use mod_proxy instead.
00:05.34jasonbAnything else is going to drive you right into the woods.
00:06.08TomekN2jasonb sure, but in the real world people don't use load balancing and other such stuff. they just link one apache to one tomcat on the same host (localhost). I would say mod_rewrite should do the job then.
00:06.21TomekN2So why connectors anyway :?0
00:06.23TomekN2:)
00:06.35*** join/#tomcat bun0 (~hitoj@ppp-66-123-206-40.dialup.snfc21.pacbell.net)
00:07.29jasonbmod_rewrite?  Ugh.
00:07.31TomekN2jasonb you're a bit right, mod_jk is not the soft I loved at first sight.
00:07.49TomekN2jasonb what's wrong with mod_rewrite :)
00:08.13TomekN2this is even simler solution than portfw or proxing
00:08.21TomekN2s/simler/simpler
00:08.27jasonbIt's actually not.
00:08.32jasonbTry it and you'll see what I mean.
00:09.00TomekN2i have already learned mod_rewrite - I use it already for couple of years.
00:09.17jasonbHave you used it with Tomcat for a couple of years?
00:09.23TomekN2i admit that's not simple, but if you understand it
00:09.36TomekN2- it does the job
00:09.49TomekN2jasonb no, i use tomcat for 7 days :)
00:09.56jasonbOkay then.  :)
00:10.02jasonbYou'll find out.
00:10.44TomekN2for the time being i think i should make mod_jk work.
00:11.21*** join/#tomcat akb_oOo (~akb@as16-13.qualitynet.net)
00:11.22jasonbDo some googling for those error strings and maybe you can find some hints.
00:11.22TomekN2this seems to be the best way to serve java on tcp/80 at my machine for now..
00:11.37TomekN2i did, nothing particular
00:11.38akb_oOohi
00:11.48akb_oOowhat did i miss
00:13.15akb_oOoand who is  using my akb nick in here?
00:14.06akb_oOoakb is ~akb@p50883AB5.dip.t-dialin.net * akb
00:14.07akb_oOoakb on #fluxbox #gentooforum #gentoo.de
00:14.07akb_oOoakb using irc.freenode.net http://freenode.net/
00:14.07akb_oOoakb is an identified user
00:14.07akb_oOoakb has been idle 21mins 45secs, signed on Thu Mar 06 22:45:36
00:14.07akb_oOoakb End of /WHOIS list.
00:14.09akb_oOo-
00:14.36jasonb--- [a4akb] (akb@as7-69.qualitynet.net) : akb
00:14.43jasonb--- [akb_oOo] (~akb@as16-13.qualitynet.net) : akb
00:14.47akb_oOothats me alrigt
00:15.05akb_oOoget found u lost ghost..
00:15.38akb_oOocan we identify our nicks here?
00:16.07akb_oOoregister even?
00:18.06anelsonhrmmm this access log doesn't seem so great
00:18.24anelsonit is only showing errors of type 404
00:19.02akb_oOojasonb do you have any topics on which i can do some online reserch and contribute the docs to tomcaT?
00:22.04Anguswell, I managed to get my mod_rewrite/mod_proxy woes to go away, at least for the moment.
00:22.57AngusTook a while thoguh. I was up all night doing it.
00:25.11jasonbAngus: What did you do to fix your problems?
00:25.46AngusWell, I had to rewrite a lot of my rewrite rules. And then I had to fix the order in which my apache modules were being loaded.
00:26.08AngusThe big mod_rewrite task is still to come though.
00:26.10jasonbAngus: Painful using mod_rewrite, isn't it?
00:26.22jasonb(with Tomcat I mean)
00:26.38Angusjasonb: Well, there are definitely issues. :).
00:26.44jasonbTomekN2: See?
00:26.56AngusI think it's less painful than any other alternative for me at the moment.
00:28.00TomekN2jasonb see? :)
00:28.11TomekN2angus give me five :)
00:28.23akb_oOohigh 5 TomekN2
00:28.51AngusThe next task for me is to figure out a virtual directory structure corresponding to all the different sets of GET parameters my pages can take, and then rewrite those directories as to include the parameters. I suspect I'll pull out some hair over that.
00:29.11AngusTomekN2: five :).
00:29.23akb_oOok guys
00:29.26akb_oOohave a good time
00:29.32akb_oOoeat well and sleep well
00:29.34TomekN2Angus why dont you just rewrite 8080 to 80 for some vhosts?
00:29.35jasonbakb_oOo: Going somewhere?
00:29.50TomekN2i mean 80 to 8080
00:30.03akb_oOoi was getting bored so thought would get some sleep jasonb, but now that you are here, i will stay
00:30.03TomekN2i dont get the problem
00:30.32AngusTomekN2: because I need to be able to make a whole bunch of generated pages look as if they are static html.
00:31.03akb_oOoso jason u got any topic for me to r n d upon
00:31.15AngusTomekN2: Or rather be indidtinguishable from static html.
00:31.16TomekN2angus continue.
00:31.16jasonbakb_oOo: Well, I'm thinking.
00:31.33akb_oOothink thunk thinking thought
00:32.03TomekN2agnus is that not just forwarding request coming to tcp/80 into tcp/8080?
00:32.20akb_oOoi think i thunk the right thought but the thought that i was thinking was not actually what i thunk of so i thunk something more thinkable to think upon..
00:32.34AngusTomekN2: So the pages can't have things like category.jsp?category=blah&start=40&order=monthlycost.
00:33.26AngusTomekN2: Instead I have to map a url like: categories/40/monthlycost/blah.html
00:33.27TomekN2Angus just use cocoon.
00:33.41jasonbakb_oOo: I'm not sure.. many of the items that are in need of better documentation really require some deep knowledge of Tomcat's code, I think.  You might want to ask that same question on the tomcat-dev list..
00:33.50AngusTomekN2: Cocoon generates static html, tright?
00:33.53TomekN2you can have your jsp pages there and match uri's
00:34.19TomekN2match="categories/*/*/*.html"
00:34.27TomekN2generate category.jsp
00:34.42TomekN2param name="start" value="{1}"
00:34.47TomekN2etc.. that's it.
00:34.52AngusTomekN2: hmm. I don't know Cocoon.
00:35.07AngusCan I use it with a pre-existing set of jsp pages?
00:35.13TomekN2sure.
00:35.22AngusHmm. I'll have to look into that.
00:35.31TomekN2that's really simple.
00:35.49AngusTomekN2: can cocoon cache results?
00:35.55TomekN2that's the best way i know to have server pages look like static html
00:36.03TomekN2Angus yes.
00:36.37AngusTomekN2: I'll look into it. Thanks. I wonder how long it would take me to get up to speed with it.
00:36.46TomekN220 minutes.
00:36.50TomekN2:)
00:36.58*** join/#tomcat LordXtra (Lord@pD95365D9.dip.t-dialin.net)
00:37.30AngusTomekN2: K. One reason I'm doing this is so that I can switch the site out for _actual_ static html if I need to.
00:37.49AngusI was told to build a site and not worry about load- that it would be light.
00:38.18AngusThen after building the app I was told that it would have to support several million page views a day.,
00:38.27TomekN2hehe
00:38.29AngusAt some point.
00:38.57akb_oOohmm
00:39.03TomekN2Java should bare it better then php...
00:39.05TomekN2:)
00:39.19AngusMy boss has worked a deal (which I'm not at liberty to discuss, unfortunately) that could lead to _ridiculous_ amounts of traffic.
00:39.50AngusTomekN2: Sure. And I left hooks in for caching database queries.
00:40.36AngusTomekN2: But I'm still pretty sure that the level of traffic we could potentially face would require a _lot_ of machines if the pages were regenerated on each request.
00:41.18TomekN2so what you have now?
00:41.26TomekN2one tomcat 4.1 machine?
00:41.29AngusSo I wqould really like to leave myself the option of either generating static html, or using something like squid.
00:41.42AngusTomekN2: Yeah, at the moment one machine.
00:42.04AngusTomekN2: We can add a few to that, if we have to.
00:42.41TomekN2what cpu, ram and how many concurent http requests?
00:42.44AngusTomekN2: But not twenty. At least not at this point.
00:43.15AngusTomekN2: P4 1.4Ghz, as to the concurrent, I'm not sure yet.
00:43.40AngusBut possibly enough to put us in the top couple hundred most visited sites, eventually.
00:44.06Angus(Of course by that point, we will have to have more than a few more machines)
00:44.21AngusBut I'd like to use the minimum number.
00:44.28AngusPossible.
00:44.35TomekN2what is the memory usage of jvm?
00:45.28AngusWell, without many users, at this point about 50M. But we have a lot of data to add, so this will grow.
00:45.33akb_oOojasonb u here?
00:45.57TomekN2cocoon has cute caching machnizm
00:46.01AngusTomekN2: I haven't really had a chance to measure too much about the performance characteristics yet.
00:46.03akb_oOohmm
00:46.07bun0how do you guys simulate that 1000's of hits a second?
00:46.28TomekN2and you are alse able to generate static html by hand
00:46.32akb_oOoi thought u would give me a topic, its ok maybe when u reach home? i will wakeup by then
00:46.46AngusBut I know that at this point they are not good enough.
00:46.49TomekN2(command line useing)
00:46.56bun0yer cocoon better not generate pages per request or your not going to get close to those numbers you expect
00:47.03TomekN2but there is one conditions you must concider
00:47.19TomekN2you jsp must generate valid XML stream
00:47.27TomekN2so it has to be XHTML, not HTML.
00:47.36AngusTomekN2: I haven't built that yet. But what I wqould like to do is have two sites: One completely dynamic with an administration interface, and a static mirror of it.
00:47.51AngusThen I can generate the html by making queries to the dynamic site.
00:48.15AngusAnd it lets the people updating the site through the interface see the changes live.
00:48.29AngusSet up a cron job to do the updates.
00:48.59TomekN2so you have two options: try cocoon or try reverse squid.
00:49.00AngusAnother alternative is to use a reverse caching proxy.
00:49.25AngusTomekN2: Right. But Squid doesn't cache GETs with parameters, does it?
00:49.33TomekN2it does
00:49.50AngusTomekN2. Hmm. OK. I was mistaken then.
00:50.14TomekN2just remove "?" from hierarchy_stoplist
00:50.21TomekN2(squid.conf)
00:51.16akb_oOothink of a good interesting topic while am gone
00:51.28akb_oOoGoodnight and drive safely to home
00:51.32akb_oOobye
00:51.33jasonb"Installing Tomcat on the Moon"
00:51.39akb_oOoGoodnight all
00:51.41AngusAh, OK, thanks :). How much memory does squid use? (I know that's a hard question to answer in any definitve way, I just mean in general).
00:51.41akb_oOocool
00:51.46jasonbakb_oOo: Good night.  :)
00:51.49AngusRough idea.
00:52.05akb_oOoGoodnight jasonb
00:53.14TomekN2Angus that depends on configuration
00:57.09AngusOK. Cool. I think even if I use squid I will want to do rewriting on the urls, for a couple of reasons, but that sounds good. Maybe even squid->Cocoon.
00:59.48Angusbun0: about the generation, yeah, that's really what it comes down to. I need to use an existing Tomcat app to build a system that doesn
00:59.54Angusoops
01:00.03Angusrebui;ld pages per request.
01:01.22bun0if you dont use xsp perhaps, then it wouldnt need to recompile it
01:04.25Angusbun0: I don't know cocoon very well, but I am thinking that my best bet is either reverse proxying or generating actual html pages and using a very lightweight web server to serve them. The set of possible requests is large, but not prohibitively so. Things are complicated a bit by the fact that there will be a few pages that do have to be geberated per request, but I think that they will account for <5% of our traffic, so we could dedicate one
01:04.25Angusmachine to them.
01:14.45jasonbhttp://www.theregister.co.uk/content/4/29622.html
01:15.30Angusjasonb: Yeah, I saw a story about that. That's pretty funny.
01:17.26*** join/#tomcat Spline (~dj_aia@symphonatic.isisnetworks.net)
01:17.55Splinehey
01:20.06*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
01:20.42Hellaenergyibot: tapestry is at http://jakarta.apache.org/proposals/tapestry/
01:20.43Hellaenergy: okay
01:21.07Splineibot: Hellaenergy
01:21.08Spline: I wish you would RTFM.
01:21.20Hellaenergylol
01:24.06Hellaenergyanyone here running 4.1.21 yet?
01:25.02Hellaenergyibot: lart Spline
01:27.34Hellaenergywhat up jasonb?
01:30.11HellaenergyAnyone here write their pages in XML?
01:30.44jasonbNot yet.
01:32.36SplineI do
01:32.43Splineuse Cocoon to turn them into HTML
01:45.18TomekN2me to
01:46.13Splineyea?
01:46.26Splinecool... have you figured out XMLForms yet?
01:47.41TomekN2not yet
01:47.53TomekN2i just use simple xsp's
01:48.58Ishai.
01:51.26HellaenergyCacoon, huh?
01:51.42HellaenergyTis it a piece of cake?
01:52.09Hellaenergyibot: cacoon
01:52.10Hellaenergy: I don't know, could you explain it?
01:53.39Hellaenergyibot: cocoon
01:53.40XML to HTML converter. URL: http://java.apache.org/
01:54.39Hellaenergyibot forget cocoon
01:54.54Hellaenergyibot no cocoon
01:54.55Hellaenergy: I give up, what is it?
01:55.10Hellaenergyibot: cocoon is at http://xml.apache.org/cocoon/
01:55.11...but cocoon is already something else...
01:55.47Splineibot: help
01:56.16Splineibot: cocoon
01:56.20XML to HTML converter. URL: http://java.apache.org/
01:57.46Splineibot: cocoon is an XML publishing framework at http://cocoon.apache.org
01:57.46...but cocoon is already something else...
01:58.04Splineibot> no, Cocoon is an XML Publishing Framework at http://cocoon.apache.org
01:58.04okay, Spline
01:58.09Splineibot: cocoon
01:58.10i guess cocoon is an XML Publishing Framework at http://cocoon.apache.org
01:58.28Splineibot: Hellaenergy is a neat idea at http://www.landoverbaptist.org/news0401/hotrocks.html
01:58.29Spline: okay
01:58.40Splinelol
01:59.04Splineibot tell Hellaenergy about Hellaenergy
02:00.16Splineibot: freshmeat?
02:00.17i heard freshmeat is at http://www.freshmeat.net
02:00.22Splineibot freshmeat
02:00.23from memory, freshmeat is at http://www.freshmeat.net
02:00.30Spline~freshmeat
02:00.31i heard freshmeat is at http://www.freshmeat.net
02:00.36Splinebleh
02:04.52*** join/#tomcat bjf (~chatzilla@longfellow.dstc.edu.au)
02:06.21*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
02:06.29bjfquestion: this dosen't seem apparent to me from the documentation... but is it possible to configure the JSP compiler to rather than lazily compile pages when an application is started, compile everything in one hit?
02:07.07Hellaenergyibot: compile_jsp
02:07.08Hellaenergy: i don't know
02:07.16Hellaenergyibot: jsp_compile
02:07.17Hellaenergy: have you tried http://www.tldp.org/ ?
02:08.33*** join/#tomcat Spline-- (~dj_aia@anja.isisnetworks.net)
02:08.39Hellaenergybjf: It is possible using Ant
02:08.52Spline--lol
02:08.56Spline--ibot: Hellaenergy
02:08.57i heard hellaenergy is a neat idea at http://www.landoverbaptist.org/news0401/hotrocks.html
02:09.05Hellaenergywhats with that :)
02:09.22bjfta.
02:09.25*** part/#tomcat bjf (~chatzilla@longfellow.dstc.edu.au)
02:09.34Spline--so now you have to figure out how to correct ibot :)
02:09.36Spline--ibot: cocoon
02:09.36somebody said cocoon was an XML Publishing Framework at http://cocoon.apache.org
02:11.07Spline--ibot: arguing
02:11.07Spline--: are you using Windows?
02:11.22Spline--ibot: arguing is at http://www.clanhcc.com/funny/arguing.jpg
02:11.23okay, Spline--
02:50.19*** join/#tomcat Gnug225 (~Gnug225@24.236.252.183.gha.mi.chartermi.net)
02:53.21*** join/#tomcat DieselChrist- (cobalt@pm6-s029.amazon.com.br)
02:53.35DieselChrist-'lo
02:54.03Hellaenergy'lo
02:54.29HellaenergyWelcome
02:58.40jasonbWhoa, a much stronger, yet slower-to-accelerate Christ!
02:59.22DieselChrist-:D
02:59.33jasonb:)
03:03.55Hellaenergyjasonb: have you used the new beta yet?
03:04.12jasonbNot yet.  I'm about to try it though!  :)
03:04.29HellaenergyI am thinking about it
03:04.39HellaenergySound promising
03:04.47Hellaenergys/Sound/Sounds
03:04.48jasonbIt's probably good.
03:05.56DieselChrist-which beta?
03:06.09DieselChrist-oh sure... 5.0?
03:06.32Hellaenergy4.1.21 acually
03:11.29DieselChrist-the latest stable still 4.1.18, does it?
03:17.56Hellaenergyyes
03:18.30HellaenergySeems like alot of schools use tomcat for teaching :)
03:20.52DieselChrist-yes, you're right.
03:21.12Hellaenergyibot: What is a Spline
03:21.13Hellaenergy: I think you lost me on that one
03:21.14DieselChrist-well... that's a struts courseware.
03:21.24Hellaenergyah
03:21.33Splinelol
03:21.41HellaenergyDieselChrist-: Did you know there was a #struts channel?
03:22.19DieselChrist-yes. i'm there. :)
03:23.12Splineibot: Spline is at http://www.cl.cam.ac.uk/Teaching/1999/AGraphHCI/SMAG/node5.html
03:23.13Spline: okay
03:23.29DieselChrist-shame. hsql is unmaintained. hsqldb is... but server.xml still references to the old hsql driver
03:23.31Splineibot: can you tell be about Hellaenergy?
03:23.31Spline: I give up, what is it?
03:23.39Splineibot: hellaenergy
03:23.41somebody said hellaenergy was a neat idea at http://www.landoverbaptist.org/news0401/hotrocks.html
03:35.59Hellaenergyno
03:36.43Hellaenergyas a matter of fact I am kind of heavenly accoding to my girlfriend ;)
03:36.58*** join/#tomcat mapleman (mapleman@mapleman.usercloak.freenode)
03:38.32DieselChrist-girlfriends are evil
03:38.48DieselChrist-well... i don't care. lost women are the most sought anyway. :)
03:39.24DieselChrist-(if you don't understand, excuse me. it's a brazilian expression)
03:40.29Hellaenergyibot: lart Spline
03:44.01HellaenergyDieselChrist-: Are you OK?
03:44.04Hellaenergylol
03:45.44DieselChrist-err... no. i just took too much sun this carnival. my shoulder skin's no longer skin. just flesh. :)
03:47.28Splineouch
03:51.29DieselChrist-well. in brazil, carnival is a holiday from monday to half wednesday.
03:51.48DieselChrist-5 days of fun.
03:52.27DieselChrist-i live in the amazon. we went to salinas, a town where the beaches are in the atlantic, and are so large that people can put their cars there. i did it :D
03:56.25HellaenergyDieselChrist-: That sound really nice
03:56.37Hellaenergys/sound/sounds/
03:58.56DieselChrist-sure it is
03:59.31DieselChrist-it's amazing to hang on a beach in the midnight, to look around and find nightclubs, and people having fun in the front of the ocean...
04:03.03anelsonanyone know how to disable the track and trace methods in tomcat
04:03.04anelson?
04:04.29DieselChrist-could you explain?
04:04.39anelsonDieselChrist-: me?
04:04.49Hellaenergyanelson: ya you!
04:04.53Hellaenergy:)
04:05.33anelsonhttp://archives.neohapsis.com/archives/vulnwatch/2003-q1/0035.html
04:05.41anelsonthat url might do a better job
04:06.36DieselChrist-hm ...
04:06.37anelsonalso i don't have tomcat listening on it's own the only way it it can be accessed is through apache and mod_jk
04:06.55DieselChrist-you might tune up your web.xml setup so you can deny these requests.
04:07.21DieselChrist-i think there's a global web.xml who can do the job for you...
04:07.25anelsoni did the apache fix allready but nessus still says i'm vulnerable
04:08.07anelsonDieselChrist-: i'm really new to the whole tomcat admin thing so any pointer on what i'm looking for or even how to do it would be great
04:08.37DieselChrist-we don't do pointers... we're java programmers, after all
04:08.42DieselChrist-lemme check
04:10.54DieselChrist-i can't help you the way i really wanted, but check http://www.acknowledge.co.uk/snippets/java/docs/com/ack/servlet/BasicAuthenticationWebResource.java.html for a web.xml sample. you might check out web.xml dtd and specs (j2ee specs for web containers, jsp/servlet stuff). it might help you better.
04:11.35anelsoni would have thought that as soon as apache saw a request like TRACE /examples/ or anything with TRACE it would reject it before it sent the request to mod_jk
04:13.33DieselChrist-then it's not tomcat. it's apache.
04:14.40anelsonnope if i turn tomcat off then apache isn't vulnerable
04:14.44DieselChrist-check the apache docs and setup for any track/trace request. since they're seldom used keywords, i suggest you start looking, for example, at the mod_dav docs... and figuring out what they do, along with the apache docs, which are really compreensive.
04:14.48*** join/#tomcat Gnug225 (~Gnug225@24.236.252.183.gha.mi.chartermi.net)
04:15.02anelsonDieselChrist-: i've allready done it with apache
04:15.26DieselChrist-nah. mod_jk will have conditions to call tomcat. you might check these conditions... and tune them ;)
04:15.41anelsonahhh maybe i see
04:16.07anelsonso maybe i could tell mod_jk to not forward anything with a TRACE | TRACK to tomcat?
04:16.24anelsonalthough it would be cool to just configure tomcat not to accept them either
05:13.18*** join/#tomcat Gnug225 (~Gnug225@24.236.252.183.gha.mi.chartermi.net)
05:14.30*** join/#tomcat mapleman (mapleman@mapleman.usercloak.freenode)
05:25.28Hellaenergynight
05:25.30*** part/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
05:41.13*** part/#tomcat anelson (~andy@12-254-190-230.client.attbi.com)
05:53.34*** part/#tomcat DieselChrist- (cobalt@pm6-s029.amazon.com.br)
05:58.46*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
09:58.55*** join/#tomcat a4akb (akb@as16-216.qualitynet.net)
09:59.22a4akbGoodafternoon.
10:24.43*** join/#tomcat acollins (~acollins@194.130.58.131)
10:30.49*** join/#tomcat Karol_ (~nobody@p5089478B.dip0.t-ipconnect.de)
10:48.38a4akbi wonder how can php run on sites that dont have any servers..any idea?
10:49.06a4akblike geocities provides only space, but i saw a few guys runing good apps there..how?
10:56.24Karol_a4akb, you need a server that runs your PHP scripts. File server won't do.
10:56.47*** join/#tomcat farmer (~black@193.77.151.145)
10:57.23a4akbKarol_ what kind of server?
10:57.24a4akbapache?
10:57.29a4akbbut i know a site on geocities that runs on php
10:57.55Karol_This shouldn't really matter for you. Just talk to your provider to give you PHP support.
10:58.15Karol_it is very common to have it, don't worry that your privider won't know what you need.
10:58.42Karol_just tell your provider: "I want to run PHP scripts."   They will know.
10:58.56a4akbmy isp?
10:59.31Karol_for example, your ISP. Or any webhoster out there. All of them support PHP (or 90% or them perhaps)
11:00.06Karol_hey, why don't you take a look to #php
11:00.21farmerhmm isetup a user with role tomcat and when i try to login to the admin tool i get resource denied.. where do i set that? .. i cant find it in the docs
11:00.23Karol_I'm sure they will give you more precise information, since this is a pure Java forum
11:00.49a4akbi got the proider thing but where to place the php files?
11:01.16Karol_a4akb, your provider will host your html documents (or php documents)
11:01.43a4akbok
11:01.44Karol_farmer, are you using the memory realm of tomcat? (tomcat-users.xml)
11:01.49a4akbsounds interesting
11:01.55farmeryes tomcat-users.xml
11:02.01farmeri restared tomcat too
11:02.12Karol_did you specify the "tomcat" role in the tomcat-users.xml ?
11:02.14farmer<PROTECTED>
11:02.14farmer<PROTECTED>
11:02.18Karol_ok
11:02.26farmeri deleted the other example lines
11:02.42farmerseems like i have to edit the policy for resources somewhere or something
11:03.05Karol_Take a look at the "web.xml" of the admin webapp and see what role the security-constrain references
11:05.50Karol_but I believe that the role for the admininstration webapp was "admin"
11:06.54farmer<PROTECTED>
11:06.54farmer<PROTECTED>
11:06.56farmeryep you are right :)
11:06.59Karol_ok
11:07.21farmeris there anyway for tomcat to rehash the configs
11:07.26farmeror is it neccesary to restart
11:08.32Karol_farmer, I don't know about the memory realm (I haven't really used it much...) . Why don't you try to change it and see if Tomcat recognizes a changed resource and perhaps reloads the realm
11:08.39Karol_(or updates)
11:09.45farmeri did that yesterday.. didnt take effect i think
11:10.23farmerok got in cool.. now im waiting for it to load everything
11:17.05farmerok the deployed programs are under webapps/ .. is that also the place for me to develop new progs?
11:17.15farmerim totaly lost in this concept.. :)(
11:22.47Karol_Sorry I was away
11:23.36Karol_If you develop your own WebApp and want to deploy it on Tomcat, either copy the directory or a proper WAR archive to the WebApp folder
11:24.21farmeraha
11:24.29farmerbut what would be a good place to develop it>? :)
11:24.34farmerim mean where
11:25.38Karol_That is up to you alone. You deploy a well packaged application that comes from <somewhere>
11:25.56Karol_to give you a hint, take a look at Ant (http://ant.apache.org/)
11:26.09Karol_you can use Ant to do the packaging and deploying for you.
11:26.46Karol_Those are, however, slightly advanced topics, I suggest that you make yourself familiar with the concept of Web Applications and the Servlet / JSP specification
11:27.06farmeryeah i shall :)
11:27.06farmerthanks
11:30.58*** join/#tomcat vakYpollo (~higopico@151.Red-80-36-135.pooles.rima-tde.net)
11:31.53acollinsdoes anyone know how to get tomcat 4.1.12 to do autodeployment of WARs? I have unpackWARs="true" autoDeploy="true" set in the localhost virtual host....but it's not working
11:35.30acollinsalso, does anyone know how to set up a webapps with it's own log file instead of having everything go to catalina.out or localhost.log?
11:49.04KarolRas to your second question:
11:49.49KarolRput the following element under your <context />
11:49.49KarolR<PROTECTED>
11:50.51*** join/#tomcat Pointy_Work (~Pointwood@fw.agropark.dk)
11:50.56KarolRTo your first question, it should autodeloy out-of-the-box
11:51.23*** join/#tomcat TomekN2 (~tnowak@zorro.netventure.pl)
11:51.36KarolRif it doesn't, you might have an invalid web.xml
11:51.48TomekN2hi.
11:51.54acollinsKarolR: thanks, can I do the logging from within the webapps's web.xml? so that I can just drop a new war on a new machine without editing configs/
11:51.57*** join/#tomcat Bain (~bain@80.46.172.42)
11:52.10acollinsKarolR: cool, I'll look at my web.xml for the deployment...
11:52.41KarolRacollins: no you can't declare logging in web.xml, since this is the standard deployment descriptor and goes by the spec which doesn't include any logging features.
11:53.47acollinsKarolR: ok, I was going to use ServletContext.log()...
11:54.04acollinsKarolR: but, I only use tomcat...so it probably not an issue ;-)
11:55.42acollinsKarolR: I've set my <Context path="" docBase="blackbox" debug="0"/> so that blackbox becomes the root...would that break autodeployment?
12:04.25acollinsah, looks like it does :-(
12:14.07a4akb...
12:14.43a4akbfloats even
12:21.26KarolRSorry, I was away
12:22.27KarolRI would set docBase="/to/your/absolute/path/on/filesystem"
12:27.58acollinsKarolR: thanks for the help. top stuff :-)
12:30.37TomekN2what Context object are passed to webapp as context-keys?
12:33.48farmerwill tomca
12:33.52farmerups
12:35.04farmerim following the book i made in webapps/ : bible directory and inside WEB-INF .. and in WEB-INF web.xml and classes/Hello.java and classes/Hello.class and when i try localhost:8180/bible/servlet/Hello it cant find it
12:35.53KarolRnot localhost:8080 ?  did you configure the coyote http11 connector to run on port 8180 ?
12:35.56vakYpollofarmer: I don't know exactly but you have to include a servlet-mapping in web.xml
12:36.00farmerhmmm
12:36.15farmerwell http://localhost:8180/examples/servlet/RequestHeaderExample this works
12:36.20vakYpollo(sorry, yes: 8180 seems to be wrong port)
12:36.21farmerthe xamples work on 8180
12:36.24KarolRok
12:37.05farmerim using the default configuration.. 8080 isnt even open :)
12:37.39vakYpollofarmer: can we see your web.xml file? (use  http://www.hellaweb.com:8888/)
12:37.50farmerhmm sure
12:38.20vakYpolloTomekN2: what are context keys?
12:38.23farmerhttp://section.ath.cx/web.xml
12:38.35farmerups not thats not it
12:38.55TomekN2vakYpollo see: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/util/log/CocoonTargetFactory.html
12:38.56farmernow its the correct one
12:39.09farmerits very simple copied from the book
12:39.23TomekN2vakYpollo value in <filename>...</filename>
12:40.51hellabot"kmet" pasted &lt;!DOCTYPE web-app PUBLIC &quot;-//S at http://www.hellaweb.com:8888/72
12:40.53vakYpollofarmer: it seems to be very simple, yes.  I have not tried a so simple web.xml.
12:40.59farmerhttp://www.hellaweb.com:8888/72
12:41.10farmerhere too
12:41.18farmerhmm probably i need something more then
12:42.33vakYpollofarmer: try to add: <servler><servlet-name>Hello</servlet-name><servlet-class>Hello</servlet-class></servler> <servlet-mapping><servlet-name>Hello</servlet-name><url-pattern>/Hello</url-pattern></servlet-mapping>
12:42.51farmerokay
12:42.55vakYpollo(<servlet> not <servler>)
12:43.27vakYpollofarmer: between <wab-app> and </web-app>
12:43.34farmerhmm did that
12:43.41vakYpollo;)
12:44.12farmersame herror
12:44.59vakYpollofarmer: exactyl, what error?
12:45.08farmerThe requested resource (/bible/servlet/Hello) is not available.
12:46.55vakYpollofarmer: try localhost:8180/bible/Hello
12:46.58farmerhmm i see something with servlet-mapping in examples/WEB-INF/web.xml
12:47.02farmervakYpollo: just did same
12:47.06farmerah without servl
12:47.18farmerwee that works
12:47.19farmerthanks
12:47.25vakYpollonp
12:47.37farmerthe book writer seems to have a diffrent configuration
12:55.30a4akb4suffering suffercats!
12:56.03a4akbi downloaded the easy php installer like for an hour, and i find out its in Deutch :(
12:56.09a4akb:~~~~~~~~~~~~~~~~~~~~~~~~~~~~(
13:05.22vakYpolloTomekN2: I see ${context-keys} is like a variable substitution, isn't it?
13:05.55vakYpolloTomekN2: in this case, I suppose to get the context path...
14:33.17*** join/#tomcat ph2k (~ph2k@HSE-MTL-ppp60158.qc.sympatico.ca)
14:51.33KarolR.
14:55.11*** join/#tomcat bwolf (core@p50805FC4.dip.t-dialin.net)
15:23.04*** join/#tomcat akb_oOo (akb@as4-3.qualitynet.net)
15:23.14akb_oOohey all
15:28.57KarolRhi
15:37.09bwolfhrm, i have touble loggin in to admin.app
15:38.19bwolfI'll get The request sent by the client was syntactically incorrect (Invalid direct reference to form login page)
15:38.36bwolfalthough I have   <user username="admin" password="admin" roles="manager,admin"/>
15:38.49bwolfin tomcat-users.xml
15:38.55bwolfany pointers?
15:42.38*** join/#tomcat a4akb (akb@as4-60.qualitynet.net)
15:42.41a4akbhey
15:42.57bwolfhiho
15:43.11a4akbi got a bundled software called easyphp, it boasts of having mysql, apache and php all in one..
15:44.14a4akbunfortunately i got the wrong language support in it..
15:44.14a4akbin the www folder, i put a sample .php code
15:44.39a4akbwhen icall it through localhost, it gives something i cant read nor understand, whats the right procedure i should access the page?
15:46.36a4akbbye bbl...
15:48.44*** join/#tomcat samwong (sam@cm61-10-97-188.hkcable.com.hk)
16:01.31*** join/#tomcat Raboo (rabi@212.37.0.75)
16:12.15*** join/#tomcat Raboo (~rabi@212.37.0.75)
16:12.25KarolRa4akb: please consult the #php channel with php-specific questions
16:12.56KarolRphp does not have anything in common with Tomcat or Java topics
16:17.33*** part/#tomcat samwong (sam@cm61-10-97-188.hkcable.com.hk)
16:32.35*** join/#tomcat Raboo (rabi@nikson.dataphone.se)
16:45.08KarolRAnybody familiar with Jakarta Digester here?
16:46.19*** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-2-188.abo.wanadoo.fr)
17:07.17*** join/#tomcat mod_cure (cure@cs24243192-164.austin.rr.com)
18:29.22*** part/#tomcat vakYpollo (~higopico@151.Red-80-36-135.pooles.rima-tde.net)
18:33.35*** join/#tomcat Gnug225 (Gnug225@24.236.252.219.gha.mi.chartermi.net)
18:37.51*** join/#tomcat vixnix (~vixnix@dsl092-237-197.phl1.dsl.speakeasy.net)
19:17.22*** join/#tomcat mapleman (mapleman@mapleman.usercloak.freenode)
19:38.28*** join/#tomcat akb_oOo (akb@62.150.181.63)
19:39.09akb_oOoGoodevening
19:41.09akb_oOo:( someone stole my original nick
19:42.34akb_oOodoes tomcat and apache conflict over same localhost?
19:48.07*** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141)
19:48.25akb_oOohey hella!
19:48.34Hellaenergywhats the best version control system?
19:48.44akb_oOohow have u been?
19:48.49Hellaenergywhats the best open source/free version control system?
19:48.52Hellaenergygood thanks
19:49.08akb_oOogood 2 know
19:49.35akb_oOowhich cs?
19:56.59*** join/#tomcat jasonb (~jasonb@nat1.sp.collab.net)
20:05.31Hellaenergyjasonb: Whats a good source control system/version control system?
20:07.25akb_oOohey jasonb
20:07.32akb_oOoGoodmorning to you all.
20:14.26akb_oOoAn important problem in program development and maintenance is version control, i.e., the task of keeping a software system consisting of many versions and configurations well organized. The Revision Control System (RCS) is a software tool that assists with that task. RCS manages revisions of text documents, in particular source programs, documentation, and test data. It automates the storing, retrieval, logging and identification of revisions,
20:27.18farmerHellaenergy: http://www.cvshome.org/ maybe this?
20:31.21jasonbHellaenergy: Subversion!
20:31.27jasonbNo more CVS!
20:31.44jasonbhttp://subversion.tigris.org/
20:33.16jasonbakb_oOo: Fiction.
20:33.29akb_oOohmm'
20:33.46akb_oOoso where is the topic which will get me my noble prize for research..
20:35.08jasonb:)
20:35.34jasonbHmm..  Which operating systems can you do the research about?
20:35.47jasonb(which ones can you use to try stuff out on?)
20:35.49akb_oOohey jasonb nice shine, did u brush ur teeth twice ;) ur smile is gleaming with confidence.
20:36.35jasonbAm I smiling?
20:36.46akb_oOoDONT REMIND ME OF OS :~~~~(
20:36.54akb_oOoi just found out..
20:37.08akb_oOooracle is not certified to run on 98 se :(((((
20:37.44akb_oOohmm
20:37.53akb_oOomaybe on xp professional
20:38.02jasonbakb_oOo: I think you should put together a howto doc about how to install both RH linux and Tomcat, from a Windows user's perspective.
20:38.07jasonbThat's really what I'd suggest.
20:38.16jasonbYou're not the only one in that position.
20:38.28akb_oOo:S
20:38.35akb_oOowindows stink
20:38.36iannilol
20:38.38iannioracle on 98
20:38.40iannithat's funny ;)
20:39.08akb_oOolife is funny
20:39.28jasonbHellaenergy: Seriously, I suggest you get Subversion and start using it.  Especially if you're going to start fresh with a brand new repository.
20:39.32akb_oOohow was your night jasonb? slept well?
20:39.46jasonbakb_oOo: Actually, I did.  And you?
20:40.10akb_oOoyawn, i dont know yet
20:40.27akb_oOoi was waiting here till 4am for u to give me a topic then i left and slept ok
20:40.36farmerwhats a good library or something to seperate code/html under servlets/jsp .. like templates or something?
20:41.01jasonbfarmer: Struts.
20:41.10iannivelocity.
20:41.19jasonbvelocity sucks.
20:41.22iannidude
20:41.29ianniyou recommend struts and say *velocity* sucks?
20:41.39farmerok i will try both and decide :))
20:41.40akb_oOovelocity= distance travelled by time taken to travel that distance
20:41.43jasonbStruts takes users in the direction of the industry standard.. JSP.  Like it or not.
20:41.45iannifarmer: best bet
20:41.56ianniI have better standards than the industry.
20:41.57ianni;)
20:42.03jasonbfarmer: Feel free to try both.  They're open & free.
20:42.15iannistruts is definitely the most supported one i know of though
20:42.27jasonbianni: I just don't agree.  I've used both quite a bit, and I really dislike velocity.
20:42.28ianninot that struts and velocity are really comparable
20:42.32iannijasonb: why?
20:42.48iannijasonb: tried webwork? it's nicer than struts, for me
20:43.03ianniit isnt perfect either.. but what is
20:43.12iannivelocity is a templating engine
20:43.18iannistruts is a JSP MVC framework
20:43.19jasonbianni: Velocity is *not* robust code.  Struts is.  Velocity doesn't offer as much flexibility as Struts/JSP.  Velocity's code is a total RATS NEST, and Struts & JSP is very readable and maintainable code.
20:43.27iannijasonb: I like simplicity.
20:43.33iannivelocity is fast.
20:43.38ianniand does not tie you down to anything.
20:43.40ianniit works.
20:43.40jasonbSo is Struts.
20:43.41ianni*shrug*
20:43.47iannistruts ties you directly to the web, man!
20:43.53ianniand passed around servlet objects!
20:43.55iannipasses
20:44.02jasonbVelocity ties you down to so many things dude!  Turbine, which sucks sucks sucks!
20:44.06ianniuh
20:44.13iannivelocity depends on turbine?
20:44.23farmeri like that everything connected to java has that cleanless and enterprise feel to it:-)
20:44.34farmersofar i've only done php (yuck)
20:44.39ianniwell, php sucks :)
20:44.41jasonbTurbine was created to get around things missing in the servlets 1.0 and 2.0 specs.  Well those things aren't missing from the modern servlet specs anymore.. so how come we need Turbine?  We don't.
20:44.53farmeri like ruby but its not mature enough to use for real web stuff
20:44.55iannijasonb: I dont know what turbine is and i dont care. I use velocity!
20:44.57jasonbphp sucks worse than velocity!
20:45.06iannias far as I know
20:45.06jasonbianni: You also use Turbine.
20:45.09akb_oOohey guys did i introduce u all to joezilla?
20:45.12iannivelocity has nothing to do with turbine
20:45.15iannijasonb: no...
20:45.21iannijasonb: maybe internally.. but it works!
20:45.29iannii can render tempaltes in sheer milliseconds
20:45.32ianniand it's very readable
20:45.34ianniso whatever :P
20:45.36jasonbianni: And, if you have a bug, you may find that the bug is in Turbine, and you will have to go make a change to Turbine source and get it to recompile.. that SUCKS because it's a total rats nest.
20:45.47iannijasonb: well, struts make MY applications a rats nest
20:45.51ianniso no thanks :)
20:45.58jasonbBoth kinds of templates are readable.
20:46.08iannijasonb: what other kind are ya talkin about?
20:46.11iannijsp ?
20:46.20iannior is turbine a templating thing too?
20:46.21farmerok one more question.. if i'm making a page with j2ee and all will i need more computing power to back it up as opossed to the php variant (it wont be any really busy site)?
20:46.29iannifarmer: depends on the code, silly
20:46.39farmerwell is it more hungry:)
20:46.40jasonbianni: Struts offers features, but you don't need to use them all if you don't want to.  If you'd rather just use features that keep your app clean in your definition of clean, you can do that with Struts.
20:47.04iannijasonb: but then I am tied down to JSP/servlet land with it
20:47.16ianniwith ww/velocity, or ww/jsp, it's totally agnostic
20:47.18jasonbfarmer: You shouldn't need any more computing power.  J2EE is efficient.
20:47.30ianninot to mention it's easier to set up and code.. (*it seems to me*)
20:47.37farmerok thanks
20:47.57ianniit hides more maybe... but at least I can do stuff more properly...
20:47.57jasonbianni: You'll always be tied to something, so it's best to be tied to an industry standard so you can play well with others, and also an implementation that is maintainable.
20:48.06ianniseems struts goes against spec even at points..
20:48.11iannijasonb: I guess that's a valid argument...
20:48.21jasonbStruts goes against no spec.
20:48.33iannijasonb: even when it passes around the HttpServletRequests?
20:48.39iannimaybe it's changed recently
20:49.41jasonbStruts only does spec-compliant things.  At least one of the main authors of Struts works for Sun and is working to make Struts another Sun standard.. and he also wrote Tomcat 4, so he knows standards compliance well.
20:49.51ianniso what...
20:49.56akb_oOothe green thing on this page is joezilla http://www.joecartoon.com/pages/amazing/
20:50.04jasonbSo he's not going to stupidly make it not comply with the Java Servlet Specification.
20:50.15iannihell, tomcat didnt comply with a lot of it up till now
20:50.21iannii think it still doesnt in a few cases, classloader wise
20:50.30iannidoes 4.1.18 load tld's from jars?
20:50.44jasonbianni: Wrong.  Tomcat has been very compliant with the Servlet specs since about 2000.
20:50.56iannijasonb: even when tomcat 3 had no XML JSP?
20:51.21iannieven when catalina wouldnt load TLD's from JAR files?
20:51.22jasonbI'm referring to Tomcat 4.  Not 3.  3 was a rats nest in itself.
20:51.29iannieven when crappy classloader bugs fuck everyone up
20:51.32ianni;)
20:51.37ianniyeah, you gotta admit... 3 wasn't the best
20:51.48ianniand catalina is lots better
20:51.55jasonbThe Java Servlet Spec itself is wishy washy about classloading.  So, because of that, Tomcat is too, even Tomcat 4.
20:51.59jasonbSo, it's compliant at least.
20:52.01jasonb:)
20:52.03iannitrue enough ........
20:52.14akb_oOo(:
20:52.16jasonbI know because I've also implemented an open source servlet container.
20:52.30jasonbSo I know that the spec isn't clear on classloading.
20:52.32iannianyway, doesnt struts use the HttpServletRequest outside of it's scope, as indicated in the servlet spec?
20:52.37iannijasonb: very true :)
20:52.41iannijasonb: which did you implement?
20:52.46iannijasonb: I was thinking about doing one lately
20:52.50jasonbBut, I know that the Tomcat 4 folks have spent a lot of time on making the classloading in TC4 be reasonable.
20:52.51iannifor educational value
20:52.57iannijasonb: it has improved.
20:53.25jasonbianni: The Locomotive Servlet Container.. it's basically gone now.. mainly because I decided not to implement a new version because Tomcat 4 was everything I wanted.
20:53.45iannijetty looks cool
20:54.14iannii can't use tomcat for myself... when i got other containers that smoke it in speed.. my work deploys on catalina though
20:54.24ianniit works fine onec you got it goin'
20:54.35akb_oOolost..
20:54.38ianniits just a bit sluggish it seems in deploying (only compared to much faster containers anyway)
20:54.56farmerand faster free containers?
20:54.58jasonbianni: What servlet container do you think smokes Tomcat 4?
20:54.58iannias open source, it seems the best
20:55.05iannijasonb: orion and resin is what I use
20:55.09ianniBUT
20:55.13jasonbianni: Have you benchmarked those??
20:55.20ianniI think jetty is now comparable now that they implemented http connection pooling
20:55.21iannijasonb: yes
20:55.29ianninot that it matters
20:55.36iannithe difference is very easy to tell, for my applications
20:55.40iannihell, without any installed even
20:56.02ianniI develop a lot of J2EE stuff.. I am used to discerning the times taken to do stuff
20:57.28jasonbhttp://webperformanceinc.com/library/ServletReport/index.html
20:57.52jasonbAs you can see from this more official benchmark report, none of them "smoked" Tomcat.  They're all about even.
20:58.04ianniI've read this...
20:58.09jasonbSome things are better in one of them than another, but everything considered, they're about even.
20:58.13iannithey didnt bnechmark deployment time.
20:58.39jasonbdeployment time.. heh!
20:58.54ianniyeah, some of us use classes other than servlets... :)
20:59.05jasonbDo you think your web site viewers care about your deployment time?  :)
20:59.09ianninoe
20:59.13jasonbExactly.
20:59.20ianniwhich is why I don't ever have to tell them I use the faster container for development
20:59.24ianninor which container I use for production :)
20:59.43ianni3 seconds x 100 is a lot
21:00.26akb_oOoO(n),O(n square) et all
21:02.09ianniit's a useful way to describe efficiency, I suppose
21:03.03akb_oOobut no one cares
21:03.39ianni*shrug*
21:03.49iannithey should
21:04.06ianniO(n) is O(n) whether or not you're familiar with the notation :)
21:04.19ianniand it is faster than O(n^2)
21:04.41iannijsut imagine one for loop as O(n) and two for loops, nested, as O(n*n)
21:04.48ianni(I believe that is accurate)
21:05.08ianniit's a very generic terminology
21:05.38farmerhttp://www.e-michael.jp/gallery.htm
21:06.02akb_oOo:)
21:06.05akb_oOogood old days
21:06.23iannihah
21:06.38iannianyone read japanese?
21:06.39iannihehe
21:07.46akb_oOohmm
21:08.15Hellaenergyjasonb: Thanks
21:08.40akb_oOowow that was a quick reply hella ;)
21:09.20akb_oOohow is ur cold?
21:09.49Hellaenergyjasonb: Thanks alot ;)
21:09.56akb_oOolol
21:10.01akb_oOohe aint here i guess
21:16.04akb_oOoah got it
21:16.13akb_oOowhere do i send my work for review?
21:16.53akb_oOowhen i write it
21:32.05Hellaenergywhat work?
21:32.50akb_oOonoble prize?
21:38.24akb_oOoif i write something on tomcat, where can i send it or paste it
21:46.15Hellaenergycvs I believe
21:46.36HellaenergyI would ask that question on the tomcat-devel mailing list first, though
21:47.17akb_oOocool
21:50.48akb_oOobye all nightnight
22:17.42*** join/#tomcat xap (~mpeck@209-232-191-110.ded.pacbell.net)
22:17.44*** part/#tomcat xap (~mpeck@209-232-191-110.ded.pacbell.net)
22:17.57*** join/#tomcat xap (~mpeck@209-232-191-110.ded.pacbell.net)
22:18.05xapis there an irc channel for apache jameS?
22:18.55xap?
22:18.58jasonb:)
22:24.06xapthis is stupid
22:24.19xapwhen i run the james run.bat, it can't load its own stupid classes
22:24.57xapit's looking for a class in a package that doesn't exist in the installation, i don't think
22:25.09jasonbSounds like it's just stupid.
22:25.13xapwhy are open source developers so damn retarded?
22:25.27jasonbxap: OSS developers aren't retarded, just the JAMES authors.  :)
22:25.39xapnah, most OSS are - look at RMS, for instance
22:25.42xaphe's the epitome
22:25.42jasonbxap: Oh, and maybe the velocity authors.
22:26.19xapi'm gonna raise cain in the james mailing list
22:26.21xaptoodles, peeps
23:22.17*** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net)
23:22.33johnjohn7what is the max number of concurrent users on a tomcat app?
23:22.59johnjohn7ie:I hear it is limited by JVM threads....that it is 75 regardless.
23:23.35jasonbjohnjohn7: It's equal to the number you configure for maxProcessors in your connector.
23:24.10johnjohn7jasonb: how high can that go?
23:24.33johnjohn7or is it a function of something like memory or the OS's settings. etc.
23:24.44jasonbjohnjohn7: Probably the highest integer that the Java language supports, or the highest number of Threads that your operating system supports.  :)
23:25.30johnjohn7jasonb: have any idea for Windows 2000 Pro/Server and RH 7.3 Linux assuming hardware is optimal?
23:25.59johnjohn7jasonb: or is it a function of hardware or setting in the OS?
23:26.00jasonbShould be real, real high on both.
23:26.32jasonbBasically, the question you're asking is "how many independent Threads does my processor chip do before it goes so slow that it falls over?"
23:26.42johnjohn7an iPlanet salesguy gave me that 75 threads deal....said it was Java's fault.
23:27.22johnjohn7jasonb: chip meaning run within the CPU?
23:27.33johnjohn7jasonb: or using cache?
23:28.23johnjohn7I assume a million hit per day site with average session 15 minutes. that equates roughly to 10,000 users.
23:28.50johnjohn7can it go that high?
23:28.58johnjohn7concurrently.
23:30.02jasonbWell, usually, people don't try to scale one machine up that high, but you can try.  I doubt that you'll get that many concurrent users serving pages in a reasonable amount of time though.  Might serve, but might be real slow.
23:30.27jasonbWhat's the hardware?
23:32.07johnjohn7Hmm. Assuming a Dell poweredge 8450 with eight Intel PIII Xeon at 700 MHz and 900 MHz (1Mb cache)
23:32.37johnjohn7I mean 900Mhz cache at 2Mb
23:33.02jasonbA machine like *that* might scale up that high, assuming you've got a fast enough network link.
23:33.51johnjohn7Full T3
23:33.55johnjohn7or (T1?)
23:34.01jasonbBut what kind of NIC?
23:34.11johnjohn7GHz
23:34.19jasonbThat would probably work fine.
23:35.35johnjohn7You could get 10,000 - 30,000 concurrent?
23:35.52jasonbYeah, the JVM should use multiple processors just fine.. scheduling threads on all procs..  So, you've got x number of Threads that each proc can run, * 8 procs.  I just don't know what x would be.
23:35.53johnjohn7what about tight coupled HPCC cluster of 8 nodes
23:36.13johnjohn7I see, it doesn't matter.
23:36.18johnjohn7fully scalable means just that.
23:36.44jasonbThe JVM takes full advantage of the hardware, and Tomcat takes full advantage of what the JVM provides, as long as it's configured to do so.
23:36.46johnjohn7So load testing is really the only way to go.
23:36.57jasonbYep!
23:37.26johnjohn7I hear Orion is better. Anything better than Orion?
23:38.38johnjohn7nm
23:39.15johnjohn7jasonb:thx
23:41.24jasonbhttp://webperformanceinc.com/library/ServletReport/index.html
23:41.39jasonbjohnjohn7: Orion isn't really better.
23:41.56jasonbjohnjohn7: (other than it implementing more of J2EE, that is)
23:42.20johnjohn7jasonb: Reading thank you again.
23:42.30jasonbjohnjohn7: You're welcome.
23:47.34johnjohn7jasonb:looks like Resin handles load better.
23:48.55jasonbjohnjohn7: You can choose a servlet container that best handles what you need to handle, but when you consider everything, none of them is better than another.  So, I go by price, popularity, maintainability, and stuff like that.  To me, Tomcat comes out on top when considering it all.
23:49.16johnjohn7popularity for certain.
23:49.22johnjohn7and price.
23:49.29jasonbjohnjohn7: Yep.
23:49.37johnjohn7I am doing JBoss 3.0.0 with Tomcat 4.0.6 right now.
23:49.43johnjohn7Tomcat 4.1 seems buggy.
23:49.46jasonbYou get the source code to Tomcat, and it's pretty maintainable.
23:49.55jasonbTomcat 4.1 isn't buggy, although JBoss might be.
23:49.58johnjohn7It looks clean...
23:49.59johnjohn7yes
23:50.19johnjohn7Just not as backwards compatible with my tags...but perhaps that got fixe.d
23:50.20jasonbThe recent releases of Tomcat 4.1 are awesome, IMO.
23:50.45johnjohn7I'll look into trying it out again.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.