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.58 | kylev | Bz: dude, did you forget the word "public"? |
02:22.27 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
02:56.00 | jkk | z |
04:15.40 | MikeM | did anyone ever determine if "[error] mod_jk child init 1 -2" from mod_jk2 really was an error? |
04:36.08 | MikeM | hmm.... 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.37 | Spline | jasonb: 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.14 | somatose` | 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.18 | ferz | Hi. |
06:47.55 | ferz | I 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.25 | ferz | I'm running Jakarta-Tomcat 4.0.6 on FreeBSD 4.8-stable. |
07:01.44 | ferz | But I'm not a Java developer. |
07:04.09 | ferz | I'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.10 | groton | hello! |
07:27.19 | groton | my 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.08 | kylev | ferz: look for servlet.jar inside the tomcat installation |
09:04.03 | ferz | kylev: 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.39 | kylev | yup, 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.33 | ferz | Another 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.18 | ferz | I need to redirect the url of this application from http to https. |
11:54.16 | ferz | If I use in httpd.conf the Redirect directive, the url is handled from mod_jk2 before the Apache can apply the redirect. |
11:55.20 | ferz | I try to explain better: http://myhost/dspace is intercepted from mod_jk2 and the output is sent to browser in clear. |
11:56.00 | ferz | I need to translate http://myhost/dspace into https://myhost/dspace first and then mod_jk2 can give me the reply. |
11:56.51 | ferz | I thank you in advance for any suggestions. |
12:03.52 | sobel | don't map your servlet in the http 1.1 vhost, only map it in the ssl vhost |
12:05.29 | ferz | sobel: thank you. |
12:06.21 | ferz | sobel: 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.36 | Bz | how can I see if my tomcat server is foobar'd? |
12:08.55 | Bz | for our uni, we have multiple groups (15+) all using the same error, and it's complaing about outof memory and everything |
12:09.10 | Bz | just wanna right a simple quick jsp file to prove tomcat is stuffed! |
12:09.14 | Bz | and not my code |
12:25.38 | sobel | ferz: yeah, though it *might* matter which module is loaded first but i haven't tried that |
12:26.08 | sobel | ferz: all i know is, it worked with apache 2.0.44-47 |
12:27.31 | ferz | sobel: 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.44 | sobel | it 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.56 | Hellaenergy | morning |
14:53.20 | wifs | Hi, 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.56 | Hellaenergy | wifs: Tomcat has its own Auth |
14:54.35 | Hellaenergy | <securit-constraint> |
14:54.36 | wifs | Hellaenergy: 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.53 | wifs | or is there a way to inherit apache's acl? |
14:55.27 | wifs | :D |
14:55.41 | *** join/#tomcat schlumpf (marcel@dsl-213-023-050-188.arcor-ip.net) |
14:55.47 | Hellaenergy | http://www.oreilly.com/catalog/tomcat/chapter/index.html |
14:56.14 | wifs | thnx |
14:56.28 | Hellaenergy | np |
14:58.11 | Computerfreak | wifs |
14:58.37 | Computerfreak | can u send me your server.xml, http.conf and workers.properties ?? |
14:59.08 | Computerfreak | wich tomcat version and apache version do u use? |
15:06.05 | wifs | Computerfreak: sure, dcc or hellabot? |
15:06.16 | Computerfreak | dcc ? |
15:06.17 | Computerfreak | ok |
15:07.06 | wifs | Apache 2.0.47, Tomcat 4.1.18 and jdk14 |
15:07.52 | Computerfreak | ok |
15:08.09 | Computerfreak | ok |
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.37 | ThomasKTN | Hello there, I am looking for a Demo of struts, witch i can use to study how its ment to working ;-) |
16:00.55 | ThomasKTN | Are 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.10 | Elias | ah :) |
18:22.15 | Elias | hello everybody |
18:23.41 | Elias | how did i know that my tomcat works with apache together ? |
18:25.37 | *** join/#tomcat jasonb (~jasonb@67.124.81.122) |
18:28.15 | Hellaenergy | hi jasonb |
18:28.34 | Elias | hm? :( |
18:28.56 | tang^ | elias: you point your browser at it? |
18:29.01 | Hellaenergy | Elias: Are you using mod_jk*? |
18:29.06 | Elias | yes |
18:29.35 | Elias | but i get a little errormessage : |
18:29.35 | Hellaenergy | like tang says |
18:29.37 | Elias | Reloading 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.37 | Elias | . |
18:30.08 | Hellaenergy | You should compile mod_jk yourself ;) |
18:30.09 | tang^ | what version of apache? |
18:30.17 | Elias | 1.3 |
18:30.19 | tang^ | and what Hellaenergy said |
18:30.31 | Elias | hehe :) |
18:30.41 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
18:31.20 | Elias | hm i´m a newbie can u tell me how i compile mod_jk myself ? |
18:31.45 | Hellaenergy | Read the instructions |
18:31.56 | Hellaenergy | We are not going to do it for you |
18:32.18 | wifs | Elias: if you supply me with a root l/p I'll do it for you |
18:32.19 | wifs | ;D |
18:32.28 | Elias | k wait a moment ;) |
18:32.35 | wifs | haha, no I'm just kidding |
18:32.43 | Elias | hehe i know |
18:35.04 | Elias | Hellaenergy: which instructions ? from tomcat ? |
18:35.11 | timcguir | It is my understanding that Tomcat should know what javax/servlet/http/HttpSession |
18:35.11 | timcguir | <PROTECTED> |
18:35.22 | Hellaenergy | ibot: Tomcat connectors |
18:35.22 | | Hellaenergy: KCI error, or a problem with the Keyboard-Chair Interface. |
18:35.28 | Hellaenergy | ibot: tomcat connectors |
18:35.28 | | i don't know, Hellaenergy |
18:35.35 | Hellaenergy | ibot: tomcat-connectors |
18:35.36 | | somebody said tomcat-connectors was at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ |
18:35.41 | Hellaenergy | go there |
18:36.15 | Hellaenergy | sorry hold on |
18:43.42 | Elias | hm back to my first question |
18:43.46 | Elias | how did i know that my tomcat works with apache together ? |
18:45.27 | Elias | ah |
18:45.30 | Elias | yes i did |
18:45.45 | Elias | http://ip:8080 works fine |
18:46.36 | jasonb | Hellaenergy: Hi ther.e |
18:46.41 | jasonb | ugh.. mondays. |
18:46.49 | tang^ | boo for mondays |
18:46.55 | Elias | so, did that mean that my tomcat works together with apache ? |
18:47.21 | tang^ | Elias: 8080 is tomcat by itself |
18:47.59 | Elias | hm k |
18:48.02 | tang^ | if you can get to umm, http://ip:8080/examples and http://ip/examples then tomcat and apache both work |
18:48.29 | wifs | Does anyone know if a httpd + tomcat authentication communication module exists, either for tomcat and/or apache? |
18:48.45 | Elias | with :8080 it works but without i get a 500 internal server error :( |
18:49.23 | jasonb | wifs: You mean like a mod_auth_tomcat? :) So far, no such thing. |
18:49.55 | tang^ | Elias: then mod_jk isn't hooked up properly... it should lg, though |
18:49.55 | jasonb | wifs: Do yourself a favor and use Tomcat without Apache httpd. |
18:50.15 | wifs | jasonb, yeah. I was hoping to lean on apache for authentication because I wanted to use mod_auth_sspi to do ntlm auth |
18:50.38 | jasonb | wifs: Why not use LDAPRealm? |
18:51.17 | tang^ | ntlm is so 1999 |
18:51.20 | wifs | jasonb: i haven't heard of that. Is it an apache mod or something tomcat can use? |
18:51.31 | jasonb | It's part of Tomcat. |
18:52.23 | wifs | I just want people to use their nt credentials to login to a servlet instead of storing a user db or somesuch |
18:52.26 | sobel | tomcat realm auth is the way to go |
18:52.47 | wifs | ntlm sucks, I know, but I'm not in the position to argue with the person who wants to use it :) |
18:52.56 | Elias | hm tang^? |
18:53.35 | tang^ | yeah, single sign on has so many benefits |
18:56.30 | jasonb | wifs: 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.05 | Elias | hm where could be the mistake when http://ip:8080/examples works but http://ip/examples not ? |
18:57.27 | wifs | jasonb, 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.31 | wifs | argh, mondays |
18:59.28 | Elias | :( |
19:08.57 | Elias | nice support chan :( |
19:11.17 | Hellaenergy | Elias: http://mirrors.theonlinerecordstore.com/apache/jakarta/tomcat-4/source/ |
19:12.38 | Elias | what did i need from there ? |
19:12.45 | Elias | the connectors ? |
19:14.23 | Hellaenergy | ya |
19:14.32 | Hellaenergy | connectors are mod_jk etc |
19:15.02 | Elias | ah k, never read that i need the connectors too :( |
19:15.15 | Hellaenergy | You have the connector |
19:15.20 | Hellaenergy | its mod_jk |
19:15.34 | Hellaenergy | That is where you download the src for it |
19:15.51 | Hellaenergy | so that you can compile it yourself and get rid of that error on apache startup ;) |
19:16.14 | Elias | aaaaaaaaaaaaah :D |
19:16.27 | Elias | than i only need to find out how to do that ;) |
19:22.07 | Elias | u will not tell me how i compile it or ? :/ |
19:26.16 | *** join/#tomcat evenson ([9YGjxaR0Y@panix3.panix.com) |
19:32.29 | Hellaenergy | Elias: Download the source and read the README or INSTALL file |
19:32.36 | Hellaenergy | That is what those are for |
19:34.09 | Elias | there is no readme or install in the root dir only keys , license and build.xml |
19:34.55 | Elias | hm maybe it is this readme : This directory contains both the native and java-side code for |
19:34.56 | Elias | ajp connectors. |
19:34.57 | Elias | ? |
20:05.32 | *** join/#tomcat a4akb (akb@as5-211.qualitynet.net) |
20:05.51 | a4akb | Hi Hellaenergy |
20:05.54 | a4akb | Hi jasonb |
20:06.01 | a4akb | how 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.41 | a4akb | night all |
20:27.44 | a4akb | bye |
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.02 | IRCMonkey | I have a trouble with security Managers on Tomcat 4.0 |
20:38.21 | IRCMonkey | Someone 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.14 | awallace | Using 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.06 | sobel | in conf/web.xml or WEB-INF/web.xml? |
21:12.19 | sobel | (try the latter) |
21:12.40 | awallace | web-inf |
21:14.37 | awallace | that'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.38 | sobel | hmm, i don't know.. that approach worked for me using cleartext passwords |
21:15.37 | awallace | sobel: 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.22 | tang^ | DIGEST auth takes the username and password and digests it before sending it to the server, BASIC just sends it cleartext |
21:17.42 | tang^ | perhaps the digest is mucking about with your pre-digested password? |
21:18.29 | sobel | maybe turn on sql statement logging at the database to see what sql is going to the db |
21:21.04 | awallace | To use the DIGEST auth method specified in web.xml, One should specify the algorightm in server.xml? |
21:21.47 | tang^ | awallace: that I don't know. chapter 6 might, though |
21:27.48 | awallace | let me check it out...thanks |
21:30.19 | schlumpf | why doesn't tomcat load my .jars in common/lib? |
21:30.31 | tang^ | because it doesn't like you? |
21:30.37 | sdsad | ya |
21:30.42 | sdsad | he is very very selective |
21:31.06 | sdsad | hard to get loved by him |
21:32.01 | tang^ | schlumpf: you have any in common/endorsed or WEB-INF/lib that match what you're putting in common/lib? |
21:41.21 | schlumpf | no |
21:41.41 | schlumpf | i want to load my postgresql jdbc driver globally for my webapps |
21:42.14 | schlumpf | tang^: any other sollutions? |
21:42.15 | sobel | common/lib is working for me.. |
21:42.19 | sobel | (mysql jar) |
21:42.20 | schlumpf | not for me :( |
21:42.26 | schlumpf | also mysql |
21:42.35 | tang^ | tomcat ver? |
21:42.40 | schlumpf | but it loads common-dbcp and common-pool which i have put in later |
21:42.42 | schlumpf | 4.1.24 |
21:42.43 | sobel | 4.1.27 |
21:42.45 | schlumpf | debian |
21:43.02 | tang^ | apt package or your own install? |
21:43.03 | sobel | ibm jdk 1.4.2 |
21:43.06 | schlumpf | apt |
21:43.17 | sobel | own install, also jakarta's installshield |
21:43.18 | schlumpf | also the drivers, via symlink |
21:43.36 | awallace | why not put the drivers in jre/lib/ext_ |
21:43.59 | tang^ | mmm, symlink may not work |
21:44.01 | sobel | ick |
21:44.22 | sobel | rather have to customize my tomcat install than my jdk |
21:44.34 | sobel | besides, that stuff only needs to be loaded, not added to every classpath |
21:44.36 | awallace | if you put the drivers in jre/lib/ext they will be available to the whole vm |
21:44.39 | schlumpf | tang^: but it works for common... |
21:45.01 | tang^ | schlumpf: it does? hmm I may have to try that sometime |
21:45.20 | schlumpf | tang^: i also put the whole file in common/lib but it made no change |
21:45.44 | tang^ | schlumpf: you restarted after putting the file in? |
21:45.52 | schlumpf | of course :) |
21:46.28 | tang^ | I have heard that the apt packages on debian are broken, but I cannot corrobrate that information |
21:47.15 | schlumpf | i don't think so, i can use them from my other applications and it also works when putting it into WEB-INF |
21:48.08 | tang^ | sounds like something is broken |
21:48.19 | tang^ | other jars in common/lib work fine you say? |
21:48.35 | sobel | i hate sunjdk on linux |
21:48.48 | schlumpf | yes |
21:48.56 | tang^ | I've never used any other |
21:49.44 | schlumpf | me too |
21:49.45 | sobel | i switched because IBM JDK passes my load tests, when sun's segfaults under load |
21:49.59 | sobel | it's pretty lame |
21:50.42 | tang^ | interesting... at what version did you switch? |
21:51.23 | sobel | 1.3 |
21:51.49 | tang^ | have you reevalutated your tests with 1.4.1 or 1.4.2? |
21:52.12 | sobel | IBM JDK 1.4.2 still passes load tests. haven't evaluated sun's. |
21:53.26 | schlumpf | any other suggestions? |
21:54.11 | sobel | don't touch jre/lib/ext |
21:54.28 | schlumpf | there are no errors or notices in the logs... |
21:54.42 | schlumpf | sobel: no, i won't do that |
21:54.42 | sobel | try a fresh copy of tomcat, and the most minimal realm auth configuration and tiny web app |
21:54.55 | schlumpf | :( |
21:54.56 | sobel | turn up the debug level in server.xml |
21:55.15 | schlumpf | i'll try the last one |
21:55.37 | sobel | you should probably do them all ;) |
21:58.55 | *** join/#tomcat groton (userit@ppp-167-101.98-62.inwind.it) |
21:59.02 | groton | hello |
21:59.27 | *** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com) |
22:01.34 | schlumpf | sobel: mmhh maybe |
22:06.48 | schlumpf | sobel: nothing new with debug |
22:59.20 | groton | nute all |
23:02.40 | *** join/#tomcat jorge_unmsm (~jorge_unm@200.62.146.243) |
23:02.51 | jorge_unmsm | hello |
23:03.20 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
23:03.27 | jorge_unmsm | I have troubles with debian+tomcat4.1+apache1.3 |
23:04.26 | jorge_unmsm | connector for this? |
23:05.09 | jorge_unmsm | sorry, I'm not speak english very well (Im from Peru) |
23:05.34 | jorge_unmsm | in debian, mod-jk its over |
23:05.49 | jorge_unmsm | another alternative? |
23:12.06 | schlumpf | download the binaries |
23:12.29 | schlumpf | or use webapp |
23:12.51 | jorge_unmsm | webapp with apache 1.3? not only apache2? |
23:13.44 | schlumpf | libapache-mod-webapp - IMHO web server connector for Apache |
23:13.44 | schlumpf | libapache2-mod-webapp - Apache 2.0 connector for the Tomcat servlet engine |
23:13.59 | schlumpf | apt-cache search webapp |
23:14.33 | jorge_unmsm | ok! thanx |
23:54.43 | *** join/#tomcat shooz (steve@64.119.213.179) |
23:55.20 | shooz | hey 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.08 | shooz | i didn't touch the config and it looks good |