irclog2html for #tomcat on 20030825

01:22.14*** join/#tomcat czervik (~joe@ny-utica8c-131.aburny.adelphia.net)
01:24.30*** part/#tomcat czervik (~joe@ny-utica8c-131.aburny.adelphia.net)
01:31.58kylevBz: dude, did you forget the word "public"?
02:22.27*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
02:56.00jkkz
04:15.40MikeMdid anyone ever determine if "[error] mod_jk child init 1 -2" from mod_jk2 really was an error?
04:36.08MikeMhmm.... by chowning my shm to the apache user I think I cleared that up.... throughput hasn't noticeabely increased though....
04:59.43*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
05:41.37Splinejasonb: you gotta do something about friendster's performance
06:12.47*** join/#tomcat teddy21 (~haha@dialin-212-144-057-204.arcor-ip.net)
06:19.03*** join/#tomcat somatose` (~somatose@ip68-225-40-169.hr.hr.cox.net)
06:23.14somatose`I can set web application directories up in very distinct, absolute locations, such as /home/vhost1/public_html/webapp1 and /home/vhost2/public_html/webapp2 by setting the appBase in the Home tag. I can have more than one virtual host handled by a single worker, as well. At least, this is my understanding, thusfar. My question is, how efficient would a single worker handle web applications for, say, four virtual hosts? What sort of mechan
06:46.09*** join/#tomcat ferz (~fer@ppp-217-133-205-155.cust-adsl.tiscali.it)
06:46.18ferzHi.
06:47.55ferzI need help: I'm compiling a webapp and it is not able to resolve some symbols as "javax.servlet.http.HttpServletRequest". I fear to have not the right CLASSPATH.
07:01.25ferzI'm running Jakarta-Tomcat 4.0.6 on FreeBSD 4.8-stable.
07:01.44ferzBut I'm not a Java developer.
07:04.09ferzI'm looking for the path to find javax.* symbols.
07:09.59*** join/#tomcat Adelheit (~none@80.146.165.65)
07:11.27*** join/#tomcat trn_ (~sasha@195.69.221.24)
07:23.00*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
07:26.08*** join/#tomcat groton (userit@ppp-204-102.98-62.inwind.it)
07:26.10grotonhello!
07:27.19grotonmy tomcat installation spawns something like 20 process. I see them all thru the 'ps' command. But I really hope that they are not process but threads instead, how to check this?
07:43.41*** join/#tomcat willem (~willem@213-84-243-32.adsl.xs4all.nl)
07:45.11*** join/#tomcat wvoogd (~willem@213-84-243-32.adsl.xs4all.nl)
08:40.08*** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210)
09:00.08kylevferz: look for servlet.jar inside the tomcat installation
09:04.03ferzkylev: thank you. I supposed to include in CLASSPATH only directories where .jar where placed. I've just discovered that I need to include the .jar files.
09:04.39kylevyup, think of .jar files as packed up directories
09:08.08*** part/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
09:16.06*** join/#tomcat Computerfreak (~haha@dialin-212-144-057-204.arcor-ip.net)
10:00.59*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
10:54.00*** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-050-188.arcor-ip.net)
11:16.24*** join/#tomcat willem (~willem@213-84-243-32.adsl.xs4all.nl)
11:21.32*** join/#tomcat schlumpf (marcel@dsl-213-023-050-188.arcor-ip.net)
11:52.33ferzAnother question: I'm using Apache 1.3 with mod_jk2 and Jakarta Tomcat 4.0.6 and I'm installing dspace (www.dspace.org).
11:53.18ferzI need to redirect the url of this application from http to https.
11:54.16ferzIf I use in httpd.conf the Redirect directive, the url is handled from mod_jk2 before the Apache can apply the redirect.
11:55.20ferzI try to explain better: http://myhost/dspace is intercepted from mod_jk2 and the output is sent to browser in clear.
11:56.00ferzI need to translate http://myhost/dspace into https://myhost/dspace first and then mod_jk2 can give me the reply.
11:56.51ferzI thank you in advance for any suggestions.
12:03.52sobeldon't map your servlet in the http 1.1 vhost, only map it in the ssl vhost
12:05.29ferzsobel: thank you.
12:06.21ferzsobel: with mod_jk2 the only configuration available for this connector is workers2.properties ?
12:08.27*** join/#tomcat Bz (~Matt@m081-175.nv.iinet.net.au)
12:08.36Bzhow can I see if my tomcat server is foobar'd?
12:08.55Bzfor our uni, we have multiple groups (15+) all using the same error, and it's complaing about outof memory and everything
12:09.10Bzjust wanna right a simple quick jsp file to prove tomcat is stuffed!
12:09.14Bzand not my code
12:25.38sobelferz: yeah, though it *might* matter which module is loaded first but i haven't tried that
12:26.08sobelferz: all i know is, it worked with apache 2.0.44-47
12:27.31ferzsobel: thank you. I actually cannot move to Apache2 for the other web applications on this server.
12:54.44*** join/#tomcat vakYpollo (~higopico@151.Red-80-36-135.pooles.rima-tde.net)
13:30.33*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
13:33.44sobelit worked the same under 1.3.x
14:25.25*** join/#tomcat wifs (~nobody@dsl254-113-134.nyc1.dsl.speakeasy.net)
14:42.27*** join/#tomcat willem (~willem@213-84-243-32.adsl.xs4all.nl)
14:42.52*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
14:52.49*** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141)
14:52.56Hellaenergymorning
14:53.20wifsHi, I'm trying to use Tomcat with Apache using Apache for authentication. I set my DocumentRoot in httpd.conf to be protected by AuthType 'basic' (I plan to use other types later) but my JkMounts are served by Apache via the jk_mod connector without auth -- bypassing authentication completely. What am I doing wrong?
14:53.27*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
14:53.56Hellaenergywifs: Tomcat has its own Auth
14:54.35Hellaenergy<securit-constraint>
14:54.36wifsHellaenergy: am I restricted to using this? E.g. can tomcat only use its own built in auth instead of forwarded auth from apache?
14:54.53wifsor is there a way to inherit apache's acl?
14:55.27wifs:D
14:55.41*** join/#tomcat schlumpf (marcel@dsl-213-023-050-188.arcor-ip.net)
14:55.47Hellaenergyhttp://www.oreilly.com/catalog/tomcat/chapter/index.html
14:56.14wifsthnx
14:56.28Hellaenergynp
14:58.11Computerfreakwifs
14:58.37Computerfreakcan u send me your server.xml, http.conf and workers.properties ??
14:59.08Computerfreakwich tomcat version and apache version do u use?
15:06.05wifsComputerfreak: sure, dcc or hellabot?
15:06.16Computerfreakdcc ?
15:06.17Computerfreakok
15:07.06wifsApache 2.0.47, Tomcat 4.1.18 and jdk14
15:07.52Computerfreakok
15:08.09Computerfreakok
15:22.40*** part/#tomcat Bz (~Matt@m081-175.nv.iinet.net.au)
15:56.58*** join/#tomcat ThomasKTN (0@193.109.53.2)
15:58.37ThomasKTNHello there, I am looking for a Demo of struts, witch i can use to study how its ment to working ;-)
16:00.55ThomasKTNAre there any Samples ? Like a small Portal or a Forum ?
16:07.04*** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-050-188.arcor-ip.net)
16:20.22*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
16:33.04*** join/#tomcat agbert (~agbert@rmt1.sac.spscommerce.com)
17:36.41*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
18:13.42*** join/#tomcat timcguir (~timcguir@156.98.32.106)
18:19.43*** join/#tomcat schlumpf2 (~vx_schlum@dsl-082-082-067-088.arcor-ip.net)
18:22.07*** join/#tomcat Elias (~elias@p508E6335.dip.t-dialin.net)
18:22.10Eliasah :)
18:22.15Eliashello everybody
18:23.41Eliashow did i know that my tomcat works with apache together ?
18:25.37*** join/#tomcat jasonb (~jasonb@67.124.81.122)
18:28.15Hellaenergyhi jasonb
18:28.34Eliashm? :(
18:28.56tang^elias: you point your browser at it?
18:29.01HellaenergyElias: Are you using mod_jk*?
18:29.06Eliasyes
18:29.35Eliasbut i get a little errormessage :
18:29.35Hellaenergylike tang says
18:29.37EliasReloading apache modules[Mon Aug 25 20:15:40 2003] [warn] Loaded DSO /usr/lib/apache/1.3/mod_jk.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
18:29.37Elias.
18:30.08HellaenergyYou should compile mod_jk yourself ;)
18:30.09tang^what version of apache?
18:30.17Elias1.3
18:30.19tang^and what Hellaenergy said
18:30.31Eliashehe :)
18:30.41*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
18:31.20Eliashm i´m a newbie can u tell me how i compile mod_jk myself ?
18:31.45HellaenergyRead the instructions
18:31.56HellaenergyWe are not going to do it for you
18:32.18wifsElias: if you supply me with a root l/p I'll do it for you
18:32.19wifs;D
18:32.28Eliask wait a moment ;)
18:32.35wifshaha, no I'm just kidding
18:32.43Eliashehe i know
18:35.04EliasHellaenergy: which instructions ? from tomcat ?
18:35.11timcguirIt is my understanding that Tomcat should know what javax/servlet/http/HttpSession
18:35.11timcguir<PROTECTED>
18:35.22Hellaenergyibot: Tomcat connectors
18:35.22Hellaenergy: KCI error, or a problem with the Keyboard-Chair Interface.
18:35.28Hellaenergyibot: tomcat connectors
18:35.28i don't know, Hellaenergy
18:35.35Hellaenergyibot: tomcat-connectors
18:35.36somebody said tomcat-connectors was at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/
18:35.41Hellaenergygo there
18:36.15Hellaenergysorry hold on
18:43.42Eliashm back to my first question
18:43.46Eliashow did i know that my tomcat works with apache together ?
18:45.27Eliasah
18:45.30Eliasyes i did
18:45.45Eliashttp://ip:8080 works fine
18:46.36jasonbHellaenergy: Hi ther.e
18:46.41jasonbugh.. mondays.
18:46.49tang^boo for mondays
18:46.55Eliasso, did that mean that my tomcat works together with apache ?
18:47.21tang^Elias: 8080 is tomcat by itself
18:47.59Eliashm k
18:48.02tang^if you can get to umm, http://ip:8080/examples and http://ip/examples then tomcat and apache both work
18:48.29wifsDoes anyone know if a httpd + tomcat authentication communication module exists, either for tomcat and/or apache?
18:48.45Eliaswith :8080 it works but without i get a 500 internal server error :(
18:49.23jasonbwifs: You mean like a mod_auth_tomcat?  :)  So far, no such thing.
18:49.55tang^Elias: then mod_jk isn't hooked up properly... it should lg, though
18:49.55jasonbwifs: Do yourself a favor and use Tomcat without Apache httpd.
18:50.15wifsjasonb, yeah. I was hoping to lean on apache for authentication because I wanted to use mod_auth_sspi to do ntlm auth
18:50.38jasonbwifs: Why not use LDAPRealm?
18:51.17tang^ntlm is so 1999
18:51.20wifsjasonb: i haven't heard of that. Is it an apache mod or something tomcat can use?
18:51.31jasonbIt's part of Tomcat.
18:52.23wifsI just want people to use their nt credentials to login to a servlet instead of storing a user db or somesuch
18:52.26sobeltomcat realm auth is the way to go
18:52.47wifsntlm sucks, I know, but I'm not in the position to argue with the person who wants to use it :)
18:52.56Eliashm tang^?
18:53.35tang^yeah, single sign on has so many benefits
18:56.30jasonbwifs: Actually, it's JNDIRealm.. JNDIRealm can use the JNDI LDAP provider.  See the docs here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JNDIRealm
18:57.05Eliashm where could be the mistake when http://ip:8080/examples works but http://ip/examples not ?
18:57.27wifsjasonb, kthnx I will. It looks like I'm probably going to be removing apache from the equation unless I can figure out how to juryrig it (redirect with credentials to a hardwire acct or something..)
18:57.31wifsargh, mondays
18:59.28Elias:(
19:08.57Eliasnice support chan :(
19:11.17HellaenergyElias: http://mirrors.theonlinerecordstore.com/apache/jakarta/tomcat-4/source/
19:12.38Eliaswhat did i need from there ?
19:12.45Eliasthe connectors ?
19:14.23Hellaenergyya
19:14.32Hellaenergyconnectors are mod_jk etc
19:15.02Eliasah k, never read that i need the connectors too :(
19:15.15HellaenergyYou have the connector
19:15.20Hellaenergyits mod_jk
19:15.34HellaenergyThat is where you download the src for it
19:15.51Hellaenergyso that you can compile it yourself and get rid of that error on apache startup ;)
19:16.14Eliasaaaaaaaaaaaaah :D
19:16.27Eliasthan i only need to find out how to do that ;)
19:22.07Eliasu will not tell me how i compile it or ? :/
19:26.16*** join/#tomcat evenson ([9YGjxaR0Y@panix3.panix.com)
19:32.29HellaenergyElias: Download the source and read the README or INSTALL file
19:32.36HellaenergyThat is what those are for
19:34.09Eliasthere is no readme or install in the root dir only keys , license and build.xml
19:34.55Eliashm maybe it is this readme : This directory contains both the native and java-side code for
19:34.56Eliasajp connectors.
19:34.57Elias?
20:05.32*** join/#tomcat a4akb (akb@as5-211.qualitynet.net)
20:05.51a4akbHi Hellaenergy
20:05.54a4akbHi jasonb
20:06.01a4akbhow are you all?
20:07.18*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
20:14.18*** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com)
20:27.41a4akbnight all
20:27.44a4akbbye
20:27.46*** part/#tomcat a4akb (akb@as5-211.qualitynet.net)
20:36.12*** join/#tomcat IRCMonkey ([LL]53031@76.Red-81-41-64.pooles.rima-tde.net)
20:37.02IRCMonkeyI have a trouble with security Managers on Tomcat 4.0
20:38.21IRCMonkeySomeone is going to say something?
21:05.46*** join/#tomcat ilf (~ilf@217.79.38.103)
21:07.20*** join/#tomcat awallace (~aw@adsl-66-136-203-39.dsl.austtx.swbell.net)
21:08.36*** join/#tomcat schlumpf (~vx_schlum@dsl-082-082-067-088.arcor-ip.net)
21:11.14awallaceUsing jdbcrealms, if in server.xml i set digest to MD5 and in web.xml i specify BASIC authentication, it works fine (the digested password is in the db). But if i require DIGEST authentication in web.xml, i can't log in. Can someone explain to me how these 2 settings (server.xml digest, and the auth method DIGES) are related?
21:12.06sobelin conf/web.xml or WEB-INF/web.xml?
21:12.19sobel(try the latter)
21:12.40awallaceweb-inf
21:14.37awallacethat's where i have the settings for the web app, if i set BASIC it works, but i I change that to DIGEST it fails.
21:14.38sobelhmm, i don't know.. that approach worked for me using cleartext passwords
21:15.37awallacesobel: yea, it works for clear text, and if i set the server.xml realm digest to md5 and I put the digested password in the db, it works too.. but if I set digest as the auth method in the WEB-INF/web.xml, it fails.
21:17.22tang^DIGEST auth takes the username and password and digests it before sending it to the server, BASIC just sends it cleartext
21:17.42tang^perhaps the digest is mucking about with your pre-digested password?
21:18.29sobelmaybe turn on sql statement logging at the database to see what sql is going to the db
21:21.04awallaceTo use the DIGEST auth method specified in web.xml, One should specify the algorightm in server.xml?
21:21.47tang^awallace: that I don't know. chapter 6 might, though
21:27.48awallacelet me check it out...thanks
21:30.19schlumpfwhy doesn't tomcat load my .jars in common/lib?
21:30.31tang^because it doesn't like you?
21:30.37sdsadya
21:30.42sdsadhe is very very selective
21:31.06sdsadhard to get loved by him
21:32.01tang^schlumpf: you have any in common/endorsed or WEB-INF/lib that match what you're putting in common/lib?
21:41.21schlumpfno
21:41.41schlumpfi want to load my postgresql jdbc driver globally for my webapps
21:42.14schlumpftang^: any other sollutions?
21:42.15sobelcommon/lib is working for me..
21:42.19sobel(mysql jar)
21:42.20schlumpfnot for me :(
21:42.26schlumpfalso mysql
21:42.35tang^tomcat ver?
21:42.40schlumpfbut it loads common-dbcp and common-pool which i have put in later
21:42.42schlumpf4.1.24
21:42.43sobel4.1.27
21:42.45schlumpfdebian
21:43.02tang^apt package or your own install?
21:43.03sobelibm jdk 1.4.2
21:43.06schlumpfapt
21:43.17sobelown install, also jakarta's installshield
21:43.18schlumpfalso the drivers, via symlink
21:43.36awallacewhy not put the drivers in jre/lib/ext_
21:43.59tang^mmm, symlink may not work
21:44.01sobelick
21:44.22sobelrather have to customize my tomcat install than my jdk
21:44.34sobelbesides, that stuff only needs to be loaded, not added to every classpath
21:44.36awallaceif you put the drivers in jre/lib/ext they will be available to the whole vm
21:44.39schlumpftang^: but it works for common...
21:45.01tang^schlumpf: it does? hmm I may have to try that sometime
21:45.20schlumpftang^: i also put the whole file in common/lib but it made no change
21:45.44tang^schlumpf: you restarted after putting the file in?
21:45.52schlumpfof course :)
21:46.28tang^I have heard that the apt packages on debian are broken, but I cannot corrobrate that information
21:47.15schlumpfi don't think so, i can use them from my other applications and it also works when putting it into WEB-INF
21:48.08tang^sounds like something is broken
21:48.19tang^other jars in common/lib work fine you say?
21:48.35sobeli hate sunjdk on linux
21:48.48schlumpfyes
21:48.56tang^I've never used any other
21:49.44schlumpfme too
21:49.45sobeli switched because IBM JDK passes my load tests, when sun's segfaults under load
21:49.59sobelit's pretty lame
21:50.42tang^interesting... at what version did you switch?
21:51.23sobel1.3
21:51.49tang^have you reevalutated your tests with 1.4.1 or 1.4.2?
21:52.12sobelIBM JDK 1.4.2 still passes load tests.  haven't evaluated sun's.
21:53.26schlumpfany other suggestions?
21:54.11sobeldon't touch jre/lib/ext
21:54.28schlumpfthere are no errors or notices in the logs...
21:54.42schlumpfsobel: no, i won't do that
21:54.42sobeltry a fresh copy of tomcat, and the most minimal realm auth configuration and tiny web app
21:54.55schlumpf:(
21:54.56sobelturn up the debug level in server.xml
21:55.15schlumpfi'll try the last one
21:55.37sobelyou should probably do them all ;)
21:58.55*** join/#tomcat groton (userit@ppp-167-101.98-62.inwind.it)
21:59.02grotonhello
21:59.27*** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com)
22:01.34schlumpfsobel: mmhh maybe
22:06.48schlumpfsobel: nothing new with debug
22:59.20grotonnute all
23:02.40*** join/#tomcat jorge_unmsm (~jorge_unm@200.62.146.243)
23:02.51jorge_unmsmhello
23:03.20*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
23:03.27jorge_unmsmI have troubles with debian+tomcat4.1+apache1.3
23:04.26jorge_unmsmconnector for this?
23:05.09jorge_unmsmsorry, I'm not speak english very well (Im from Peru)
23:05.34jorge_unmsmin debian, mod-jk its over
23:05.49jorge_unmsmanother alternative?
23:12.06schlumpfdownload the binaries
23:12.29schlumpfor use webapp
23:12.51jorge_unmsmwebapp with apache 1.3? not only apache2?
23:13.44schlumpflibapache-mod-webapp - IMHO web server connector for Apache
23:13.44schlumpflibapache2-mod-webapp - Apache 2.0 connector for the Tomcat servlet engine
23:13.59schlumpfapt-cache search webapp
23:14.33jorge_unmsmok! thanx
23:54.43*** join/#tomcat shooz (steve@64.119.213.179)
23:55.20shoozhey folks, i'm running tomcat in standalone mode and it seems to sending the wrong mimetype -- .html pages are getting sent as text/plain
23:56.08shoozi didn't touch the config and it looks good

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.