IRC log for #tomcat on 20111117

01:40.45*** join/#tomcat bkfitz (~brian@rrcs-70-62-69-84.midsouth.biz.rr.com)
01:41.36*** join/#tomcat mbenson (~mbenson@apache/committer/mbenson)
02:26.44*** join/#tomcat matschaffer (~Adium@209.133.52.230)
02:27.16*** part/#tomcat matschaffer (~Adium@209.133.52.230)
02:35.34*** join/#tomcat bkfitz (~brian@rrcs-70-62-69-84.midsouth.biz.rr.com)
02:47.49*** join/#tomcat thantous (~dlecuyer@d149-67-193-236.try.wideopenwest.com)
03:45.57*** join/#tomcat hjb (~hjb@unaffiliated/hjb)
03:52.31*** part/#tomcat thantous (~dlecuyer@d149-67-193-236.try.wideopenwest.com)
05:05.15*** join/#tomcat macRover (~macRover@ip70-180-159-214.lv.lv.cox.net)
05:10.31*** join/#tomcat sjmikem (~Adium@c-76-21-86-191.hsd1.ca.comcast.net)
05:10.41sjmikemanyone have experience deploying grails apps on tomcat?
05:47.24*** join/#tomcat macRover (~macRover@ip70-180-159-214.lv.lv.cox.net)
06:13.46*** join/#tomcat dvayanu (~another@p578E8EEE.dip.t-dialin.net)
07:40.45*** join/#tomcat mathilde (~mathilde@193.175.119.11)
07:58.11*** join/#tomcat loddafnir1 (~mike@91-64-214-213-dynip.superkabel.de)
08:34.37*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
08:38.21*** join/#tomcat alcir (~alcir@159.213.59.135)
09:32.44*** join/#tomcat mns (~mns@c-76-119-248-230.hsd1.ma.comcast.net)
10:18.10*** join/#tomcat mamurdian (~mamu@pl-office.plusline.de)
12:10.46*** join/#tomcat Hamzah (~mhamzahkh@2001:470:1f09:16da:0:dead:beaf:cafe)
12:47.22*** join/#tomcat PradHand (~Adium@142.176.19.74)
13:32.49*** join/#tomcat PradHand1 (~Adium@142.176.19.74)
14:01.30*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
14:32.06*** join/#tomcat randrewj (~raj-user@user-160u68j.cable.mindspring.com)
14:32.44*** join/#tomcat _nor (~Miranda@p4FFFDD73.dip.t-dialin.net)
14:40.45oxezIs there a way to disable the addition of ;jsessionid=[...] even if the client does not support cookies?
14:41.00oxezOn 6.0.32/Windows and/or 6.0.29/CentOS
14:41.27deebodisable sessions i guess
14:44.51*** join/#tomcat mturk (~mturk@89-164-106-53.dsl.iskon.hr)
14:47.01oxezthat's not really an option =/
15:00.46randrewjoxez: http://stackoverflow.com/questions/962729/is-it-possible-to-disable-jsessionid-in-tomcat-servlet
15:07.07*** join/#tomcat geek_cl (~lletelier@190.151.53.228)
15:12.09oxezrandrewj: I have tried those filters with tuckey's url rewriting (which is what is included in your url), I have tried adding "disableURLrewriting="true"" in server.xml, I tried the filter found at http://randomcoder.org/articles/jsessionid-considered-harmful. I can't try the apache rewriterule, because I am not using apache
15:23.04randrewjoxez: and none of those worked? strange
15:23.37*** part/#tomcat randrewj (~raj-user@user-160u68j.cable.mindspring.com)
15:27.52*** join/#tomcat jsurls (~jsurls@206.205.148.194)
15:29.17jsurlsanyone using the maven tomcat plugin?.. or is this the wrong room to be asking
15:31.17jsurlsi'm using Tomcat 6.0.33, Java 5, and Windows XP
15:33.28*** part/#tomcat jsurls (~jsurls@206.205.148.194)
15:50.23*** join/#tomcat mbenson (~mbenson@apache/committer/mbenson)
16:03.17*** join/#tomcat ScottE (~scotte@216.55.28.114)
16:04.23*** join/#tomcat PradHand (~Adium@142.176.19.74)
16:08.43*** join/#tomcat macRover (~macRover@ip70-180-159-214.lv.lv.cox.net)
16:11.33*** join/#tomcat SJS (~stremler@kernel-panic/member/ThunderChicken)
16:23.35*** join/#tomcat sjmikem (~Adium@64.134.221.148)
16:29.50*** join/#tomcat cjz (~Adium@173-13-190-57-sfba.hfc.comcastbusiness.net)
16:29.56*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
17:03.08*** join/#tomcat Nach0z (~nach0z@unaffiliated/nach0z)
17:15.56*** join/#tomcat RossN9ne (~Ross@72-57-184-181.pools.spcsdns.net)
17:17.46RossN9neI'm building a hardware load balanced tomcat cluster.  For variety of reasons, I can't uset all of the functions of rd clustering
17:18.48RossN9neHowever I would like to use the cluster deployment of war files  is that possible?
17:19.32RossN9ne-rd +tc
17:21.08Nach0zman. that's way more complex than my issues. I just straightup can't get Tomcat to do anything XD
17:21.11*** join/#tomcat ggarri_ (~ggarri@220.Red-88-8-156.dynamicIP.rima-tde.net)
17:21.17Nach0zkeeps saying the resources aren't available and crap.
17:21.35ggarri_hello people
17:21.39ggarri_please
17:21.57ggarri_who has 2 minutes to answer to me a question ?
17:22.20RossN9neTomcat 7.0.22, sun java jdk 1.6.0_29, linux opensuse 12.1
17:22.31ggarri_I need to have a file where all the console output are store there
17:22.37ggarri_anyone knows?
17:23.06RossN9neI'm willing to take a crack at it ggari
17:23.29RossN9neIs it not being stored in catalina out?
17:24.46ggarri_where?
17:24.54RossN9neWhat os that's?
17:25.02RossN9neEr ggari
17:25.03ggarri_because I checked it every things
17:25.33ggarri_into of catalina.log there isn't anything
17:25.38ggarri_for example
17:25.47ggarri_If I have a console.log(data) in my code
17:26.05ggarri_where it is printed if I don't use a debug tool?
17:26.07RossN9neAnd tomcat is running right
17:26.15ggarri_yes, yes
17:26.25ggarri_I want to get the js outputs
17:26.52RossN9neLinus or windows
17:26.55ggarri_win
17:27.13ggarri_although it shouldn't matter
17:27.17*** join/#tomcat ianbrandt (~ianbrandt@99-111-99-153.uvs.sndgca.sbcglobal.net)
17:27.23ggarri_should it?
17:27.29RossN9neJust the minor stuff
17:28.35RossN9neTrying to find it but there is a variable for java that will tel it not to log
17:29.04ggarri_sorry
17:29.11ggarri_I did't understand
17:29.18ggarri_didn't
17:30.08RossN9neSorry my tablet keeps auto correcting
17:31.50RossN9neOn your java opts you can set the flowing
17:33.10RossN9ne-Djava.util.logging.config.file= duplication
17:33.22RossN9neErr  not duplication
17:33.34RossN9neBut file location
17:33.41RossN9neStupid tablet
17:33.46Nach0zlol.
17:33.57ggarri_where I use this option ?
17:34.04ggarri_in the running of tomcat =
17:34.05ggarri_?
17:34.35RossN9neRoar stupid tablet
17:34.48RossN9neWhat tomcat very?
17:34.52RossN9neVer
17:35.13Nach0zversion?
17:35.20ggarri_6.0
17:36.07RossN9neDoes the top of catalina.bat talk about a setenv.bat file?
17:36.26ggarri_startup.bat ?
17:37.00RossN9neNo, but I'm not sure what its called in windows
17:37.25ggarri_startup.bat
17:37.39ggarri_but I should write java  -Djava.util.logging.config.file= location ?
17:37.43*** join/#tomcat Saint_ (~chatzilla@41.202.225.156)
17:38.14RossN9neBut you can add a variable for catalina_opts that let's you do that so your not viewing your start up
17:38.29ggarri_ok
17:38.44RossN9neIapologize, but it takes so long to type on this
17:39.08ggarri_the problem is how declares it ?
17:39.41RossN9neId definitely get a copy of oriellys tomcat, or the word tomcat6 book
17:40.14ggarri_jeje
17:40.14ggarri_ok
17:40.16ggarri_thxs
17:40.56RossN9neIn linux you have a startup script called catalina.ah
17:41.33*** join/#tomcat caveat- (hoax@gateway/shell/bshellz.net/x-auvzmqurqjvddsla)
17:41.45RossN9neIn tomcat7 that start up script let's you declare all kind of stuff
17:41.57RossN9neCatalina.sh
17:42.42RossN9neIn tc7 it references making a file called setev.sh
17:43.00RossN9neThat let's you make those declarations
17:43.48RossN9neMy knowledge of non linux non tc7 is very limited
17:44.16Nach0zheh.
17:44.18RossN9neBut you can also set your heap values in those files
17:44.25RossN9neBbiaf
17:49.32ggarri_I will try it
17:52.07ggarri_<PROTECTED>
17:52.22ggarri_you think this is correct?
17:52.31ggarri_or I need to add the file too ?
17:53.04Nach0zwhoa. I just figgered it out.
17:53.07Nach0zalright I'm gone. lol.
17:53.08*** part/#tomcat Nach0z (~nach0z@unaffiliated/nach0z)
17:54.04RossN9neYou need to put a file name on the end I believe
17:55.38RossN9neBest of luck to you
17:56.44*** join/#tomcat PradHand (~Adium@142.176.19.74)
18:03.07ggarri_doesn't work
18:03.07ggarri_xd
18:03.10ggarri_kk
18:05.21*** join/#tomcat sjmikem (~Adium@216-75-224-222.static.wiline.com)
18:53.53*** join/#tomcat espeed (~espeed@63.246.231.57)
19:09.02*** join/#tomcat TJCRI (~chatzilla@148.61.156.48)
19:16.39*** part/#tomcat oxez (~teppei@oxez.net)
19:17.33*** join/#tomcat RossH9 (a4a5bb21@gateway/web/freenode/ip.164.165.187.33)
19:27.29RossH9Tomcat 7.0.22, Sun Java JDK 1.6.0_29, OpenSUSE 12.1 Linux.  I would like to create a Tomcat Cluster, but the only functionality I need/want is the FarmWAR deploy function so that I can deploy software packages with ease.  I do not want/can not use Session replication due to some coding issues with my app.
19:28.37RossH9Is that something that's doable?  I'm building a cluster using hardware load balancers doing sticky session allocation.
19:29.28RossH9ggarri_: were you able to get your logging working?
19:33.25*** join/#tomcat mamurdian (~mamu@213.83.43.7)
19:40.09*** join/#tomcat PradHand (~Adium@142.176.19.74)
19:54.51*** join/#tomcat cjz (~Adium@12.249.226.74)
20:02.40*** join/#tomcat acidjnk (havenone@p57B8DFB4.dip.t-dialin.net)
20:19.14*** join/#tomcat crimsun (8cf7247c@gateway/web/freenode/ip.140.247.36.124)
20:41.55*** join/#tomcat frewsxcv (~coreyf@unaffiliated/frewsxcv)
20:42.29frewsxcvhttp://pastie.org/2879811
20:42.33frewsxcv^^^ any ideas?
20:42.55frewsxcva little background: trying to start geoserver/geonetwork (tomcat6) and getting these errors
20:46.41*** join/#tomcat mathilde (~mathilde@193.175.119.11)
20:55.39RossH9Frewsxcv, I dont have any idea where to start with that unfortunately.  Make sure to include java, OS, and specific tomcat version.
20:56.25RossH9Though usually file lock issues are an issue of permissions and/or existance/ability to find
20:59.57frewsxcvjava/tomcat info: http://pastebin.mozilla.org/1385297 Ubuntu Lucid 32bit.
21:03.09RossH9what user account are you running tomcat under?
21:03.43RossH9and have you checked the ownership of the various folders your tomcat lives in?
21:05.21*** join/#tomcat rmckee (~rmckee@203.166.49.1)
21:05.33*** join/#tomcat mathilde (~mathilde_@193.175.119.11)
21:05.38frewsxcvRossH9: well the /etc/init.d/tomcat6 script says user and group are both 'tomcat6', and i've checked most of /var/lib/tomcat6
21:05.42frewsxcvany other ipmortant places?
21:07.01RossH9if that's where your tomcat lives, should be it *mostly*.  (every distro puts stuff in a different place) that isn't a link to a different location i assume.
21:08.25RossH9there's also a potential issue where some distros have a special java folder created called .java sometimes in /etc
21:08.46RossH9and that folder is owned by root and the lock file for java stuff gets put there, owned by root, which means your tomcat6 user can't access it
21:09.04RossH9so do.....ls -l and see if you have that .java folder
21:09.12frewsxcvRossH9: I had a lock in there earlier which was cuasing problems, but i deleted it and it fixed a few
21:09.37frewsxcvRossH9: it still exists, should i delete it?
21:09.48RossH9while this may not be the *best* way to do it, have you tried kicking off tomcat as root and seeing if it starts.  if it does, then you do have a permissions issue on your lock file
21:10.18RossH9and honestly, deleting it wont fix the problem.  if you can identify the one that's created and tomcat doesn't delete it, but reuses it, you could chown it to tomcat6.tomcat6
21:10.48RossH9Standard Warranty, i've been out of the linux game for 5 years, and only got back into it and new to tomcat in the last month (thrown into the deep end)
21:11.21*** join/#tomcat _nor (~Miranda@p4FFFDD73.dip.t-dialin.net)
21:12.11RossH9So yeah, got feeling, you probably need to let tomcat make it's lock file and do what it wants.  it'll complain otherwise
21:14.19frewsxcvroot didn't make a difference
21:15.22RossH9do you know the lock file it's trying to access?  if so, chown it to tomcat
21:16.37frewsxcvRossH9: nope, don't really know which lock file they're tlaking about
21:17.14RossH9there's a way in probably your java opts to declare which one to use, but unfortunately that's beyond me
21:19.09*** join/#tomcat dvayanu (~another@p5793D337.dip.t-dialin.net)
21:19.21RossH9did you not get that error until after you deleted a lock file giving you errors/ it's possible you angered the beast by doing that
21:20.32frewsxcvRossH9: no, i think it might have had to do with my system's HD getting full a week ago
21:20.38crimsunhi all, is there an easy way to find out all the ports being used in a multiple container environment? RHEL5
21:21.37*** join/#tomcat sjmikem (~Adium@216-75-224-222.static.wiline.com)
21:23.04RossH9you mean, like TCP ports, or something more javaish?
21:25.19crimsunyes, tcp ports
21:26.09RossH9well, uhm, this isn't really app specific, but a netstat -l should give you all listening ports on your OS.
21:26.34RossH9There are things you can do to dig into which process is utilizing which ports
21:29.01RossH9But (and this is a non java guy) if you're looking to find out deeper info like, what specific items inside a JVM are holding open which port, I dont know.  There should be, but as far as the kernel level it'll just be your jre/jdk process that ahs them all open
21:29.27crimsunnetstat --listen -p
21:29.40crimsunthat was more informative but it's still a lot of noise
21:30.27crimsunI added | grep java and slimmed it down a bit - thx :-)
21:30.33RossH9so yeah, thatll show the PID/java for any of your VMs listening, each vm is going to have like 2 or 3 more
21:31.00RossH9you'll have your tomcat port, your java connector (for turning off java pretty much) and then possibly a jmx console port
21:31.07RossH9yay, glad i could help
21:32.12RossH9frewsxcv: sorry, i'm out of ideas about your lock file, but googlefu and experience is that it's a permissions issue, permissions will be lack of access or lack of file existing, though most apps will create a lock file if it's not there
21:32.56RossH9Someone with actual knowledge may be afk and will probably help when they get back
21:33.22frewsxcvYeah, i'm just going to keep snooping around directories for permissions  issues
21:33.38RossH9Dont forget to swing around a large hatchet while you're at it
21:33.46RossH9that always makes things better
21:36.07RossH9Found out that what I'm looking for is called "Sticky Sessions with No Clustered Session Sharing" according to my Professional Apache Tomcat 6 (WROX)  now if only this stupidly expensive book showed me the hows. ;)
21:37.09*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
21:48.20*** join/#tomcat sjmikem (~Adium@216-75-224-222.static.wiline.com)
21:54.25RossH9Okay, next question, anyone have any experience with The Farm Deployer portion of Cluster?  Is it working currently or still WIP?
22:13.04*** join/#tomcat Nosceteipsum (~merodach@e183232125.adsl.alicedsl.de)
22:28.16*** part/#tomcat RossH9 (a4a5bb21@gateway/web/freenode/ip.164.165.187.33)
22:54.33*** join/#tomcat Nach0z (~nach0z@unaffiliated/nach0z)
22:55.19Nach0zHey all. Got a quick question for ya. I got a Tomcat setup that processes JSP files fine, but I tried following a tutorial on how to install Java Server Faces into it, and when I go to any .jsf files, it tells me that a .jsp file could not be found. any ideas?
23:07.51Nach0zit seems to be a Tomcat issue as it's simply not forwarding to hello.jsf instead of hello.jsp as it seems to want to do
23:10.12Nach0zin fact, even when I manually go to hello.jsf, it tells me hello.jsp is not found.
23:21.54*** join/#tomcat mns (~mns@c-24-147-44-243.hsd1.ma.comcast.net)
23:28.28*** join/#tomcat jamescarr_ (~jamescarr@72-161-49-240.dyn.centurytel.net)

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