IRC log for #tomcat on 20100112

00:04.00*** join/#tomcat jaek (n=jaek@192.18.127.110)
00:04.14jaekwhat do i have to add to the Context to get directory listing?
00:04.42*** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au)
00:11.52jasonbjaek: Look in your CATALINA_HOME/conf/web.xml file.  In there are two different spots to find: 1) the declaration for the DefaultServlet, and 2) the mapping for the DefaultServlet, both disabled by default.  You need to enable that for your webapp.  The class for it is part of Tomcat -- your webapp doesn't need to bundle it.  You just need your webapp's web.xml file to enable it.
00:13.50jasonbrigeld2: You are not likely to end up happy with the clustering support in Tomcat 5.5.  Even in the latest Tomcat 6 I've heard people say they're not happy with it.  But, it was quite a bit newer back in the 5.5 timeframe, and also some important architectural changes have happened to it as part of 6.0.  In short, you should upgrade to Tomcat 6 before you try to get clustering working.
00:16.34jaekjasonb, ah, so the parameter is "listings"?
00:17.26jasonbjaek: To turn on directory listings you have to 1) enable the whole DefaultServlet in your web.xml, and 2) map it to one or more URIs.
00:18.21jaekcool
00:18.33jaekgot that to work... now if i could just get this webapp to run
00:19.01jaek"SEVERE: Error listenerStart" isnt really that much to go by
01:19.12*** join/#tomcat crazy_im1 (n=mj@a89-182-218-170.net-htp.de)
01:19.14crazy_im1heyho
01:20.00crazy_im1can somebody tell me, if it's possible to integrate a remote tomcat installation into eclipse for automatic deployment ?
01:43.14*** join/#tomcat rayyir (n=rayyir@166.183.22.186)
02:05.51*** join/#tomcat acidjnk (i=acid@pD950ADC7.dip0.t-ipconnect.de)
02:08.32*** join/#tomcat crazy_imp (n=mj@a89-182-202-110.net-htp.de)
02:18.51*** join/#tomcat jasonb2 (n=jasonb@m470536d0.tmodns.net)
02:28.02*** join/#tomcat toulmean (n=antoine@c-69-181-80-8.hsd1.ca.comcast.net)
02:53.19*** join/#tomcat tess (n=tess@ppp-69-238-217-193.dsl.irvnca.pacbell.net)
03:15.05*** join/#tomcat thegeekinside (n=thegeeki@189.135.225.219)
03:18.59*** join/#tomcat gmcdonald (n=gmcdonal@apache/committer/gmcdonald)
03:20.38*** join/#tomcat tess (n=tess@ppp-69-238-217-193.dsl.irvnca.pacbell.net)
03:28.07*** join/#tomcat bugz^ (n=bugz@adsl-76-194-247-113.dsl.lsan03.sbcglobal.net)
03:31.24*** join/#tomcat km (n=km@adsl-75-36-219-213.dsl.pltn13.sbcglobal.net)
03:38.26gmcdonaldmturk: ping
04:57.42*** join/#tomcat McGo|Einkaufen (n=McGo@dyndsl-091-096-089-078.ewe-ip-backbone.de)
05:33.42*** join/#tomcat jasonb (n=jasonb@m470536d0.tmodns.net)
05:47.54mturkgmcdonald: pong.
05:55.01gmcdonaldhowdy
05:55.15gmcdonaldhttp://ci.apache.org/builders/tomcat-trunk/builds/2/steps/compile/logs/stdio
05:55.36gmcdonaldfirst attempt at building trunk on buildbot
05:55.56gmcdonaldseems to append one base.path to another
05:56.34gmcdonaldcurrently trying Tomcat 6 trunk to see how that does
05:57.22gmcdonaldin both cases I override base.path to be just 'basepath' so it remains in the build directories, but that not the problem I dont think
05:58.54gmcdonald(this is for the build/test stuff we discussed around christmas time)
06:06.08gmcdonaldhmm
06:06.18gmcdonaldsame problem with 6 trunk
06:06.21gmcdonaldhttp://ci.apache.org/builders/tomcat-6-trunk/builds/1/steps/compile/logs/stdio
06:06.48gmcdonaldError while expanding /home/buildslave3/slave3/tomcat-6-trunk/build/basepath/tomcat6-deps/jdt/basepath/eclipse/plugins/org.eclipse.jdt.core_3.3.1.v_780_R33x.jar
06:07.30gmcdonaldno idea why its adding on eclipse basepath to tomcat6-deps basepath
06:08.52gmcdonaldbase.path is defined as base.path=basepath
06:09.10gmcdonaldtell me I dont need to specify from /
06:19.23*** join/#tomcat bhagat (n=bhagat@203.129.255.188)
06:21.20gmcdonaldaha, I do need to specify from root, what a pita that is
06:22.09mturkgmcdonald: Right. base.path should reflect local (static) repository
06:23.16gmcdonaldfor a build system at least, where one config should be able to cross multiple platforms, specifying from the build.dir would be better
06:23.57mturkgmcdonald: BTW, we (will) require different JVM's for different Tomcat versions.
06:24.21gmcdonaldthats fine
06:24.47gmcdonaldI would just need to override JAVA_HOME at the start of the build I oresume
06:24.54gmcdonald*presume
06:25.53gmcdonaldhttps://issues.apache.org/jira/browse/INFRA-2435 <-- if you want to expand a bit more on that issue so I dont forget things
06:26.04mturkgmcdonald: Can't you just use build.path from Hudson?
06:26.19mturkgmcdonald: Will do, Thanks.
06:26.28gmcdonaldthis is Buildbot, not Hudson :)
06:26.49mturkgmcdonald: Oh. No idea them sorry ;)
06:27.28gmcdonalddoesnt matter, I'll cope
06:29.16mturkWhat's the host OS?
06:29.42mturkgmcdonald: ^ I mean host buildbot is running on?
06:30.47gmcdonaldbuilds I'm doing currently for you are on Ubuntu 8.10
06:31.21gmcdonaldI know you want Windows too so I plan on expanding to that soon
06:31.53gmcdonaldI have Win2008 Server if thats any good, or I can whip up a WinXP VM slave
06:33.27gmcdonaldok, so both trunk and 6-trunk are passing initial ant download ok
06:33.43gmcdonaldnow failing on the 'ant' step with OOM
06:33.43*** part/#tomcat toulmean (n=antoine@c-69-181-80-8.hsd1.ca.comcast.net)
06:33.47mturkgmcdonald: Win2k8 is fine. We need windows to builds some native stuff, so we would need some Visual Studio and Platform SDK there. The only problem is that Visual Studio has to be 6
06:34.27gmcdonaldok, I have MSDN acct so that should be in there ok
06:35.11mturkgmcdonald: There is no VS6 ins MSDN any more. However license allows you to use it. That was official from Garett
06:35.53gmcdonaldok, so I need to find a copy somewhere
06:36.20mturkgmcdonald: We would also need Perl6 but from ActiveState for building OpenSSL
06:36.42mturkgmcdonald: I can provide you my personal download link
06:36.42gmcdonaldok
06:37.20gmcdonalddo you know why I would get heap space errors running ant?
06:37.37mturkgmcdonald: nope.
06:37.41gmcdonaldI didnt see a need to specify more memory
06:37.53gmcdonaldno worries, I'll look
06:38.30gmcdonaldIf you copy all that above to that infra issue, I'll work my way through it over the next day or two
06:39.26mturkgmcdonald: OK. I'll do that, and send you an email with VS6 download link. Thanks man!
06:39.43gmcdonaldno probs
07:03.57*** join/#tomcat slatribat (n=slatriba@ip195-149-178-226-cust.se.ionip.net)
07:42.08*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
07:46.11*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
07:49.06gmcdonaldso, with an increase in mem to ant_opts, it passes fine
07:52.51*** join/#tomcat ElllisD (n=JustaGuy@cpe-74-71-247-159.twcny.res.rr.com)
07:57.53*** join/#tomcat McGo (n=McGo@dyndsl-085-016-097-120.ewe-ip-backbone.de)
08:01.35jasonbgmcdonald: Ant has conservatively low defaults like many other programs do.  You can always override those if you need more.
08:02.35gmcdonaldyeah, just for building tomcat 6 trunk and tomcat main trunk I needed to increase to min 128
08:04.15gmcdonaldjasonb: in case you missed the context of what I'm doing:
08:04.18gmcdonaldhttp://ci.apache.org/waterfall
08:04.31gmcdonaldlook to the far right and you'll see your builds
08:05.21jasonbgmcdonald: Ooh, nice!
08:05.29jasonbgmcdonald: Waterfall.. is this new software?
08:05.44gmcdonaldits buildbot (waterfall view)
08:06.02gmcdonaldbeen at the ASF for about a year now, but still gatherign steam
08:06.25jasonbInteresting.  What web server does that use?
08:06.39gmcdonaldso currently those 2 builds are on Ubuntu, I'm going to do a windows one tomorrow with luck
08:06.52gmcdonaldits Twisted
08:07.19jasonbAhh.  Are you a python programmer?
08:07.36gmcdonaldI play with it :)
08:08.03gmcdonaldBuilbot isnt by me, its open source at buildbot.net
08:08.23jasonbDoesn't exactly matter.  You can still be a python programmer.  :)
08:08.24gmcdonaldIm maintaining/implementing it at the ASF
08:13.47jasonblikes Hudson. http://hudson.zones.apache.org/hudson/
08:15.00gmcdonaldyeah I use that too on occasion, I guess easier as a webui and looks pretty, easy for plugins etc
08:15.36gmcdonaldbuildbot is all config files but I find more configurable
08:16.23gmcdonaldhudson has a windows slave now too
08:21.07gmcdonaldibot: ?
08:21.14gmcdonaldhmm
08:21.54*** join/#tomcat ChanServ (ChanServ@services.)
08:21.54*** join/#tomcat McGo (n=McGo@dyndsl-085-016-097-120.ewe-ip-backbone.de) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat ElllisD (n=JustaGuy@cpe-74-71-247-159.twcny.res.rr.com) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat slatribat (n=slatriba@ip195-149-178-226-cust.se.ionip.net) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat bhagat (n=bhagat@203.129.255.188) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat bugz^ (n=bugz@adsl-76-194-247-113.dsl.lsan03.sbcglobal.net) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat jaek (n=jaek@192.18.127.110) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat rigeld2 (n=Rob@ab1-4-160.shsu.edu) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat cofeineSunshine (n=justinas@kas.tavatievs.eu) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat rakim (n=VaNNi___@38.98.61.142) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat mturk (n=mturk@89-164-125-1.dsl.iskon.hr) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat knut_ (n=knut@52.89-10-28.nextgentel.com) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat barfoos (n=skremsle@217.86.165.152) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat yann__ (n=yann@amp80-1-89-84-116-67.dsl.club-internet.fr) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat majeru (n=cris@panzer.utcluj.ro) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat hery (n=hery@80.78.6.61) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat odin_ (n=dlm@93-97-168-38.zone5.bethere.co.uk) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat ohsix (i=ohsix@66.220.111.99) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat gzur (n=no@81.15.38.1) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat pfn (i=pfnguyen@socal.hanhuy.com) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat clajo04_ (n=clajo04_@74.72.55.57) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat FauxFaux (i=faux@compsoc.sunion.warwick.ac.uk) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat deebo (i=globe@stonebay32.com) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat uebera|| (n=nnnnnnnu@subjektzentrisch.de) [NETSPLIT VICTIM]
08:21.55*** join/#tomcat trochej (i=trochej@noches.pl) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat Thijssss (i=thijssss@85.92.138.120) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat lyken (n=dc@67-231-241-244.turnkeyinternet.net) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat pucko (n=andreas@h19n2fls304o253.telia.com) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat Jiyu_ (n=jiyu@m56s07.vlinux.de) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat zerok (n=zerok@67-207-133-71.slicehost.net) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat jiska (i=jiska@217.8.61.68) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat unlord (i=ptolemy@pool-173-73-173-84.washdc.fios.verizon.net) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat al (n=d@niel.cx) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
08:21.56*** join/#tomcat wltjr (n=wltjr@unaffiliated/wltjr) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat gothos (n=jan@red.unix-ag.uni-hannover.de) [NETSPLIT VICTIM]
08:21.56*** join/#tomcat teite (i=teite@trough.maeh.org) [NETSPLIT VICTIM]
08:21.56*** mode/#tomcat [+o ChanServ] by irc.freenode.net
09:25.51*** join/#tomcat knut (n=knut@52.89-10-28.nextgentel.com)
09:35.25*** join/#tomcat siliconmeadow (n=siliconm@80.194.82.66)
09:38.12*** part/#tomcat siliconmeadow (n=siliconm@80.194.82.66)
10:12.30*** join/#tomcat JohnBat26 (n=JohnBat2@89.175.77.35)
10:50.09*** join/#tomcat relachs (n=relachs@f055152057.adsl.alicedsl.de)
11:09.47*** join/#tomcat thunderman (n=thunderm@cpe-76-172-28-85.socal.res.rr.com)
11:10.08thundermanredhat 4.6 tomcat 6 jdk 6
11:10.41thundermancan multiple tomcats be run on 1 box on different ports for dev environments
11:10.43thunderman?
11:10.50thundermanthus avoiding vmware
11:11.00thundermanand be fed by another box running aapche
11:18.58*** join/#tomcat dvayanu (n=another@psdeoffgw01.parship.net)
11:19.23*** join/#tomcat thunderstrike (n=chatzill@static-mum-120.63.240.52.mtnl.net.in)
11:37.16puckoyex
11:37.17puckoyes.
11:37.23puckoah, he left
11:42.22*** join/#tomcat acidjnk (i=acid@pD950A12F.dip0.t-ipconnect.de)
11:52.26*** join/#tomcat rafaelliu (n=rafael@189.27.1.111.dynamic.adsl.gvt.net.br)
12:09.44*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
12:33.30*** join/#tomcat azlev (n=ze@200.234.206.72)
12:59.51*** part/#tomcat floyd (n=floyd@unaffiliated/floyd)
13:20.10*** join/#tomcat mturk (n=mturk@89-164-108-37.dsl.iskon.hr)
13:58.01*** join/#tomcat slatribat (n=slatriba@ip195-149-178-226-cust.se.ionip.net)
14:13.39*** join/#tomcat knut_ (n=knut@52.89-10-28.nextgentel.com)
14:22.35rigeld2jasonb: thanks for the heads up about clustering in 5.5 vs 6.  I can't use 6 because of guidelines at work (only software from the RHEL repos or EPEL allowed) but I think I solved my problem.  Is clustering 5.5 a non supported configuration?
14:29.16*** join/#tomcat randrewj (n=u1@dyn-128-59-52-135.dyn.columbia.edu)
14:49.54*** join/#tomcat perr0 (n=dalanis@206.55.176.26)
14:59.28*** join/#tomcat acarbs12 (n=acarbone@173.9.89.1)
15:03.33*** part/#tomcat slatribat (n=slatriba@ip195-149-178-226-cust.se.ionip.net)
16:02.20*** join/#tomcat puskar (n=puskar@PUSKAR.ES.ITS.NYU.EDU)
16:17.06jasonbrigeld2: I don't support clustering on 5.5 because it malfunctions in too many ways.  It is possible to get it working to the extent it was implemented in 5.5, but even in that case I think most people would be dissatisfied with it.
16:17.35rigeld2jasonb: Thanks.  I'll bring it up to the pointy hairs and see what we can do about.
16:17.42rigeld2s/about/about it/
16:18.09rigeld2... thats a cool bot function
16:18.13jasonbrigeld2: There are other solutions for clustering Tomcat 5.5 webapps, I believe.
16:18.26jasonbYes, ibot is cool.
16:19.00rigeld2jasonb: Any tips?  I'm trying to cluster it for http://www.ja-sig.org/wiki/display/CASUM/Clustering+CAS if you have any experience with it
16:53.38*** join/#tomcat napster_123 (n=nabeelal@67.220.133.254)
16:54.36napster_123hi i've changed Connector  port in tomcat 6 but it's still giving me binding excpetion : address already in use
16:54.39napster_123am i doing it wrong?
16:55.30napster_123i changed <Service name..... <Connector port="8080" .../> /> thing
17:04.48*** join/#tomcat jasonb (n=jasonb@m470536d0.tmodns.net)
17:11.55*** join/#tomcat tess__ (n=tess@ppp-69-238-217-193.dsl.irvnca.pacbell.net)
17:12.22*** join/#tomcat feydr (n=feydr@99-195-198-106.dyn.centurytel.net)
17:45.42*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
17:47.59*** join/#tomcat km (n=km@outbound-nat-134.vmware.com)
17:49.42*** join/#tomcat napster_123 (n=nabeelal@116.71.30.35)
17:57.05*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
17:57.51*** join/#tomcat napster_123_ (n=nabeelal@116.71.31.201)
18:03.07*** join/#tomcat pucko (n=andreas@h19n2fls304o253.telia.com)
18:04.12*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:05.52*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
18:08.13*** join/#tomcat napster_123__ (n=nabeelal@116.71.5.190)
18:09.44*** join/#tomcat kjkoster5489_ (n=kjkoster@kjkoster.org)
18:10.29*** join/#tomcat r0bby_ (n=wakawaka@guifications/user/r0bby)
18:10.56*** join/#tomcat kjkoster5489_ (n=kjkoster@unl201395.nl.customer.alter.net)
18:16.36*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:20.00*** join/#tomcat Alagar (n=Administ@122.164.43.192)
18:20.57*** join/#tomcat kjkoster5489_ (n=kjkoster@kjkoster.org)
18:22.36*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:25.53*** join/#tomcat jasonb (n=jasonb@dsl027-180-244.sfo1.dsl.speakeasy.net)
18:28.19*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:34.18*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:40.43*** join/#tomcat r0bby_ (n=wakawaka@guifications/user/r0bby)
18:46.41*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
18:48.01*** join/#tomcat km (n=km@adsl-75-36-218-168.dsl.pltn13.sbcglobal.net)
18:53.15*** join/#tomcat r0bby_ (n=wakawaka@guifications/user/r0bby)
19:00.11*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:06.12*** join/#tomcat r0bby_ (n=wakawaka@guifications/user/r0bby)
19:11.20Alagargood morning all
19:11.47Alagarany one can help me. i need to expose my tomcat server to external using appache. is any documentation for that?
19:12.39*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:18.44*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:21.07kjkoster5489Alagar: loads: look for mod_proxy and mod_proxy_http.
19:22.58Alagarkjkoster5489: thanks, could you give me the document
19:25.10*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:31.12*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:32.26kjkoster5489Alagar: http://tinyurl.com/ycrx53m
19:37.30*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:43.27*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:45.33*** join/#tomcat dvayanu (n=another@p5DE8B6F9.dip.t-dialin.net)
19:49.24*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
19:55.26*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:01.24*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:07.19*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:08.56*** join/#tomcat Alagar (n=Administ@122.164.33.195)
20:13.32*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:19.06*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:24.18*** join/#tomcat napster_123_ (n=nabeelal@116.71.12.206)
20:36.38*** join/#tomcat JeffATL (n=nouser@68-242-171-229.pools.spcsdns.net)
20:38.39*** join/#tomcat napster_123_ (n=nabeelal@67.220.133.254)
20:40.28JeffATLtomcat 5.5/6.0; centos 5.4:  i see there is an RPM "tomcat5-servlet-2.4-api"; but for tomcat6, i'm not seeing one - has this package been folded into tomcat6 or something?
20:48.25*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:49.36*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:56.18*** join/#tomcat r0bby_ (n=wakawaka@guifications/user/r0bby)
20:57.56*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
20:59.08JeffATLsame for tomcat5-jsp
21:03.51kjkoster5489jeffATL: please use the tomcat from apache.org, the repackaged ones tend to be non-standard to the point of being indistinguisable from being broken.
21:04.09*** join/#tomcat Alagar1 (n=Administ@122.164.38.69)
21:05.16*** join/#tomcat napster_123_ (n=nabeelal@116.71.16.225)
21:19.56*** join/#tomcat km (n=km@adsl-75-36-218-168.dsl.pltn13.sbcglobal.net)
21:20.47*** join/#tomcat Thorongil (i=red@144.180.34.95.customer.cdi.no)
21:22.03ThorongilNot sure if this belongs here, but - I initiated a connection pool (mysql) for one username, then I decided that I'd change the username to something else instead, so I did, killed the old username, setup the new, and changed context.xml accordingly.
21:22.23ThorongilBut connection pool still cling to the old data, and I have no idea how to force it to update.
21:22.51ThorongilI killed the connections from the mysql process list, I killed the server, restarted it, redeployed application
21:23.08Thorongilbut still it refuses to change to the new login - and obviously, the old login won't work anymore.
21:23.52Thorongil(tc: 6.0, latest jdk and windows)
21:24.54*** join/#tomcat Alagar (n=Administ@122.164.39.153)
21:25.45JeffATLkjkoster5489:  I am
21:27.04*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
21:32.40*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
21:35.46*** join/#tomcat TJCRI (n=chatzill@148.61.156.67)
21:36.02TJCRIhey everyone I am getting a strange error in my tomcat logs that says: SEVERE: The scratchDir you specified: name is unusable
21:36.06TJCRIproblem is I can't figure out where its getting the dir name from (doing greps for that name and cant find it) ... anyone have any ideas?
21:36.18TJCRIive also checked my jsp code for that name and nothing
21:37.05*** join/#tomcat dvayanu (n=another@p5DE8B6F9.dip.t-dialin.net)
21:39.07*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
21:39.42karstensrageTJCRI, http://www.lmgtfy.com/?q=severe+the+scratchdir+you+specified+is+unusable
21:41.54TJCRIkarstensrage: you are a disgrace to the community.  I've been looking for where both the filename and scratchdir is defined in tomcat and can't find it, do you really think I haven't searched google yet either?
21:48.21*** part/#tomcat randrewj (n=u1@dyn-128-59-52-135.dyn.columbia.edu)
21:50.36karstensragek
21:50.42karstensragedid you try starting tomcat as root?
21:51.20TJCRIactually that seems to be the problem
21:51.29karstensragewhat does?
21:51.43TJCRII am running it as tomcat user but /SESSIONS.ser (Permission denied) is owned by root
21:52.36karstensragechown -R tomcat:tomcat ....
21:52.50Thijssss;p
21:53.19TJCRIand apparently its not defined anywhere but it uses tomcat home as the path :)
21:53.40karstensragewell i assume tomcat expects to use its home directory
21:55.25TJCRIwell I was thrown off the scent cause it was using a name of my old dev server at the name of scratchdir ... and I haven't used that name in years
21:55.34TJCRIhowever upon further investigation
21:56.07*** join/#tomcat rawtaz (n=rawtaz@rho.hobbyhotellet.se)
21:56.07TJCRIin /opt/ I have the original tomcat install as tanatest-tomcat but I have since made a symbolic link to just have tomcat point to tanatest-tomcat
21:56.10rawtazhi
21:56.40TJCRIand thats why I got freaked because the word tanatest has not been used since 2006 and it was NOWHERE to be found and now all references are just to /opt/tomcat :)
21:57.03karstensragewell despite my being a disgrace to the community, ive never seen that error, i googled and found http://www.slickdev.com/2008/09/13/java-5-jdk-and-jakarta-tomcat-55-in-ubuntu-server-installation/
21:57.14rawtazim wondering if its possible to redirect one Host's output that normally goes into logs/catalina.out, to its own file?
21:57.27karstensragewhich led me to believe it might be a permissions error and that a good test would be to see if you could run it as root
21:57.36TJCRIkarstensrage: sorry I take back what I said about being a disgrace, but it is a bit rude to tell people to google it with a link that does it for them :P
21:58.14karstensragewelll i figured since I was going to have to google it anyway i might as well be snarky about it ;)
21:58.49karstensragerawtaz, I believe you can put a ... hold on
21:59.22TJCRIlol ok no harm done and I am sorry for what I said.  At least you are helpful which is a good thing for the community :)
21:59.51karstensrage:) no worries
21:59.53rawtazkarstensrage: i looked in the docs for Host but all i can find is an access log Valve thingie :3 i take it its the same as a normal web server log, which catalina.out isnt
22:00.13karstensrageoh right rawtaz thats what I was looking for
22:00.19karstensrageright its not the same as catalina.out
22:00.56*** join/#tomcat dvayanu (n=another@p5DE8B6F9.dip.t-dialin.net)
22:01.52karstensragerawtaz, seems you can put a log4j file in $CATALINA_HOME/common/lib
22:01.55karstensragedid you try that?
22:02.22rawtazi have no idea what you jsut said xD
22:02.24rawtazlets see
22:02.36*** join/#tomcat EllllisD (n=JustaGuy@cpe-74-71-247-159.twcny.res.rr.com)
22:03.04rawtazkarstensrage: do i have to modify the application/servlet of the host in order to do that?
22:06.34karstensragehmm
22:06.55rawtazill read a bit about it :)
22:07.14karstensragewell it seems you can muck with conf/logging.properties for the container itself
22:07.31karstensragebut i dont think you can do something like that in a webapp's context.xml or web.xml
22:07.50karstensrageim not sure *exactly* what you are looking for
22:10.12rawtazits simple :) today i have one Host defined in server.xml. both appBase and workDir lie under /myhost.com on a share. what i want now is to add another folder under there, such as /myhost.com/logs, and have all the stuff that comes from this host into catalina.out currently, to go to some file in this folder instead
22:11.47rawtazi think it should be simple. just like adding an ErrorLog statement in the apache configuration, which can be done by vhost.
22:19.47karstensrageok, hang around and lets see if jasonb has anything to say
22:19.51karstensragehes the expert
22:24.02jasonbwell..
22:24.21jasonbSince Tomcat is open source, I grepped for that message in the src tree to find the spot in Tomcat's code that says that..
22:24.25jasonbjava/org/apache/jasper/resources/LocalStrings.properties:26:jsp.error.bad.scratch.dir=The scratchDir you specified: {0} is unusable.
22:24.40jasonb<PROTECTED>
22:24.40jasonb<PROTECTED>
22:24.40jasonb<PROTECTED>
22:24.40jasonb<PROTECTED>
22:25.19jasonbSo, the path you're using is this, exactly: "name"
22:25.33jasonb(which sounds to me like a bad tmp dir path.. heh)
22:26.02jasonbAnd, Tomcat's saying that it either doesn't exist (likely) or isn't readable, or isn't writable, or isn't a directory.
22:27.20karstensragehi jasonb
22:27.33karstensrageno the 'disgrace to the community' already handled that one
22:27.53karstensragenow were on whether you can redirect catalina.out logs from the Host section of the server.xml
22:29.27Thorongilis it possible to actually forcefully close a connection pool (tc6+mysql) - been reading around for hours in a particular problem
22:29.47Thorongiland only solution I can think of, is to actually kill the pool and have it recreate itself
22:30.53karstensragewhy do you want to do that?
22:31.06ThorongilI initiated the connection pool with one login (worked fine)
22:31.16Thorongilthen decided to change login, so deleted that user, and created a new user
22:31.26Thorongilfigured I only needed to update the context.xml
22:31.39Thorongilbut no, it still cling to that old login - which for obvious reasons doesn't work anymore
22:32.11jasonbrawtaz: Even if you could *partially* do that, which is about the most you could hope to do with the current Tomcats, you probably wouldn't like it much because you can't exactly separate 100% of the logs for one host into its own log directory.  Some of its logs would still be mixed into other central Tomcat log files anyway.
22:32.41rawtazjasonb: oh? ok so it is not doable i take it?
22:32.49jasonbrawtaz: Not really.
22:33.18rawtazif so, i will need to build some web gui that simply reads catalina.out. because $systemProvider apparently havent bothered to build their app right :)
22:33.49rawtazthough i must say its weird that it cant be done. i mean how hard can it be for tomcat to take all output generated from one host and put it in a seperate place :)
22:34.11jasonbPretty hard, as it turns out.
22:34.16rawtazhehe
22:34.18rawtazyep
22:34.19rawtazoh well
22:34.26rawtazthank you *very* much for verifying this
22:34.29rawtazyou too karstensrage
22:34.42jasonbYou can make the logs for a particular webapp go to a different log, but that won't be 100% complete either.
22:34.49rawtazhmm
22:35.05rawtazwhat is it that will "slip by" so to speak?
22:35.15jasonbSome exceptions, which are very important.
22:35.32rawtazah yeah
22:35.41rawtazi guess thats what they want to see
22:35.56jasonbPlus, some Tomcat servlet container informational messages that are happening due to requests being processed for that host's webapp.. and so since they're in Tomcat's container system and not in the webapp itself, they don't qualify to be split off to the webapp's log.
22:36.13jasonbAnd, many of those messages are also critical in understanding what's going on with the webapp.
22:36.24rawtazsounds reasonable
22:37.19*** join/#tomcat tess (n=tess@ppp-69-238-217-193.dsl.irvnca.pacbell.net)
22:40.19*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
22:41.41rawtazwould it be possible to relocate catalina.out easily though?
22:41.47rawtazjust putting it in another folder
22:46.54*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
22:46.56kmany ideas what's cuasing this spring 2.5.6 application fail to start on tomcat tcserver? http://pastebin.com/d519bf832
22:47.46kmthis same application delpoy and run without problem on tomcat 6
23:06.56karstensragedoes this give you a clue?
23:06.57karstensrageError creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]:
23:10.02*** join/#tomcat clajo04_ (n=clajo04_@74.72.55.57)
23:10.13*** join/#tomcat rawtaz (n=rawtaz@rho.hobbyhotellet.se) [NETSPLIT VICTIM]
23:10.13*** join/#tomcat perr0 (n=dalanis@206.55.176.26) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat km (n=km@adsl-75-36-218-168.dsl.pltn13.sbcglobal.net) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat jaek (n=jaek@192.18.127.110) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat cofeineSunshine (n=justinas@kas.tavatievs.eu) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat FauxFaux (i=faux@compsoc.sunion.warwick.ac.uk) [NETSPLIT VICTIM]
23:10.56*** join/#tomcat al (n=d@niel.cx) [NETSPLIT VICTIM]

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