irclog2html for #tomcat on 20060505

00:04.25oxbloodAre you a real life dad too?
00:04.50Aint_DADwho me?
00:04.57oxbloodYes.
00:05.03oxbloodaint_"dad".
00:05.05Aint_DADno you carzy I'm still 24
00:05.19oxbloodWhy is it that I always burn the roof of my mouth when I eat pizza.
00:05.23Aint_DADI'm just chilling  until I got to 32 or so
00:05.37oxbloodI'm chilling until I die. :)
00:05.49oxbloodI don't think I can ever raise a kid.
00:06.03oxbloodI'm actually waiting for my sister to get married and give me a cute little niece.
00:06.06Aint_DADI will like but not for now, How old are you
00:06.17oxbloodToo old, very old as a matter of fact.
00:06.20oxblood25. :(
00:06.23Aint_DADlol
00:06.53oxbloodThis whole age conversation made me sad -- I rather talk about tomcat now.
00:08.40Zenethian-Ah... for the record, there is a module for Apache, mod_jk that will redirect requests to Tomcat so that they can run side by side.
00:09.45oxblood"Experts" tend to believe you should run tomcat in standalone rather than in conjunction with Apache.
00:10.11Zenethian-Yeah, I know, but it isn't really an option for me, since I have non-java apps to support on the same server.
00:10.48oxbloodAnd how does Apache help you with non-java application?
00:11.12Zenethian-Uhm, the same way that Tomcat does for java applications?
00:11.39Zenethian-=)
00:12.00oxbloodNot trying to be a smartass, I just started learning about servlet/tomcat so that's why I asked.
00:12.08ZenethianYeah, me too.  hehe.
00:12.11oxbloodI still can't connect the dots.
00:12.17ZenethianWell, I have apache running already
00:12.21Zenethianit's running other web apps
00:12.30ZenethianOne written in PHP, and one in Python.
00:12.40oxbloodUh, that's all you had to say. :)
00:12.42ZenethianOn the same server I must now add a JSP app, so I need to install Tomcat.
00:12.46Zenethian:)
00:13.02ZenethianPlus I wanna be able to learn while still running all  my old crap  =)
00:13.03Zenethianhehe
00:13.10Zenethianwithout using an alternate http port.
00:13.19oxbloodI too got tomcat/apache/virtuahost working nicely at the moment.
00:13.25Zenethianyeah?
00:14.13oxbloodYup, actually had everything up and running in 1 hour -- the only thing that hindered my progress was not being able to get auto-deployment working with my web applications.
00:14.34Zenethianah, very nice then
00:14.35oxbloodHence my journey to know tomcat/context path.
00:15.21oxbloodTook me 4 days of bashing my head to realize my multiple virtualhosts + multiple web app with similar names were throwing everything into haywire.
00:15.51oxbloodAll in all, it was a sad experience which I rather not to talk about it. :)
00:16.50oxbloodI usually dig my own grave so deep that the walls cave in half way down.
00:17.57oxbloodI got so tired today at work, I doubt I can afford a trip to the gym tonight, bah.
00:23.15jasonbZenethian: You should really use mod_proxy instead of mod_jk.
00:25.38Zenethianodd, since the tomcat website recommends mod_jk.  I just presumed that mod_jk worked as a proxy specific to tomcat.
00:34.52vinsehow old is the portion of the tomcat site that recommends mod_jk?
00:36.23Aint_DAD02[07Leaving02] Reason:[07auto away after 30 minutes of inactivity02] 07·02•07 P o l a r i s · O n e 02•07·
00:57.15jasonbvinse: Pretty old.
00:57.34jasonbI should have just told him that Tomcat: The Definitive Guide, 2nd Edition recommends *not* using mod_jk.  :)
02:06.23*** join/#tomcat GhettoJava (n=Freemani@c-68-54-87-63.hsd1.md.comcast.net)
02:38.27*** join/#tomcat GhettoJava (n=Freemani@c-68-54-87-63.hsd1.md.comcast.net)
02:48.31*** join/#tomcat _Pir8 (n=pir8@de.crypted.ca)
02:53.59oxbloodI was going to ask him why. :(
03:01.56*** join/#tomcat m0sir (n=Miranda@218.76.0.208)
03:04.30mlhoxblood: bugs, apparently and flexibility
03:04.55mlhmod_jk works fine for me , though I will probably use mod_proxy when I move to apache2
03:06.30oxbloodIt works ok for me too, although I have no idea about the throughput during high load nore familiar with configuration settings.
03:06.58oxbloodI just know it works and I am learning servlet/JSP on it.
03:07.42oxbloodHow long has Apache 2.2 been out? I wonder if it's worth upgrading from 2.0 to 2.2.
03:08.32mlh2.2 for a couple of months iirc.  2.2.2 is only just out
03:08.49mlhon linux, i just use whatever the distro gives me.
03:09.09mlhon solaris / other i tend to conservative and use apache1
03:09.12oxbloodHah, I am a bit pesky and usually grab the latest source.
03:09.21mlhmeh, makework
03:09.27oxbloodWhy conserve on Solaris?
03:10.00mlhdon't fix whats not broken
03:10.11mlhthough I prob will go apache2 soon
03:10.32mlhthe solaris machines tend be the production, i..e visibile ones
03:10.52oxbloodWell, when I installed Solaris 10 last year, I immediately grabed apache2 and everything worked just fine.
03:11.03mlhyeah, it should be fine now
03:11.12oxbloodExcept that I haven't turned it on since last December. ;P
03:11.47mlhif i was running solaris for myself, I'd just grab whatever blastwave.org had
03:12.15oxbloodOh ya, except that two times a cleaning lady accidentally pushed the power-on botton on the keyboard.
03:12.42mlhcleaning ladies and backhoes --- scourges of the IT world
03:12.56lykenlol
03:12.57oxbloodYa, I would do the same for Solaris9, but they have done much more improvement with Solaris10.
03:13.02oxbloodHah.
03:13.30oxbloodWell, except that I don't work in the IT industry.
03:16.11oxbloodActually, I will probably get Tomcat to work with Oracle9i on Solaris10 once I get to database/data source setup sections of my books.
03:16.39oxbloodOracle10g pretty much crippled my Solaris10, had to roll back to 9i.
03:20.55oxbloodmlh, You can purchase a decent SPARC workstation off the ebay for less than $500 by the way.
03:21.29oxbloodI haven't checked lately because I bought mine 2 1/2 years ago.
03:22.05oxbloodOk, off to bed...
03:23.15*** join/#tomcat Pir8 (n=pir8@de.crypted.ca)
03:36.02mlhoxblood: i got a few ultra sparcs for nothing
04:15.07lykenmlh: heh ultra 10s ?
04:15.14lykenpeople give them away like old clothes
04:20.19*** join/#tomcat vinse_ (n=vinse@c-67-169-25-31.hsd1.ca.comcast.net)
04:38.22mlhlyken: two ultra1s and and ultra
04:38.43mlhultra2.  the ultra2 is not so bad, 2x400Mhz, 2gb ram
04:38.55lykenehe
04:39.10lykeni got ultra 5s and 10's ike candy
05:36.45*** join/#tomcat atomi_ (n=chatzill@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
05:47.49*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:52.01[a]tomihey jasonb. hows the text?
05:52.11[a]tomiim busy too :)
05:53.06[a]tomihope all is well. thanks again for the rpm man. its rocking
05:55.52jasonb[a]tomi: Hi there.
05:56.10[a]tomiya man, hey
05:56.13jasonb[a]tomi: I'm working faster on the book now, so I'm making good progress, but still have a long way to go.
05:56.36jasonbStill enjoying the RPM eh?  I'm glad.  I am too.  I'm using it in various places and it's working great for me as well.
05:56.50jasonbIt's amazing how much better Tomcat works when it's integrated nicely with Linux like that.
05:57.39[a]tomii can only imagine about the text. I think all the shit i write in my wiki could be put to good use in some similar way.
05:58.19[a]tomibut yea, the war deployment really works well for rapid dev
05:59.07jasonbwar deployment?
05:59.36[a]tomiheh yes, im using a servlet called Railo
05:59.38jasonblike, copying a war file into Tomcat's webapps/ dir?
05:59.46jasonbWhat's Rialo?
06:00.27[a]tomiruns coldfusion
06:00.33jasonbahh.
06:00.39jasonbSo how do you deploy?
06:00.59jasonbCopy a war file?  Or, copy new files into the expanded webapp dir?  Manager?  what?
06:01.01[a]tomiin eclipse i just export to war with the required jars and BAM!
06:01.14[a]tomiim working on an ANT deployment atm
06:01.21jasonbYeah.
06:01.27jasonbAnt is ultimately better.
06:02.59[a]tomiultimately, it is. I figure its a little like an assembly plant; after creating a good mechanism for deployment, you can really push sites out.
06:03.17jasonbYes, it is exactly like that.
06:03.33jasonbAnd, Ant can help you do it every step of the way along the assembly line.
06:05.33lykenrar !
06:05.51jasonbYeah, what lyken said.  :)
06:08.45[a]tomii bought a copy of your book btw jasonb :)
06:08.51lykenheh
06:10.47[a]tominot as much about Ant automaion as I'd hoped for :) but i figure it is'nt easy to know where to start considering its a tomcat book.
06:12.11kutojasonb: i installed java and tomcat as rpm, in fedora core 5, where can i find webapps?
06:13.38[a]tomikuto: webapps is in in /opt/tomcat/
06:13.44jasonb[a]tomi: Yeah, the next edition will show more ant automation, obviously.
06:14.55jasonbkuto: Which Tomcat rpm did you install?  The one that comes with FC5 or mine?
06:14.58[a]tomi<PROTECTED>
06:15.49jasonb[a]tomi: I've really been thinking whether to spend time on eclipse integration or not.  The truth is that it's really not easy to do right, and I don't believe anyone has done it right yet.  I would have already done it, but I basically hate eclipse.
06:16.16lykenlol same
06:16.40jasonb[a]tomi: I know the first edition of our book is old, but neglecting that, what do you think of it so far?  Is it answering some of your questions?
06:17.04jasonblyken: I use it just about every day at work, and it's the only piece of software that consistently gets in my way and makes me less productive.
06:17.14lykeni use it to chock open my office door
06:17.27jasonbheh
06:17.28lykenjasonb: lols
06:17.36lykenso, i might be in san fran in august
06:17.42lykenif so, we should catch up for a beer
06:17.45[a]tomiheh, you got me there. No way I can do without eclipse, considering I do coldfusion. about the book, I can honestly say I enjoyed the Performace Tuning chapter... just got it so.
06:18.02lykencfm makes baby jesus cry
06:18.03jasonblyken: Yes, that would be great!  Just let me know.  
06:18.23lykenmyspace uses cfm and its so badly coded
06:18.24[a]tomilyken: ha :)
06:18.45[a]tomiyou know it's not bad, it integraes with java nicely
06:18.56lykenwhy integrate ?
06:18.59[a]tomiand its easy to pop out sites with it.
06:19.00lykenwhen you can do it all in java
06:19.02lykenand make it good
06:19.17lykenjasonb: its a macromedia heap of dookie heh
06:19.35[a]tomilyken: it was, i know what you're saying
06:19.51lykeni did code in it back in the day
06:19.54[a]tomibut bluedragon and now railo are making it really accessible
06:19.55lykennow i refuse
06:20.00lykenid use perl over cfm
06:20.18lykenshit id use bash that echos out html before i used cfm again
06:20.32[a]tomiat least in my case, where someone, say, has little programming experience, its a good step in the door.
06:20.56[a]tomiit got me started to say the least in all this web shits :)
06:21.03lykenyeah to teach them bad programming practice :)
06:21.43[a]tomiwell, some are really trying to create enterprise frameworks, you should take a fresh look at it.
06:21.57jasonb[a]tomi: It's funny that you liked the performance tuning chapter most.. that's probably the chapter we spent the least amount of time on, and one that I think is about the weakest chapter in the book  :)
06:22.07lykenlol
06:22.22lykenjason if we catch up for a beer, ill also get my free copy
06:22.22lykenw00ts
06:22.37jasonblyken: Damn, I really need to send you one.
06:22.43lykenheh
06:22.52lykenor i could just wait for the next ed :)
06:22.55jasonblyken: Do you really want one of the old first edition copies?
06:22.56lykenso i get a fresh one
06:23.01jasonbYeah.
06:23.11lykenive still got some time to help if you want it :)
06:23.19lykenits onmy todo list heh
06:24.17[a]tomijasonb: i wouldnt really know, your rpms really made it easy to just jump into that particular section.
06:24.42[a]tomisometime soon i'll get into the clustering...
06:24.52jasonb[a]tomi: I guess there are some sections in that chapter that would enlighten people on some fundamental things.  But, generally, the sections in that chapter just aren't well enough developed to help all that much, except for maybe the capacity planning section(s).
06:25.07lykenjasonb: im now running apache 2.2.2 mod_proxy is speedy :)
06:25.21jasonblyken: I really do need help with Tomcat on OSX.  Right now that's a big blank spot in the 2nd Edition.  I'd love for you to help with it if you want to.
06:25.58lykencools
06:26.00lykenill get on it
06:26.01lyken:)
06:26.28jasonb[a]tomi: You know, that was one of my main goals for the RPM -- to make it so easy to have a correctly configured, healthy Tomcat installation that it negates the need for reading all about it and spending a week or two setting that up.  It's just unnecessary for everyone to do that.
06:26.35kutojasonb: the rpm version
06:26.59lykenjasonb: hehe, i helped someone do a manual install on slackware last night :)
06:27.02jasonblyken: There's really no hurry, since I still have some months left, but the longer we work on this stuff the nicer it'll look when included in the book.
06:27.07lykenfirst time ive gone to that noob level in a whiles
06:27.30jasonblyken: mod_proxy in 2.2.x rulez.  That marks the end of mod_jk, IMHO.
06:28.13jasonbYeah, I read through that.  :)
06:28.13lykenhell yeh
06:28.13lykenmod_jk is such a piece of poopy heh
06:28.13jasonbIt's somewhat entertaining to see newbies learn Linux.  :)
06:28.14lykeni laff when people come in here for help
06:28.26lyken'im having trouble with mod_jk'
06:28.33jasonblyken: It always was shite.  Always.  mod_jserve included.
06:28.38jasonbjserv.
06:28.41lykenhaha
06:28.49jasonbThose guys just never got it right.
06:29.07lykenand then mod_proxy dev went, wait a second..
06:29.09jasonbThe Locomotive servlet container project had it right way way back during the mod_jserv days, and everyone ignored it.
06:29.17lykenyeh
06:29.18jasonbWe had an apache module that worked fine.
06:29.22lykenwow that was a whiles ago
06:29.27jasonbOh yeah.
06:29.36jasonbThis was the prehistoric servlet 1.0 and 1.1 days.
06:29.37lykeni just remember the ends of that wne i got into tomcat heh
06:29.56jasonbYeah, this was before James even started writing Tomcat.
06:30.02lykenour sysadmins had not set up tomcat right
06:30.11lykenso i got pissed and went searching for proper config
06:30.22jasonbheh
06:30.38lykenthats how i got into it, cause our sysadmins response was 'teach php, instead of this java shit'
06:30.50lykento my response of and thatas why your our tech bitches and not the lecturers
06:30.55lykencause you're all a bunch of hacks !
06:31.06jasonbhehe!
06:31.09jasonbYou tell 'em.
06:31.17jasonbThat happens all the time.
06:31.34lykennow i refuse to use anyones but my machines
06:32.09jasonbI don't mind using others's machines, as long as I'm the Tomcat admin.  :)
06:32.21lykenyeh
06:32.27lykenwell they wont give me admin on some of those machines
06:32.35jasonbPeople don't really even TRY to tell me they know more about Tomcat than I do nowadays.  Heh..
06:32.37lykenso im like, well then, you're puttign this in the machine room and no you cant have root
06:33.23*** join/#tomcat cypo (n=opera@dslb-082-083-035-080.pools.arcor-ip.net)
06:33.43jasonbIt's usually a bunch of lamer windoze admins who decide that the software engineers can't have root on server linux machines.
06:33.48jasonbThat's just wrong.
06:34.39lykenyup
06:35.59*** join/#tomcat _Pir8 (i=pir8@de.crypted.ca)
06:36.25cypog'evening jasonb
06:37.09cypowhy should developers need root access to a server machine?
06:37.35lykencypo: software engineers doesnt mean they are code monkeys
06:37.49jasonbBecause the admins usually have no clue what they're doing, and so we have to do their job as well.  :)
06:38.01cypoheh, good point :)
06:38.06jasonbSo the machine won't work right until *we* fix it.
06:38.09lykenmy title was systems programmer and i didnt do much programming
06:38.13jasonbAnd, we can't do their job if we don't have perms to do it..
06:38.29cypobut what do they do then?
06:38.41jasonbThey run windows update, of course.
06:38.49lykenadmin their windows boxes
06:39.08lykenwhich consists of rebooting them once a day and claiming they are god while walking the halls in their cheesy $50 suits
06:39.08cypodoesn't sound that time consuming to me
06:39.23jasonbAnd, they spend lots of time tightening down the firewall so stuff doesn't work anymore.. including stuff that has to work.  :)
06:39.52jasonbOh, and they update virus scanner rules..
06:40.13cypohmm, sounds like a boring job supporting/creating BOFHs ;)
06:40.23jasonbAnd, they spend time with lots of business workers, reminding them that their caps lock key is on.
06:40.25lykenlolz
06:41.02jasonbSo, we, the software engineers, must do the real work on Linux.. and thus we must be root.
06:41.32cypoI guess you're right
06:43.20cypobbl
07:24.00*** join/#tomcat olem_omay (n=omay@dslb-088-072-042-253.pools.arcor-ip.net)
07:28.54*** join/#tomcat zulu909 (n=zulu909@static-213-115-0-20.sme.bredbandsbolaget.se)
07:39.47*** join/#tomcat rah (i=rah@82-45-38-17.cable.ubr01.hawk.blueyonder.co.uk)
07:40.08rahI have a bit of a problem running the example jsp pages
07:40.27rahI'm on fedora core 4, and I installed sun's jdk
07:40.30rahsince then, I get:
07:40.44rahjava.lang.ClassNotFoundException: jsp2.tagfiles.hello_jsp
07:40.44rah<PROTECTED>
07:41.11rahhmm
07:41.15rahspot the mistake
07:42.20rahI actually get:
07:42.26rahjava.lang.ClassNotFoundException: org.apache.jsp.jsp2.tagfiles.hello_jsp
07:42.26rah<PROTECTED>
07:42.32rahand the page reports:
07:42.41rahjavax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jsp.jsp2.tagfiles.hello_jsp or a class it depends on
07:42.44rahorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
07:43.14rahanyone have any idea on what to look at?
07:45.04*** join/#tomcat Asylum (n=who@69-173-186-40.sbtnvt.adelphia.net)
07:45.07rahanyone alive? :)
07:45.21Asylumhello
07:46.09Asylumanyone here use apache on windows?
07:46.22rahnot me I'm afraid
07:47.02Asylumtryin to figure out how to password protect dirs with .htfiles
07:49.05rahapache manual will tell you
07:49.48rahAllocate exception for servlet org.apache.jsp.jsp2.tagfiles.hello_jsp
07:49.50rahoops
07:49.52rahI meant
07:49.56rahhttp://httpd.apache.org/docs/2.2/howto/htaccess.html
07:56.14Asylumdo you know where I would set AllowOverride to look for the files
07:56.58rahin <Directory> entry, iirc
07:57.45rah<Directory />
07:57.45rah<PROTECTED>
07:57.45rah<PROTECTED>
07:57.45rah</Directory>
07:57.47rahoops
07:57.50Asylumsorry ic it httpd.conf
07:57.54rahhttp://httpd.apache.org/docs/2.2/mod/core.html#allowoverride
07:57.57rahlook at that
07:58.15rahas I said, the manual can be a wonderous source of information :)
08:01.49*** join/#tomcat qolume (n=qolume@2001:8e0:abcd:0:0:0:0:ca)
08:01.59qolumemoin
08:02.48qolumei just misconfigured my mod_jk2 module (forgot a ] in the workers file) and apache just segfaulted...
08:02.59qolumeshall i fill a bugreport on tomcat.apache.org?
08:04.55rahyes
08:05.00rahor no
08:05.06rahdepending on what caused the segfault
08:05.11rah:)
08:05.30rahit was probably mod_jk2, so file it with the mod_jk2 authors
08:05.46rah(which I assume would be tomcat.apache.org; I don't know about mod_jk2)
08:09.51boogathis is the newest ver of MOD_JK, right??JK 1.2.15 Source Release tar.gz
08:24.29qolumerah: i think it was mod_jk2
08:24.51qolumebooga: got the one from debian sarge...
08:25.26qolumeversion 2.0.4
08:25.45qolumewell, i'm gonna strace this issue
08:25.55*** join/#tomcat burps (n=burps@228-236-221-213-pool.cable.lan.ch)
08:46.48*** join/#tomcat yassine (n=yel@h-213.61.164.152.host.de.colt.net)
08:47.38yassinegood morning everyone
08:51.18rahgood morning, yassine, how are you? 
08:52.46yassineam fine thanks how about you
08:54.25*** join/#tomcat werewolfi (n=werewolf@alpha651.server4you.de)
08:55.47*** join/#tomcat jsisson (n=sissonj@ppp37-2.lns2.syd6.internode.on.net)
09:00.27rahnot too bad :)
09:01.06rahexcept for the fact that tomcat's examples won't work and gcj files seem to have vanished without cause :)
09:10.12lykenyou are using gcj with tomcat ?
09:10.13lykenlol
09:10.16lykenno wonder it odesnt work
09:10.21lykengcj breaks tomcat
09:11.40rahwell, actually, no
09:11.45rahI'm using sun's jdk
09:11.50rahand it doesn't work
09:14.04rahthe gcj issues are orthogonal
09:14.06rah(I assume..)
09:18.01*** join/#tomcat booga (n=booga@216.66.255.107)
09:23.39rahdoes anyone know why the following error might be caused by trying to access the jsp-examples pages?
09:24.49rahjava.lang.ClassNotFoundException: jsp2.tagfiles.hello_jsp
09:24.50rah<PROTECTED>
09:25.15*** join/#tomcat Vanuatoo (n=vano@213.200.4.246)
09:26.43*** join/#tomcat [a]tomi (n=chatzill@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
09:41.52rahhmm
09:42.03rahthe answer would appear to be: jpackage's tomcat version
09:42.15rahFC4's version seems to work ok
09:42.20rah(with gcj, no less)
09:45.38*** part/#tomcat vinse_ (n=vinse@c-67-169-25-31.hsd1.ca.comcast.net)
09:52.36rahWOHOO
09:52.39rahit works :)
09:52.46rahta ta :)
09:55.07lykenget it working and they leave ..
09:55.08lykenlols
09:59.48*** join/#tomcat rah (i=rah@82-45-38-17.cable.ubr01.hawk.blueyonder.co.uk)
09:59.56rahtomcat works, mod_jk doesn't :)
10:07.26lykenlol
10:07.32lykendont use mod_jk
10:08.33yassinei do  use it
10:08.51yassinerah sure that jk is the problem ?
10:08.51lykeni havent
10:08.54lykenever heh
10:09.24yassinerah did you jkMount your uri ?
10:10.43rahI did indeed JkMount my uri
10:11.00rah[Fri May 05 11:10:52 2006]  [jk_ajp_common.c (1477)]: Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13 failed errno = 13
10:12.15yassineare you sure that your ajp13 pointing to a port nummber where tomcat  is listning ?
10:12.18rahyup
10:12.19rah[edisroh@genesis ~]$ grep port=.*8009 /etc/tomcat5/server.xml
10:12.19rah<PROTECTED>
10:12.20rah[edisroh@genesis ~]$ grep port.*8009 /etc/httpd/conf/workers.properties
10:12.20rahworker.ajp13.port=8009
10:12.35rah<PROTECTED>
10:12.35rahtcp        0      0 :::8009                     :::*                        LISTEN      28513/java
10:13.07rahI don't understand how it can be not connecting
10:14.04yassinerah past your stuff on pastbin the  next time ;) tomcat seem to be fine
10:14.21rahk
10:14.34yassinecan you show me your mod_jk conf  and workers.properties  (past them on pastebine )
10:15.17rahk
10:16.09rah# workers.properties -
10:16.10rah#
10:16.10rah# This file provides jk derived plugins with the needed information to
10:16.10rah# connect to the different tomcat workers.  Note that the distributed
10:16.10rah# version of this file requires modification before it is usable by a
10:16.12rah# plugin.
10:16.14rah#
10:16.17rah# As a general note, the characters $( and ) are used internally to define
10:16.20rah# macros. Do not use them in your own configuration!!!
10:16.22rah#
10:16.25rah# Whenever you see a set of lines such as:
10:16.25lykenegads
10:16.27rah# x=value
10:16.30rah# y=$(x)\something
10:16.32rahsorry
10:16.57rahgood job irssi caught it :)
10:17.29rahhttp://cpp.enisoc.com/pastebin/6938
10:18.39rahhttp://cpp.enisoc.com/pastebin/6939
10:18.45rahfirst is workers.properties
10:18.47yassine1 sec
10:18.59rahsecond is mod_jk.conf
10:20.57yassineand you get the erroe that jk can not connect to tomcat ?
10:21.03rahyes
10:21.14yassinestrange everything seems to be fine
10:21.19rahindeed
10:21.22rahah!
10:21.30rahSELinux
10:21.41yassineso me a favoure stop tomcat and then stop apache
10:21.45yassinestart tomcat
10:21.48yassineand start apache
10:22.06yassinebbl boss is here
10:22.08yassine:(
10:22.13rahk :)
10:23.39rahboo-of-the-motherfucking-yah
10:23.41rahit works :)
10:23.51lykenlol
10:23.55rahSELinux was stopping httpd from accessing the network :)
10:23.55lykenanother happy customer
10:24.03rahdanke :)
10:24.12lykenselinux is more of a pain in the ass
10:35.47[a]tomifirst thing i do is turn it off
10:36.04lykenlol yeh [a]tomi
10:36.46[a]tomi<PROTECTED>
10:36.58lykennice
10:37.11[a]tomilyken: where do you stay?
10:37.20[a]tomiit's almost 4 am here!
10:37.25lykenerr, australia
10:37.29lykeni gues you're in california?
10:37.37lykenor mid west
10:37.38[a]tomiheh yep!
10:37.46[a]tomiOC actually
10:37.54lykenoc has nice beaches
10:38.13lykengot a few places with some decent waves
10:38.29[a]tomialot of hype :)
10:38.52rahlaters all
10:38.55rahthanks for the help :)
10:42.00lyken[a]tomi: they are good for beginners
10:42.06lykenive been to the oc heh
10:42.36[a]tomireally where?
10:43.39lykenmy friend whos a marine from camp penelton to the oc
10:43.44lykenim not sure where
10:43.56lykeni was a 2 day tourist, heh
10:43.57[a]tomidown the 5 freeway
10:44.06lykenthats insane
10:44.15lykenpeople crossing 3 lanes at 90mph!
10:44.58[a]tomithey're lucky they didnt get busted by the Highway Patrol
10:45.06lykener
10:45.13booga90 mph in the OC
10:45.19lykenwe drove passed two that had pulled other people over heh
10:45.28boogaaround 80 is the flow of traffic in the OC
10:45.34booga90 is not unussual
10:45.57lykenspecially around 8-10am
10:46.01boogahowzit Lyken!
10:46.28lykendrunk heh
10:46.33lykeni prolly should stop working
10:46.54boogalol - drinking and playing with the computer can turn out bad
10:47.16lykenheh
10:47.18*** join/#tomcat yart (n=yart76@global1.fusionone.ee)
10:47.24lykeni do it alot
10:47.30lykeni work from home fri-mon
10:47.53boogayou teach mon to fri
10:48.05lykeni dont teach this semester
10:48.07lykenyay
10:48.09lykenonly research
10:48.23boogaresearch = some slack time
10:48.38lykenno, im actually a researcher
10:48.42yartHi Guys. In order to get digested password from clear text I need to use the static Digest() method of the org.apache.catalina.realm.RealmBase class. Could someone tell me what I need to use if want to get from digested password ckear text? Thanks in advance.
10:51.40*** join/#tomcat omay (n=omay@dslb-088-072-042-253.pools.arcor-ip.net)
10:52.45boogaLyken
10:53.07boogaif i change Tomcat's listen port to another, would i encouter problems?
10:53.34boogai would like to change it from 8080
10:54.03boogaclient's router is configured using 8080
10:54.23lykenshouldnt be
10:54.30lykenwhy not have a play with mod_proxy :)
10:54.32lykenthen it'd be 80
10:54.56boogamod_jk is the same - port 80, right?
10:55.10boogamod_jk is what they asked for
10:55.23boogai guess it is what they are accustomed to
10:58.15lykenheh
10:58.27lykenyet they cant setup their router not to use 8080 heh
10:59.13booga8080 is default, and does not have the option to change.
10:59.26lykenheh
10:59.36lykenwell have fun setting up mod_jk ive only done it once
10:59.45lykenand that was 4 yrs ago
11:00.24boogai almost locked myself out of being able to administer their router. it dawned on me just before i was about to click APPLY to setting virtual server to have 8080 point to the server
11:00.46lykenheh
11:01.19boogamod_proxy does the same thing mod_jk does
11:01.45boogaso configuring mod_proxy should not make a difference to them. it should be transparent
11:01.48boogaright?
11:01.55boogato them tat is
11:02.20lykenyup
11:02.27boogahmm
11:02.41lykenexcept setting up mod_proxy takes 10 mins
11:02.45lykenmod_jk can take days heh
11:02.50boogayikes
11:03.46boogacould you post that link to where i can paste text
11:04.22lykenhttp://rafb.net/paste
11:04.51boogahttp://rafb.net/paste/results/fWgxrs88.html
11:05.04boogai have already taken those steps from the readme file
11:05.20boogait didn't seem to do anything, yet
11:05.40lykenheh
11:05.48lykennah thats just making mod_jk i thinks
11:06.27boogamod_proxy readme a little more detailed compared to jk?
11:07.44lykenum
11:07.47lykenits already compiled
11:07.53lykenso youjust have to add two lines to httpd.cnf
11:07.57lykenand one in server.xml
11:08.03lykenrestart both and you're done
11:08.36boogahmm, sounds like it is going to take me days  :-)
11:08.43boogaisn't
11:09.55lykenmod_jk is the daily chore heh
11:10.10boogawhat do you mean?
11:12.14yassineback here
11:12.27yassinehi everyone again
11:12.59boogai guess if i don't make the changes in httpd.conf and server.xml the compiled files and folders for mod-jk will not be doing anything
11:13.11boogamod_proxy is still an option
11:13.23boogahowzit Yassine
11:21.34yassinefine booga  how about you ?
11:44.09*** join/#tomcat traxy (i=trax@88-96-72-166.dsl.zen.co.uk)
11:46.47*** join/#tomcat Count (n=count@ppp11-221.lns1.syd7.internode.on.net)
11:47.39Counti have a pair of files locked up by the security constraints in XML, i want one file to be accessed by one user role, and another to be accessed by a different user role, how would i do that?
11:47.52Countdo i have to declare another security constraint tag set, or what?
11:54.01Counti take it the question was poorly phrased or confusing?
11:54.30Asylumhey guys if I am behind a router and my http server is on a machine with a local ip and I want to access the website on it from online how would the syntax be? --> http://my-ip-here is my router I want to access computer from router like http://my-ip-here/computername is there anyway of doing that?
11:55.20Countyou'd need to haev your router port forward your tomcat port to your local machine
11:55.33Countthen you can use http://my-internet-ip/webappname
11:56.10Asylumi have the virtualhost set for port 80 on the locasl machine
11:56.24Countok, then port forward 80 to your local machine, rinse and repeat
11:57.09Asylumwhen i try I just get the routers 404 page, thinking it might just be garbage
11:57.37Countdo you access your server using the port call in your URL as well? http://my-local-ip:80 ?
11:57.46Asylumno
11:57.59Countok
11:57.59Countum
11:58.01Asylumshould i
11:58.02Counti'm not sure what's up then
11:58.17Countwell, you can try, if you've port forwarded, your router will only let you connect through the ports you forwarded
11:58.29Countyour browser isnt smart enough to connect automatically to the right port, try it and see
11:59.47Asylumlol no ie is less than smart
12:03.43*** join/#tomcat JCreator (n=gazeluta@aniada.is.ew.ro)
12:03.51JCreatorhi
12:04.07JCreatorhaving a servlet with a static field, could i get exceptions if i process that field in doGet (for example) considering that the server could receive multiple get requests for this servlet simultaneusly?
12:16.43*** join/#tomcat Uviz (n=vee@user-112111l.dsl.mindspring.com)
12:18.01JCreatorhow can you create a log for a servlet on the server?
12:18.17JCreatori've tried getServletContext().log("my error message");
12:18.31JCreatoror
12:18.31JCreatorerr = new PrintWriter ("myLog.log"); err.println("my err msg"); err.close();
12:57.26*** join/#tomcat CanyonMan (i=chrisp@cpe-66-66-129-249.rochester.res.rr.com)
13:29.41*** join/#tomcat bdudney (n=bdudney@71-212-167-32.hlrn.qwest.net)
13:30.27*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
13:52.47*** join/#tomcat zulu909_ (n=zulu909@static-213-115-0-20.sme.bredbandsbolaget.se)
14:42.00*** join/#tomcat agathon (n=nils@p54BCD208.dip.t-dialin.net)
14:43.13agathonhello :) i alwas get the same error "noclassdeffounderror com.pdflib.pdflib"
14:44.05agathonwhen i try to import the package in jsp no error is given but when i want to crate a new object of the class it returns this error
14:44.57agathongij is running with pdflib.jar in it´s classpath
14:45.26agathonand pdflib is also in shared/lib and common/lib
14:46.00CanyonManusually
14:46.10CanyonManNoClassDefFoundError
14:46.23CanyonManmeans that it was able to locate the class that you want, but that some class that it needs
14:46.43CanyonManeither a superclass that it extends, or an interface that it implements
14:46.58CanyonManeither (1) could not be found or (2) is already loaded, but using a DIFFERENT classloader, which is not allowed.
14:49.10agathonin pdflib.java it sais public final class pdflib{
14:51.41*** join/#tomcat shanky (i=jramirez@217.11.114.145)
14:52.05shankygood afternoon
14:52.38shankyI have just install tomcat using apt-get in ubuntu
14:53.02shankyI have also chmod shutdown.sh and startup.sh, and executed them
14:53.31agathonthe jdbc.jar is so easy to install just place it in lib and it worksbut pdflib is a mystery
14:53.56shankyand I can see "tcp6       0      0 ::ffff:127.0.0.1:8005   :::*                    LISTEN     12744/java" with netstat but I can't connect
14:54.00shankymmm, it says tcp6
14:54.10shankyI'm gonna check that
14:57.16shankyany idea where to change that?
15:09.53*** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
15:15.17*** part/#tomcat shanky (i=jramirez@217.11.114.145)
15:15.25*** join/#tomcat lamech (n=dan@cheshirecat.manxome.org)
15:24.59*** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net)
15:29.24*** join/#tomcat codejunky (i=nobody@codejunky.org)
15:46.41CanyonManHmm, I kind of want some webapps to be able to access other webapps' contexts to retrieve attributes out of them, but I don't really want to turn that on globally
15:47.09lykenthat doesnt sound dodgy at all..
15:47.29CanyonManNo?
15:49.13CanyonManI'm trying to figure out a better way to do it that isn't too complicated
15:49.31lykenwhy would you be accessing stuff from another application?
15:49.35CanyonManand, in particular, one that allows me to some time in the future place the communicating webapps on different servers
15:49.38lykenthat doesnt seem like a very well programmed solution
15:49.45CanyonManoh well let me explain then
15:50.01CanyonManone collection of webapps collect data and put it into a database
15:50.23CanyonMana second collection of webapps make use of that data in various ways.  Currently they communicate with each other only through the database
15:50.27CanyonManbut this isn't terribly efficient
15:50.39lykenwell thats the best programmatical way to do it
15:50.50lykenthrowing it up any higher in the application will make it a lot slower
15:51.12CanyonManbecause of synchronization ?
15:51.28lykenlet me guess, you're using mysql?
15:52.15CanyonManI'm actually using a third webapp called xdb (that I wrote) ... it is mostly databse independent.  But there is a jdbc driver (taht i also wrote) for it
15:52.27CanyonManI've done a lot of testing under mysql yeah, but not exclusively
15:53.01lykenif they are both talking to the same database as by the sound of it is inserting while the other is selecting or updating
15:53.25CanyonManyes, basically accurate
15:53.37lykenhow would there be synch issues?
15:53.52lykenits just like having a data entry system and a reporting system
15:53.57lykensounds like a typical bunch of apps to me
15:54.00CanyonManThe app that uses the data is MOSTLY interested in the most recent status of the data points inserted
15:54.12lykenif anything id create an API of common function calls that all the apps use
15:54.26lykenso thats not your application
15:54.28CanyonManSo the idea I am exploring here (maybe it's a bad one) is a way to allow the consumer to directly get the latest state of each signal
15:54.30lykenyour database should track that
15:54.38CanyonManrather than going through the database
15:55.03CanyonManMaybe it's a dumb idea.  The database table cache will make it not that expensive i suppose.
15:55.06lykenso you just want to cache your db queries ?
15:55.18lykenwhich i dont see a point in doining
15:55.29lykenunless your getting 10k users at the same time
15:55.31CanyonManok the producer is doing this
15:56.09CanyonManit is polling a number of I/O devices, each one with a number of signals with their own states.  Think of a fire alarm system.
15:56.27lykenyes
15:56.29CanyonManAll that webapp does is collects the data, and if the data has changed, writes it to the database (it also writes things like heartbeat records etc)
15:56.31lykenive built systems like this
15:56.36CanyonMancool
15:56.42lykenfor house control systems
15:56.47CanyonManoh really??
15:56.50lykenyes
15:56.54CanyonManProfessionally or just for fun?
15:56.57lykeni wrote my thesis in it at college
15:57.01lykenon it..
15:57.07CanyonManOh, cool!  can I read it?
15:57.10lykenand i will do my PhD in it also
15:57.19lykenits not online atm
15:57.20CanyonManNo kidding.  Where do you go to school?
15:57.30lykenUniversity of Queensland in australia
15:57.36CanyonManNeat!
15:57.48CanyonManThe thing I am working on is mostly for home automation as well
15:57.52lykeni wrote that back in 2001
15:57.59CanyonManIt's hooked up to my home security system which is on a Modicon PLC, speaking modbus
15:58.01lykenmine was  awatering system
15:58.09lykenwatering..
15:58.11CanyonManso the data collector I am talking about is actually using modbus to grab data
15:58.14lykenand matering system
15:58.25CanyonManI also have an xfig based gui that runs in a webstart app
15:58.26lykenyeah i used postgresql for my db
15:58.31CanyonManah cool
15:58.41CanyonManOne of the things I did not want to do was directly expose the database though
15:58.41lykencause it could handle all the updates i was doing
15:58.51lykenabout 6000/min in my little test system
15:59.09CanyonManso external access to the database is through my own database (jdbc) driver that I wrote that uses a very simple XML record format like this:
15:59.14lykenand then i have a weather station that does db inserts every minute
15:59.33lykenwhy have you gone to all that trouble of obviscating it ?
15:59.47CanyonManWow
15:59.53CanyonManDo you think we were separated at birth?
16:00.05lykeni wrote server that took all that and inserted it
16:00.17lykenthen i had a java front end and a web based system for control and reporting
16:01.10CanyonManobfuscating the database access you mean?  A bunch of reasons, one of them is to allow me to write something sort of like stored procedures but in java, and for databases that don't support stored procedures on their own ... and to impose a higher level of security.  Also I wanted it to be completely accessible through http/https.  And SOAP wasn't a good fit.
16:01.14lykenive designed a complete home automation, integrated home solutions
16:01.27CanyonManAnd there is an ANSI spec for XML recordsets but it is extremely heavy
16:01.29lykendude
16:01.32lykenpick a db and stick with it
16:01.46lykenyou will spend too much dev time getting to the data then actually playing with it
16:01.49CanyonManDo you do any X10 work too?
16:01.56lykennot anymore
16:01.59lykenits old and horrible
16:02.06CanyonManbut cheap!
16:02.14lykenmost of my stuff i wrote/designed myself
16:02.30CanyonManhey that's neat
16:02.36lykenof course its cheap, cause its juts like sticking something onto the side of a device
16:02.40lykenits not integrated
16:02.52CanyonManIs your major CS ?
16:02.58lykenit was eys
16:03.09CanyonManwas, eh?
16:03.11lykeni designed the sensors and controllers
16:03.21lykenbut got some EE to finalize it and build it
16:03.24lykenas it wasnt my field
16:03.30lykenmine was software and User interface design
16:03.37CanyonManThat's mainly my field, I'm an electronics guy
16:03.49lykenhomePLug, now that is handy
16:03.59lykenor elvin, they have controllers that work over powerlines and tcp/ip
16:04.04lykenthere are many systems around now
16:04.11CanyonManI have a lot of hope for zigbee but the stuff is pretty experimental right now
16:04.13lykenall my garden sensors used FM
16:04.17lykenand very simple control signals
16:04.32lykenthey self charged thanks to solar panels
16:04.41lykenbut i didnt extensively test them
16:04.55lykenas i had only one year to design, build, test and report it
16:05.01CanyonManyeah.
16:05.16lykenbut it kinda worked having had to restart the project 4 months in
16:05.57lykencause it wasnt just a normal watering system
16:06.01lykenit went by a set of rules
16:06.13lykenit would only water on days it was authrosied to, and when the garden actually needed watering
16:06.54CanyonManneat.
16:06.58lykenyeh
16:07.11lykenand my PhD thesis which im working on expands it
16:07.32CanyonManone of the thigns I want to be able to do is to have external classes that are possibly also servlets that monitor the signals for changes and take certain actions, mainly notifications
16:07.49lykenwhy would you do that in a web application ?
16:07.55lykenseems like lots of overhead to me
16:08.01lykenid make a java server that did all that for me
16:08.07lykenand then a web app too look at the data
16:08.13CanyonManIt doesn't have to be
16:08.38lykeni spent 3 years researching home automation and 'smart' homes
16:08.45lykenand im gonna spend another 4, heh
16:08.56CanyonManbut I don't want those notification applications to have to poll for their status
16:09.27lykensounds like its gonna need some beefy hardware to run
16:09.38CanyonManI want them to receive the notification asynchronously
16:09.51lykenthen write an asych app? :)
16:11.21CanyonManthat's the idea
16:12.06CanyonManwhich is why I asked the question that I began with ... the thing that is collecting the data is (today) running as a webapp
16:12.21lykenwell id say access is through the db
16:12.31lykenmaking webapps talk is more effort than its worth
16:12.59CanyonManyeah.
16:14.01CanyonManIt's lunchtime here, I am goign to go grab a sandwich.  It was nice to meet you, especially in that we (apaprently) have similar interests
16:14.07CanyonManHope to talk to you more
16:14.21lykenaights dude
16:21.12*** join/#tomcat burps (n=burps@228-236-221-213-pool.cable.lan.ch)
16:49.58*** join/#tomcat NorthDragon (n=IzhikovN@otr.nline.ru)
16:50.21*** part/#tomcat NorthDragon (n=IzhikovN@otr.nline.ru)
17:13.50*** join/#tomcat Vanuatoo (n=vano@213.200.4.246)
18:40.28*** join/#tomcat mikeyb_work (n=michael@66-193-82-209.gen.twtelecom.net)
18:40.59mikeyb_workis there any way to get tomcat to create an ssl-request.log for SSL requests, similar to the way apache does it?
18:46.46*** join/#tomcat booga (n=booga@216.66.255.107)
18:47.36boogaanyone awake?
18:48.35boogai know this is not Tomcat related, but people here know thier way around linux.
18:48.37boogaIs there a way to restart SSHD without restarting the computer?
18:49.28boogaI found that after editing sshd_conf, the settings did not take unless i restart the test computer
18:49.58boogai should look for a linux channel for this   :-)
18:50.53traxyalso depends on distro rhel/centos you can do 'service sshd restart' as root
18:51.27*** join/#tomcat Hugh_ (n=Hugh@puma.mxtelecom.com)
18:55.45mikeyb_work"/etc/init.d/ssh restart" or "/etc/init.d/sshd restart"
19:00.41burpsif i set CATALINA_HOME on windows, can i use it in ant like ${env.CATALINA_HOME} ?
19:19.57*** join/#tomcat bear (n=bear@c-71-230-109-9.hsd1.pa.comcast.net)
19:20.52bearhi all - figured I would ask and find out if someone already has done the fun work before I go and create a windows batch file to start tomcat
19:21.27beargoogle seems to be finding service related scripts
19:35.49chrismontomcat comes with such scripts
19:36.10chrismonstartup.bat, shutdown.bat
19:44.50bearyea, just realized that I was working with the linux distribution
19:45.04bearso I downloaded the zip and lo-and-behold -- batch files :)
19:45.40bearand they are written like I thought they would have to be so I feel better now :)
19:57.28*** part/#tomcat bear_afk (n=bear@c-71-230-109-9.hsd1.pa.comcast.net)
19:58.17*** join/#tomcat jajmon (i=xr4y@c-9a2ce055.72-1-64736c11.cust.bredbandsbolaget.se)
20:01.37jajmonhi, why do i get "java.lang.InstantiationException: bean user not found within scope " ? shouldnt it be instantiated if it's not found?
20:02.20jajmon<jsp:useBean id="user" scope="session" type="model.User" />
20:02.32*** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
20:07.22jajmonaha! i should have used class="model.User" instead of type="model.User"
20:37.01*** part/#tomcat celerex_ (i=boogy@72.53.1.97)
22:01.29*** part/#tomcat mikeyb_work (n=michael@66-193-82-209.gen.twtelecom.net)
22:17.32*** join/#tomcat yassine (n=yassine@xdsl-84-44-177-31.netcologne.de)
22:29.52yassinehi everyone
22:37.12jasonbhi yassine
22:38.14yassinehi jasonb how is everything ?
22:57.17*** join/#tomcat blom (n=blom@141.228.156.225)
23:18.36jasonbyassine: busy busy, as usual.  So, good I suppose.
23:28.20yassine:) okay
23:35.35jasonbHow about you?
23:55.25jasonbThat busy, eh?  :)
23:58.31yassinei was trying to get oracle 10g runs on my debian box
23:59.02yassineokay jasonb  good night im out to sleep now

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.