00:10.39 | jasonb | Sixpipe: What error are you seeing? |
00:35.07 | Sixpipe | i'll paste the error message onto pastebin .. one sec |
00:35.11 | Sixpipe | jasonb, you still there? |
00:36.04 | Sixpipe | http://pastebin.com/424987 |
00:40.34 | Sixpipe | cool |
00:40.44 | Sixpipe | yea, that pastebin link is my error msg |
00:41.53 | jasonb | Sixpipe: Your installation will likely never work properly. |
00:42.08 | Sixpipe | jasonb: why's that? |
00:42.19 | Sixpipe | or do you just mean in general? |
00:42.24 | jasonb | Sixpipe: Tomcat requires Java. What you're running isn't actually Java. |
00:42.34 | jasonb | Sixpipe: Let me guess.. are you running Fedora Core 4? |
00:42.39 | Sixpipe | Yep |
00:42.45 | jasonb | Yeah.. |
00:42.48 | Sixpipe | :( |
00:43.20 | jasonb | Fedora 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.20 | Sixpipe | Is there not a fix for it? |
00:43.48 | Sixpipe | I see |
00:44.16 | jasonb | The 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.21 | Sixpipe | Sounds tough .. |
00:45.29 | jasonb | I 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.42 | jasonb | Did you just install your FC4? |
00:46.11 | Sixpipe | A month or so ago |
00:46.17 | Sixpipe | and I updated the kernel |
00:47.07 | jasonb | I 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.27 | Sixpipe | It'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.28 | jasonb | I've already tried just removing a subset of the bad packages -- this ended up not working on my machines. |
00:47.46 | Sixpipe | Ok |
00:47.48 | jasonb | Yeah, there's a long list of packages, actually. |
00:48.28 | jasonb | You 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.14 | Sixpipe | That stinks |
00:49.15 | jasonb | I'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.54 | jasonb | Express your dissatisfaction to the Fedora maintainers. |
00:50.12 | jasonb | You're certainly not alone. |
00:50.24 | Sixpipe | Well, 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.33 | jasonb | Sure. |
00:50.36 | jasonb | I'm usually in here. |
00:50.45 | jasonb | And, when I'm not, others can probably help. |
00:50.50 | Sixpipe | Cool, I'll try to get ahold of you |
00:50.50 | Sixpipe | k |
00:50.57 | jasonb | Have fun. :) |
00:51.00 | Sixpipe | :) |
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.21 | Lin- | 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.31 | Lin- | 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.13 | randrew | Lin-: 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.38 | Lin- | i found the problem, it was because i didnt create any context |
06:14.45 | Lin- | it didnt generate any errors. i found the problem after i used RequestDumperValve |
06:18.02 | randrew | Lin-: interesting |
06:18.15 | Lin- | 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.41 | roel- | 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.17 | xs4all | e`l-o |
08:47.59 | roel- | w00t, fixed it |
08:48.11 | roel- | <- 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.15 | amlan | hi all |
10:00.46 | amlan | is this java server channel?? |
10:01.03 | amlan | I am newbie |
10:01.09 | amlan | wanna learn tomcat |
10:01.23 | amlan | how to kick off? |
10:07.30 | roel- | install it, haha |
10:08.03 | amlan | ya...i've installed |
10:09.15 | amlan | have one prob..... |
10:09.20 | amlan | with init-param |
10:18.06 | xs4all | ^^ |
10:18.18 | xs4all | g2g, cYaZ |
12:03.10 | *** join/#tomcat amlan (n=opera@69.88.3.12) |
12:32.39 | johnni | hi all |
12:32.54 | johnni | anyone know how to use tomcat?? |
12:35.37 | *** join/#tomcat M4g3 (n=M4g3@spellfire.dcs.qmul.ac.uk) |
12:35.47 | M4g3 | hello everyone |
12:36.18 | M4g3 | can i set custom logs for every user running their servlet/jsp and point them to the location of my choice |
12:36.25 | M4g3 | different location for every user |
12:36.46 | M4g3 | thx |
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.18 | StarScream | M4g3: 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.50 | FreemaniaPrime | I'm starting to lose my faith in tomcat |
17:10.59 | FreemaniaPrime | or Realms at least |
17:12.22 | *** join/#tomcat dreivier (n=dreivier@p54B39039.dip0.t-ipconnect.de) |
17:28.52 | jasonb | FreemaniaX: Realms are touchy.. they always have been. But, at least the stock implementations have been heavily used & debugged. |
17:29.08 | jasonb | FreemaniaX: Except maybe for the JAASRealm. :) |
17:30.03 | FreemaniaX | Yeah, the stock implementations are great |
17:30.38 | FreemaniaX | My main problem is that I need to check users in 2 separate tables |
17:31.46 | FreemaniaX | so I need to tweak those StringBuffers in the realm classes |
17:32.19 | FreemaniaX | What is weird is that my realms work fine in 5.0 and not is 5.5.12 |
17:33.00 | jasonb | Things change a bit. |
17:33.14 | FreemaniaX | I 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.56 | FreemaniaX | yeah they did but I was using DataSourceRealm.java as my template |
17:35.22 | FreemaniaX | I keep getting this on start up: http://pastebin.com/425681 |
17:35.33 | FreemaniaX | I'm comsing a message to the list now |
17:36.23 | jasonb | Send a mail to the tomcat-dev list. |
17:36.58 | jasonb | You should turn on verbose classloading in your JVM. |
17:37.03 | *** join/#tomcat linuxfreck (n=freck@p54928475.dip0.t-ipconnect.de) |
17:42.41 | FreemaniaX | jasonb, what is the switch for that again? |
17:42.45 | FreemaniaX | -debug? |
17:44.45 | jasonb | Hmm.. something like -verbose:class or -Xverbose:class ? |
18:25.33 | Sixpipe | jasonb: How's it goin? |
18:25.55 | jasonb | Sixpipe: Hi there. It's going okay. |
18:26.28 | Sixpipe | I 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.45 | Sixpipe | I was talking to you yesterday about the errors the java env has with tomcat on fedora core 4 |
18:26.57 | jasonb | Yeah. |
18:27.06 | Sixpipe | Any advice? |
18:27.15 | jasonb | FC4 is a great OS once you get rid of the incompatible Java packages. |
18:27.29 | jasonb | How good are you with RPM? |
18:27.35 | Sixpipe | not :( |
18:27.54 | jasonb | Hmm. |
18:28.02 | Sixpipe | I'm pretty new to linux, but I pick up things quickly |
18:28.34 | jasonb | Well, I wish I could spend time with you and do it today, but I have to go in a few mins. |
18:28.50 | jasonb | But, I can give you the list of packages to remove, at least. |
18:28.56 | Sixpipe | k cool |
18:29.05 | Sixpipe | Yea, I'm in no rush. I just appreciate the help |
18:32.34 | jasonb | Sixpipe: http://www.rafb.net/paste/results/GnYgjk97.html |
18:33.04 | Sixpipe | Wow, that's a good bit. |
18:33.08 | Sixpipe | Thanks |
18:33.13 | jasonb | Sixpipe: 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.25 | Sixpipe | Cool, that's what I was worried about |
18:33.35 | Sixpipe | rpm -remove each of those? |
18:33.49 | jasonb | Sixpipe: 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.58 | Sixpipe | k |
18:34.19 | jasonb | If 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.22 | Sixpipe | If I installed them with a package manager like yum, should I uninstall them with yum too? |
18:36.02 | jasonb | Sixpipe: 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.24 | Sixpipe | k, so how you've done it is with rpm -e ? |
18:36.32 | jasonb | Sixpipe: 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.15 | Sixpipe | jasonb: Good deal man thanks. I'm gonna see what I can do |
18:37.20 | jasonb | Yes, 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.31 | Sixpipe | Ok, yea I saw that |
18:38.05 | jasonb | This 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.25 | Sixpipe | cool |
18:38.27 | jasonb | So, now you at least have one way. |
18:38.29 | Sixpipe | Is there a way to force uninstall? |
18:38.36 | Sixpipe | Last q |
18:38.45 | jasonb | rpm -e --nodeps <packagename> |
18:39.05 | Sixpipe | :) Thank you |
18:39.23 | jasonb | Also, you may do pm -e --nodeps <packagename1> <packagename2> <packagename3> |
18:39.43 | Sixpipe | Ah ok |
18:39.53 | jasonb | Just save those last couple of packages to do individually at the end. |
18:39.59 | Sixpipe | k |
18:40.06 | jasonb | That's pretty much it. |
18:40.33 | Sixpipe | Ok I'll get to work and start on that. Maybe I can figure all this out. |
18:40.34 | Sixpipe | :) |
18:41.53 | jasonb | Sixpipe: 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.15 | Sixpipe | Awesome |
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.05 | AiZ | hello.. i installed all the required packages to run a .WAR file on debian... now where I should place that file? |
20:26.21 | FreemaniaX | Is there anyway to make Digester tell which xml file it's choking on? |
20:30.14 | FreemaniaX | and 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.00 | jasonb | FreemaniaX: 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.08 | FreemaniaX | yes, I do jasonb |
21:07.13 | FreemaniaX | I'd appreciate it |
21:07.23 | FreemaniaX | I have more than one descriptor file |
21:08.45 | FreemaniaX | my server.xml has this : descriptors="/com/my/AaxisRealm-mbean.xml;/com/aaxistechnologies/SwitchRealm-mbean.xml;/com/my/UnifiedRealm-mbean.xml" |
21:10.56 | FreemaniaX | not 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.33 | jasonb | FreemaniaX: That looks right. Let me look at how I had been doing that.. hold on. |
21:33.59 | alex777 | ok, quick question, I looked on google, but my search skilles seem to lack :) |
21:34.11 | alex777 | how do I get the full path for a webapp |
21:34.27 | alex777 | like, http://host:port/webapp_folder/ etc |
21:37.32 | jasonb | alex777: Hold on. |
21:37.45 | alex777 | yep, np |
21:41.54 | *** join/#tomcat wstoddard (n=wstoddar@bi01p1.nc.us.ibm.com) |
21:44.44 | jasonb | FreemaniaX: 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.07 | jasonb | FreemaniaX: But, I know now for sure that the name is "mbeans-descriptors.xml" (note both of the plurals in there!). |
21:45.37 | FreemaniaX | 2 plurals, eek |
21:48.02 | jasonb | FreemaniaX: 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.06 | FreemaniaX | maybe 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.21 | jasonb | FreemaniaX: Sadly, there are strange inconsistencies like this that break things. |
21:49.25 | jasonb | FreemaniaX: 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.37 | jasonb | alex777: Now, as to your question.. "how do I get the full path for a webapp".. This depends on your definition of "I". |
21:50.55 | jasonb | alex777: So, that's likely why you haven't already found the answer (via google, or otherwise). |
21:51.17 | jasonb | alex777: What is it, more specifically, that you're trying to do? |
21:51.35 | alex777 | I'm trying to build some links that refer to my webapp location |
21:52.54 | alex777 | and I need to pass the whole link to the webapp location |
21:53.16 | alex777 | since the webapp will reside on multiple servers probably, so each will have a different link |
21:55.50 | jasonb | So the thing containing the href link.. is that part of your webapp? |
21:56.01 | alex777 | yes |
21:56.36 | jasonb | Okay, 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.46 | alex777 | exactly |
21:57.58 | alex777 | I'm using java 1.5 and tomcat 5.5.x |
21:58.11 | alex777 | jdk* |
21:58.16 | jasonb | Okay.. just a sec.. my JavaDocs aren't accessable.. I have to fix that first. |
21:58.31 | vinse_ | 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.07 | alex777 | the url that the user has in the browser should be enough |
21:59.29 | alex777 | jasonb sure |
21:59.40 | jasonb | There's some getRequestURL() method somewhere. |
21:59.58 | jasonb | Sun has aparently made it very hard to download the JavaDocs at this point. |
21:59.59 | vinse_ | in HttpRequest iirc |
22:00.19 | vinse_ | ~javadoc HttpServletRequest |
22:00.24 | vinse_ | bah wrong channel |
22:00.31 | vinse_ | jasonb: get us a bot! |
22:00.52 | alex777 | heh |
22:00.59 | alex777 | how about the real url ? |
22:01.13 | vinse_ | http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html |
22:01.31 | vinse_ | in there i think |
22:01.41 | alex777 | ok, cool, thanks |
22:02.11 | vinse_ | there it is, jasonb was right |
22:02.24 | vinse_ | getRequestURL for the one the client used |
22:02.32 | jasonb | vinse_: Thanks for the URL.. yes.. it's in there. |
22:02.35 | jasonb | http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getRequestURL() |
22:03.05 | alex777 | yep, I see it |
22:03.11 | alex777 | thanks |
22:03.26 | vinse_ | jasonb: i have the links to them all on my personalized google page, one click from any connected computer! |
22:03.43 | vinse_ | jasonb: i'm a big fan of the personalized google page |
22:04.06 | vinse_ | i had it include quotes of the day |
22:04.09 | vinse_ | Paradise is exactly like where you are right now... only much, much better. |
22:04.09 | vinse_ | - Laurie Anderson |
22:04.16 | jasonb | heh |
22:04.57 | vinse_ | i had to remove all the news links from it and stuff |
22:05.11 | vinse_ | like slashdot rss and the new york times |
22:05.21 | vinse_ | got distracted everytime i went to look something up! |
22:05.26 | jasonb | heh |
22:09.44 | jasonb | Sixpipe: 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.38 | yel | hello everyone! |
23:42.09 | *** join/#tomcat wstoddard (n=wstoddar@cpe-066-057-029-054.nc.res.rr.com) |
23:51.08 | Lin- | 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? |