irclog2html for #tomcat on 20030201

00:12.42*** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM]
02:01.47*** join/#tomcat obscured (~jhong@su-nat.datapipe.net)
02:15.49*** join/#tomcat kms (~kms@pc3-cowc1-3-cust62.renf.cable.ntl.com)
02:57.20*** join/#tomcat Nurbs (tom@pD9E09697.dip.t-dialin.net)
02:59.02*** join/#tomcat bla (tom@p50859E76.dip.t-dialin.net)
04:02.45*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
04:02.56Hellaenergywho has mod_jk2 working with apache 13?
04:14.29ceehell, you made me feel bad so I fixed ashpool.com
04:27.57HellaenergyI'm sorry
04:28.19HellaenergyIt'll be good for everyone in the long run, though
05:04.55jasonbHellaenergy: From what I've read, I think mod_jk2 supports Apache 1.3, but just barely.  That means people other than the author(s) may not ever see it working.
05:05.05jasonbHellaenergy: It's really meant for Apache 2.x.
05:19.41Hellaenergyjasonb: you there?
05:19.44Hellaenergystill
05:20.15jasonbYes.
05:20.37HellaenergyI know I read that too
05:20.46HellaenergyIt seems like I am so close though
05:20.50Hellaenergyanyways
05:20.53jasonbWhat's it doing?
05:20.58jasonbAlso, what platform is this on?
05:21.04Hellaenergylinux
05:21.06jasonbok.
05:21.09Hellaenergy1.3.26
05:21.21jasonbWhat's it doing?
05:21.31Hellaenergyone sec here is the dump
05:21.45Hellaenergyready
05:21.49jasonbHeh.  Sure.
05:21.51Hellaenergy[Sat Feb 01 05:04:42 2003]  ( info) [jk_logger_file.c (217)]: Level DEBUG 0
05:21.52Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_env.c (298)]: env.createBean2(): Factory error creating channel.jni:jni ( channel.jni, jni)
05:21.52Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_config.c (418)]: config.update(): Can't create channel.jni:jni
05:21.52Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_env.c (298)]: env.createBean2(): Factory error creating vm: ( vm, )
05:21.52Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_config.c (418)]: config.update(): Can't create vm:
05:21.53Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_env.c (298)]: env.createBean2(): Factory error creating worker.jni:onStartup ( worker.jni, onStartup)
05:21.56Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_config.c (418)]: config.update(): Can't create worker.jni:onStartup
05:22.01Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_env.c (298)]: env.createBean2(): Factory error creating worker.jni:onShutdown ( worker.jni, onShutdown)
05:22.04Hellaenergy[Sat Feb 01 05:04:42 2003]  (error) [jk_config.c (418)]: config.update(): Can't create worker.jni:onShutdown
05:22.06Hellaenergy[Sat Feb 01 05:04:42 2003]  ( info) [jk_logger_file.c (177)]: Initializing log file /usr/local/apache/logs/jk2.log
05:22.09Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (337)]: uriMap.init() Fixing Host *
05:22.12Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri (null) context (null)
05:22.13Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /examples context /examples
05:22.16Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /examples/servlets/* context (null)
05:22.19Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /examples/*.jsp context (null)
05:22.21Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /examples/* context (null)
05:22.23Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /servlet/* context /ROOT
05:22.25Hellaenergy[Sat Feb 01 05:04:42 2003]  ( info) [jk_uriMap.c (445)]: uriMap: creating context */ROOT
05:22.26Hellaenergy[Sat Feb 01 05:04:42 2003]  (debug) [jk_uriMap.c (423)]: uriMap: fix uri /arcimsServletConnector/servlet/* context (null)
05:22.32Hellaenergy[Sat Feb 01 05:0
05:22.52jasonbOkay, let me ask you some questions.
05:22.58Hellaenergyk
05:23.10jasonbFirst question: What form of communication do you want between mod_jk2 and Tomcat?
05:23.23Hellaenergyhonestly I don't know
05:23.35jasonbYour choices are: Network Sockets, UNIX domain sockets, JNI.
05:23.42jasonbThat's probably your main problem.
05:23.46Hellaenergywhats best
05:23.48jasonbYou have to choose one of these.
05:24.09jasonbDo you run both Apache and Tomcat on the same machine?
05:24.12Hellaenergyyes
05:24.23jasonbDo you run only/exactly one Apache httpd?
05:24.39Hellaenergyyes
05:24.47jasonb(for example, you don't have two front-end web server machines, each with Apache and mod_jk2 on it, right?
05:24.48jasonb)
05:24.52Hellaenergyyou mean on instance of it?
05:25.04jasonbSure, say "instance" then.
05:25.14HellaenergyI have 9 in ps aux
05:25.22jasonbWell, that's not what I'm asking.
05:25.26Hellaenergyok
05:25.38jasonbOne "instance" of Apache httpd, in my book, is when you do apachectl start just one time on one box.
05:25.59Hellaenergywell then the answer is yes, just one.
05:26.19jasonb1.3 preforks off lots of processes, each one can serve a request, but not stand-alone.. it needs a controller httpd process.  I'm wanting to know how many controller httpd processes you're intending to run.
05:26.23jasonbI'm assuming one.
05:26.34jasonbOkay, now how many Tomcat instances are you running?
05:26.41Hellaenergyone
05:26.53jasonbDo you intend to always run one httpd and one Tomcat?
05:27.01Hellaenergyyes for now
05:27.09HellaenergyIts a dev box
05:27.18jasonbOkay, because the choice you make today may mean some rework if you choose to change that.
05:27.24jasonbOkay.
05:27.27jasonbSo one and one.
05:27.28HellaenergyOkay
05:27.40jasonbNow, do you intend to always run both of those on the same computer?
05:27.49jasonbOr, do you plan to separate Tomcat off to another machine?
05:27.49Hellaenergyyes
05:28.06Hellaenergysame machine
05:28.29jasonbOkay.  So you still have those same three choices then..  TCP Sockets, UNIX domain sockets, and JNI.
05:28.37jasonbI suggest that you do *not* try to use JNI.
05:28.48jasonbI actually don't even think JNI works with Apache 1.3.
05:28.58Hellaenergyok thats what I am doing now
05:29.01jasonb(I also couldn't get it to work with 2.x)
05:29.06Hellaenergy;)
05:29.18jasonbOkay, so I suggest you pick either TCP sockets or UNIX domain sockets.
05:29.30Hellaenergywhat do you suggest
05:29.31jasonbI personally think TCP sockets are better, although they're very slightly slower.
05:29.55HellaenergyTCP sockets it is
05:30.25jasonbSome folks think UNIX domain sockets are much faster than TCP sockets, and in some cases they may be, but I also think that TCP sockets are plenty fast enough.  Plus, with TCP sockets, if you want to you can easily point Apache/mod_jk2 to a Tomcat instance on another machine.. a simple reconfigure of one line I believe.
05:30.42jasonbYou can change to UNIX domain sockets if you want to later.
05:30.49Hellaenergynice
05:31.09jasonbOkay, so, now you need the right settings in your workers2.properties file for TCP sockets.
05:31.20jasonbMake sure that you basically have NOTHING defined in your jk2.properties file.
05:31.35Hellaenergynothing at all
05:31.41Hellaenergy?
05:31.56Hellaenergydo you know the workers2.properties directive?
05:32.22jasonbIt's multiple lines of config.  I have it, at least what I set up for Apache 2.0 (which may just work for 1.3 too).
05:32.30jasonbHere it comes:
05:32.43jasonb#---- workers2.properties
05:32.43jasonb# Define the TCP socket communication channel
05:32.43jasonb[channel.socket:localhost:8009]
05:32.43jasonbinfo=Ajp13 forwarding over a TCP socket
05:32.43jasonbtomcatId=localhost:8009
05:32.44jasonbdebug=0
05:32.46jasonb# Map the Tomcat "examples" webapp to the Web server uri space
05:32.48jasonb[uri:/examples/*]
05:32.50jasonbinfo=Map the entire "examples" webapp
05:32.54jasonbdebug=0
05:32.56jasonb# Configure the shared memory file
05:32.58jasonb[shm]
05:33.00jasonbfile=/usr/local/apache2/logs/shm.file
05:33.02jasonbsize=1048576
05:33.04jasonbdebug=0
05:33.06jasonb#---- end of workers2.properties
05:33.14jasonbOf course you'll need to change the /usr/local/apache2 path to the path of your Apache 1.3.
05:33.34ceeI think I need to email whoever, like, wrote catalina
05:33.36ceeChris something?
05:34.12jasonbAfter you do that, you must have your Tomcat's Coyote AJP connector configured and listening on port 8009.
05:34.30jasonbShut down both Apache httpd and Tomcat and make sure they're both all the way down.
05:34.47jasonbThen, start up Tomcat first.. wait to make sure it's completely up..  then start Apache httpd.
05:35.16jasonbThen you *should* be able to access the /examples context through Apache.
05:35.42jasonbIf you can't, then you probably have some other config wrong, or my directives don't work right on Apache 1.3.. (I've actually never tested this on Apache 1.3).
05:35.55Hellaenergyk
05:36.19Hellaenergybrb
05:36.56jasonbcee: What do you need from the Catalina authors?
05:40.07Hellaenergyjasonb: ready for the errors
05:40.08Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [info] (null)
05:40.09Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create info
05:40.09Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [tomcatId] (null)
05:40.09Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create tomcatId
05:40.10Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [debug] (null)
05:40.13Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create debug
05:40.15Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [info] (null)
05:40.18Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create info
05:40.20Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [tomcatId] (null)
05:40.23Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create tomcatId
05:40.25Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_env.c (259)]: env.createBean2(): Error getting factory for [debug] (null)
05:40.28Hellaenergy[Sat Feb 01 05:43:34 2003]  (error) [jk_config.c (418)]: config.update(): Can't create debug
05:41.33jasonbHellaenergy: What do you see from the web browser?
05:42.02Hellaenergyjasonb: nothing
05:42.11Hellaenergywhat uri should I be calling it from
05:42.14jasonbHellaenergy: Did you try making a request?
05:42.21HellaenergyI have several vhosts on this machine
05:42.36jasonbHellaenergy: Try http://whateverhostitis/examples/index.html
05:43.06HellaenergyThe page cannot be displayed
05:43.34jasonbActually.. http://whateverhostitis/examples/jsp/index.html
05:44.10Hellaenergyna still nothing :(
05:44.24jasonbLook in your catalina logs and tell me if it shows any new requests.
05:44.26jasonb(probably not)
05:44.33Hellaenergyk
05:46.00Hellaenergynope
05:46.02jasonbOkay, so now answer each of these next questions: How did you install mod_jk2?  Where did you get it?  How did you install it?
05:46.21HellaenergyFrom the Tomcat site eapi
05:46.27HellaenergyLoadModule
05:46.40jasonbOkay, so you downloaded a binary release of mod_jk2?
05:46.50Hellaenergyworkers2.properties is in /usr/local/apache/conf
05:46.53Hellaenergyyes
05:47.03jasonbThat may be your next biggest problem.
05:47.13Hellaenergywhy?
05:47.21HellaenergyI need to compile it myself?
05:47.43jasonbFrom my own experimentation with mod_jk2, it's very tough to get a binary release of it to work at all since it's compiled against specific version of Apache 2 that we're probably not all going to have.
05:48.05jasonbAnd, even though I've heard some people say it'll work on other versions too, I have personally found that to not be the case (at least in my setups).
05:48.16jasonbI have, however, gotten it to work when I pull the source and compile it myself.
05:48.42HellaenergyCan you help me with mod_jk?
05:48.48jasonbYou could probably compile it against a binary of Apache 1.3, but I'm not sure about the 1.3 part since I've only compiled it (successfully) against binaries of Apache 2.
05:49.03jasonbNo, I've actually never set up mod_jk.  Only mod_jk2.
05:49.30Hellaenergyyou running apache2?
05:49.32jasonbLet me ask you this: Why do you have to run Apache 1.3 as opposed to Apache 2.x?
05:49.45HellaenergyI need php4 and mod_perl support
05:49.58jasonbHellaenergy: Also, I suggest NOT downloading a package of the mod_jk2 source.. I suggest pulling it from the cvs repository instead.
05:50.16jasonbHmm.  Okay, you may need Apache 1.3 for now then.
05:50.18Hellaenergywhere is that again?
05:51.20jasonbcvs -d :pserver:anoncvs@cvs.apache.org:2401/home/cvspublic login
05:51.35jasonb<let me get the anon password>
05:52.01jasonbpassword: anoncvs
05:52.11jasonbcvs -d :pserver:anoncvs@cvs.apache.org:2401/home/cvspublic co jakarta-tomcat-connectors
05:53.17Hellaenergydownloading...
05:53.45jasonbCool.
05:53.56Hellaenergythanks btw
05:54.16Hellaenergydo I need the "latest" ant?
05:54.54Hellaenergydone downloading
05:55.12jasonbI'm not real sure which Ant it requires.
05:55.19jasonbWhich Ant version do you have?
05:55.38Hellaenergy1.5
05:55.52HellaenergyJuly 25 2002
05:55.55jasonb(and you're welcome.. I'm walking you through this in part because it helps me with something I'm doing to know whether or not all this will work on Apache 1.3. :)
05:56.01jasonbYou might be okay there.
05:56.05jasonbOkay..
05:56.09Hellaenergyright on
05:56.26Hellaenergyjust type ant or do I have to configure something?
05:57.26jasonbJust a sec.
05:58.03jasonbHere's the commands..  I'll walk you through them.
05:58.06jasonbcd jakarta-tomcat-connectors
05:58.16jasonbPATH=$PATH:/usr/local/jakarta-ant-1.5
05:58.21jasonb(or wherever it is)
05:58.26Hellaenergyant is setup already
05:58.28jasonbexport PATH
05:58.37jasonbwhich ant
05:58.42ceeahh all this configuration complexity will be a thing of the past once my connector works.
05:58.44jasonbThen, make sure it shows where ant is.
05:58.45Hellaenergy1.5
05:58.57jasonbcee: What connector?
05:59.04Hellaenergywhy jasonb?
05:59.09Hellaenergyits in my path
05:59.21ceejason, I am writing a direct invokation connector for an interior implementation of tomcat/catalina for my webserver (ashpool.com)
05:59.31jasonbYeah, but type "which ant" and hit enter.. you want to MAKE SURE that it's set to run only the newest one you've got.. 1.5.x.
05:59.47Hellaenergy/usr/local/ant/bin/ant
06:00.06jasonbcee: Cool.  But, for those who need TCP socket connectors so that Apache httpd and Tomcat can be on different machines, we'll still need mod_jk2.
06:00.11jasonbHellaenergy: Okay.
06:00.20jasonbecho $JAVA_HOME
06:00.21ceejason, I already support http passthrough
06:00.26jasonb(that must also be set)
06:00.39jasonbcee: Http Proxy?
06:00.44Hellaenergy/usr/local/java/j2sdk1.4.1_01
06:00.44ceeyes
06:00.52jasonbcee: If people wanted that, they'd just use mod_proxy which is already part of Apache.
06:00.57ceemost people who use that architecture with my product use ATG dynamo though.
06:00.57jasonbHellaenergy: Ok.
06:01.03ceejason shrug sure
06:01.13ceebut most people don't run 2n architectures
06:01.26jasonbHellaenergy: Create a useable copy of the util/build.properties file:
06:01.32jasonbcp util/build.properties.sample util/build.properties
06:01.43jasonbHellaenergy: Create a useable copy of the jk/build.properties file:
06:01.44ceeI have interior binary support for the ATG requestor protocol for dynamo
06:01.50jasonbcp jk/build.properties.sample jk/build.properties
06:01.51ceeI've considered supporting AJK or whatever it is for catalina
06:02.03jasonbcee: That would be great.
06:02.16jasonbHellaenergy: Edit the new jk/build.properties file.
06:02.38jasonbHellaenergy: ONLY change the lines that have to do with your exact setup, and leave all the others alone!
06:02.42ceeWhat is the supposed benefit from using the binary catalina protocol vs. http proxy?
06:02.59Hellaenergyjasonb: do I have to pull the tomcat source?
06:03.07ceethe load balancing?
06:03.14jasonbcee: String manipulation takes longer and has an impact on performance.  So, AJP is a binary protocol that is supposed to be faster.
06:03.22jasonbHellaenergy: I don't think you do.
06:03.30jasonbHellaenergy: Does it say in there that you have to?
06:03.43ceejason I am skeptical but I'll accept that argument.
06:03.51Hellaenergyapache13.home is?
06:03.53Hellaenergyno
06:03.53ceeCoyote isn't exactly the greatest code I've ever seen
06:03.59jasonbcee: I'm skeptical too, but I've also so far accepted it.  :)
06:04.13jasonbcee: No doubt.
06:04.38jasonbHellaenergy: You do need to set apache13.home to the abs fs path to your apache13 dir.
06:04.51Hellaenergy/usr/local/apache?
06:05.11jasonbProbably.
06:05.12ceejason I have everything working except I need to figure out how to get a reference to my instanced connector object in the catalina loader back into native so I can call it when requests come in through JNI
06:05.19ceeit's making me sad right at the moment
06:05.30Hellaenergytomcat41.home=../../jakarta-tomcat-4.1/build
06:05.46Hellaenergyjasonb: that looks like it needs src
06:05.46jasonbcee: Let me finish with Hellaenergy here and I'll see if I can give you some answers too.
06:05.56jasonbHellaenergy: It doesn't.
06:06.11jasonbHellaenergy: the "build" dir is where the binaries go.. so you can point it to the binaries of TC4.
06:06.28Hellaenergy$CATALINA_HOME/bin?
06:06.51jasonbHellaenergy: No, CATALINA_HOME.
06:07.02jasonbHellaenergy: That's the binary distribution dir for TC4.
06:07.10Hellaenergydone
06:07.16jasonbHellaenergy: Create a useable copy of the coyote/build.properties file:
06:07.23jasonbcp coyote/build.properties.sample coyote/build.properties
06:07.45jasonbHellaenergy: Edit the new coyote/build.properties file, changing the value of catalina.home to point to your Tomcat installation directory.
06:08.16Hellaenergydone
06:08.32jasonbOkay, now run ant in the top level of the jakarta-tomcat-connectors dir.
06:08.36jasonbant
06:08.57Hellaenergyfailed
06:08.59Hellaenergyone sec
06:09.03jasonbhmmm
06:10.43HellaenergyIs there a log file for the build
06:11.02jasonbIf you don't catch the output in your scrollback, it's gone.
06:11.19jasonbAnd, if by now you don't have a few thousand line scrollback buffer, you better set that up!
06:11.49Hellaenergy:)
06:11.51HellaenergyI do
06:12.20Hellaenergyno errors verbosed
06:12.30Hellaenergyone warnning
06:13.03jasonbIf it failed, then there was an error.
06:13.03Hellaenergyhere is the dump
06:13.07Hellaenergycompile-only:
06:13.08Hellaenergy<PROTECTED>
06:13.08Hellaenergy<PROTECTED>
06:13.08Hellaenergy<PROTECTED>
06:13.08Hellaenergy<PROTECTED>
06:13.10Hellaenergy<PROTECTED>
06:13.13Hellaenergy<PROTECTED>
06:13.15Hellaenergy<PROTECTED>
06:13.17Hellaenergy<PROTECTED>
06:13.19Hellaenergy<PROTECTED>
06:13.21Hellaenergy<PROTECTED>
06:13.24Hellaenergy<PROTECTED>
06:13.26Hellaenergy<PROTECTED>
06:13.28Hellaenergy<PROTECTED>
06:13.30jasonbThat's all I need.
06:13.30Hellaenergy<PROTECTED>
06:13.32Hellaenergy<PROTECTED>
06:13.37Hellaenergy<PROTECTED>
06:13.39Hellaenergy<PROTECTED>
06:13.41Hellaenergy<PROTECTED>
06:13.42jasonbugh.
06:13.43Hellaenergy<PROTECTED>
06:13.45Hellaenergy<PROTECTED>
06:13.47Hellaenergy<PROTECTED>
06:13.49Hellaenergy<PROTECTED>
06:13.51Hellaenergycant find the classes uh
06:14.14jasonbYou are missing the modeler.
06:14.23Hellaenergyhm?
06:14.28jasonbGet that out of the TC4 dist.
06:14.33jasonbjust a sec.
06:14.56Hellaenergy/usr/local/tomcat/server/lib/commons-modeler.jar?
06:15.43jasonbYes, you need that on your CLASSPATH.
06:15.52Hellaenergydoing that now
06:18.02Hellaenergy<PROTECTED>
06:18.36Hellaenergyonly 3 errors now :)
06:18.41jasonbdo this:
06:18.53jasonbrm /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/http11/build/classes/*.class
06:19.13jasonbThen build again.
06:19.30Hellaenergyrm: cannot remove `/home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/http11/build/classes/*.class': No such file or directory
06:20.03jasonbOkay, then do this:
06:20.29jasonbfind /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/http11/build/classes -name "*.class" | xargs -i rm {}
06:20.29Hellaenergyin /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/http11/build/classes/org/apache/coyote/http11 there are classes
06:21.49Hellaenergy<PROTECTED>
06:22.05jasonbtry "ant clean"
06:22.19jasonbDoes "ant clean" seem to clean out the last compile?
06:22.41Hellaenergydid the clean and rebuilt and that failed too?
06:22.43Hellaenergy:(
06:22.53jasonbSame error message?
06:23.01HellaenergyCompiling 14 source files to /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/http11/build/classes
06:23.02Hellaenergy<PROTECTED>
06:23.02Hellaenergy<PROTECTED>
06:23.02Hellaenergy<PROTECTED>
06:23.03Hellaenergy<PROTECTED>
06:23.05jasonbI only want the very first error message.
06:23.05Hellaenergy<PROTECTED>
06:23.09Hellaenergy<PROTECTED>
06:23.12Hellaenergy<PROTECTED>
06:23.16Hellaenergy<PROTECTED>
06:23.17Hellaenergy<PROTECTED>
06:23.19Hellaenergy<PROTECTED>
06:23.22Hellaenergy<PROTECTED>
06:23.25Hellaenergy<PROTECTED>
06:23.28Hellaenergy<PROTECTED>
06:23.30Hellaenergy<PROTECTED>
06:23.32Hellaenergy<PROTECTED>
06:23.34Hellaenergy<PROTECTED>
06:23.36Hellaenergy<PROTECTED>
06:23.40Hellaenergy<PROTECTED>
06:23.42Hellaenergysorry :)
06:24.11jasonbLooks like it either can't find some JMX stuff, or can't find some Tomcat class stuff.
06:24.15jasonbjust a sec.
06:26.07jasonbWhat I'd do is: try putting mx4j.jar and catalina.jar on your CLASSPATH.
06:26.17Hellaenergyk
06:26.21jasonb<PROTECTED>
06:26.32jasonbThen do another "ant".
06:26.52jasonbIt may not be seeing your commons-modeler.jar though.
06:27.04jasonbOh, actually, it probably is.
06:27.27HellaenergyCLASSPATH=/common/lib/servlet.jar:/common/lib/mail.jar:/usr/local/java/j2sdk1.4.1_01/lib/servlet.jar:/usr/local/java/j2sdk1.4.1_01/lib/mail.jar:/usr/local/tomcat/server/lib/commons-modeler.jar
06:27.39jasonbWell, maybe not.
06:28.11jasonbYeah, add to that your mx4j-jmx.jar and catalina.jar.
06:30.30HellaenergyI don't have mx4j-jmx.jar
06:30.44jasonbReally?
06:30.54jasonbIn your CATALINA_HOME/server/lib ?
06:31.03jasonbWhich version of Tomcat is it?
06:31.37Hellaenergyok I do
06:33.08Hellaenergyno luck
06:33.57HellaenergyI found the problem
06:34.17Hellaenergythe build.properties in http11 is still the sample
06:35.29jasonbYeah, that'd to it.
06:35.36Hellaenergydidn't help :(
06:35.48jasonbOkay.  I may be able to fix it anyway.
06:35.53jasonbSame error msg?
06:35.58Hellaenergyyes
06:36.12jasonbOkay, cd into the http11 dir.
06:36.15jasonbEdit the build.xml file.
06:36.33jasonbFind the spot in the file that starts like this:
06:36.36jasonb<PROTECTED>
06:36.36jasonb<PROTECTED>
06:36.56Hellaenergyk
06:36.58jasonbAnd add classpath path elements in there for the jars it can't find.
06:37.46jasonbI would suggest absolute filepaths..
06:37.55Hellaenergywhat jars cant it find?
06:38.06jasonbIt can't find commons-modeler.jar.. add that one first.
06:39.28jasonbWhy it can't just find these, I don't know.. but these build files never were robust.
06:40.08Hellaenergyadding commons didn't help what next?
06:40.20jasonbyou added commons-modeler.jar?
06:40.25Hellaenergyyes
06:40.31jasonbNext add the mx4j-jmx.jar.
06:40.44Hellaenergy<property name="commons-modeler.jar" location="../../jakarta-commons/modeler/dist/commons-modeler.jar" />
06:41.08jasonbWhere did you get that?
06:42.12Hellaenergyup top
06:42.29jasonbWell, but is there anything in the compile.classpath section about that?
06:43.33Hellaenergy<PROTECTED>
06:43.33Hellaenergy<PROTECTED>
06:43.38Hellaenergynoting same error
06:43.43jasonbDid you put those in?
06:43.47Hellaenergyyes
06:43.54jasonbOkay, now add your catalina.jar file.
06:45.12Hellaenergynope
06:45.36jasonbOkay, now, starting with the very first line of build output that says there was a problem, and ending five lines later, paste that in here.
06:46.11HellaenergyCompiling 59 source files to /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/util/build/classes
06:46.11Hellaenergy<PROTECTED>
06:46.36HellaenergyTomcat4 detected
06:46.50HellaenergyNote: /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/coyote/src/java/org/apache/coyote/Request.java uses or overrides a deprecated API.
06:46.51Hellaenergy<PROTECTED>
06:47.00jasonbThose are all warnings.
06:47.04Hellaenergyyup
06:47.05jasonbI want to see errors.
06:47.15Hellaenergynothing else but what I dumped
06:47.23jasonbSo did it say BUILD SUCCESSFUL ?
06:47.50Hellaenergyoh no :)
06:47.51HellaenergyBUILD FAILED
06:48.04jasonbOkay, and if it failed, there were errors reported
06:48.07jasonbI want to see those.
06:48.24jasonb(but just the first 5 lines, max)
06:48.46Hellaenergythere are no errors I'm telling you
06:48.53Hellaenergyits a very short output
06:48.56Hellaenergy50 lines
06:49.11Hellaenergythe snip I have dumped it the whole of it
06:49.13jasonbSo just before it says BUILD FAILED, what did it say?
06:49.26Hellaenergy[javac] 3 errors
06:49.32jasonbYeah.  What were they?
06:49.47Hellaenergylocation: class org.apache.commons.modeler.Registry
06:49.47Hellaenergy<PROTECTED>
06:49.57Hellaenergyc] location: class org.apache.commons.modeler.Registry
06:49.57Hellaenergy<PROTECTED>
06:50.14Hellaenergy<PROTECTED>
06:50.15Hellaenergy<PROTECTED>
06:50.37Hellaenergythere is a caret under the getRegistry() on all of those
06:50.43jasonbYeah.
06:51.02HellaenergyThose are the three errors
06:52.46jasonbOkay, now paste in the section from your http11/build.xml where it builds the build.classpath.
06:53.11jasonbcompile.classpath I mean.
06:53.36Hellaenergy<!-- Construct compile classpath -->
06:53.36Hellaenergy<PROTECTED>
06:53.36Hellaenergy<PROTECTED>
06:53.36Hellaenergy<PROTECTED>
06:53.36Hellaenergy<PROTECTED>
06:53.37Hellaenergy<PROTECTED>
06:53.39Hellaenergy<PROTECTED>
06:53.43Hellaenergy<PROTECTED>
06:53.45Hellaenergy<PROTECTED>
06:53.47Hellaenergy<PROTECTED>
06:53.49Hellaenergy<PROTECTED>
06:54.47HellaenergyI hate how troublesome classpaths can be
06:54.59jasonbYeah, this is one of those.
06:56.19jasonbHmm.. registerComponent()..
06:56.50HellaenergyI don't have junit.jar=/java/junit/junit.jar
06:57.02Hellaenergyand the properties file is looking for it
06:57.12jasonbThat's okay..
06:57.19jasonbUmm, hold on.
06:59.27Hellaenergywhat about the native2 in jk
07:01.17jasonbHere's what's going on..
07:01.43jasonbFor the src in http11 to compile, it has to have this Registry.registerComponent() method to compile against.
07:01.56jasonbRegistry is a class that commons-modeler.jar has in it.
07:02.14jasonbBut, the one in there doesn't have a registerComponent() method.
07:02.36Hellaenergythats bleeding edge for you
07:02.55jasonbThat looks to me like either this source doesn't match with this commons-modeler.jar, or I'm looking at the wrong Registry class (which I doubt).
07:03.21jasonbHellaenergy: What I had you do was to pull the *latest* jakarta-tomcat-connectors src.. which I'm now thinking was a bad idea.
07:03.38jasonbHellaenergy: What we could do is we could stop, remove that src, and pull one that I know works.
07:03.41Hellaenergyme too
07:03.48Hellaenergyk
07:05.08jasonbSo, rm -rf that whole jakarta-tomcat-connectors/ tree.
07:05.17jasonbWe'll pull the JK2_2_0_1 tagged one.
07:05.39HellaenergyI'm with ya
07:06.35jasonbcvs -d :pserver:anoncvs@cvs.apache.org:2401/home/cvspublic co -rJK2_2_0_1 jakarta-tomcat-connectors
07:07.17jasonbThis is the exact version that I played with.
07:07.30Hellaenergywhat version of tomcat?
07:07.35Hellaenergyare you using?
07:07.38jasonbI don't know if it supports Apache 1.3, but it at least builds and is useable with Apache 2.0.
07:07.45jasonbI was using 4.1.17 at the time.
07:07.58HellaenergyI am using 18
07:08.04jasonbYeah, 18 is better.
07:08.12Hellaenergysecurity fix
07:08.16jasonbYup!
07:10.35jasonbJust the util/ and jk/ ones.
07:10.51jasonboh, and coyote/
07:12.50HellaenergyBUILD SUCCESSFUL
07:12.56jasonbw00 h00!
07:13.02jasonbNow:
07:13.05jasonbcd jk
07:13.09jasonbant native
07:13.36Hellaenergyouch
07:13.36HellaenergyBUILD FAILED
07:14.05Hellaenergyfile:/home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/jk/native/build.xml:63: Compile failed /home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/jk/native/jni/jk_jnicb.c
07:14.31jasonbI need the next line of output to see why it couldn't compile that.
07:15.06Hellaenergy<PROTECTED>
07:15.06Hellaenergy<PROTECTED>
07:15.06Hellaenergyrs/jk/native/jni/jk_jnicb.c
07:15.21Hellaenergy/usr/local/java/j2sdk1.4.1_01/jre/../include/jni.h:27: jni_md.h: No such file or directory
07:15.42jasonbOkay, just a sec.
07:16.57Hellaenergy/usr/local/java/j2sdk1.4.1_01/include/linux/jni_md.h
07:17.18Hellaenergyshould I symlink it
07:19.12jasonbYou might be able to
07:19.38Hellaenergyno that just causes it to not be able to see like thirty other .h's
07:19.49Hellaenergyapr.h
07:19.55Hellaenergyapt*.h
07:19.59Hellaenergyapr*.h
07:20.09jasonbIs there an apr.h in /usr/local/java/j2sdk1.4.1_01/include/linux/ ?
07:20.42Hellaenergy/usr/local/apache2/include/apr.h
07:20.47Hellaenergy:(
07:20.48jasonb:)
07:21.02jasonbNow, do you know what APR is?
07:21.25Hellaenergyno
07:21.30jasonbApache Portable Runtime.
07:21.48jasonbIt's something that is built into Apache 2, but not Apache 1.3.x if I remember right.
07:21.49HellaenergySounds interesting
07:22.06jasonbmod_jk2 does need this APR stuff, but Apache 1.3 itself doesn't.
07:22.20Hellaenergyah
07:22.25jasonbI was hoping that since we were compiling it against Apache 1.3 it'd just not use APR, but I guess it does anyway.
07:22.37jasonbAPR is actually something you can get separate from Apache 2, I'm pretty sure.
07:22.37Hellaenergyoh well
07:22.56jasonbSo, in theory, you could get APR and compile mod_jk2 anyway.
07:23.10jasonbOr, maybe you could even compile it against your Apache2's APR.
07:24.14jasonbhttp://apr.apache.org/
07:25.17Hellaenergyone sec
07:25.34jasonbYou could get an APR src snapshot, unpack that, and try to point your build at that in addition to your Apache 1.3.
07:25.55HellaenergyI forgot to point to the apache13 dir
07:25.59Hellaenergyin the properties
07:26.14HellaenergyI pointed to both 13 and 2 and now its going good
07:26.54jasonbUmm, that's probably not a good idea!
07:27.01Hellaenergy<PROTECTED>
07:27.01Hellaenergy<PROTECTED>
07:27.01Hellaenergy<PROTECTED>
07:27.04Hellaenergyouch
07:27.09jasonbYou should point it at exactly one Apache.
07:27.14jasonbEither 1.3 or 2.0, not both!
07:27.56Hellaenergyk retrying
07:28.52Hellaenergystill not working :( with 13
07:28.59jasonbWhat's it choking on'?
07:29.18Hellaenergy,-soname -Wl,libjkjni.so -o .libs/libjkjni.so
07:29.18Hellaenergy<PROTECTED>
07:29.18Hellaenergy<PROTECTED>
07:29.18Hellaenergy<PROTECTED>
07:29.35jasonbAt this point, you should pull a copy of apr and point it to that..
07:29.37Hellaenergyfile:/home/nschuetz/workbench/connectors/jakarta-tomcat-connectors/jk/native2/build.xml:341: Link failed libjkjni
07:29.47jasonblet me see if there's an easy way of pointing it to a separate APR.
07:30.52jasonbYeah, in jk/build.properties set your apr.home to point to your apr..
07:31.15jasonbYou're going to need both the apr src (for the headers), and the binaries.
07:31.34jasonbSo, if you pull the src, you'll need to build it.. if you pull the binaries, you'll also need to pull the source.  :)
07:32.35jasonbIt was choking because Apache httpd 1.3 doesn't contain APR, and you were only pointing it to Apache 1.3.  It aparently does need APR anyway.
07:32.45Hellaenergycat: ./include/arch/unix/apr_private.h.in: No such file or directory
07:32.50Hellaenergyon the apr configure
07:32.59jasonbNeat.
07:33.12jasonbAre you following their build instructions exactly?
07:33.23Hellaenergyits there too
07:33.56jasonbWell, you don't know where it's thinking ./ is.  :)
07:34.35jasonbMaybe you should pull a binary release of APR, and then pull its corresponding src release, and just point the build at each of those.
07:34.45jasonbThat way, you won't have to worry about building APR.
07:35.50Hellaenergyjasonb: I got to give up and go beat my neighbors ass
07:35.52jasonbRight now the audience is probably thinking how much mod_jk2 sucks because of the hell we're going through trying to get it working.. which is true.. but remember that mod_jk2 wasn't meant to be used with Apache 1.3.  Let this be a lesson to you!  ;)
07:36.06Hellaenergytrue
07:36.14HellaenergyI am going to go with mod_jk
07:36.32jasonbHellaenergy: Suuuure, go 98% of the way and then drop it.. :)
07:36.47Hellaenergyjasonb: I am sorry man
07:36.59jasonbI can't really say I blame you.
07:37.06HellaenergyI got to go deal with this asshole though real quick
07:37.13jasonbOkay.
07:37.23Hellaenergythank you very much though
07:37.24jasonbPretend he's the author of mod_jk2.
07:37.29Hellaenergyseriously
07:37.33jasonbYeah, no prob.
07:38.22ceegod still at it?
07:38.27jasonbhehe
07:38.33jasonbcee: Not any more.
07:39.04Hellaenergyfuck mod_jk2
07:39.24jasonbWell.. yeah, but fuck Apache 1.3 too.  :)
07:39.32Hellaenergy:)
07:40.08jasonbI do think it would have compiled with APR installed.
07:40.08ceehell, you need a http://www.tessier.com/image/pcd0147/img_4351.html
07:40.34HellaenergyYa I do
07:41.08Hellaenergycee: where do you stay?
07:41.16ceepardon?
07:41.26HellaenergyWhere are you?
07:41.30ceeKansas City.
07:41.39ceeI'm an import, I grew up in Vancouver.
07:41.42Hellaenergyah
07:41.53HellaenergyOn a Visa?
07:41.58ceeDual citizen.
07:42.02Hellaenergyah
07:42.04Hellaenergynice
07:42.21ceeYeah it has some perks.
07:42.23HellaenergyGo back to Canada before Bush starts his rampage
07:42.47ceeplenty of time for that.
07:43.09HellaenergyWhere you at jasonb?
07:43.37ceehell, go to http://www.tessier.com/evo12/photography.html and keep clicking reload, with a drink in hand it'll help numb your mind
07:43.56jasonbhttp://www.madkane.com/bush.html
07:45.00Hellaenergy:)
07:45.17Hellaenergycee: you like to take pictures heh?
07:45.37ceehell, I guess you could say that. http://www.tessier.com/image/portfolio/
07:46.40Hellaenergynice work
07:46.54ceeThanks.
07:48.03ceeIf you look at every picture on there for 19 seconds, it will take 24 hours.
07:48.26ceebut is even less time than it takes to get jk2 to work
07:48.26jasonbcee: How much storage space does that all take up?  :)
07:48.49ceeuh 4.5 gig I think, minus Oracle
07:49.05jasonbmmmmmmm, 0racle!
07:49.37HellaenergyWhere are all of em ?
07:49.43Hellaenergy<PROTECTED>
07:49.46ceeall the pictures?
07:49.52Hellaenergyya
07:49.53ceewell you can reload http://www.tessier.com/evo12/photography.html forever
07:50.00ceeor troll through tessier.com/photos.html
07:50.07ceethe latter is a lot more coherant
07:50.38HellaenergyWhen do you find the time to code
07:50.45cee"tomorrow I am going to get that damned thing to work"
07:51.12ceeIt's usually more like when do I find the time to take pictures.
07:51.18Hellaenergydid you do that drawing on the front page?
07:51.25ceeno, but it's of me.
07:51.32ceeI can't draw.
07:51.46HellaenergyYour a mac guy?
07:52.02ceeI am not really an anything, but I normally use a powerbook.
07:52.18ceeIf you want to pin me to an os it's probably solaris
07:52.53ceeall I talked about for days was tomcat, so she drew java
07:52.55ceeerr
07:52.58ceehttp://www.tessier.com/image/sketch/java_whore.jpg
07:53.12ceeI have a cartoon for when I get it to work but it's not time yet ;)
07:53.42HellaenergyIs that your g friend?
07:54.05ceeWho, that draws them?
07:54.14HellaenergyI wish I knew an artist
07:54.24jasonbhehe
07:55.02Hellaenergywhat kind of camera do you use?
07:55.09ceedepends
07:55.25ceeI own many.
07:55.35ceeI tend to favor antiques but lately I've been shooting digital on a canon d30
07:55.39Hellaenergydigital pride and joy?
07:55.46Hellaenergyah
07:56.03ceehttp://www.tessier.com/image/pcd0126/ is my camera
07:56.32ceesee also, http://www.tessier.com/image/pcd0094/
07:57.17HellaenergyYou got a nice server (fast)
07:57.30ceeyeah I own a couple colo boxes.
07:57.32ceeOne in ny and one in dallas.
07:57.36jasonbThe one that has two lenses, is that a 3-d camera?
07:57.52ceejason, no actually. It's called a TLR twin lens reflex, which was a very popular design in the 50s.
07:57.57Hellaenergyold school 3d
07:58.02jasonbahh.
07:58.03ceeOne lens is for the view screen and the other is for the film.
07:58.13jasonbcee: Have you tried any 3d cameras?
07:58.17ceeThe view screen is 6cm x 6cm, same size as the film. It's like a little TV.
07:58.33Hellaenergythats cool
07:58.35ceeno, I am not very interested in stereoptics as a medium because it is difficult to present.
07:58.50jasonbCurrently, yeah.
07:59.06ceeSome of the old stereoptics from the 1800s are really beautiful though, particularly if you have a nice old viewer.
07:59.12jasonbThere are some new monitors coming out for presenting 3d images.
07:59.27ceesure but if I can't hang it on my wall, it's not much good.
07:59.30HellaenergyI heard about those
07:59.30ceeas art anyways.
07:59.43ceeYou can do 3d now with shutter glasses.
07:59.49ceeI have a rig for my crimson
07:59.51Hellaenergyholograms are nice to hang
07:59.54jasonbcee: Actually, you can, you can print them in a way (in some type of plastic) that shows them in 3d too.
08:00.09ceejason, I haven't heard of that process.
08:00.15ceehell, holograms are amazing
08:00.22jasonbhehe
08:00.38ceeMy old roomate had a huge one that was a microscope, and you could actually look down the eyepiece of the hologram and see the slide
08:00.54HellaenergyI have seen that before
08:01.14Hellaenergyvery cool
08:01.15ceeyeah they were a fad around 97, but still amazing
08:01.25HellaenergyI agree
08:02.38ceejason anyways most people who shoot stereo use two cameras on a brakcet like thing that mounts them at the right distance apart
08:02.50ceealthough I have seen weird cameras that can do it in one unit
08:03.04jasonbcee: Yes, I like the weird cameras.  :)
08:04.02ceeDo you do that?
08:04.38jasonbI don't, but when I got married, in addition to the regular (2d) photographer, we also hired a 3d photographer and they came out great.
08:05.12ceePretty cool.
08:07.13jasonbYeah.  I just wish I had one of those new 3d monitors.. :)  But, we got some plastic viewers that we can look at them with.  Later, I'm going to scan 'em all.
08:08.05ceeIf they are the traditional dimensions you might consider trying to find an antique viewer for a little more class.
08:08.18ceeIf you ever get out to London it's kind of common to find them in the optical antiques stores.
08:08.31jasonbhttp://coolstuff.sytes.net/cameras/3dcamera/  
08:08.33ceeThere is one near greenich in particular that had a pile
08:09.14jasonbThat one looks a little lame, but I'm sure there are better ones.  :)
08:09.45ceeThe optical panoramic cameras are pretty cool too
08:09.50jasonbhttp://www.loreo.com/pages/press/loreo_pr_2002092601.html
08:11.00ceeneat
08:11.10*** join/#tomcat Charlie (trilluser@ip68-101-124-72.oc.oc.cox.net)
08:11.18HellaenergyHi
08:11.24Charliehi
08:12.33Hellaenergywhat does afk mean?
08:13.25jasonbAway From Keyboard.
08:13.33Hellaenergyah
08:13.39jasonbIHTLAs.
08:14.03jasonb(I Hate Three Letter Acronyms)
08:15.51Hellaenergy[Sat Feb 01 02:19:22 2003]  [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
08:15.51Hellaenergy[Sat Feb 01 02:19:22 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI '/tls'
08:15.51Hellaenergy[Sat Feb 01 02:19:22 2003]  [jk_uri_worker_map.c (491)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 -> /tls
08:15.51Hellaenergy[Sat Feb 01 02:19:22 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13
08:15.51Hellaenergy[Sat Feb 01 02:19:22 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker
08:15.53Hellaenergy~                                                                                                              
08:16.11Hellaenergywhat do you think that means
08:16.14jasonbIs this mod_jk again?
08:16.20Hellaenergymod_jk yes
08:16.25Hellaenergynot 2
08:17.51Hellaenergydone did not found a worker
08:17.57Hellaenergydo you
08:18.48Hellaenergyfrom nmap
08:18.49Hellaenergy8009/tcp   open        ajp13
08:19.18HellaenergyJkMount /tls ajp13
08:19.18HellaenergyJkMount /tls/* ajp13
08:19.23Hellaenergywtf
08:25.28HellaenergyI got mod_jk to work finally
08:26.23Hellaenergythank you thank you...
08:27.53HellaenergyI just got to figure out how to configure my vhosts to point to the root of $CATALINA_HOME/webapps/tls
08:28.02Hellaenergyand still use the container
08:30.26Hellaenergynight
08:31.55jasonbYou're welcome.
09:43.34Hellaenergyanyone around
09:52.27Hellaenergyhey
09:52.42Hellaenergyme neither if that helps
09:52.49jasonbhehe
09:52.57jasonboh well.
09:53.08HellaenergyI do think I am having trouble with my classpath
09:53.13HellaenergyTempConvert.java:7: cannot resolve symbol
09:53.13Hellaenergysymbol  : class servlet
09:53.13Hellaenergylocation: package javax
09:53.13Hellaenergyimport javax.servlet;
09:53.22Hellaenergyand my classpath is
09:53.22jasonbheh!
09:53.39HellaenergyCLASSPATH=/usr/local/java/j2sdk1.4.1_01/lib/servlet.jar:/usr/local/java/j2sdk1.4.1_01/lib/mail.jar:
09:53.46Hellaenergywhats up with that
09:53.55jasonbActually, that should be "import javax.servlet.*"
09:54.03jasonboops.. semicolon on the end of that!
09:54.35jasonbYou aren't copying servlet.jar into your JDK's lib dir, are you?!
09:55.01HellaenergyI have yes
09:55.09jasonbugh.  You're really asking for it.
09:55.52HellaenergyWell that helped the servlet stuff now swing is complaining
09:55.58Hellaenergyjasonb: why?
09:56.27jasonbHellaenergy: There are lots of different servlet.jars floating around, with different classes and different methods and different implementations.
09:56.40Hellaenergyah
09:56.45jasonbAnd, whatever's in that JDK lib dir is the only one that your JDK is gonna try to use.
09:57.19jasonbAs a general rule, and no matter what the docs for anything says, it's a very bad idea to copy any jars/zips/classes into your JDK's dir tree!
09:57.19Hellaenergydoes my jdk load the jars in the lib dir without me pointing to it with my classpath?
09:57.33jasonbHellaenergy: Yes, I'm pretty sure.
09:58.04Hellaenergyhm
09:58.12HellaenergyIs swing built in?
09:58.14jasonbI'm not totally sure about JDK1.4.x/lib, but in the past there have been dirs like that where the JDK finds/uses stuff in there regardless of your CLASSPATH.
09:58.30jasonbYes, Swing classes have been part of the core JDK classes since JDK 1.2.
09:59.02HellaenergyHow come this then?
09:59.03HellaenergyTempConvert.java:17: cannot resolve symbol
09:59.03Hellaenergysymbol  : variable JOptionPane
09:59.03Hellaenergylocation: class TempConvert
09:59.03Hellaenergy<PROTECTED>
09:59.27jasonbWhat have you imported to use that?
09:59.46Hellaenergyimport javax.swing.JComponent.*;
09:59.51Hellaenergyimport javax.swing.JComponent;
09:59.55Hellaenergytoo
10:00.28jasonbWell, first thing: package names are (now) almost always in all lowercase.  Classes are in InitialCapsLikeThis.
10:00.54jasonbVariable names are in initialCapsExceptForTheFirstWordLikeThis.
10:01.19HellaenergyOh I'm looking for JOptionPane oops
10:01.40jasonbSo, in your "import javax.swing.JComponent.*;", it looks like you're trying to reference a package name where the last component of the package name has caps.. which is probably the name of a class in the javax.swing package. :)
10:01.52jasonbJComponent is a class I think.
10:01.56jasonb(Not a package)
10:02.08HellaenergyJOptionPane is what I wanted
10:02.16jasonbIf you say "import javax.swing.JComponent;", then you're saying to import the JComponent class from the javax.swing package.
10:02.33Hellaenergywhat does the .* do again?
10:02.34jasonb(which may make sense, depending on where that JComponent class really is)
10:02.56Hellaenergyeverything in that package
10:03.06jasonbthe .* on the end means, "If there are any classes in the package name to the left of this dot star, import all of them!"
10:03.13jasonbBut, beware..
10:04.13jasonbIf you have packages "org.foo.coolthing" and "org.foo.coolthing.util", and if you say "import org.foo.coolthing.*;", that will NOT import any of the classes that reside in the "org.foo.coolthing.util" package!
10:04.22Hellaenergythen how come I have to import javax.servlet.* and javax.servlet.http.*?
10:04.41Hellaenergy:)
10:05.00jasonb.* only imports what's in the exact package named to the left.
10:05.07Hellaenergyah
10:05.14Hellaenergygood to know
10:05.20jasonbIt is not any recursive package importer.
10:05.25HellaenergyHow do I deploy my servlet now
10:05.29Hellaenergyit compiled
10:05.34jasonbcongrats.
10:05.40Hellaenergythanks
10:05.44jasonbIs it just one class file?
10:05.49Hellaenergyyes
10:06.06Hellaenergy:)
10:06.13HellaenergyI don't know if will work
10:06.29jasonbWhat's the package name of the class?
10:06.36Hellaenergydon't they use swing in the Tomcat Manager app?
10:06.42jasonbheh.. NO.
10:06.43HellaenergyTempConvert
10:06.58Hellaenergydon't they use swing in the Tomcat Admin
10:07.09Hellaenergywith the tree and stuff
10:07.11jasonbNo part of Tomcat uses Swing.
10:07.18HellaenergyIts a webapp
10:07.32jasonbSwing is 100% graphical, and Tomcat is 100% web.
10:07.35Hellaenergyibot: Tomcat manager
10:07.36i guess tomcat manager is at http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html
10:08.06jasonbNothing that comes with Tomcat uses Swing, let me put it that way.
10:09.05jasonbHellaenergy: You have gotten your Servlet to compile, young Skywalker.  But you are not a Jedi yet.
10:09.10jasonb:)
10:09.17Hellaenergy:)
10:09.30HellaenergyHow do you deploy it obi-wan
10:10.43Hellaenergyjasonb: Then what do they use for the tree stuff in the Administration Tool?
10:10.53jasonbYou can copy your servlet class into the CATALINA_HOME/shared/classes tree..
10:11.19jasonbHellaenergy: I haven't picked it apart yet, but it's JSPs with all kinds of code and some images to make the tree work on a web page.
10:11.34jasonbHellaenergy: There are lots of implementations of that for servlet containers..
10:11.41jasonbHellaenergy: Some use JavaScript, and some don't.
10:11.52Hellaenergyhm
10:11.58jasonbHellaenergy: I don't know if the Admin webapp authors decided to use JavaScript or not.
10:11.59Hellaenergywhy now swing it
10:12.33jasonbHellaenergy: Because in order for users across the net to see that, Tomcat would need to serve that up somehow, and they'd have to have a JDK installed.
10:12.36jasonb(on the client end)
10:12.45jasonbHellaenergy: You know, the whole client/server model.
10:12.54HellaenergyOK
10:13.01jasonbIf you're running Tomcat on your own machine, you've just got it all on one machine.
10:13.05Hellaenergyso most likley my servlet wont work
10:13.19jasonbBut, users of an Admin app like that don't have anything on their machine except a browser (that's the theory).
10:13.38jasonbAny platform with a browser could remotely use the Admin webapp.
10:14.14HellaenergyHow could I display from a browser with swing
10:14.23jasonbYour servlet will probably work.. heh  Just on that one machine.  :)
10:14.33HellaenergyI mean how would I kick off the jre
10:15.14jasonbOkay, computer A is running Tomcat, and computer B accesses a page from computer A's Tomcat from a remote location.
10:15.24HellaenergyI am on my laptop and the server is in the other room :)
10:15.25jasonbComputer A has a JDK -- it's running Tomcat.
10:15.39jasonbOkay, the server in the other room is Computer A.
10:15.44jasonbYour laptop is computer B.
10:16.12jasonbFirst, depending on what you're doing and who your audience/user base is, you may not be able to assume that computer B has a Java-capable browser.
10:16.28jasonbThat can be a big problem..  If there's no Java on the client, case closed.. Swing apps don't work.
10:17.08jasonbAnd, since M$ doesn't like Java (they don't make money on it), they crippled all their browsers's Java VMs.. so those don't work.
10:17.19Hellaenergyyup
10:17.23jasonbOnly some Mozilla and Netscape browsers's JVMs work.
10:17.29jasonbAnd, most of those are disabled.
10:17.35HellaenergyI do have the Java Plugin on this laptop though
10:17.41jasonb(because most Java applets suck)
10:18.17jasonbOkay, if you want to always assume that the client computer (B) has Java Plugin, then you have a little more control over how Java works on the client, but it's a pain to set up in the first place (for the end user).
10:18.47Hellaenergygotcha
10:18.47jasonbSome folks do write Java PlugIn stuff that works.
10:18.58jasonbEven better than PlugIn is Java WebStart.
10:19.01HellaenergySo the code can work its the implementation that sucks
10:19.10Hellaenergyah webstart
10:19.18Hellaenergywho uses that though
10:19.24Hellaenergynobody
10:19.31jasonbWell, the code works great when the client has a working, installed, and enabled JVM.
10:19.49jasonbWell, that's like PlugIn, since anyone can install it into their browser.
10:20.16HellaenergyI have never randomly run accross a webstart app have you?
10:20.25HellaenergyHow do I run this servlet anyway?
10:20.25jasonbYEs.
10:20.28jasonbNot very many.
10:20.32jasonbhehe
10:20.41jasonbOkay, what's the package that your servlet resides in?
10:20.48Hellaenergynone
10:20.54jasonb:)
10:20.58jasonbOkay, do this:
10:21.09HellaenergyI put it in the shared dir
10:21.09jasonbcd $CATALINA_HOME/shared/classes
10:21.12Hellaenergydone
10:21.15jasonbahh..
10:21.20jasonbcopied it in there?
10:21.25Hellaenergyyup
10:21.48jasonbOkay.  If you have a mostly stock config setup, the invoker servlet is turned on (by default).
10:22.03Hellaenergydo I need to restart tomcat?
10:22.05HellaenergyI do
10:22.09jasonbThe invoker servlet lets you invoke servlets without them being in a webapp, and without configuring them in the global web.xml.
10:22.17jasonbNo, you don't need to restart Tomcat for this.
10:22.24Hellaenergynice
10:22.34jasonbYou should be able to invoke it with a URL something like this:
10:23.15jasonbhttp://whateverhostitis/servlets/TempConvert
10:23.44Hellaenergyits not working
10:23.50Hellaenergyhttp://www.thelinuxshack.com/tls/TempConvert
10:23.57jasonbAnd, if it runs, and if it uses Swing, the desktop of your server should now be showing your new Swing window.  :)
10:24.28jasonbnah.. not /tls/TempConvert..   /servlets/TempConvert
10:24.40HellaenergyI don't have a servlets dir
10:25.32jasonbI know you don't.
10:25.45Hellaenergyhttp://www.thelinuxshack.com:8080/servlets/TempConvert
10:26.00jasonbThat might be it.
10:26.13HellaenergyThe requested resource (/servlets/TempConvert) is not available
10:26.27jasonbTry "TempConvert.class" then.
10:26.48Hellaenergyno it doesn't
10:26.53Hellaenergystill nothing
10:27.04jasonbAlso, it may need to go into CATALINA_HOME/common/classes or server/classes
10:27.07jasonbI'm not sure which one it is.
10:27.43jasonbAnd, you have to have the invoker servlet configured in your CATALINA_HOME/conf/web.xml.
10:27.51jasonb(by default it is)
10:28.23jasonbAnd, I also forget if it's "/servlets/" or "/servlet/", but I think it's the former.
10:28.27Hellaenergythen yes to the web.xml
10:29.29jasonb<PROTECTED>
10:29.29jasonb<!--
10:29.29jasonb<PROTECTED>
10:29.29jasonb<PROTECTED>
10:29.29jasonb<PROTECTED>
10:29.30jasonb<PROTECTED>
10:29.32jasonb-->
10:29.34jasonbThat's the problem..
10:29.40jasonbUncomment the invoker servlet's servlet-mapping.
10:29.49jasonb(and then restart Tomcat! :)
10:30.15jasonbThen try http://www.thelinuxshack.com:8080/servlet/TempConvert
10:30.48jasonbI guess they no longer have the invoker servlet turned on by default if it's not mapped.  Hrm..
10:32.01HellaenergyOK that found the servlet :)
10:32.07jasonbOf course.  :)
10:32.13HellaenergyIt did not work, but it found it :)
10:32.35jasonbDid it throw an exception?  
10:33.02HellaenergyNo All I did was take an app and put extends HttpServlet on it :)
10:33.12jasonbNeat.
10:33.21jasonbYeah, that's *almost* a servlet!  :)
10:38.51Hellaenergy:)
10:39.06jasonbBeing twice as smart counts as two votes, you know.
10:39.12HellaenergyYa you earned it
10:45.12*** join/#tomcat Remm_ (~chatzilla@AToulouse-206-1-2-215.abo.wanadoo.fr)
10:45.43HellaenergyHey Remm_
10:45.54Remm_hi :)
10:47.22Remm_there are actually many people on the channel now :)
10:47.43jasonbYup.
10:47.51jasonbOnly a few of us talk though.
10:47.51HellaenergyYa there is sometimes more that this
10:48.00jasonbThe rest are mute.  :)
10:48.35Remm_well, there are a lot of lurkers on IRC channels
10:58.18HellaenergySo when a servlet is ran out of the shared/classes lib once it stays in memory forever?
10:58.40HellaenergyI deleted the class and the app is still there
10:58.53jasonbHeh.. not forever.
10:59.02jasonbWhen you shut down Tomcat, it's gone from memory.
10:59.09Hellaenergythats what I meant
10:59.10Hellaenergy:)
10:59.14jasonb:)
10:59.17HellaenergyAre all servers like that?
10:59.26Hellaenergys/servers/servlets
10:59.39Hellaenergyno matter where you run them?
11:00.03jasonbWell, the ones I've seen, yeah.
11:00.20jasonbI think old servlet specifications may have meant it to be that way.
11:00.53HellaenergyThat makes development a bitch
11:01.12Hellaenergyjsp's recompile when they change
11:01.53jasonbYou can turn servlet reloading on and when you change the class file, it should reload the class.
11:02.13jasonbDon't ask me how.  :)
11:02.27HellaenergyI know you can do it through the admin tool
11:02.36Hellaenergybut for the shared dir I don't know
11:02.57jasonbIt's probably documented for Tomcat in the configuration reference in the web docs somewhere.
11:03.24HellaenergyI bet your right. One of the few things that are documented
11:03.32Hellaenergyhttp://www.thelinuxshack.com:8080/servlet/HelloWorld
11:03.42Hellaenergythe moment you where waiting for :)
11:04.34Hellaenergynight
11:04.38Remm_nope, you can't reload the shared classes
11:04.46Hellaenergyah man
11:05.06HellaenergyHow do I run that mug out of a non shared dir?
11:05.53Remm_the problem is that you can't reload individual classes, and since Tomcat is loaded from the shared CL, there's a problem
11:05.58jasonbOh, not if they're in shared... but maybe in one of the other dirs.
11:06.03Remm_i don't know what you're trying to run ;-)
11:06.39Hellaenergyjust a Helloworld servlet out of a dir in webapps
11:06.47Hellaenergytls to be specific
11:06.56Hellaenergynot the protocal
11:06.57Remm_if they are in a webapp, then you can set reloadable to true
11:07.24jasonbRemm_: He was trying to use the invoker servlet to load/invoke a servlet class (before) and he wanted it to be reloadable too.
11:07.53Remm_the invoker servlet itself being reloadable ?
11:08.00jasonbNo, the class it invokes.
11:08.59Remm_you shouldn't use the invoker in deployment (it has security issues)
11:08.59Hellaenergymy web.xml has to be in my webapps/tls/WEB-INF dir?
11:09.15jasonbRemm_: This is just for development.
11:09.33Remm_put the servlet class in /WEB-INF/classes
11:09.35HellaenergyWell I didn't know that though
11:09.50HellaenergyHow do I call it then
11:09.52Remm_then you should be able to use <Context ... reloadable="true" />
11:10.09Remm_ok, no worries, then
11:11.21Remm_in server.xml, there's an example using the "examples" webapp. did you look at it ?
11:11.31Hellaenergyk
11:12.35HellaenergyContex?
11:12.42HellaenergyContext
11:13.00HellaenergyI though it was a web.xml thing
11:13.13Hellaenergylocal web.xml thing
11:13.28HellaenergyI already have the webapp dir defined
11:13.53Remm_no, it's in server.xml (or a fragment of it, as used for the manager and admin webapp)
11:14.45Hellaenergyso you have to specify each servlet individually in the servler.xml?
11:15.40Remm_no, reloading is webapp wide
11:16.04HellaenergyOh Remm_ I am not talking about reloading anymore :)
11:16.20HellaenergyI am talking about haveing and running the servlet from a webapp dir
11:17.00Remm_ok, i'm loast ;-)
11:17.02Remm_lost
11:17.12Hellaenergyother than shared/classes
11:17.33Hellaenergy/usr/local/tomcat/webapps/tls/
11:17.56Hellaenergyis where i want to run it from because that webapp is reloadable unlike shared
11:18.09Remm_you can put the servlet classes in .../webapps/tls/WEB-INF/classes
11:18.11HellaenergyHow do I call my class?
11:18.14Remm_was that the question ?
11:18.23Hellaenergyyes
11:18.24Remm_well, anything you want
11:18.46Hellaenergyno not what do I call it how do I call it
11:18.49Hellaenergyfrom the url
11:19.11Remm_you need to create a directory structure according to the package name, like in shared/classes
11:19.32HellaenergyI have it in tls/classes
11:19.37Remm_ok, with the invoker, the URL is /tls/servlet/CLASS_NAME
11:19.49HellaenergyI have it in tls/WEB-INF/classes
11:20.06Hellaenergyshould it be tls/classes?
11:20.17Hellaenergyah
11:20.20Remm_no /WEB-INF/classes
11:20.27jasonbHellaenergy: The invoker servlet is always mounted on "/servlet/" relative to the webapp context root.
11:20.43Remm_after that, you can map it differently using web.xml
11:20.51Remm_not anymore in 4.1
11:21.07jasonbhmm
11:21.10Remm_you have to enable it in $CATALINA_HOME/conf/web.xml
11:21.19jasonbWell, okay.
11:21.19Hellaenergythanks guys I got it now ;)
11:21.32Hellaenergyenable what?
11:21.45Remm_(it was a major security headache, as it allowed alternate paths to access one given servlet)
11:22.02Remm_the invoker servlet; by default it's not enabled since you're using 4.1.18
11:22.02jasonbRemm_: Yeah, I remember that.
11:22.16jasonbRemm_: We enabled it in his.
11:22.17Hellaenergyso local web.xmls
11:22.43Hellaenergyjasonb: whats up should I comment it out again?
11:22.43Remm_you can define the mapping for your webapp only in the local web.xml
11:22.55jasonbHellaenergy: If you're not using it, yeah, comment it out.
11:23.04Remm_otherwise, you can uncomment the global mapping in conf/web.xml
11:23.05Hellaenergywhat do I do then?
11:23.28Remm_personally, I would define individual servlet mappings
11:23.32Hellaenergycreate a web.xml and put it where?
11:23.34Remm_in the local web.xml
11:23.50Hellaenergywhere does that site in the webapp dir?
11:23.51jasonbHellaenergy: CATALINA_HOME/webapps/tls/WEB-INF/web.xml
11:23.55Remm_the webapp web.xml goes in /WEB-INF/web.xml
11:23.55Hellaenergysit
11:24.23Hellaenergywhat would the config look like? :)
11:25.28HellaenergyHey it's chinese new year!
11:25.49Remm_ah, ok, cool :)
11:26.17Remm_i thin you can look at the example webapp web.xml file for an example
11:26.34HellaenergyRemm_ : do you own tomcat.org?
11:26.41Remm_no
11:26.48Hellaenergythe global one?
11:27.20Hellaenergysorry
11:27.40Remm_nope, the one in webapps/examples/WEB-INF
11:28.00Remm_although the other one has plenty of servlet mapping examples
11:30.37HellaenergySo I should take
11:30.39Hellaenergy<PROTECTED>
11:30.39Hellaenergy<PROTECTED>
11:30.39Hellaenergy<PROTECTED>
11:30.39Hellaenergy<PROTECTED>
11:30.46Hellaenergyout of the global
11:30.51Hellaenergyfor security reasons?
11:32.40jasonbPretty much.
11:32.45jasonbJust comment it out.
11:32.49HellaenergyK
11:33.03Hellaenergysorry bout the simple questions
11:33.11HellaenergyI should be up to par in a couple of days
11:35.24jasonbheh
11:35.43Hellaenergythat is funny huh
11:35.44jasonbI think that's what I thought in '99.
11:36.01jasonber.. '98
11:44.53Hellaenergynight yall thanks again
12:43.53blawhat is the difference between "tomcat-4.1.18.tar.gz" and "tomcat-4.1.18-LE-jdk14.tar.gz"? is the latter meant for 1.4.x installations? what does the LE stand for?
12:47.36Nurbsoh, nevermind. the original mirror includes comments about that...
16:58.01*** join/#tomcat eQ (~chatzilla@p7222-ipad02maru.tokyo.ocn.ne.jp)
17:05.46eQHi. New to IRC (and Tomcat).... questions ok?
17:17.05eQguess not..... bye
19:58.27*** join/#tomcat gremid (~gremid@pD9E0E568.dip.t-dialin.net)
20:08.09*** part/#tomcat gremid (~gremid@pD9E0E568.dip.t-dialin.net)
20:15.49*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
20:16.33Hellaenergymorning
20:20.23*** join/#tomcat tang^ ([MkBZvScpx@ahgn23wky5824.ab.hsia.telus.net)
20:24.16Hellaenergyhi tang^
21:08.37*** join/#tomcat Archeroff (archeron@archeron.wavefire.com)
21:17.58*** join/#tomcat bune0 (~hito@ppp-209-232-55-252.dialup.snfc21.pacbell.net)
21:22.45*** join/#tomcat funkman (~tafunk@pcp01470022pcs.lncstr01.pa.comcast.net)
21:24.22*** join/#tomcat Foo_Bar (~foo@su-nat.datapipe.net)
21:24.50Foo_Baris there a way to keep catalina.out log file but not have each and every 'Mapping Request' in it ?
21:27.14HellaenergyFoo_Bar: I don't know. What are you trying to acheive?
21:27.44Foo_Barwell.. each connection to this customer's server generates a 'Mapping Request' (which outputs like 6 lines)
21:27.55Foo_Barthese are connections mapped from apache
21:28.05Foo_Barthe file gets too large too quick
21:28.05Hellaenergywhat connector?
21:28.17Foo_BarJK i believe
21:29.37Foo_Barsee.. the startup script for catalina is what generates that log file
21:29.54Foo_Bari am trying to figure out if this is something that's configurable
21:32.06*** join/#tomcat Archersttls (~wade@h24-81-20-16.ok.shawcable.net)
21:33.57Foo_BarHellaenergy~:~ do you know if the Logger attiributes even come into play for that particular log?
21:36.05Hellaenergyno I don't
21:36.45Foo_Barhm... it looks like a per webapp thing.. i'll try that
21:38.47bune0does it not depend on which level the logger was put in?
21:41.24Foo_Barsee.. that setting probably goes into web.xml
21:41.28Foo_Barwhich is per webapp
21:41.37Foo_Barbut this is more like an overall server log
21:41.43bune0you have the Logger set at server.xml
21:42.22HellaenergyFoo_Bar: what version of Tomcat?
21:43.43HellaenergyUse http://localhost:8080/admin to configure the Logger
21:44.21Foo_Bar4.0.4 i think
21:44.43Hellaenergynevermind then the admin app is a 4.1 thing
21:44.48Foo_Bar:)
21:44.57Foo_Baryeah. i haven't seen it in server.xml
21:45.24HellaenergyFoo_Bar: look for the Logger directive in the server.xml
21:46.14Foo_Bari am
21:46.24Foo_Barit seems to relate to  domainname.com.access style logs mostly
21:47.41Foo_Barhm.. i wonder if it takes a 'verbosity' paramter there
21:49.12Hellaenergyhttp://www.cict.fr:8880/tomcat-docs/config/logger.html
21:49.35Foo_Barhttp://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/logger.html
21:49.36Foo_Bar:)
21:59.10*** join/#tomcat kylev (~kylev@darth.beeker.net)
21:59.37kylevgar.
21:59.40kylevlame question
21:59.47lalleHmmm
21:59.51lalleShoot
21:59.51lalle=)
22:00.00kylevhow do I do the equiv of "Alias" on tomcat 4.0
22:00.00kylev?
22:00.19kylevI want "/static/" to map to a place on my filesystem
22:00.50kyleva place where my other servers serve up static common image content
22:01.05lalleOs?
22:01.24kylevLinux
22:01.36lalleI think you could create a symlink?
22:01.37kylevtried this:
22:01.39kylev<PROTECTED>
22:01.39kylev<PROTECTED>
22:01.40kylev<PROTECTED>
22:01.51kylevoh jeebuz
22:01.57kylevConnect?
22:02.01kylevshould I be shot?
22:02.16lalleNo, shoot you question
22:02.16lalle=)
22:02.31lalletry this ln -s /home/kylev/perforce/staging/vhosts/static.yaga.com/html static
22:02.41lalleIn case it dosnt work
22:02.58kylevsadly: also needs to work on Windows
22:03.07lalleContect should be context i think
22:03.08kylevneed a config that I can do in both places
22:03.42lalleBut if you create an a new context that is an a new webapplication
22:03.52lalleAm i right?
22:04.05kylevBah, shit
22:04.17kylevmy version works, if I change it to Context
22:04.34lalleProblem solved?
22:04.37Foo_BarHellaenergy~:~ thanks for the help
22:04.38*** part/#tomcat Foo_Bar (~foo@su-nat.datapipe.net)
22:04.40kylevyeah
22:04.58kylevnothing like embarassing yourself in public to open your eyes
22:05.08kylevI'll have to try it on Windows later
22:05.18kylevstupid web designers use that inferior OS
22:05.49lallehehe =) I use windows for design and development... but my applications runs under gentoo linux
22:07.13kylevmmm.  gentoo.
22:07.17kylevneat distro.
22:07.23kylevif you have infinite time. ;)
22:07.40kylevemerge kde
22:07.45kylevgo on a week vacation
22:08.12lalleI dont run a any grapical applications on my server =)
22:08.51kylevme either.
22:09.08kylevsadly, it also bites you there
22:09.19kylevI really prefer the ability to distribute binaries
22:09.34kylev20 server farm...
22:09.39kylevsshd exploit comes out....
22:09.45kylevI can patch my systems in minutes
22:10.07kylevbut gentoo is unbelievable clean and cool
22:10.24lallekylev: I like NetBSD too =)
22:11.04kylevah, a ports fan
22:11.21lallekylev: You could run emerge sync ; emerge --update world every hour if you want to be safe =)
22:11.30kylevHa!
22:11.34lallekylev: Jepps, ports is great =)
22:11.53kylevand, at some point, your server might actually serve something
22:12.07lallekylev: hehe =)
22:12.29lallekylev: It is no problem you could just write a script connecting to all server with some command....
22:13.03kylevyeah, true.  there are hacks you can do all over the place.
22:13.07kylevit can definitely work.
22:13.40lalle=)
22:13.59kylevone thing I don't like is that you end up leaving tools on your servers
22:14.17kylevI actually don't want gcc laying out there for a script kiddie to use
22:15.07kylevmy production machines lack compilers and/or header -devel packages
22:15.41lallekylev: And another good thing is hardware firewall (not talking about some simple broadband firewall). Im working for a isp named Interlite World AB, and we have an excelent firewall.. Even though the person that configured it isnt the greatest in configurating
22:15.45lalle=)
22:16.35kylevtrust me, we're locked down like a mofo
22:16.46*** part/#tomcat bune0 (~hito@ppp-209-232-55-252.dialup.snfc21.pacbell.net)
22:16.46lallemofo?
22:17.00kylevVP: "Are our servers down?  I can ping the www server from home."
22:17.08kylevMe: "There is no ping."
22:17.16kylevmofo == motherfucker
22:17.47lallehehe =)
22:18.09kylevhe actually called me on his cell phone to ask that.
22:18.12lallekylev: Tell VP to stfu then =)
22:18.18kylevbefore actually trying http
22:18.33kylevhey, moron, did you test it with a web browser?
22:19.12kylevI spend a lot of time on the edge of getting fired
22:19.20kylev:)
22:19.45lallekylev: hoho, you should be nice to people that knows less then you =)
22:20.08kylevscrew them, they just make more work for me ;)
22:20.09lallekylev: Hm, what sites are you developing
22:20.28kylevI never reveal my company on IRC ;)
22:21.08kylevAFAIK, you're sitting there with a Tomcat 4 exploit, looking for targets
22:21.21kylev:)
22:21.38lallehehe, well... im not =) But you dont have to tell me
22:21.38kylevgranted, you could just scroll back and look at my config paste, heh
22:22.17lallehahaha =)
22:22.41kylevI've revealed too much
22:22.49lallekylev: Just currious. Dont worry =)
22:23.08kylevI'm saying most of that tongue in cheek
22:23.19kylevI'm not gonna paste you any code, though
22:23.20kylev:D
22:23.21lalleHmmm, i must import mp3.se to the cvs soon...
22:24.36kylevwhat, working outside of CVS?
22:25.33kylevI love forcing people into source control
22:26.16kylev"Are you stupid?  Remember, I have cvs logs....."
22:27.51lallehehe =) Its just me on that developing mp3.se... and jbuilder backups pretty good, and i backup my homedir every day =)
22:28.14lalleAt least it should, think i turned it of a couple of weeks ago
22:28.36lalleWell, have to go to the bathroom now, brb
22:28.44lalle|| bbl
22:28.44lalle=)
23:28.24*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)

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.