00:24.02 | *** join/#tomcat ClOoNeY (ClOoNeY@adsl-158-15-192-81.adsl.iam.net.ma) |
00:24.24 | ClOoNeY | plz can any one help me |
00:24.26 | ClOoNeY | ? |
00:25.13 | lyken | with? |
00:25.36 | ClOoNeY | when installing the tomcat , it's want the jvm path ! |
00:25.47 | lyken | lemme guess |
00:25.48 | lyken | windows ? |
00:25.50 | ClOoNeY | i have the jdk , is it in |
00:25.55 | ClOoNeY | yes |
00:26.11 | lyken | check your environment variables for windows |
00:26.18 | lyken | macke sure CLASS_PATH is set |
00:26.54 | ClOoNeY | no , before it begin the installation , it tells me to chose define the jvm path |
00:27.16 | lyken | i dunno then |
00:27.27 | aiyaiyai | what version tomcat? |
00:27.41 | aiyaiyai | i am newb too, tried v5, has problem, went to v4, seems to work |
00:28.47 | ClOoNeY | 5.0.28 |
00:29.10 | aiyaiyai | ----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.29 | aiyaiyai | clooney...i'm a newb, but i'd go back to v4, it worked right away for me, just did it 2day |
00:29.38 | aiyaiyai | plus it detected the java path on it's own |
00:29.57 | *** join/#tomcat binarysunflower (~NNSCRIPT@p54B8AD32.dip0.t-ipconnect.de) |
00:30.23 | ClOoNeY | thanks aiyaiyai , i will try today with 5x , if it doesnt i will install the 4x |
00:30.36 | ClOoNeY | "please select the path of the jvm installed on you " |
00:30.44 | binarysunflower | anybody here to help a newbie with netbeans 3.6 and its bundled tomcat |
00:31.01 | ClOoNeY | how can i find the path of the jvm installed on my system |
00:31.07 | aiyaiyai | all you should have to do is POINT it to where you have java installed |
00:31.16 | aiyaiyai | like C:\j2sdk1.4.2_04 |
00:31.25 | aiyaiyai | or proramfiles\jre1.5.0 |
00:31.35 | aiyaiyai | that's all it's trying to say, show it where you installed java |
00:31.44 | ClOoNeY | i have just jdk !! |
00:31.58 | aiyaiyai | have u tried to point it to that? |
00:32.13 | aiyaiyai | just point it to the top level dir like |
00:32.16 | aiyaiyai | like C:\j2sdk1.4.2_04 |
00:32.22 | aiyaiyai | not to \bin or anything |
00:33.14 | ClOoNeY | "no java virtual machin found" |
00:33.45 | aiyaiyai | i have no clue, sorry..if you only just installed java, would reinstall |
00:34.31 | ClOoNeY | Ok thank you , i think i will install the 4.x |
00:37.24 | aiyaiyai | odd...it works now |
00:37.45 | binarysunflower | does anybody has any clue why my netbeans cant lookup the tomcat configuration while trying to deploy an web project?..... |
00:37.50 | aiyaiyai | aha!! |
00:38.05 | aiyaiyai | didn't realize u REALLY had to put in the .java file as well...makes sense all else are |
00:38.19 | aiyaiyai | sorry BinaryS...not familar with netbeans |
00:39.36 | ClOoNeY | aiyaiyai have you ever used jsp with router ? |
00:39.44 | binarysunflower | you 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.10 | aiyaiyai | nope...only know java apps/jdbc just learning jsp/java/servlets..just started servlets 2day |
00:42.18 | aiyaiyai | sorry bniary...im a newb here:) |
00:42.35 | aiyaiyai | ----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.39 | aiyaiyai | still a problem... |
00:45.04 | ClOoNeY | aiyaiyai wait for me to download it , and then i will search for you lol :o) |
00:45.19 | aiyaiyai | ill be in n out |
00:46.08 | ClOoNeY | !::o) |
00:54.41 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
00:56.15 | aiyaiyai | if 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.44 | loquace | gn 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.37 | puff | /join3 Apache |
04:30.47 | lyken | hehe |
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.36 | theoddbot | anyone know how to make ant/jasper2 compile .html files ? |
05:52.27 | jasonb | theoddbot: Sure, rename them .jsp files. |
05:53.05 | theoddbot | jasonb: the problem is that they are .jsp files in the first place, i will show you |
05:53.33 | theoddbot | ".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.45 | theoddbot | so i have the fun task of trying to fix this mess |
05:54.38 | jasonb | Neat. I guess the police have never heard of the Java SecurityManager. |
05:55.19 | lyken | isnt it great when a clueless manager makes a dumb ass decision like that |
05:55.34 | jasonb | Oh yeah, it's just smurfy. |
05:55.34 | theoddbot | well the site is external - their proxy blocks .jsp |
05:55.41 | lyken | "we will not use scissors in our office cause someone might come in and stab our receptionists with them" |
05:55.49 | theoddbot | i make it .html - and viola - it works |
05:56.14 | jasonb | theoddbot: Ahh, okay, then rename them all something.notjsp, and then edit your global web.xml to point Jasper at the .notjsp files. :) |
05:56.22 | theoddbot | so now im trying to munge my struts app to their satisfaction |
05:56.25 | lyken | theoddbot: which state dude? |
05:56.31 | lyken | nsq? |
05:56.33 | lyken | nsw.. |
05:56.39 | lyken | qld didnt use JSP last time i checked |
05:56.40 | theoddbot | lyken: qld, but apparently its all police |
05:56.50 | lyken | they have mungy ass unix apps mostly |
05:56.52 | theoddbot | lyken: im not part of the police, but its a site they will use |
05:56.59 | lyken | that are more insecure |
05:57.13 | lyken | i know cause i debugged a few of them |
05:57.27 | lyken | one of my students got a job there and they offered me one |
05:57.30 | theoddbot | im sure they are confusing it with applets |
05:57.31 | jasonb | Rename your files .pork, and map those in the global web.xml. :) |
05:57.32 | lyken | i laughed so hard |
05:57.38 | theoddbot | but i can't talk sense to them |
05:57.43 | lyken | ROFL jason |
05:57.59 | lyken | theoddbot: you on 8mbit iinet? |
05:58.08 | theoddbot | lyken: no just 1.5 |
05:58.11 | lyken | bummer |
05:58.15 | theoddbot | lyken: they are trailing 12mbit atm |
05:58.20 | lyken | yer |
05:58.22 | theoddbot | if you are close enough |
05:58.26 | lyken | <-- works at UQ |
05:58.33 | theoddbot | im at qut |
05:58.37 | lyken | heh |
05:58.38 | theoddbot | but this is unrelated |
05:58.39 | lyken | "super tafe" |
05:58.44 | theoddbot | :P |
05:58.56 | lyken | im a guest at KG campus |
05:59.12 | lyken | but yer remapping your files should work |
05:59.16 | theoddbot | see the new building they are putting in |
05:59.26 | lyken | yup |
05:59.29 | theoddbot | ihbi |
05:59.31 | lyken | i get monthly photos of it |
05:59.36 | theoddbot | thats where ill be going |
05:59.39 | lyken | standing near Z2 |
06:00.40 | theoddbot | can i do a bulk remap ? |
06:01.03 | lyken | jason? |
06:02.05 | theoddbot | i was trying to do something with apache mod_rewrte |
06:02.11 | theoddbot | rewrite even |
06:13.36 | jasonb | lyken: Yes? |
06:16.11 | lyken | re theoddbots question |
06:21.13 | theoddbot | im doing this with ant currently: |
06:21.14 | theoddbot | http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation |
06:21.14 | theoddbot | with the jasper2 task |
06:21.14 | theoddbot | but it only processes .jsp files |
06:21.49 | jasonb | Ahh. |
06:24.23 | *** join/#tomcat a4akb (bbwpleaser@as5-53.qualitynet.net) |
06:25.29 | a4akb | Hello all. |
06:26.48 | theoddbot | theres and addExtension in the javadoc |
06:27.19 | jasonb | <PROTECTED> |
06:27.19 | jasonb | <PROTECTED> |
06:27.26 | jasonb | theoddbot: Yup. |
06:28.30 | theoddbot | can i set it from build.xml tho |
06:28.37 | theoddbot | hmm if jspx isnt blocked |
06:28.43 | theoddbot | i can just use it lol |
06:29.26 | theoddbot | this is insane *sigh* |
06:29.57 | jasonb | You may be able to. |
06:30.00 | lyken | this is the qld police dude |
06:30.41 | theoddbot | lyken: is that a good or bad thing ? |
06:30.51 | jasonb | You may also do extension="pork" or extensions="donut, pork".. although I don't know if you can. |
06:32.22 | theoddbot | Class org.apache.jasper.JspC doesn't support the "extension" attribute |
06:32.24 | theoddbot | bummer |
06:32.31 | jasonb | How about "extensions"? |
06:33.23 | theoddbot | Class org.apache.jasper.JspC doesn't support the "extensions" attribute |
06:34.34 | jasonb | And this is a Tomcat 5.5 distribution? |
06:37.02 | jasonb | Okay, yep, it's true. |
06:37.07 | theoddbot | tomcat-5.0.27-r4 |
06:37.16 | theoddbot | still 5.0, but same |
06:37.19 | jasonb | It's just barely not supported. |
06:37.28 | jasonb | But, you have two work-arounds: |
06:37.50 | jasonb | 1) name your files *.jspx (this may work.. although I'm not real sure there either) |
06:38.36 | jasonb | 2) 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.06 | jasonb | But, to do 2) above, you would need to make the mapping change before the web.xml fragment gets WARred up. |
06:39.20 | theoddbot | jasonb: i had 2. done |
06:39.27 | theoddbot | but |
06:39.44 | theoddbot | when does <jsp:include> work its magic ? |
06:39.47 | theoddbot | at runtime ? |
06:40.15 | theoddbot | so i have to change all my <jsp:include > from .jsp to .pork |
06:40.19 | theoddbot | which is cool |
06:40.43 | jasonb | Yes, I'm pretty sure includes happen at webapp runtime. |
06:40.45 | theoddbot | just hoping the file being .jsp and the logical path being different might break something |
06:40.55 | theoddbot | well, hoping it doesnt break |
06:41.00 | theoddbot | only 1 way to find out i guess |
06:41.33 | theoddbot | im sure when i leave the guy who comes to maintain it has a giant WTF ??? over the .pork paths |
06:42.42 | jasonb | Hmm, 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.25 | theoddbot | well the .jsp files never end up in the war |
06:43.30 | theoddbot | only the compiled servlet .class |
06:43.33 | jasonb | Well, you *could* name them *.psp (Pork Server Pages). :) |
06:44.02 | theoddbot | i'm 99% sure if it was .asp it would be fine lol |
06:44.14 | theoddbot | but .jsp has the evil java in it you see |
06:44.20 | jasonb | Even *.psp > *.asp. |
06:45.47 | theoddbot | ok that works |
06:45.58 | theoddbot | now every .jsp reference in the source needs to be a .psp |
06:46.58 | theoddbot | thanks for your help guys |
06:46.58 | jasonb | Again, you may be able to sidestep this silly dance with *.jspx. Try that. |
06:47.03 | jasonb | Yeah, no prob. |
06:47.07 | jasonb | gotta go guys.. |
06:47.27 | a4akb | tc jasonb |
07:48.21 | *** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net) |
07:49.16 | loquace | lo |
07:51.32 | theoddbot | hello |
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.17 | thecraig | hey! |
10:22.20 | thecraig | anyone awake? |
10:22.31 | thecraig | good! |
10:23.08 | thecraig | I 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.18 | thecraig | In firefox when I go to |
10:23.30 | thecraig | https://www.rprn.org:8443 |
10:23.41 | thecraig | It prompts me to download a file, which I'm guessing is the cert. |
10:23.46 | thecraig | This was working a few days ago. |
10:23.53 | thecraig | Anyone have an idea? |
10:24.15 | swente | thecraig: for me the url works nicely, it shows the cert and asks to accept it [firefox,too] |
10:25.56 | thecraig | how about that... it's working now. |
10:26.01 | thecraig | I wonder what I did? :) |
10:26.22 | thecraig | Sorry.. If I can reproduce it again, I'll let you know. |
10:26.29 | swente | :) |
11:12.26 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
11:13.40 | harpoon | moin |
11:15.25 | swente | moinmoin |
11:16.26 | *** join/#tomcat a4akb (bbwpleaser@as36-c27.qualitynet.net) |
11:16.45 | AndHeSays | ahab |
11:16.53 | a4akb | whale |
11:17.19 | a4akb | AndHeSays can u type what kind of noise does a whale eminate? |
11:17.38 | AndHeSays | i've never been near a whale |
11:18.01 | a4akb | ever heard it? |
11:18.35 | AndHeSays | nope |
11:18.51 | a4akb | http://www.partnersinrhyme.com/soundfx/PDsoundfx/whales.shtml |
11:20.58 | a4akb | now that u heard it, everytime i enter, u will greet me with a whale sound and not ahab |
11:22.07 | a4akb | Goose (11 sec. loop) |
11:22.11 | a4akb | Very noisy goose. |
11:22.23 | a4akb | neat sounds ^.^ |
11:23.11 | a4akb | hello swente |
11:23.14 | swente | yoyo |
11:23.26 | a4akb | supsup |
11:23.28 | swente | all whales should be saved, not only the humpy ones :) |
11:23.30 | a4akb | kk |
11:23.59 | a4akb | some wise thoughts by swente |
11:24.06 | a4akb | any whales in denmark? |
11:24.37 | swente | i assume some are swimming around denmark, as sometimes they get stranded on danish beaches, too |
11:24.57 | a4akb | nice |
11:25.04 | a4akb | what do u do to them swente? |
11:25.06 | lyken | Royalty Free Animal Sound Effects |
11:25.07 | lyken | ROFL |
11:25.12 | a4akb | did u meet anyone? |
11:25.19 | a4akb | lyken o.O |
11:25.31 | a4akb | well yes u dont have to pay for using them |
11:26.05 | lyken | AndHeSays: you've never been near a whale |
11:26.27 | a4akb | lyken swims with sharks and has dated a few |
11:26.28 | AndHeSays | lyken |
11:27.48 | a4akb | bbiab |
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.30 | PeReBs | I have a problem with TOMCAT 5 |
13:59.13 | PeReBs | I'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.51 | PeReBs | any idea??? |
14:13.53 | serlin | You have ant installed? |
14:14.56 | serlin | I'm not sure you need it... I'm just guessing. |
14:22.42 | PeReBs | yes |
14:22.56 | PeReBs | I have ant installed |
14:22.58 | serlin | Is the ant jar in the classpath? |
14:23.20 | PeReBs | I guess let me check |
14:25.25 | PeReBs | I'm ver virgin with TOMCAT, I guess that in the classpath |
14:25.38 | serlin | Hmmm I'm a newbie too |
14:25.45 | PeReBs | heheh |
14:25.48 | PeReBs | ok ok |
14:26.20 | PeReBs | really I've spent two day trying to solve that problem |
14:26.45 | PeReBs | yes is in the classpath!!! |
14:26.57 | PeReBs | do you have an another idea?? |
14:27.01 | serlin | I'm trying to figure out why tomcat + lucene crap out on large indexes |
14:28.16 | PeReBs | hehe |
14:29.31 | PeReBs | do you know the diference between ant deploy, ant install and ant dist |
14:29.34 | PeReBs | ?? |
14:29.40 | *** join/#tomcat a4akb (bbwpleaser@as5-188.qualitynet.net) |
14:30.01 | serlin | no |
14:30.07 | a4akb | yes |
14:30.23 | PeReBs | do you know the diference between ant deploy, ant install and ant dist |
14:30.35 | PeReBs | a4akb?? |
14:30.39 | serlin | They're different targets, it depends what your anting. |
14:30.43 | a4akb | hi PeReBs |
14:30.50 | PeReBs | hi |
14:30.57 | a4akb | sup |
14:32.32 | *** part/#tomcat thecraig (~thecraig@home-ppp-192.colorado.edu) |
14:32.34 | PeReBs | do you know why I cannot find RedirectElement.class?? |
14:35.59 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
14:54.07 | serlin | Does tomcat use a different java then everything else? |
14:54.32 | a4akb | no |
14:54.39 | serlin | I didn't think so. |
14:55.22 | serlin | Why would running an application in Tomcat result in an error when the same code run straight would finish properly? |
14:55.37 | KtK- | Anybody in here ever used Magnolia? |
14:56.02 | serlin | Nope |
15:19.32 | randrew | serlin: http://samizdat.mines.edu/howto/HowToBeAProgrammer.html#id2790282 |
15:20.02 | serlin | Thanks for not being helpful. :-) |
15:20.14 | randrew | serlin: just returning the favor : ) |
15:21.06 | serlin | Alright... Is there a good debugging tool for tomcat code? |
15:21.40 | randrew | serlin: did the error have a name? |
15:22.03 | randrew | serlin: you can pass a debug option to tomcat, check the startup scripts |
15:22.03 | serlin | It's an ArrayIndexOutOfBounds exception in Lucene |
15:22.27 | randrew | serlin: well that sounds interesting |
15:23.28 | serlin | But only when I'm making calls from tomcat, stand-alone behaves itself nicely. |
15:24.03 | serlin | Does 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.59 | KtK- | 2gb applets :| |
15:27.03 | KtK- | Like, wtf :p |
15:28.53 | ldog | anyone know what the tomcat5.5 bin is only half the size of 5.0 ? |
15:29.03 | ldog | err.. s/what/why |
15:29.32 | serlin | Sorry, the servlet isn't 2G. :-) The file it's trying to open is 2.5G :-) |
15:30.27 | serlin | A 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.44 | KtK- | Kinda :p |
15:48.10 | a4akb | ? |
15:48.57 | serlin | randrew: That's a pretty good read. |
15:59.20 | a4akb | anyone 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.28 | a4akb | hey {aaron} |
16:02.29 | {aaron} | why does turning directory listings off in the default servlet prevent accessing any static content? |
16:02.30 | a4akb | ltnc |
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.21 | a4akb | hmmm |
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.38 | Alexys | somebody speak english around? |
16:51.43 | Alexys | excuseme, spanish |
16:51.49 | randrew | ldog: jakarta-tomcat-5.0.28\webapps\tomcat-docs is ~28mb. jakarta-tomcat-5.5.7\webapps\tomcat-docs is ~6mb. |
16:52.04 | a4akb | we all speak english |
16:53.20 | Alexys | hehe, 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.40 | StarScreem | i 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.40 | StarScreem | INFO: 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.59 | a4akb | alo |
18:21.50 | a4akb | ibot boo |
18:21.51 | ibot | a4akb, for heven's sake, don't do that! |
18:21.59 | a4akb | ok am here |
18:28.11 | *** join/#tomcat lind_ (~lind@user-12ldaq6.cable.mindspring.com) |
18:29.33 | lind_ | anybody know if there's a change to request.getRequestURL() in tomcat 5.5.7? |
18:31.10 | jasonb | There may have been. |
18:31.30 | jasonb | I remember them talking about changing the implementation details of some servlet api methods like that. |
18:31.40 | jasonb | I don't remember which one(s) they ended up changing though. |
18:32.17 | lind_ | i'm using struts. and it seems the return value changed since 5.5.4 |
18:39.40 | jasonb | You 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.56 | lind_ | 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.40 | jasonb | Now 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.01 | jasonb | The crux of that problem was that the servlet spec is vague on includes in various situations. |
19:03.22 | lind_ | i found a bug report here: http://issues.apache.org/bugzilla/show_bug.cgi?id=28222 |
19:03.31 | lind_ | 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.44 | lind_ | 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.36 | jasonb | lind_: Possibly. |
19:04.45 | lind_ | and so happen that i had programmed to the behavior of 5.5.4. argh!!! |
19:05.09 | jasonb | lind_: 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.21 | lind_ | ok |
19:06.23 | lind_ | i guess i have to go back and change my code to rely on struts instead. |
19:08.08 | lind_ | that would be a nightmare for me |
19:08.39 | lind_ | is there still a link to download 5.5.4 release? |
19:10.33 | jasonb | Probably... I always look in archive.apache.org |
19:10.40 | lind_ | i see |
19:11.30 | lind_ | eh...nope. no 5.5.4 in sight |
19:11.40 | lind_ | oops |
19:11.41 | lind_ | found it |
19:11.44 | lind_ | thanks |
19:12.05 | jasonb | http://archive.apache.org/dist/jakarta/tomcat-5/archive/v5.5.4/ |
19:12.07 | jasonb | Yup. |
19:12.28 | jasonb | I'm not sure I'd suggest you use 5.5.4 though. |
19:12.35 | lind_ | why? |
19:15.54 | *** join/#tomcat alx_ (~alx@81-208-60-207.fastres.net) |
19:20.06 | jasonb | lind_: There were some bad bugs fixed since then. Bugs where stuff was broken due to the major refactoring of Tomcat 5.5. |
19:20.25 | lind_ | i see. |
19:36.15 | jasonb | lind_: That bug number 28222 is a great find. |
19:38.53 | lind_ | hopefully other parts of my app won't have problems. :-) I'm changing source code now to move away from request URL |
19:39.37 | jasonb | <PROTECTED> |
19:39.37 | jasonb | <PROTECTED> |
19:39.37 | jasonb | <PROTECTED> |
19:39.37 | jasonb | <PROTECTED> |
19:39.47 | jasonb | I found the CVS commit as well. |
19:40.11 | jasonb | One 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.33 | jasonb | I can see others wanting to do that as well (maybe us), so this is an important patch. |
19:41.33 | jasonb | They changed it in TC 4.1 as well.. interesting. |
19:41.42 | lind_ | i would rather remember this incident and rely on elsewhere stable. |
19:41.46 | jasonb | So lots and lots of people may end up with that "surprise". ;) |
19:41.53 | lind_ | keeping a custom patched version isn't always fun |
19:42.06 | lind_ | yeah. tell me about that surprise |
19:42.21 | lind_ | my boss might be on my ass very soon since i'm delaying it. lol |
19:44.40 | jasonb | Okay, here's the diff straight out of Jakarta CVS: |
19:44.42 | jasonb | http://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.01 | jasonb | It'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.11 | jasonb | But, 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.37 | jasonb | We do that here and it works great. |
19:47.07 | lind_ | if this change isn't officially a long term settlement, they really should release two versions |
19:47.34 | lind_ | otherwise, we (poor users) would benefit from adapting our codes to this change |
19:48.38 | lind_ | i use to maintain a heavily custom patched software in house. it was hell of a job. |
19:49.16 | lind_ | everytime there's a new release packed with features, i had to go thru everything to make sure the changes still work |
19:49.23 | lind_ | not fun. |
19:50.12 | jasonb | This 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.17 | lind_ | 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.05 | jasonb | Yup. 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.45 | lind_ | wish me luck :) |
19:54.05 | jasonb | Yeah, good luck. |
19:54.12 | lind_ | thanks |
19:54.14 | jasonb | We may end up in the same spot with our webapp. |
19:54.34 | jasonb | I find it comical that you can't escape this problem even if you keep 4.1.x. :) |
19:54.46 | lind_ | hehe |
19:54.55 | lind_ | good luck with yours too |
19:55.07 | jasonb | Usually, that's what keeps companies from upgrading to the next major release. |
19:55.15 | jasonb | Thanks. |
19:55.58 | lind_ | sometimes, it's better off sticking with whatever version heavily tested. |
19:56.19 | lind_ | i guess a good architect would save the whole mess. |
19:56.51 | jasonb | It'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.48 | jasonb | "stability" is fictional anyway. Heh. |
19:58.17 | lind_ | bug fixes should be treated differently than spec changes |
19:58.18 | jasonb | This is one of those "can't live with it, can't live without it" issues. |
20:00.29 | lind_ | when we see it as feature, others may see it as bugs. that's hard to do. |
20:01.05 | lind_ | i never read the official servlet api spec. maybe i should. |
20:08.56 | lind_ | 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.21 | FBA | alguem aqui usa tomcat? :D |
20:56.53 | FBA | alguem fala portugues? |
20:57.03 | FBA | ALGUEM VIVO? |
20:57.06 | FBA | aiyaiyai, |
20:57.09 | FBA | Big_Bozz, |
20:57.18 | FBA | serlin, |
20:57.28 | FBA | jasonb, |
20:57.30 | FBA | :/ |
21:01.43 | *** join/#tomcat lhurgoyf (~can@195.174.23.195) |
21:02.02 | FBA | lhurgoyf, fala portugues? |
21:02.11 | lhurgoyf | FBA, negative |
21:02.30 | FBA | lhurgoyf, de onde vc é? |
21:03.06 | lhurgoyf | i am trying to run tomcat via jk2 to run jso files. i suceed být not with mod_userdir |
21:03.19 | lhurgoyf | jso = jsp |
21:03.54 | lhurgoyf | i got an tomcat 404 from apache : description The requested resource (/~canburak/hede.jsp) is not available. |
21:04.11 | lhurgoyf | i should map this ~ to /home/ but i do not have any idea |
21:04.22 | FBA | lhurgoyf, remova web.xml do diretorio WEB-APP |
21:05.13 | FBA | ichi |
21:05.19 | lhurgoyf | mkdir /home/canburak/WEB-APP |
21:05.20 | FBA | nao falo ingles :/ |
21:05.20 | lhurgoyf | ? |
21:05.35 | lhurgoyf | mkdir /home/canburak/public_html/WEB-APP |
21:05.44 | lhurgoyf | ? |
21:06.02 | FBA | WEB-APP = WEB-INF |
21:06.29 | lhurgoyf | tomcat? mod_userdir? |
21:07.18 | Alexys | jasonb, estas ocupado? |
21:08.26 | FBA | rm $CATALINA_HOME/webapps/YOU-APLICATION/WEB-INF/web.xml |
21:08.33 | FBA | Alexys, fala portugues? |
21:08.44 | Alexys | FBA, no, solo español |
21:08.52 | FBA | Alexys, ja es um comesso :D |
21:09.11 | FBA | Alexys, jo soi fabio chapeco-santa catarina- brasil |
21:09.16 | FBA | Alexys, usted es? |
21:09.21 | Alexys | Colombiano |
21:09.32 | FBA | Alexys, :P |
21:09.34 | FBA | hauhauah |
21:09.41 | FBA | Alexys, usas JSP? |
21:09.43 | Alexys | estoy buscando un amigo que fala portugues y español |
21:09.50 | Alexys | depronto te pueda ayudar |
21:09.58 | FBA | Alexys, eu nao falo espanhol |
21:10.06 | Alexys | espera |
21:10.10 | FBA | depronto? |
21:10.16 | FBA | prontamente? |
21:10.56 | Alexys | estou procurando um amigo que fala portugues e espanhol |
21:11.09 | FBA | lhurgoyf, it obtained? |
21:11.33 | FBA | Alexys, I understood what voce spoke |
21:11.51 | lhurgoyf | FBA i thint your sollution suggestion is not for my problem |
21:11.57 | FBA | Alexys, eu entendi o que voce falou :D |
21:12.06 | lhurgoyf | or i got something wrong |
21:12.08 | FBA | Alexys, jo entendi o que usted hablou |
21:12.16 | Alexys | FBA, ok |
21:12.52 | FBA | lhurgoyf, :/ |
21:13.02 | FBA | lhurgoyf,i am newbie in jsp |
21:13.08 | FBA | Alexys, o que vc faz da vida? |
21:13.20 | FBA | Alexys, estou iniciando em jsp e nao consegui muita ajuda aqui na regiao |
21:13.34 | FBA | Alexys, aqui na minha regiao nao existem muitas pessoas abituadas a usar jsp |
21:13.43 | FBA | Alexys, o que predomina é PHP e ASP |
21:14.24 | FBA | lhurgoyf, JavaServer Pages o guia do desenvolvedor |
21:14.30 | FBA | lhurgoyf, excelent |
21:14.54 | FBA | they alguem says Portuguese? |
21:15.36 | FBA | vou para a faculdade amanha conversamos mais (I go for the college amanha we talk more) |
21:15.42 | FBA | Alexys, vou para a faculdade amanha conversamos mais (I go for the college amanha we talk more) |
21:16.01 | Alexys | FBA, ok, tal vez mañana si este mi amigo |
21:16.22 | Alexys | FBA, ok may be tomorrow will be my friend |
21:16.38 | FBA | Alexys, jo no hablo inglish |
21:16.59 | FBA | Alexys, por que talves amanha? |
21:17.04 | FBA | Alexys, ja somos amigos :D |
21:17.17 | Alexys | talvez amanhã sim este meu amigo |
21:17.46 | Alexys | FBA, no me hago entender :P :D |
21:18.12 | FBA | Alexys, nao entendi mesmo :D |
21:18.13 | Alexys | FBA, não me fiz entender |
21:18.20 | FBA | Alexys, hauhauahau |
21:18.29 | Alexys | FBA lol |
21:18.33 | FBA | Alexys, tá dificil criar um dialogo :D |
21:18.48 | Alexys | FBA, si, y aqui ninguno habla nuestras lenguas |
21:18.53 | *** join/#tomcat lind_ (~lind@user-12ldaq6.cable.mindspring.com) |
21:18.58 | FBA | Alexys, bom, vou pra casa tomar café se nao me atraso pra faculdade |
21:19.10 | pucko | hmmm... poruges |
21:19.12 | FBA | Alexys, é verdade hauhauahau |
21:19.12 | pucko | +t+ |
21:19.17 | FBA | pucko, opa |
21:19.22 | FBA | fala portugues? |
21:19.30 | pucko | no entiendo protuges |
21:19.32 | FBA | habla portugues? |
21:19.39 | pucko | un pocito español |
21:19.42 | FBA | pucko, espagnol? |
21:19.53 | FBA | pucko, qual tua lingua? |
21:19.54 | Alexys | FBA tua falas em português, eu falo em espanhol, e o canal é de ingles |
21:20.02 | pucko | sueco |
21:20.32 | FBA | nossa |
21:20.33 | FBA | que locura |
21:20.34 | FBA | hauahuaahua |
21:20.43 | FBA | Alexys, o jeito é traduzir tudo no google :D |
21:21.22 | Alexys | FBA, http://copacabana.dlsi.ua.es/pt/text.php |
21:24.08 | FBA | gusté de esa web :D. |
21:29.12 | FBA | Alexys, sólo traduce en dos lenguas :/ |
21:29.39 | Alexys | si, español --> portugues <-- español |
21:31.40 | aiyaiyai | what 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.56 | FBA | Alexys, 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.59 | Alexys | FBA, se, estas comunidades são excelentes, o único é que há que ter um pouco de paciência para as respostas |
21:40.08 | serlin | Anyone know about tomcat and unicode? |
21:40.15 | pucko | what about it |
21:40.50 | serlin | Does it display it by default or should I change the character set somewhere? |
21:53.41 | pucko | I think it outputs as utf8 if you edit the jsps as utf8.. |
21:53.54 | pucko | and for the servlets you have to send the text as utf8.. |
22:00.04 | Alexys | how i do this: in a JSP have 2 form, but i want that in a button only submit 1 form? |
22:01.06 | pucko | uh... 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.53 | lind_ | 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.00 | aiyaiyai | for 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.30 | jasonb | lind_: I'm glad you were able to "fix" your webapp. You won't need to patch Tomcat. |
22:38.41 | jasonb | lind_: Are you using Struts? |
22:38.48 | lind_ | yeah |
22:39.08 | lind_ | struts + some rhino script. similar to struts-flow |
22:39.14 | jasonb | lind_: 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.24 | lind_ | didn't touch struts at all |
22:39.30 | lind_ | 1.2 i think. |
22:39.58 | jasonb | lind_: 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.34 | lind_ | I have a totally modified version of it. planning to release it open source when i clean up some company specific codes |
22:40.55 | jasonb | lind_: Very, very cool. Did you make use of the built-in Rhino continuations? |
22:41.03 | lind_ | yup |
22:41.19 | jasonb | lind_: Is that beneficial? Like, the struts-flow one is worse in some ways? |
22:41.35 | lind_ | performance and scability i guess. |
22:41.47 | lind_ | if ur app doesn't require that, u'll benefit a lot from it |
22:42.00 | jasonb | lind_: You guess, but never tested/benchmarked any of it? |
22:42.36 | lind_ | i'll know in about 3 weeks. I only have 50 users on my app. so it's not a problem. |
22:42.36 | jasonb | lind_: I'd love to see your code. So, I must encourage you to release it.. |
22:43.13 | lind_ | try out struts-flow first. it's already very useful since 0.2 |
22:43.47 | jasonb | lind_: 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.38 | lind_ | the performance bottleneck is really the JavaScriptInterpreter |
22:44.47 | lind_ | everything else is naturally struts. |
22:45.24 | jasonb | Yeah, 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.48 | jasonb | We want scalability too. |
22:46.01 | lind_ | Don's version uses one single instance of interpreter for the whole app. but i'm using one per session per URL |
22:46.33 | lind_ | scalability would have concern on how the interpreter execution stack gets migrated around. |
22:47.02 | lind_ | i haven't really look into clustering it. but I think it might be very scary there. |
22:47.35 | lind_ | btw, I also tried struts-cocoon. that one is mad slow. |
22:47.49 | jasonb | lind_: 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.21 | lind_ | oh. that wasn't performance issue. i made it so it can have its own configuration. |
22:49.00 | jasonb | Okay. So I guess different config per URL helps somehow? |
22:49.21 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
22:49.21 | lind_ | so i won't have to load every script into one interpreter |
22:49.33 | lind_ | sometimes, the symbols may collide |
22:49.39 | jasonb | lind_: Ahh, ok. |
22:50.35 | jasonb | lind_: 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.58 | lind_ | it uses a forked rhino build found from cocoon |
22:51.28 | lind_ | and that has some copyright issues |
22:51.44 | jasonb | Which one? |
22:51.45 | lind_ | as cocoon is trying to move to a mainstream build, i guess i |
22:51.53 | lind_ | i'll be looking at the same place. |
22:52.05 | jasonb | Define "mainstream build"? |
22:52.20 | lind_ | main branch, i suppose |
22:52.22 | jasonb | Ahh, rhino from Mozilla? |
22:52.26 | lind_ | right |
22:52.30 | jasonb | ok. |
22:53.11 | lind_ | 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.26 | jasonb | Maybe. |
22:55.30 | lind_ | 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) |