00:05.46 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com) |
01:14.25 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
01:32.57 | *** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net) |
01:33.13 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
01:51.43 | *** join/#tomcat apache_APR (i=d8cde040@gateway/web/ajax/mibbit.com/x-eb9253927972b3c3) |
01:52.19 | jasonb | heh. Hey, apache_APR .. you're slow! :) |
01:52.27 | apache_APR | heh |
01:52.42 | apache_APR | boss wants me to setup SSL using APR but not sure my vendor tomcat uses APR |
01:52.50 | apache_APR | JIO is fastest right? |
01:53.01 | apache_APR | I think your book chapter showed that |
01:53.12 | apache_APR | boss said generation of key using |
01:53.15 | jasonb | Well, to my knowledge, nobody has benchmarked HTTPS yet. So, the truth is that for HTTPS, we don't actually know. |
01:53.36 | jasonb | Rumor has it that APR could be faster for HTTPS, but again, without benchmarks, you can't really assume anything. |
01:55.20 | apache_APR | usr/lib/jvm/jre-1.6.0-sun/bin/keytool -genkey -alias tomcat -keyalg RSA -sigalg |
01:55.30 | apache_APR | is problematic according to admin I work with |
01:55.32 | apache_APR | my team lead |
01:55.53 | apache_APR | how do I know if I am using APR or JIO or NIO |
01:55.59 | apache_APR | in my vendor supplied tomcat? |
01:56.07 | pfn | check server.xml |
01:57.44 | jasonb | It's actually rather tricky to tell what you're running by looking at the configs. I suggest reading your catalina.out log file where Tomcat is starting up, and see what it says it's starting when the connector(s) are starting. |
01:58.00 | apache_APR | hm |
01:58.39 | pfn | I thought it should be pretty trivial by looking at the <Connector> element |
02:00.17 | apache_APR | ok waht string should i look for |
02:02.33 | apache_APR | at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834) |
02:02.38 | apache_APR | something liek that? |
02:02.51 | jasonb | If you see org.apache.coyote.http11.Http11Protocol then that's JIO. |
02:03.17 | apache_APR | Feb 10, 2009 4:27:47 PM org.apache.coyote.http11.Http11AprProtocol start |
02:03.25 | apache_APR | Http11Apr |
02:03.27 | apache_APR | APR? |
02:03.55 | jasonb | pfn: It may actually depend on how you have set the LD_LIBRARY_PATH environment variable. You can switch implementations by just changing that alone. |
02:04.10 | apache_APR | <PROTECTED> |
02:04.11 | jasonb | apache_APR: Yes, that's APR. |
02:04.15 | apache_APR | ok |
02:04.34 | apache_APR | I ma having an issue with SSL connecting then timing out |
02:04.38 | apache_APR | might be netowrking |
02:04.39 | pfn | jasonb, well, with LD_LIBRARY_PATH set "wrong" you won't get apr no matter what... |
02:04.46 | apache_APR | but team lead said to use APR style keys |
02:04.49 | apache_APR | and ti fix this stuff |
02:05.07 | pfn | but for both java implementations, it should be straightforward |
02:05.18 | jasonb | pfn: I mainly mean that looking at your config files won't tell you how LD_LIBRARY_PATH is set, or whether it's set at all. |
02:05.53 | apache_APR | whats LD_LIBRARY_PATH got to do with this? |
02:05.56 | pfn | and as for wrongly falling back on java implementations, I blame that on user error :p rather than config error |
02:06.05 | pfn | apache_APR, LD_LIBRARY_PATH is necessary to locate libtcnative-1.so |
02:06.26 | pfn | although, that's unnecessary if it's installed somewhere in the linker search path |
02:06.43 | apache_APR | hm |
02:06.53 | jasonb | Also, one Tomcat instance can use one or many connectors of various implementations. |
02:07.09 | jasonb | pfn: yup. |
02:07.17 | apache_APR | where do I change the connector type? |
02:07.27 | apache_APR | how much faster is jio than apr? |
02:07.28 | pfn | in the <Connector> element |
02:07.35 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
02:07.44 | apache_APR | and if it is not specified? |
02:08.33 | pfn | it falls back to whatever is default |
02:08.58 | pfn | if you use the APR <Listener> then it falls back to APR (and libtcnative/apr is available) otherwise java |
02:09.46 | apache_APR | hmmmm |
02:09.52 | apache_APR | friggin hell |
02:11.49 | apache_APR | well thanks for the |
02:12.05 | apache_APR | help this is good news as I will be able to do the SSL accoring to reccomendations here |
02:12.15 | apache_APR | although I did wish I could do jio |
02:12.23 | apache_APR | I think in prod this stuff will all be SSL |
02:12.28 | pfn | it shouldn't be very difficult to switch back and forth |
02:12.29 | apache_APR | so hopefulyl not as big a los |
02:12.44 | pfn | if you want to use JIO HTTPS, just create put your certificates in a pkcs12 store |
02:12.46 | apache_APR | I tired it the vendor way to the button and it bombed |
02:12.52 | apache_APR | so maybe netowrk or firewall |
02:12.56 | pfn | pkcs12 works with both APR and JIO/NIO connectors |
02:13.12 | apache_APR | although the SSL key generated using the java lib did not seem to be the problem |
02:13.27 | apache_APR | pkcs12? |
02:13.30 | apache_APR | whats that? |
02:13.33 | pfn | google |
02:13.36 | pfn | openssl pkcs12 |
02:13.59 | pfn | home & |
02:20.53 | *** join/#tomcat slango (n=nicholas@unaffiliated/iamethos) |
02:21.12 | slango | where do I put static files when developing a servlet? |
02:22.56 | apache_APR | jasonb does your book conver the nasty bits of SSL? |
02:22.59 | apache_APR | cover |
02:23.06 | apache_APR | apache.org site has some |
02:23.16 | apache_APR | maybe this all works and my network people are bungs |
02:25.24 | jasonb | slango: In the root directory of your webapp.. actually any directory in your webapp other than inside WEB-INF or META-INF. |
02:25.50 | jasonb | apache_APR: Our Tomcat book does indeed cover lots of good detail about HTTPS/SSL. |
02:26.31 | jasonb | apache_APR: But, I did not try to cover HTTPS on APR. pfn is right in that you should use a pkcs12 keystore. |
05:23.31 | *** join/#tomcat ohsix (i=ohsix@bc110245.bendcable.com) |
05:23.32 | *** join/#tomcat r0bby (n=wakawaka@guifications/user/r0bby) [NETSPLIT VICTIM] |
05:23.32 | *** join/#tomcat internat1 (n=nf@123-243-184-161.static.tpgi.com.au) [NETSPLIT VICTIM] |
05:27.18 | *** join/#tomcat shashi_ (n=shashi@122.181.1.158) |
06:27.39 | *** join/#tomcat fallenwrk (n=kvirc@193.33.185.18) |
06:32.18 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
06:48.15 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
07:35.54 | *** join/#tomcat slango (n=nicholas@unaffiliated/iamethos) |
07:37.25 | *** join/#tomcat bindaas (n=chatzill@122.160.42.236) |
08:36.01 | *** join/#tomcat thrope (n=thrope@94-192-230-5.zone6.bethere.co.uk) |
08:45.03 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl) |
09:45.34 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
09:45.52 | *** join/#tomcat thrope (n=thrope@94-192-230-5.zone6.bethere.co.uk) |
10:51.05 | *** join/#tomcat thrope (n=thrope@jm-g26b101.sbs.man.ac.uk) |
11:00.25 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
11:04.52 | *** join/#tomcat grrr (n=joel@78-105-13-3.dsl.cnl.uk.net) |
11:10.01 | *** join/#tomcat grrr (n=joel@78-105-13-3.dsl.cnl.uk.net) |
11:12.06 | grrr | Hi - with T6 all logging is now going to logs/catalina.out, but in order to enable log rotation do I have to set up the appropriate log4j config & properties for a rolling file appender (TC 6.0.18, Java 6, Linux Debian) |
11:14.32 | MHSL | grrr, yes or any other logger that supports log rotation |
11:15.02 | grrr | MHSL: thx |
11:23.30 | *** join/#tomcat MHSL (i=Linux@cm18.eta6.maxonline.com.sg) |
11:33.37 | *** join/#tomcat trifon_ (n=chatzill@78.90.20.97) |
11:53.09 | *** join/#tomcat sircco (n=sircco@89.201.165.140) |
12:34.33 | *** join/#tomcat trifon_ (n=chatzill@78.90.20.97) |
12:54.03 | *** join/#tomcat nixblicker (n=nixblick@dslb-088-072-204-083.pools.arcor-ip.net) |
13:30.32 | *** join/#tomcat acidjnk (i=acid@pD9508220.dip0.t-ipconnect.de) |
13:55.29 | *** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au) |
14:29.21 | *** join/#tomcat swarog (n=core@cronos.aksiom.net) |
14:29.23 | swarog | hello |
14:33.08 | swarog | i have tomcat 5.5.4 , java 1.5.0_14 running on debian etch |
14:33.47 | swarog | imported signed certificate ni keystore, configured connector on port 8443 in server.xml and in log file all seems fine except its throwing out error in browser trying to connect to 8443 |
14:34.05 | swarog | nothing in catalina,out |
14:36.30 | swarog | one more question, its rather question of "best practice" or suggestion. pros/cons lvs load balanced tomcat with ssl or load balanced apache with ssl with mod_jk and tomcat? |
14:37.28 | swarog | btw i got "INFO: Starting Coyote HTTP/1.1 on http-8443" in catalina logs. shouldnt it be HTTPS on 8443? |
14:41.32 | MHSL | swarog, what error did you get? |
14:45.44 | swarog | MHSL: well, from tomcat none, |
14:46.09 | swarog | MHSL: from firefox i got "Cannot communicate securely with peer: no common encryption algorithm(s). |
15:04.52 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
15:26.54 | *** join/#tomcat Mediii (n=mediii@mtd203.teledetection.fr) |
15:30.57 | Mediii | Hi guys, Has anyone ever encountered this error http://rafb.net/p/8ZSXsp48.html ? |
15:31.24 | MHSL | swarog, how did you try to connect? |
15:32.01 | MHSL | Mediii, i havent |
15:35.55 | Mediii | it is a strange exception, I've developed a jsf application and sometimes this warning occurs and never entered in my code |
15:46.18 | *** join/#tomcat swarog (n=core@cronos.aksiom.net) |
15:46.46 | swarog | http://www.ducea.com/2008/10/21/bnx2-missing-from-stock-debian-2624-etchnhalf-kernel/ |
15:46.50 | swarog | oops wrong channel |
16:01.24 | *** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
16:04.30 | *** join/#tomcat tmccrary2 (n=tmccrary@68.78.185.226) |
16:04.45 | tmccrary2 | I'm having an issue with a simple webapp and tomcat 6.0.18 |
16:04.59 | tmccrary2 | If I have a subdirectory in in the root of the web app's dir |
16:05.02 | tmccrary2 | like /cool |
16:05.17 | tmccrary2 | and an html file inside, /cool/test.htm |
16:05.31 | tmccrary2 | I can access the htm file fine, but I get a 404 error when viewing /cool itself |
16:06.45 | MHSL | do you have index.html or index.jsp? |
16:08.10 | tmccrary2 | yeah |
16:08.56 | MHSL | in the root of the web app's dir -> you mean the webapps directory? |
16:09.09 | MHSL | so you have cool directory under tomcat webapps directory, correct? |
16:09.13 | tmccrary2 | nno |
16:09.14 | tmccrary2 | no |
16:09.18 | tmccrary2 | the root of the web app |
16:09.19 | tmccrary2 | i.e. |
16:09.28 | tmccrary2 | /webapps/mywebapp/ |
16:09.35 | tmccrary2 | so |
16:09.39 | tmccrary2 | /webapps/mywebapp/cool |
16:09.48 | MHSL | so you should access your webapp via /mywebapp/cool |
16:09.55 | MHSL | /mywebapp is your context path |
16:21.34 | *** join/#tomcat rrowell (n=richard@c-98-209-255-236.hsd1.mi.comcast.net) |
16:21.45 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
16:22.42 | rrowell | i'm trying to call a servlet via CURL, but though CURL passes the session cookie, the servlet does not show it in the request |
16:22.59 | rrowell | is there some magic that I must do to make tomcat accept the cookie? |
16:29.15 | *** part/#tomcat tmccrary2 (n=tmccrary@68.78.185.226) |
16:30.42 | *** join/#tomcat sircco (n=sircco@89.201.165.140) |
16:35.25 | rrowell | Tomcat 6.0.14, Java6 (build 1.6.0-b105) on Ubuntu, anyone? |
16:36.25 | rrowell | http://pastebin.com/m52f91158 |
16:36.49 | rrowell | that is the trace from CURL, the cookie sure seems to be in the header... Why doesn't tomcat pick it up? |
16:37.06 | *** join/#tomcat relachs (n=relachs@f050231110.adsl.alicedsl.de) |
16:39.23 | *** join/#tomcat dvayanu (n=another@ppp-93-104-47-48.dynamic.mnet-online.de) |
17:10.37 | *** part/#tomcat Mediii (n=mediii@mtd203.teledetection.fr) |
17:24.51 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
17:32.40 | slap_stick | hey, if i have the server.xml and i have maxthreads and such i want to tweak, can i say create a file that is inside the CLASSPATH say /usr/share/tomcat6/conf/ that has say tomcat.port=8080, tomcat.maxthreads=1003 etc and have inside server.xml maxThreads=${tomcat.maxthreads} , will tomcat read in all files inside the classpath to then know the values to those variables inside the server.xml ? |
17:38.42 | *** join/#tomcat aymak (n=aymak@wsip-98-172-6-2.fv.ks.cox.net) |
17:39.25 | grrr | I want to be able to change the log level of a active server, but I have disabled the management console. Is there a way, other than creating a custom service, of poking commands into tomcat, say on some other (non connector) port. (tc 6.0.18, debian, java6) |
17:39.56 | *** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com) |
17:43.54 | aymak | Sometimes tc sends 2 pages to 1 user (another users page and his own) other user gets blank. What's wrong? (6.0.16/1.6.0_07-b06/opensuse11.0-2.6.25.16-0.1) |
17:54.19 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
18:08.34 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
18:31.00 | *** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr) |
18:41.44 | *** part/#tomcat sircco (n=sircco@89.201.165.140) |
18:44.05 | *** join/#tomcat thrope (n=thrope@94-192-230-5.zone6.bethere.co.uk) |
18:53.39 | *** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl) |
19:26.47 | *** join/#tomcat IRCMonkey (n=chatzill@84-75-151-75.dclient.hispeed.ch) |
19:40.41 | *** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net) |
19:52.16 | *** join/#tomcat prgrmr (n=prgrmr@bzq-79-181-145-9.red.bezeqint.net) |
20:14.10 | *** join/#tomcat trifon (n=chatzill@78.90.20.97) |
20:21.53 | *** join/#tomcat markee (n=cars0n@cm194.psi160.maxonline.com.sg) |
20:22.49 | *** join/#tomcat aymak_ (n=aymak@h226.19.88.75.static.ip.windstream.net) |
20:25.32 | rrowell | Well if anyone ever searches these logs.... Tomcat seems to IGNORE the session cookier unless you also set the Referer |
20:38.32 | *** join/#tomcat thrope___ (n=thrope@94-192-230-5.zone6.bethere.co.uk) |
20:42.18 | pfn | tomcat doesn't ignore the session cookie |
20:49.31 | *** join/#tomcat _sho_ (n=eclark28@204.153.78.227) |
20:49.59 | _sho_ | hi! how do i move an apache1 mod_perl $apr->upload to apache2 mod_perl2? |
20:50.50 | *** join/#tomcat nixblicker (n=nixblick@dslb-088-072-100-040.pools.arcor-ip.net) |
20:51.42 | _sho_ | i have a paste... http://rafb.net/p/uWQaSl24.html |
21:38.36 | dvayanu | i'd assume by asking in the right channel |
22:20.09 | *** part/#tomcat evilgeek (i=tmyklebu@DOMINIA.MIT.EDU) |
22:25.35 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
22:49.27 | *** join/#tomcat thrope (n=thrope@94-192-230-5.zone6.bethere.co.uk) |
23:13.58 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |
23:39.40 | *** join/#tomcat yassine (n=yassine@unaffiliated/yassine) |