00:02.30 | *** join/#tomcat twilight\ (n=ask@113.80-202-77.nextgentel.com) |
00:40.26 | *** join/#tomcat akphen (n=Deepak@81-86-56-58.dsl.pipex.com) |
00:40.32 | *** part/#tomcat akphen (n=Deepak@81-86-56-58.dsl.pipex.com) |
01:36.24 | *** join/#tomcat landonf (n=landonf@nat.earth.threerings.net) |
01:38.04 | landonf | I admit defeat. How do I place a .war webapp at the vhost / |
01:50.05 | *** join/#tomcat yell0w (n=yellow@unaffiliated/yellow) [NETSPLIT VICTIM] |
01:50.06 | *** join/#tomcat sunbug (n=sunbug@absolutlinux.no) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat landonf (n=landonf@nat.earth.threerings.net) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat twilight\ (n=ask@113.80-202-77.nextgentel.com) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-68-1.w81-48.abo.wanadoo.fr) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat Zaph0d^ (i=Zaph0d@87.69.223.0) [NETSPLIT VICTIM] |
01:54.10 | *** join/#tomcat lilalinux (i=e-trolle@langweiligneutral.deswahnsinns.de) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat norre (n=norre@c-18a571d5.018-25-6c756c11.cust.bredbandsbolaget.se) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat apfel (n=apfel@gb021.stw.stud.uni-saarland.de) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat burepe (n=burepe@p1155-ipbfp202kyoto.kyoto.ocn.ne.jp) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat sknight (n=sknight@services.nellymoser.com) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat misc-- (n=misc@203.87.183.134) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat evosh (n=jixjax@user-1121rbr.dsl.mindspring.com) [NETSPLIT VICTIM] |
01:54.11 | *** join/#tomcat Marv|LG (n=Marv|TF@ip70-162-230-222.ph.ph.cox.net) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat bugfixer (n=bugfixer@42gis175.gulftel.com) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat fallout (i=fallout@nemean.spikeman.net) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat lyken (n=dc@75.126.161.82) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat ixupixu_ (i=wille@ling16.ling.su.se) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat TinoW (n=tino@living-examples.com) [NETSPLIT VICTIM] |
01:54.12 | *** join/#tomcat Jara[zZ] (n=rimaraj@host106-241.pool8250.interbusiness.it) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat Hugh__ (n=Hugh@puma.mxtelecom.com) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat harpoon (i=stueber@ultra20.rbg.informatik.tu-darmstadt.de) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat lamech (n=dan@cheshirecat.manxome.org) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat fix-- (n=fix@86.39.154.74) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat awelynant (n=cskinfil@208.65.172.147) [NETSPLIT VICTIM] |
01:54.13 | *** join/#tomcat Torey (i=torey@yerot.com) [NETSPLIT VICTIM] |
01:54.14 | *** join/#tomcat sbeh (i=sbeh@serverstaff.de) [NETSPLIT VICTIM] |
01:54.14 | *** join/#tomcat pfn (n=pfnguyen@netblock-66-245-252-239.dslextreme.com) |
01:54.14 | *** join/#tomcat tnelson (n=tnelson@svn.onresolve.com) [NETSPLIT VICTIM] |
01:54.14 | *** join/#tomcat Azzkikr (n=krpors@a62-251-82-134.adsl.xs4all.nl) [NETSPLIT VICTIM] |
01:54.14 | *** join/#tomcat ohsix (i=ohsix@bc111222.bendcable.com) |
01:54.15 | *** join/#tomcat Raboo (i=rabi@212.37.0.75) [NETSPLIT VICTIM] |
01:56.28 | *** join/#tomcat odin_ (n=dlm@host217-43-21-148.range217-43.btcentralplus.com) [NETSPLIT VICTIM] |
02:11.47 | *** join/#tomcat wsmoak (n=wsmoak@ip68-110-100-131.ph.ph.cox.net) |
03:02.22 | *** join/#tomcat rambo1 (n=rambo@221.134.222.80) |
03:06.58 | *** join/#tomcat wsmoak_ (n=wsmoak@ip68-110-100-131.ph.ph.cox.net) |
03:20.04 | *** join/#tomcat yell0w (n=yellow@unaffiliated/yellow) |
04:43.55 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-68-1.w81-48.abo.wanadoo.fr) |
05:42.25 | *** join/#tomcat joepl (n=jlaudadi@uslec-66-255-162-135.cust.uslec.net) |
05:44.34 | *** join/#tomcat levka (n=l3vka@ool-18b900ab.dyn.optonline.net) |
05:44.39 | levka | hi |
05:44.49 | joepl | Ok, to get this out of the way: Tomcat 5.5, java 1.5, RHEL4 |
05:45.03 | levka | last time i provided the version #s and asked for help, noone was available |
05:45.28 | levka | but here they are again |
05:47.19 | joepl | i have an apache 2.2 server set up to reverse proxy to an AJP connector (mod_proxy + mod_proxy_ajp). The webapp has absolute paths in hrefs, e.g. <img src=/app_context/images/blah.jpg"> which of course don't resolve properly for the client because /app_context/whatever doesn't exist on the apache server |
05:48.01 | joepl | is there a way to deal with this short of making my webapp aware of the reverse-proxy setup |
05:48.28 | levka | i think u should set up only the the jsp files to get served by tomcat |
05:48.34 | levka | all else should stay with apache |
05:49.12 | levka | do u have a workers2.properties file? |
05:49.19 | joepl | that wouldn't solve the reverse proxy problem |
05:49.42 | joepl | no this doesn't use mod_jk, it uses mod_proxy_ajp (new thing in apache 2.1+) |
05:49.50 | levka | oh, alright, sorry |
05:50.37 | joepl | Here's how i'm proxying (this is from my httpd.conf): |
05:50.38 | joepl | <PROTECTED> |
05:50.39 | joepl | <PROTECTED> |
05:51.03 | levka | ooo |
05:51.05 | levka | sexy |
05:51.28 | jasonb | joepl: mod_proxy_http. That will fix it. |
05:52.00 | jasonb | err.. I think it's actually called mod_html, sorry for typing that so fast and getting it wrong! |
05:52.02 | joepl | how so? I looked at that, it has no directives |
05:52.05 | joepl | ahh |
05:52.19 | joepl | i'll check mod_html, thanks |
05:52.41 | levka | alright |
05:52.43 | levka | well i have jre 1.5.0_04, tomcat 4.1.27-13, fedora core 2.6.9-041221 |
05:53.14 | levka | and i get an exception when using the split function for a string |
05:53.15 | levka | org.apache.jasper.JasperException: Not implemented |
05:53.37 | levka | i know the code works because it works fine locally, compiles and runs |
05:53.56 | joepl | what's the jsp line that throws the exception? |
05:54.07 | joepl | or rather causes the error |
05:54.36 | levka | one second |
05:55.06 | jasonb | joepl: I'm looking for the mod_html page but I'm not yet finding it. |
05:55.32 | joepl | jasonb: yea i'm not having much luck either |
05:57.22 | jasonb | joepl: I'm about to get it.. |
05:57.22 | levka | String s4; |
05:57.22 | levka | s4="5,6,7,8"; |
05:57.22 | levka | String a[] = s4.split(","); |
05:57.22 | levka | http://lev.veahosting.com/index.jsp |
05:57.25 | levka | so the line with the split causes the exception |
05:57.26 | jasonb | ahh, I was close, it is "mod_proxy_html".. |
05:57.28 | jasonb | silly name. |
05:57.30 | levka | hehe |
05:57.30 | jasonb | http://apache.webthing.com/mod_proxy_html/ |
05:57.43 | jasonb | joepl: That will really fix it. |
05:57.54 | jasonb | ibot: mod_proxy_html is http://apache.webthing.com/mod_proxy_html/ |
05:58.00 | ibot | okay, jasonb |
05:58.03 | joepl | danke |
05:58.08 | jasonb | You're welcome. |
05:59.14 | levka | any ideas? |
05:59.19 | joepl | levka, why do you think those lines are causing the exception? |
05:59.33 | levka | because if i get rid of the split and just leave the array declaration |
05:59.34 | levka | it's fine |
06:00.47 | joepl | sorry, don't know |
06:00.52 | levka | im not sure how tomcat spits out the jsp |
06:01.00 | levka | doesnt it use the jre installed on the system? |
06:01.01 | levka | if so |
06:01.20 | levka | what's org.apache.jasper.servlet |
06:01.25 | joepl | all i can offer is that I've had some really strange issues when using a mod_jk module that wasn't built correctly against the httpd it was loaded into |
06:01.40 | levka | hmm |
06:01.51 | levka | ill try accessing through port 8080 directly |
06:01.55 | levka | thanks for the tip |
06:02.26 | joepl | you might try looking at the mod_jk log and see if you can find any errors there |
06:02.39 | joepl | aif it works ok directly |
06:03.21 | joepl | and btw, Jasper is tomcat's JSP engine |
06:03.29 | levka | gotcha |
06:03.45 | levka | it's just weird that java.lang.string would have a problem |
06:03.51 | levka | saying that split isnt implemented |
06:03.58 | joepl | well |
06:04.05 | joepl | here's a out-there guess |
06:04.13 | joepl | are you sure it's a 1.5 jre? |
06:04.22 | joepl | String#split wasn't implemented until 1.4 |
06:04.27 | levka | ooo |
06:04.36 | levka | well which java returns /usr/java/jre1.5.0_04/bin/java |
06:04.51 | levka | ooo |
06:04.55 | joepl | that just means that's in your path |
06:04.57 | levka | u might be right though |
06:04.58 | joepl | what is tomcat using? |
06:05.06 | levka | cause i have j2sdk1.4.2 |
06:05.12 | joepl | where's JAVA_HOME point to? |
06:05.28 | levka | well i set it to point to /usr/java/jre1.5.0_04 |
06:06.17 | joepl | how about JRE_HOME? |
06:06.25 | levka | java -version also returns java version "1.5.0_04" |
06:06.35 | levka | jre_home isnt set |
06:06.43 | levka | in env variables |
06:06.45 | joepl | but JAVA_HOME is? |
06:06.48 | levka | yep |
06:07.11 | joepl | it's moot anyway if the only other jre is a 1.4 since split would be implemented in that |
06:07.43 | joepl | did it work when you hit it directly? |
06:07.48 | levka | trying it now |
06:08.45 | levka | nope |
06:08.47 | levka | same thing |
06:09.10 | joepl | well at least you can rule out mod_jk, that should be a relief =P |
06:09.14 | levka | been killing my brain this for quite some time now |
06:09.18 | levka | thanks :-) |
06:09.22 | levka | *with this |
06:09.32 | levka | pretty new to tomcat and all |
06:09.45 | levka | but figured id have no trouble once i get all the redirects etc working |
06:10.19 | joepl | i'm out of suggestions, sorry |
06:10.29 | levka | maybe get an updated version of tomcat |
06:10.34 | joepl | well maybe i have one more |
06:11.04 | joepl | create the smallest jsp you can that causes the problem so you eliminate anything else |
06:12.01 | levka | yep same thing |
06:12.02 | levka | <% |
06:12.02 | levka | String s4="5,6,7,8"; |
06:12.02 | levka | String a[] = s4.split(","); |
06:12.02 | levka | %> |
06:13.04 | *** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:13.12 | levka | hey jason |
06:14.44 | joepl | what tomcat version did you say? |
06:15.01 | levka | 4.1.27-13 |
06:15.14 | *** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:16.28 | joepl | *shrug* |
06:16.41 | joepl | sorry, no idea |
06:16.52 | joepl | gotta run |
06:16.54 | joepl | good luck |
06:20.42 | *** join/#tomcat joepl (n=jlaudadi@uslec-66-255-162-135.cust.uslec.net) |
06:20.52 | joepl | levka, just thought of something |
06:20.59 | joepl | you said you had a jre installed? |
06:21.07 | joepl | a jre, not a jdk? |
06:32.10 | joepl | well anyway, if it's running on a jre, that's probably the problem. You need a jdk because jasper needs to use javac which isn't included in a jre |
06:42.38 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:45.38 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:53.43 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
08:30.04 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
09:31.12 | *** join/#tomcat columbo (n=Miranda@pool-71-104-27-32.lsanca.dsl-w.verizon.net) |
11:33.40 | *** join/#tomcat KaneElson (i=Kane@pdpc/supporter/student/asusanator) |
11:34.06 | *** part/#tomcat KaneElson (i=Kane@pdpc/supporter/student/asusanator) |
11:35.31 | *** join/#tomcat cayorde (n=flexable@host74-107-dynamic.10-87-r.retail.telecomitalia.it) |
12:38.56 | *** join/#tomcat gregor_k (n=a@p54A1AA83.dip0.t-ipconnect.de) |
13:37.34 | *** join/#tomcat hypo (n=hypo@d58-105-115-183.dsl.nsw.optusnet.com.au) |
14:20.53 | *** join/#tomcat yassine (n=yassine@xdsl-87-78-32-243.netcologne.de) |
15:12.01 | *** join/#tomcat a4akb (n=Akbara@62.215.156.215) |
18:05.44 | *** join/#tomcat yell0w (n=yellow@unaffiliated/yellow) |
18:19.07 | *** join/#tomcat rambo1 (n=viny@221.134.46.15) |
18:26.26 | *** join/#tomcat zcnet (n=nada@190.10.0.120) |
18:27.23 | zcnet | hi guys.. I need to install a page tomcat, but i was wondering do i need apache?.. is it better if i install apache-tomcat and the connector, or can i leave tomcat alone? |
19:03.01 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
19:29.29 | *** join/#tomcat prgrmr (n=prgrmr@bzq-82-81-116-25.red.bezeqint.net) |
19:30.19 | *** join/#tomcat zcnet (n=nada@190.10.0.120) |
19:30.55 | zcnet | hi anyone i have tomcat running standalone, but i need virtual hosts. i added them on the server.xml, but it aint working any tips? |
19:40.58 | Marv|LG | virtual hosts? |
19:41.03 | Marv|LG | like you want to do |
19:41.18 | Marv|LG | www.tomcat-whatever.com and subdomain.tomcat-whatever.com |
19:41.19 | Marv|LG | etc |
20:44.36 | *** part/#tomcat rambo1 (n=viny@221.134.46.15) |
20:48.47 | *** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-45-234.w83-114.abo.wanadoo.fr) |
21:00.19 | *** join/#tomcat seevash (n=jixjax@user-1121rbr.dsl.mindspring.com) |
21:25.42 | *** join/#tomcat a4akb (n=Akbara@62.215.156.215) |
21:45.38 | *** join/#tomcat Blissex2 (n=pcg@82-69-39-138.dsl.in-addr.zen.co.uk) |
21:51.48 | *** join/#tomcat yassine (n=yassine@dsl.voicint.com) |
21:52.38 | *** join/#tomcat ezratay (n=etaylor@p78-70.acedsl.com) |
22:31.02 | *** join/#tomcat yell0w (n=yellow@unaffiliated/yellow) |
22:31.29 | *** join/#tomcat aurynn (n=aurynn@S01060016b6e9a1b5.cg.shawcable.net) |
22:31.45 | aurynn | Tomcat 5.5, Java 1.5.0, CentOS Linux 4.4 |
22:32.08 | aurynn | 5.5.20, even |
22:32.46 | aurynn | where do I define where j_security_check hands off to once it has successfully authenticated me? |
22:37.35 | *** join/#tomcat yell0w (n=yellow@unaffiliated/yellow) |