IRC log for #tomcat on 20071016

00:18.11pfnyou need PT,L
00:19.57largoshm.. still doesn't seem to do any rewriting
00:20.25pfnit does rewrite
00:20.35pfnhave you setup the proxypass or mod_jk rules yet?
00:20.38largostrying again with the (.*) in there...
00:20.52largosboth -- just using mod_jk now
00:21.15pfnyou need (.*) if you expect to rewrite more than just /
00:21.23pfnyou can't use [P] if you're using mod_jk
00:21.30largosah, ok
00:21.55pfnmod_jk is not part of the proxy framework
00:22.06pfnjust listen to what I say, you need [PT,L]
00:22.15pfnthe L is especially important if you want to match wildcards
00:22.17largoshuh, so, PT,L is working, but the servlet isn't loading properly.
00:22.23pfnso fix your servlet
00:22.42largoswhy would the servlet work for [R] and not PT,L?
00:22.50pfnread the log!
00:22.55pfnhow would I know
00:22.57pfnit's not my servlet
00:23.22largosoh! the paths to the servlet / javascript are probably wrong now, because of the rewriting..
00:23.28largosthanks for the help
01:32.15*** join/#tomcat optimus-prime (n=k4@201.37.75.28)
02:04.09*** join/#tomcat donaldo_ (n=donny@pool-70-20-110-33.pitt.east.verizon.net)
02:24.55*** join/#tomcat karstensrage (n=karstens@c-69-181-220-5.hsd1.ca.comcast.net)
02:31.29*** join/#tomcat kiubuntu (n=kiubuntu@124.7.90.182)
03:30.45*** join/#tomcat acidjnk (i=acid@p5B3EA7F3.dip0.t-ipconnect.de)
05:19.34*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:50.40*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-75-128.w86-218.abo.wanadoo.fr)
07:41.33*** join/#tomcat Bottas (n=Bottas@z00m.bnc.pt)
07:58.56*** join/#tomcat fix (n=fix@86.39.154.74)
08:07.23*** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de)
08:47.13*** join/#tomcat odin_ (n=dlm@host86-128-201-214.range86-128.btcentralplus.com)
09:08.27spuzDoes anyone know why when I run my application on tomcat from Eclipse, it loads up index.faces as the default page instead of index.jsp?
09:12.06*** join/#tomcat vanob (n=vanob@host-85-114-227-35.adsl.caucasus.net)
09:12.50*** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net)
09:13.24*** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net)
11:13.21*** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-12-54.telkomadsl.co.za)
11:21.24deeboanyone know how tomcat handles requests like server.com/contextroot/index.html if i have no /* mapped servlet?
11:21.42deebois it possible to forward a request from a /* mapped servlet to this "handler"?
11:36.01*** join/#tomcat donaldo (n=donny@pool-70-20-110-33.pitt.east.verizon.net)
11:43.24bobbytek1do I have to have tomcat manager running to use the ant tasks?
11:48.51deebohmm apparently the servlet is called DefaultServlet
11:48.58deebobut it is also mapped to /
11:49.26deebois it possible to send a server side redirect to it since it takes an "url" as ist parameter
11:49.34deebocan i somehow point directly at the DefaultServlet
12:02.50*** join/#tomcat acidjnk (i=acid@p5B3EA7F3.dip0.t-ipconnect.de)
12:06.16*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
12:23.53*** join/#tomcat phix (i=threat@123-243-44-131.tpgi.com.au)
12:23.55phixhey
12:24.30phixI am attempting to deploy a webapp however when I run it I get a java.security.AccessControlException exception
12:24.53phixdo I need to define a security manager?
12:31.38*** join/#tomcat ramza3 (n=Berlin@c-24-98-96-151.hsd1.ga.comcast.net)
13:06.19*** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp)
13:28.51phixhmmmmm
13:52.21*** join/#tomcat blom (n=blom@host81-146-27-139.btremoteinternet-dsl.bt.net)
14:00.27*** join/#tomcat etaylor (n=chatzill@209.10.69.157)
14:19.08*** join/#tomcat flaneur (i=flaneur@host87-151-dynamic.11-87-r.retail.telecomitalia.it)
14:19.14*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
14:24.28*** join/#tomcat godot73 (n=godot73@bas-flu-bbcs-dynip-219-031.vtx.ch)
14:37.31*** part/#tomcat FUSION_MACHINE (i=flaneur@host87-151-dynamic.11-87-r.retail.telecomitalia.it)
14:57.00*** join/#tomcat bobbytek2 (n=bob@CPE001c1023c189-CM001225701e68.cpe.net.cable.rogers.com)
14:58.03*** join/#tomcat bobbytek1 (n=bob@bas3-toronto01-1177784960.dsl.bell.ca)
14:58.15*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
15:09.50*** join/#tomcat jar (n=chatzill@189.164.117.190)
15:28.41*** join/#tomcat [algo] (n=ilia@195.87.229.42)
15:42.33*** join/#tomcat kab (n=abarrera@nat.ti.uach.mx)
15:55.54*** join/#tomcat rambo123 (n=robin@59.94.102.252)
16:04.34*** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net)
16:05.18*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
16:38.59*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
17:18.53*** join/#tomcat xaka (n=opera@83.239.62.116)
17:19.58xakacan i with help tomcat create URL to object methods mapping? As this in Cherrypy for example (/service/method?param1&param2 -> service.method(param1, param2)
17:45.03*** part/#tomcat xaka (n=opera@83.239.62.116)
17:46.01*** join/#tomcat InsolitWork (n=daniel@213.22.190.104)
17:55.39*** join/#tomcat barnum (i=pt@disgruntled.sysadmins.com)
17:55.43*** part/#tomcat barnum (i=pt@disgruntled.sysadmins.com)
17:55.46*** join/#tomcat barnum (i=pt@disgruntled.sysadmins.com)
17:57.58barnumworkign with tomcat5.5.23 trying to use alternate UserDatabase Realms, the standard tomcat-users.xml for things like the manager app and then define a context level UserDatabase that uses a db auth mechanism (oracle)
17:58.28barnumworks ok if i replace the         <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
17:58.54barnumwith the db one but then the management app user isnt recognized and i really want to keep these seperate as one is operations one is application
17:59.38barnumit should allow me to place the realm classname in a context directive and the lower level one SHOULD take precedence
18:23.01pfnbarnum place the MemoryRealm within the manager context
18:31.32*** join/#tomcat twilight\ (n=ask@17.80-202-77.nextgentel.com)
18:58.00*** join/#tomcat Zakath (n=nah@155.84-234-129.customer.lyse.net)
18:58.30*** join/#tomcat jtonic (n=jtonic@86.107.244.235)
18:59.18ZakathHaving a few issues getting Tomcat to cooperate here. Running Tomcat 6.0 in Eclipse 3.2, JDK 1.6.01 and Windows Vista.
18:59.53ZakathThis is using the Sysdeo plugin for Eclipse, no error messages in the console, but localhost:8080 isn't responding
19:00.00ZakathAnyone got an idea what could cause this?
19:01.06ZakathMore precicely it's Tomcat 6.0.14
19:13.44ZakathAnyone got any idea what could cause this? And how I can go about solving it?
19:13.48*** join/#tomcat l0ngbeach (n=mike@AFontenayssB-152-1-59-14.w82-121.abo.wanadoo.fr)
19:20.14ZakathActually, nevermind that. I'm an idiot it seems
19:20.31barnumnice that was the solution to my problem earlier too :)
19:20.40ZakathHehe
19:21.10ZakathStill not quite working, none of the pages are showing but at least I'm getting the tomcat 404's now :)
19:21.12barnumapp was foo-mgt-backend i put foo-mgt-admin in the context for it cause the other app was bar-pxl-admin and im a hopeless stoner
19:21.40barnum404 is better than no logging for sure :)
19:21.59ZakathIndeed, indeed. What I can't figure is why I can't even see the manager panel
19:22.10barnumis it a virtual host?
19:22.26ZakathIt's running on localhost
19:22.43barnumyou trying /manager/html
19:23.11ZakathTried it now :)
19:23.13ZakathStill nogo
19:23.35ZakathI'm guessing it's a setting somewhere that's screwed up, I just can't figure out which one that would be
19:24.41barnumi havent played with 6.0 yet tbh but in 5.5 you had to add the manager context for the virtualhosts maybe just add it to the server.xml see if that helps
19:24.49barnumhelps/fixes it
19:26.06ZakathShouldn't you try to avoid using the server.xml file and use context instead?
19:26.28*** join/#tomcat jtonic (n=jtonic@86.107.244.235)
19:26.44barnumwell for my shop its easier cause ops runs the server.xml development runs the context.xml
19:27.02ZakathMind you, my grasp of configuring tomcat is extremely tenous. At work a kind collegue took pity on me and set it all up :)
19:27.04barnumand they cant fsck my stuff up if i dont give them control ;)
19:27.28ZakathHehe
19:28.32barnumi tried going into svn and modifying the context.xml and checking it back in
19:28.39barnumbut soemone would always try to "fix" the changes
19:28.47ZakathHmmm....might my issue be caused my my tomcat/conf/catalina/localhost directory being completely empty? Seeing as I tell it to use the context from said folder?
19:28.52Zakath*by
19:30.06barnumthat could impede things
19:30.43ZakathI assumed as much, yes. Now to fill said folder with content
19:31.05barnumyou have $TOMCAT_HOME/server/webapps/manager right
19:31.58ZakathNope, not even the server folder
19:32.22barnumweird ok well 6.0 could very well be different in that regard
19:32.48barnumi think i recall seing the word vista back somewhere so go cygwin installed? do a find for *manager*
19:33.21ZakathCygwin ain't installed, no
19:33.38ZakathCan't recall installing that at work, although that was Tomcat 5.5 under XP
19:34.09barnumwithout some unix tools im not really sure what to tell you but maybe its just in a different place in tc6
19:34.46ZakathThere's a webapp folder in my project in Eclipse, but that's not exactly helpful when it comes to the manager console
19:35.28barnumright in 5.5 it was $TOMCAT_HOME/server/webapps/manager/
19:35.38ZakathAh, webapps is in tomcat home folder, but it's quite empty
19:37.34ZakathAlso got some $TOMCAT_HOME/work/Catalina/localhost folders but they're quite empty. Bah
19:38.28ZakathI'll take a look at this again tomorrow I think. 4 hours of setting up makes for a tired me
19:38.59ZakathThanks for your help though :)
19:39.33barnumhehe good luck
19:49.28*** join/#tomcat chrisjw (i=unknown@82-71-87-169.dsl.in-addr.zen.co.uk)
20:22.10*** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net)
20:37.07*** join/#tomcat killer (n=killer@209.161.208.163)
20:42.39*** join/#tomcat InsomniaCity (n=insomnia@raptor.ukc.ac.uk)
20:43.43InsomniaCityHi! I've deployed a war file into my Tomcat 5.5.23 on Java 1.5 - it appears in my catalina.out, and in the manager app. However, I get a 404 whenever I try to access it, although that doesn't seem to appear in any logs.
20:43.54InsomniaCityHow can I turn on some detailed logging to track this down?
20:46.37*** join/#tomcat killer_ (n=killer@209.161.208.163)
20:47.39*** join/#tomcat killer-9 (n=killer@209.161.208.163)
20:56.37*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
21:01.16pfnInsomniaCity, there are more logs than just catalina.out
21:01.29pfnInsomniaCity, what url are you access and where did you deploy the app
21:02.36InsomniaCityI figured it out, it was a pebkac, legitimate 404 :)
21:02.54pfnyou should say so, prevent someone from responding unnecessarily
21:04.23*** join/#tomcat compair124 (i=compair1@gateway/tor/x-8b5f037a57863a0a)
21:17.23*** join/#tomcat claws_bugs (n=gschuett@147.21.16.3)
21:17.32claws_bugsso tomcat performs best alone
21:17.40claws_bugswith no lighttpd or other shyte out front?
21:29.43pfntomcat works well if you don't put any overhead in front of it
21:30.01pfnconversely, why waste tomcat processing power on stuff that isn't needed, it's nice to have a separate media server, etc.
21:35.41claws_bugshm
21:35.52claws_bugswhat would ye run on the media server though?
21:35.57claws_bugsthhtpd?
21:51.53pfndepends on my requirements
21:52.15vinsedid you write "ye" on purpose or was that a typo?
22:04.05*** join/#tomcat skazi (n=nathan@e178127084.adsl.alicedsl.de)
22:04.31skazidoes someone know which version is affected by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5461?
22:04.37skaziis there a patch? is this confirmed?
22:08.09claws_bugsye on purpose
22:08.17claws_bugsI watch little britain
22:08.19claws_bugs;)
22:23.25*** join/#tomcat bobbytek2 (n=bob@CPE001c1023c189-CM001225701e68.cpe.net.cable.rogers.com)
22:41.04bobbytek2Hey tomcaters
22:41.59bobbytek2are there any advantages to using jikes to compile jsps over jasper?
22:43.09bobbytek2And how does precompiling a jsp be considered an optimization
22:49.06claws_bugswell
22:49.14claws_bugsjvm wont have to
22:49.18claws_bugsI think people use ant
22:49.28claws_bugsmaven also comes to mind
22:50.32*** join/#tomcat _snd (n=alexh@friends.grandiosa.net)
22:51.10_sndanyone awake?
22:52.31*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
22:52.42rouehola
22:53.08bobbytek2Does adding trimSpaces to  $CATALINA_BASE/conf/web.xml really help performance?
22:53.32roueI'm sure this has been asked a million times, but I'm not seeing the answer online. With 6.0.14 the /admin app isn't installed by default. It doesn't appear on the tomcat.apache.org/download page either. Does it still exist somewhere? thanks.
22:54.13_sndi have a wierd issue with installing jira on 5.5.25, i'm getting this in the catalina.out: java.io.IOException: IOException writing to /var/lib/tomcat-5.5/conf/tomcat-users.xml.new
22:54.33_sndthere are no permission problems as far as I can see, and even chmod'ing the dir to 777 doesnt help
22:55.26bobbytek2roue, you're a smart lad.  What are your thoughts on the matter?
22:55.41roueclearly not smart enough.
22:59.13roueno one knows the location of the admin webapp and is willing to tell me without screwing around?
22:59.31barnumnope were still a tc5.5 shop
22:59.50barnummy boss laughed at me when we finished the 5.5 migrtion i said ok now how about 6
23:00.54roueah well.
23:01.01roueit's got to be around somewhere.
23:03.15*** part/#tomcat _snd (n=alexh@friends.grandiosa.net)
23:03.27pfnbobbytek2, trimSpace won't help performance, but may save a marginal amount of bandwidth
23:03.56pfnprecompiling jsp is not an optimization, unless you consider first-visit load-times
23:08.27claws_bugsadmin consoles are phased out
23:08.32claws_bugs:)
23:08.45claws_bugsnow you msut use the bloody command line! heh heh hhe
23:09.20vinsepfn: for some reason, our production server takes around 6 - 10 minutes to compile each single jsp file so we ahve to consider first-visit load-times -- it's weird since other way slower machines take a fraction of that time
23:09.37pfnyour production box sounds b0rked
23:09.37pfnheh
23:09.51pfnyes, if your box takes 6-10 minutes to compile, precompilation is probably a necessity
23:09.55vinseno signs other than that, but yeah it doesnt seem good ;)
23:10.05pfnnfs?
23:10.36vinseno
23:11.38vinseit happened when we changed solaris versions but we'd always precompiled so i ddint notice for a long time
23:13.32claws_bugsso is java worth learning?
23:13.43claws_bugsall the perl lisp and otehr types say java is unproducive
23:13.51claws_bugsbut evry damn job I goto uses it
23:13.52claws_bugswtf
23:14.15vinsehahaha
23:14.24pfnjava is productive
23:14.58pfnperl's productivity curve drops dramatically as the system size increases
23:15.03pfnjava's tends to be a bit more linear
23:15.06claws_bugshm
23:15.21pfnof course, shitty developers will always wreck the productivity curve
23:15.28claws_bugsah hah!!
23:15.31claws_bugslol
23:15.47claws_bugscorporations seem to take good stuff and twist it
23:16.03claws_bugsIm told lisp is very cool
23:16.06claws_bugshaskell too
23:16.19claws_bugssoem liek topmind say databases are way to go
23:16.27claws_bugssome say db not needed
23:16.29claws_bugsI dunno
23:16.33claws_bugsmy head hurts
23:17.46pfnI just use whatever works
23:17.48roueclaws_bugs so the admin app is gone completely in 6? okay. thanks for letting me know.
23:17.52pfnlisp has too many parens for me, heh
23:18.23pfnand the "list processing" concept doesn't catch on with me
23:20.13pfnthe scripting languages that are "interesting" to me now are python and ruby
23:20.22pfnruby simply because of recent hype
23:20.26pfnand python because it's decent
23:37.07*** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net)
23:38.06bobbytek2pfn: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html
23:38.13bobbytek2See "Production Configuration"
23:39.31bobbytek2It seems to be suggesting that trimSpaces is an optimization, no?
23:39.51bobbytek2I thought that it would make performance poorer (from extra work)
23:44.05*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
23:51.10pfnwhere does it imply that it is an optimization?
23:51.38pfnlike I said, it's only an optimization in the sense that it might marginally decrease bandwidth usage
23:57.40bobbytek2well, all of the other options are optimization settings
23:57.46bobbytek2the whole section really implies it
23:58.04bobbytek2it is a subset of the previous section
23:58.19bobbytek2so, where does it NOT imply it?
23:59.53pfnit just says that they're production settings

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.