irclog2html for #tomcat on 20051111

00:10.39jasonbSixpipe: What error are you seeing?
00:35.07Sixpipei'll paste the error message onto pastebin .. one sec
00:35.11Sixpipejasonb, you still there?
00:36.04Sixpipehttp://pastebin.com/424987
00:40.34Sixpipecool
00:40.44Sixpipeyea, that pastebin link is my error msg
00:41.53jasonbSixpipe: Your installation will likely never work properly.
00:42.08Sixpipejasonb: why's that?
00:42.19Sixpipeor do you just mean in general?
00:42.24jasonbSixpipe: Tomcat requires Java.  What you're running isn't actually Java.
00:42.34jasonbSixpipe: Let me guess.. are you running Fedora Core 4?
00:42.39SixpipeYep
00:42.45jasonbYeah..
00:42.48Sixpipe:(
00:43.20jasonbFedora comes bundled with what RedHat and the FSF want you to use, which isn't Java.. it's an open source project that may one day implement Java, but today only implements a broken subset of Java.
00:43.20SixpipeIs there not a fix for it?
00:43.48SixpipeI see
00:44.16jasonbThe fix is: rip out your Java RPMs (this part isn't as easy as it sounds -- they don't want you to do it), rip out your Tomcat RPM, install Sun's (real) Java RPM, install a Tomcat from either my RPM or an official realease tarball from tomcat.apache.org.
00:45.21SixpipeSounds tough ..
00:45.29jasonbI have info about which packages to remove, and in what order, so that FC4 can be free of the incompatible/incomplete Java.. but it still isn't real easy yet.
00:45.42jasonbDid you just install your FC4?
00:46.11SixpipeA month or so ago
00:46.17Sixpipeand I updated the kernel
00:47.07jasonbI run basically only FC4 at this point.  Every machine I install it on, I go through this process, so I'm beginning to log how I'm doing it.
00:47.27SixpipeIt's daunting .. I'm not sure what applications use which java, but I've got about ten different java folders for different versions
00:47.28jasonbI've already tried just removing a subset of the bad packages -- this ended up not working on my machines.
00:47.46SixpipeOk
00:47.48jasonbYeah, there's a long list of packages, actually.
00:48.28jasonbYou can optionally not install them at install time, but if you already chose to install them (by default), then afterwards it's tougher to get rid of them.
00:48.28*** join/#tomcat valmont_ (n=chrishol@germany.pspdev.pas.earthlink.net)
00:49.14SixpipeThat stinks
00:49.15jasonbI'm seriously considering writing a new script to do it, but I would need to install a new FC4 inside of qemu to really test it, and that takes some time.
00:49.54jasonbExpress your dissatisfaction to the Fedora maintainers.
00:50.12jasonbYou're certainly not alone.
00:50.24SixpipeWell, I actually have to run right now, dinner and stuff with my g/f. But I'm really interested in this ... should I just say your name in here sometime later?
00:50.32*** join/#tomcat Lin-- (i=Linux@quest.woobies.org)
00:50.33jasonbSure.
00:50.36jasonbI'm usually in here.
00:50.45jasonbAnd, when I'm not, others can probably help.
00:50.50SixpipeCool, I'll try to get ahold of you
00:50.50Sixpipek
00:50.57jasonbHave fun.  :)
00:51.00Sixpipe:)
01:34.19*** join/#tomcat algebra (n=yel@xdsl-84-44-153-25.netcologne.de)
02:02.36*** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp)
02:42.58*** part/#tomcat LpSolit (n=LpSolit@231.108.203.62.cust.bluewin.ch)
03:17.20*** join/#tomcat Zangdar (n=jordimcl@ASt-Lambert-109-1-6-237.w193-252.abo.wanadoo.fr)
03:39.21Lin-hi, i have tomcat and apache set up to use the mod_jk to pass requests, i can see that my worker process is listening, but it seems that apache is unable to forward requests to tomcat. What might be the problem?
03:41.09*** join/#tomcat randrew (n=user1@70.194.96.146)
04:19.52*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
04:21.31Lin-hi, now i can see apache is connected with tomcat from netstat, but when i tried to access a file, it just displayed blank page. nothing on the error log of apache, nor of tomcat. any suggestion?
04:44.04*** join/#tomcat ohsix (i=ohsix@bc111224.bendcable.com)
04:48.59*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:58.42*** join/#tomcat Zangdar`Away (n=jordimcl@ASt-Lambert-109-1-6-237.w193-252.abo.wanadoo.fr)
05:32.45*** join/#tomcat vinse (n=alon@ppp-71-139-116-38.dsl.snfc21.pacbell.net)
05:35.07*** join/#tomcat jsisson (n=sissonj@210-0-83-196.nexnet.net.au)
06:13.13randrewLin-: if you can send a request that generates an error, then you can probably tell whether the error is from tomcat or apache. that's where i'd start...
06:13.38Lin-i found the problem, it was because i didnt create any context
06:14.45Lin-it didnt generate any errors. i found the problem after i used RequestDumperValve
06:18.02randrewLin-: interesting
06:18.15Lin-ya i got the 400 code
06:32.55*** part/#tomcat jsisson (n=sissonj@210-0-83-196.nexnet.net.au)
07:51.03*** join/#tomcat viyyer (n=viv@59.176.12.214)
08:11.41roel-I'm using Tomcat 5.0, and EL works for applications under the host's /webapps/ dir (i.e. jsp-examples), but not for a custom webapp I have defined using a <context> tag.. any idea why?
08:13.14*** part/#tomcat viyyer (n=viv@59.176.12.214)
08:23.59*** join/#tomcat omay (n=Oleg@dslb-084-059-184-152.pools.arcor-ip.net)
08:27.06*** join/#tomcat xs4all (n=5c7@71.246.224.164)
08:28.17xs4alle`l-o
08:47.59roel-w00t, fixed it
08:48.11roel-<- happy camper
08:48.23*** join/#tomcat silverwolf (n=silverwo@x1-6-00-d0-68-06-20-94.k592.webspeed.dk)
08:59.35*** join/#tomcat sanj (n=sanj@202.62.76.232)
08:59.49*** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net)
09:04.13*** join/#tomcat harpoon (i=stueber@ultra20.rbg.informatik.tu-darmstadt.de)
09:11.58*** join/#tomcat Vanuatoo (n=vanob@213.200.4.246)
09:37.56*** join/#tomcat noodl (i=hidden-u@195-97-225-122.onyx.net)
09:59.32*** join/#tomcat amlan (n=opera@69.88.3.12)
10:00.15amlanhi all
10:00.46amlanis this java server channel??
10:01.03amlanI am newbie
10:01.09amlanwanna learn tomcat
10:01.23amlanhow to kick off?
10:07.30roel-install it, haha
10:08.03amlanya...i've installed
10:09.15amlanhave one prob.....
10:09.20amlanwith init-param
10:18.06xs4all^^
10:18.18xs4allg2g, cYaZ
12:03.10*** join/#tomcat amlan (n=opera@69.88.3.12)
12:32.39johnnihi all
12:32.54johnnianyone know how to use tomcat??
12:35.37*** join/#tomcat M4g3 (n=M4g3@spellfire.dcs.qmul.ac.uk)
12:35.47M4g3hello everyone
12:36.18M4g3can i set custom logs for every user running their servlet/jsp and point them to the location of my choice
12:36.25M4g3different location for every user
12:36.46M4g3thx
12:49.10*** join/#tomcat johnni (n=opera@69.88.3.12)
13:44.06*** join/#tomcat johnni (n=opera@69.88.3.12)
14:58.10*** join/#tomcat Sixpipe (n=Sc@71-12-179-114.dhcp.leds.al.charter.com)
15:20.18StarScreamM4g3: i would like to know how to do that too
15:44.07*** join/#tomcat dreivier (n=dreivier@p54B39039.dip0.t-ipconnect.de)
16:23.36*** join/#tomcat dreivier (n=dreivier@p54B39039.dip0.t-ipconnect.de)
16:28.14*** join/#tomcat randrew (n=user1@70.194.77.9)
16:30.24*** join/#tomcat FreemaniaPrime (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
16:59.13*** join/#tomcat Zangdar (n=jordimcl@ASt-Lambert-109-1-6-237.w193-252.abo.wanadoo.fr)
17:10.50FreemaniaPrimeI'm starting to lose my faith in tomcat
17:10.59FreemaniaPrimeor Realms at least
17:12.22*** join/#tomcat dreivier (n=dreivier@p54B39039.dip0.t-ipconnect.de)
17:28.52jasonbFreemaniaX: Realms are touchy.. they always have been.  But, at least the stock implementations have been heavily used & debugged.
17:29.08jasonbFreemaniaX: Except maybe for the JAASRealm.  :)
17:30.03FreemaniaXYeah, the stock implementations are great
17:30.38FreemaniaXMy main problem is that I need to check users in 2 separate tables
17:31.46FreemaniaXso I need to tweak those StringBuffers in the realm classes
17:32.19FreemaniaXWhat is weird is that my realms work fine in 5.0 and not is 5.5.12
17:33.00jasonbThings change a bit.
17:33.14FreemaniaXI read on the list that someone was able to get their realm working if the named their package in the org.apache hierarchy
17:33.56FreemaniaXyeah they did but I was using DataSourceRealm.java as my template
17:35.22FreemaniaXI keep getting this on start up: http://pastebin.com/425681
17:35.33FreemaniaXI'm comsing a message to the list now
17:36.23jasonbSend a mail to the tomcat-dev list.
17:36.58jasonbYou should turn on verbose classloading in your JVM.
17:37.03*** join/#tomcat linuxfreck (n=freck@p54928475.dip0.t-ipconnect.de)
17:42.41FreemaniaXjasonb, what is the switch for that again?
17:42.45FreemaniaX-debug?
17:44.45jasonbHmm.. something like -verbose:class or -Xverbose:class ?
18:25.33Sixpipejasonb: How's it goin?
18:25.55jasonbSixpipe: Hi there.  It's going okay.
18:26.28SixpipeI think I'm going to try to do what you said, completely get rid of my java and tomcat stuff and start from the beginning
18:26.45SixpipeI was talking to you yesterday about the errors the java env has with tomcat on fedora core 4
18:26.57jasonbYeah.
18:27.06SixpipeAny advice?
18:27.15jasonbFC4 is a great OS once you get rid of the incompatible Java packages.
18:27.29jasonbHow good are you with RPM?
18:27.35Sixpipenot :(
18:27.54jasonbHmm.
18:28.02SixpipeI'm pretty new to linux, but I pick up things quickly
18:28.34jasonbWell, I wish I could spend time with you and do it today, but I have to go in a few mins.
18:28.50jasonbBut, I can give you the list of packages to remove, at least.
18:28.56Sixpipek cool
18:29.05SixpipeYea, I'm in no rush. I just appreciate the help
18:32.34jasonbSixpipe: http://www.rafb.net/paste/results/GnYgjk97.html
18:33.04SixpipeWow, that's a good bit.
18:33.08SixpipeThanks
18:33.13jasonbSixpipe: There are a large number of packages to remove.  Do not worry about that.  Removing all of those will not harm your FC4 at all.
18:33.25SixpipeCool, that's what I was worried about
18:33.35Sixpiperpm -remove each of those?
18:33.49jasonbSixpipe: That list is organized in package groups.  The first line is just the group name.. it's not a package name so don't try to "rpm -e" that one.  Just everything under each group name.
18:33.58Sixpipek
18:34.19jasonbIf you are able to successfully remove all of those, then your FC4 will be "clean" of the broken Java, and broken Java compiled applications.
18:34.22SixpipeIf I installed them with a package manager like yum, should I uninstall them with yum too?
18:36.02jasonbSixpipe: I'm not yet sure how to do that.. nor whether doing it that way is best (does it end up removing exactly the same set of packages?  I don't know this yet).
18:36.24Sixpipek, so how you've done it is with rpm -e ?
18:36.32jasonbSixpipe: All I know is: when I remove that list of packages, my system works fine after that.. when I install Sun's Java RPM and a different Tomcat from tomcat.apache.org.
18:37.15Sixpipejasonb: Good deal man thanks. I'm gonna see what I can do
18:37.20jasonbYes, theoretically you could rpm -e each one individually.  But, I labeled a couple of them specifically to be removed at the end.  Don't remove those until the end like they're noted.
18:37.31SixpipeOk, yea I saw that
18:38.05jasonbThis is my own list of packages.. took me hours to make that list.  But, I believe it's right, at least for a stock FC4 "everything" install.
18:38.25Sixpipecool
18:38.27jasonbSo, now you at least have one way.
18:38.29SixpipeIs there a way to force uninstall?
18:38.36SixpipeLast q
18:38.45jasonbrpm -e --nodeps <packagename>
18:39.05Sixpipe:) Thank you
18:39.23jasonbAlso, you may do pm -e --nodeps <packagename1> <packagename2> <packagename3>
18:39.43SixpipeAh ok
18:39.53jasonbJust save those last couple of packages to do individually at the end.
18:39.59Sixpipek
18:40.06jasonbThat's pretty much it.
18:40.33SixpipeOk I'll get to work and start on that. Maybe I can figure all this out.
18:40.34Sixpipe:)
18:41.53jasonbSixpipe: Also, here are some other FC4 tips.. things I do to a fresh FC4 after installation: http://www.rafb.net/paste/results/tSj2Xq59.html
18:42.15SixpipeAwesome
18:58.26*** join/#tomcat sleestak (n=sleestak@c-24-0-212-154.hsd1.tx.comcast.net)
20:22.30*** join/#tomcat AiZ (n=aiz@200.47.87.20)
20:23.05AiZhello.. i installed all the required packages to run a .WAR file on debian... now where I should place that file?
20:26.21FreemaniaXIs there anyway to make Digester tell which xml file it's choking on?
20:30.14FreemaniaXand mbean descriptors don't actually have to be called mbean-descriptor.xml , right?
20:33.31*** part/#tomcat AiZ (n=aiz@200.47.87.20)
20:34.10*** join/#tomcat dreivier (n=dreivier@port-212-202-44-204.dynamic.qsc.de)
20:35.00jasonbFreemaniaX: It's automatically found if it's called "mbeans-descriptor.xml" (something like that.. random plurals).  But, there is also a way to specify the name of the mbean descriptor file.. I just don't remember it off the top of my head.  I can dig it out if you need the answer, though.
21:07.08FreemaniaXyes, I do jasonb
21:07.13FreemaniaXI'd appreciate it
21:07.23FreemaniaXI have more than one descriptor file
21:08.45FreemaniaXmy server.xml has this :  descriptors="/com/my/AaxisRealm-mbean.xml;/com/aaxistechnologies/SwitchRealm-mbean.xml;/com/my/UnifiedRealm-mbean.xml"
21:10.56FreemaniaXnot sure if that is right
21:31.51*** join/#tomcat dreivier (n=dreivier@port-212-202-44-204.dynamic.qsc.de)
21:33.32*** join/#tomcat alex777 (n=drcool@nolmstd-cadent1-24-53-69-66.clvdoh.adelphia.net)
21:33.33jasonbFreemaniaX: That looks right.  Let me look at how I had been doing that.. hold on.
21:33.59alex777ok, quick question, I looked on google, but my search skilles seem to lack :)
21:34.11alex777how do I get the full path for a webapp
21:34.27alex777like, http://host:port/webapp_folder/ etc
21:37.32jasonbalex777: Hold on.
21:37.45alex777yep, np
21:41.54*** join/#tomcat wstoddard (n=wstoddar@bi01p1.nc.us.ibm.com)
21:44.44jasonbFreemaniaX: Looks like I no longer have that answer.  I eventually figured out that if you name the file "mbeans-descriptors.xml" and you place it in the right classloader dir, it gets automatically picked up, so I removed my server.xml config attribute for it.
21:45.07jasonbFreemaniaX: But, I know now for sure that the name is "mbeans-descriptors.xml" (note both of the plurals in there!).
21:45.37FreemaniaX2 plurals, eek
21:48.02jasonbFreemaniaX: Actually, looking more through my build files, I think the main global Tomcat one is named that, and then for your own component it must be called "mbean-descriptor.xml", and placed in the same package directory of the class you're configuring.
21:48.06FreemaniaXmaybe the name doesn't matter because in the tomcat 5.5 docs : "The descriptions of JMX MBeans for Catalina are in the mbeans-descriptor.xml file in each package."
21:48.21jasonbFreemaniaX: Sadly, there are strange inconsistencies like this that break things.
21:49.25jasonbFreemaniaX: I think the name *does* matter, and I think those docs are wrong, that the name really is "mbean-descriptor.xml" for any random package (this is the filename that gets automatically detected).  And, for the global Tomcat one it is "mbeans-descriptors.xml".
21:50.37jasonbalex777: Now, as to your question..    "how do I get the full path for a webapp"..  This depends on your definition of "I".
21:50.55jasonbalex777: So, that's likely why you haven't already found the answer (via google, or otherwise).
21:51.17jasonbalex777: What is it, more specifically, that you're trying to do?
21:51.35alex777I'm trying to build some links that refer to my webapp location
21:52.54alex777and I need to pass the whole link to the webapp location
21:53.16alex777since the webapp will reside on multiple servers probably, so each will have a different link
21:55.50jasonbSo the thing containing the href link.. is that part of your webapp?
21:56.01alex777yes
21:56.36jasonbOkay, so you're asking from a JSP or servlet developer perspective, how one uses the servlet API to obtain the full URL to the webapp in which the servlet or JSP resides?
21:56.46alex777exactly
21:57.58alex777I'm using java 1.5 and tomcat 5.5.x
21:58.11alex777jdk*
21:58.16jasonbOkay.. just a sec.. my JavaDocs aren't accessable.. I have to fix that first.
21:58.31vinse_alex777: you build it from a couple pieces ... also do you want the url that the user has in their browser, or the real url, i.e. the url after server side redirects?
21:59.07alex777the url that the user has in the browser should be enough
21:59.29alex777jasonb sure
21:59.40jasonbThere's some getRequestURL() method somewhere.
21:59.58jasonbSun has aparently made it very hard to download the JavaDocs at this point.
21:59.59vinse_in HttpRequest iirc
22:00.19vinse_~javadoc HttpServletRequest
22:00.24vinse_bah wrong channel
22:00.31vinse_jasonb: get us a bot!
22:00.52alex777heh
22:00.59alex777how about the real url ?
22:01.13vinse_http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html
22:01.31vinse_in there i think
22:01.41alex777ok, cool, thanks
22:02.11vinse_there it is, jasonb was right
22:02.24vinse_getRequestURL for the one the client used
22:02.32jasonbvinse_: Thanks for the URL..  yes.. it's in there.
22:02.35jasonbhttp://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getRequestURL()
22:03.05alex777yep, I see it
22:03.11alex777thanks
22:03.26vinse_jasonb: i have the links to them all on my personalized google page, one click from any connected computer!
22:03.43vinse_jasonb: i'm a big fan of the personalized google page
22:04.06vinse_i had it include quotes of the day
22:04.09vinse_Paradise is exactly like where you are right now... only much, much better.
22:04.09vinse_  - Laurie Anderson
22:04.16jasonbheh
22:04.57vinse_i had to remove all the news links from it and stuff
22:05.11vinse_like slashdot rss and the new york times
22:05.21vinse_got distracted everytime i went to look something up!
22:05.26jasonbheh
22:09.44jasonbSixpipe: Did the package removal work?
23:22.30*** join/#tomcat Kentrak (n=kentrak@office1.ct.vpn.cleartunnel.net)
23:28.30*** part/#tomcat Kentrak (n=kentrak@office1.ct.vpn.cleartunnel.net)
23:32.16*** join/#tomcat snibri1 (n=jh@p54A3C23E.dip.t-dialin.net)
23:38.33*** join/#tomcat yel (n=yel@xdsl-87-78-33-205.netcologne.de)
23:38.38yelhello everyone!
23:42.09*** join/#tomcat wstoddard (n=wstoddar@cpe-066-057-029-054.nc.res.rr.com)
23:51.08Lin-hi, i keep getting this error The requested resource (/~username/dir/index.jsp) is not available. I've got a context like this <Context path="" docBase="/home/username/public_html/dir" reloadable="true" /> Am i missing something?

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.