IRC log for #tomcat on 20110921

00:42.46*** join/#tomcat PradHand (~Adium@142.177.188.85)
00:54.43*** join/#tomcat friedrichg (~friedrich@69.Red-88-26-149.staticIP.rima-tde.net)
01:20.18*** join/#tomcat onats (~onats@unaffiliated/onats)
01:20.36onatshi everyone, is it best practice to have an apache web server and then tomcat running the servlets?
02:08.55eghmonats: it is if you need mod_rewrite
02:19.38onatseghm
02:21.27onatsbut otherwise, running tomcat as the webserver also shouldn't pose a problem
03:01.23eghmonats: as I understand it ya
03:19.33*** join/#tomcat _codeman (~codeman@unaffiliated/-codeman/x-3799572)
04:18.18*** join/#tomcat falko (~falko___@193.175.119.11)
04:49.30*** join/#tomcat mturk (~mturk@15-44.dsl.iskon.hr)
05:18.05*** join/#tomcat loddafnir (~mike@91-64-214-213-dynip.superkabel.de)
05:24.04*** join/#tomcat dimm (~dimm@unaffiliated/dimm)
05:36.22*** join/#tomcat monk12 (~monk15@65.199.31.2)
06:15.49*** join/#tomcat Captainjack (~jack@27.107.53.91)
07:08.55*** join/#tomcat falko (~falko___@193.175.119.33)
07:49.30*** join/#tomcat rhonabwy (~rhonabwy@178-26-73-26-dynip.superkabel.de)
07:49.30*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
07:49.30*** join/#tomcat eghm (~yafn@lta3.x.rootbsd.net)
07:49.30*** join/#tomcat sluggr_ (sluggr@bissa.eu)
07:49.30*** join/#tomcat deebo (globe@stonebay32.com)
07:51.29*** join/#tomcat opalka (~opalka@84.64.broadband3.iol.cz)
07:51.29*** join/#tomcat mark_u- (~Mark@S0106001c10f595bb.gv.shawcable.net)
07:51.29*** join/#tomcat clajo04_ (~clajo04_@pool-108-41-219-3.nycmny.fios.verizon.net)
07:51.29*** join/#tomcat ph8 (~ph8@94.75.239.198)
07:52.01*** join/#tomcat LzrdKing (~umop-apis@static-98-140-89-194.dsl.cavtel.net)
07:52.01*** join/#tomcat JiYu (~jiyu@m56s07.vlinux.de)
07:52.01*** join/#tomcat bugz^ (~bugz@mx01.skyalpha.net)
07:52.01*** join/#tomcat cofeineSunshine (~justinas@78-56-254-111.static.zebra.lt)
07:52.01*** join/#tomcat elprespufferfish (~pufferfis@c-76-121-49-103.hsd1.wa.comcast.net)
07:52.02*** join/#tomcat Hamzah (~mhamzahkh@2001:470:1f09:16da:0:dead:beaf:cafe)
07:52.20*** join/#tomcat friedrichg (~friedrich@69.Red-88-26-149.staticIP.rima-tde.net)
07:52.20*** join/#tomcat SJS (~stremler@kernel-panic/member/ThunderChicken)
07:52.20*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-251.dsl.sntc01.pacbell.net)
07:52.20*** join/#tomcat Raboo (~rabi@nikson.dataphone.se)
07:52.20*** join/#tomcat dcarter_ (~dcarter@vpn.mercycorps.org)
07:52.20*** join/#tomcat henroc (~henroc@henroc.net)
07:52.20*** join/#tomcat draemon (~draemon@trapdoor.vm.bytemark.co.uk)
07:52.20*** join/#tomcat theresajayne (~theresaja@188-220-18-94.zone11.bethere.co.uk)
07:54.41*** join/#tomcat MHSL (MHSL@cm94.sigma137.maxonline.com.sg)
07:54.41*** join/#tomcat mike817_ (~mike817@ool-45768306.dyn.optonline.net)
07:54.41*** join/#tomcat hjb_ (~hjb@unaffiliated/hjb)
07:54.41*** join/#tomcat 13WAADF34 (~aeris@imirhil.fr)
07:54.41*** join/#tomcat caveat- (~false@gateway/shell/bshellz.net/x-nzekxlawjquavfeg)
07:54.41*** join/#tomcat internat (~nf@123-243-184-161.static.tpgi.com.au)
07:54.41*** join/#tomcat SteveC (scasey@mail.connected.ltd.uk)
07:54.41*** join/#tomcat sijis (~sijis@fedora/sijis)
07:54.41*** join/#tomcat anildigital_work (u385@gateway/web/irccloud.com/x-edztrawonqvlhgju)
07:54.41*** join/#tomcat mentax (~mentax@rrcs-24-103-48-205.nyc.biz.rr.com)
07:55.53*** join/#tomcat kmaslowski (~kamil@centralaz.zagiel.com.pl)
08:16.09*** join/#tomcat mturk (~mturk@93-141-43-196.adsl.net.t-com.hr)
08:28.56*** join/#tomcat lkoranda (~lkoranda@ip-62-245-124-17.net.upcbroadband.cz)
08:33.33*** join/#tomcat mturk_ (~mturk@15-44.dsl.iskon.hr)
09:08.05*** join/#tomcat onlyteo (aafb71c1@gateway/web/freenode/ip.170.251.113.193)
09:11.06*** join/#tomcat alcir (~alcir@159.213.59.135)
09:11.46*** join/#tomcat ccorn (~ccorn@84-53-64-50.adsl.unet.nl)
09:13.31onlyteoguys, if i want to force a 404 error for a particular url pattern, regardless if my servlet handles it, can i do it from my web.xml?
09:49.15*** join/#tomcat kwazar_ (kwazar@gateway/shell/blinkenshell.org/x-rbaovuziajzkeold)
09:57.52*** join/#tomcat ccorn_ (~ccorn@84-53-64-50.adsl.unet.nl)
09:58.36*** join/#tomcat ccorn_ (~ccorn@84-53-64-50.adsl.unet.nl)
10:16.47*** join/#tomcat falko (~falko___@193.175.119.11)
10:57.43*** join/#tomcat mturk (~mturk@15-44.dsl.iskon.hr)
11:52.52*** join/#tomcat PradHand (~Adium@142.176.19.74)
12:03.25*** join/#tomcat mturk (~mturk@89-164-119-155.dsl.iskon.hr)
12:37.22*** join/#tomcat ahhughes (~ahhughes@182-239-134-106.ip.adam.com.au)
12:37.51ahhugheshow the heck can I change the tomcat version in the maven tomcat plugin? It's running with 6.x and I need servlet 3... so I need tomcat 7 right?
12:41.13*** join/#tomcat falko (~falko___@193.175.119.33)
12:54.28*** join/#tomcat falko (~falko___@193.175.119.33)
13:24.49*** join/#tomcat loddafnir1 (~mike@91-64-214-213-dynip.superkabel.de)
13:35.53*** join/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu)
13:42.29*** join/#tomcat selvakumaran (~selvakuma@49.15.78.210)
13:42.57selvakumaranhi there
13:44.57selvakumarani couldn't visit localhost
13:45.05selvakumaranwhat wouls be the reason? i have started the tomcat using Terminal with out any error
13:45.23selvakumaranfor your kind information i am using opensuse11.4
13:48.53selvakumaranpls anyone help me
13:48.55selvakumaranpls
13:48.59selvakumaran:(
13:52.48*** join/#tomcat falko (~falko___@193.175.119.33)
13:54.41randrewjselvakumaran: So you're not going to say what happened when you tried, whether you've verified the process is running, or what is in the logs?
13:57.51selvakumaranrandrewj, i just verified through terminal its running
13:58.13selvakumaranBut localhost only not firing up
13:58.32selvakumaranits being quite wen i navigate to localhost
14:03.02karstensragewhat is in $CATALINA_HOME/logs/catalina.out
14:03.37*** join/#tomcat rbanffy (~rbanffy@187.31.77.7)
14:04.15karstensrageand $CATALINA_HOME/logs/localhosts.2011-09-21.log
14:04.21karstensrageand $CATALINA_HOME/logs/localhost.2011-09-21.log
14:04.27karstensragenot the first one
14:04.41karstensragelocalhost, not localhosts
14:06.59selvakumarankarstensrage, i am sorry, ya, while typing i did that mistake, i tried localhost only. What are they(the commands that you have given above)?
14:07.21selvakumaranshould i try them in my terminal?
14:09.23selvakumaranpls do clarify me., i am just newbie for both postgreSQL as well as TOMCAT
14:11.03karstensragewell they are text files
14:11.09karstensragecan view text files?
14:11.15karstensragecan you view text files?
14:18.38*** join/#tomcat TJCRI (~chatzilla@148.61.156.48)
14:23.56selvakumarankarstensrage, sorry for the delay dude.
14:24.26selvakumaranwhere i can find them?
14:35.15*** part/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu)
14:37.07*** join/#tomcat LzrdKing (~umop-apis@unaffiliated/lzrdking)
14:40.59*** join/#tomcat _nor (~Miranda@p508462E9.dip.t-dialin.net)
14:45.33selvakumarankarstensrage, ping
15:00.02*** join/#tomcat mike817 (~mike817@ool-45768306.dyn.optonline.net)
15:12.20*** join/#tomcat divStar (~divStar@DSL01.83.171.164.27.ip-pool.NEFkom.net)
15:14.21divStarHi there. I am using tomcat 7.0.21 from within Eclipse 3.7 (WTP) on Windows 7. I'd like to let a servlet output more logging information if tomcat is running in debug mode. Is there a way to do so? Or do I have to add a parameter to the application's web.xml and check for that?
15:18.59*** join/#tomcat falko (~falko___@193.175.119.11)
16:07.21*** join/#tomcat nightwatch (~somebody@dhcp-146-80.mpi-sb.mpg.de)
16:33.32*** join/#tomcat ianbrandt (~ianbrandt@99-111-99-153.uvs.sndgca.sbcglobal.net)
16:42.43*** join/#tomcat cjz (~Adium@173-13-190-57-sfba.hfc.comcastbusiness.net)
16:51.47*** join/#tomcat genu (1863a631@gateway/web/freenode/ip.24.99.166.49)
16:52.41genuhey, I'm kind of new to tomcat. I'm trying to deply an applycation on the server, but I get a message "FAIL - Application at contacts path /[my app] could not be starated" Where can I find the logs so I can see what went wrong? I'm ubuntu
16:54.42genuI have tomcat6, and java 6
16:55.29genutomcat6.0.29
17:02.38*** join/#tomcat divStar (~divStar@DSL01.83.171.164.27.ip-pool.NEFkom.net)
17:03.35*** part/#tomcat divStar (~divStar@DSL01.83.171.164.27.ip-pool.NEFkom.net)
17:13.51cjzwhere did you get that message?
17:19.20*** join/#tomcat acidjnk (havenone@p54BFFC4F.dip.t-dialin.net)
17:39.21*** join/#tomcat hjb (~hjb@unaffiliated/hjb)
17:53.16*** join/#tomcat War2 (~war2@unaffiliated/war2)
18:52.14*** join/#tomcat opalka (~opalka@gw-cmo.aim-net.cz)
18:52.14*** join/#tomcat opalka (~opalka@redhat/jboss/opalka)
20:02.16*** join/#tomcat mparodi (~Matias@unaffiliated/mplabs)
20:02.19mparodiHello there!
20:02.56mparodiwhy can "request.getRequestDispatcher("/WEB-INF/index.jsp").forward(request, response);" causing tomcat to crash every time I execute it?
20:11.40mparodiI can't understand tomcat, how can it crash in that way just because I execute that!? what if it was a production server? u.u
20:22.15cjzhow is tomcat crashing?
20:22.55mparodithe logs are pretty big, I'm just starting to learn how it works so I don't know how to fix it but let me show you
20:23.26cjzpastebin please
20:23.34mparodiactually there're more than 100000 lines, I don't think you really want to read it
20:23.46cjzjust the exception?
20:23.52mparodi117106 to be exactly
20:24.02cjzdo this
20:24.24mparodiyes, it was generated today, maybe during moer than one crashed but today
20:24.26cjzis this catalina.out?
20:24.35mparodione crash*
20:24.46mparodino, it's localhost.date.log
20:24.50cjzoh
20:24.52cjzhmm
20:25.01cjzwell just the exception, are you sure all of tomcat crashed?
20:25.32mparodiyes, I execute it once and it's empty, the next time it gives error 404 until I startup tomcat again
20:27.01mparodiCatalina log http://paste.debian.net/131460/
20:28.24mparodithe code I'm trying to execute: http://paste.debian.net/131462/
20:31.03mparodicjz, any idea?
20:31.17cjzwell generally you dont ask for things under WEB-INF
20:31.41cjzbut id have to see the other log to be sure… just hit it again and send the last part of the log that shows the last exception
20:32.13mparodiok, one minute
20:33.46mparodicjz, http://paste.debian.net/131465/
20:34.06mparodiactually there're tons of lines that seems to be the same
20:35.38cjza little more at the top
20:35.47cjzwhat *is* the actual exception
20:36.59mparodiok, I generated a new crash and I'll paste the whole exception, one minute
20:38.33mparodihere it is cjz: http://paste.debian.net/131466/
20:40.54mparodihmn! maybe "/WEB-INF/index.jsp" is actually the URL tomcat use to find the servlet/jsp but this code I'm executing is inside a Servlet whose url pattern is "/*", can it be the problem?
20:41.14mparodiis it calling the same servlet thousands of times until it crash?
20:42.22cjznot sure, try changing it to index.jsp
20:42.35mparodiwithout WEB-INF?
20:42.48mparodirequest.getRequestDispatcher("index.jsp").forward(request, response);
20:43.42mparodiah, I was right! I changed the URL pattern of this Controller to / and now the forward works fine!
20:50.15cjzwith the WEB-INF or without ?
20:50.32mparodiwith it
20:50.54mparodiwhat URL pattern should I set if I want this servlet to handle every request unless it points to a valid file (for example, a valid CSS file)?
20:51.14mparodior a JavaScript file
21:07.52*** join/#tomcat mark_u (~Mark@S0106001c10f595bb.gv.shawcable.net)
22:13.46*** join/#tomcat ccorn (~ccorn@g132123.upc-g.chello.nl)
22:32.31*** join/#tomcat rmckee (~rmckee@203.166.49.1)
22:33.02*** join/#tomcat ccorn (~ccorn@g132123.upc-g.chello.nl)
23:17.54*** join/#tomcat PradHand (~Adium@142.177.188.85)

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