00:18.11 | pfn | you need PT,L |
00:19.57 | largos | hm.. still doesn't seem to do any rewriting |
00:20.25 | pfn | it does rewrite |
00:20.35 | pfn | have you setup the proxypass or mod_jk rules yet? |
00:20.38 | largos | trying again with the (.*) in there... |
00:20.52 | largos | both -- just using mod_jk now |
00:21.15 | pfn | you need (.*) if you expect to rewrite more than just / |
00:21.23 | pfn | you can't use [P] if you're using mod_jk |
00:21.30 | largos | ah, ok |
00:21.55 | pfn | mod_jk is not part of the proxy framework |
00:22.06 | pfn | just listen to what I say, you need [PT,L] |
00:22.15 | pfn | the L is especially important if you want to match wildcards |
00:22.17 | largos | huh, so, PT,L is working, but the servlet isn't loading properly. |
00:22.23 | pfn | so fix your servlet |
00:22.42 | largos | why would the servlet work for [R] and not PT,L? |
00:22.50 | pfn | read the log! |
00:22.55 | pfn | how would I know |
00:22.57 | pfn | it's not my servlet |
00:23.22 | largos | oh! the paths to the servlet / javascript are probably wrong now, because of the rewriting.. |
00:23.28 | largos | thanks 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.27 | spuz | Does 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.24 | deebo | anyone know how tomcat handles requests like server.com/contextroot/index.html if i have no /* mapped servlet? |
11:21.42 | deebo | is 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.24 | bobbytek1 | do I have to have tomcat manager running to use the ant tasks? |
11:48.51 | deebo | hmm apparently the servlet is called DefaultServlet |
11:48.58 | deebo | but it is also mapped to / |
11:49.26 | deebo | is it possible to send a server side redirect to it since it takes an "url" as ist parameter |
11:49.34 | deebo | can 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.55 | phix | hey |
12:24.30 | phix | I am attempting to deploy a webapp however when I run it I get a java.security.AccessControlException exception |
12:24.53 | phix | do 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.51 | phix | hmmmmm |
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.58 | xaka | can i with help tomcat create URL to object methods mapping? As this in Cherrypy for example (/service/method?param1¶m2 -> 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.58 | barnum | workign 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.28 | barnum | works ok if i replace the <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" /> |
17:58.54 | barnum | with 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.38 | barnum | it should allow me to place the realm classname in a context directive and the lower level one SHOULD take precedence |
18:23.01 | pfn | barnum 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.18 | Zakath | Having 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.53 | Zakath | This is using the Sysdeo plugin for Eclipse, no error messages in the console, but localhost:8080 isn't responding |
19:00.00 | Zakath | Anyone got an idea what could cause this? |
19:01.06 | Zakath | More precicely it's Tomcat 6.0.14 |
19:13.44 | Zakath | Anyone 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.14 | Zakath | Actually, nevermind that. I'm an idiot it seems |
19:20.31 | barnum | nice that was the solution to my problem earlier too :) |
19:20.40 | Zakath | Hehe |
19:21.10 | Zakath | Still not quite working, none of the pages are showing but at least I'm getting the tomcat 404's now :) |
19:21.12 | barnum | app 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.40 | barnum | 404 is better than no logging for sure :) |
19:21.59 | Zakath | Indeed, indeed. What I can't figure is why I can't even see the manager panel |
19:22.10 | barnum | is it a virtual host? |
19:22.26 | Zakath | It's running on localhost |
19:22.43 | barnum | you trying /manager/html |
19:23.11 | Zakath | Tried it now :) |
19:23.13 | Zakath | Still nogo |
19:23.35 | Zakath | I'm guessing it's a setting somewhere that's screwed up, I just can't figure out which one that would be |
19:24.41 | barnum | i 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.49 | barnum | helps/fixes it |
19:26.06 | Zakath | Shouldn'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.44 | barnum | well for my shop its easier cause ops runs the server.xml development runs the context.xml |
19:27.02 | Zakath | Mind 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.04 | barnum | and they cant fsck my stuff up if i dont give them control ;) |
19:27.28 | Zakath | Hehe |
19:28.32 | barnum | i tried going into svn and modifying the context.xml and checking it back in |
19:28.39 | barnum | but soemone would always try to "fix" the changes |
19:28.47 | Zakath | Hmmm....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.52 | Zakath | *by |
19:30.06 | barnum | that could impede things |
19:30.43 | Zakath | I assumed as much, yes. Now to fill said folder with content |
19:31.05 | barnum | you have $TOMCAT_HOME/server/webapps/manager right |
19:31.58 | Zakath | Nope, not even the server folder |
19:32.22 | barnum | weird ok well 6.0 could very well be different in that regard |
19:32.48 | barnum | i think i recall seing the word vista back somewhere so go cygwin installed? do a find for *manager* |
19:33.21 | Zakath | Cygwin ain't installed, no |
19:33.38 | Zakath | Can't recall installing that at work, although that was Tomcat 5.5 under XP |
19:34.09 | barnum | without some unix tools im not really sure what to tell you but maybe its just in a different place in tc6 |
19:34.46 | Zakath | There's a webapp folder in my project in Eclipse, but that's not exactly helpful when it comes to the manager console |
19:35.28 | barnum | right in 5.5 it was $TOMCAT_HOME/server/webapps/manager/ |
19:35.38 | Zakath | Ah, webapps is in tomcat home folder, but it's quite empty |
19:37.34 | Zakath | Also got some $TOMCAT_HOME/work/Catalina/localhost folders but they're quite empty. Bah |
19:38.28 | Zakath | I'll take a look at this again tomorrow I think. 4 hours of setting up makes for a tired me |
19:38.59 | Zakath | Thanks for your help though :) |
19:39.33 | barnum | hehe 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.43 | InsomniaCity | Hi! 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.54 | InsomniaCity | How 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.16 | pfn | InsomniaCity, there are more logs than just catalina.out |
21:01.29 | pfn | InsomniaCity, what url are you access and where did you deploy the app |
21:02.36 | InsomniaCity | I figured it out, it was a pebkac, legitimate 404 :) |
21:02.54 | pfn | you 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.32 | claws_bugs | so tomcat performs best alone |
21:17.40 | claws_bugs | with no lighttpd or other shyte out front? |
21:29.43 | pfn | tomcat works well if you don't put any overhead in front of it |
21:30.01 | pfn | conversely, why waste tomcat processing power on stuff that isn't needed, it's nice to have a separate media server, etc. |
21:35.41 | claws_bugs | hm |
21:35.52 | claws_bugs | what would ye run on the media server though? |
21:35.57 | claws_bugs | thhtpd? |
21:51.53 | pfn | depends on my requirements |
21:52.15 | vinse | did you write "ye" on purpose or was that a typo? |
22:04.05 | *** join/#tomcat skazi (n=nathan@e178127084.adsl.alicedsl.de) |
22:04.31 | skazi | does someone know which version is affected by http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5461? |
22:04.37 | skazi | is there a patch? is this confirmed? |
22:08.09 | claws_bugs | ye on purpose |
22:08.17 | claws_bugs | I watch little britain |
22:08.19 | claws_bugs | ;) |
22:23.25 | *** join/#tomcat bobbytek2 (n=bob@CPE001c1023c189-CM001225701e68.cpe.net.cable.rogers.com) |
22:41.04 | bobbytek2 | Hey tomcaters |
22:41.59 | bobbytek2 | are there any advantages to using jikes to compile jsps over jasper? |
22:43.09 | bobbytek2 | And how does precompiling a jsp be considered an optimization |
22:49.06 | claws_bugs | well |
22:49.14 | claws_bugs | jvm wont have to |
22:49.18 | claws_bugs | I think people use ant |
22:49.28 | claws_bugs | maven also comes to mind |
22:50.32 | *** join/#tomcat _snd (n=alexh@friends.grandiosa.net) |
22:51.10 | _snd | anyone awake? |
22:52.31 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
22:52.42 | roue | hola |
22:53.08 | bobbytek2 | Does adding trimSpaces to $CATALINA_BASE/conf/web.xml really help performance? |
22:53.32 | roue | I'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 | _snd | i 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 | _snd | there are no permission problems as far as I can see, and even chmod'ing the dir to 777 doesnt help |
22:55.26 | bobbytek2 | roue, you're a smart lad. What are your thoughts on the matter? |
22:55.41 | roue | clearly not smart enough. |
22:59.13 | roue | no one knows the location of the admin webapp and is willing to tell me without screwing around? |
22:59.31 | barnum | nope were still a tc5.5 shop |
22:59.50 | barnum | my boss laughed at me when we finished the 5.5 migrtion i said ok now how about 6 |
23:00.54 | roue | ah well. |
23:01.01 | roue | it's got to be around somewhere. |
23:03.15 | *** part/#tomcat _snd (n=alexh@friends.grandiosa.net) |
23:03.27 | pfn | bobbytek2, trimSpace won't help performance, but may save a marginal amount of bandwidth |
23:03.56 | pfn | precompiling jsp is not an optimization, unless you consider first-visit load-times |
23:08.27 | claws_bugs | admin consoles are phased out |
23:08.32 | claws_bugs | :) |
23:08.45 | claws_bugs | now you msut use the bloody command line! heh heh hhe |
23:09.20 | vinse | pfn: 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.37 | pfn | your production box sounds b0rked |
23:09.37 | pfn | heh |
23:09.51 | pfn | yes, if your box takes 6-10 minutes to compile, precompilation is probably a necessity |
23:09.55 | vinse | no signs other than that, but yeah it doesnt seem good ;) |
23:10.05 | pfn | nfs? |
23:10.36 | vinse | no |
23:11.38 | vinse | it happened when we changed solaris versions but we'd always precompiled so i ddint notice for a long time |
23:13.32 | claws_bugs | so is java worth learning? |
23:13.43 | claws_bugs | all the perl lisp and otehr types say java is unproducive |
23:13.51 | claws_bugs | but evry damn job I goto uses it |
23:13.52 | claws_bugs | wtf |
23:14.15 | vinse | hahaha |
23:14.24 | pfn | java is productive |
23:14.58 | pfn | perl's productivity curve drops dramatically as the system size increases |
23:15.03 | pfn | java's tends to be a bit more linear |
23:15.06 | claws_bugs | hm |
23:15.21 | pfn | of course, shitty developers will always wreck the productivity curve |
23:15.28 | claws_bugs | ah hah!! |
23:15.31 | claws_bugs | lol |
23:15.47 | claws_bugs | corporations seem to take good stuff and twist it |
23:16.03 | claws_bugs | Im told lisp is very cool |
23:16.06 | claws_bugs | haskell too |
23:16.19 | claws_bugs | soem liek topmind say databases are way to go |
23:16.27 | claws_bugs | some say db not needed |
23:16.29 | claws_bugs | I dunno |
23:16.33 | claws_bugs | my head hurts |
23:17.46 | pfn | I just use whatever works |
23:17.48 | roue | claws_bugs so the admin app is gone completely in 6? okay. thanks for letting me know. |
23:17.52 | pfn | lisp has too many parens for me, heh |
23:18.23 | pfn | and the "list processing" concept doesn't catch on with me |
23:20.13 | pfn | the scripting languages that are "interesting" to me now are python and ruby |
23:20.22 | pfn | ruby simply because of recent hype |
23:20.26 | pfn | and python because it's decent |
23:37.07 | *** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net) |
23:38.06 | bobbytek2 | pfn: http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html |
23:38.13 | bobbytek2 | See "Production Configuration" |
23:39.31 | bobbytek2 | It seems to be suggesting that trimSpaces is an optimization, no? |
23:39.51 | bobbytek2 | I thought that it would make performance poorer (from extra work) |
23:44.05 | *** join/#tomcat karstensrage (n=karstens@75.55.199.5) |
23:51.10 | pfn | where does it imply that it is an optimization? |
23:51.38 | pfn | like I said, it's only an optimization in the sense that it might marginally decrease bandwidth usage |
23:57.40 | bobbytek2 | well, all of the other options are optimization settings |
23:57.46 | bobbytek2 | the whole section really implies it |
23:58.04 | bobbytek2 | it is a subset of the previous section |
23:58.19 | bobbytek2 | so, where does it NOT imply it? |
23:59.53 | pfn | it just says that they're production settings |