irclog2html for #tomcat on 20050208

00:00.47simonok. cool! thanks!
00:01.52simonDoes anyone know good tutorials for JSP?
00:04.12jasonbYes.  The O'Reilly JSP book.
00:04.52simon:) fine! thanks again!
00:10.43jasonbNo prob.
00:15.31omgsHi
00:16.16omgsI've been told that java can be used as a server, so many resources are optimized using that instance.
00:16.32omgsWhere can I find more info about launching java this way for tomcat?
00:17.19*** join/#tomcat mortecerta (~mortecert@host102-136.pool62211.interbusiness.it)
00:17.33mortecertawow
00:17.51mortecertait's my first time on IRC
00:18.07lykenwelcome to a new world :)
00:18.16mortecerta:) Thanks!
00:18.36mortecertahere we talk about tomcat? :)
00:19.21mortecertaWhat a stupid question!
00:22.01mortecertaCan I explane a little tomcat problem that it leaves me awake at 1.22 AM???
00:22.43lykenif i can help
00:22.46lykenill sure try
00:23.01mortecertaThanks!
00:23.32mortecertaIt's a problem with jndi datasource
00:24.13lykenhmm
00:24.24lykencause i have no experience with it
00:25.29mortecertaI try to show to the comunity, I hope someone knows the solution :D
00:26.18mortecertaI just call google for many time I think I reed about a hundred pages!!!
00:28.26mortecertasince yesterday I had a tomcat v.5.0X and oracle 9.2 configured, using only one context file, with the resource params.
00:29.37mortecertatoday I tryed to upgrade it to the newest version of tomcat, but the same configuration doesen't work.
00:30.09lykenarh yes
00:30.10mortecertaThe real problem is that I don't whant to edit server.xml file...
00:30.13lykenthat will happen :)
00:30.18lykenyou will have to
00:30.28lykenthe dtd of server.xml for 5.5.x tomcat
00:30.33lykenis different to 5.0.x
00:32.19puffEvening all
00:32.21puffBlah, wotta day.
00:32.23jasonbHeh.  The DTDs for server.xml in Tomcat 5.0.x and 5.5.x are indeed the same: nonexistent.  But, the formats of the server.xml files are different.
00:32.26mortecertaI'm sorry, but where can I find the dtd of the context node, in the tomcat docs? I search it unsuccessfully
00:32.38lykenjasonb: hehe
00:32.41jasonbmortecerta: No DTD.  Sorry.
00:33.31lykenmy bad for calling it DTD
00:33.33mortecerta:-O
00:33.56mortecertaok!
00:34.29simonI
00:34.55jasonblyken: That's alright.  I think most people would expect a DTD or schema definition for yer average XML file.  :)
00:34.56simonI'm tired... gonna to to bed now. thank you for you help!!!
00:34.58mortecertaI keep my heart in peace! But somewhere I can find docs about the parameter I can specify
00:35.06jasonbsimon: No problem.
00:35.19jasonbibot: docs
00:35.20ibotDocumentation can be found at http://digium.com/index.php?menu=documentation or http://www.digium.com/handbook-draft.pdf or #asterisk-doc, or http://www.voip-info.org/wiki-Asterisk, or http://www.asteriskdocs.org
00:35.26jasonbblah.
00:35.34jasonbibot: tomcat-docs
00:36.05jasonbIbot is such a villiage idiot these days.
00:36.11mortecertammm... tomcat-docs... are not complete!
00:36.13lykenlol
00:36.20mortecertaI have to buy a book?
00:36.32jasonbmortecerta: http://jakarta.apache.org/tomcat/
00:36.38lykenegads..
00:36.50lyken"now run this command:"
00:48.11FaeLLelyken: busy ?
00:48.20lykendepends what that meeans
00:48.22lykenbut not really ;)
00:48.28lykenjust finish up some code
00:48.31FaeLLei need someone to proof read a letter of mine
00:48.37FaeLLeneed some english touch up's
00:48.39lykeni can do that for ya
00:48.44FaeLLeneat :)
00:48.46jasonb"Dear Tomcat"  ;)
00:48.49FaeLLeshould i email it ?
00:48.50lykenlol
00:48.53lykensure
00:48.57FaeLLeadd pls
00:49.04FaeLLeapppreciate it :D
00:49.20lykendear tomcat, why dont you call. I thought we had something special
00:50.32FaeLLe1 min
00:50.35lykeni msg'd you email :)
00:50.47FaeLLeoo you teach at a college now ?
00:51.14lykenim a postgrad there
00:51.30FaeLLeneat
00:51.34FaeLLek sent
00:51.56lykenman that mail server is slow ;)
00:51.59lykenstupid ssl mail servers..
00:52.26mortecertaHi all, I go bed, I try to do the world more peacefull tomorrow! Have a good night!
00:52.40FaeLLeits gmail
00:52.52FaeLLe[mortecerta] nite man
00:53.06*** part/#tomcat mortecerta (~mortecert@host102-136.pool62211.interbusiness.it)
00:54.29lykengrr gmail
00:54.30loquace++
00:54.36lykenshould have given you my gmail acct.
00:54.49lykenexcept its only for my spammer/mailing lists
00:56.30FaeLLewant me to send from hotmail ?
00:56.34FaeLLeor give me your gmail :p
00:57.37FaeLLeoh your in University of Queensland
00:57.44FaeLLethey opened up in Dubai didnt they ?
00:58.22FaeLLesent
00:58.58lykeni think they might have
00:59.03lykeni got asked to go over posibly
00:59.09lykenfor another department
00:59.18lykento demonstrate the system i rwrote for them
01:00.19lykenbetter not have a virus
01:00.20lykenoh wait
01:00.21lykenim on a mac
01:00.23lykeni dont care :)
01:00.50FaeLLeit dont ;)
01:01.49puffHeh.
01:01.52lykenloading
01:01.53puffFaeLLe: I'll proof it if ya like.
01:02.47FaeLLepuff: you too pls if possible
01:02.48FaeLLeemail pls
01:03.38FaeLLeits a reference letter so my dad can get some managers to sign stamp them and i include it with my application to Cambridge :p
01:04.02lykeni just opened word on my laptop
01:04.04lyken11:07  up 5 days, 20:03, 5 users, load averages: 2.76 1.29 0.77
01:04.10lykenlook a those wwait times baby
01:05.11lykencan i do a bit of re-arranging?
01:05.15FaeLLepls
01:05.31FaeLLethe reference.pdf is the content it should include
01:06.12lykendid you work with him?
01:06.19lykenor was it work experience?
01:06.25puffFaeLLe: Ugh, PDF?  How about a text file?
01:06.47FaeLLelol sec
01:07.04FaeLLemy letter is in doc though
01:07.27FaeLLehttp://www.rafb.net/paste/results/sRPcIT15.html
01:07.34FaeLLethats the stuff Imperial wants
01:07.40FaeLLemy letter is sent by email
01:08.30puffDoc?  You're gonna make me start up word to comment on your letter?
01:08.51FaeLLeformatting :/
01:08.59FaeLLeyou can use Wordpad
01:10.31FaeLLedid you get the email ?
01:13.27puffYeah.
01:13.41FaeLLek cool
01:13.52lykenlets see how comes back with teh mah engrish better!
01:14.15FaeLLelolz
01:14.16puffWhere do you want the feedback?
01:14.22lykeni could translate it into mandarin if you like :)
01:14.32FaeLLepuff: you can edit it :p
01:14.36FaeLLeand return email
01:14.37lykenpuff: a proof read to fix up the gramattical structure i think :)
01:15.05lykenhehe
01:15.12puffBleah.
01:15.20lykenyou use it too much :)
01:15.38FaeLLeill learn when i read your usage of the language :D
01:16.11puffSo the purpose of this document is?
01:16.19puffTo get into college?
01:17.59FaeLLeyea to Imperial
01:22.29puffI'd recommend using a bulleted list for the job responsibilities.
01:22.46FaeLLehmm
01:22.49FaeLLewould look odd
01:24.17lykenim not changing structure of the look
01:24.21lykenjust the english :)
01:24.47FaeLLeyea thats cool
01:24.53lykenHe seemed to know  <- hmm
01:25.06lyken"im not sure if he really knew what he was doing, but he produced results so thats ok.."
01:25.48FaeLLeso thats ok , isnt that kinda informal ?
01:25.55puffEh.
01:26.02puffYeah, I have problem with that.
01:26.31puffAs an aside, if not a bulelted list, then use a colon and semi-colons, i.e.  
01:26.58puffHis responsibilities included:  collecting data from manual hand written factory work logs;  creating charts in MS Excel outlining the production results for the past two years (2002  2003);  and generating charts performing a comparison between production and market supply and demand.
01:27.14puffIncluded instead of involved, sounds better.
01:27.27puffcollecting instead of collection, to agree with "creating" and "generating".
01:27.31lykenalready had that
01:27.33puffand in general, the more active verb is preferable.
01:27.44puffThough in academia they like passive tense too much.
01:28.18puffFaeLLe: So what are you trying to convey with "seemed to know"?
01:28.40FaeLLeas in knew what he was doing
01:29.33puffAgain, in what sense?
01:30.09FaeLLework responsibilities ?
01:30.56puffNo, that's what you're saying, what I'm asking is, what are you trying to convey?  What impression do you want that sentence to suggest in the reader's mind?
01:31.42puffAs an example, you could write it three different ways:  1) he knew the area of work, 2) he learned the area of work quickly, 3) he planned ahead and prepared by learning the area of work before starting the job.
01:32.09puffAll of these highlight different qualities... the question is which quality is more important to emphasize in this letter.
01:32.45FaeLLe3 i guess
01:33.20FaeLLebut how would the manager know i prepared prior to the job ?
01:33.31lykenyou told him when he asked how you knew the answers :)
01:33.45puffBingo.
01:34.02FaeLLeso we should reflect that in the letter or not needed ?
01:34.08puffSure.
01:34.25FaeLLeneat
01:34.41puffLemme think how to spin this.
01:34.54lykenand ill add it to the letter
01:34.55*** join/#tomcat irali (~ray@c-24-23-201-228.client.comcast.net)
01:34.57FaeLLethanxx
01:35.04lykencause ive already doen the first two paragraphs
01:35.10puffheh.
01:39.41lykenhmm
01:42.30puffOkay, to demonstrate english skills, ideally we need to have some examples.
01:42.46lykenme bad at english, thats umpossible!
01:43.00FaeLLethe reports submitted ?
01:43.01puffDid your work involve any dealings with native english speakers?
01:43.06FaeLLeyea
01:43.13puffDid your work involve any written english?
01:43.14FaeLLethe guy i reported to was english
01:43.22puffAh, so the guy who in theory wrote this letter?
01:43.33puffOr the immediate supervisor who is a subordinate to whomever wrote this letter?>
01:44.14FaeLLeno it didnt but we can say it did
01:44.28FaeLLepuff: the manager wrote it in theory
01:44.29puffHeh.
01:44.42puffIs the manager your supervisor, or is he your supervisor's boss?
01:44.50FaeLLemy supervisor
01:44.50puffAnd is the manager a native english speaker?
01:44.52FaeLLei reported to him
01:44.58FaeLLeyea hes from scotland
01:45.03puffArright.
01:45.06lykenthats not english :)
01:45.11puffHeh.
01:45.12FaeLLesame thing :p
01:45.13FaeLLeall UK
01:45.32puffWhat was your supervisor's name?
01:45.42FaeLLeDavid Tait
01:45.51FaeLLehes the General Manager not supervisor :p
01:46.10puffHeh.
01:46.30puffWas your finished work in english?
01:46.53FaeLLeyea
01:46.55puffThat is, was a signficant portion of your work output documents written in english?
01:47.07FaeLLemost of it was charts and stuff
01:47.17FaeLLebut you could say i did reports in english
01:47.24puffHeh. Okay.
01:48.10puffHm... some of this gets into UK vernacular... e.g. in the US I'd say "native english speaker"
01:48.19puffBut in the UK they might phrase it differently.
01:50.27FaeLLealritee
01:50.45FaeLLeyou american boys would know better :)
01:51.22lykensif american
01:51.24lykenim an aussie
01:51.42FaeLLeaye all the same :p
01:52.01puffOkay, my suggested version is:  http://www.darksleep.com/notablog/faellereference.txt
01:52.08iraliany of you familiar with ssh port forwarding? i've got a server behind a firewall and a client behind another firewall,  how do i make them connect via ssh and tunnel through the port 8080 services?
01:52.19pufflyken: Nah, you're practically the 51st state.
01:52.39puffirali: What's your purpose?
01:52.39lyken52nd!
01:52.47lykeniraq is the 51st
01:53.08pufflyken:  Right.
01:53.09iraliencrypted link..tunneled via ssh
01:53.16puffirali: Er, yeah, but for what purpose?  
01:53.23lykenssh -r
01:53.39lykengoogle ssh tunneling
01:53.43iralisecure access from internal subnets
01:53.43lykenthere is like heaps of links..
01:54.08puffirali: Setting up a temporary tunnel is doable... a permanent tunnel Idaknow about.
01:54.13iralimost i've read so far has the sshd server exposed to the internet
01:54.14*** join/#tomcat jasonb_ (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
01:54.55FaeLLeVikrams manager, a native
01:54.55FaeLLeenglish speaker, was more than satisfied with the quality of Vikrams
01:54.55FaeLLewritten work.
01:55.00FaeLLedo you have to say that ?
01:55.09lykenim wreking on it
01:55.42puffFaeLLe: that's a compliemnt.
01:55.45puffEr, complient.
01:55.48puffSomething.
01:55.58puffFaeLLe: What's your concern?
01:56.28FaeLLeive never seen such a direct statement :p
02:02.18*** join/#tomcat puff (puff@66.45.34.102)
02:02.23puffSorry, emacs erc crashed.
02:02.26puffWhere were we?
02:02.47FaeLLe[01:02:13] <F~puff> FaeLLe: What's your concern?
02:02.47FaeLLe[01:02:43] <FaeLLe> ive never seen such a direct statement :p
02:02.47FaeLLe[01:02:48] * F~medusaXX has quit IRC (No route to host)
02:02.47FaeLLe[02:02:11] * F~puff has quit IRC (Read error: 104 (Connection reset by peer))
02:02.47FaeLLe[02:02:32] * F~puff has joined #F~#tomcat
02:02.47FaeLLe[02:02:37] <F~puff> Sorry, emacs erc crashed.
02:02.51FaeLLe[02:02:40] <F~puff> Where were we?
02:02.56lykenheh
02:03.12puffAh.
02:03.34puffWell, their instructions specifically asked for an evaluation of your english skills.
02:04.37FaeLLeyea i guess
02:04.47FaeLLeare there any op's in this chan ?
02:07.23lykennot usually
02:07.24lykenheh
02:08.11FaeLLewho registered the chan ? Tomcat developers ?
02:09.17lykenprolly
02:09.50lykenso i need to outline yoru english skills?
02:09.56jasonbI think Hellaenergy can get op in here, but I'm not totally sure.. and he's not here right now.
02:10.54FaeLLe[02:02:32] -F~ChanServ-      Channel: #tomcat
02:10.54FaeLLe[02:02:33] -F~ChanServ-      Contact: Hellaenergy, last seen: 2 days (4h 30m 59s) ago
02:10.55FaeLLeyea
02:11.12lykenoks
02:11.21FaeLLe[lyken] yea whatever that pdf saysa
02:11.26FaeLLes/saysa/says
02:12.34puffSorry, bos came by.
02:13.02lykeni think its done..
02:13.08puffe) (for overseas students) an estimate of proficiency in English.
02:13.14FaeLLeyea im overseas
02:13.41lykenyup
02:14.03lykenHis ability to communicate with his fellow colleagues and I, in both spoken and in written English was of a high standard.  
02:14.22lykenremove the in
02:15.34puffThe second "in".
02:15.38lykenyeah
02:15.46puffThough technically correct.
02:15.55lykenit just sounds a bit weird..
02:15.56puffAlso, add a comma after "Englihs".
02:16.05lykenyeah already have :)
02:16.06puffYes, technically correct but stilted.
02:16.14lykenyeah
02:16.40lykeni used to proof read assignments and letter for probably 15 of my friends
02:16.47iralijust say you're studying to become an austronaut and if that fails becomes a diplomat! lol
02:16.53lykenas english was the second/third/fourth
02:17.06lykenlanguage
02:18.20lykenwow
02:18.28lykeni didnt proof read my thesis this much..
02:18.43FaeLLehoho
02:18.51FaeLLethats cause you did it all correct
02:19.02lykenwell teh second half of yoru letter
02:19.06lykenis completely different now
02:19.11lykenbut says the same thing :)
02:20.00*** join/#tomcat penguin (admin@user-2804.l2.c4.dsl.pol.co.uk)
02:20.28penguindoes anyone know if theres a method in tomcat to simulate internet lag when you are testing on your local host?
02:20.45pufflyken: I used to write for a living.
02:20.53lykenpuff cool
02:20.55puffTop that :-)
02:21.00penguinwhois aardvarkx
02:21.02lykenmaybe you should proof read mine :)
02:21.02penguinoops
02:21.05jasonbpenguin: Nothing in Tomcat to do that, but what OS are you using?
02:21.16aardvarkxwindows
02:21.24lykenheh
02:21.28lykenthats wasy
02:21.29jasonbaardvarkx: Nope, as far as I know, you're helpless then.  :(
02:21.37aardvarkxhmm ok then
02:21.40lykeninstall windows XP on a pII 500 with 128mb ram
02:21.43lykenand run tomcat on it
02:21.43aardvarkxhehe
02:21.49puffaardvarkx: I've seen proxy servers out there for that purpose.
02:21.57FaeLLei wish there was a way to cap bandwidth on XP computers
02:22.06FaeLLei want to cap my housemates
02:22.10puffWho wanted to know about tunnels?
02:22.10lykenthere is for outgoing
02:22.11aardvarkxi wanna deliberately slow the connection down by a few seconds
02:22.15lykenits called "net limiter"
02:22.26lykenyou can quota connections based on IP
02:23.16lykenFaeLLe: you should have email
02:24.03FaeLLeyea reading sir
02:24.38lykenheeh
02:24.55puffhttp://www.darksleep.com/notablog/format.cgi?article=CVS_Via_SSH.foo
02:25.03FaeLLeI would have no hesitation and recommending Vikram and wish him all the best in his endeavours.  
02:25.06FaeLLein recommending ?
02:25.08puffSpeaking of bosses, mine just lost his network connection, AFK for a bit.
02:25.13lykenin
02:25.14lykenlol
02:25.16lykenlike i said
02:25.18puffFaeLLe: Just remove "and"
02:25.25puff"no hestitiation recommending"
02:25.28lykenyeah
02:25.36lykenpuff should prolly proof read mine :)
02:25.42puffOr "I would not hesitate to recommend Vikram"
02:25.44lykenits been ages since ive written formalised text
02:25.44puffAFK.
02:25.55aardvarkxanother quick qn
02:26.28aardvarkxis it significantly slower sending messages to a web server via POST than opening a socket in java?
02:26.53lykenum
02:26.59lykenwhy would you open a socket in java?
02:27.16aardvarkxwell, because i need to send lots of data back and forwards between the web server
02:27.25lykenand ?
02:27.34aardvarkxand..isnt sockets the way you do that?
02:27.36jasonb"Do you walk to school, or do you carry your lunch?"  :)
02:27.39*** join/#tomcat Term- (~cuenta1@148.223.146.28)
02:27.45lykenLOL
02:27.55FaeLLe[aardvarkx] check out RMI
02:28.07aardvarkxthere is a better way??
02:28.07lykenFaeLLe: is that ok?
02:28.16FaeLLe[lyken] yea dude thanks a lot
02:28.22aardvarkxim sorry im new to this technology
02:28.25FaeLLe[aardvarkx] sockets are inefficient
02:28.38FaeLLe[aardvarkx] plus you are left to the task of implementing your own protocol
02:28.46FaeLLe[aardvarkx] and CRC
02:28.55aardvarkxin java?? surely not...
02:29.02FaeLLe[aardvarkx] you can try using Remote method Invocation (RMI)
02:29.08aardvarkxthey even have a class for it
02:29.21aardvarkxok, ill look up RMI
02:29.24FaeLLeyes but you are still left with designing your own protocol
02:29.38aardvarkxbut speed is the important thing
02:29.38FaeLLeand making sure the data is sent to the person meant to be recieving it
02:29.53aardvarkxis RMI faster than sockets then
02:29.59FaeLLeid say so
02:30.08FaeLLeget an opinion on #Java
02:30.09aardvarkxoh ok
02:30.24aardvarkxid rather not go to #java..theyre kind of rude!
02:30.32aardvarkxbut ill definately look at this RMI thing
02:30.39FaeLLenah they just dont spoon feed :p
02:30.50FaeLLewhat RMI does is let you access methods on a remote server as if it were present on your own server
02:30.59aardvarkxwow neat
02:31.02FaeLLeso you can send program objects back n forth
02:31.06aardvarkxi was looking for something exactly like that
02:31.11FaeLLeyou can also look into CORBA
02:31.24FaeLLethat will let clients from different programming languages communicate
02:31.31FaeLLeyou can make C clients talk with Java etc
02:31.44aardvarkxyeah
02:31.48FaeLLeRMI is Java only
02:31.54aardvarkxwhat about applets?
02:32.06aardvarkxthe data is coming from an applet...
02:32.15FaeLLeit should be possible
02:32.28aardvarkxyeah, because its a connection back to its own server..
02:32.34FaeLLeespecially when a applet can images to servlets
02:32.45FaeLLethey should be able to use rmi i think
02:32.53FaeLLe*can send
02:33.23aardvarkxok
02:33.28aardvarkxthanks for the tip
02:33.58FaeLLepleasure
02:35.16aardvarkxok, so it seems it can be done via RMI
02:35.27aardvarkxwith applets as well
02:35.36aardvarkxthats great, youve solved all my problems!!
02:36.07FaeLLehehe enjoy
02:36.20FaeLLeRMI is kinda long to learn
02:36.24FaeLLebut its cool stuff
02:36.46FaeLLei hope you are familiar with interfaces etc
02:37.28aardvarkx*cough cough*
02:38.11FaeLLe:s
02:38.44puffBack... Okay.
02:38.45puffHm.
02:40.33FaeLLe[puff] read lyken's letter
02:54.54puffFaeLLe: Sure, where is it?
02:55.21FaeLLehe said he will send it to yea
02:55.24lykenexcuse the poor english :)
02:55.26lykeni did
02:55.28lyken..
02:55.37lykenFaeLLe: you got puffs email
02:55.40FaeLLek peeps its 3am here
02:55.42lykenyou send i cant dcc anything..
02:55.49FaeLLei got your email
02:55.59FaeLLesec ill forward to him
02:56.11puffhokay :-).
02:56.15puffSend me text, dangit :-)
02:56.21FaeLLek i did
02:56.26FaeLLeits word :p
02:56.27FaeLLeloll
02:56.37puffNo, you sent me word
02:56.39puffmis-word.
02:56.43FaeLLethanx a lot again lyken and puff
02:56.53FaeLLeif i dont sleep now i wont get up for uni tommorow
02:57.09FaeLLenite all
02:57.11puffHeh.
02:57.15FaeLLethanks a lot for the help
02:57.43lykenill be arounds
03:13.34puffSo I have a question :-).
03:13.55lykenwhats that
03:16.25puffSo I have apache/tomcat.
03:16.32puffAnd we have apache as a front-end to tomcat.
03:16.46puffI'm trying to decide if we really need to care.
03:17.05puffThat is, should we bother, since we have like .001% static content.
03:17.33puffBefore we get to that point... we have the corporate website hosted under the apache server, and mod_jk mappings for about 20 webapps.
03:17.55puffOur hosting provider (eapps.com) has some fucked up control panel that they insist we use... and it's buggy.
03:18.18puffSpecifically, it can only fit so many lines in the "Custom settings" form  input for apache, which limits how many mod_jk mappings we can have.
03:18.25puffDamn, scared him away :-).
03:19.27puffWhen I called hosting support they said they could map everything to be srved by tomcat.
03:19.51puffWhich would mean the corporate website would have to be served by tomcat too, which I guess I'm cool with.
03:20.24puffAnyway, I guess I'm asking about how I can either map everything, or preferably map everything *but* the corporate site.
03:22.34gradzacpuff: can't you use the JkUnmount directive to mod_jk?
03:23.02puffgradzac: If understood that, maybe :-).
03:23.42FaeLLepuff: i forgot i had speakers on full volume
03:23.48FaeLLeyour new email sound woke me up
03:24.30gradzacI just started using tomcat, but I know I read the other day that you can tell mod_jk to send your root to tomcat, but then unmount specific directorys or files (i.e. *.html)
03:24.41gradzaccheck out the docs for mod_jk
03:29.29puffHees.
03:29.46puffAh, interesting.
03:30.03puffSo that's probably what I need to read up on.
04:04.13*** join/#tomcat sund (~ray@c-24-23-201-228.client.comcast.net)
04:36.21*** join/#tomcat valmont (~chrisholl@lsanca1-ar8-4-43-220-117.lsanca1.elnk.dsl.genuity.net)
04:39.06*** join/#tomcat effy (~effy@cpc4-hatf3-4-0-cust37.lutn.cable.ntl.com)
04:39.09effyhello
04:39.12effyanyone here?
04:42.39effyhi, can anyone help me start using tomcat?
04:50.49sundwhat have you done so far?
04:53.23effyer started it with fedoras tool
04:53.28effynothing on 8080
04:53.35effyno "startup.sh"
04:53.55effybut tomcat is running on "ps"
04:54.24sundhow did you install and which tomcat version?
04:56.09effyit comes installed
04:56.23effy4.1.27-13
04:56.38sundokay, so it is started as part of the init process?
04:57.05effywell not so far
04:57.11effyit will be when i reboot, probably
04:57.17effy:)
04:57.45sundyou can check your /etc/init.d directory and see if any tomcat startup script is there
04:59.22effyyeah its there
04:59.28effyso why nothing?
04:59.54sundwhat do you mean nothing?
05:00.12sundcan you elaborate?
05:00.46effyer localhost:8080
05:00.50effy"cannot connect"
05:01.10sundwhat do you see with ps aux|grep catalina
05:02.36effynothing
05:02.43effybesides "grep catalina" :)
05:03.33sundthen it is not running
05:03.43effybut there is a "tomcat"
05:03.54effy19713 ?        S      0:15 /usr/sbin/tomcat -Dcom.redhat.tomcat.sysconf=/etc/sysconfig/tomcat -home /usr/share/tomcat -logfile /usr/share/tomcat/logs/tomcat.out -pidfile /var/run/tomcat/tomcat.pid -user tomcat
05:04.24sundokay..then look at the tomcat config file and see which port it serves on
05:04.30effy8080
05:04.39sundhow do you know that?
05:05.21effy<PROTECTED>
05:05.21effy<PROTECTED>
05:05.21effy<PROTECTED>
05:05.21effy<PROTECTED>
05:05.21effy<PROTECTED>
05:05.21effy<PROTECTED>
05:05.23effy<PROTECTED>
05:05.25effy<PROTECTED>
05:05.42effythis is less /etc/tomcat/server.xml
05:05.54effybut also, in the beginning of that file
05:06.07effy<Server port="8005" shutdown="SHUTDOWN" debug="0">
05:06.29effybut nothing on 8005 either
05:06.35sunddont you notice its commented out?
05:06.56effysorry what is?
05:07.07sundyour connector
05:07.11effy<Connector className is the line?
05:07.49sundyes
05:08.26effyi dont understand how its commented out
05:08.36effythat has to be a " #" right
05:08.38effy?
05:08.54sundnope, xml uses different chars for comments
05:09.10effyso <!-- is comm out?
05:09.19sundyes
05:09.25effyoo
05:09.26sundyou dont know that?
05:09.28effynope
05:09.36effyso what do i get rid of
05:09.42sundyou may want to read up on xml a little bit
05:09.54effyim just installing a CMS system
05:10.00effydont really wanna right now
05:10.14effyso what do i get rid of
05:10.22sundyou cant avoid it...config files are xml
05:11.09effyok
05:11.14effydo i turn on both ones
05:11.19effytheres one for 8080
05:11.22effyand one for 8009
05:11.43effy<PROTECTED>
05:12.21sundhard to tell..paste in a public board area
05:12.47effyok im going ahead anyway
05:12.54effynow just restart server, yeah?
05:13.25sundtry it
05:14.22effynothing
05:14.37sundwork on that server.xml
05:15.25effydo i have to set CATALINA_HOME?
05:15.50sundyou have not read a darn thing about tomcat have you?
05:16.25effyi just started with it
05:16.54sundwell do some reading and ill help you then
05:17.07effyok
05:17.13sundyou dont expect me to answer every lil bit and piece to get started
05:17.15effyi have to start it before apache, right?
05:17.35sundthats even worst...get rid of apache for now til your comfy with tomcat
05:17.42sundit just adds to confusion
05:18.12effyer how do i test without apache?
05:18.22sundonce you're familiar with tomcat workings, then do the advance integration with apache
05:18.33sundeasy, turn off apache
05:18.44lykenive been working with tomcat since early version 3
05:18.50lykenand still havent touched apache integration
05:18.57lykenexcept a machine i was paid to setup
05:19.30effyok, but how would i know when i got it working?
05:22.02effyhello?
05:24.09sundyou want tomcat to do what for you?
05:24.25effyrun my CMS system
05:24.42sundthen you'd see your cms system if working right?
05:24.46effyyup
05:25.04sundokay
05:27.56effywell?
05:28.06sundwell what?
05:28.26effyhow would i know when i got it working?
05:28.46sundsee the samples to begin with
05:29.00effywhere?
05:29.15sunddo you know what a cms does ?
05:29.58sundbasic question, what do you expect a tomcat should do for you?
05:30.48lyken*cough* rtfm *cough*
05:30.50sundif you cant answer that, I dont know why you choosed tomcat
05:31.20effyi didnt
05:31.26effyi chose my cms system
05:31.32effyit demands i run this
05:31.49sundwho demands you run it?
05:31.56effysomeone important :)
05:32.04sundits your job?
05:32.10effynope
05:32.14effynot yet
05:32.21effybut we're expanding into it
05:32.24effyyou could say
05:32.59sundthen what is your main job function if i may boldly ask?
05:33.56effywriting
05:34.04effyi do a little computing as well
05:34.43sundhow about spending some extra time reading how tomcat is used ? heh
05:35.16effyi dont want to
05:35.25effyid rather get on with USING the cms
05:35.33sundoh okay, good luck
05:36.15lykenlol
05:36.20lykeni dont know what im doing
05:36.22lykenbut help me
05:36.29lykenand i refuse to read the docs
05:36.37lykensounds like a tard we had in #postgresql yesterday
05:36.46sund:)
05:37.26sundhow is that latest postgresql? 8 ?
05:37.35lykenwicked
05:38.09sundam just wondering why it isnt as popular as mysql?
05:38.46lykenwhy did vhs win over betacam?
05:39.20sundumm back then it was a bit expensive with beta wasnt it?
05:39.37sundand it came a bit later than vsh noh?
05:40.16sundjust curious..i have not touch postgresql myself for a year at least
05:41.07lykenmysql is more popular cause mmost people dont know it exists for one
05:41.34lykenand two people dont know how to write a decent database
05:41.47lykenso the dont require the features of a real RDBMS
05:42.31sundand right, mysql kind of fit most everyones needs not the features of real big db's
05:42.57lykenyeah
05:43.04lykenjust a network enabled spreadsheet
05:43.52sundam trying to relearn oracle basics now
05:44.16lykenwith no key constraints/ACID compliance
05:44.25lykenor data integrity checking
05:48.07*** join/#tomcat Sathamoth (~satha@nikitazhuk.net)
05:49.57SathamothHi all. Does anyone know why Tomcat (4.1) appends my HTTP headers instead of setting them (and overriding other possible values) when I use response.setHeader() of HTTPServletResponse class ?
05:50.29Sathamothif I set response.setHeader("Cache-Control", "max-age=604800, public");, my browser gets max-age=60,max-age=604800, public
05:51.04Sathamothand I have no idea where that max-age=60 is got from.. no cache directives in server.xml or web.xml are specified
06:13.19*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
07:36.50*** join/#tomcat adpenaranda (~adpenaran@203.131.98.106)
07:39.10Sathamothok, problem solved. The problem wasn't in tomcat, apache had mod_expires module loaded which f*cked up my headers. ajp13 should override those.
07:42.07*** part/#tomcat Sathamoth (~satha@nikitazhuk.net)
07:43.04*** join/#tomcat loquace (~seb@l02m-30-149.d4.club-internet.fr)
07:44.01loquacelo
08:09.26*** join/#tomcat jgrange_ (~jgrange@195.173.84.2)
09:06.50*** join/#tomcat joered (~chatter@213-156-52-102.fastres.net)
09:15.49*** join/#tomcat noodl (hidden-use@195-97-225-122.onyx.net)
09:15.53*** join/#tomcat lyken (~janor@air665.startdedicated.com)
10:09.22*** join/#tomcat levon (~levon@83.137.99.168)
10:34.27*** join/#tomcat adpenaranda (~adpenaran@203.131.98.106)
11:07.21*** join/#tomcat medusaXX (medusaxx@p54A9F164.dip.t-dialin.net)
13:27.14*** join/#tomcat greg (~Gregory@62.33.35.187)
13:27.30greghi to all!
13:28.56gregwhere can i write virtual host dir /home/vhost.com? server.xml
13:44.33gregheh
13:57.43*** part/#tomcat greg (~Gregory@62.33.35.187)
14:52.14*** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net)
14:59.27*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
15:15.11*** join/#tomcat Nana|work (~nana@82-70-121-30.dsl.in-addr.zen.co.uk)
15:15.16Nana|workHello!!
15:16.04Nana`I am totally stuck. my boss has installed tomcat on our server but i don't know which directory is set up as being the one where your stuff is pu
15:16.07Nana`*put
15:16.36Nana`the actual files are in /usr/local/jakarta-tomcat-5.5.7/webapps/ROOT
15:16.51Nana`but how do I know what address to access that at via a browser?
15:30.50Nana`:S
15:36.11*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
15:45.17*** join/#tomcat illsci (~illsci@felony.criminal.org)
15:45.19illscimorning
15:45.23illscianyone awake?
15:45.40illscii have some questions about the <Context> tag of the server.xml
15:46.03illsciI have tomcat setup with mod_jk and its working, I keep getting tomcat errors when I request .jsp's
15:46.30illsciand I installed this web application which forced me to use there custom installer
15:46.40illsciand its not working right
15:47.04illsci<Context path="" docBase="ROOT" debug="0"/>
15:47.04illsci<PROTECTED>
15:47.04illsci<PROTECTED>
15:47.04illsci<PROTECTED>
15:47.22illscii have that inside my <Host tag
15:48.07illscidoes that mean that stuff in /srv/tomcat/webapps/ROOT will be available at / and that for my mmwebclient app  i would enter the usl www.blah.com/mmwebclient
15:48.29illsciwhen i do that apache responds and not tomcat unless i add a www.blah.com/mmwebclient/index.jsp
15:48.47illsciand i get weird errors
15:52.14*** join/#tomcat sockmonk (~wsheldahl@wes.ihigh.com)
15:58.07randrewillsci: The indentation may make you think the two context tags are nested in some way, but they are not.
15:58.40randrewillsci: The key thing is the trailing slash before the close tag, />  in the ROOT Context.
16:04.27randrewillsci: If the error for 'mmwebclient' is from tomcat, then it would be possible to have the ROOT context send a redirect. If 'mmweblcient/' works, then having apache rewrite mmwebclient->mmwebclient/ might be better.
16:20.51*** join/#tomcat ctp (~ctp@dsl-082-082-135-211.arcor-ip.net)
16:22.52ctphi folks. anyone knows something about support for editing .properties files in eclipse? i use lomboz as jsp plugin, but no support for .properties files for my i18n stuff.
16:24.27*** join/#tomcat cilquirm (~Soda@65.246.162.129)
16:29.53*** join/#tomcat noodl (hidden-use@195-97-225-122.onyx.net)
16:31.59AndHeSaysctp: what should it support about properties?
16:34.14ctpAndHeSays: adding new keys to my i18n.properties should add same key to all i18n_xx.properties files e.g.
16:34.51illsciok im back
16:34.59illscirandrew hmm let me read
16:36.34illsciare you saying the <context tag should or should not end with />  
16:36.35illsci?
16:38.24illscithe thing is i never get anything from tomcat unless I specificaly type index.jsp
16:38.25illscior some .jsp
16:38.36illscii cant just say www.blah.com/mmwebclient
16:38.40illsciand have tomcat respond
16:39.11AndHeSaysillsci: probably you didn't add a wecome file
16:39.33illscihow do i do that and where would it be located
16:39.39illsciin webapps/ROOT
16:39.44illscior webapps/mmwebclient
16:39.57AndHeSaysany j2ee book will tell you that
16:41.14illsciim reading Tomcat the definitive guide
16:41.24illscibut i swear another one needs to be written
16:41.44illscithey are all different and considering mod_jk2 is no supported anymore
16:41.47illsciits just confusing
16:47.22ctphm, another question ;-) does anyone knows a plugin supporting jspf? lomboz doesnt.
16:50.21AndHeSaystoo many plugins
18:04.17*** join/#tomcat Blownose (Blownose@212-162-174-82.skbbip.com)
18:07.18Blownoseim writing a client-servlet program. If i use a client not webbrowser is it then possible to use Tomcat Realm(JNDI) to authenticate to LDAP. Or do i have to make the authentication myself in my java servlet (is this safe btw)?
18:11.38*** join/#tomcat zol (~zol@ASte-Genev-Bois-153-1-31-246.w83-112.abo.wanadoo.fr)
18:11.47zolbonjour
18:12.32zolje cherche de l'aide pour une install de tomcat sur une mdk 10. Apres l'install et creation d'un user dans tomcat-users;xml je ne peux pas acceder a la page manager ??
18:12.46zolaccess denied
18:19.30zolhi, i'm looking for some help about tomcat 5.5.7. After having install tomcat, and create a manager user, i can't acces to manager page
18:19.46zolnothing related to FAQ ...
18:33.49*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
18:57.36*** join/#tomcat bugfixer2 (~bugfixer2@42gis175.gulftel.com)
19:10.25*** join/#tomcat loquace (~seb@l02v-1-49.d4.club-internet.fr)
19:11.20loquacere
19:11.31*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
19:18.30*** part/#tomcat illsci (~illsci@felony.criminal.org)
19:27.33*** join/#tomcat TomTom (~Thomas@p54815D7E.dip.t-dialin.net)
19:30.32*** join/#tomcat grrrrr (~subtle@c-24-7-105-144.client.comcast.net)
19:49.04*** join/#tomcat joered (~chatter@213-156-52-102.fastres.net)
20:28.16*** join/#tomcat ctp (~ctp@dsl-082-082-132-003.arcor-ip.net)
20:35.13*** join/#tomcat sopel (~wojtek@yamato.nemo.pl)
20:35.24sopelanyone running tomcat on some loaded production box?
20:40.06cilquirmsopel, we were
20:40.55sopelwhy 'were'?
20:41.04sopelwhat're you using now?
20:41.37sopeldid you play with the jmxproxy?  i'm trying to figure out if i'm deadlocking any worker threads in my app.
20:41.48sopelbecause every 3 days tomcat stops processing requests.
20:42.56sopeland i do 1.2 million requests per day, so it stops every 3.6 million requests.  you think there's a bug reported for that? :)
21:24.30*** join/#tomcat COSTM (~COSTM@80.233.154.37)
21:27.05jasonbsopel: Tomcat is pretty stable.  Even with a high load it should stay stable.  Some versions are known to have small memory leaks, so the later the version the better for that and for other reasons.
21:29.07sopeljasonb; ok, well i'm curious how to inspect what's causing the hangs.
21:29.42jasonbsopel: Which exact version of Tomcat?  Which exact version and brand of Java?  Which OS brand & version?
21:31.41sopeljasonb; 5.5.4, sun jdk 1.5 update 1, RH enterprise 3.0 (recently updated to latest patches)
21:32.28jasonbsopel: Can I see your Connector config?
21:32.48jasonbsopel: Are you getting hangs?  Like, you make a request, and the socket is accepted, but Tomcat doesn't serve anything?
21:33.23sopelSEVERE: Servlet.service() for servlet jsp threw exception
21:33.24sopeljavax.servlet.jsp.JspException: java.lang.IllegalStateException: Cannot create a session after the response has been committed
21:33.29sopelthat's the only thing i get in the logs.
21:34.10sopel<PROTECTED>
21:34.10sopel<PROTECTED>
21:34.10sopel<PROTECTED>
21:34.10sopel<PROTECTED>
21:34.10sopel<PROTECTED>
21:34.15sopeland that's the connector.
21:34.45jasonbsopel: But are you getting hangs?  You said it stops processing requests?
21:35.09jasonbThat IllegalStateException is caused by something you're doing wrong in your webapp.
21:35.43*** join/#tomcat jcurry (~jcurry@mcha-ai088.taconic.net)
21:35.52sopeljasonb; that only happens at the hang time.  that tomcat serves 1 million requests per day and right after a hang it's auto-restarted so i can't really tell if it stops accepting at all or accepts and doesn't process.
21:36.09jcurrywhen i do a /etc/init.d/tomcat4 start, it gives me a su auth prompt which quickly times out
21:37.43sopeljasonb; when using tomcat 5.0 i had out of memory errors, those stopped with tomcat 5.5.
21:38.09jasonbsopel: So then define "hang".
21:38.34sopeljasonb; 'customers are damn pissed' :)
21:38.53sopeli do a wget on a servlet to see if it works or not, if wget fails - it's a hang :)
21:39.12jasonbsopel: Exactly how does wget fail in that case?
21:40.56jasonbjcurry: It shouldn't time out very quickly..  And, you should be able to configure your sudo (/etc/sudoers file) so that it just doesn't prompt you.
21:41.44sopeljasonb; curl return code: 1792
21:41.49sopeljasonb; it's curl not wget, sorry.
21:42.35sopeljasonb; btw, another bad thing i noticed, when i set the maximum limit in a db connection pool to 20, and switched the db (so that the queries started taking a long time) -> tomcat stopped working too after some time.
21:42.37jcurryjasonb, the init.d file has su, and does some weird stuff with env variables and shells...do you have a working init script?
21:43.05sopeli mean all the db connections were busy and the worker threads stopped processing new requests (and stopped using the db connections too) for some reason.  but that's another issue which is not too important.
21:43.11jcurryi do have sudo configured not to prompt me for a password
21:43.35jcurrybut i don't think i know enough bash to replace the su's with sudo's effectivly
21:43.51jasonbsopel: Yeah, you don't want your DB connection pool running out of connections and sitting there waiting for one to free up.  There are obviously lots of ways to avoid that situation.
21:44.31jasonbsopel: What happens when you telnet to your tomcat and say "GET / HTTP/1.0" <enter><enter> when it's hung like that?  curl error codes don't really help that much.  :(
21:45.46sopeljasonb; i believe that i woudln't be able to connect since the backlog would be filled.
21:45.52jasonbjcurry: Ahh, well..  You actually need to start that init script as root.. it's supposed to su - down to another user with *less* privileges, and then run the JVM with Tomcat inside it.
21:46.17sopeljasonb; if curl gives an error code -> that means it wasn't able to download the page (not even error 500 document).
21:46.42sopeljasonb; so basically it looks as if i deadlocked all worker threads (?)
21:46.46sopelor tomcat deadlocked itself.
21:47.10jcurryjasonb, aah, i was starting it with a sudo
21:47.55jasonbsopel: Yeah, sad.  So let me ask you this: Did you follow the RELEASE-NOTES and add your LD_ASSUME_KERNEL line?
21:48.01jcurryjasonb, after i switch to root with 'su -', it gives me the same error
21:48.03sopeljasonb; yes.
21:48.14sopeljasonb; that would cause a 'deadlock' after 5 minutes not 3 days :)
21:48.53sopeljasonb; i just want to know if you're aware of someone running such a loaded site, and using the builtin DBCP connection pools?
21:48.58sopelso that i know it's not tomcat but my app.
21:49.10jasonbsopel: Which kernel does your box have?
21:49.25jasonbjcurry: What error?
21:49.40sopel2.4.21-27.0.1.ELsmp
21:49.58jcurryjasonb: 'kant:~# /etc/init.d/tomcat4 start
21:49.59jcurryStarting Tomcat 4.1 servlet engine using Java from /usr/lib/j2se/1.4: Password: su: Authentication failure
21:49.59jcurrySorry.'
21:50.16jasonbsopel: Yes, Tomcat has been used for web sites with higher load than yours.  There are some quirks with each version that you have to massage out.  ;)
21:50.33sopeljasonb; is that documented in any way?
21:50.39jasonbjcurry: First, what user do you have it set to su to?
21:50.56sopelmy load will double soon so i better be prepared :)
21:51.10jasonbsopel: Well, less than it should be, really.  Most people in your position don't set out to write generic docs about it and publish those for free.  How about you?
21:51.17jcurryjasonb, the init script su's to tomcat4, i think
21:51.30jcurryjasonb, do you want me to send you my init script?
21:51.38jasonbjcurry: So, as root, can you "su - tomcat4"?
21:51.56jasonbjcurry: Is your init script from the tomcat4 RPM?
21:52.07sopeljasonb; well i don't mind writing a page about what i've learned of tomcat till now.  it's not really much but without it you can't run a loaded site :)  especially with the default jvm young generation size which is a laugh for such apps.
21:52.16jcurryi have no idea what the default password for tomcat4 is?
21:52.37jcurryjasonb, my init script is from the tomcat4 deb
21:52.44jcurryjasonb, #debian told me to ask here
21:52.47sopeljasonb; in fact, i'll do it now.
21:52.49sopel:)
21:52.57jasonbsopel: Yes, so that's something, and think how valueable that would be to others who are just starting out and have to handle a big load!  If nobody writes it down, nobody can read it.
21:53.38sopeljasonb; ok, i'll give you some url so that you can link to it in a minute!
21:53.39sopel:)
21:53.39jasonbjcurry: Yeah, the debs have always been b0rken..  We can't fix Debian here, really.
21:54.00jasonbsopel: That would be great.  I'll share what I know as well, and maybe I can fix your Tomcat setup.
21:54.11jcurryjasonb, you suggest i try replacing the su cruft with sudo, or what?
21:54.27jasonbsopel: Just so you know, I used to work for Friendster where we had 90 Tomcat4 boxes, and served more than 60 Million page views a day.. all on Tomcat.
21:54.36jcurryjasonb, or just get rid of it, since i'm executing the init script as root anyway?
21:54.51jasonbjcurry: I suggest you use a package and/or distro that works.
21:55.09sopeljasonb; yeah i heard about that.  and i googled your name ;)  but friendster doesn't sound like it was well designed?  or was it not a design problem?
21:55.17sopeljasonb; guess what the thing i'm running is social networking too :)
21:55.26jasonbjcurry: The debian packages have always been broken, as far back as I can remember, and that's more than 3 years now.
21:55.47jasonbsopel: Heh!
21:56.11jcurryjasonb, ok, thanks...i'm gonna try the third-party tomcat5 packages now
21:58.16jasonbjcurry: I suggest pulling down the Tomcat 5.5 binaries from jakarta.apache.org.  Really, that's the best way.
22:14.35*** part/#tomcat jcurry (~jcurry@mcha-ai088.taconic.net)
22:19.37*** join/#tomcat zao_ (~zao@port-195-158-171-114.dynamic.qsc.de)
22:21.40zao_am i right in the assumption, that if i want my app on myserver.com/ i have to use mod_jk _plus_ mod_proxy?
22:21.56zao_b/c otherwise i cant see how to get rid of the application name in the url
22:23.34zao_or i could make my app the ROOT app. but i think thats not a good idea
22:25.14zao_but if i would use mod_proxy all my <c:url ..>-links will be screwed (aka incorrect)
22:25.25zao_how do you guys go about this?
22:47.28randrewzao_: <Context path=""  ...
22:50.07randrewzao_: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html#Attributes
22:50.26*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
23:42.45loquacebn
23:53.01*** join/#tomcat sund (~ray@c-24-23-201-228.client.comcast.net)

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.