IRC log for #tomcat on 20090127

00:37.48*** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net)
01:04.04*** join/#tomcat kanai (n=kanai@124.32.114.226)
01:32.01hmm_not_suredoes tomcat not like redirect of SSL over iptables?
02:10.46*** join/#tomcat harpoon (n=harpoon@p5082D9C0.dip.t-dialin.net)
02:19.08*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
02:38.34jasonbhmm_not_sure: Yup, it works great.. as long as you also set proxyHost and proxyPort on your Connector element.
02:39.45jasonbhmm_not_sure: Yes, and redirectPort should really say 443, not 8443.
02:49.29*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
02:50.16hmm_not_sureok
02:51.04hmm_not_surei go from desktop httpd 443 --------> server 443 ---> iptables on server ---> 8443 ----> tomcat 8443
02:51.25hmm_not_surei think the 3 you mention are in production...
02:51.34hmm_not_surethe 8080 redirectport is 443
02:51.51hmm_not_surethe proxyport is 443 in the 8443 context and context listens on 8443
02:52.07hmm_not_sureI tried ti that ay and it still connected.....the dropped connection
02:52.12hmm_not_suresame as b4
02:52.40hmm_not_surehttps://myserverURL
02:52.50hmm_not_sureI see using netstat the thing connect......
02:52.59hmm_not_surei have the .keystore file pointed to in server.xml
03:12.10*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg)
03:45.44*** join/#tomcat hikozaemon (n=hikozaem@27.183.244.43.ap.yournet.ne.jp)
03:47.32*** join/#tomcat hikoz (n=hikoz@27.183.244.43.ap.yournet.ne.jp)
04:43.29*** join/#tomcat kanai (n=kanai@124.32.114.226)
04:53.52*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
05:24.49*** join/#tomcat ibot (i=ibot@rikers.org)
05:24.49*** topic/#tomcat is Topic for #tomcat is: Stable versions: 6.0.18, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers...
05:25.50*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg)
05:26.37*** join/#tomcat wltjr (n=wltjr@c-76-18-195-255.hsd1.fl.comcast.net)
05:27.08*** join/#tomcat skoude (n=skoude@195.74.17.190)
05:28.32*** join/#tomcat pucko_ (i=andreas@h143n1fls304o253.telia.com)
05:28.41*** join/#tomcat teite (i=teite@194.64.226.225) [NETSPLIT VICTIM]
05:28.42*** join/#tomcat lyken (n=dc@75.126.161.82) [NETSPLIT VICTIM]
05:28.42*** join/#tomcat tanto (i=tanto@66.199.227.66) [NETSPLIT VICTIM]
05:32.10*** join/#tomcat pucko_ (i=andreas@h143n1fls304o253.telia.com) [NETSPLIT VICTIM]
05:32.13*** join/#tomcat Jiyu_ (n=jiyu@m56s07.vlinux.de) [NETSPLIT VICTIM]
05:32.13*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) [NETSPLIT VICTIM]
05:32.19*** join/#tomcat Odin__ (n=dlm@host86-128-77-132.range86-128.btcentralplus.com) [NETSPLIT VICTIM]
05:32.46*** join/#tomcat bender183 (n=OWinNOW@24.193.125.91) [NETSPLIT VICTIM]
05:32.47*** join/#tomcat vinse (n=vinse_@208.253.223.146) [NETSPLIT VICTIM]
05:32.48*** join/#tomcat kanai (n=kanai@124.32.114.226) [NETSPLIT VICTIM]
05:33.19*** join/#tomcat ChanServ (ChanServ@services.)
05:33.19*** mode/#tomcat [+o ChanServ] by irc.freenode.net
05:33.24*** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) [NETSPLIT VICTIM]
05:33.24*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg) [NETSPLIT VICTIM]
05:33.26*** join/#tomcat pejay (n=paul@87.86.105.3)
05:33.26*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) [NETSPLIT VICTIM]
05:33.27*** join/#tomcat kanai (n=kanai@124.32.114.226) [NETSPLIT VICTIM]
05:33.28*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183) [NETSPLIT VICTIM]
05:33.55*** join/#tomcat hikoz (n=hikoz@27.183.244.43.ap.yournet.ne.jp) [NETSPLIT VICTIM]
05:34.00*** join/#tomcat bindaas (n=chatzill@122.160.42.236) [NETSPLIT VICTIM]
05:34.00*** join/#tomcat ohsix (i=ohsix@bc10834.bendcable.com)
05:34.01*** join/#tomcat dyre (i=dyremahl@trivini.no)
05:34.14*** join/#tomcat Jiyu_ (n=jiyu@m56s07.vlinux.de) [NETSPLIT VICTIM]
05:34.26*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
05:34.27*** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby)
05:37.17*** join/#tomcat lonecoder (n=lonecode@91.198.24.10) [NETSPLIT VICTIM]
05:37.24*** join/#tomcat harpoon (n=harpoon@p5082D9C0.dip.t-dialin.net)
05:37.33*** join/#tomcat Darkker (n=darkker@suhina.skipoli.fi) [NETSPLIT VICTIM]
05:38.55*** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg)
05:41.37*** join/#tomcat wltjr (n=wltjr@unaffiliated/wltjr) [NETSPLIT VICTIM]
05:42.13*** join/#tomcat deebo (i=globe@stonebay32.com) [NETSPLIT VICTIM]
05:42.19*** join/#tomcat lonecoder (n=lonecode@91.198.24.10) [NETSPLIT VICTIM]
05:42.24*** join/#tomcat ohsix (i=ohsix@bc10834.bendcable.com)
05:42.26*** join/#tomcat Ahlee (n=jalons@pants.jalons.net)
05:42.40*** join/#tomcat teite (i=teite@trough.maeh.org) [NETSPLIT VICTIM]
05:42.46*** join/#tomcat jo4 (i=joachimn@colargol.tihlde.org) [NETSPLIT VICTIM]
05:43.39*** join/#tomcat tanto (i=tanto@bipolar.obliviated.org) [NETSPLIT VICTIM]
05:48.15*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:37.50*** join/#tomcat jo4 (i=joachimn@colargol.tihlde.org)
08:21.41*** join/#tomcat kjkoster5489 (n=kjkoster@193.79.224.62)
09:04.46*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
09:05.11*** join/#tomcat loiseau (n=marius@dslb-084-063-093-135.pools.arcor-ip.net)
09:12.05*** join/#tomcat albert_kam (n=albert@125.160.174.102)
09:48.46*** join/#tomcat TommyBJ (n=noosjent@193.160.28.100)
10:17.05*** join/#tomcat sledgeas (n=leleiva@217.77.80.29)
10:20.51*** join/#tomcat test (n=test@66-215-150-190.dhcp.ccmn.ca.charter.com)
10:22.41steveoQick question, when running tomcat, do people access java apps right from the apache document root or does it have to access trough tomcat running on a different por, i.e. :8080
10:23.46MHSLsteveo, you have to deploy your webapp to tomcat, it has nothing to do with apache
10:24.13MHSLsteveo, you can access your webapp via apache or to tomcat directly, depending on your setup
10:27.54steveoMHSL: I don't expect a full explination, but if you could give me some search topics for what part of the tomcat/ apache process governs deployment through the same virtual host entries of apache vs. through just tomcat itself i'd appreciate it
10:29.05MHSLsteveo, are you going with tomcat standalone or tomcat behind apache way?
10:30.25steveoidelay tomcat behid apache i'd image. I'd like java running through tomcat accessable in the same paths of a standard apache config, so i could set .jar .php and .html next to eachother in the same document root and they all be accessable from www.example.net/
10:30.42steveoon the standard html port 81, not through a special port like 8080
10:31.11MHSLsteveo, in that case, you may use either mod_proxy or mod_jk on apache to connect to tomcat, hence apache will be in front of tomcat
10:33.37steveookay thats locical, so apache called for java go through mod_jk to tomcat, tomcat processes and send it back to apache
10:33.53steveoso apache is just proxying requests to tomcat and back. where tomcat is the acutaly server
10:34.09steveodoes that sound correct?
10:34.09MHSLyes, if the requests are supposed to be handled by tomcat
10:34.17steveoso my reading shoul be on mod_jk
10:34.27MHSLeither mod_jk or mod_proxy, your choice
10:34.42steveois there a preformance or general preferance to one or the other?
10:35.13MHSLaccording to jasonb (if i remember correctly) mod_proxy is supposed to be faster than mod_jk
10:35.26MHSLof course direct connection to tomcat is the ideal way
10:41.00dvayanui think mod_rpoxy_ajp is best for 2.2
10:41.05dvayanuproxy_ajp
10:41.11dvayanumod_jk is for 2.0
10:41.12*** join/#tomcat cabra1 (n=kinuthia@196.201.208.129)
10:41.27steveoMHSL: So by direct connection to tomcat your refering to the server on its own, so would it be ideal in an apache tomcat setup to just run tomcat on a differnt port and call the java links on that port?
10:41.32steveoor vice verse
10:41.43steveobecause for tomcat to be accessed directly it would need to be running on 80 right
10:42.04MHSLsteveo, you can configure tomcat to listen on a different port
10:42.08MHSLit can be any port
10:42.11dvayanusteveo: you can use portmap or jspc
10:42.16dvayanujs-something
10:42.42steveoMHSL: I'm sorry these questions are a bit bassic i'm just re-affirming myself at this point.. ideal setup if all one wanted to do was run tomcat would be to just install it and run it on :80.
10:43.06steveocommon miscomception of tomcat is thats it has anything to do with apache
10:43.16dvayanuit comes from apache :-)
10:43.19dvayanutomcat.apache.org
10:43.30MHSLyes, although that's incorrect, apache has nothing to do with tomcat
10:43.30steveoother then the apache foundation making it
10:43.33dvayanui think the misconception here is to assume apache == httpd
10:43.51steveoyes, apache makes it.. but it doen't need the apache web server, its compleatly indpended of httpd and httpds ancestory
10:44.01cabra1But it is not the Apache server
10:44.08steveodvayanu: compleatly aggree
10:44.38steveothat wold be a great main page additon for tomcat.apache.org
10:44.46steveotomcat != httpd
10:45.31dvayanusteveo: thats what this channel and the mailing list is for :-)
10:45.56dvayanubut i hink its actually a part of the FAQs
10:46.01steveodvayanu: well you helped me out, i appreciate it
10:46.30dvayanuyou welcome
10:46.34steveoi'm dgging the powered by list on the wiki, etrade and the weatherchannel cought my eye
10:47.18steveoi've delt in parts with resin and tomcat but its so infreqent my mind is at a lost ;)
10:48.04dvayanuback in the tomcat 4 and resin 3 times, resin was faster
10:48.42dvayanubut there are no real benchmarks since some years
10:49.35dvayanuas for "powered by" many companies do not say that they run on this or that web container
10:50.21dvayanupersonally, i think that we run one of the most traffic intensive sites
10:50.24dvayanuwith tomcat
10:50.28*** join/#tomcat Infinito- (n=kuhn@li6-217.members.linode.com)
10:55.28*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
10:56.02steveoya, i've only dablled in that java world. I used to think java hated me based on problem i've seen with java programs
10:56.17steveoi think the reality is there were just a lot of people who can't code well ;)
10:56.34steveoand no doubt a good bit of changes in the java realeases of the past
10:59.34dvayanuthere is no java world
10:59.53dvayanupeople in the desktop environment do completely different things as people in webapps
11:00.03dvayanuthan there is mobile
11:00.07dvayanuand research
11:00.08dvayanuand whatnot
11:00.13dvayanuthere are a lot of java worlds
11:00.14dvayanu:-)
11:02.19*** part/#tomcat cabra1 (n=kinuthia@196.201.208.129)
11:06.13deeboand i wouldnt expect a guy who chose 'steveo' as his nick to be too compatible with computers :P
11:08.36*** join/#tomcat nixblicker (n=nixblick@dslb-088-072-245-150.pools.arcor-ip.net)
11:50.04steveodeebo: ya well, i'd say I do okay. but java isn't one of my main topics.. You know the more you learn the more you realize no one can no it all
12:21.35*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
12:25.54*** join/#tomcat acidjnk (i=acid@pD95092CC.dip0.t-ipconnect.de)
12:34.10*** part/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
12:47.29*** join/#tomcat rjd (n=rjd@sigkill.se)
12:48.25rjdHi. We use apache in front of tomcat. Does anyone know how to serve pack:tag? SLince the files are nog saved on disk, apache generates a 404, and having users accessing tomcat directly is not an option
12:51.54rjdthrough mod_jk just as .jsps are being handled?
12:52.19rjdtomcat 6.0.2x, linux 686, java 1.6
12:56.41dvayanuerr
12:56.47dvayanuwhich pack:tag?
12:57.28rjdhttp://sourceforge.net/projects/packtag
12:57.47dvayanuand it generates classes?
12:57.50rjdno
12:57.52dvayanuerr ressources?
12:57.56rjdit generates nothing on disk
12:58.09rjdbut links like: css/combined.css.h1390289553.pack works
12:58.18dvayanuah
12:58.19rjdand contains js or css packed
12:58.19dvayanuok
12:58.25dvayanuand your problem is?
12:58.36rjdI've apache in front of tomcat
12:58.46dvayanuroute /* to tomcat
12:59.01rjdokey, thats it?
12:59.09dvayanui'd say so
12:59.31rjdI use mod_jk, so:     JkMount /*.jsp /*.pack <mydest>?
12:59.34dvayanui haven't worked with packtag, but if you forward everything to tomcat
12:59.42dvayanuJkMount /* mydest
12:59.47rjdI rather not
13:00.00dvayanuwhy not?
13:00.09rjdLet's not take that discussion :)
13:00.14dvayanusure
13:00.23dvayanuyour decision
13:06.34*** part/#tomcat rjd (n=rjd@sigkill.se)
13:13.51*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
13:20.29*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
13:24.45*** part/#tomcat sledgeas (n=leleiva@217.77.80.29)
13:42.22*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
13:55.24*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-49f7c19016d88d52)
14:03.19*** join/#tomcat loddafnir1 (n=mike@electra.aic.at)
15:26.01*** join/#tomcat cabra1 (n=kinuthia@196.201.208.129)
15:39.12*** part/#tomcat cabra1 (n=kinuthia@196.201.208.129)
16:42.28*** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl)
16:47.51*** join/#tomcat samuelg (n=chatzill@155.210.85.211)
16:47.55samuelghi
16:49.02*** join/#tomcat relachs (n=relachs@f053022063.adsl.alicedsl.de)
16:54.14*** join/#tomcat eolair (i=892b0268@gateway/web/ajax/mibbit.com/x-f0e78231ffd38e8f)
16:55.23eolairTomcat5.5/Java1.5/MacOSX: Im having problems with setting up JNDI Resources anyone where familiar with that?
16:57.13eolairanyone there?
17:14.48samuelghi
17:18.01*** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr)
17:19.13samuelgtomcat6.0.18/java 1.6/windows XP i am having problem whit comet. anyone can say me one manual whit example working , all examples i find not working, sorry for my english
17:23.42*** join/#tomcat prgrmr (n=prgrmr@bzq-79-177-105-146.red.bezeqint.net)
17:26.30*** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl)
17:27.57*** join/#tomcat prgrmr (n=prgrmr@bzq-79-177-105-146.red.bezeqint.net)
17:32.09*** join/#tomcat prgrmr (n=prgrmr@bzq-79-177-105-146.red.bezeqint.net)
17:36.35*** join/#tomcat prgrmr (n=prgrmr@bzq-79-177-105-146.red.bezeqint.net)
17:52.17*** join/#tomcat samuelg (n=chatzill@155.210.85.211)
17:52.39samuelganiyone undersand of COMET
18:00.14*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
18:33.43*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
18:48.32*** join/#tomcat cobalt027 (n=cobalt02@cpe-24-210-37-50.columbus.res.rr.com)
18:48.38cobalt027hi guys.
18:49.05cobalt027can someone confirm for me what compiler tomcat 5.5.9 uses to compile JSPs?
18:49.08cobalt0271.4 or 1.5?
18:50.37cobalt027my JAVA_HOME and JRE_HOME are both using j2se_jdk_sun-1.5.0.07
18:51.01cobalt027this is on a linux system.
18:53.26kjkoster5489It should just use your JAVA_HOME/lib/tools.
18:53.36kjkoster5489What are you seeing?
18:53.57cobalt027I'm trying to use Generics in a JSP and its failing.
18:54.17kjkoster5489That might be the Jasper JSP to Java compiler.
18:54.37kjkoster5489What precise stack trace are you getting (pastebin).
18:54.49cobalt027pastebin url?
18:54.58kjkoster5489~pastebin
18:54.59ibot[~pastebin] A "pastebin" is a web-based service where you can paste anything over 3 lines without flooding the channel. Here are links to a few : http://www.pastebin.com , http://pastebin.ca , http://channels.debian.net/paste , http://paste.lisp.org , http://www.rafb.net/paste
18:55.36kjkoster5489~ibot++
18:55.36cobalt027http://pastebin.com/d1eb82fcf
18:56.09kjkoster5489You can see in the trace that it's Jasper complaining.
18:56.26kjkoster5489Not javac.
18:56.31cobalt027is there a recommended way to fix this?
18:56.33kjkoster5489You need to upgrade Tomcat.
18:56.45cobalt027really?
18:56.47cobalt027oh boy.
18:57.01kjkoster5489Is that a problem?
18:57.39cobalt027sort of. im in an enterprise environment and my OPS people might not like me asking them to upgrade 14 tomcats that are running multiple webapps. :(
18:57.49kjkoster5489*hehe*
18:58.05cobalt027is there no other way to correct this?
18:58.07kjkoster5489Time for you to write a business case. ;-)
18:58.52cobalt027this does not give me warm fuzzies....
18:59.02cobalt027is there no other way to correct this?
18:59.14kjkoster5489It is as much work to upgrade Jasper as it is to move to a more modern Tomcat.
18:59.39kjkoster5489Plus, your OPS will freak out if you suggest half-upgrading Tomcat.
18:59.57cobalt027you do have a point.
19:00.08kjkoster5489I don't see how it is difficult to upgrade Tomcat. It's practically a drop-in upgrade to go to 6.0.18.
19:00.20kjkoster5489Unless you are running a non-standard Tomcat of some sort.
19:00.24cobalt027and will 6.x not have this issue?
19:00.50kjkoster5489It runs beautifully with java 1.5 and 1.6 syntax.
19:00.54kjkoster5489I do it
19:03.10cobalt027ok. thanks for your help. i really appreciate it.
19:03.16kjkoster5489Newer tomcats also have fewer security issues, if you need any arguments.
19:03.30kjkoster5489I collect Java-related CVE's here: http://java-monitor.com/forum/forumdisplay.php?f=6
19:03.50kjkoster5489Search for Tomcat and JDK and check them against your versions.
19:04.08cobalt027heh - i think ill let the OPS people deal with that.
19:04.18kjkoster5489Not all of them are earth shattering, but security does seem to weigh heavily with OPS.
19:04.37cobalt027you are correct sir. :)
19:21.05*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
19:29.50cobalt027kjkoster5489: btw - i was able to upgrade from 5.5.90 to 5.5.25 and now the generics work.
19:30.06kjkoster5489Excellent.
19:30.47kjkoster5489Now all you need is an argument for your OPS' managers' finance director.
19:41.08cobalt027hehe
19:46.47*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
20:10.59*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
20:13.22*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
20:15.07*** part/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
20:16.48*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
20:24.17*** join/#tomcat harpoon (n=harpoon@p5082D9C0.dip.t-dialin.net)
20:33.03*** join/#tomcat decumbo (n=a@64.235.97.218)
21:00.31*** part/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
21:03.20*** join/#tomcat usersam (n=user@195.10.248.18)
21:06.36usersamjava -version
21:06.36usersamjava version "1.5.0_16"
21:06.36usersam<PROTECTED>
21:07.10usersam"The connection was refused when attempting to contact localhost:8180."
21:07.54usersamstart
21:07.54usersam<PROTECTED>
21:08.08usersamanyone suggest why I see no page?
21:35.30cobalt027it looks like you're starting it as a service, is that right/.
21:35.34cobalt027?
21:39.32*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
23:06.16*** part/#tomcat cobalt027 (n=cobalt02@cpe-24-210-37-50.columbus.res.rr.com)
23:26.14*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
23:38.27*** join/#tomcat dvayanu (n=another@ppp-93-104-44-34.dynamic.mnet-online.de)
23:41.42*** join/#tomcat Darkker (n=darkker@suhina.skipoli.fi) [NETSPLIT VICTIM]
23:44.41*** join/#tomcat Darkker (n=darkker@suhina.skipoli.fi) [NETSPLIT VICTIM]

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