irclog2html for #tomcat on 20050311

00:24.02*** join/#tomcat ClOoNeY (ClOoNeY@adsl-158-15-192-81.adsl.iam.net.ma)
00:24.24ClOoNeYplz can any one help me
00:24.26ClOoNeY?
00:25.13lykenwith?
00:25.36ClOoNeYwhen installing the tomcat , it's want the jvm path !
00:25.47lykenlemme guess
00:25.48lykenwindows ?
00:25.50ClOoNeYi have the jdk , is it in
00:25.55ClOoNeYyes
00:26.11lykencheck your environment variables for windows
00:26.18lykenmacke sure CLASS_PATH is set
00:26.54ClOoNeYno , before it begin the installation , it tells me to chose define the jvm path
00:27.16lykeni dunno then
00:27.27aiyaiyaiwhat version tomcat?
00:27.41aiyaiyaii am newb too, tried v5, has problem, went to v4, seems to work
00:28.47ClOoNeY5.0.28
00:29.10aiyaiyai----i've got a ? too for anyone out there...what dir do i put my CLASS files in with tomcat v4.x ---some site said to craite a dire under >>>installdir/webapps/ROOTWEB-INF/(Create classes dir here) this did not work for me is this correctg or wrong
00:29.29aiyaiyaiclooney...i'm a newb, but i'd go back to v4, it worked right away for me, just did it 2day
00:29.38aiyaiyaiplus it detected the java path on it's own
00:29.57*** join/#tomcat binarysunflower (~NNSCRIPT@p54B8AD32.dip0.t-ipconnect.de)
00:30.23ClOoNeYthanks aiyaiyai , i will try today with 5x , if it doesnt i will install the 4x
00:30.36ClOoNeY"please select the path of the jvm installed on you  "
00:30.44binarysunfloweranybody here to help a newbie with netbeans 3.6 and its bundled tomcat
00:31.01ClOoNeYhow can i find the path of the jvm installed on my system
00:31.07aiyaiyaiall you should have to do is POINT it to where you have java installed
00:31.16aiyaiyailike C:\j2sdk1.4.2_04
00:31.25aiyaiyaior proramfiles\jre1.5.0
00:31.35aiyaiyaithat's all it's trying to say, show it where you installed java
00:31.44ClOoNeYi have just jdk !!
00:31.58aiyaiyaihave u tried to point it to that?
00:32.13aiyaiyaijust point it to the top level dir like
00:32.16aiyaiyailike C:\j2sdk1.4.2_04
00:32.22aiyaiyainot to \bin or anything
00:33.14ClOoNeY"no java virtual machin found"
00:33.45aiyaiyaii have no clue, sorry..if you only just installed java, would reinstall
00:34.31ClOoNeYOk thank you , i think i will install the 4.x
00:37.24aiyaiyaiodd...it works now
00:37.45binarysunflowerdoes anybody has any clue why my netbeans cant lookup the tomcat configuration while trying to deploy an web project?.....
00:37.50aiyaiyaiaha!!
00:38.05aiyaiyaididn't realize u REALLY had to put in the .java file as well...makes sense all else are
00:38.19aiyaiyaisorry BinaryS...not familar with netbeans
00:39.36ClOoNeYaiyaiyai have you ever used jsp with router ?
00:39.44binarysunfloweryou cant image how much i would prefer beeing unfamiliar, too :)... but i have to solve this one... can you give me any directions to some kind of netbeans-nerd ?
00:42.10aiyaiyainope...only know java apps/jdbc just learning jsp/java/servlets..just started servlets 2day
00:42.18aiyaiyaisorry bniary...im a newb here:)
00:42.35aiyaiyai----i've got a ? too for anyone out there...what dir do i put my CLASS files in with tomcat v4.x ---some site said to craite a dire under >>>installdir/webapps/ROOTWEB-INF/(Create classes dir here) this did not work for me is this correctg or wrong
00:42.39aiyaiyaistill a problem...
00:45.04ClOoNeYaiyaiyai wait for me to download it , and then i will search for you lol :o)
00:45.19aiyaiyaiill be in n out
00:46.08ClOoNeY!::o)
00:54.41*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
00:56.15aiyaiyaiif i put my source/class file in: installdir\webapps\examples-WEB-INF\classes, the servlets work when accessing via localhost/examples/servlet/HelloServlet-------------------------------but if I put the class/source into installdir\webapps\ROOT\WEB-INF\classes, and try to access via localhost\servlet\HelloServlet get 404 error ...so don't know what am doing wrong
02:14.05*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
02:16.51*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
02:27.44loquacegn all
02:28.21*** join/#tomcat ohsix (ohsix@bc99128.bendcable.com)
02:34.48*** join/#tomcat FreemaniaPrime (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
03:40.06*** join/#tomcat FreemaniaPrime (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
03:44.09*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
04:30.37puff/join3 Apache
04:30.47lykenhehe
05:29.51*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:44.39*** join/#tomcat theoddbot (~theoddbot@203-173-21-23.dyn.iinet.net.au)
05:45.36theoddbotanyone know how to make ant/jasper2 compile .html files ?
05:52.27jasonbtheoddbot: Sure, rename them .jsp files.
05:53.05theoddbotjasonb: the problem is that they are .jsp files in the first place, i will show you
05:53.33theoddbot".jsp extensions are blocked by all police services, due to their belief that the files can contain hidden scripting things inside them which may compromise the security of the Police systems."
05:53.45theoddbotso i have the fun task of trying to fix this mess
05:54.38jasonbNeat.  I guess the police have never heard of the Java SecurityManager.
05:55.19lykenisnt it great when a clueless manager makes a dumb ass decision like that
05:55.34jasonbOh yeah, it's just smurfy.
05:55.34theoddbotwell the site is external - their proxy blocks .jsp
05:55.41lyken"we will not use scissors in our office cause someone might come in and stab our receptionists with them"
05:55.49theoddboti make it .html - and viola - it works
05:56.14jasonbtheoddbot: Ahh, okay, then rename them all something.notjsp, and then edit your global web.xml to point Jasper at the .notjsp files.  :)
05:56.22theoddbotso now im trying to munge my struts app to their satisfaction
05:56.25lykentheoddbot: which state dude?
05:56.31lykennsq?
05:56.33lykennsw..
05:56.39lykenqld didnt use JSP last time i checked
05:56.40theoddbotlyken: qld, but apparently its all police
05:56.50lykenthey have mungy ass unix apps mostly
05:56.52theoddbotlyken: im not part of the police, but its a site they will use
05:56.59lykenthat are more insecure
05:57.13lykeni know cause i debugged a few of them
05:57.27lykenone of my students got a job there and they offered me one
05:57.30theoddbotim sure they are confusing it with applets
05:57.31jasonbRename your files .pork, and map those in the global web.xml.  :)
05:57.32lykeni laughed so hard
05:57.38theoddbotbut i can't talk sense to them
05:57.43lykenROFL jason
05:57.59lykentheoddbot: you on 8mbit iinet?
05:58.08theoddbotlyken: no just 1.5
05:58.11lykenbummer
05:58.15theoddbotlyken: they are trailing 12mbit atm
05:58.20lykenyer
05:58.22theoddbotif you are close enough
05:58.26lyken<-- works at UQ
05:58.33theoddbotim at qut
05:58.37lykenheh
05:58.38theoddbotbut this is unrelated
05:58.39lyken"super tafe"
05:58.44theoddbot:P
05:58.56lykenim a guest at KG campus
05:59.12lykenbut yer remapping your files should work
05:59.16theoddbotsee the new building they are putting in
05:59.26lykenyup
05:59.29theoddbotihbi
05:59.31lykeni get monthly photos of it
05:59.36theoddbotthats where ill be going
05:59.39lykenstanding near Z2
06:00.40theoddbotcan i do a bulk remap ?
06:01.03lykenjason?
06:02.05theoddboti was trying to do something with apache mod_rewrte
06:02.11theoddbotrewrite even
06:13.36jasonblyken: Yes?
06:16.11lykenre theoddbots question
06:21.13theoddbotim doing this with ant currently:
06:21.14theoddbothttp://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation
06:21.14theoddbotwith the jasper2 task
06:21.14theoddbotbut it only processes .jsp files
06:21.49jasonbAhh.
06:24.23*** join/#tomcat a4akb (bbwpleaser@as5-53.qualitynet.net)
06:25.29a4akbHello all.
06:26.48theoddbottheres and addExtension in the javadoc
06:27.19jasonb<PROTECTED>
06:27.19jasonb<PROTECTED>
06:27.26jasonbtheoddbot: Yup.
06:28.30theoddbotcan i set it from build.xml tho
06:28.37theoddbothmm if jspx isnt blocked
06:28.43theoddboti can just use it lol
06:29.26theoddbotthis is insane *sigh*
06:29.57jasonbYou may be able to.
06:30.00lykenthis is the qld police dude
06:30.41theoddbotlyken: is that a good or bad thing ?
06:30.51jasonbYou may also do extension="pork" or extensions="donut, pork".. although I don't know if you can.
06:32.22theoddbotClass org.apache.jasper.JspC doesn't support the "extension" attribute
06:32.24theoddbotbummer
06:32.31jasonbHow about "extensions"?
06:33.23theoddbotClass org.apache.jasper.JspC doesn't support the "extensions" attribute
06:34.34jasonbAnd this is a Tomcat 5.5 distribution?
06:37.02jasonbOkay, yep, it's true.
06:37.07theoddbottomcat-5.0.27-r4
06:37.16theoddbotstill 5.0, but same
06:37.19jasonbIt's just barely not supported.
06:37.28jasonbBut, you have two work-arounds:
06:37.50jasonb1) name your files *.jspx (this may work.. although I'm not real sure there either)
06:38.36jasonb2) Compile your jsps as *.jsp, then when the jasper2 task spits out the web.xml fragment mappings, change the way the resulting servlets are mapped.. map them to *.pork instead.
06:39.06jasonbBut, to do 2) above, you would need to make the mapping change before the web.xml fragment gets WARred up.
06:39.20theoddbotjasonb: i had 2. done
06:39.27theoddbotbut
06:39.44theoddbotwhen does <jsp:include> work its magic ?
06:39.47theoddbotat runtime ?
06:40.15theoddbotso i have to change all my <jsp:include > from .jsp to .pork
06:40.19theoddbotwhich is cool
06:40.43jasonbYes, I'm pretty sure includes happen at webapp runtime.
06:40.45theoddbotjust hoping the file being .jsp and the logical path being different might break something
06:40.55theoddbotwell, hoping it doesnt break
06:41.00theoddbotonly 1 way to find out i guess
06:41.33theoddbotim sure when i leave the guy who comes to maintain it has a giant WTF  ??? over the .pork paths
06:42.42jasonbHmm, another potential way to get around any include file access problem: after the war is unpacked/exploded, you could either symlink each .pork file name to its .jsp equivalent, or you could hard link them like that.
06:43.25theoddbotwell the .jsp files never end up in the war
06:43.30theoddbotonly the compiled servlet .class
06:43.33jasonbWell, you *could* name them *.psp (Pork Server Pages).  :)
06:44.02theoddboti'm 99% sure if it was .asp it would be fine lol
06:44.14theoddbotbut .jsp has the evil java in it you see
06:44.20jasonbEven *.psp > *.asp.
06:45.47theoddbotok that works
06:45.58theoddbotnow every .jsp reference in the source needs to be a .psp
06:46.58theoddbotthanks for your help guys
06:46.58jasonbAgain, you may be able to sidestep this silly dance with *.jspx.  Try that.
06:47.03jasonbYeah, no prob.
06:47.07jasonbgotta go guys..
06:47.27a4akbtc jasonb
07:48.21*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net)
07:49.16loquacelo
07:51.32theoddbothello
08:26.05*** join/#tomcat pucko- (nobody@h47n2fls31o809.telia.com)
09:02.13*** join/#tomcat popobsd (~xmms@220.112.7.19)
10:21.59*** join/#tomcat thecraig (~thecraig@home-ppp-192.colorado.edu)
10:22.17thecraighey!
10:22.20thecraiganyone awake?
10:22.31thecraiggood!
10:23.08thecraigI need help with an SSL problem.  It appears that tomcat is reporting the wrong mime type for SSL certificates when I attempt to connect securly to my site.
10:23.18thecraigIn firefox when I go to
10:23.30thecraighttps://www.rprn.org:8443
10:23.41thecraigIt prompts me to download a file, which I'm guessing is the cert.
10:23.46thecraigThis was working a few days ago.
10:23.53thecraigAnyone have an idea?
10:24.15swentethecraig: for me the url works nicely, it shows the cert and asks to accept it [firefox,too]
10:25.56thecraighow about that...  it's working now.
10:26.01thecraigI wonder what I did? :)
10:26.22thecraigSorry..  If I can reproduce it again, I'll let you know.
10:26.29swente:)
11:12.26*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
11:13.40harpoonmoin
11:15.25swentemoinmoin
11:16.26*** join/#tomcat a4akb (bbwpleaser@as36-c27.qualitynet.net)
11:16.45AndHeSaysahab
11:16.53a4akbwhale
11:17.19a4akbAndHeSays can u type what kind of noise does a whale eminate?
11:17.38AndHeSaysi've never been near a whale
11:18.01a4akbever heard it?
11:18.35AndHeSaysnope
11:18.51a4akbhttp://www.partnersinrhyme.com/soundfx/PDsoundfx/whales.shtml
11:20.58a4akbnow that u heard it, everytime i enter, u will greet me with a whale sound and not ahab
11:22.07a4akbGoose (11 sec. loop)
11:22.11a4akbVery noisy goose.
11:22.23a4akbneat sounds ^.^
11:23.11a4akbhello swente
11:23.14swenteyoyo
11:23.26a4akbsupsup
11:23.28swenteall whales should be saved, not only the humpy ones :)
11:23.30a4akbkk
11:23.59a4akbsome wise thoughts by swente
11:24.06a4akbany whales in denmark?
11:24.37swentei assume some are swimming around denmark, as sometimes they get stranded on danish beaches, too
11:24.57a4akbnice
11:25.04a4akbwhat do u do to them swente?
11:25.06lykenRoyalty Free Animal Sound Effects
11:25.07lykenROFL
11:25.12a4akbdid u meet anyone?
11:25.19a4akblyken o.O
11:25.31a4akbwell yes u dont have to pay for using them
11:26.05lykenAndHeSays: you've never been near a whale
11:26.27a4akblyken swims with sharks and has dated a few
11:26.28AndHeSayslyken
11:27.48a4akbbbiab
11:33.51*** join/#tomcat Valentin- (~jhiemer@p548795B5.dip.t-dialin.net)
11:38.53*** join/#tomcat pucko- (nobody@h47n2fls31o809.telia.com)
13:19.41*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
13:57.11*** join/#tomcat PeReBs (PEREbs@n315.igsh.lu.se)
13:57.30PeReBsI have a problem with TOMCAT 5
13:59.13PeReBsI'm using ant install for create my web-project, but I have an error java.lang.NoClassDeFoundError: org/apache/tools/ant/types/RedirectElement
14:00.51PeReBsany idea???
14:13.53serlinYou have ant installed?
14:14.56serlinI'm not sure you need it... I'm just guessing.
14:22.42PeReBsyes
14:22.56PeReBsI have ant installed
14:22.58serlinIs the ant jar in the classpath?
14:23.20PeReBsI guess let me check
14:25.25PeReBsI'm ver virgin with TOMCAT, I guess that in the classpath
14:25.38serlinHmmm I'm a newbie too
14:25.45PeReBsheheh
14:25.48PeReBsok ok
14:26.20PeReBsreally I've spent two day trying to solve that problem
14:26.45PeReBsyes is in the classpath!!!
14:26.57PeReBsdo you have an another idea??
14:27.01serlinI'm trying to figure out why tomcat + lucene crap out on large indexes
14:28.16PeReBshehe
14:29.31PeReBsdo you know the diference between ant deploy, ant install and ant dist
14:29.34PeReBs??
14:29.40*** join/#tomcat a4akb (bbwpleaser@as5-188.qualitynet.net)
14:30.01serlinno
14:30.07a4akbyes
14:30.23PeReBsdo you know the diference between ant deploy, ant install and ant dist
14:30.35PeReBsa4akb??
14:30.39serlinThey're different targets, it depends what your anting.
14:30.43a4akbhi PeReBs
14:30.50PeReBshi
14:30.57a4akbsup
14:32.32*** part/#tomcat thecraig (~thecraig@home-ppp-192.colorado.edu)
14:32.34PeReBsdo you know why I cannot find RedirectElement.class??
14:35.59*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
14:54.07serlinDoes tomcat use a different java then everything else?
14:54.32a4akbno
14:54.39serlinI didn't think so.
14:55.22serlinWhy would running an application in Tomcat result in an error when the same code run straight would finish properly?
14:55.37KtK-Anybody in here ever used Magnolia?
14:56.02serlinNope
15:19.32randrewserlin: http://samizdat.mines.edu/howto/HowToBeAProgrammer.html#id2790282
15:20.02serlinThanks for not being helpful. :-)
15:20.14randrewserlin: just returning the favor  : )
15:21.06serlinAlright... Is there a good debugging tool for tomcat code?
15:21.40randrewserlin: did the error have a name?
15:22.03randrewserlin: you can pass a debug option to tomcat, check the startup scripts
15:22.03serlinIt's an ArrayIndexOutOfBounds exception in Lucene
15:22.27randrewserlin: well that sounds interesting
15:23.28serlinBut only when I'm making calls from tomcat, stand-alone behaves itself nicely.
15:24.03serlinDoes Tomcat have any file size limitations on it's applets? (ie 2G?)
15:26.51*** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net)
15:26.59KtK-2gb applets :|
15:27.03KtK-Like, wtf :p
15:28.53ldoganyone know what the tomcat5.5 bin is only half the size of 5.0 ?
15:29.03ldogerr.. s/what/why
15:29.32serlinSorry, the servlet isn't 2G. :-) The file it's trying to open is 2.5G :-)
15:30.27serlinA 2G servlet would be crazy
15:34.46*** join/#tomcat a4akb (bbwpleaser@as16-112.qualitynet.net)
15:39.06*** part/#tomcat swente (epGrv6ED7E@hal.infinitumb.de)
15:47.44KtK-Kinda :p
15:48.10a4akb?
15:48.57serlinrandrew: That's a pretty good read.
15:59.20a4akbanyone of u are on undernet?
16:02.08*** join/#tomcat {aaron} (user@aeolus.cit.cornell.edu)
16:02.10{aaron}i'm boggled
16:02.28a4akbhey {aaron}
16:02.29{aaron}why does turning directory listings off in the default servlet prevent accessing any static content?
16:02.30a4akbltnc
16:02.30{aaron}hi
16:02.39{aaron}shouldn't it just prevent /listings/?
16:02.49*** join/#tomcat remm (~remm@gounod-2-82-224-99-120.fbx.proxad.net)
16:07.30{aaron}wait, i think it's my valve that's preventing it
16:08.15{aaron}nope, now it works *boggles*
16:08.21a4akbhmmm
16:14.44*** join/#tomcat joered (~chatter@213-156-52-102.fastres.net)
16:44.29*** join/#tomcat popobsd (~xmms@220.112.7.19)
16:46.07*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
16:47.36*** join/#tomcat Alexys (~Alexys@200.71.37.29)
16:49.46*** part/#tomcat {aaron} (user@aeolus.cit.cornell.edu)
16:51.16*** part/#tomcat remm (~remm@gounod-2-82-224-99-120.fbx.proxad.net)
16:51.38Alexyssomebody speak english around?
16:51.43Alexysexcuseme, spanish
16:51.49randrewldog: jakarta-tomcat-5.0.28\webapps\tomcat-docs is ~28mb. jakarta-tomcat-5.5.7\webapps\tomcat-docs is ~6mb.
16:52.04a4akbwe all speak english
16:53.20Alexyshehe, excuseme, spanish
17:00.45*** join/#tomcat StarScreem (~am@217.169.25.114)
17:01.31*** join/#tomcat Big_Bozz (~Big_Bozz@user-2168.l5.c1.dsl.pol.co.uk)
17:02.40StarScreemi guys, on all my web-apps with tomcat 5x i get 11-Mar-2005 16:25:18 org.apache.catalina.loader.WebappClassLoader loadClass
17:02.40StarScreemINFO: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
17:07.29*** join/#tomcat majic (~majic@nc-69-69-52-5.sta.sprint-hsd.net)
17:07.51*** join/#tomcat StarScreem (~am@217.169.25.114)
17:51.54*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
18:06.33*** join/#tomcat pucko (nobody@h47n2fls31o809.telia.com)
18:09.10*** join/#tomcat a4akb (bbwpleaser@as4-106.qualitynet.net)
18:09.59a4akbalo
18:21.50a4akbibot boo
18:21.51ibota4akb, for heven's sake, don't do that!
18:21.59a4akbok am here
18:28.11*** join/#tomcat lind_ (~lind@user-12ldaq6.cable.mindspring.com)
18:29.33lind_anybody know if there's a change to request.getRequestURL() in tomcat 5.5.7?
18:31.10jasonbThere may have been.
18:31.30jasonbI remember them talking about changing the implementation details of some servlet api methods like that.
18:31.40jasonbI don't remember which one(s) they ended up changing though.
18:32.17lind_i'm using struts. and it seems the return value changed since 5.5.4
18:39.40jasonbYou might try rummaging through the changelogs and see if you can spot a note about it in there.
18:49.18*** part/#tomcat majic (~majic@nc-69-69-52-5.sta.sprint-hsd.net)
18:56.56lind_if i have a request to http://myserver/myaction.do which in turn uses the ActionForward to http://myserver/mypages/page.jsp, what should the request.getRequestURL() return ? the .do or .jsp?
19:02.40jasonbNow that you say it that way, they did change some stuff about that in Tomcat 5.5.  They were discussing forwards and includes, and they did make a change or two.
19:03.01jasonbThe crux of that problem was that the servlet spec is vague on includes in various situations.
19:03.22lind_i found a bug report here: http://issues.apache.org/bugzilla/show_bug.cgi?id=28222
19:03.31lind_but it seems not so in 5.5.4
19:03.33*** join/#tomcat valmont (~chrisholl@lsanca1-ar8-4-43-220-080.lsanca1.elnk.dsl.genuity.net)
19:03.44lind_so i guess they finally made it happen in 5.5.7
19:04.23*** join/#tomcat s4mmy (~shalicke@ip-66-218-241-22.cableaz.com)
19:04.36jasonblind_: Possibly.
19:04.45lind_and so happen that i had programmed to the behavior of 5.5.4. argh!!!
19:05.09jasonblind_: I actually don't remember which version number it ended up in, but if you look in the change logs you may see something about either "include" or "RequestDispatcher"..
19:05.21lind_ok
19:06.23lind_i guess i have to go back and change my code to rely on struts instead.
19:08.08lind_that would be a nightmare for me
19:08.39lind_is there still a link to download 5.5.4 release?
19:10.33jasonbProbably...  I always look in archive.apache.org
19:10.40lind_i see
19:11.30lind_eh...nope. no 5.5.4 in sight
19:11.40lind_oops
19:11.41lind_found it
19:11.44lind_thanks
19:12.05jasonbhttp://archive.apache.org/dist/jakarta/tomcat-5/archive/v5.5.4/
19:12.07jasonbYup.
19:12.28jasonbI'm not sure I'd suggest you use 5.5.4 though.
19:12.35lind_why?
19:15.54*** join/#tomcat alx_ (~alx@81-208-60-207.fastres.net)
19:20.06jasonblind_: There were some bad bugs fixed since then.  Bugs where stuff was broken due to the major refactoring of Tomcat 5.5.
19:20.25lind_i see.
19:36.15jasonblind_: That bug number 28222 is a great find.
19:38.53lind_hopefully other parts of my app won't have problems. :-) I'm changing source code now to move away from request URL
19:39.37jasonb<PROTECTED>
19:39.37jasonb<PROTECTED>
19:39.37jasonb<PROTECTED>
19:39.37jasonb<PROTECTED>
19:39.47jasonbI found the CVS commit as well.
19:40.11jasonbOne thing you could do is take a newer TC 5.5 and unpatch just that one thing and rebuild, if you really want it that way.
19:40.33jasonbI can see others wanting to do that as well (maybe us), so this is an important patch.
19:41.33jasonbThey changed it in TC 4.1 as well.. interesting.  
19:41.42lind_i would rather remember this incident and rely on elsewhere stable.
19:41.46jasonbSo lots and lots of people may end up with that "surprise".  ;)
19:41.53lind_keeping a custom patched version isn't always fun
19:42.06lind_yeah. tell me about that surprise
19:42.21lind_my boss might be on my ass very soon since i'm delaying it. lol
19:44.40jasonbOkay, here's the diff straight out of Jakarta CVS:
19:44.42jasonbhttp://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationHttpRequest.java?r1=1.23&r2=1.24
19:45.01jasonbIt's tagged 5.5.7, so you could run all the way up to and including 5.5.6 and not get the change.
19:46.11jasonbBut, also, the truth is that you do not need to run a 100% recompiled Tomcat.  You could revert only one patch in only one class, and recompile just that one class and install it in your runtime tree in the right spot, and it would be the official distribution with only one class changed.
19:46.37jasonbWe do that here and it works great.
19:47.07lind_if this change isn't officially a long term settlement, they really should release two versions
19:47.34lind_otherwise, we (poor users) would benefit from adapting our codes to this change
19:48.38lind_i use to maintain a heavily custom patched software in house. it was hell of  a job.
19:49.16lind_everytime there's a new release packed with features, i had to go thru everything to make sure the changes still work
19:49.23lind_not  fun.
19:50.12jasonbThis change looks permanent to me.  So, I don't think they'll reverse it, nor offer a config option to turn it on or off.  I'm just saying that if you have a huge app that depends on the old behavior, it's likely easier just to do the above binary patch method to fix it, and it wouldn't hurt anything.
19:51.17lind_sure. but anyway, i'm going to give a shot to change my code instead. if doesn't work, i'll do the patch.
19:52.05jasonbYup.  Good 'nuff.  You're likely better off in the long run if you can change your software to adjust to the New Way(tm).. if that's not real hard to do.
19:53.45lind_wish me luck :)
19:54.05jasonbYeah, good luck.
19:54.12lind_thanks
19:54.14jasonbWe may end up in the same spot with our webapp.
19:54.34jasonbI find it comical that you can't escape this problem even if you keep 4.1.x.  :)
19:54.46lind_hehe
19:54.55lind_good luck with yours too
19:55.07jasonbUsually, that's what keeps companies from upgrading to the next major release.
19:55.15jasonbThanks.
19:55.58lind_sometimes, it's better off sticking with whatever version heavily tested.
19:56.19lind_i guess a good architect would save the whole mess.
19:56.51jasonbIt's a tradeoff.  You don't get any of the new bug fixes, performance fixes, security fixes, new features, etc, etc.  Waning support.  Bit rot.  But, you could keep the bugs you know are there and not work around new ones.  :)
19:57.48jasonb"stability" is fictional anyway.  Heh.
19:58.17lind_bug fixes should be treated differently than spec changes
19:58.18jasonbThis is one of those "can't live with it, can't live without it" issues.
20:00.29lind_when we see it as feature, others may see it as bugs. that's hard to do.
20:01.05lind_i never read the official servlet api spec. maybe i should.
20:08.56lind_hmm...so what's the official way of getting the original request URL?
20:55.54*** join/#tomcat FBA (~FBA@200-101-197-168.fnsce7007.dsl.brasiltelecom.net.br)
20:56.21FBAalguem aqui usa tomcat? :D
20:56.53FBAalguem fala portugues?
20:57.03FBAALGUEM VIVO?
20:57.06FBAaiyaiyai,
20:57.09FBABig_Bozz,
20:57.18FBAserlin,
20:57.28FBAjasonb,
20:57.30FBA:/
21:01.43*** join/#tomcat lhurgoyf (~can@195.174.23.195)
21:02.02FBAlhurgoyf, fala portugues?
21:02.11lhurgoyfFBA, negative
21:02.30FBAlhurgoyf, de onde vc é?
21:03.06lhurgoyfi am trying to run tomcat via jk2 to run jso files. i suceed být not with mod_userdir
21:03.19lhurgoyfjso = jsp
21:03.54lhurgoyfi got an tomcat 404 from apache : description The requested resource (/~canburak/hede.jsp) is not available.
21:04.11lhurgoyfi should map this ~ to /home/ but i do not have any idea
21:04.22FBAlhurgoyf, remova web.xml do diretorio WEB-APP
21:05.13FBAichi
21:05.19lhurgoyfmkdir /home/canburak/WEB-APP
21:05.20FBAnao falo ingles :/
21:05.20lhurgoyf?
21:05.35lhurgoyfmkdir /home/canburak/public_html/WEB-APP
21:05.44lhurgoyf?
21:06.02FBAWEB-APP = WEB-INF
21:06.29lhurgoyftomcat? mod_userdir?
21:07.18Alexysjasonb, estas ocupado?
21:08.26FBArm $CATALINA_HOME/webapps/YOU-APLICATION/WEB-INF/web.xml
21:08.33FBAAlexys, fala portugues?
21:08.44AlexysFBA, no, solo español
21:08.52FBAAlexys, ja es um comesso :D
21:09.11FBAAlexys, jo soi fabio chapeco-santa catarina- brasil
21:09.16FBAAlexys, usted es?
21:09.21AlexysColombiano
21:09.32FBAAlexys, :P
21:09.34FBAhauhauah
21:09.41FBAAlexys, usas JSP?
21:09.43Alexysestoy buscando un amigo que fala portugues y español
21:09.50Alexysdepronto te pueda ayudar
21:09.58FBAAlexys, eu nao falo espanhol
21:10.06Alexysespera
21:10.10FBAdepronto?
21:10.16FBAprontamente?
21:10.56Alexysestou procurando um amigo que fala portugues e espanhol
21:11.09FBAlhurgoyf, it obtained?
21:11.33FBAAlexys, I understood what voce spoke
21:11.51lhurgoyfFBA i thint your sollution suggestion is not for my problem
21:11.57FBAAlexys, eu entendi o que voce falou :D
21:12.06lhurgoyfor i got something wrong
21:12.08FBAAlexys, jo entendi o que usted hablou
21:12.16AlexysFBA, ok
21:12.52FBAlhurgoyf, :/
21:13.02FBAlhurgoyf,i am newbie in jsp
21:13.08FBAAlexys, o que vc faz da vida?
21:13.20FBAAlexys, estou iniciando em jsp e nao consegui muita ajuda aqui na regiao
21:13.34FBAAlexys, aqui na minha regiao nao existem muitas pessoas abituadas a usar jsp
21:13.43FBAAlexys, o que predomina é PHP e ASP
21:14.24FBAlhurgoyf, JavaServer Pages o guia do desenvolvedor
21:14.30FBAlhurgoyf, excelent
21:14.54FBAthey alguem says Portuguese?
21:15.36FBAvou para a faculdade amanha conversamos mais (I go for the college amanha we talk more)
21:15.42FBAAlexys,  vou para a faculdade amanha conversamos mais (I go for the college amanha we talk more)
21:16.01AlexysFBA, ok, tal vez mañana si este mi amigo
21:16.22AlexysFBA, ok may be tomorrow will be my friend
21:16.38FBAAlexys, jo no hablo inglish
21:16.59FBAAlexys, por que talves amanha?
21:17.04FBAAlexys, ja somos amigos :D
21:17.17Alexystalvez amanhã sim este meu amigo
21:17.46AlexysFBA, no me hago entender :P :D
21:18.12FBAAlexys, nao entendi mesmo :D
21:18.13AlexysFBA, não me fiz entender
21:18.20FBAAlexys, hauhauahau
21:18.29AlexysFBA lol
21:18.33FBAAlexys, tá dificil criar um dialogo :D
21:18.48AlexysFBA, si, y aqui ninguno habla nuestras lenguas
21:18.53*** join/#tomcat lind_ (~lind@user-12ldaq6.cable.mindspring.com)
21:18.58FBAAlexys, bom, vou pra casa tomar café se nao me atraso pra faculdade
21:19.10puckohmmm... poruges
21:19.12FBAAlexys, é verdade hauhauahau
21:19.12pucko+t+
21:19.17FBApucko, opa
21:19.22FBAfala portugues?
21:19.30puckono entiendo protuges
21:19.32FBAhabla portugues?
21:19.39puckoun pocito español
21:19.42FBApucko, espagnol?
21:19.53FBApucko, qual tua lingua?
21:19.54AlexysFBA tua falas em português, eu falo em espanhol, e o canal é de ingles
21:20.02puckosueco
21:20.32FBAnossa
21:20.33FBAque locura
21:20.34FBAhauahuaahua
21:20.43FBAAlexys, o jeito é traduzir tudo no google :D
21:21.22AlexysFBA, http://copacabana.dlsi.ua.es/pt/text.php
21:24.08FBAgusté de esa web :D.  
21:29.12FBAAlexys,  sólo traduce en dos lenguas :/  
21:29.39Alexyssi, español --> portugues <-- español
21:31.40aiyaiyaiwhat version tomcat are people using, and with what version java? ie: for tomcat 5, they say to use 1.5....or do you stick with tomcat 4 and just use jdk1.4.2?
21:31.56FBAAlexys,  me entusiasmé con los canales y ya estoy muy atrasado, mañana la gente conversación, *hauhauhaua, gusté de esos canales nunca había entrado  
21:32.59AlexysFBA, se, estas comunidades são excelentes, o único é que há que ter um pouco de paciência para as respostas
21:40.08serlinAnyone know about tomcat and unicode?
21:40.15puckowhat about it
21:40.50serlinDoes it display it by default or should I change the character set somewhere?
21:53.41puckoI think it outputs as utf8 if you edit the jsps as utf8..
21:53.54puckoand for the servlets you have to send the text as utf8..
22:00.04Alexyshow i do this: in a JSP have 2 form, but i want that in a button only submit 1 form?
22:01.06puckouh... I don't think that is possible..
22:17.53*** join/#tomcat bozz0 (~medor@c-24-23-201-228.client.comcast.net)
22:18.03*** part/#tomcat bozz0 (~medor@c-24-23-201-228.client.comcast.net)
22:28.53lind_jasonb: I think i fixed it. kinda a workaround by passing the requestURL from the action servlet to the next as a request attribute. Some official API to do this would be very helpful.
22:34.00aiyaiyaifor those that use a FREE ide, is any of you also using it w/tomcat? which IDE? (thinking about going Eclipse...just using command line) ty(saw setup guide for tomcat/eclipse)
22:34.32*** join/#tomcat jrx (~JeromeRad@d80-170-50-208.cust.tele2.fr)
22:38.30jasonblind_: I'm glad you were able to "fix" your webapp.  You won't need to patch Tomcat.
22:38.41jasonblind_: Are you using Struts?
22:38.48lind_yeah
22:39.08lind_struts + some rhino script. similar to struts-flow
22:39.14jasonblind_: So now Struts is working okay?  You didn't have to patch Struts, did you?  Also, which version of Struts are you using?
22:39.24lind_didn't touch struts at all
22:39.30lind_1.2 i think.
22:39.58jasonblind_: Ahh.  A co-worker over here just found that struts-flow thing & cocoon's flow engine.  Neat idea.  We don't yet know if we should use it but it looks interesting.  I worry about the performance and memory implications.
22:40.34lind_I have a totally modified version of it. planning to release it open source when i clean up some company specific codes
22:40.55jasonblind_: Very, very cool.  Did you make use of the built-in Rhino continuations?
22:41.03lind_yup
22:41.19jasonblind_: Is that beneficial?  Like, the struts-flow one is worse in some ways?
22:41.35lind_performance and scability i guess.
22:41.47lind_if ur app doesn't require that, u'll benefit a lot from it
22:42.00jasonblind_: You guess, but never tested/benchmarked any of it?
22:42.36lind_i'll know in about 3 weeks. I only have 50 users on my app. so it's not a problem.
22:42.36jasonblind_: I'd love to see your code.  So, I must encourage you to release it..
22:43.13lind_try out struts-flow first. it's already very useful since 0.2
22:43.47jasonblind_: Just yesterday I set up JMeter and started benchark testing and graphing the results for our webapp here, after my co-worker and I discussed the continuations thing and we wondered about performance.  So, now I'm ready to benchmark stuff like that, but he's not ready to give me something to benchmark yet.
22:44.38lind_the performance bottleneck is really the JavaScriptInterpreter
22:44.47lind_everything else is naturally struts.
22:45.24jasonbYeah, that's what I feared, that Rhino itself would just be too big & slow & memory intensive compared to just doing it the "regular" way.
22:45.48jasonbWe want scalability too.
22:46.01lind_Don's version uses one single instance of interpreter for the whole app. but i'm using one per session per URL
22:46.33lind_scalability would have concern on how the interpreter execution stack gets migrated around.
22:47.02lind_i haven't really look into clustering it. but I think it might be very scary there.
22:47.35lind_btw, I also tried struts-cocoon. that one is mad slow.
22:47.49jasonblind_: So if you decided to use one rhino instance per URL, why did you think using one global instance instead would be bad?
22:48.21lind_oh. that wasn't performance issue. i made it so it can have its own configuration.
22:49.00jasonbOkay.  So I guess different config per URL helps somehow?
22:49.21*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
22:49.21lind_so i won't have to load every script into one interpreter
22:49.33lind_sometimes, the symbols may collide
22:49.39jasonblind_: Ahh, ok.
22:50.35jasonblind_: Also, the struts-flow implementation, is that going to use the Rhino built-in continuations?  AFAIK it had its own implementation and didn't use the built-in one.  If not currently, do they plan to use that in newer versions?
22:50.58lind_it uses a forked rhino build found from cocoon
22:51.28lind_and that has some copyright issues
22:51.44jasonbWhich one?
22:51.45lind_as cocoon is trying to move to a mainstream build, i guess i
22:51.53lind_i'll be looking at the same place.
22:52.05jasonbDefine "mainstream build"?
22:52.20lind_main branch, i suppose
22:52.22jasonbAhh, rhino from Mozilla?
22:52.26lind_right
22:52.30jasonbok.
22:53.11lind_i've checked on cocoon, and they are experimenting with some Java based flow control. that could be a better approach when it gets matured.
22:53.26jasonbMaybe.
22:55.30lind_what kind of app are you working on?
23:11.51*** join/#tomcat Big_Bozz (~Big_Bozz@user-2168.l5.c1.dsl.pol.co.uk)
23:15.17*** part/#tomcat lind_ (~lind@user-12ldaq6.cable.mindspring.com)

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.