irclog2html for #tomcat on 20050818

00:19.22MarkovCan someone point me to a straight forward resource on deploying webapps with Tomcat?
00:37.14*** join/#tomcat nichoj (n=nichoj@c-24-91-163-93.hsd1.ma.comcast.net)
01:21.23jasonbMarkov: For deployment docs, see either the book Tomcat: The Definitive Guide, or the Jakarta Tomcat docs (less info here).
01:21.36lykenhehe
02:00.25*** join/#tomcat loktar2 (i=EatMySho@ems02.your-freedom.de)
02:01.52*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
02:09.27*** join/#tomcat nicho1 (n=nichoj@146-115-26-214.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com)
02:59.14*** join/#tomcat CatSC (n=CatSC@203.184.15.71)
02:59.17CatSCHello
03:12.35*** join/#tomcat Amit_ (n=chatzill@202.70.72.66)
03:13.55Amit_could anyone tell me if I could run CGI's as ROOT user ?
03:18.01*** join/#tomcat KidVegas (n=vegas@c-24-91-143-187.hsd1.ma.comcast.net)
04:47.38*** join/#tomcat elbil (n=elbil@81.7.157.8) [NETSPLIT VICTIM]
04:47.38*** join/#tomcat ohsix (i=ohsix@bc111222.bendcable.com) [NETSPLIT VICTIM]
04:47.38*** join/#tomcat crackhead (I=mlm@blackbox.clarkk.net) [NETSPLIT VICTIM]
05:46.05*** join/#tomcat joee (n=jhiemer@62.40.10.39)
05:54.04*** join/#tomcat valmont (n=chrishol@pool-71-116-177-150.lsanca.dsl-w.verizon.net)
06:00.55*** join/#tomcat loktar2 (i=EatMySho@193.151.72.54)
06:06.07*** join/#tomcat elbil (n=elbil@81.7.157.8) [NETSPLIT VICTIM]
06:06.08*** join/#tomcat ohsix (i=ohsix@bc111222.bendcable.com) [NETSPLIT VICTIM]
06:06.08*** join/#tomcat crackhead (I=mlm@blackbox.clarkk.net) [NETSPLIT VICTIM]
09:00.26*** join/#tomcat loquace (n=seb@aqu33-4-82-233-55-6.fbx.proxad.net)
09:12.19loquacehello
09:48.37*** join/#tomcat RazorJimmy (n=RzaorJmi@85.105.23.144)
10:00.22*** join/#tomcat loktar2 (i=EatMySho@ems01.your-freedom.de)
10:05.47*** join/#tomcat harpoon (i=stueber@ultra20.rbg.informatik.tu-darmstadt.de)
10:07.46loquacebrb
10:11.24*** join/#tomcat loquace (n=seb@aqu33-4-82-233-55-6.fbx.proxad.net)
10:12.44loquacere
10:23.19*** join/#tomcat Magnifikus (n=vst@muedsl-82-207-246-142.citykom.de)
10:29.22*** join/#tomcat Dougnaka (n=Doug@207.225.223.185)
10:54.59*** join/#tomcat Ioras (n=david@213.0.106.125)
11:41.33*** join/#tomcat linuxfreck (n=freck@p5492B147.dip0.t-ipconnect.de)
12:28.31*** join/#tomcat supergeek (n=daniel@dexter.computingoptions.com)
12:29.20supergeekIf I am running several instances of Tomcat, each with their own JVM, does each try to acquire the -Xms from JAVA_OPTS?
12:41.03*** join/#tomcat Mutru (i=mutru@koti.mutru.fi)
13:12.26*** join/#tomcat joered (n=chatter@81-208-83-246.fastres.net)
13:33.54*** join/#tomcat sgtmcd (n=shawnm@177dhcp-132.pennnet.com)
13:34.48*** part/#tomcat sgtmcd (n=shawnm@177dhcp-132.pennnet.com)
13:48.29*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
14:00.27*** join/#tomcat loktar__ (i=EatMySho@ems01.your-freedom.de)
14:08.43*** join/#tomcat olvesh (n=olve@olve.intermedia.uib.no)
14:20.48*** join/#tomcat olvesh (n=olve@olve.intermedia.uib.no)
14:24.33*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:50.31*** join/#tomcat linuxfreck (n=freck@p5492B147.dip0.t-ipconnect.de)
15:02.37*** join/#tomcat Cow_woC (i=Cow_woC@i216-58-12-104.cybersurf.com)
15:02.39Cow_woChi
15:02.53supergeekhola
15:02.59Cow_woCsupergeek: hiya
15:03.12Cow_woCIs anyone from the tomcat team awake? :) I've got a question regarding a bug...
15:10.29supergeekThey're always away here :/ But if you post your question they do eventually get back to you.
15:10.36supergeekJust takes a while.
15:12.33Cow_woCit's ok, I just filed a bug report
15:12.46Cow_woCI just wanted to confirm whether it was a bug or RFE but I guess they'll sort it out
15:12.55*** join/#tomcat nDuff (n=cduffy@fwext1-ext.isgenesis.com)
15:12.56Cow_woClet's hope they don't pull the routine "invalid - rejected" crap on me
15:13.02Cow_woC:)
15:13.11supergeek:)
15:47.12*** join/#tomcat manulite (n=manulite@sagit.co.zw)
15:48.37manulitehi, i'm having problems with j_security_check (i think) via mod_jk on apache, my jsp's are showing source code
15:49.27*** join/#tomcat cilquirm (n=Soda@65.246.162.129)
16:01.24cilquirmis there a way to get/make jndi in tomcat writeable?
16:17.11*** part/#tomcat manulite (n=manulite@sagit.co.zw)
16:27.02*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:46.51*** join/#tomcat loktar__ (i=EatMySho@ems01.your-freedom.de)
17:13.45*** join/#tomcat valmont_ (n=chrishol@germany.pspdev.pas.earthlink.net)
17:17.08*** join/#tomcat a4akb (i=a4akb@62.150.37.29)
17:18.13*** join/#tomcat jschroed (i=apache@ua-83-227-153-76.cust.bredbandsbolaget.se)
17:19.02*** join/#tomcat jschroed (i=apache@ua-83-227-153-76.cust.bredbandsbolaget.se)
17:19.32jschroedCould anyone help me setting up virtual hosting with Tomcat 4.1 and Apache on different hosts
17:19.52jschroedI can get it to work perfectly provided both are on the same host, but I cant figure it out if they are on different hosts
17:20.00jschroedIve been trying for 2 weeks now
17:24.26*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
17:37.16*** join/#tomcat chanito (i=1000@132.248.202.54)
17:39.23chanito?
17:41.25Cow_woC...
17:41.28Cow_woCok, that's it
17:41.52Cow_woCRemy is a freakin' jerk
17:42.09Cow_woCcloses bug reports for no good reason with no good explanation all the time
17:42.14Cow_woCwhat a jackass!
17:44.29jasonbheh!
17:44.46jasonbHe does that all the time.
17:45.12jasonbProbably figures that people will file a zillion bugs that don't necessarily matter, but many of them do actually matter.
18:00.26*** join/#tomcat loktar__ (i=EatMySho@ems01.your-freedom.de)
18:03.45Cow_woCjasonb: it's very annoying... I filed one bug he closed as a dup of another even though I *specifically* mentioned the difference between the two
18:03.57Cow_woCit looks like he reads the 1st sentence then skips the rest
18:04.13Cow_woCis he in charge of BugZilla or something? why doesn't anyone else deal with bugs?
18:06.27jasonbYeah, he really does skip lots of the text.
18:06.45jasonbHe's the PMC chair of the Tomcat project.
18:07.15jasonbHe feels entitled to handle the bugs.. he does do a good job on some, but I actually think he's just too annoyed by the whole system these days to be in charge of it.
18:07.35jasonbBeing PMC chair for Tomcat is fine.. but handling the bugzilla bugs is another matter.
18:08.54*** join/#tomcat Markov (n=russell@cpe-69-135-213-236.woh.res.rr.com)
18:12.51*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
18:29.30*** join/#tomcat akb (i=a4akb@as21-44.qualitynet.net)
18:39.09jschroedCould anyone point me in the right direction regarding setting up vhosting with Apache and Tomcat on seperate boxes?
18:39.26jschroedI got it working when they are both on the same box, but I am trying it on the dev servers now and they are seperate
18:50.13akb\o/
19:31.29LaidBack_01hey, I've got tomcat running on port 80 with jsvc - that's nice and all - only all apps are now at least twice as slow, and a quick time scritp that does a bunch of integer math went from taking 3.4 secs to 25 secs to complete.... Is this normal performance for jsvc?
19:41.54LaidBack_01I think I'm gonna have to run tomcat as root... that really sucks, but I can't take the performance hit that jsvc gives me.
19:47.57*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
20:16.42*** join/#tomcat _c (i=xD0BF@jubue.org)
20:17.05LaidBack_01is there a way to change a running processes uid and gid?
20:17.33_cthere's always a way, but it would probably be pretty nasty.
20:17.40_cusually you start them with the right uid and gid.
20:19.55_cin a jsp, i'm using forEach to print a bunch of stuff, but i want to set the (css) class of the first element to "first". right now the only way i see to do it is to forEach from 0 to 0 and then forEach from 1 to the end.
20:24.41LaidBack_01well, apache seems to manage it pretty well - it has to start as root, right... or not?  butn it's on port 80 - priv port, so it seems so, and then it's always running as apache.
20:25.10_cyeah, i guess it drops root privs.
20:25.19_cafter binding to 80.
20:28.21jasonbLaidBack_01: Actually, running Tomcat via jsvc (on Linux??) should cause absolutely zero performance difference.
20:28.46jasonbLaidBack_01: I would question whether your Tomcat is running using the same Java VM both before & after.. plus what about memory settings and other JVM startup parameters?
20:38.59LaidBack_01jasonb, well, I've only got sun-jdk-1.4.2.08 and the accompanying jre installed.
20:40.04LaidBack_01the memory settings are left to defaults - so I don't actually know what those are.
20:41.59LaidBack_01jasonb, here's the thing - when I run without jsvc, and execute different scripts, and looking at top, I see java pegging the cpu for a few seconds at a time - it'll hit 90% cpu use, etc cpu2 rarely gets bothered.
20:43.24LaidBack_01but with jsvc, I have 2 instances of jsvc and WAAAAY more instances of tomcat running - like about 150... and when I run the same scripts, they do run, but jsvc chews up cpu1 at 100% and cpu2 gets to 70% and holds for some 20-40 seconds before it executes the script.
20:43.57LaidBack_01so... yeah, I don't know, it makes little sense to me, wish I could run tomcat unprivileged... but if I've got no choice... what can I do?
20:47.07LaidBack_01I have a different question - I'm trying to use the host container - and no matter what I put in as my appbase, I end up looking at the install dir of the tomcat dist.
20:57.23jasonbLaidBack_01: In the user's shell that run's Tomcat, what output do you get when you do "which java"?
20:58.43jasonbLaidBack_01: Actually, you could run Tomcat unprivileged and then do a port redirection with, say, iptables on Linux.  What OS and OS version are you using for this?
21:00.35puckorunning with jsvc gives the pro's of being able to control the running process easier w scripts n' shit
21:02.39*** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net)
21:04.16LaidBack_01I'm running linux kernl 2.6.11
21:04.39LaidBack_01and while I wouldn't mind the port redir idea myself, my superiors are against having :8080 in the url
21:04.48jasonbpucko: Only if you don't have my RPM package.
21:05.08LaidBack_01it looks bad to them.... foreign and all, so they don't want it - I already did that and it was fine.
21:05.23jasonbLaidBack_01: You do not need :8080 in the URL if you do a port redirect.
21:05.32LaidBack_01but no can do as far as they are concerned.
21:05.34LaidBack_01really?
21:05.44LaidBack_01it'll stay hidden?
21:05.55jasonbIt can run on port 8080, but from outside the box, everyone accesses it over the default port of 80.
21:05.57LaidBack_01Oh... a redirect - ruins logging though
21:06.14jasonbI'm not talking about an HTTP 30x.  I'm talking about TCP NAT.
21:06.58LaidBack_01yeah, it makes everything look like it's coming from localhost
21:07.23jasonbI'm not sure about that either.
21:07.33_ci don't think that would happen if you did it right.
21:07.33jasonbI think it doesn't if you use iptables.
21:07.51jasonbYeah, what _c said.  :)
21:08.26LaidBack_01are you guys talking about rinetd or iptables?
21:09.09_cyeah, any kind of firewall stuff.
21:09.25_cit's not like a proxy.
21:09.46LaidBack_01iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 -j REDIRECT --to-port 8080
21:09.49LaidBack_01as such?
21:09.58LaidBack_01that's what I did earlier today
21:10.16LaidBack_01but it puts :8080 at the end of the domain.
21:10.33LaidBack_01doesn't affect logging though.
21:10.34_cin what, logs?
21:10.36_c?
21:10.40_cwhat's putting 8080.
21:10.48LaidBack_01in the URL a tthe client - firefox
21:10.59_cno way, how could it possibly know that?
21:11.02LaidBack_01its a matter of what the client sees I suppose
21:11.08LaidBack_01don't know...
21:11.13_cthe client only knows that it's talking to 80.
21:11.15LaidBack_01try it though - it does.
21:11.41_csomething else is at work. there's no mechanism for firefox to figure out your internal port manipulations.
21:12.00LaidBack_01well... since the system IS listening on 8080, it just gets forwarded there  and the :8080 is returned in tomcat's urls, right?
21:12.27jasonbTomcat may try to redirect to 8080, but you can configure it to redirect to any port you want.
21:13.35_ci guess it's right that tomcat is telling the browser 8080. i don't know what to do about that.
21:13.43_cvirtual host or something, maybe.
21:14.11jasonbNah, Connector config change in server.xml.
21:14.23_cbut he wants it to run unpriviledged.
21:14.28_cdon't you?
21:14.46_ci mean, if he changed it to 9090, it would just say :9090 in the url bar instead.
21:17.32jasonbTomcat doesn't care how the request came in as long as the request seems to match its config when it comes in over the socket.  Once it does, depending on what was requested, Tomcat may issue a redirect.  If it has to issue a redirect, it has to formulate a URL to redirect it to.  In formulating that URL, it looks at all kinds of things, including how the connector is configured.  You can configure the connector to tell Tomcat
21:17.32jasonb<PROTECTED>
21:18.00LaidBack_01yeah, I don't want to run as root
21:18.42_cwell, the way i was going to solve this, i think, was apache was going to answer the actual clients and just talk to tomcat over one of the connectors.
21:18.47LaidBack_01okay, I'll try that combo of redirects
21:19.30LaidBack_01yeah, I tried that, but no matter what I did, I failed.. so... back to square one.  I have apache talking to the server fine and answering requests, but when it comes to vhosts, it gets really hard to manage it seems.
21:19.37LaidBack_01I just don't know how to do that.
21:19.43_cvhosts in apache?
21:20.26LaidBack_01yeah, well, vhosts in apache and having their files in seperate dirs - eg tomcat kept looking in it's basdir --for me it's /opt/tomcat for the files that apache was aksing it for
21:20.45jasonbDon't involve Apache httpd unless you absolutely have to use it for some functionality that Tomcat can't provide.
21:21.10_cwell, like mod_rewrite or compression, or a ton of other things.
21:21.10LaidBack_01I would have been happy if I could have made it so that domain1.com in apache equated to a physical dir of /opt/tomcat/domain1   but I could not make that work.
21:21.24LaidBack_01tomcat has mod_rewrite now...
21:21.57_chmm.
21:22.13LaidBack_01or at least someone wrote a module for it - I tried to use it to handle requests based on domain name, but i don't think that the ajp13 actually passes the domainname - rather jus tthe file name it was looking for.
21:23.45LaidBack_01so that's nice and there appears to be some sort of compression - gzip, but it's probably not as evolved as the apache one.
21:24.08_cor as fast, i guess. unless it uses native stuff.
21:24.16LaidBack_01anyway, I'm not very familar with the tomcat way of doing things - really pretty good with apache....  so this is a major change for me.
21:24.35jasonbTomcat is as evolved.
21:24.35LaidBack_01that's what I've done - I've switched to using ONLY tomcat now.
21:24.57LaidBack_01got the book "Tomcat The Definiative Guide" and it's pretty good it seems.
21:25.00LaidBack_01tomcat that is.
21:25.03jasonbTomcat has an equivalent to mod_deflate, and webapps themselves can have the equivalent to mod_rewrite.
21:25.18jasonbLaidBack_01: I'm glad you like it.  I spent lots of time on it.  :)
21:25.23LaidBack_01but... this vhost thing - I feel like it's a permissions thing - a realm or somthing.
21:26.00LaidBack_01jasonb, cool, well, this is day 5 for me on it - so I've spent very little time using it.
21:26.30LaidBack_01every indication is that tomcat is more secure than apache and for the most part only a touch slower...
21:26.35LaidBack_01so I can handle that just fine.
21:26.50jasonbLaidBack_01: I wish I would have spent a little more time making it clear how to do virtual hosting of the various kinds in the book.  We just didn't have much time to write.  :)
21:27.20jasonbLaidBack_01: Tomcat is not slower than Apache httpd now.  With the latest stuff, Tomcat is actually faster at serving static resources than Apache httpd.
21:27.27LaidBack_01but I'd love to run it in port 80 with jsvc - that seems to be the ticket to me.
21:27.29LaidBack_01really?
21:27.32jasonbYes.
21:27.37LaidBack_01I'm using 5.0.x right now
21:27.42LaidBack_01should I get the beta stuff?
21:27.43jasonbUse 5.5.x.
21:27.49LaidBack_01ok
21:27.52jasonbI suggest you use 5.5.10 currently.
21:28.02LaidBack_01here's what I'm doing:
21:28.18jasonb(and yes, I realize that the committers are not going to mark 5.5.10 stable, but the reasons why they won't don't apply to you)
21:29.11jasonbOh, and Tomcat is indeed more secure than Apache httpd IMHO.
21:29.22LaidBack_01I'm the linux admin for a very small company - we have one server.  It's going to host mysql 5.x, tomcat 5.5 (now) and the only used webapp (for now) in tomcat is going to be ColdFusion MX7.  Don't ask me why we are using that, I just came into this place a month ago
21:29.35LaidBack_01and I have CF working.
21:29.50LaidBack_01btw, CF under tomcat is 3x faster than CFMX running standalone.
21:30.01LaidBack_01well - with the coder's little math scripts anyway
21:30.06jasonbWow.
21:30.17LaidBack_01I don't know about all the functions, just the scripts that arnold wrote.
21:30.36jasonbLaidBack_01: If you'd like my Linux RPM for Tomcat 5.5.10 I'll give you a copy.  It's what will be included in Tomcat: The Definitive Guide, Second Edition next year.
21:30.42LaidBack_01so... tomcat may be gaining some popularity from the CFMX crowd if ppl start finding out.
21:31.16LaidBack_01im running a non-rpm distro - where does it want to put the tomcat dist?
21:31.30LaidBack_01I can use rpms, but tend to avoid them if possible.
21:31.37jasonbIt is a fully relocateable RPM package.
21:32.22jasonbThe good part about it is: it has a great init script.  Something sorely missing in the Tomcat community.
21:32.28LaidBack_01by the way - you might want to look at daemontools as a sidenote in your next book as a MUCH faster way to start/stop tomcat than the inetd scripts. I don't know why, but it shaves 5 secs off startup for me under gentoo.
21:32.50LaidBack_01okay, cool, yeah, I'd love to get a copy!
21:33.07jasonbI'll email you a copy.. what's your email address?
21:33.33LaidBack_01jack@chainreactionweb.com --- I just quit there though - but I can still get email off that.
21:33.38LaidBack_01let me see what my new one is.
21:35.57LaidBack_01okay
21:36.02LaidBack_01jdownes@jackola.com
21:36.17LaidBack_01please send it there - that'll be more immediately useable.
21:36.39LaidBack_01So you are Jason Brittain?  That's cool - really nice to meet you.
21:36.59jasonbYep.  Great to "meet" you as well.
21:37.29LaidBack_01lol
21:37.47LaidBack_01well, IRC meets are about as good as the get for me - I live in Montana
21:37.51*** join/#tomcat graystarr (n=mike@204.246.149.66)
21:37.51solusanyone of you used virtual frame buffer? it seems headless doesn't work with java 1.4.2.02
21:38.09graystarrok Im a noob and I need a little help if I may ask?
21:38.26graystarri just got it installed and ran startup.sh
21:38.32puckoI think you should ask in #java instead maybe?
21:38.43puckoor this has something to do with tomcat?
21:38.54LaidBack_01hey, which java do you recommed btw, I'm using: 1.4.2.08
21:38.55graystarrseemed to work but when I go to the http://machineip:8080  i get page cannot be diplayed
21:39.27solusLaidBack_01: 1.5 no doubt
21:40.12soluspucko: I've asked there too, i just thought that virtual frame buffers are a server side thing, and people here should be server side guys
21:40.17solusjasonb: are you famous?
21:40.32graystarranyone?
21:41.01solusgraystarr: checked the log?
21:41.24solusgraystarr: *x or windows?
21:42.05graystarrrhes 4.0
21:42.39puckosolus, well... #tomcat is about the servlet container jakarta tomcat.. and I don't really see any connection between that and framebuffers :)
21:43.16jasonbsolus: Hmm.. Maybe very slightly.  :)
21:43.42LaidBack_01solus, of course he is - he wrote at least 1 O'reilly book!
21:44.43LaidBack_01solus, emerge the xorg package - that solved my graphics generation issues.
21:44.47soluspucko: I know what the channel is about, I use tomcat, and if you make webapps chances are you'll run into problems that will lead you to framebuffers, but if you didn't, just don't answer my question, I won't hit you or anything
21:45.00puckojasonb, congrats, you got fanboys. :)
21:45.17solusLaidBack_01: yea, just that I'm selling the app so i'd love to be able to package it
21:45.48LaidBack_01solus, well package it WITHOUT the xorg stuff and in the readme, tell them to install xorg ;)
21:46.09jasonbLaidBack_01: You should use Java 1.5.x if you can.
21:46.16LaidBack_01okay...
21:46.18LaidBack_01crap.
21:46.25LaidBack_01that's a big deal too ;)
21:46.26jasonbLaidBack_01: Are you going to use HTTPS/TLS/SSL?
21:46.30puckosolus, hehe.. I have some clues about tomcat, but nothing about FB really...
21:46.30LaidBack_01yes
21:46.41solusif everyone used java 1.5, i wouldnt have this problem...
21:46.45jasonbheh
21:47.09jasonbLaidBack_01: Then you'll probably want to use Sun's 1.5.x.
21:47.23LaidBack_01okay
21:47.31solusLaidBack_01: i don't even know what os it's gonna run on, or if xorg is supported there
21:47.33LaidBack_01is it faster than 1.4?
21:49.49graystarrok I see nothing in the httpd log
21:50.21graystarrdo I need to create a virtual host in apache to point to any dir and use port 8080?
21:50.22solusgraystarr: i was talking about the tomcat log
21:50.42graystarroh duh  hang on  lol
21:51.00soluswhat's rhes 4.0 by the way?
21:51.19_credhat something something.
21:51.54solusEnterprise Stuff
21:51.59graystarrline 247: /usr/java/bin/java: No such file or directory
21:52.09graystarrthat is in the catalina.out log
21:53.35LaidBack_01that might have something to do with it...
21:53.59graystarrok question is how do I fix it?
21:54.18graystarrwhat file is this referencing line 247 ???
21:54.37solushow does your JAVA_HOME look and so on
21:54.39LaidBack_01installing sun-jdk-1.5.0.04
21:55.32graystarrthis may sound stupid but how do I tell what it "looks like"?
21:55.46graystarrI did an export JAVA_HOME=/usr/java
21:55.51graystarrif thats what you mean
21:58.02solusgraystarr: thats what I mean
21:58.25solusso does that file exist then, /usr/java/bin/java?
22:00.27*** join/#tomcat loktar__ (i=EatMySho@ns20322.ovh.net)
22:01.44graystarrnope
22:02.01graystarrso question is where do I change that reference to the proper location?
22:02.15solusby setting JAVA_HOME to something better
22:02.35graystarrok let me try a few things thanks
22:04.29graystarrthat did it! woohoo!
22:04.33graystarrthanks homie!
22:07.59solusanytime
22:09.08graystarrok so that is working. what is the Tomcat manager and the Administrator????
22:09.15graystarrI see the links there on the left
22:09.40graystarrthe manager is asking me to log in but I tried my root user and it didnt work
22:12.47jasonbibot: toptentips
22:12.47ibottoptentips is, like, http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html
22:13.56graystarris that for me ibot ????
22:15.07jasonbgraystarr: You should have a look at it, yes.  :)
22:15.49graystarrcool! thanks!
22:16.19jasonbYou're welcome.
22:39.09LaidBack_01hmm... yeah, concerning that admin tool - I'm a console guy, there isn't anything the admin tool can do that the console can't right?
22:50.32jasonbLaidBack_01: Define "console".
22:55.59LaidBack_01no mouse
22:56.15LaidBack_01not a point and click guy save for when I use firefox
22:56.35LaidBack_01hey, your readme say 5.5.9, but I'm doing the 5.5.10 like you said, right?
22:56.47LaidBack_01there anything in your script that's gonna look for 5.5.9?
22:57.00LaidBack_01not script, but build I mean...
22:57.20LaidBack_01but, anyway, should I worry about that or is it smart enough?
22:57.55jasonbLaidBack_01: What I gave you is for 5.5.10, yes, sorry the README is probably wrong about that.
22:58.23jasonbLaidBack_01: Just follow the directions on how to build it that are in the README.txt.
22:58.38jasonbLaidBack_01: Forget about the 5.5.9 reference.
22:58.49LaidBack_01yeah, cool, no issue.
22:59.03LaidBack_01sorry it's taking so long - I went to dinner.
23:06.39jasonbQuite alright.  I'm busily working over here as well.
23:08.39LaidBack_01JVM_ID="@JVM_ID@
23:08.41LaidBack_01what is that?
23:08.52jasonbheh!
23:08.59jasonbYou may safely ignore that.  :)
23:09.08LaidBack_01ok
23:09.26jasonbIt's actually a way of identifying a particular JVM when you're looking from ps output.
23:09.36jasonbNone of the other init scripts do this.. just mine.
23:09.39LaidBack_01hey, I'm gonn paste the tomcat-env to pastebin so you can see if I'm doing something stupid to your work.
23:09.45jasonbBut, I'm convinced it's the best solution.
23:10.20LaidBack_01lol, cool - I might definately be screwing stuff up then - I thought those @var@  were indications of stuff to replace with real paths and names and all...
23:11.40LaidBack_01http://pastebin.com/340296
23:11.55LaidBack_01I removed the comments cause I thought you already knew what everything was ;)
23:26.40LaidBack_01do you think that tomcat will someday replace apache in totality?
23:27.48jasonbIt can, but people seem to really, REALLY be stuck on Apache for some reason.
23:28.03jasonbI guess it is an elegant solution in the majority of cases.
23:29.40jasonbI'm not sure what you mean about the comments.
23:30.23LaidBack_01oh, your comments in the tomcat-env.sh script - the pastebin thing I put up - I just didn't think you needed your original comments was all.
23:30.35jasonbAhh.
23:30.41jasonbYeah, *I* don't.
23:30.45LaidBack_01installing rpm right now - your system needs it.
23:31.27jasonbSo it built just fine?  Which Linux distro, if you don't mind my asking?
23:31.28LaidBack_01did you look at that pastebin - I mean it makes sense to me - but I replace a LOT of those @VARIBLE@ pieces.
23:31.35LaidBack_01it's not yet built
23:31.37LaidBack_01and it's gentoo
23:34.01jasonbYou can't get rid of the @THINGIES@.. those get inserted at build time, and it won't run right if they're not in there at build time.
23:34.19LaidBack_01okay...
23:34.22jasonbYou can change the values of each of those in the build.xml file if you want to.. the properties near the top.
23:34.28LaidBack_01it's screwed up then
23:34.32LaidBack_01hmm..
23:34.40LaidBack_01no issue - jus re-untar it.
23:34.55jasonbI've actually never tried building this on gentoo, so you're the guinea pig.  :)
23:35.02LaidBack_01but I'd like for it to go to /opt/tomcat5_5 if possible..
23:36.32jasonbSo build it, then install it like this:  rpm -ivh --prefix /opt/tomcat5_5 tomcat-*.rpm
23:36.37LaidBack_01see like - CATALINA_HOME="@PKG_ROOT@"  I made that /opt/tomcat5_5 thinking that was the right thing to do.
23:36.41LaidBack_01Oh!
23:36.42LaidBack_01okay
23:36.50jasonbYeah, RPM can relocate it just fine.
23:37.58LaidBack_01so, the only item to change in that tomcat-env.sh is this then:  JAVA_HOME="/opt/sun-jdk-1.5.0.04"
23:39.27jasonbYeah, probably.
23:39.36jasonbI really tried to make this easy.  :)
23:40.08jasonbAlso, you *could* change that after install time.. but if you know the value at build time, that would also be fine.
23:40.47LaidBack_01build fails.
23:40.56jasonbWhat does it say?
23:43.36LaidBack_01http://pastebin.com/340321  <- that's the whole thing
23:46.06LaidBack_01#
23:46.06LaidBack_01<PROTECTED>
23:46.06LaidBack_01#
23:46.06LaidBack_01<PROTECTED>
23:46.22LaidBack_01now... I KNOW I have the .tar.gz binaries
23:46.33LaidBack_01they said nothing about windows... but yet, it's got .exes in there.
23:46.36jasonbLaidBack_01: Can you give me the output of "rpm --version" on your box?
23:46.47jasonbLaidBack_01: Ignore the exes.  :)
23:47.16LaidBack_01RPM version 4.2
23:47.47LaidBack_01what version did you need?
23:48.18jasonb4.2 should actually work since I have it over here on one distro that I test it on, and it works afaik.
23:48.31jasonbCan you try: "ant clean-all build" again?
23:48.39jasonbIt'll probably do the same thing, just try though.
23:48.56LaidBack_01okay it's running
23:49.09LaidBack_01now - I'm doing this as a regular user - no root.
23:49.56LaidBack_01BUILD FAILED
23:50.08LaidBack_01yep - same messages
23:50.20jasonbOk.
23:50.28jasonbThis kinda worries me: #
23:50.28jasonb<PROTECTED>
23:50.39jasonbI've never seen that one before.  :)
23:50.42LaidBack_01yeah, I saw that too - downloading a new one
23:51.34jasonbWell, it's possible that this just plain doesn't work on your distro for an obscure reason.
23:51.55jasonbIt won't hurt to try downloading the tomcat tar.gz files again..  except to waste some of your time.
23:52.08jasonbIt's always possible to get a corrupt download.
23:52.20jasonbBut, I actually doubt that that's your problem.
23:52.54LaidBack_01yeah, I've had those lone zero errors before and they never actually did much... but maybe...
23:53.23LaidBack_01there a way to get your build to make a .tar.gz instead of an rpm?
23:53.46jasonbIt actually does.
23:53.53jasonbHmm..
23:54.04jasonbLet me think if you could do it that way...
23:54.33LaidBack_01yeah maybe I could make it just not try the rpm stuff and go with tar only.
23:54.54jasonbHmmmmm.  It actually does depend on the RPM build I think.. because that's when things are put into their rightful place, and prepared for installation.
23:55.26jasonbTry downloading the new tar.gzs and rebuilding first.
23:56.08LaidBack_01I just did it - same lone zero thing
23:56.11LaidBack_01same error
23:58.03LaidBack_01uh....
23:58.20LaidBack_01I have a debian box too
23:58.32LaidBack_01can I use that to build the rpm and send it off to the gentoo box?
23:59.06jasonbSeems like everyone has the worst luck on Debian, so I'm not real confident it would build better on that than on gentoo, but you can try.

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.