IRC log for #tomcat on 20090211

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.19jasonbheh.  Hey, apache_APR .. you're slow!  :)
01:52.27apache_APRheh
01:52.42apache_APRboss wants me to setup SSL using APR but not sure my vendor tomcat uses APR
01:52.50apache_APRJIO is fastest right?
01:53.01apache_APRI think your book chapter showed that
01:53.12apache_APRboss said generation of key using
01:53.15jasonbWell, to my knowledge, nobody has benchmarked HTTPS yet.  So, the truth is that for HTTPS, we don't actually know.
01:53.36jasonbRumor has it that APR could be faster for HTTPS, but again, without benchmarks, you can't really assume anything.
01:55.20apache_APRusr/lib/jvm/jre-1.6.0-sun/bin/keytool -genkey -alias tomcat -keyalg RSA -sigalg
01:55.30apache_APRis problematic according to admin I work with
01:55.32apache_APRmy team lead
01:55.53apache_APRhow do I know if I am using APR or JIO or NIO
01:55.59apache_APRin my vendor supplied tomcat?
01:56.07pfncheck server.xml
01:57.44jasonbIt'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.00apache_APRhm
01:58.39pfnI thought it should be pretty trivial by looking at the <Connector> element
02:00.17apache_APRok waht string should i look for
02:02.33apache_APRat org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834)
02:02.38apache_APRsomething liek that?
02:02.51jasonbIf you see org.apache.coyote.http11.Http11Protocol then that's JIO.
02:03.17apache_APRFeb 10, 2009 4:27:47 PM org.apache.coyote.http11.Http11AprProtocol start
02:03.25apache_APRHttp11Apr
02:03.27apache_APRAPR?
02:03.55jasonbpfn: 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.10apache_APR<PROTECTED>
02:04.11jasonbapache_APR: Yes, that's APR.
02:04.15apache_APRok
02:04.34apache_APRI ma having an issue with SSL connecting then timing out
02:04.38apache_APRmight be netowrking
02:04.39pfnjasonb, well, with LD_LIBRARY_PATH set "wrong" you won't get apr no matter what...
02:04.46apache_APRbut team lead said to use APR style keys
02:04.49apache_APRand ti fix this stuff
02:05.07pfnbut for both java implementations, it should be straightforward
02:05.18jasonbpfn: 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.53apache_APRwhats LD_LIBRARY_PATH got to do with this?
02:05.56pfnand as for wrongly falling back on java implementations, I blame that on user error  :p  rather than config error
02:06.05pfnapache_APR, LD_LIBRARY_PATH is necessary to locate libtcnative-1.so
02:06.26pfnalthough, that's unnecessary if it's installed somewhere in the linker search path
02:06.43apache_APRhm
02:06.53jasonbAlso, one Tomcat instance can use one or many connectors of various implementations.
02:07.09jasonbpfn: yup.
02:07.17apache_APRwhere do I change the connector type?
02:07.27apache_APRhow much faster is jio than apr?
02:07.28pfnin the <Connector> element
02:07.35*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
02:07.44apache_APRand if it is not specified?
02:08.33pfnit falls back to whatever is default
02:08.58pfnif you use the APR <Listener> then it falls back to APR (and libtcnative/apr is available) otherwise java
02:09.46apache_APRhmmmm
02:09.52apache_APRfriggin hell
02:11.49apache_APRwell thanks for the
02:12.05apache_APRhelp this is good news as I will be able to do the SSL accoring to reccomendations here
02:12.15apache_APRalthough I did wish I could do jio
02:12.23apache_APRI think in prod this stuff will all be SSL
02:12.28pfnit shouldn't be very difficult to switch back and forth
02:12.29apache_APRso hopefulyl not as big a los
02:12.44pfnif you want to use JIO HTTPS, just create put your certificates in a pkcs12 store
02:12.46apache_APRI tired it the vendor way to the button and it bombed
02:12.52apache_APRso maybe netowrk or firewall
02:12.56pfnpkcs12 works with both APR and JIO/NIO connectors
02:13.12apache_APRalthough the SSL key generated using the java lib did not seem to be the problem
02:13.27apache_APRpkcs12?
02:13.30apache_APRwhats that?
02:13.33pfngoogle
02:13.36pfnopenssl pkcs12
02:13.59pfnhome &
02:20.53*** join/#tomcat slango (n=nicholas@unaffiliated/iamethos)
02:21.12slangowhere do I put static files when developing a servlet?
02:22.56apache_APRjasonb does your book conver the nasty bits of SSL?
02:22.59apache_APRcover
02:23.06apache_APRapache.org site has some
02:23.16apache_APRmaybe this all works and my network people are bungs
02:25.24jasonbslango: In the root directory of your webapp.. actually any directory in your webapp other than inside WEB-INF or META-INF.
02:25.50jasonbapache_APR: Our Tomcat book does indeed cover lots of good detail about HTTPS/SSL.
02:26.31jasonbapache_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.06grrrHi - 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.32MHSLgrrr, yes or any other logger that supports log rotation
11:15.02grrrMHSL: 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.23swaroghello
14:33.08swarogi have tomcat 5.5.4 , java 1.5.0_14 running on debian etch
14:33.47swarogimported 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.05swarognothing in catalina,out
14:36.30swarogone 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.28swarogbtw i got "INFO: Starting Coyote HTTP/1.1 on http-8443" in catalina logs. shouldnt it be HTTPS on 8443?
14:41.32MHSLswarog, what error did you get?
14:45.44swarogMHSL: well, from tomcat none,
14:46.09swarogMHSL: 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.57MediiiHi guys, Has anyone ever encountered this error  ï»¿http://rafb.net/p/8ZSXsp48.html ?
15:31.24MHSLswarog, how did you try to connect?
15:32.01MHSLMediii, i havent
15:35.55Mediiiit 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.46swaroghttp://www.ducea.com/2008/10/21/bnx2-missing-from-stock-debian-2624-etchnhalf-kernel/
15:46.50swarogoops 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.45tmccrary2I'm having an issue with a simple webapp and tomcat 6.0.18
16:04.59tmccrary2If I have a subdirectory in in the root of the web app's dir
16:05.02tmccrary2like /cool
16:05.17tmccrary2and an html file inside, /cool/test.htm
16:05.31tmccrary2I can access the htm file fine, but I get a 404 error when viewing /cool itself
16:06.45MHSLdo you have index.html or index.jsp?
16:08.10tmccrary2yeah
16:08.56MHSLin the root of the web app's dir -> you mean the webapps directory?
16:09.09MHSLso you have cool directory under tomcat webapps directory, correct?
16:09.13tmccrary2nno
16:09.14tmccrary2no
16:09.18tmccrary2the root of the web app
16:09.19tmccrary2i.e.
16:09.28tmccrary2/webapps/mywebapp/
16:09.35tmccrary2so
16:09.39tmccrary2/webapps/mywebapp/cool
16:09.48MHSLso you should access your webapp via /mywebapp/cool
16:09.55MHSL/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.42rrowelli'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.59rrowellis 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.25rrowellTomcat 6.0.14,  Java6 (build 1.6.0-b105) on Ubuntu, anyone?
16:36.25rrowellhttp://pastebin.com/m52f91158
16:36.49rrowellthat 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.40slap_stickhey, 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.25grrrI 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.54aymakSometimes 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.32rrowellWell 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.18pfntomcat 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.36dvayanui'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)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.