irclog2html for #tomcat on 20060825

00:04.27jasonboxblood: Wow.  M$ is eating some of Apache's lunch.
00:12.25*** join/#tomcat Marv|LG (n=Marv|TF@ip70-162-230-222.ph.ph.cox.net)
00:25.22yassinegood night all
00:31.01lykenlol yassine
00:50.31*** join/#tomcat sail_ (n=sail@mdsnwikwbas08-pool28-a244.mdsnwikw.tds.net)
01:42.02*** join/#tomcat nilesh (n=nilesh@59.145.239.100)
01:42.45nileshcan any one help me for JK_Mount???
01:42.59nileshapache is not communicating with TOmcat
01:43.03lykendotn use it nile :)
01:43.40nileshlyken, no i havet to use it
01:43.42nilesh:(
01:43.52nileshi had configured it before succussfully
01:43.56nilesh:(
01:44.07lykenoks, well ive never got it doing what i want so i use mod_proxy
01:44.11nileshand same jk.conf and workers.properties i am using again
01:44.34nileshstill i am getting error
01:50.32nileshyaahoooooooooooooooo
01:50.41nileshsoved....................
02:07.32oxbloodOnly if people would have explained what the problem is and how they managed to solve it...
02:07.44oxbloodWow, it's only 10 PM and I'm sleepy sleepy.
02:31.44*** part/#tomcat codeshepherd (n=codeshep@59.92.88.244)
02:36.59rhizmoehmm
02:37.08rhizmoewhat is jboss in a nutshell?
02:37.19rhizmoea different tomcat?
02:38.11rhizmoeah, it's a superset?
02:51.18odin_JBoss = Application server (with EJB support, plus many other things), Tomcat is just a Servlet container
02:52.31*** join/#tomcat wsmoak (n=wsmoak@ip68-96-53-138.ph.ph.cox.net)
03:35.41*** join/#tomcat enno_ (n=enno@p508D1F75.dip0.t-ipconnect.de)
04:39.02*** join/#tomcat longbeach (n=mike@AFontenayssB-152-1-8-104.w82-121.abo.wanadoo.fr)
04:41.18*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:49.53*** join/#tomcat dracco89 (n=a@209.208.135.54)
05:02.24*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net)
05:44.21*** join/#tomcat putzel (n=markus@228-236-221-213-pool.cable.fcom.ch)
05:50.51*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
06:08.30*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
06:15.49*** join/#tomcat valmont (n=chrishol@pdpc/supporter/silver/valmont)
06:19.38*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
06:23.04*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
06:25.30*** join/#tomcat yel (n=yassine@xdsl-87-78-22-245.netcologne.de)
06:34.24*** join/#tomcat IRCMonkey (n=chatzill@202.131.111.90)
06:51.35*** join/#tomcat prgrmr (n=prgrmr@bzq-88-155-197-185.red.bezeqint.net)
08:01.18*** join/#tomcat yassinework (n=yel@h-213.61.164.152.host.de.colt.net)
08:03.19yassineworkmorning jasonb
08:21.12*** join/#tomcat overlimit (n=kvirc@195.251.243.221)
08:35.06*** join/#tomcat kasbah (n=kasbah@62.206.116.171)
08:46.03kasbahjasonb: btw, thanks for your good support yesterday in the evening ;)
08:49.46*** join/#tomcat harpoon (i=stueber@ultra20.rbg.informatik.tu-darmstadt.de)
08:53.27yassineworkmoin harpoon kasbah :)
08:54.45harpoonkas-what?`!?
08:54.50kasbahyassinework: :)
08:55.10harpoonthis kasbah
08:55.12harpoon:-)
08:55.19harpoongreetings
09:06.46yassineworkresultsets starts always with 1 ?
09:06.51yassineworkor with 0 ?
09:06.52yassinework:s
09:07.00yassinework1
09:07.01*** join/#tomcat fdv (i=1988@fire.ifi.uio.no)
09:20.58*** join/#tomcat fix- (n=Bjorn@86.39.154.74)
09:27.50yassineworkharpoon, did you ever used MD5 ?
09:27.57yassineworki mean from java code
09:28.03yassineworkkasbah,  the same for you ?
09:28.03harpoonah negativ
09:28.10yassinework:s okay
09:28.31harpooneven keytool i have used only once until yet
09:29.36yassineworkokay
09:31.25kasbahyassinework: yes
09:31.34kasbah//TODO: fix this crazy BAD hack!
09:31.37kasbahuh
09:31.37yassineworkhave any example there ?
09:31.41kasbahsec
09:31.51kasbahhttp://rafb.net/paste/results/QMdT3j77.html <- this one
09:32.05kasbahthat's where i took the code from
09:32.15kasbahi can paste my one, if you like, as well
09:32.37harpoonkasbah: document not found?
09:33.16kasbahuh
09:33.52yassineworkhere too 404
09:33.56kasbahsec
09:34.03kasbaham pasting my code atm
09:34.26kasbahhttp://rafb.net/paste/results/2f02Li88.html <- there you go
09:35.13yassineworkmerci :)
09:35.19kasbahnp
09:39.16yassineworkkasbah,  here is now my own based  on yours :) . http://rafb.net/paste/results/rP50xO74.html
09:40.40kasbahhmm, compared to php you have to write much lines to get the same result for simple tasks
09:40.53kasbahin java
09:42.17harpoonphp is evil
09:42.28kasbahi know
09:42.36kasbahthat's why i'm learning java ;)
09:42.47lykenlol
09:42.49lykenthey are both evil
09:42.53yassineworklyken,  is evil :)
09:42.53kasbahphp is good for quick hacks ;P
09:42.55lykenits just which one fits the job better
09:43.07lykenif you want robustness and ease of scalability
09:43.10lykentake the java route
09:43.15lykenif you indeed just wanna hack something up
09:43.17lykenuse php
09:43.22yassineworkdont listen to evil :)
09:43.24kasbahthat's it, yes
09:44.19lykenlolz yassinework
09:44.27lykenwell i can tell you friday night is looking quiet hehe
09:44.35lykenthat and ive had quite a few beers
09:44.35lykenhehe
09:44.40yassineworklyken,  i was looking for you yesterday was going insane with the elephant
09:44.46lykensorry
09:44.49lykeniu was sleeping for once
09:44.49yassineworknp
09:44.56yassineworklol
09:45.07yassineworkever heard that evil is sleeping :)
10:07.16*** join/#tomcat kasbah (n=kasbah@62.206.116.171)
10:13.10*** join/#tomcat UriaSS (i=uriass@201.79.194.101)
10:26.03*** join/#tomcat Raboo (n=rabi@nikson.dataphone.se)
10:36.31*** join/#tomcat Raboo (n=rabi@nikson.dataphone.se)
10:51.53kasbahheh
10:52.05kasbahbecause java is evil :P
11:00.44*** join/#tomcat bdudney_ (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
11:13.23*** join/#tomcat jsisson (n=sissonj@ppp226-188.lns3.syd7.internode.on.net)
11:53.48*** join/#tomcat dariius (n=dariius@82.138.86.21)
11:58.29*** join/#tomcat phoenixx (n=phoenix@201-34-131-252.fnsce703.dsl.brasiltelecom.net.br)
12:32.10*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
12:49.48*** join/#tomcat dec-_ (n=tom@ronburgandy.netspot.com.au)
13:19.05*** join/#tomcat Oxman_ (n=chatzill@c-cf92e253.023-2029-73746f1.cust.bredbandsbolaget.se)
13:34.53*** join/#tomcat epswing (i=epswing@TOROON12-1178068039.sdsl.bell.ca)
13:34.57Oxman_Hi, I have a problem with enabling SSL on tomcat 5.5.17. It doesn't seem to read the attributes scheme="https" secure="true" at all...
13:47.59Oxman_I have done it before on a different server running 5.5.4. Does ne1 know if the connector settings have changed syntax in some undocumented way between version 5.5.4 and 5.5.17?
13:51.13*** join/#tomcat dariius_ (n=dariius@82.138.86.21)
15:05.11Oxman_Found the "bug". SSL doesn't seem to work with native dlls on version 5.5.17. Reinstalled tomcat without them and all seems fine :-)
15:16.38*** join/#tomcat hardwired (n=hw@194.230.109.200)
15:18.47hardwiredcan somebody provide me with more information about protecting web applications (the simple way, just like .htaccess for static pages with apache)? The tomcat5.0 documentation says "FIXME - link to backgrounder on container managed security to be provided"
15:19.49kasbahhardwired: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
15:20.04hardwiredthanks
15:20.34kasbahnp
15:21.08hardwiredno, that doesn't help much. i checked that page before. i need more like an overview of what is possible
15:21.27kasbahuh, i don't know this ...
15:21.48kasbahi only know this or implementing your own security in the application
15:22.27hardwiredkasbah: hmm, ok. thanks
15:23.09*** join/#tomcat Alconquian (n=w@adsl-69-151-117-58.dsl.fyvlar.swbell.net)
15:29.00*** join/#tomcat GregCologne (n=chatzill@h-213.61.164.152.host.de.colt.net)
15:30.50GregColognewhen using an authenticated ssl-session with a formlogin (jsp), if the
15:30.51GregColognesession times out while the user is entering his login-data (i.e. the
15:30.53GregCologneuser gets interrupted), tomcat just delivers a "connection reset" -
15:30.54GregCologneerror-message
15:30.56GregColognethis is caused by the following line in tomcat-code (5.0.28):
15:30.57GregCologne<PROTECTED>
15:30.59GregCologneNow what I want is, that in case of this timeout-message the user is
15:31.00GregCologneforwarded to my logon-page again, however, I haven't found any way to
15:31.02GregColognedo this except subclassing FormAuthenticator and write my own code,
15:31.04GregColognewhich I'd like to avoid.
15:31.05GregCologneNow could anybody please point me into the right direction or tell me
15:31.06GregColognewhat I'm missing here?
15:31.08GregCologneTIA
15:31.09GregCologneGreg
15:38.14*** join/#tomcat hlprmnky (n=hlprmnky@innominatus.com)
15:38.33*** part/#tomcat hlprmnky (n=hlprmnky@innominatus.com)
15:38.44GregCologneSome more info:
15:38.45GregCologneI'm forwarding the user via the <error-page>-directive to the login-page again (intercepting http 408), however, when I'm entering the login-data again, I still get a 408 although the session can't be expired yet.
15:38.47GregCologneIf I delete the cache of my browser and the cookies, I can enter my login-data without any problems.
15:38.48GregCologneCould somebody pls let me know if this is common behaviour or what to do to be able to login again?
15:38.50GregCologneTIA
15:38.51GregCologneGreg
15:53.24*** join/#tomcat sail_ (n=sail@wireless299.cs.wisc.edu)
16:16.54*** join/#tomcat kasbah (n=kasbah@62.206.116.171)
17:23.57*** join/#tomcat Alconquian (n=w@adsl-69-151-117-58.dsl.fyvlar.swbell.net)
17:34.20*** join/#tomcat mw46 (n=marco@64-142-40-224.dsl.static.sonic.net)
17:34.59kasbahi wish you all a good weekend
17:35.43*** join/#tomcat Fix- (n=bmonnens@cable-87-244-191-250.upc.chello.be)
17:36.24*** join/#tomcat Fix-_ (n=bmonnens@cable-87-244-191-250.upc.chello.be)
18:03.12*** join/#tomcat sowhat (n=zingo@CPE026b4a5dca29-CM0012c9db38ce.cpe.net.cable.rogers.com)
18:03.53sowhathi, i need help with javamail in tomcat
18:04.10sowhati send an email from my unit test, everything is ok
18:04.36sowhati run the same code in tomcat, my email goes to spam/bulk folder
18:08.09Marv|LGcheck the mail headers to see why it got marked spam
18:11.08*** join/#tomcat dreivier (n=dreivier@port-87-234-92-4.dynamic.qsc.de)
18:34.15*** join/#tomcat lsouza (i=foobar@201.29.95.232)
18:35.34lsouzahere we are developing a web site that has a lot of flash and the content of this site is served by webapp deployed in tomcat
18:36.08lsouzawe have a vhost configured in apache for this site
18:39.31lsouzafirst of all how do i make tomcat be responsible for the root of the vhost?
18:40.00lsouzalike http://mydomain/ served by a servlet
18:40.51lsouzausing mod_jk i have done http://mydomain/myapp/MyServlet , this is ok
18:41.15lsouzabut i'd like http://mydomain/MyServlet instead
18:46.37*** join/#tomcat l0ngbeach (n=mike@AFontenayssB-152-1-8-23.w82-121.abo.wanadoo.fr)
18:50.20*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net)
18:54.52*** join/#tomcat Hellaenergy (n=Hellaene@206.231.92.67)
18:55.03HellaenergyHey jasonb
18:57.43HellaenergyDoes anyone know how can cache images in Tomcat?
18:58.06Hellaenergyor have it respond telling the browser the images are cached?
18:58.55Hellaenergy(4.1)
19:04.16jasonbHi Hellaenergy.
19:04.30HellaenergyWhats good?
19:04.56jasonbSo are you saying you're serving images from Tomcat and Tomcat is transferring the image file to the client every time?
19:05.12Hellaenergyyes
19:05.13jasonbLike, the same image file?
19:05.22jasonbHow are you re-requesting it the second time?
19:05.37Hellaenergyum... with a GET
19:05.45jasonbHitting reload on a browser or using like wget?
19:05.47HellaenergyIs that what you're asking?
19:05.58Hellaenergynormal navigation of the application.
19:06.01*** join/#tomcat nilesh (n=nilesh@59.145.239.100)
19:06.18jasonbTomcat won't keep re-reading the image file from disk.. unless it changes.  Tomcat does cache resources in RAM.
19:06.28HellaenergyI guess my real question is... does tomcat treat all content as dynamic?
19:06.31jasonbBut, as far as what it tells the http client, that's a different story.
19:06.51odin_tomcat keep file backed resources in ram by default ?  how sure of that are you?
19:06.52Hellaenergyok
19:07.05jasonbNo, files from the file system that are not JSPs, and not mapped to a servlet are not dynamic as far as Tomcat is concerned.
19:07.43jasonbodin_: I'm quite sure of it.  It watches for changes on disk, and if there is a change it reloads the file from disk and caches that in memory.
19:08.25jasonbHellaenergy: If the image file didn't change on disk, and it's just a static resource, Tomcat is supposed to tell the browser that it didn't change instead of re-serving it.
19:08.53odin_this is a function of org.apache.catalina.servlets.DefaultServlet ?
19:08.57jasonbYes.
19:09.17jasonbAnything DefaultServlet serves is a static resource, or an error page.
19:09.29jasonb(or non-2xx page)
19:09.54odin_what happens when the file is bigger than the memory you have?
19:10.15jasonbI'm not real sure.  But, I'm positive it can't cache that.  :)
19:10.16HellaenergySo tomcat will send back a 304?
19:10.32odin_304 if you pass If-Modified-Since: header yes
19:10.58Hellaenergyodin_: Where is that set?
19:11.13Hellaenergy"If-Modified-Since"
19:11.14odin_by default from the browser, thats the only reason why a 304 is sent back
19:11.19jasonbI think your client is supposed to send that header.
19:11.32HellaenergyThat makes sense.
19:11.36jasonbyup.
19:12.08jasonbSo, maybe wget won't do that because wget won't know the last time you requested that particular URL.. nothing keeps track.
19:12.12jasonbBut, your web browser would.
19:12.34odin_yep, there is an option for wget to not overwrite if the file already exists, like -m -nc
19:12.59jasonbWell, that may just be to save disk io.
19:13.04odin_but maybe that doesn't actually use the IMS header, it might just compare the Last-Modified header with the file timestamp
19:13.30odin_no its for the mirroring function of wget
19:14.05jasonbRight.  If you already have the file, you don't need to download and write it all over again.
19:14.25odin_yes
19:14.25jasonbSo, no transfer time, no disk io, which results in a time and resource savings.
19:15.09*** join/#tomcat yel (n=yassine@xdsl-87-78-119-13.netcologne.de)
19:15.26jasonbI guess it would transfer it if there was a newer one on the server though, so maybe it does use the If-Modified-Since thing.
19:15.27odin_yes im thinking so too
19:15.37odin_otherwide no point using HEAD then having to do a GET, thats the point of IMS
19:15.56jasonbahh.
19:16.38HellaenergyI have another question. Do you guys know if and where tomcat determines the HTTP version to respond with?
19:17.04jasonbThe client says "GET / HTTP/1.1" so it knows right there.
19:17.40HellaenergyIn my case I am saying GET / HTTP/1.1 but its responding with HTTP 1.0
19:17.46odin_the server side has little choice
19:17.49jasonbWhich version of Tomcat?
19:17.55odin_it either supports what the client requested, or it doesnt
19:18.20odin_where are you readin HTTP 1.0 from?  the servlet ?
19:18.20HellaenergyHTTP/1.0 304 Not Modified
19:18.36odin_did you include a Host: header ?
19:18.38HellaenergyThe response header sent to the browser
19:18.54jasonbOh, Hellaenergy.. sometimes when you don't send an HTTP 1.1 request just right (has to be formatted just right), the server doesn't recognize it as correct HTTP 1.1 and falls back to 1.0.
19:19.01Hellaenergy5.0
19:19.23Hellaenergyjasonb, thats weird.
19:19.30jasonbWell..  You shouldn't use 5.0, but I actually don't think the connectors for that are much different than those in 5.5.
19:19.33Hellaenergyany documentation on that one?
19:19.49jasonbHellaenergy: Yes.  The main HTTP 1.1 RFC.
19:19.51HellaenergyI have no choice at this point :(
19:20.08odin_did you sent HTTP/1.1 with a Host: header ?
19:20.24jasonbYeah, make sure all the necessary request headers are there.
19:20.46odin_it may have downgraded you, as it was broken request for 1.1
19:21.28Hellaenergyodin_: yes sir
19:21.46HellaenergyDo you guys know where in the RFC so that I can reference it?
19:22.00Hellaenergyhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6 ?
19:22.03odin_for HTTP 1.1 try google, and ietf.org or rtf.org
19:22.38HellaenergyI have the rfc
19:23.16jasonbHellaenergy: Here's an HTTP 1.1 request that is formatted right (I believe):
19:23.18jasonbGET / HTTP/1.1
19:23.18jasonbHost: localhost
19:23.19jasonbAccept: */*
19:23.19jasonbConnection: keep-alive
19:23.41odin_only Host: is mandatory
19:23.48jasonbThen two \r\n sequences..
19:24.19HellaenergyIt seems that the request is correct then
19:24.22jasonbodin_: It might be that only Host: is mandatory, but without Connection: keep-alive, the server may drop the connection after the first request is served, I think.
19:24.44odin_yes, same as HTTP/1.0 behaviour, ala Connection: close
19:24.44jasonbProbably the "Accept: */*" isn't necessary, but I think just about all browsers define that one.
19:28.13HellaenergySo odin_: How do you tell Tomcat not to use the Client Response?
19:28.42odin_client response ?  the client always requests, the server always responds, I dont understand your terminology
19:28.44HellaenergyActually I forgot to mention that Apache + mod_jk are in the mix here too.
19:29.00odin_ssl?
19:29.18Hellaenergy10[14:17] odin_: 01it either supports what the client requested, or it doesnt
19:29.33Hellaenergy10[14:17] odin_: 01the server side has little choice
19:29.57HellaenergyWhat kinda choice does the server side have with the HTTP version?
19:30.34odin_there is such little difference between HTTP/1.0 and 1.1 and such widespread adoption of 1.1 and the protocol were designed to be backward compatible, for example the default Connection: header value in 1.1 is "close" which  makes is exhibit 1.0 behaviour
19:31.09HellaenergyWhen would it use this default?
19:31.09odin_so its actualyl very hard for a 1.0 not to talk to 1.1 and via verca
19:31.16jasonbHellaenergy: You've got all of the no-no software.
19:31.22Hellaenergylol
19:31.33HellaenergyI can't help it :D
19:31.33jasonbSo, you should expect to have a hard time.
19:31.48odin_no-no software ?
19:31.52HellaenergyYa we are working on getting Apache out of the Mix
19:32.09odin_why?  I wouldn't trust TC directly
19:32.15jasonbodin_: TC 5.0, mod_jk
19:32.24jasonbodin_: Why?
19:32.55odin_infact I would really like it if the lower part of TC was written in C and managed seperate processes each running aJVM with the servlet stuff in
19:33.15jasonbugh.
19:34.19jasonbodin_: Tomcat stand-alone is slightly faster than Apache (by itself) at serving static resources over time.
19:34.46jasonbodin_: (when Tomcat and Apache are both optimally configured)
19:34.57odin_yes im not supprised if it sacrifises ram for io, apache can do that too if you configure the module for it
19:35.19odin_but tc isn't as stable as PHP for the masses and virtual hosting, to process sepeartion would do that
19:35.21jasonbodin_: Well, Apache does also do that by default.
19:35.42odin_no there is a module for it
19:35.58Hellaenergymod_mem_cache?
19:36.06odin_it uses buffer cache of the host OS if anything to be the cache
19:36.06jasonbodin_: I don't know what you mean about Tomcat not being as stable as php.. that's like comparing apples and oranges.
19:36.29jasonbodin_: Tomcat is a web server and servlet container, and PHP is a web dynamic content templating engine.
19:36.39odin_you couldn't have say 3 developers using the same box and instance of TC to work on
19:36.50HellaenergyBack to my question. Is there any way, on the server side, to explicitly set all responses to HTTP 1.0?
19:37.00jasonbodin_: Are you trying to say that Apache, by default, will always read a static file from disk for each and every request for it made to Apache?
19:37.07odin_Hellaenergy: do you really want that ?
19:37.16odin_yes
19:37.17jasonbodin_: Of course you can.
19:37.27HellaenergyWhere would I do that?
19:37.38HellaenergyAnd is that a default?
19:37.41jasonbthat?
19:37.52odin_do you want to configure apache or tomcat to be http 1.0 ?
19:39.36odin_http://httpd.apache.org/docs/1.3/env.html
19:39.52odin_same config should exists in 2.0/2.2 if its apache you want to throttle
19:39.56HellaenergyI don't want that. I have a situation where I have some developers asking me if I'm explicitly setting this. I want to prove to them i'm not and maybe provide some suggestions (such as the downgrade if malformed)
19:40.04HellaenergyTomcat
19:40.15odin_have you also got tomcat setup on port 8080 ?
19:40.19Hellaenergybrowsermatch and SetEnv can do it in apache.
19:40.21odin_if not set that up and access TC directly
19:40.30HellaenergyAJP 8009
19:40.36odin_or setenv, somehow if you want all requests
19:40.43odin_I have AJP and HTTP setup on TC
19:40.59odin_setup HTTP on 127.0.0.1:8080 and test directly to the box
19:42.50*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
19:45.32*** join/#tomcat NOTevil (n=Ne@146-201.126-70.tampabay.res.rr.com)
19:45.56rhizmoei think the simple answer it's not exactly something you can set by accident
19:46.28*** part/#tomcat NOTevil (n=Ne@146-201.126-70.tampabay.res.rr.com)
19:46.29Hellaenergyrhizmoe: I follow you there. But perhaps someone before me did :\
19:46.46HellaenergyI wan't to be able to see for myself.
19:47.02rhizmoethere would likely be an obvious directive in server.sml
19:47.03rhizmoexml
19:47.10HellaenergyBecause the bottom line is that every res is coming back HTTP 1.0
19:47.31rhizmoedo you have any of the default apps? try accessing those
19:47.45HellaenergyGood call.
19:51.33jasonbThey really should not be HTTP 1.0 responses.
19:53.06jasonbI would guess it's getting demoted to 1.0 somewhere in  your httpd --> mod_jk --> Tomcat --> mod_jk --> httpd chain.
19:53.40jasonbAnything in front of httpd?
19:53.49jasonbLike a firewall or caching proxy?
19:54.31HellaenergyWell its not Tomcat
19:54.47HellaenergyOr I should say its not the App
19:55.04HellaenergyI it it on the Coyote connector and it responded with 1.1
19:55.14HellaenergySo that leaves Apache and mod_jk
19:55.38jasonbConfigure a regular HTTP connector in Tomcat, and hit that directly and see how it responds.
19:55.46jasonbThat way, you'll know for sure.
19:57.48Hellaenergyjasonb, that is what I was just saying... I did test that. It responds with 1.1
19:57.55HellaenergyI think I found the apache culprit
19:58.00Hellaenergydumping...
19:58.02Hellaenergy<PROTECTED>
19:58.02Hellaenergy<PROTECTED>
19:58.02Hellaenergy<PROTECTED>
19:58.12odin_yep, what is that inside ?
19:58.17Hellaenergythe vhost
19:58.20odin_usually only for SSL
19:58.27Hellaenergythat is ssl
19:58.29odin_which is why I asked "ssl?"
19:58.36odin_before.. are you using SSL ?
19:58.46Hellaenergyoh sorry didn't get that one.
19:58.49HellaenergyYes I am
19:59.22jasonbHellaenergy: Apache's the culprit.  :)
19:59.35odin_maybe you can widen the User-Agent to allow apply it to MSIE5 it is whatever version its protecting
19:59.46HellaenergyThe problem is that we put that in there for a reason and now I forgot why.
19:59.54odin_interoperability reasons
20:00.01odin_its a default apache config, check out the mod_ssl docs
20:00.29odin_maybe IE6SP1 is fixed and it was only needed for MSIE5, its been in the mod_ssl for years and years
20:00.53HellaenergyI hear ya
20:02.08*** join/#tomcat phoenixx (n=phoenix@201-34-131-252.fnsce703.dsl.brasiltelecom.net.br)
20:02.27rhizmoehah, what a goose chase
20:03.15HellaenergyI'm all the wiser now though :)
20:03.37rhizmoeeh, it sounds reasonable. little things like that get lost all the time
20:04.56HellaenergyOne more question. Is there a way to explicitly set the reponse header for static content to be cached. Espcially images?
20:06.56Hellaenergyodin_: I found it. Thanks for the reference: http://www.modssl.org/docs/2.8/ssl_faq.html#ToC49
20:08.24HellaenergyIs perforamace really a factore when talking about HTTP 1.0 verses HTTP 1.1?
20:08.44jasonbHellaenergy: It's a matter of setting a response header value.. Cache-Control.  Either you can change DefaultServlet to do that however you'd like it done, or you can write a Filter for your webapp to put it in when you want it in there.
20:09.08jasonbHellaenergy: Yes. HTTP 1.1 has all kinds of features to improve performance over 1.0.
20:09.39odin_mainly pipelining and chunking
20:09.44HellaenergyWill Cache-Control take care of images?
20:09.59HellaenergyI know that takes care of pages.
20:10.10odin_be careful with Cache-Control and MSIE browsers use must-revalidate instead of no-cache
20:10.40Hellaenergyodin_: Can you refrase that?
20:10.58odin_MSIE browsers using SSL, that should be, MSIE treats no-cache to mean, you can't save to disk
20:11.15jasonbHellaenergy: HTTP doesn't try to understand what kinds of content you're transferring, so it doesn't try to make any behavioral distinction between images and pages.
20:13.33Hellaenergyodin_: Isn't that what its supposed to do?
20:14.00Hellaenergyor are you saying it should be able to temp save to disk just rerequest it next time?
20:15.38odin_you want caching to occur?
20:15.51odin_maybe max-age=3600 will help, or Expires header
20:15.59HellaenergyYes only with static content such as images.
20:16.21odin_this tells the client that it can cache the resources (and doesn't event need to revalidate for each request)
20:16.36HellaenergyPerfect
20:18.38Hellaenergyjasonb: Regarding this comment: 1015:08] jasonb: 01Hellaenergy: It's a matter of setting a response header value.. Cache-Control.  Either you can change DefaultServlet to do that however you'd like it done, or you can write a Filter for your webapp to put it in when you want it in there.
20:18.50HellaenergyWho or what is setting this response?
20:19.44HellaenergyI suppose you layed it down there. It can either be done in code or a server config?
20:21.18jasonbTomcat doesn't provide any way to configure it by default.
20:21.29jasonbSo, you can do it via either a servlet/jsp or a Filter.
20:21.35jasonb(in your webapp)
20:21.44jasonbOr, even a custom Tomcat Valve.
20:22.23HellaenergyThanks jasonb.. your  a wealth of knowledge ;)
20:22.27HellaenergyHows that book going?
20:24.07jasonbIt's going better.  Getting there..
20:24.13jasonbIt's *so* much work though.
20:28.27HellaenergyWhen is the deadline?
20:28.36jasonbChristmas, basically.
20:28.57HellaenergyIs time a factor or is it the lack of documentation etc or both?
20:29.23jasonbAlmost completely time.
20:29.39jasonbI either know everything that needs to go into it, or I can figure it out myself.
20:30.09jasonbFiguring some of it out will take a little time, but it's not all that bad.. it's writing it in a way that people can understand that is the time consuming part.
20:30.19HellaenergyWow.. Thats a good (confident) position to be in.
20:30.19pfnlack of documentation is not a factor when you can muddle with the source
20:30.40HellaenergyTrue but that takes more time sometimes.
20:30.42pfntomcat-dev is a low traffic list my ass  :p
20:30.43jasonbpfn: Yep.  I can at least do that in the worst cases.
20:30.58jasonbpfn: You're getting lots of messages?  How many per day?
20:31.10pfnsomething like 30 or so
20:31.17pfnmostly svn commit logs, and cc from bugzilla
20:31.24Hellaenergytomcat-users is dev isn't so much. Most of those e-mails sare commits to cvs etc.
20:31.29Hellaenergylol
20:31.38jasonbpfn: Well, yeah, sometimes that happens.  It's actually not every day.
20:31.46pfnanyway, I have it filtered to a subfolder, but still
20:31.48pfnjust saying  :p
20:31.56pfnand no one has responded to the mail I sent  :/
20:32.14jasonbpfn: You have to give it time.
20:33.02pfnheh, most other lists I frequent have relatively prompt attention, heh
20:33.15jasonbpfn: If they don't respond in about a week or so, send a reply back to the list volunteering to merge it into the source for them, and ask them what you'd need to do.  :)
20:33.16pfnno big deal, like I say, it's not the end of the world for me
20:33.27rhizmoeyou could probably filter a lot of that straight to trash
20:33.33pfnsince it works for me, just nice for other people
20:37.49jasonbWell, but see this is how we all ended up with something as nice as Tomcat.
20:38.09jasonbPeople who already had working code for themselves went out of their way to put it into the Tomcat mainline tree for others.
20:38.33jasonbThen, it becomes "stock", which ends up making all of our lives easier.
20:38.48HellaenergyWhat does it take to be a main contributor to Tomcat development?
20:39.37HellaenergyIs it like being a Mason?
20:39.38Hellaenergy:D
20:42.39jasonbheh
20:42.47jasonbWell, it changes over time.
20:43.11jasonbWhat the ASF wants to see for new committers isn't necessarily what the group of TC committers cares to see..
20:43.38jasonbThe ASF wants someone who shows developer interest and contributions to the project for at least 6 months before being voted on for being a committer.
20:43.48jasonbBut, I can tell you that this basically never happens that way for the TC project.
20:44.37jasonbUsually, someone shows up, says they want to help by doing xxx, then they do it, and keep sending in patches, and when other committers get tired of testing and committing their patches, they often propose a vote on the contributor becoming a committer.
20:47.11HellaenergyDoes ASF have a say in this?
20:48.00HellaenergyHow many committers are there for Tomcat?
20:51.56jasonbASF does of course have a say in this since Tomcat is an ASF project.  :)
20:52.22jasonbThere are many Tomcat committers, but only a handful of them are really active at any given time.
20:52.55jasonbAt one point probably 30 people had commit privileges to CVS.
20:53.02jasonb(tomcat's CVS modules)
20:53.15jasonbWhen they switched to Svn, I think they aged out some of them.
20:53.47jasonbAlso, some Tomcat committers are committers on other ASF projects, so they have an ASF svn account for more than one project.
20:54.58HellaenergyWell thanks everyone. Have a good night.
20:55.07pfnheh, that's kind of the nice thing about OSS
20:55.12pfna limited set of commiters
20:55.20pfnfor projects at work, we have on the order of 300+ committers
20:55.26jasonbHellaenergy: Good night.
20:55.29pfnoh god is it so difficult to merge and keep stuff running good
20:55.36HellaenergyIsn't it supposed to be unlimited?
20:56.03pfnhellaenergy if it is unlimited, you can expect the software to almost never work
20:56.12jasonbyeah.  :)
20:56.22HellaenergyI wonder if there are any OSS projects with 300+ active commiters?
20:56.22pfnyou have to keep in mind that most OSS commits are proxied through a "captain" (commiter) of sorts
20:56.31pfnI would very much doubt it
20:56.38jasonbHellaenergy: OpenOffice.  It's the largest.
20:56.41pfne.g. linux, for a long long time only had 1 commiter, linus
20:56.47pfnthen it branched out for various modules
20:56.51HellaenergyHow large is OpenOffice?
20:57.04jasonbOOo is by far the largest single oss project.
20:57.32pfnopenoffice?  no idea how big they are, I don't follow their activity at all
20:57.49*** part/#tomcat Hellaenergy (n=Hellaene@206.231.92.67)
20:57.55jasonbI helped write the project hosting infrastructure software that OOo uses.  :)
20:58.00jasonbIt's all huge.
21:27.37*** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
21:50.29yassineany information about this ?  "connection reset"
22:30.49*** part/#tomcat UriaSS (i=uriass@201.79.194.101)
22:56.09oxbloodJust trying to share software development related articles I stumble upon here and there... That being said:
22:56.12oxbloodhttp://nat.truemesh.com/archives/000342.html
22:56.52oxbloodHow nice is it to come home and find a good one in 5 mins.
22:57.06oxbloodExcept too tired to read the follow ups. :)
22:57.30oxbloodI gotta get a job in software development someday. My current job is wearing me out.
22:58.11oxbloodHow many of these "bookmark" sites out there?
23:09.06jasonboxblood: Hmm, that hardly seems like much of a bookmark site to me.  Have a look at http://www.java-source.net
23:09.51oxbloodNo, no. I wasn't referring to the link I had posted. That was just a link I felt like posting.
23:09.59jasonbahh
23:10.04oxbloodI was referring to sites like del.ici.us etc...
23:10.30oxbloodI keep stumbling upon one after another.
23:11.21oxbloodMaybe someone should like a unified web-based application (how ironic) to post to all at the same time.
23:11.37oxbloodRedundant but probably someone had done this before. :(
23:11.42oxbloodOk, dinner time. brb.
23:12.57yassinehappy lunching
23:13.21yassines/lunching/meal
23:14.35jasonbdinnering.  :)
23:18.06*** join/#tomcat Alconquian (n=w@adsl-71-148-48-181.dsl.fyvlar.sbcglobal.net)
23:22.05*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
23:25.00*** join/#tomcat bdudney (n=bdudney@c-67-190-156-58.hsd1.co.comcast.net)
23:26.08rhizmoegr
23:33.03yassinen8 all
23:39.13jasonbg'night yassine
23:44.12oxbloodI had a happy dinnering, yes.
23:48.01*** join/#tomcat dracco4325 (n=logger@pool-70-18-23-114.ny325.east.verizon.net)
23:57.55oxbloodWhere did yassine go? I just realized another way of redirecting user's request with RequestDispatcher's forward.
23:58.15oxbloodAlthough, this way it forwards rather than redirect the request.
23:59.47oxbloodHow does the servlet or its container for that matter know when the response is "committed?"

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.