IRC log for #tomcat on 20080129

00:33.08*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.pa.comcast.net)
00:36.19*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
01:23.24*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.pa.comcast.net)
03:43.48*** join/#tomcat albert_kam (n=albert_k@222.124.39.108)
03:51.23*** join/#tomcat sapere (n=sapere@c-71-206-107-228.hsd1.mi.comcast.net)
03:52.40saperehey guys, this is a jsp question: is there way to execute code when the jsp page finishes loading, other than a custom JSP tag at the end of the page?
03:53.28saperein an event-driven kind of way?
03:53.46lykenserver side?
03:54.02sapereyes, java code
04:00.54lykenno idea sorry
04:02.20saperethanks
04:18.17jasonbWell, a scriptlet at the end could make a method call, but that's not really an event-driven thing (though the method call could create an event).
05:06.15*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-97ae7ea376aab1e2)
05:18.15*** join/#tomcat kanai (n=kanai@124.32.114.226)
05:33.21*** join/#tomcat prgrmr (n=prgrmr@bzq-79-183-105-191.red.bezeqint.net)
05:35.56*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
06:17.51*** join/#tomcat kanai (n=kanai@124.32.114.226)
06:25.54*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
06:32.55*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
06:49.13*** join/#tomcat beaky (n=albert_k@222.124.39.108)
07:20.37*** join/#tomcat Internat3 (n=nf@dsl-58-6-125-95.qld.westnet.com.au)
08:02.35*** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl)
08:56.33*** join/#tomcat andriamihaja (n=hoby@41.207.37.201.simicro.net)
08:57.41andriamihajaslt. quelqun sait comment configurer tomcat pour connecter à mysql a partir de jsp
09:29.04*** join/#tomcat albert_kam (n=albert_k@222.124.39.108)
09:40.47*** join/#tomcat vikumar_ (n=Vimal@nat/redhat-in/x-75efa9df06bf1dfc)
09:41.01*** join/#tomcat albert_kam (n=albert_k@222.124.39.108)
09:47.56*** part/#tomcat Suva (i=suva@unaffiliated/suva)
09:48.07albert_kamtest
09:48.07*** part/#tomcat albert_kam (n=albert_k@222.124.39.108)
09:48.59*** join/#tomcat kanai (n=kanai@124.32.114.226)
09:54.32*** join/#tomcat alk^ttn (n=cc@87-194-94-237.bethere.co.uk)
10:54.37*** join/#tomcat acidjnk (i=acid@p5B3F1FA8.dip0.t-ipconnect.de)
11:04.14*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
11:27.49deebowhere do i set tomcats own log level
11:28.03deebogetting "ERROR: filterStart" thats not too informative, no idea why the context wont load
11:41.31bertrandI've got issue with tomcat and gzip compress, how could I disable that features ?
11:45.56*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
12:17.30*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-c99c9a175e6c2df1)
13:12.21*** join/#tomcat Vanuatoo___ (n=Vanuatoo@213.131.37.174)
13:12.31*** join/#tomcat Vanuatoo (n=Vanuatoo@213.131.37.174)
13:19.58kjkoster5489bertrand: switch it off in server.xml
13:20.05kjkoster5489it's defined on the connector.
13:20.19kjkoster5489deebo: conf/logging.properties
13:28.12bertrandthx
13:32.11*** join/#tomcat rbd (n=rbd@adsl-074-229-183-112.sip.rmo.bellsouth.net)
13:33.16rbdhi guys, I have a tomcat .war file and when it starts/is loaded I'd like to print out it's "build" date and version info. Is it possible to get this build date info (e.g. when the file was assembled)...or is there anything I can do to facilitate this?
13:40.41rbdjava ee 5, omcat 5.0.23, win server 2003, btw
13:51.49*** join/#tomcat Mindtilt (n=rcamati@189.26.2.100.adsl.gvt.net.br)
13:57.30*** join/#tomcat acidjnk (i=acid@p5B3F1574.dip0.t-ipconnect.de)
14:03.36kjkoster5489rdb: you could script the Ant build (if that's what you are using) to put your SVN revision number (if that's what you use) and build date into a servlet that's autopstarted at WAR deployment time.
14:32.17bertrandkjetilkWork, eather when client ask for gzip ?
14:43.06*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:56.16*** join/#tomcat samuli (n=samuli@solia.yok.utu.fi)
14:59.10samuliCould somebody post a snippet from their server.xml for Tomcat 5.5 with functional https (SSL) listener that does not use the default keystore location (~/,keystore) and password ("changeit")...
14:59.39samuliI've been pulling my hair out today when I upgraded from Tomcat 5.0 to 5.5 and nothing seems to work.
15:00.36samuliNo matter what I do, I get "keystore was tampered with" error in logs. I have generated the as shown in Tc 5.5 SSL-howto.
15:01.20*** join/#tomcat acidjnk (i=acid@p5B3F12C7.dip0.t-ipconnect.de)
15:02.06samuliI can open the keystore just fine with "keytool -list -keystore filename". If I stick to default keystore settings connector will work just fine, but that's not what I want.
15:02.42samuli"keytool -list -keystore fn" works just fine
15:03.46samulianyways, I'd really appreciate a functional Tomcat 5.5 SSL connector definition.
15:17.57randrewsamuli: can you narrow the problem to either a path or password issue?
15:21.39samuliI used strace to see what Tomcat was looking for. The keystoreFile entry has to be inside <Connector> (not Factory) for it to work. So it's a password issue now.
15:23.15samuliI couldn't find anything appropriate from the wiki, howto's, mailing list archives nor google
15:24.28randrewsamuli: yeah, here's an example http://www.switch.ch/aai/docs/shibboleth/SWITCH/1.3/idp/install-idp-1.3-debian.html#tomcat-configuration
15:24.50randrewsamuli: it takes the swiss to document procedures   : )
15:28.47samuliCould you verify a couple of things for me... first, do I need to have a truststore if all I do is generate a JKS and a key with "keytool -keyalg RSA..."? And if so, why do the default password and keystore location work without it?
15:31.30samuliSo https/ssl listener works just fine if I leave server.xml alone, create a new Java keystore with password "changeit", have a key called "tomcat" in it (using the same password) and place it in ~/.keystore
15:32.46samuliI _can_ change the key location by defining keystoreFile="something" in <Connector>, but "keystorePass="something"" does not seem to have any effect no matter where I place it.
15:40.44*** join/#tomcat Mindtilt (n=rcamati@189.26.2.100.adsl.gvt.net.br)
15:57.50samuliI just sent email to "users-help" conserning this issue... there's a lot more information there.
15:59.04*** join/#tomcat kab (n=abarrera@148.229.1.11)
16:07.14*** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net)
16:14.06*** join/#tomcat jrsharp (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net)
16:14.26*** join/#tomcat donaldo (n=donny@64.190.42.246)
16:14.55donaldowhere does ant get its war task definition?
16:15.18donaldothere seems to be one built in?
16:16.51andytcatalina5.5-ant.jar
16:16.57*** join/#tomcat napnap (n=greg@darkstar.ipbs.fr)
16:16.59napnaphi all
16:17.28donaldoandyt: ah, so i guess that gets installed to some kind of directory where ant automatically checks jars for ant tasks?
16:17.51*** join/#tomcat emilou_ (n=emilou@savoirfairelinux.net)
16:18.31andytlocally it's, /usr/share/ant/lib/ . not sure what you're running though.  but basically yes.
16:19.44napnapI try to add SSL to tomcat but it doesn't work, i think I will do all necessary things...a person can help me ?   (I made step 1/2 of http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html#Edit%20the%20Tomcat%20Configuration%20File )
16:20.07napnapI avoid step 3 because I haven't see "SSL HTTP/1.1 Connector" entry in $CATALINA_HOME/conf/server.xml
16:20.29napnap(step describe in quick start)
16:21.13napnapafter that, when in forefox I go to https://localhost ...the browser seem to load..load..load...then nothing
16:22.29donaldoandyt: running debian; that seems to be the location for me as well, thanks for the info
16:28.20*** part/#tomcat donaldo (n=donny@64.190.42.246)
16:28.23*** join/#tomcat donaldo (n=donny@64.190.42.246)
16:28.27donaldodamn ^2
16:28.28donaldoerr
16:28.29donaldo^w
16:29.23donaldoanyhow, i'm trying to learn about tomcat manager ant tasks in org.apache.catalina.ant from http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html but i'd like something a little less how-to-ish and more of a technical reference / operational specification. can anyone point me in the right direction?
16:31.41emilou_hi! I am running JDK1.6.0_03, tomcat 5.5.25 and apache with connector ajp13. Is there a known bug on this configuration with URI mapping?
16:34.39napnapup up :p
16:39.35donaldoemilou_: not known to anyone present, at least :P
16:41.42napnapthis is my server.xml SSL Connector : http://pastebin.com/m340cee34
16:44.06samuliI'll try that
16:45.51emilou_ok thanks
16:50.11emilou_when I select an option in the menu bar of the home page, for instance agenda (jsp file in directory agenda/agenda.jsp), the request /agenda/servlet/path-to-servlet is sent and I get a 404 error. But if I change the URL for /servlet/path-to-servlet (without the subdirectory as a prefix), it works fine. Any idea?
16:52.24donaldoemilou_: there are about a thousand ways what you're describing could happen all involving developer error. if you think it's a problem with your configuration, i can only recommend that you deploy to another server and see if it works there
16:59.37andytemilou - my guess is that you have the application deployed as ROOT.  but your links are coded with the servlet name.  
17:00.36andytdonaldo - google ant tomcat.  i remember more technical docs being in ant-optional
17:00.40emilou_It worked well with tomcat5.5 and the same working directory tree. I compared the both configuration and it doesn't seem to be a tomcat configuration problem either.
17:00.46*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
17:00.49donaldoandyt: thanks
17:10.42donaldoit's difficult to disambiguate pre-deployment and post-deployment files and directories specified in the docs about deployment :(
17:13.10randrewsamuli: there may be something wrong with keystorePass handling; this may point you to the relevant src codes: http://issues.apache.org/bugzilla/show_bug.cgi?id=38774
17:18.13donaldodo people usually put their source code directory root in their WEB-INF directory?
17:23.48samulirandrew: yes, I found that also while browsing the bugzilla. Maybe I'll have to get the version that includes that patch and try it. Thanks!
17:24.08*** join/#tomcat Nabban (n=SCramer@hateguild.net)
17:25.49randrewsamuli: I'm suspicious of the patch, but can't check further now.  : )  setting keystorePass seemed not to work in a quick test.
17:28.16Nabbanis there a channel specifically for the tomcat-connector?
17:31.58NabbanI'm using apache 2.0.59 on solaris 10 with tomcat connector version 1.2.26 pointing to a tomcat 5.5.12 system
17:32.56Nabbansince the upgrade from tc 1.2.25 to 1.2.26 (to resolve the load balancing issue), apache no longer forwards to tomcat
17:33.15Nabbanthe debug data shows that the uri maps get updated in the old version, but not in the new
17:33.45Nabbanis there an undocumented feature in the new version I should know about?
17:45.09*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.pa.comcast.net)
17:46.33samulirandrew: so this might actually be a bug in Tomcat? I'm using version 5.5.20...
17:49.39*** join/#tomcat barnum (i=pt@disgruntled.sysadmins.com)
18:21.27*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
18:31.25*** join/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU)
19:22.23*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
19:28.19*** join/#tomcat vinse (n=vinse_@208.253.223.146)
20:31.45*** join/#tomcat another (n=another@ppp-82-135-69-25.dynamic.mnet-online.de)
20:45.50*** part/#tomcat Nabban (n=SCramer@hateguild.net)
21:00.17*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
23:55.30*** join/#tomcat matt17 (n=matt@host86-141-3-0.range86-141.btcentralplus.com)
23:57.05*** part/#tomcat matt17 (n=matt@host86-141-3-0.range86-141.btcentralplus.com)

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