IRC log for #tomcat on 20080211

00:28.34*** join/#tomcat jag2kn (n=jag2kn@190.66.98.214)
00:43.57*** join/#tomcat jtech (n=john@cpe-72-177-89-18.austin.res.rr.com)
01:09.52*** part/#tomcat jag2kn (n=jag2kn@190.66.98.214)
02:31.29*** join/#tomcat Kassah (n=kassah@67.60.47.15)
02:36.00*** join/#tomcat Kronuz (n=kronuz@189.168.135.143)
02:36.03Kronuzhello
02:36.14Kronuzhey, I'm trying to change the listening port to 80
02:36.33Kronuzbut I change the server.xml and restart the daemon, but it doesn't even load it now
02:36.38Kassahusing tomcat 6.0.14.0 and mod_jk 1.2.23-3 (ubuntu package) I currently have huson.domain.com but it gives me the tomcat root page, I want to be able to have it show hudson webapp at the root URL
02:37.11Kronuzdo I have to do something else?
02:39.21*** join/#tomcat tomasso (n=papito@201.216.202.89)
02:39.30KassahI am using ubuntu 7.10 6-03-0ubuntu2 java6-bin/jdk/jre
02:40.32*** join/#tomcat chuck (i=charlie@wikimedia/cmelbye)
02:40.55chuckhi, i just ran tomcat, how do i setup a user for Tomcat Manager
02:53.06KronuzI checked further
02:53.16chuckokay i tried to install portletdriver and i can't even start it through the manager
02:53.24KronuzI get an error in the logs:
02:53.25Kronuz<PROTECTED>
02:53.31jasonbchuck: Edit your conf/tomcat-users.xml file and add a <user> tag for your user, and then add a <role> tag for the "manager" role.. and make the user a member of the manager role.
02:53.38KronuzI suppose it's 'cause it's running it as non-root
02:53.51*** join/#tomcat jtech (n=john@cpe-72-177-89-18.austin.res.rr.com)
02:53.54Kronuzis there a way to make tomcat start as root and then drop the privs ?
02:53.55jasonbKronuz: Yes.
02:54.04Kronuz(as apache does)
02:54.11chuckjasonb: yeah i fixed that, now i can't get portlet container running :-(
02:54.13jasonbKronuz: Tomcat = Java.
02:54.25KronuzI know
02:54.28jasonbKronuz: Java (the binary) doesn't support doing that all by itself.
02:54.39Kronuzoh, so in short, no :P
02:54.48jasonbKronuz: What I suggest is: run Tomcat on port 8080, then use iptables to remap port 80 to port 8080.
02:54.56Kronuzokay, I'll mangle with the kernel confs
02:55.02Kronuzyeah, I did that
02:55.07Kronuzbut now I need it on port 80
02:55.07jasonbiptables works very well for that.
02:58.33chuckjasonb: do you know why it's not starting
02:58.58jasonbchuck: What's "it"?
03:00.06chuckjasonb: portletdriver
03:00.18jasonbchuck: You haven't given us any information about what you're running, so no, I don't know.
03:00.21chucki'll pastebin my errors from the log
03:00.37chuckhttp://pastebin.com/m6973c666
03:01.37Kassahjasonb: any clue on mod_jk? or is this not the right channel for that?
03:02.18jasonbKassah: I highly doubt that you need mod_jk.  I strongly suggest you use mod_proxy instead.  It's far easier to set up.
03:02.29chuckanyone know why now?
03:03.46Kassahhmm... mod_jk has worked great up till I want it to point at a specific app
03:04.04jasonbso it worked great right up until it didn't work great?  :)
03:04.16Kassahwell... I can access everything... it's just an annoying url
03:04.41Kassahhttp://hudson.domain.com/hudson... instead of being able to just do http://hudson.domain.com/
03:05.20chuckjasonb: heh
03:05.34Kassahalso... won't mod_proxy make it impossible to obtain the IP from the web app?
03:05.47jasonbKassah: Nope.
03:06.12Kassahreally?
03:06.22jasonbReally.
03:06.36chuckdoes *anyone* even remotely know what's wrong with portletdriver?
03:06.46jasonbKassah:  Also, you might want to see my connector benchmarks.
03:06.51jasonbibot: tdg-benchmarks
03:06.52ibotwell, tdg-benchmarks is http://www.oreilly.com/catalog/9780596101060/chapter/index.html
03:08.47Kassahhmm.. evince doesn't like the PDF =(
03:09.01jasonbevince in Fedora likes it just fine.
03:09.08jasonbTry xpdf.
03:09.31Kassahoh... the file size wasn't full...
03:09.35Kassahtrying to download it again
03:10.28Kassahthere we go
03:11.51Kassahoh I diddn't realize mod_proxy has AJP connectors
03:11.56chuckaugh this is annoying
03:12.10jasonbKassah: Yes, so you do not need mod_jk.
03:12.15Kassahcool
03:13.26chuckdoes anyone here know how to get portlets working
03:17.59chuckpleease
03:18.20Kassahchuck: read the topic... you're leaving out some pretty critical info
03:18.44chuckava version "1.5.0_13"
03:18.45chuckJava(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
03:18.58chuckapache-tomcat-6.0.16
03:19.04chuckmac os x leopard 10.5.2
03:19.09chuck*10.5.1
03:19.40jasonbchuck: Okay, now that you've finally told us what you're running.. what user is Tomcat running as?
03:19.45chuckmy user
03:19.51chuck"charlie"
03:20.56jasonbchuck: Put your server.xml on pastebin so we can see it.
03:21.11chucki didn't change anything, it's just the default, do you still need it?
03:21.35Kassahjasonb: hmm... not finding any ubuntu-server packages for mod_proxy_ajp
03:21.53jasonbKassah: That's because it's already built into Apache httpd.
03:22.00jasonbchuck: No.
03:22.10chuckjasonb: ah, i pasted it anyways: http://pastebin.com/m79f7d390
03:22.32jasonbchuck: You probably don't have your portal configuration correct.  And, in some other log file, it's probably telling you that.
03:23.32chuckwhat log file?
03:23.37chucki looked at them all in logs/
03:25.27jasonbchuck: Also, the portlet technologies are typically quite difficult to set up and get running properly.  Experienced Tomcat users tend to have a hard time doing that.
03:26.08jasonbchuck: And, lots of portlet software just doesn't work.  Bugs prevent it from working even if you have it configured the way it's documented.
03:26.34chucki haven't changed a thing, shouldn't it just work?
03:26.51jasonb"changed" ?  From when to when?
03:27.14jasonbIf it was working before, and it isn't now, then you did indeed change something.
03:27.45chucki've literally unarchived tomcat, added my user, started up tomcat, deployed the portletdriver, and clicked start
03:27.48chuckand i got an error
03:27.58jasonbSo the portlet software is broken then.
03:28.10chucki'll try an older version or something
03:32.16Kassahjasonb: I'm close...
03:41.57Kassahjasonb: okay... is there a way for mod_proxy to fix all the links that have /hudson/ in them?
03:42.53jasonbYou mean in HTML where it references other URIs, it says something like <a href="/hudson/something">click here</a>?
03:43.01Kassahyeah
03:43.17jasonbAnd, you want it to instead say <a href="/something">click here</a>?
03:43.22Kassahexactly
03:43.53jasonbThat's what mod_proxy_html does.
03:43.55jasonbhttp://apache.webthing.com/mod_proxy_html/
03:44.18jasonbBut, why not deploy your webapp on "/" in the first place?
03:45.09Kassahthere are multiple webapps in the single instance of tomcat
03:45.32jasonbOkay.  I think that's also an issue if you were using mod_jk though.
03:46.50Kassahoh?
04:13.09*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
04:20.07*** join/#tomcat Zack1403 (n=Zack1403@71-222-117-182.ptld.qwest.net)
04:31.04*** join/#tomcat acidjnk (i=acid@p5B3F35A4.dip0.t-ipconnect.de)
04:36.59*** part/#tomcat Kronuz (n=kronuz@189.168.135.143)
04:42.11Kassahjasonb: all set =) thanks!
04:42.16*** part/#tomcat Kassah (n=kassah@67.60.47.15)
04:59.12*** join/#tomcat Jed_84 (i=ABCDEF@201-213-239-182.net.prima.net.ar)
04:59.17Jed_84hello everyone
05:00.02Jed_84I installed apache tomcat 6.0.16 on my fedora 8 system directly from the tomcat.apache.org binaries
05:00.13Jed_84i'm using sun jvm 1.6.0 update 4
05:00.56Jed_84everything in this installation is fine - currently I'm running tomcat with a small test web application deployed
05:01.10Jed_84there is only one thing left to do: configure tomcat for running when the system boots up
05:01.22jasonbYou need an init script for it.
05:01.27Jed_84i don't want to write an entry in the /etc/rc.local file
05:01.39Jed_84yeah, I need an init script. I could craft one by hand
05:01.54Jed_84but maybe there is an "official" way for doing it
05:02.01jasonbThis is where my init script comes in.. it's part of my Tomcat 6 RPM package, though.  It's very easy to install -- one file, one command.
05:02.06Jed_84what's the right thing to do in this case?
05:02.17Jed_84tomcat 6 rpm?
05:02.20Jed_84where can I get it?
05:02.39Jed_84i simply uncompressed the binary .tar.gz from the tomcat website under my /opt directory
05:02.48Jed_84and then ran startup.sh by hand
05:02.55lykenuse jason's rpm much better solution
05:03.04Jed_84ok guys
05:03.11jasonbhttp://www.webdroid.org:8080/archives/tomcat-package/tomcat-6.0.16-0.noarch.rpm
05:03.14Jed_84where is that rpm?
05:03.15Jed_84oh
05:03.19Jed_84thanks
05:03.19jasonbThere.  :)
05:03.24jasonbYou're welcome.
05:03.59jasonbHere's the readme:
05:04.02jasonbhttp://www.webdroid.org:8080/repo/viewcvs.cgi/tomcat-package/trunk/README.txt?rev=98&view=markup
05:04.19Jed_84jasob, my boss told me to document everything (so he can fire me after installing everything and hire a freelancer when needed :P)
05:04.29jasonbheh!
05:04.30lykenlol
05:04.31Jed_84yes, that's what I was about to ask you
05:04.35lykeni document everything
05:04.41jasonbI'm faster than your questions..  :)
05:04.45lykenso when i come back to the job after weeks on other projects i know what the hell is going on
05:05.09Jed_84I need to put links to everything in the company's internal wiki
05:05.32Jed_84yeah, documenting everything is good
05:05.39*** join/#tomcat tomasso (n=papito@201.216.202.89)
05:05.44jasonbI document things so that when Western Digital hard drives fail, I have a way of rebuilding the system and getting it working the same again.  :)
05:06.02Jed_84as long as there is some kind of "strategy" for having everything decently kept somewhere
05:06.26lykenLOL jason
05:06.32Jed_84oh, it seems my company wasn't the only one with bad experiences regarding to wd hds
05:06.38jasonbJed_84: Add a link to our new book Tomcat: The Definitive Guide, 2nd Edition (O'Reilly), since this RPM is fully documented there.
05:06.50Jed_84cool
05:06.54Jed_84i must buy that book
05:07.01jasonbIt has lots of answers.
05:07.16Jed_84(jasonb thinks: music for my ears)
05:07.18Jed_84hehe
05:07.20jasonblyken: Can you tell I've seen too many hd failures from that certain vendor? :)
05:07.33lykeni have failures from al of them
05:07.37lykenits not the vendor
05:07.42lykenits the batch and the model
05:07.45jasonbWe've probably had this conversation before.
05:07.49lykenprobably :)
05:08.55Jed_84jasonb, your link looks pretty much like a temporal address
05:09.05Jed_84do you have plans for putting the rpm somewhere else?
05:09.40lykenwebdroid aint going nowhere
05:09.53Jed_84oh
05:09.55Jed_84why? :|
05:10.02jasonbJed_84: Well, the RPMs themselves will probably always go in http://www.webdroid.org:8080/archives/tomcat-package (or at least for a very long time).  The readme may change with version..
05:10.03lykencause its published in books
05:10.21lykenjasonb: although iw as considering throwing up a mirror on one of my webservers
05:10.26lyken'tomcatrpms.org'
05:11.01Jed_84that would be great
05:11.14Jed_84and having links from tomcat.apache.org to that site would be even better
05:11.16jasonblyken: Recently I've begun collaborating a little with the jpackage guys.  It turns out they also have a Tomcat 6 RPM, one that is very well hidden!  But, they're interested in collaborating together, in general.
05:11.50jasonbJed_84: The Apache Software Foundation probably isn't interested in linking to our sites.. not even when it makes it easier for people to use Tomcat.
05:12.07Jed_84I don't know why, but for some reason I rejected the idea of using the jpackage.org packages :/
05:12.18Jed_84uhm
05:12.28jasonbJed_84: No solid reason?  You can't think of any?
05:12.29Jed_84why do they have that attitude towards you?
05:12.45Jed_84jasonb, nope. just a stupid gut feeling :P
05:13.21jasonblyken: But, it would indeed be nice to have a mirror up for these Tomcat RPMs.  My machine here sometimes reboots and I can't get to it for like a day or something to make it work again sometimes.
05:13.48lykenjasonb: okies
05:13.53lykenill throw it up next week
05:14.02lykenand you can rsynch it up
05:14.36Jed_84oh that sucks, you are using your own computer as the server for hosting these files
05:14.40*** join/#tomcat prgrmr_ (n=prgrmr@bzq-79-177-108-202.red.bezeqint.net)
05:14.43jasonblyken: Okay.  That would be great.
05:14.50Jed_84it's a shame you don't get any support from the apache fundation
05:14.58Jed_84you even wrote a book about their software :/
05:15.04jasonbJed_84: Nah, we get lots of support from them.. they develop Tomcat!  :)
05:15.15jasonbJed_84: I'm not asking them for anything more.
05:15.29jasonbJed_84: I'm happy to host it on my machine.
05:15.42jasonb(as I have for a long time now)
05:16.18jasonblyken: Anyway, the jpackage guys still want to rebuild from source, and I'm not surprised about that.. the distros probably would demand that, and lots of users want it that way.
05:16.48Jed_84guys, my internet connection is working like crap right now
05:16.54jasonblyken: And, they mostly reject the idea of relocatable RPMs, the reason being they've heard from the distro maintainers that they'll reject any RPMs that are written to be relocatable.
05:16.58Jed_84I'm from argentina, and all my friends from here have exactly the same problems
05:17.00jasonbJed_84: That's alright.
05:17.08Jed_84do you have the same problems?
05:17.15Jed_84like stupid timeouts
05:17.18Jed_84even google times out sometimes
05:17.24Jed_84:|
05:18.07jasonblyken: Some of the other features my RPM has, they either don't think it's very important, or they solved the problem some other way (who knows which way is better.. but it's worth examining now)
05:19.19jasonblyken: So, we've at least concluded that my RPM is for a different purpose (not for distros, really), and theirs must be built from source, and we want to collaborate more and think up new features/solutions together.
05:31.55*** join/#tomcat ABCDEF_ (i=ABCDEF@201-213-239-182.net.prima.net.ar)
05:32.16lykenjasonb: *nods*, screw those guys then, ill host it :)
05:32.27lykenive got 9TB of monthly bandwidth on one of our servers
05:38.36jasonblyken: It would indeed help to have my RPMs hosted better, and I've even been thinking about writing a web page or two for it *shock*
05:38.53lykenyeah i can slap something up for it
05:39.04lykenincluding a buy this book link
05:39.05lykenhehe
05:39.47jasonblyken: But, I'm enthusiastic about collaborating with the jpackage guys.  They have huge constraints to work with, trying to please the distro maintainers, and I don't blame them for working within those constraints.
05:40.19jasonblyken: Yeah, I was thinking there could be a picture of the book on the page, and they could click to get it.  :)
05:40.42jasonblyken: But, that's not really my motivation for writing the web page(s) for it.
05:41.18jasonblyken: My main motivation being that my RPM has features that the other Tomcat RPMs don't, and without showing actual usage examples of how to  make use of the features, nobody would know how.
05:41.39jasonblyken: This stuff was somewhat out of scope for the Tomcat book, but makes sense to put on a web page.
05:42.55*** join/#tomcat rambo123 (n=rocky@59.94.103.208)
05:43.27ABCDEF_oh damn it I can't even visit google
05:43.31ABCDEF_my connection sucks
05:43.33ABCDEF_wow look at my nick
05:43.46Jed_84this is ridiculous
05:47.03*** join/#tomcat rambo124 (n=rocky@59.94.100.210)
06:10.11*** join/#tomcat Infinito_ (n=argos@201-10-156-220.gnace701.dsl.brasiltelecom.net.br)
06:10.39*** part/#tomcat Infinito_ (n=argos@201-10-156-220.gnace701.dsl.brasiltelecom.net.br)
06:47.35*** join/#tomcat fyrestrtr (n=burhan@pdpc/supporter/student/fyrestrtr)
06:48.06fyrestrtrhow can I change the verbosity of stdout log for Tomcat 5.5?
07:12.14*** join/#tomcat zuch (n=manu@knowyourraga.com)
07:14.20zuchhi! how can i force a particular mime type to launch a save/open dialog instead of opening in another window? Is it possible to do that just by changing tomcat configuration?
07:54.35zuchi'm sorry for not reading the guidelines my tomcat version is 5.5.23, OS is winxp...
08:13.02*** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl)
08:36.36*** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl)
08:36.56Mauriezmorny
08:38.28kjkoster5489morning
08:41.25Jed_84jasonb, are you still there?
09:06.53*** join/#tomcat kjkoster5489_ (n=kjkoster@a1190.upc-a.chello.nl)
09:07.56*** join/#tomcat tijn (n=tijn@77.222.64.84)
09:09.29tijnmorning
09:10.04tijnkjkoster5489, are you there? :)
09:20.38*** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com)
09:37.02*** part/#tomcat zuch (n=manu@knowyourraga.com)
09:47.59*** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl)
09:51.08tijnwb
09:52.28*** join/#tomcat lwolf (n=lonewolf@pro75-4-82-238-201-235.fbx.proxad.net)
09:55.00lwolfhi, i've got tomcat 5.0.30, java 1.5.0_10 on a Debian 4.0 Etch, i'm working with /etc/tomcat5/policy.d contents (tomcat security policies), and i'm almost done. I've written a security policy for cocoon, and now, i just need to know how to apply it only to cocoon ?
09:55.14lwolfcan somebody here give me the syntax ?
09:56.30lwolfhum, nevermind.. find by myself.. (should have grep before :()
09:56.36lwolfsorry for the inconvenience
09:59.28kjkoster5489tijn: yes I am.
09:59.43tijnok :) how was your weekend?
10:00.07kjkoster5489Cool. Worked on a new project and walked in the woods too.
10:00.14kjkoster5489How was yours?
10:00.25tijnalso nice been painting my house :)
10:01.08tijnwhat project are you working on?
10:01.45kjkoster5489I'm planning to make jvm monitoring a service on the 'net.
10:01.54kjkoster5489Free too, if I can find a way to make it pay. :)
10:02.01tijnnice
10:02.08kjkoster5489Would you pay for it?
10:02.17kjkoster5489Just curious, since you are the target audience.
10:02.29tijnhmm well i;am more of a in house person
10:02.37kjkoster5489:-)
10:02.43tijni want all me apps/servers/tools in house :)
10:03.08kjkoster5489Well, I see services like watchmouse and siteangel.
10:03.11kjkoster5489Onestat.
10:03.21tijnbut i bet an 2.0 ict manager thinks it's a good idea
10:03.29kjkoster5489They are out-of-house and the seem to doing ok.
10:03.42kjkoster5489He's the guy who pays the bills after all.
10:03.45kjkoster5489:)
10:03.46tijnyep
10:04.03kjkoster5489I'm curious, any interesting graphs to look at?
10:04.11tijnyes! :)
10:04.27tijn10 feb the server peaked
10:04.36tijnwait let me get the graph ;)
10:04.41tijnzapcat is great!
10:04.44kjkoster5489Thanks.
10:04.47tijnhttp://imagebin.ca/view/6xvQ8Yo3.html
10:05.22kjkoster5489Could you paste a week overview?
10:05.45kjkoster5489What happens at your site at 4:00h?
10:06.05kjkoster5489Backups? Batches?
10:06.42tijnhttp://imagebin.ca/view/CbTX0AE.html
10:07.19tijnwell, i'am looking into that i found a couple of thins
10:07.26tijnsyslog was restarted
10:07.30tijnsyslogd*
10:07.36kjkoster5489Well, that is a thread leak if I ever saw one.
10:07.53tijnmemory is all good
10:07.57tijnno peaks etc
10:08.02tijnonly threads
10:08.21kjkoster5489Are you using a syslogd appender in log4j? Or do you otherwise log to syslog frmm the app?
10:08.26kjkoster5489s/frmm/from/
10:08.52tijnwe log to syslog
10:08.56kjkoster5489ibot: why yes, I did. Thank you.
10:08.57ibotwhy not?
10:09.07tijni dont know how btw, let me ask
10:09.12kjkoster5489:)
10:10.08tijnyes we are using an syslogd appender in log4j
10:10.20kjkoster5489Interesting.
10:10.34kjkoster5489Might be worth reviewing that code.
10:11.04tijnbut this machine is cl3-star-java, the other is an replica
10:11.06tijnbrb ups guy
10:14.16tijncl1-star-java ,this one had no problems this weekend
10:14.28tijnand has the exact same config
10:14.31tijn(cluster)
10:16.52tijnalso i found something in the tomcat log during this time but i cant make much sense of it :D http://filebin.ca/yevkxr/tomcat.log
10:20.05kjkoster5489The exception is something with Java server faces, which is a web-UI toolkit.
10:20.18kjkoster5489The devs should answer that one for you.
10:20.31kjkoster5489As for the cluster: it could be a timing issue.
10:20.32tijnok, *sent mail* ;)
10:20.41tijni just checked the ntp config
10:21.06tijnall servers use the same time server which is (surprise) in house ;)
10:21.09kjkoster5489You could perhaps reproduce this on the test machine by putting it under load, and while it is logging various things restarting syslog.
10:21.22tijngood point!
10:21.39tijnok, going to stress test :)
10:21.40tijnbrb
10:22.26kjkoster5489If it is indeed syslog/log4j related, you will have to fix log4j to deal more gracefully with dead syslof daemons. I'm sure the community will be thankful for that.
10:22.39kjkoster5489s/syslof/syslog
10:22.51tijnok
10:23.00tijngoing to test that right now :)
10:23.34*** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de)
10:27.28*** join/#tomcat MicW (n=michael@dslb-088-074-148-213.pools.arcor-ip.net)
10:27.34MicWhi
10:28.16MicWi tried to use a wildcard in a host alias (*.myhost.com) without success. should this be possible with tomcat? if not, which component do i need to change to support it?
10:41.46*** join/#tomcat kjkoster5489_ (n=kjkoster@a1190.upc-a.chello.nl)
10:47.00*** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl)
10:47.51tijnkjkoster5489, It worked!
10:48.08tijni did a little load test, and restarted syslogd
10:48.14kjkoster5489I keep dropping off of the net.
10:48.23tijnsame pattern as cl3-star-java
10:48.28kjkoster5489Ah, and that caused the server to die?
10:48.29kjkoster5489Cool.
10:48.35tijn160 threads
10:48.58tijn:)
10:49.08kjkoster5489What you can do to isolate this to log4j's syslog appender is to change the syslog appender to a file appender and repeat the excesise.
10:49.11kjkoster5489Cool,
10:49.23kjkoster5489I love it when a plan comes together.
10:49.28tijn:+)
10:49.48tijnshowed the nice graphs to the devs ;)
10:49.51tijnimpressive :D
10:50.28tijni pitty the fool who messes up logging, i do fool :)
10:51.03kjkoster5489What did the devs say about the graphs?
10:51.10tijnnice and clear :)
10:51.26tijnand really usefull :D
10:51.32tijnow, brb
10:51.34tijn:S
11:18.29kjkoster5489tijn: http://issues.apache.org/bugzilla/show_bug.cgi?id=37282
11:18.44kjkoster5489Dunno if it's related.
11:21.20tijnhmm
11:21.41tijninteresting
11:21.55kjkoster5489Maybe check your log4j version?
11:23.10tijnyes, will do that, ill attach this info to the mail which is going to the devs :)
11:23.24*** join/#tomcat Sebboh (n=hobbes@ip68-96-139-5.om.om.cox.net)
11:28.40Sebbohtomcat 6.0.14, java 1.6.0, Debian Linux.  Can I deploy two versions of the same context to compare them? Like, just change the name of the war but leave all the classes named the same?  Will the right ones be loaded?
11:52.35kjkoster5489Sebboh: probably yes.
11:55.08SebbohHi kjkoster5489.  What's it depend on? :)
11:56.08kjkoster5489Some applications may have dependencies on Tomcat itself, or be programmed to depend on specific directory structures.
11:56.26kjkoster5489Just try it and see.
11:57.42*** join/#tomcat jstephan (n=jstephan@vpndfki-2.net.uni-saarland.de)
11:58.44SebbohWell of course directory structure and database problems arising from this are "my" problem. :)  Uh, how can I try and see?  Oh, I'm sure that both contexts will run.  Just dunno of they are going to both use the first one's classes.
12:03.23kjkoster5489They will each load their own classes. Each context has its own class loader.
12:03.37Sebboh:) Excellent.
12:04.40SebbohNow, to figure out why ant produces different output when I build on machine A vs machine B, then I'll test as you suggested!
12:08.50deebohave you set a destionation jdk
12:08.50deeboor wth was it called :)
12:13.25kjkoster5489JAVA_HOME?
12:15.35deebono imean you can generate 1.5 code with 1.6 compiler
12:17.25SebbohI still think that doing so is perfectly reasonable. ;P  But, deebo, you mean to say, can you use a 1.6 compiler to generate classes that will run on a 1.5 virtual machine?  Is that the question?  As I understand it,
12:17.51Sebbohyou CAN do that, but only if you don't use any 1.6 features in your source code.
12:18.23SebbohSo, imagine that the source code itself has a version number, which is determined by the features you use when you wrote it.
12:19.27Sebbohso, you can use a 1.6 compiler to make 1.5 classes out of 1.5 source.  ..But you gain nothing, see?  Might as well use a 1.5 compiler, if you have 1.5 source.
12:20.00deeboant has a was just trying to offer an explanation to your ant issue :)
12:20.34SebbohOh hehe.  lol.  Thanks!
12:20.40deeboi used to work in a project that had to use 1.2 code but generated the classes with a 1.5 compiler
12:20.59deebooh -ant has a
12:21.13deebounfinished sentance before a massive cough attack
12:26.31*** join/#tomcat bucifer (n=bustuila@beenzsoftware.ro)
12:28.12buciferhello... I've just tried running tomcat 6.0.16, using java 1.6.0_04 on windows xp
12:28.32buciferand saw some warnings...
12:28.47bucifer<PROTECTED>
12:28.55buciferThe listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
12:29.14buciferthese are the ones from the examples
12:29.26buciferthe same thing happens with my application
12:29.55buciferis this a bug? should I create an issue in bugzilla?
12:30.15buciferwhen running 6.0.14, I don't get these warnings...
12:30.16Sebbohyou can use something like http://www.pastebin.ca in case there's more to show us.  I get those warnings, too, and I don't know what they mean, but my application seems to work.  I've been meaning to ask this question you just asked. ;)
12:30.37Sebbohoh, I get those on 6.0.14 ...
12:30.55buciferwell, I don't think there is more to show...
12:31.05buciferthe rest of the messages seem normal...
12:31.26Sebbohright, sorry, I was typing that before you finished.
12:32.05buciferI've searched bugzilla, and I didn't find any(open) bug regarding this...
13:19.49*** join/#tomcat Brandano (i=975004a5@gateway/web/ajax/mibbit.com/x-471e587c6a680d9a)
13:23.27Brandanohem, ok, just to abide by the rules... Tomcat 5.5.25, JRE1.5.0_12 and Win2003 Server. Is it possible to set up a webapp  to reside outside the webapps base path? I mean actua phisical path?
13:23.46Brandanoand what directory separator should I use on win32?
13:58.24*** join/#tomcat matt7676 (n=matt@popper.yospace.com)
14:03.25*** join/#tomcat jstephan (n=jstephan@p5B327F9B.dip.t-dialin.net)
14:04.30*** join/#tomcat jtech (n=john@out.austinlogistics.com)
14:04.32*** join/#tomcat keith80403 (n=keith804@71-208-224-99.hlrn.qwest.net)
14:04.58*** join/#tomcat linuxfreck (n=freck@pD9ED2DDC.dip0.t-ipconnect.de)
14:26.02MHSLBrandano, yes you can, you can simply use /
14:27.47*** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl)
14:28.20kjkoster5489Brandano: create a context file.
14:30.58*** join/#tomcat shishirmk (n=shishir@122.167.193.246)
14:31.14shishirmkcan any1 help me find out if my comp is now a server
14:32.18kjkoster5489connect to the server port that you expect Tomcat at using a browser.
14:32.54shishirmkmy problem is this
14:33.06shishirmki type in localhost
14:33.10shishirmktomcat works
14:33.46shishirmki asked my router to repeat what it gets on port 80 to the computer connected to it
14:34.17shishirmkbut when i try i pinging myself with the routers external ip i have 110 error
14:34.20shishirmkfrom proxies
14:34.29shishirmki hope you got the problem
14:34.46raaryour ip:80 doesn't take me to a website, if that's what you'd like us to test
14:34.58raarI'm guessing there is something wrong with your port forwarding rules
14:35.20shishirmkya i am testing that
14:35.26shishirmkwell why is it happeneing?
14:35.36shishirmki mean my portforwarding is proper
14:35.45shishirmkit worked last time on ubuntu
14:36.04shishirmkbut then i used only apache2
14:36.15shishirmknow i have installed apache-tomcat-6
14:36.36shishirmkand i have configured tomcat to listen to port 80
14:37.01linuxfreckdoes it work locally after you changed it to port 80?
14:37.20shishirmkyep it does
14:37.26shishirmkon my localhost
14:38.42linuxfreckand netstat -ltp shows java/tomcat listening on *:www ?
14:39.02shishirmksorry what is that command?
14:39.03Brandanokjkoster5489: yep, dug a bit around and found out how. Trouble is that everyone on the web writes documentation for the "current" version of tomcat, never considering tat today's current version will be tomorrow's old
14:39.51BrandanoRight now my issue is that I get a SaxParseException for my context file, even though it seems valid XML. I must be doing something stupid
14:40.47shishirmkhttp://www.pastebin.ca/899893
14:40.59shishirmkthis is the output for that netstat command
14:41.42shishirmkawaiting a reply
14:41.52linuxfreckis that all?
14:44.33linuxfreckwell, tomcat is shown as listening on all interfaces. you most likely have a problem with your firewall or port forwarding
14:44.34BrandanoQED, I wasn't closing the <Context> section properly. Thanks for your patience
14:44.35shishirmkyeo
14:44.37shishirmkyep
14:44.56shishirmkwhat do you reckon i should do
14:47.05*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:47.12shishirmkApache requires you to forward the TCP(80,443) ports.  
14:47.18shishirmkis this a concern?
14:47.35linuxfreckfirst of all try whether you can reach tomcat from another box on your local network to rule out firewalls on your local boy
14:47.37linuxfreckbox*
14:47.51shishirmkhow do i do that i am on ubuntu
14:48.04linuxfreckconnect another computer to your lan
14:48.18shishirmkwell is there no other way?
14:48.24linuxfreckuse that to check whether you can connect to your first box
14:48.27linuxfreckwell
14:48.38shishirmkbcoz i dont have another comp
14:48.44linuxfreckyou can also check your router first
14:49.04shishirmki am setting up tomcat to test servlets on my personal comp
14:50.34linuxfreckyou can run "tcpdump port 80" as root on your ubuntu box, and have somebody else connect from outside to port 80
14:50.40shishirmkhello
14:50.44linuxfreckif you see packets arriving, there is a local firewall
14:50.50shishirmki think i got my culprit
14:50.53shishirmkjust a sec
14:50.59BrandanoI am sure that Ubuntu has some sort of graphical interface for the firewal settings. Firestarter or something similar
14:52.24shishirmkcan you try now what you see on my comp?
14:53.02shishirmk122.167.193.246
14:53.41linuxfreckshishirmk: it still hangs here
14:58.05*** join/#tomcat shishirmk (n=shishir@122.167.193.246)
14:58.14shishirmkhi
14:58.36shishirmki made a manual config for my lan and i have added this servers and all tat
14:58.55shishirmkthis is how i did it last time
14:59.26shishirmkcan any1 tell me how to add this tomcat to startup?
14:59.49shishirmkis it enough is i add these startup.sh and shutdown.sh to /etc/init.d?
15:00.16Brandanoshould be... I guess it's in the docs, though
15:00.35shishirmkhow do you guys do it?
15:01.25Brandanolast time I had to do it was on Fedora and was still Tomcat 4. Just added the entries to the init.d IIRC
15:01.34linuxfreckshishirmk: it's not enough to put them into init.d, you also need links in rc*.d
15:01.38shishirmkhttp://122.167.193.246
15:01.46linuxfreckshishirmk: and you shouldn't run tomcat as root
15:02.03shishirmkthis is my ip i think its working used proxies to confirm
15:02.07Brandanoyep, I gave Tomcat its own user
15:02.25shishirmkwhy??
15:02.25linuxfreckshishirmk: that url gives the tomcat default page for me now
15:02.45shishirmkyep
15:02.48shishirmkthats what i wanted
15:03.01linuxfreckshishirmk: so that people hacking tomcat or one of the servlets running there can't hack your server
15:03.04shishirmkbcoz it gives me the same thing when i use localhost
15:03.12Brandanosame here. But it also links to the examples, I'd lock the access to those
15:03.13linuxfreckshishirmk: security problems in web applications are quite common
15:03.23shishirmkok can you guide me on how to add this to startup?
15:03.40shishirmkwell i am just a student so ok next time i wont do that
15:04.50shishirmklinuxfreck: give me some tutorial or something to add this tomcat to startup please
15:05.31linuxfreckshishirmk: I guess you could recycle the script that ubuntu supplies with its tomcat-5 package
15:05.48Brandanoshishirmk: that's more an Ubuntu related item than a Tomcat issue
15:06.37shishirmkoh ok
15:06.49shishirmkhttp://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/
15:06.55shishirmkwill this tutorial work??
15:08.50linuxfreckwell it should work, it'll run tomcat as root though
15:10.15shishirmkthat is if i login as root?
15:12.27linuxfreckshishirmk: no, the init scripts run tomcat when you boot, no login required
15:12.48shishirmkoh... but still it will work right?
15:13.03linuxfreckyes
15:13.03SebbohI'd say modify the tomcat5 script.  That's a very good idea, linuxfreck, and I think that I'll do it, too. :)
15:13.07SebbohI'm on Debian..
15:13.22linuxfreckbut it will run with root privileges, and that is discouraged
15:13.50linuxfreckthere is the jsvc program, that allows you to drop those privs and still run tomcat on port 80, but that is somewhat advanced
15:14.00shishirmkwell i have to restart and test if things work
15:14.45*** part/#tomcat shishirmk (n=shishir@122.167.193.246)
15:18.42*** join/#tomcat shishirmk (n=shishir@122.167.193.246)
15:18.55shishirmkya startup thing is working
15:19.31*** join/#tomcat jrsharp_ (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net)
15:20.22Sebbohjsvc?  What the hell?  Why should something special be required?  Hmm, if I wanted to run something on a port <= 1024, but not as root..  Well, I don't know how to do that.  But I imagine that I could take a look at the apache startup scripts and find out.  Surely the JVM executable doesn't need to do anything, surely there is some unix tool to manipulate the UID of a process..
15:20.58*** join/#tomcat mans_ (n=mans@213.185.29.22)
15:21.08mans_hello friends, i call you from sweden
15:21.13SebbohI mean just making the startup script suid nobody would make it fail to open port 80, eh?
15:21.16Sebbohhi mans_.
15:21.20linuxfreckSebboh: apache httpd does exactly the same thing as jsvc does
15:21.31mans_hello Sebboh, how you doin..?
15:21.42mans_i'm having problems with jdbc and tomcat, anybody got that one right?
15:21.44linuxfreckSebboh: and an external tool can't alter the uid of a process afaik
15:21.46mans_i'm using linux
15:22.21mans_linuxfreck, and linux?
15:22.40SebbohWeird.  You'd think they'd come up with some wrapper to allow the --well, inetd, for one.. ;P  But some wrapper to open the port for the app, as root, and then run the app, as nobody, but hand it an already opened port.
15:22.55linuxfreckwell, yes, but there is no difference whether you use it in windows, linux or solaris
15:23.05mans_there seems to be
15:23.22mans_on windows all i have to do is install tomcat and the run the apps and it works out of the box
15:23.33mans_on linux tomcat won't find my jdbc driver
15:23.52linuxfreckSebboh: jsvc _is_ the wrapper you just described :)
15:24.02linuxfreckmans_: which error message do you get?
15:24.05linuxfreckoh
15:24.10linuxfrecksorry
15:24.33linuxfreckget the driver and put it into the common/lib/ directory of tomcat
15:25.48mans_already done
15:26.06mans_i get a java.lang.NullPointerException
15:26.13linuxfreckok
15:26.43linuxfreckcan you paste the entire stacktrace into http://rafb.net/paste
15:26.49Sebbohlinuxfreck: but it's java specific. :)  An application-level solution for an os-level problem.  Eww, eww.  Makes me fret and whine. ;)
15:27.25*** join/#tomcat crYpe (i=crYpe@noxfire.org)
15:28.05mans_the drivers is in common/lib and i have also tried in the web-info catalogue.. the paste: http://rafb.net/p/Dx6OQw14.html
15:28.57linuxfreckwhats' in mando.DatabaseManager.executeQuery(DatabaseManager.java:30)?
15:30.46BrandanoI eventually had to specify the entire TNS format connection string to get a connection working. Then again I didn't have a nullpointer exception
15:32.13SebbohOracle releases different classes of their driver...  different JDBC levels.  So it's possible to have the driver.. connect, and work.. and not get your null pointer until five minutes into runtime when you try some method that maps to some more advanced type of JDBC junk.
15:32.53Sebbohlike connection pooling. :)
15:33.16linuxfreckoracle is teh sux anyway :p
15:34.47*** join/#tomcat matt7676 (n=matt@popper.yospace.com)
15:34.54mans_linuxfreck, http://rafb.net/p/Rb1Ni821.html
15:34.55SebbohTell that to the DoD... :/  They are probably the only reason Oracle is afloat.  Some sales rep must have given some general a-- wait, is this a family channel?-- a few years ago.
15:35.50BrandanoMost families manage a Tomcat server, I guess
15:35.51linuxfreckthe dod is on oracle? I'd half expected that they're on ibm db2
15:36.02linuxfreckheh
15:36.19BrandanoI'd half expected them to be on Access
15:36.26linuxfreckit's already late in, uh, russia, too
15:36.44SebbohBoth of those exist in great quantities.=P
15:37.07BrandanoAnyone got a good link to the proper way to set up an AJP13 lisener for the isapi_redirect.dll?
15:37.10SebbohFinally fortran is falling out of popularity, though.
15:38.04SebbohBrandano: got all the source or do you have to hex edit object files? :D
15:38.33mans_when you used tomcat and jdbc did you have to create a jndi or did you solve it without jndi configuration?
15:38.44BrandanoPersonally I rather dislike Java as well, but maybe I shouldn't say it here... Way better than Cobol anyway
15:40.21linuxfreckBrandano: what do you prefer then?
15:40.24Sebbohmans_ I dunno what your project is, but, I'm using hibernate, and other than putting the connect string for my database into an xml file, I haven't worried about the database since.  In fact, I can switch RDBMS (vendors, not instances!) without any code changes.  Might be worth your while.
16:09.30*** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
16:09.30*** topic/#tomcat is Stable versions: 6.0.16, 5.5.26 and 4.1.36. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org:8080/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.
16:09.31Brandanoor about the 5.x syntax, for that matter, or the 4.x...
16:09.41*** part/#tomcat rconnell (n=rconnell@143-195-0-72-tgs.3menatwork.com)
16:13.01buciferso.. what do you know?
16:13.05bucifer3.x?
16:13.29buciferI did check it... the listeners are declared only once...
16:16.58Brandanoin every included config file?
16:17.18buciferI've downloaded the tomcat distribution
16:17.21buciferand started tomcat
16:17.32buciferso only the default webapps are there..
16:17.50BrandanoAh, you mean on the default install, then? In that case then probably it's  bug
16:18.09buciferafter this test, I've tested with my own app
16:18.25buciferwhich works fine in 6.0.14 and prints the same warnings in 6.0.16
16:18.39buciferok then... I'll create an issue in bugzilla
16:18.58Brandanobut the default setup doesn't print th warnings?
16:19.11Brandanothen it's somehow linked to your app
16:19.41Brandanosomething amiss in WEB-INF is my guess
16:27.42shishirmkwhat development environment do you guys use for servlets?
16:31.00BrandanoScite and JavaC
16:32.04BrandanoTried NetBeans in the past, but was to much of a memory hog for the machines I had at the time. Probably would work better now
16:34.18shishirmkwell i think i will use javac
16:35.42*** join/#tomcat chrisjw (n=funny@82-71-87-173.dsl.in-addr.zen.co.uk)
16:35.47*** join/#tomcat Quiddity (n=steve@ng1.cptxoffice.net)
16:35.55buciferBrandano: I said it does
16:35.55Brandanoit works, but you must learn to read the compile errors
16:36.42buciferthank you for your help
16:36.44buciferbye
16:39.16shishirmkwhere should i add those servlets i write in the webapps/examples/we-inf/claasses/
16:39.42Brandanotime to go. Bye everyone
16:40.10shishirmki mean i should  a write a entry into web-inf/web.xml file
16:40.23shishirmkwht entry is tht
16:49.25*** join/#tomcat heze (i=heze@pdpc/supporter/active/heze)
16:49.53*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
16:50.59hezeHi, I've got a tomcat (atlassian standalone jira) accepting connections but immediately closing connecting on any request. access log says error 400 but I've no idea why. What should I look for?
16:52.08linuxfreckheze: error messages in the error log
16:53.32hezecatalina.out looks just fine compared to a working previous version of jira on the same box. what log file should I be looking at?
16:58.52hezei guess i'm way too noob with tomcat to try to debug it, and will instead just reinstall and get it right next time ;)
17:00.10hezesorry for wasting your irc client's buffer ;) i'll try to come up with better questions in the future.
17:06.54*** join/#tomcat Zack1403 (n=Zack1403@64.122.14.80)
17:25.36*** part/#tomcat matt7676 (n=matt@popper.yospace.com)
17:32.44*** join/#tomcat jrsharp_ (n=jrsharp@c-68-63-241-169.hsd1.tn.comcast.net)
17:38.29*** join/#tomcat jrsharp- (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net)
17:40.33*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
17:43.39randrewheze: check host and context mappings. tomcat will return 400 for a request that doesn't map to a servlet context.
17:47.41*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
17:56.00*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
18:09.38*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
18:24.03*** part/#tomcat shishirmk (n=shishir@122.167.193.246)
19:04.48*** join/#tomcat jardin (n=jardin@77.192.23.52)
19:04.54jardinHi
19:04.56jardinI've a probleù
19:04.59jardinproblem*
19:05.28jardin`frenchi must rebuild/reinstall tomcat-6 if I want use it
19:05.44linuxfreckjardin`french: why?
19:05.54jardin`frenchi don't know lol
19:06.09jardin`frenchif i reinstall not i can't use it...
19:06.15linuxfreckwhy do you think that you have to reinstall tomcat?
19:06.16jardin`frenchbad connexion...
19:06.41jardin`frenchbecause when i reinstall it, it's ok
19:08.05jardin`frenchmy problem is : when a start my computer, i make "/etc/init.d/tomcat-6 start" and the server is not enable... i can't use it. So i make a reinstall and the server is ok after
19:08.17jardin`frenchdo you understand ? :s
19:08.28jardin`frenchwhen i start*
19:09.04kjkoster5489Why does it not start from /etc/initd?
19:10.17jardin`frenchit's start but it does not work
19:10.17kjkoster5489So you see the process running with top?
19:11.12jardin`frenchthey don't have
19:11.25kjkoster5489?
19:11.35kjkoster5489I don't understand.
19:11.37jardin`frenchany process
19:11.42jardin`frenchnot process
19:11.49jardin`frenchd you understand ? :D
19:11.53jardin`frenchdo*
19:11.53kjkoster5489So when you reboot there is no Tomcat process?
19:12.02jardin`frenchyes :)
19:12.19kjkoster5489You said earlier "it start but does not work"
19:12.30kjkoster5489So that's not right, it does not start.
19:12.34jardin`frenchif i reinstall tomcat and remake /etc/init.d/tomcat-6 restart, tomcat is work
19:12.37jardin`frenchhum
19:12.57jardin`frenchdesktop ~ # /etc/init.d/tomcat-6 restart * Stopping Tomcat ...                                                                                                                                                                                     [ ok ] * Starting Tomcat ...
19:13.02jardin`frenchok
19:13.08jardin`frenchi've make restart
19:16.48jardin`frenchbut tomcat is not in process list
19:16.48jasonbThat looks gentooish.
19:16.48jardin`frenchyes i'm with gentoo
19:16.48kjkoster5489What reason does Tomcat give in the logs?
19:16.48jardin`frenchi look
19:16.48jardin`frenchwhich log ?
19:16.48jardin`frenchoh i have
19:16.48jardin`frenchmanager.2008-02-11.log is empty
19:16.48jardin`frenchhost-manager.2008-02-11.log too
19:16.48jardin`frenchadmin.2008-02-11.log too
19:18.26jardin`frenchhttp://pastebin.com/m73b4f18
19:18.29jardin`frenchlook this
19:18.49jardin`frenchDémarrage = starting in french
19:20.29*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
19:22.36linuxfreckjardin`french: that's a typical log that would result from a normal tomcat start and stop. seems like these come from a manual start of tomcat. check whether you find logs in /var/log
19:23.08jardin`french:s
19:23.24jardin`frenchi don't understand why it does not work...
19:23.32jardin`frenchit's anormal
19:23.45linuxfreckme too. but that's what logs are for, no?
19:37.24jardin`frenchi've reinstall tomcat-6 and no i've a process into the list
19:37.27jardin`french(top)
19:37.43*** part/#tomcat heze (i=heze@pdpc/supporter/active/heze)
19:38.47linuxfreckjardin`french: well, that's no long-term solution. find the log files that tomcat generates. then we can see why tomcat doesn't start a second time
19:42.03jardin`frenchok i must help a friend with his wifi
19:42.14jardin`frenchi come back after
19:42.58linuxfreck...
19:43.19linuxfreckgentoo... and I thought debian had a crappy tomcat package...
19:48.08*** join/#tomcat gregor_k (n=a@stgt-4dbdbbcc.pool.einsundeins.de)
19:58.10jardin`awaygentoo is good for games ^^
19:59.11jardin`awayand i prefer to ubuntu... i try debian one day
20:05.51*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
20:26.40*** join/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU)
20:28.39*** part/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU)
20:38.43*** join/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU)
20:41.41*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
20:42.13*** join/#tomcat nven (n=nvenkate@122.164.21.130)
20:43.16nvenmy tomcat version is 3.0.16
20:43.26nvensorry 6.0.16
20:43.47nveni have created single server...
20:43.58*** part/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU)
20:44.01nvento create multile instances
20:44.09nvenwat should i do
20:47.28*** join/#tomcat geek_cl (n=geek@Beholder.sodexhopass.cl)
20:47.40geek_clhi guys, i try this, http://pastebin.es/2059
20:49.04linuxfreckgeek_cl: what does that mean? El mapeo de Servlet especifica un nombre de servlet desconocido invoker
20:49.39geek_clthe mapping of the servlent specified a name of a servlet unknow invoker
20:49.49geek_cl"something like this"
20:50.11linuxfreckok, how old is that web application?
20:50.44geek_clufff pretty
20:50.59geek_clmy question is about line 82
20:51.04linuxfreckbut you most likely have to enable the invoker servlet as told in http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt
20:51.08geek_clwhere i define the jndi?
20:51.18*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
20:53.19linuxfreckgeek_cl: jndi is just a generic path scheme for java, the error is caused by the invoker servlet
20:54.07linuxfreckline 81 says that there was an issue while reading the web.xml file at jndi:/localhost/emprendepass/WEB-INF/web.xml
20:54.23geek_clyeah... the invoker was commented
21:01.20geek_cllinuxfreck: thanks , now work
21:01.50linuxfrecknp
21:05.23newpersi'm using environment entries to define a jndi resource.  if the Environment enrty is defined in context.xml, then it applies to all applications and tomcat needs to be restarted for the change to take effect, right?
21:05.40newperswhat if it's defined in WEB-INF/web.xml?  can it be changed on the fly?  or does tomcat need to be restarted each time?
21:06.58linuxfreckyou have to restart the context, i.e. the web application
21:07.59newperslinuxfreck: thanks :)
21:23.19*** join/#tomcat jrsharp- (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net)
22:26.08*** join/#tomcat ox1 (i=trallall@bas-flu-bbcs-dynip-205-152.vtx.ch)
22:34.53*** join/#tomcat andyt_ (n=andyt@THOMPSON.ADMIN.SCPS.NYU.EDU)
23:13.41*** join/#tomcat ABCDEF (i=ABCDEF@201-213-239-182.net.prima.net.ar)
23:16.14MHSL<newpers> i'm using environment entries to define a jndi resource.  if the Environment enrty is defined in context.xml, then it applies to all applications and tomcat needs to be restarted for the change to take effect, right? -> create a context file for your own web app
23:16.51MHSL<newpers> what if it's defined in WEB-INF/web.xml?  can it be changed on the fly? -> yes you can, as long as you set reloadable to true in your context, you don't need to restart tomcat
23:17.05MHSLtomcat will automatically reload the context for you
23:20.49*** join/#tomcat ABCDEF_ (i=ABCDEF@201-213-239-182.net.prima.net.ar)
23:31.43*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
23:38.25*** join/#tomcat Jed_84 (i=ABCDEF@201-213-239-182.net.prima.net.ar)

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