irclog2html for #tomcat on 20021114

00:02.25*** join/#tomcat maeste (~stefano@194.185.94.45)
00:02.44maestehi all
00:06.27maesteI'm experience a strange trouble with tomcat 4.0.4. Some client recive trunked page. Any ideas?
00:13.13*** join/#tomcat H3llaenergy (~Hellaener@hellaweb.com)
00:17.03*** join/#tomcat Dr_No (~chatzilla@aubert.oberon.no)
01:25.26*** join/#tomcat sebAtInovoDotBe (~chatzilla@213.177.68.243)
01:28.27*** join/#tomcat sebAtInovoDotBe (~sebAtInov@213.177.68.243)
01:29.50*** part/#tomcat sebAtInovoDotBe (~sebAtInov@213.177.68.243)
04:52.03*** join/#tomcat sherifd29 (~fjhfj@menanet21729134186.menanet.net)
05:00.52*** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk)
05:27.56sherifd29where can I find easy howto to configure tomcat4 with apache on linux (I already installed apache and tomcat as standalone and they r working each by itself)
07:10.41*** join/#tomcat Diavolos (~as@141.72.80.141)
08:12.50*** join/#tomcat Esaj (~jason@jdd30.joh.cam.ac.uk)
08:13.06Esajhow do I block all requests not from 127.0.0.1?
08:13.22JakWORKto what?
08:13.46JakWORKthe http listener? or the webapp connector? to some other connector?
08:14.16Esajwell, the http listener mainly - but everything would be good
08:15.53Esajok
08:16.03Esajthanks
08:16.29JakWORKnp.... hows life in cam? /me is past magd peep...
08:19.16*** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk)
08:20.03Esajhehe
08:20.18EsajI'm a fresher
08:20.34EsajHow can you tell?
08:20.56JakWORKAffiliation(s):    St John's College - 2002 entry
08:21.00Esajhehe
08:21.25Esaja few more clicks, you have my room number...
08:21.43Esajcompsci
08:21.44JakWORK... you woudln't have a thor account yet (if thor is still going?)
08:21.45Esajhehe
08:21.51Esajthor account?
08:21.56Esajcompsci
08:22.11JakWORKthor is (was) a cluster of machines used by compsci's and physicists
08:22.27Esajhaven't heard of it
08:22.27JakWORKthink they might have binned all but the sun box that was used mainly for physics now though.....
08:23.02EsajI have a couple of accounts on various servers
08:23.16JakWORKyes... saw your srcf presence :)
08:23.25Esajhehe
08:24.24JakWORKwhat natsci options are you doing?
08:24.31Esajguess
08:24.35Esajphysics :)
08:24.48JakWORKfool!
08:25.00JakWORKyou'll actually have to do some work :(
08:25.03EsajI did it for A-level you know!
08:25.10JakWORKso does everyone
08:25.33JakWORKyou will not enjoy easter term :P
08:25.42EsajI didn't do Chemistry or Biology
08:25.52JakWORKgeology is the doss-subject of choice :-)
08:25.58EsajJakWORK: I will enjoy Easter term very much thank you :P
08:26.21JakWORKJakWORK: if you enjoy it then you'll probably switch to the maths tripos ;-)
08:26.31EsajPositive confession... or something :)
08:26.41EsajTalking to yourself now...
08:26.59EsajI'd prefer it if it was 100% compsci
08:27.13Esajit's stupid having to switch between subjects
08:27.27JakWORKmost compsci's would.... but then they'd probably all end up as insane as the mathmos :-)
08:28.39*** join/#tomcat Speedster (Speedsty@h24-76-196-105.va.shawcable.net)
08:29.14EsajSo what are you doing at the moment?
08:30.14JakWORKworking for a small company in west london... finished compsci the year b4 last
08:30.39Esajjava coding?
08:40.31JakWORKyeah some jav
08:40.32JakWORKa
09:02.26geoffegant++
09:03.33*** join/#tomcat sistepi (~DonT@212.210.169.90)
09:04.07sistepihi to all ! is there someone who can help me about apache-tomcat ?
09:05.24sistepihello .......
09:05.29sistepiis there someone ?!?!
09:33.27*** join/#tomcat vaix (~jomarqua@fw1.planalytics.com)
09:34.11*** join/#tomcat Speedster (Speedsty@h24-76-196-105.va.shawcable.net)
09:35.19*** join/#tomcat kms (~kms@pc2-cowc1-3-cust135.renf.cable.ntl.com)
09:41.02*** join/#tomcat ThEDeVIl (~robin09@qn-213-73-211-87.quicknet.nl)
09:41.34ThEDeVIlhow come, that if I installed tomcat, and then run it, that it first gives me like 5 processes of "java", and after a while nearly 20!
09:41.41ThEDeVIlwhile noone even checked the site once
09:41.49ThEDeVIlI using RedHat 7.3
09:41.55ThEDeVIlj2sk1.4.0_01
09:42.09ThEDeVIlsomething like that
09:43.48*** join/#tomcat Hellaenergy (~hellaener@209.181.237.141)
09:44.00*** join/#tomcat Remm (~chatzilla@AToulouse-105-1-21-195.abo.wanadoo.fr)
09:44.08HellaenergyHey Remm
09:44.16Remmhi all
09:44.20ThEDeVIllo
09:44.24ThEDeVIlhow come, that if I installed tomcat, and then run it, that it first gives me like 5 processes of "java", and after a while nearly 20!
09:44.27ThEDeVIlwhile noone even checked the site once
09:44.29ThEDeVIlI using RedHat 7.3
09:44.31ThEDeVIlj2sk1.4.0_01
09:44.33ThEDeVIlsomething like that
09:44.34HellaenergyHave any of you been using 4.1.12?
09:44.37ThEDeVIlcan someone help me?
09:44.49Remmtomcat starts a few threads on startup
09:44.59ThEDeVIlabout 5 yes
09:45.05ThEDeVIlbut why do I have 20 about now?
09:45.08ThEDeVIland will it grow bigger
09:45.21ThEDeVIlit are nearly 40 btw
09:45.26HellaenergyThEDeVIl: thats normal
09:45.28lalleWhat does Swallow Output mean?
09:45.42Hellaenergytakes it in
09:45.46Remmwith the default config, you may get about 10 threads on startup
09:46.09ThEDeVIl5686 - 5721 <--- ALL those PID are the "java" process now
09:46.25Remmand then you have to add N, where N is the number of concurrent requests over 5 (or 4)
09:46.26ThEDeVIl35 processes
09:46.49ThEDeVIlthere is noone requesting any page
09:46.53ThEDeVIland it uses 35 processes
09:46.53ThEDeVIl:S
09:47.20Remmsystem.out and system.err will go to the log files instead of the console
09:47.29HellaenergyThEDeVIl: what do you have a 486 or something?
09:47.40Hellaenergy:)
09:47.42Remmthis is unexpected
09:47.56HellaenergyRemm: Are you running 4.1.12?
09:48.24Hellaenergyis anyone for that matter?
09:48.44Remmwell, i'm always "running" the latest 4.1.x from CVS
09:48.45TheSteve0Hey Remm: long time no see. Its nice to see a developer here
09:48.56ThEDeVIlno
09:49.00ThEDeVIla Pentium III
09:49.06Remmi don't have any production server running tomcat unfortunately
09:49.32TheSteve0Hellaenergy: I am running 4.1.12 on RH8 linux wiht jdk 1.4.1
09:49.43HellaenergyI am seeing some weird error in my catalina.out
09:49.56HellaenergyTheSteve0: any errors logged?
09:50.00Remmi haven't been on irc a lot for some time
09:50.10Hellaenergywelcome back
09:50.15Remmand what's the error ?
09:50.21Hellaenergyon sec
09:50.24TheSteve0Yeah, what kind of error
09:50.40TheSteve0brb, need to print something from my windows box
09:51.18HellaenergySEVERE: Can't create apr
09:51.18Hellaenergyjava.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
09:51.43HellaenergyThis is from the binary distro
09:53.13HellaenergyDo you get this error TheSteve0?
09:53.16RemmI've read of people having similar problems with commons-logging, but never got the error (and I don't think any developer got or reproduced the problem)
09:53.34Hellaenergythats just great ;)
09:53.54RemmI don't know what causes it
09:54.48Remmdo you have the two commons-logging JARs ?
09:54.48Remmone in common/lin, the other in server/lib
09:54.48HellaenergyI shouldn't but I will check
09:55.15Hellaenergyyes
09:56.00Remmand you're trying to use JK 2 ?
09:56.06Hellaenergyyes
09:56.25Hellaenergywhy do you ask?
09:56.44Remmdo you get the error if you disable JK 2 ?
09:57.51HellaenergyI tried moving commons-logging.jar out of server/lib and that didn't work
09:57.57TheSteve0haven't seen it
09:58.02HellaenergyI will try disabling jk2
09:59.49kmsis there a memory leak in tomcat? if i use ab and request a few hundred thousands of pages, memory keeps rising, but it doesn't look like it is freed...
10:00.49Remmyou can get that if you benchmark something which creates sessions
10:02.50Hellaenergyenable garbage collection
10:03.16*** join/#tomcat JakWORK (chris@217.207.98.115)
10:03.53HellaenergyRemm: the error went away when I disabled jk2
10:05.14Remmok
10:05.28Remmare you using JDK 1.4 and/or log4j ?
10:05.39Hellaenergy1.4
10:05.54Hellaenergy1.4.0_01
10:06.53Hellaenergyalso cant a mod_jk2.conf be auto generated?
10:07.00Hellaenergyalso can a mod_jk2.conf be auto generated?
10:07.28Remmi don't think so
10:08.24HellaenergyNov 14, 2002 11:25:50 AM org.apache.coyote.http11.Http11Protocol init
10:08.26HellaenergyINFO: Initializing Coyote HTTP/1.1 on port 8080
10:08.26Hellaenergymod_jk location: libexec/mod_jk.so
10:08.26HellaenergyMake sure it is installed corectly or  set the config location
10:08.26HellaenergyUsing <ApacheConfig modJk="PATH_TO_MOD_JK.SO_OR_DLL" />
10:08.26HellaenergyStarting service Tomcat-Standalone
10:08.27HellaenergyApache Tomcat/4.1.12
10:08.29HellaenergyNov 14, 2002 11:25:54 AM org.apache.coyote.http11.Http11Protocol start
10:08.31HellaenergyINFO: Starting Coyote HTTP/1.1 on port 8080
10:08.33Hellaenergysorry
10:08.49Hellaenergywhere do you think tomcat is finding that libexec/mod_jk.so stuff?
10:09.01HellaenergyI don't have that defined anywhere
10:09.10Hellaenergyat least I don't think so
10:10.02kmsRemm: yes, i thought about that. but wouldn't the sessions expire after a while? i'm just accessing one simple jsp page.
10:10.53*** join/#tomcat Gnabbe (jonas@h55r308-3.delphi.afb.lu.se)
10:11.06Remmthe sessions take minutes to expire by default
10:11.23Gnabbehey you all. which jvm is concidered the fastest?  i want tomcat but i don't have the fastest machine around
10:11.24Hellaenergywelcome Gnabbe
10:11.31Remmdid you look at the jk docs ? http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/
10:11.34Gnabbethanks
10:11.43Remmsun 1.4.1 is supposed to be fast
10:11.47kmsRemm: i think it is set to 30 min. in my web.xml, i left the server running for a lot more than that...
10:12.19HellaenergyRemm: what was that comment in reference to?
10:12.38Gnabbealright... i always thought that the ibm one was fast but that was a few years ago =)
10:13.11Remmat a conservative 500 req/s, that's nearly one million sessions
10:13.57Remmthe sun VM improved some stuff which is critical to tomcat in 1.4.0 and 1.4.1, so maybe it's closer or faster
10:14.09Remmyour question
10:14.41Remmi see in the sources costin added a program to generate configs for mod_jk and mod_jk2
10:14.42Gnabbemaybe i'll just go along with the sun one then
10:15.03HellaenergyRemm: starting when?
10:15.04Gnabbebtw, do i need the apache mod_webapp? I see that my debian package recommends that one too
10:15.15Gnabbei thought it was enough with mod_jk
10:15.18Remmthe main class is org.apache.jk.config.WebXml2Jk
10:15.25HellaenergyGnabbe: no
10:15.29Remmyes, use mod_jk
10:15.39Gnabbewhat is mod_webapp then? an older module?
10:16.05kmsRemm: i started tomcat, did 100k requests, and then just left it running. i've turned on logging of GC...
10:16.16kmsRemm: oh well, it is not that big deal i guess
10:17.42Remmafter the 30 mins, the sessions are supposed to be removed and the memory freed inside the VM (although the VM process size itself won't go down, it never gives the mem back to the OS)
10:17.43Gnabbeit says something about to "hook up IMHO for use with apache" (in the mod_webapp description).. what exactly is IMHO?
10:18.45Gnabbesorry for asking... just have one more question. does the 1.4jdk work with older tomcat such as 4.0.3 for example?
10:19.39RemmGnabbe: Not too well overall. There's some incomtibilities with I/O handling in some cases
10:20.09Remmyou could get IOException with something saying the stream state is invalid
10:20.25kmsrema: it should give it back to the os :)
10:21.00kmsRemm: http://skontorp.net/screenshots/screenshot-12112002-1002.jpg - you can see the use here. the "Used heap" doesn't go down, though, you won't see that in the screenshot.
10:21.39kmsRemm: it is just a short timeframe
10:21.57kmsRemm: i would have assume the blue line would go down after a while
10:22.07GnabbeRemm: alright, which jdk do you recommend for use with 4.0.3?
10:22.20Gnabbebecause that is all that is offered in debian stable at this point
10:22.29Gnabbeand tomcat3 also but that seems a bit old
10:23.51Remm1.3.1
10:25.14Gnabbealright... thanks for all the good help
10:25.25vaixcan anyone comment on 2 things:  1) what is the le version?  (a link would be nice), 2) is there a best jdk+tomcat combo?  w/ 1.4.0.01 and 4.1.12 i have libstdc errors, w/ 1.4.1.01 and 4.1.12 my developers are telling me there is some issues - apparently caused by a bug in the logging component?
10:26.46Remmkms: I would have to try reproducing it
10:27.18kmsRemm: you a developer?
10:27.46Remmyes
10:28.34Remmkms: you forgot to mention which version of tomcat you were using
10:28.36kmsjust set up a simple jsp and try something like "ab -n 100000 -c 15 http://tomcat/simple.jsp"
10:28.50kmsRemm: details here are j2sdk 1.4.1_01 and tomcat 4.1.12
10:29.46kmsif you can't see the effect, I'll give you more details, including the jsp i've tested this on
10:29.55kmsthanks!
10:30.05Remmyou might want to try with a short timeout for sessions, to see what happens
10:30.19*** part/#tomcat Gnabbe (jonas@h55r308-3.delphi.afb.lu.se)
10:31.34kmsyeah, i can give that i try...
10:31.49kmsis there any way to easily see the instanciated objects? jdb or something...
10:33.42Remmor optimizeit (which i use to optimize for speed usually)
10:33.55HellaenergyRemm: is it possible to share sessions between http and https?
10:34.24Hellaenergyor anyone for that matter?
10:34.47Hellaenergyibot: do you know?
10:34.47yea, its x amount
10:35.02Hellaenergyoh thats right :)
10:37.21ThEDeVIlanyone knows a good tutorial on how to add PHP support to tomcat
10:37.31ThEDeVIlor anyone can explain that well?
10:37.43Hellaenergyyou would want to use apache for that
10:37.49ThEDeVIlcan't
10:37.53ThEDeVIlhave to use tomcat
10:37.54ThEDeVIl:(
10:38.01Hellaenergywhy?
10:38.06ThEDeVIlproject for school
10:38.12ThEDeVIlI study Higher Informatica
10:38.23ThEDeVIlwe have to programm in JSP, Servlets and Java Beans
10:38.37ThEDeVIlso have to use tomcat
10:38.40Hellaenergyso why php then?
10:38.43ThEDeVIlwell
10:38.48ThEDeVIlfor personal purpose ;a0
10:38.50ThEDeVIl;)
10:38.57ThEDeVIland for PHPMyAdmin
10:39.26ThEDeVIlI thought tomcat was a sort of extension of apache also
10:39.29Hellaenergystick to the assignment kid :)
10:39.30ThEDeVIljakarta tomcat'
10:40.04ThEDeVIlfirst of all, I am not a kid, I am 18 ;) and second, It should be possible, or is tomcat that bad?
10:40.18Hellaenergybad no
10:40.21Hellaenergykid yes
10:40.26Hellaenergyjk
10:40.29ThEDeVIl:P
10:40.45Hellaenergy:)
10:40.46ThEDeVIlis it possible?
10:40.47kmsThEDeVIl: run apache and tomcat. connect them with jk or jk2
10:40.55ThEDeVIljk?
10:40.59ThEDeVIlwhere can I find info on jk
10:41.11Hellaenergyibot: mod_jk
10:41.11Hellaenergy: are you smoking crack?
10:41.16Hellaenergyyes
10:41.20ThEDeVIllol
10:41.25Hellaenergyibot: mod_jk how to
10:41.25Hellaenergy: parse error: dunno what the heck you're talking about
10:41.27kmsThEDeVIl: somewhere on the jakarta webpage :)
10:41.32ThEDeVIlok'
10:41.45Hellaenergyibot: mod_jk2 how to
10:41.45wish i knew, Hellaenergy
10:41.53Hellaenergyibot: mod_jk2 how-to
10:41.53Hellaenergy: parse error: dunno what the heck you're talking about
10:41.59Hellaenergyokok
10:42.18ThEDeVIlibot: mod_jk2
10:42.18[mod_jk2] at http://www.johnturner.com/howto/apache-tomcat-howto.html
10:42.23ThEDeVIl:D
10:42.37Hellaenergyman I spend more time configuring tomcat then I do writing servlets
10:42.43ThEDeVIllol
10:42.45Hellaenergythats go to change :)
10:42.49Hellaenergys/go/got
10:42.51ThEDeVIlbtw
10:43.07ThEDeVIldoes anyone of you know how to make servlets work with a MySQL database?
10:43.14ThEDeVIland if yes, where can I find info/tutorials
10:43.52ThEDeVIllol
10:43.59ThEDeVIlshould be the same as in an applet?
10:44.05ThEDeVIlif yes, then I can make it myself
10:44.12ThEDeVIlI can programm Java in Applets etc
10:44.18ThEDeVIlbut servlets, never tried....
10:44.21ThEDeVIlthis is my first tiem
10:44.23ThEDeVIltime
10:44.29Hellaenergyget a book
10:44.38Hellaenergyoreilly
10:44.41ThEDeVIlI got ehm
10:44.47Hellaenergyread them
10:44.52ThEDeVIlMore Java Servlets and Java Servers or something
10:44.59ThEDeVIla book also about Servlets and JSP
10:45.06ThEDeVIlnuttin about SQL connections :S
10:45.14Hellaenergyjdbc?
10:45.17ThEDeVIlonly about the basic stuff, like using the GET etc
10:45.18ThEDeVIlnope
10:45.24ThEDeVIlbut if it is the same as in normal Java
10:45.25Hellaenergyread further
10:45.27ThEDeVIlthen I can do it
10:45.35Hellaenergyyes
10:45.40Hellaenergyof course
10:45.41ThEDeVIlI used MySQL, Sybase etc with Java
10:46.04ThEDeVIlservlets == java spitting some HTML code?
10:47.04Hellaenergybrowse this and tell me what you think: http://java.sun.com/products/servlet/2.2/javadoc/index.html
10:47.06ThEDeVIlor am I wrong
10:47.31ThEDeVIlhmmm
10:47.44ThEDeVIlServlets == Java with some other packages then Applets would have
10:47.48ThEDeVIlok, then I am saved
10:47.49HellaenergyI am sure those book your read described that in the preface
10:47.50ThEDeVIl:D
10:48.10ThEDeVIlneway
10:48.12ThEDeVIlgtg now
10:48.15ThEDeVIlmovie waiting for me
10:48.19ThEDeVIlthnx for all your help people
10:48.21Hellaenergypeace
10:48.22ThEDeVIl:D
10:48.24ThEDeVIlcya l8er
10:48.50kmsRemm: tried using jdb and connect to the running tomcat now... i got thrown off when i started the ab :)
10:49.24vaixDoes anyone have problems w/ j2sdk 1.4.1_01 (or 1.4.0_01) and tomcat 4.1.12 ? - everytime i start, it throws a null-pointer at: org.apache.commons.logging.LogConfigurationException
10:49.26agent29Hey Hellaenergy
10:49.43kmsRemm: it had this command "classes", but i'm not sure if that would have shown me what was eating memory for breakfast
10:50.06agent29Hellaenergy: I got my tomcat up and running - only using debs :-)
10:51.12Hellaenergygood job
10:51.18Hellaenergywith mod_jk?
10:51.48RemmI don't think i ever user jdb; I can't help much there
10:54.56Hellaenergyis servlets.jar now servlets-common.jar?
10:55.16agent29Hellaenergy: yep, Apache 1.3.26, Tomcat 4.0.4 and libapache-mod-jk
10:55.31HellaenergyI am now a apache2 man
10:55.43agent29yaks
10:55.45HellaenergyI got frickin mod_perl to compile with it finally :)
10:55.52agent29nice
10:56.03Hellaenergynow I am working on mod_jk2 :)
10:56.36agent29well, I'll have to wait to PHP officially supports Apache2
10:58.49Hellaenergyagent29: what kind of project are you working on (servlets)
11:02.55agent29Hellaenergy: I have a relativly big website written in PHP which I want to convert to JSP and servlets
11:03.12Hellaenergywhy?
11:03.59agent29Hellaenergy: cause I need to create a backend for some functions like chat etc.
11:04.27Hellaenergyyou could just use embedded applets
11:05.37agent29Hellaenergy: yep, but I bored and need to learn something new :-)
11:05.49Hellaenergynow thats a good reason ;)
11:06.43agent29Hellaenergy: also I'll soon work on a new website with games etc. written in java written in java
11:10.24agent29you know... written in java ;-)
11:10.32HellaenergyWhat does a Host Alias name achieve? I am looking in the Tomcat Administration Tool
11:10.48Hellaenergyunder Host
11:11.07agent29the same as servername in httpd.conf as far as I've read
11:11.20Hellaenergyhost is now localhost
11:11.32agent29for virtualhosts i think
11:11.36Hellaenergyif i add www.thelinuxshack.com it will be that too
11:11.41Hellaenergy?
11:11.47agent29hmmm
11:12.37agent29not sure what you mean
11:12.59*** join/#tomcat [xer0] (~[xer0]@204.60.186.16)
11:13.04[xer0]su;
11:13.08[xer0]sup*
11:13.08HellaenergyI can reference is know as www.thelinuxshack.com too?
11:13.14Hellaenergyhey hey hey
11:13.17*** part/#tomcat vaix (~jomarqua@fw1.planalytics.com)
11:13.28[xer0]sup hella
11:13.41Hellaenergynot much; configuring tomcat as usual
11:13.51[xer0]heh me too
11:13.57Hellaenergygetting errors as usual :)
11:14.02[xer0]me TOO
11:14.09[xer0]what platform u on?
11:14.13Hellaenergylinux
11:14.16Hellaenergydeb
11:14.22[xer0]debain?
11:14.26Hellaenergy2.4.20pre11
11:14.33Hellaenergyyup
11:14.51[xer0]is the best linux flavor for tomcat?
11:15.00[xer0]in your opionion?
11:15.10Hellaenergythat or Redhat
11:15.14[xer0]7.2?
11:15.20Hellaenergysure
11:15.25agent29Hellaenergy: Still working on iptables?
11:15.32Hellaenergyyes
11:15.38[xer0]hella
11:15.44[xer0]lol my job has me running tomcat on nt 4.0
11:15.45[xer0]rofl
11:15.45Hellaenergygot a script for me to review?
11:15.51Hellaenergyouch
11:16.07[xer0]heard of any problems with nt and tomcat?
11:16.18Hellaenergyya NT
11:16.21agent29Hellaenergy: You can have the one I'm using - same mail address ?
11:16.23Hellaenergy:)
11:16.33Hellaenergyyup
11:16.41Hellaenergyagent29: yes
11:16.46[xer0]what kinda script hella?
11:16.54Hellaenergytop secret
11:17.03Hellaenergy;| shhhhh!
11:17.07[xer0]sploit script?
11:17.18Hellaenergyhella no
11:17.21[xer0]err
11:17.22[xer0]heh
11:18.06[xer0]yah NT does sucks
11:18.08[xer0]big time
11:18.15Hellaenergywhat is your problem?
11:18.17[xer0]you ever heard of a app called File NET?
11:18.20Hellaenergywith tomcat?
11:18.23[xer0]i dont have a problem
11:18.31Hellaenergyno
11:18.43[xer0]heh no problems here
11:18.48[xer0]not yet atleast
11:18.48Hellaenergygood
11:18.54[xer0]just coming to talk with you guys
11:19.00Hellaenergyoh cool
11:19.02[xer0]see if i can learn more cool things about tomcat :p
11:19.14Hellaenergythats what this channel is here for
11:19.19[xer0]of course the website offers lots
11:19.24[xer0]but somes IRC is better
11:19.35Hellaenergynaaaa
11:19.39[xer0]hella u in charge here?
11:19.39agent29Hellaenergy: there you go
11:19.57Hellaenergy[xer0] I started the channel
11:20.04[xer0]damn thats hot
11:20.17HellaenergyI don't claim to be in charge
11:20.30[xer0]i know hella
11:20.30[xer0]heh
11:20.38[xer0]i should have pharsed differently
11:20.49HellaenergyI just thought it would be a great idea
11:20.58[xer0]definately
11:21.18Hellaenergyafter all the trouble it took to get it going on my own
11:21.27[xer0]can you safely run tomcat in a production enviroment on a Unix server with ibm websphere in your opionion?
11:21.36Hellaenergywow
11:21.48HellaenergyI know some people do it
11:21.57[xer0]sure me too
11:22.09Hellaenergywhat is your idea of safe?
11:22.41Hellaenergyagent29: thanks
11:22.41[xer0]not crashing
11:22.56[xer0]heh and of course security holes as well
11:23.00[xer0]more so stablility
11:23.06Hellaenergyit is pretty solid. They are still working on it of course :)
11:23.32Hellaenergysecurity is not a very well addressed issue (i don't think) with tomcat.
11:23.34[xer0]what about tomcat on a netware 5 box?
11:23.47[xer0]security is a huge issue with me :P
11:23.54Hellaenergyme too
11:24.05Hellaenergynetware?
11:24.10[xer0]novell
11:24.19[xer0]no good?
11:24.20Hellaenergynever done that
11:24.37Hellaenergynovell can kiss my grits
11:24.49[xer0]rofl why do u say that?
11:24.50Hellaenergysorry to any novell users
11:25.03Hellaenergyrofl?
11:25.29Hellaenergyit's not *nix :)
11:26.31agent29Hellaenergy: If you find an error - mail it to me rather than fix it on my server yourself :-)
11:27.02Hellaenergyso you can fix yours too?
11:27.09agent29yep
11:27.12Hellaenergyk
11:27.26Hellaenergyyou know there is a netfilter channel?
11:27.37agent29But its pretty strict - so there should be no troubles
11:27.44agent29ehm... nope
11:30.51[xer0]rofl = lol
11:31.09Hellaenergywhat is the best servlet hosting site in the us?
11:32.03[xer0]my basement
11:32.10Hellaenergy;p
11:32.11[xer0]lol
11:32.38agent29wouldn't know... Is Denmark to far away ;-)
11:32.40HellaenergyI want to do a servlet based site for a client but I don't want to host it on my server at home
11:32.52Hellaenergymaybe not
11:33.02*** join/#tomcat Xeroxer (d98jpa@login-3.efd.lth.se)
11:33.03Hellaenergyif the pipe is fast enough
11:33.11Hellaenergyyo Xeroxer!
11:33.42Xeroxeri just installed tomcat 4.0.3 on my debian machine and in the docs it says that it has a built in webserver. Is this one to prefer before apache?
11:33.50Xeroxernice to meet you too Hellaenergy
11:33.57HellaenergyRemm: what do you suppose that logging error is caused by anyways?
11:34.07agent29Xeroxer: depends
11:34.11HellaenergyHow are you doing today Xeroxer?
11:34.36Xeroxeragent29: depends on what? I'm not going to run a _huge_ site on it, at least not at first =)
11:34.54Xeroxeragent29: or it's not the performance that is different?
11:35.04agent29Xeroxer: Tomcat have a reputation of been a bit slower processing static content than eg. apache
11:35.13agent29been = being
11:35.27HellaenergyXeroxer: so you apache for your static content :)
11:35.34Hellaenergys/you/use
11:36.01Xeroxeri already have apache on port 80 so that means that i should bind tomcat on another port and forward servlet traffic only there? is that the preferred setup?
11:36.18Hellaenergyyes
11:36.21Hellaenergyconnectors
11:36.26agent29Xeroxer: Its quit easy... apt-get install apache tomcat4 tomcat4-webapps libapache-mod-jk
11:36.28Hellaenergysee the topic
11:36.50Hellaenergyagent29: what where you doing wrong before then?
11:37.08Xeroxeragent29: thanks ... already installed that. btw, does libapache-mod-jk and libapache-mod-webapp do the same job?
11:37.18agent29Hellaenergy: the mod_jk.conf I guess
11:37.18Hellaenergyyes
11:37.20Xeroxeri could quite figure out which one is for what
11:37.27Xeroxercouldn't
11:38.17Hellaenergysame thing
11:38.27Hellaenergydifferent writers
11:38.47agent29Hellaenergy: all I rellay had to do was enabling ajp13 in server.xml and provide the correct mod_jk.conf
11:39.00Xeroxeralright... now all i have to do is to install some kind of java environment and i'm up and running =)
11:39.09Hellaenergylook what I found on tomcatzilla
11:39.19agent29apt-get install j2sdk1.3
11:39.27Hellaenergyhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017
11:39.32Xeroxeragent29: i don't have that in stable =/
11:39.41agent29Xeroxer: hang on
11:39.42Xeroxerso i'm installing j2sdk1.3 by hand
11:39.49kmsi'm going to develop my application with struts. however, I have yet to decide on a persistance layer.. there are so many to choose from :)
11:40.30agent29add this to your /etc/apt/sources.list: deb ftp://sunsite.dk/mirrors/java-linux/debian woody non-free
11:41.00kmsHellaenergy: it seems to be the way to go..
11:41.01Xeroxeragent29: thanks a bunch!
11:41.08Hellaenergydefinatly
11:41.09agent29Xeroxer: np
11:42.26kmsHellaenergy: http://jakarta.apache.org/struts/resources/models.html
11:42.57Xeroxeragent29: is that the blackdown jdk?
11:43.06agent29Xeroxer: yep
11:43.31Xeroxeris there any difference from the sun one or is it just that they make friendlier packages for other dists?
11:44.15agent29Xeroxer: I think the main difference is some licence issues - but I'm not sure
11:45.04agent29Xeroxer: haven't encountered any problems with blackdown yet
11:45.10Xeroxerwell once again. thanks for the help
11:46.51agent29So, I want to create some virtualhosts for tomcat - how should the directory structure be?
11:59.10*** join/#tomcat Daagar (~daagar@transgenomic-gw.customer.alter.net)
11:59.28*** part/#tomcat Daagar (~daagar@transgenomic-gw.customer.alter.net)
12:00.49*** join/#tomcat Remm (~chatzilla@AToulouse-105-1-21-195.abo.wanadoo.fr)
12:15.54*** join/#tomcat Xeroxer (d98jpa@login-3.efd.lth.se)
12:19.41*** join/#tomcat cmmmmm (~cmmmm@rrcs-central-24-123-3-158.biz.rr.com)
12:21.44cmmmmmAny Weblogic users?
12:21.59cmmmmmI'm looking for the weblogic apache module (mod_wl)
12:22.17cmmmmmor, does anyone know of a weblogic irc channel?
12:23.45Hellaenergyno
12:42.23*** join/#tomcat jasonb (~jasonb@ar1-nat-sp.collab.net)
12:44.40Hellaenergysomeone show me an example of a working jk2 server.xml, jk2.properties and workers2.properties, please
12:46.00cmmmmmI gave up with jk
12:46.08Hellaenergyjk2
12:46.13Hellaenergy:)
12:46.17cmmmmmGave up with that also:)
12:46.28cmmmmmI ended up using apache's mod_proxy
12:46.34HellaenergyI know its a big pain in you know what
12:46.52HellaenergyIts personal now though :)
12:47.12cmmmmmThat's the way I saw it for about 2 solid days
12:47.16cmmmmmUse mod_proxy
12:47.18cmmmmmhttp://jakarta.apache.org/tomcat/tomcat-4.1-doc/proxy-howto.html
12:47.30HellaenergyNO
12:47.32Hellaenergy:)
12:47.38cmmmmmok...
12:47.51Hellaenergyif I can't do it who can?
12:47.52cmmmmmmess around with mod_jk for another 2 days and then use it:)
12:48.03cmmmmmIf you figure it out let me know
12:48.09Hellaenergyits already been 2 days
12:48.12Hellaenergyok
12:48.18cmmmmmUsing Tomcat 4.1 and Apache 2.0?
12:48.32Hellaenergyyes
12:48.54cmmmmmon linux?
12:49.00Hellaenergycheck out what this guy wrote
12:49.00Hellaenergyhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017
12:49.04Hellaenergyyes
12:49.09cmmmmmuse mod_proxy
12:49.30Hellaenergywhy?
12:50.20cmmmmmI'm sure you've read all of the horror stories about getting it to build
12:50.39cmmmmmmod_proxy is just as fast (I believe) and you can get it set up in 2 minutes
12:50.41Hellaenergyoh building it was not a problem
12:50.52Hellaenergywell a little one
12:51.00Hellaenergybut getting it to work is another
12:51.42Hellaenergyhm
12:52.26Hellaenergyi had mod_jk working with apache 1.3.26 and Apache 4.1.10
12:52.37Hellaenergyi must move on
12:52.50jasonbHellaenergy: You might want to see this: http://www.pubbitch.org/jboss/mod_jk2.html
12:53.07jasonbHellaenergy: But, it's for TC 4.0, not 4.1.
12:53.25jasonbHellaenergy: The cool thing is that it is basically easier to do with 4.1 than with 4.0.
12:53.31Hellaenergyhttp://nagoya.apache.org/bugzilla/show_bug.cgi?id=14017
12:53.48jasonbHellaenergy: (because 4.1 includes the Java side of jk2 by default)
12:53.48Hellaenergythat dude wrote a how to for apache2 and tomact 4.1.12
12:53.53Hellaenergywith modjk2
12:54.03jasonbHellaenergy:  Yeah, I'm going to have a look at that.
13:09.44agent29Hellaenergy: up and running are you?
13:18.12Hellaenergynope
13:27.27*** join/#tomcat hesby (~hesby@ip67.unival.com)
13:35.43*** join/#tomcat kiri (kiri@chris.mweb.co.zw)
13:39.03hesbySo is it insane to run Tomcat 3 in production?
13:53.26*** join/#tomcat kiri (kiri@chris.mweb.co.zw)
14:00.02hesbyOh kiri, you missed everything while you were gone
14:01.38agent29how do I go about setting up the directory for virtualhost? Should I create /WEB-INF etc. ?
14:07.01kmsanyone know where i can find more information on "xdoc"?
14:12.12Hellaenergyagent29: add the directory to your server.xml
14:13.07*** join/#tomcat wasabi (~jhaltom@64.25.11.66)
14:13.30Hellaenergywaaaazzzzuuupp wasabi!
14:13.37wasabiahh stop it
14:14.06wasabiwhat's a good way to debug print from a jsp?
14:14.14wasabiI was hoping System.out.println would just come out on stdout
14:14.24Hellaenergydoesn't it
14:14.25wasabi...  but I apparently can't see stdout of tomcat easily.
14:14.29wasabiYah im sure it does
14:15.01Hellaenergywhat is the document type?
14:15.07Hellaenergytext/plain?
14:15.21wasabitext/html
14:15.25agent29Hellaenergy: Can you give/mail an example? My head is spinning with reading docs
14:15.36wasabime?
14:15.36wasabiheh
14:15.38Hellaenergysure
14:15.41Hellaenergyhold on
14:15.47Hellaenergywhat address
14:15.55agent29tonni@cazoo.dk
14:15.56hesbywasabi, a jsp uses out.println()
14:16.13wasabiI can't see that because hte page is throwing an exception
14:16.21hesbySystem.out is the shell that started tomcat
14:16.22wasabioh wait idea
14:16.38wasabiIt's throwing an SqlException, and I need to be able to see what sql string its sending
14:16.39wasabi=/
14:17.50*** join/#tomcat AngusMezick (~AngusMezi@209.96.199.2)
14:18.50AngusMezickhello, I am having problems getting legacy 1.1 JSP tags to work with tomcat 4.1. Can anyone please point me to a resource where I can find what I need to changes?
14:21.19*** join/#tomcat sparv (~gus@draco.research.olin.edu)
14:22.13sparvHi, I am trying to figure something out.... Would tomcat get upset if I tried to have a web application within a web application (in the served directories)
14:24.02HellaenergyAngusMezick: did you look on the jakarta.apache.org/tomact/ site?
14:24.10Hellaenergysparv: dono here
14:24.40sparvHellaenergy: hmm yeah looks pretty quiet in this channel
14:24.57AngusMezickHell: Yup, I am jsut having trouble locating any specific information about what type of JSP code the tag pooling doesn't like
14:25.18AngusMezickHell: I am just told that if my tags don't follow the 1.2 spec I am in trouble
14:25.32Hellaenergylook up legecy jsp migration on google
14:25.45Hellaenergy?
14:27.25AngusMezick<--- is porting code from iplanet4.1 (jsp1.0) to tomcat 4.1 *shiver*
14:28.46AngusMezickNo luck
14:29.20hesbywasabi you still having trouble printing the SQLException?
14:32.33wasabinaw.
14:33.23hesbycool
14:33.36hesbyI'm just starting with JSP, but I like it a lot already
14:37.24AngusMezickAhh, I think I have it:
14:37.25AngusMezickhttp://www.onjava.com/pub/a/onjava/2001/11/07/jsp12.html?page=2
14:40.51Hellaenergydid that do it AngusMezick?
14:43.37AngusMezickSomewhat.  I think I need to add a bit of logging to my code to see exactly what is happening.
14:44.15AngusMezickI don't think I have any class variables that aren't tag attributes.
15:03.28AngusMezickAnyone know if setParent is called before EVERY call of doStartTag?
15:06.25AngusMezickSystem.out.println("setting parent for ..."); :)
15:06.41AngusMezickkinda
15:07.22*** join/#tomcat ibot (ibot@rikers.org)
15:07.22*** topic/#tomcat is The Jakarta Tomcat Project http://jakarta.apache.org/tomcat | Connectors - http://jakarta.apache.org/builds/jakarta-tomcat-connectors/
15:14.09*** join/#tomcat EricTheRed (~ericthere@208.44.151.134)
15:15.15*** part/#tomcat EricTheRed (~ericthere@208.44.151.134)
15:18.34Hellaenergyman I have ajp 8009 listening how the hell do I connect to it
15:18.58*** join/#tomcat IRCMonkey (~chatzilla@208.44.151.134)
15:19.03Hellaenergy8009/tcp   open        ajp13
15:19.16HellaenergyYo IRCMonkey
15:20.22agent29telnet 8009? :-)
15:20.51Hellaenergyit connects
15:21.34Hellaenergyit won't let go arrg
15:21.52Hellaenergywhat command tells it done :)
15:22.07agent29ctrl+c ?
15:22.13Hellaenergynope
15:22.18Hellaenergyz d
15:22.21Hellaenergynope nope
15:22.23jasonbctrl-]
15:22.28*** join/#tomcat neo (~Andy@hax0r-9600bps-analog-modem-pool.3solv.net)
15:22.35Hellaenergythat did it
15:22.56Hellaenergythanks jasonb
15:23.05jasonbHellaenergy: np.
15:23.30Hellaenergyit was a chineese handcuff tomcat-connector
15:28.26*** join/#tomcat IRCMonkey (~chatzilla@216.195.17.169)
15:28.57hesbyaarg...my sysadmins only have the JRE on the tomcat server, so I can't run JSP
15:29.22jasonbhesby: No jikes?  What about precompilation?
15:35.40hesbyI can precompile on some other box, but it is a pain by comparison
15:36.40jasonbhesby: So bundle jikes and have Tomcat invoke it from within your webapp dir.  :)
15:38.13hesbyMe dumb...how do I trick tomcat into compiling modified JSPs with jikes?
15:45.42lalleHmm, tomcat under netbsd?
16:09.54*** part/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net)
16:10.49*** join/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net)
16:11.17wasabiIs there any way to store a variable on a jsp page that is good within the context of the request?
16:11.22wasabiAnd expires at the end of the request?
16:21.24wasabifirst I thought to do a field of the page... however that would get messed up with other requests
16:37.07*** join/#tomcat Freix (~robbie@host137-12.pool80116.interbusiness.it)
17:34.05*** part/#tomcat geoffeg (~geoffeg@ddsl-216-196-223-237.fuse.net)
17:46.29*** join/#tomcat youphoric420 (~chatzilla@207.250.6.19)
17:46.40youphoric420anyone here used mod_jk2?
17:47.00ThEDeVIlnope, but got a site about the use of it
17:47.13youphoric420that would help
17:47.40youphoric420i got apache2-tomcat4.1 to connect via jk2 but my vhosts aren't working
17:48.26ThEDeVIlhttp://www.johnturner.com/howto/apache-tomcat-howto.html
17:49.45youphoric420"Apache 2.0.40 + Tomcat 4.1.10 + mod_jk2  (RedHat 7.2 -- soon!)" doh
17:50.28ThEDeVIlcan ya use that?
17:51.32youphoric420well he doesn't have a jk2 howto .... but i think i found a message on tomcat-user that fixes my problem
17:51.42ThEDeVIlok
17:55.17jasonbyouphoric420: Do you have a URL for that message?
18:09.46youphoric420yeah... hasn't solved my problem yet tho
18:10.06youphoric420http://marc.theaimsgroup.com/?l=tomcat-user&m=103533464604597&w=2
18:10.07youphoric420and
18:10.19youphoric420http://marc.theaimsgroup.com/?l=tomcat-user&m=103433964720273&w=2
18:10.56ThEDeVIlI got a question
18:11.16ThEDeVIlI now got it that I can goto: http://www.domain.com:8080/ and get the tomcat page
18:11.36ThEDeVIlnow I want to go to http://www.domain.com:8080/~devil/ and recieve my home dir page
18:11.39ThEDeVIlget what I mean?
18:31.06*** join/#tomcat TheSteve1 (~Steve@130.132.16.58)
18:31.20*** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk)
18:31.27*** part/#tomcat agent29 (~tonni@pc63222.stofanet.dk)
18:34.28jasonbThEDeVIl: Tomcat can do that with a listener like this:
18:34.30jasonb<Listener className="org.apache.catalina.startup.UserConfig"
18:34.30jasonb<PROTECTED>
18:34.30jasonb<PROTECTED>
18:34.30jasonb<PROTECTED>
18:34.55ThEDeVIlok
18:35.01ThEDeVIlwell, I couldn't find anything
18:35.13ThEDeVIlso, if I make it like that
18:35.14jasonbThEDeVIl: Put that inside your <Host>
18:35.15ThEDeVIlit would work?
18:35.30jasonbThEDeVIl: I think.  Try it.
18:36.01ThEDeVIlin web.xml
18:36.03ThEDeVIlor server.xml
18:36.45jasonbserver.xml.
18:37.43ThEDeVIl<PROTECTED>
18:37.43ThEDeVIl<PROTECTED>
18:37.43ThEDeVIl<PROTECTED>
18:37.47ThEDeVIlabout there?
18:37.50ThEDeVIlor someone else
18:37.53jasonbJust under that I think.
18:37.56ThEDeVIlok
18:40.21TheSteve1Why can't I get auto-expand to work for war files
18:40.52TheSteve1I put the war file in the webapp directory and then I type in the name (without the war) and I get a 404 error
18:41.09TheSteve1Do I need to define a context?
18:58.00youphoric420your host needs unpackWARs="true"
18:58.56youphoric420woohoo! i got jk2 working... but had to do all my uri config from within workers2.properties ... can't get it to work w/ directives within my httpd.conf
18:58.57TheSteve1youphoric420: in my server.xml? and if so where?
18:59.34youphoric420TheSteve1: yeah, server.xml ... something like this
18:59.36youphoric420<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true">
18:59.45youphoric420you may need that autoDeploy="true" as well
18:59.58TheSteve1thanks
19:00.34youphoric420np, let me know if it works
19:02.14TheSteve1I am not going to check it out now, I already unpacked the war file manually.
19:02.25TheSteve1Struts validation in killing me today
20:19.36youphoric420argh i can failover but load balancing still not working
21:35.43*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
21:35.47*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
22:10.34*** join/#tomcat jasonb_ (~jasonb@66.124.73.250)

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.