IRC log for #tomcat on 20120313

00:44.08*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
00:45.10*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
00:49.41*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
00:58.39*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
01:00.20Tabmowdotblank: your application should take care of that - see Context Root or Context Path settings...
01:00.29*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
01:03.39*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
01:09.04*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
01:10.16*** join/#tomcat MrRoot (~nisburgh@cpe-70-112-162-33.austin.res.rr.com)
01:10.17*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
02:08.43*** join/#tomcat jenue (~jenue@15.211.153.74)
02:52.32*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
04:15.41*** join/#tomcat MmikeDOMA (~msplival@cpe-188-129-71-218.dynamic.amis.hr)
05:11.33*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:13.12*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:15.15*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:33.03*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:38.46*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:39.24*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:41.48*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
05:48.34*** join/#tomcat jasonb1 (~jasonb@adsl-66-124-73-251.dsl.sntc01.pacbell.net)
06:34.11*** join/#tomcat MHSL- (MHSL@cm116.sigma136.maxonline.com.sg)
06:37.30*** join/#tomcat sveajobb (~tommy@tb78-108-63-134.cust.teknikbyran.com)
06:37.51*** join/#tomcat henroc (~henroc@henroc.net)
06:37.58*** join/#tomcat karstensrage (cpt1138@raided.by.a.fed-agent.us)
06:38.35*** join/#tomcat petteyg (~quassel@ns1.foldspace.org)
06:39.06*** join/#tomcat draemon__ (~draemon@trapdoor.vm.bytemark.co.uk)
06:40.02*** join/#tomcat fl0p (~fl0p@ks389442.kimsufi.com)
07:38.24*** join/#tomcat _Sam-- (~sam@pool-98-111-165-81.phlapa.fios.verizon.net)
07:41.31*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
08:18.30*** join/#tomcat opalka (~opalka@84.64.broadband3.iol.cz)
08:18.31*** join/#tomcat opalka (~opalka@redhat/jboss/opalka)
08:26.17*** join/#tomcat Johnou (~johno@93.37.145.196)
08:48.34*** join/#tomcat factor (~factor@r74-195-218-139.msk1cmtc02.mskgok.ok.dh.suddenlink.net)
09:02.08*** join/#tomcat macUzer (~macUzer@ip70-180-159-214.lv.lv.cox.net)
09:35.50*** join/#tomcat onats (~onats@unaffiliated/onats)
09:44.50*** join/#tomcat jenue_ (~jenue@15.211.153.76)
09:48.34*** join/#tomcat Tabstar (tabmow@freenode/staff/tabmow)
10:16.59*** join/#tomcat acidjnk22 (~havenone@p57B8D3F2.dip.t-dialin.net)
10:22.38*** join/#tomcat Alex_F (6dbc4434@gateway/web/freenode/ip.109.188.68.52)
10:32.16*** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net)
11:31.38Alex_FHello everyone! I have some problem with running tomcat ant tasks( Versions, tomcat-users.xml, ant script and console logs are here: http://pastebin.mozilla-russia.org/109922  Strange thing is that I got it worked couple of times, but now it doesn't work again( Is it possible that error caused by encoded (%2F) slash symbol in path?
11:32.53Alex_FAnother strange thing is that StartTask and StopTask generate 404 error and DeployTask generated 403 err.
11:32.58Alex_FThanks a lot)
11:40.43*** join/#tomcat dh0787 (~dh0787@178-190-65-207.adsl.highway.telekom.at)
11:40.47dh0787hi ppl
11:40.57*** join/#tomcat cyberbob (~imran@static-host119-30-125-101.link.net.pk)
11:41.23cyberbobhi, i am running tomcat 6 on a linux machine and i am facing this error while stopping the service
11:41.27cyberbobjava.net.ConnectException: Connection refused
11:43.17dh0787My Tomcat isn't starting and stopping correctly too. I use Centos 5.4 with the latest Tomcat (7.0.26) and the latest oracle java (1.7.0_03)
11:44.03dh0787I followed the instructions from http://anujjaiswal.wordpress.com/2011/06/14/tomcat-7-on-centos-5-4/ and my logfile can be found here: http://pastebin.com/Lb8uG8bF
11:44.17cyberbobdh0787: are you facing the same issue actually, on my instance I am unable to use its services as well. So i needed to restart the service but facing issue
11:45.57dh0787Well, I'm not getting this error because my init script freezes on shutdown and also the startup doesn't seem to work because tomcat doesn't use a port (checked that with netstat)
11:46.00dh0787so nothing works here
11:46.27dh0787but there is process running from the tomcat server
12:36.46*** join/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu)
13:20.44*** join/#tomcat MrRoot (~nisburgh@cpe-70-112-162-33.austin.res.rr.com)
13:21.04*** join/#tomcat Mask (55f86c12@gateway/web/freenode/ip.85.248.108.18)
13:24.03Maskguys, i have java app running on tomcat and it can expor you html and on one environment it export it without problems but on anothere there is problem with special characters in HTML
13:24.41Maskso I suspect there has to be some encoding setting inside of tomcat, I am just not sure where I know one is at catalina bat, another one is inside of  web.xml?
13:52.14*** join/#tomcat kampsun (~kasutaja@adsl22546.estpak.ee)
13:54.43*** join/#tomcat PradHand (~Adium@tangerine.silverorange.com)
14:16.34*** join/#tomcat TJCRI (~chatzilla@148.61.156.72)
14:58.42*** join/#tomcat ScottE (~scotte@216.55.28.114)
15:05.15*** join/#tomcat bassliner (~armin@xenon.darkbyte.org)
15:09.35basslinerhi there, i got a construct like pound->apache->tomcat->liferay, and i would like to establish access control based on the "X-Forwarded-For" headers set by pound. since apache speaks to the tomcat application via ajp, directory based access control in apache won't help me here, right? would i need to use something like request.getHeader("X-Forwarded-For"); in tomcat? any help? thanks.
15:11.33Johnouunless the x forwarded for header is coming from a reliable source I would highly recommend not using that for access control as it can be spoofed
15:12.19*** join/#tomcat geek_cl (~lletelier@190.151.53.228)
15:17.45Johnoubut yes, you can grab it from request.getHeader("X-Forwarded-For") just remember it can contain more than one ip address (comma delimiter) and that it can easily be spoofed
15:18.46Johnouif I recall correctly and you want the x forwarded for ip of say a load balancer
15:18.50Johnouit should be the last in the list
15:20.15Johnouif you really need to go down that route i'd suggest maintaining a list of trusted addresses
15:21.45Johnouhope that's what you were after bassliner
15:29.47*** join/#tomcat cjz (~Adium@173-13-190-57-sfba.hfc.comcastbusiness.net)
15:40.34*** join/#tomcat geek_cl (~lletelier@201.238.213.182)
15:42.45Alex_FJohnou, hi. Could you please look at my question, I asked erlier today?
15:44.55Johnouhey Alex_F
15:45.04Johnouregarding webapp deployment?
15:46.01Alex_FYes
15:47.28Johnouare you trying to undeploy it when it is not yet deployed?
15:49.18Alex_FIt is deployed and running.
15:49.55Alex_FI'm trying all things: stop, start, deploy(update both true and false)
15:50.23Alex_FIs it OK to have encoded (%2F) slash symbol in path?
15:52.52Johnouwell your path in the tomcatdeploy tag looks fine, I assume its the ant tasks encoding the variable in which case it should be fine
15:56.41Alex_FI cant get why I get different errors calling StartTask and DeployTask
15:56.53Johnouout of interest Alex_F do you get the same result if you change the ant scripts password to something you know is incorrect?
15:57.23Alex_Flet me see
15:57.26Johnouwell if you call deploy on a context which is already in use
15:57.30Johnouit will throw an error
15:57.38Johnoulast time I checked anyway
15:57.57Johnousaying the context is in use~
15:58.25Alex_Flooks like errors are the same
15:59.10Johnoumaybe check your manager web.xml and make sure the roles match up for your script user?
15:59.43Johnoubit of a stab in the dark
16:01.55Alex_F<role-name>manager-script</role-name>?
16:04.03Alex_FThat role is in /manager app, but not in /manager#text app
16:22.37Johnouhttp://pastesite.com/32765
16:22.54Johnoudoesn't exist in your manager web.xml?
16:43.37*** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net)
17:25.51*** join/#tomcat jasonb (~jbrittain@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
18:20.04*** join/#tomcat Romeo- (~Romi@dslb-188-104-154-254.pools.arcor-ip.net)
18:20.05*** join/#tomcat Romeo- (~Romi@unaffiliated/romeo/x-000000001)
18:38.30*** join/#tomcat MrRoot (~nisburgh@cpe-70-112-162-33.austin.res.rr.com)
18:41.10*** join/#tomcat juggle (~State@unaffiliated/juggle)
19:08.50*** part/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu)
19:15.07*** join/#tomcat gadget345 (~badger@188-221-87-137.zone12.bethere.co.uk)
19:18.51*** join/#tomcat wh1zz0 (~J@41-184-67-212.rv.ipnxtelecoms.com)
19:19.41*** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net)
19:48.19*** join/#tomcat ayoub (~ayoub@41.251.65.239)
21:11.42*** join/#tomcat rmckee (~rmckee@203.166.49.1)
21:21.26*** join/#tomcat gadget345 (~badger@188-221-87-137.zone12.bethere.co.uk)
22:32.59*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
22:43.48*** join/#tomcat MHSL (MHSL@cm116.sigma136.maxonline.com.sg)
23:21.08*** join/#tomcat MHSL (MHSL@cm116.sigma136.maxonline.com.sg)
23:26.22*** join/#tomcat nisburgh_ (~nisburgh@cpe-70-112-162-33.austin.res.rr.com)

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