IRC log for #tomcat on 20110419

03:47.13*** join/#tomcat rabbit7 (~rabbit7@ds1789722.dedicated.solnet.ch)
03:58.24*** join/#tomcat rabbit7 (~rabbit7@ds1789722.dedicated.solnet.ch)
05:30.32*** join/#tomcat ExtraSpice (XtraSpice@88.118.35.153)
05:47.12*** join/#tomcat dvayanu (~another@p5793D43A.dip.t-dialin.net)
06:37.56*** join/#tomcat batkinson (~batkinson@41.212.125.7)
07:38.17*** join/#tomcat aef_ (~quassel@neoschlageter.raxys.net)
07:53.32*** join/#tomcat bugz^ (~bugz@mx01.skyalpha.net)
08:02.34*** join/#tomcat colo-work (~colo@86.59.8.78)
08:02.49colo-workhello there, kind people of #tomcat :)
08:03.55*** join/#tomcat alcir (~alcir@159.213.59.135)
08:04.38colo-workwe're looking for a way to take full control over the session ID creation process in tomcat 6.0.30+ - is there a recommended or canonical way to do this documented somewhere?
08:05.26colo-work(we already tried overriding the manager's RandomClass, but that did not seem to have any effect at all - our compatible class didn't seem to get instantiated even once...)
08:23.36*** join/#tomcat pfn (pfnguyen@socal.hanhuy.com)
08:42.56*** join/#tomcat loddafnir1 (~mike@91-64-106-43-dynip.superkabel.de)
08:54.37*** join/#tomcat bcave (~bcave@iburst-41-213-2-106.iburst.co.za)
08:54.44bcavehi
08:56.02colo-workhi there
09:02.32*** join/#tomcat Garth (~Garth@dou59-1-82-238-55-132.fbx.proxad.net)
09:06.04GarthHello
09:06.29GarthI'd have a question if someone can answer
09:07.14Garthon Tomcat 6.0.28, with sun jdk 6 and Debian 6, I get an error : java.lang.NoSuchFieldError: IS_SECURITY_ENABLED
09:08.43GarthMy application is working fine with Tomcat 5.5, jdk 6, Debian 5 but i am totally stuck :-(
09:15.48colo-workGarth, http://mail-archives.apache.org/mod_mbox/tomcat-users/200704.mbox/%3C461B44FA.6090909@mecatena.com%3E seems to be related to your problem. you're sharing one symptom at least :)
09:21.17*** join/#tomcat eugenix (~eugenio@93-46-22-16.ip105.fastwebnet.it)
09:25.45bcavei also have a question, re tomcat and DBCP with mysql
09:26.23bcavetomcat 6.0.29 on centos 5 x86_64, jdk1.6.0 24 (sun)
09:26.52bcavewait, sun jdk 1.6.0 17
09:28.03bcaveim trying to configure a deployed app to be more resilient with database connection resets. i get exceptions when i close the connections on the database side. i found a doc on the tomcat 5.5 site that discusses this, and found this post: https://forum.hibernate.org/viewtopic.php?p=2391043&sid=e6eba4442c75a9d25641ae3391c02a91
09:28.50bcaveso i have added in a validation query and "testonborrow" parameters, but if the connections are discarded because of mysql timeouts, i still get the exception
09:33.28Garth@colo-work : thank you. I'm going to read
09:33.52bcaveim using hibernate, and getting a java.sql.SQLException: Already closed.
11:34.44*** join/#tomcat medthomas (~markt@apache/committer/markt)
11:38.49*** join/#tomcat eugenix (~eugenio@93-46-31-95.ip105.fastwebnet.it)
11:46.45bcavewhats the recommended apache httpd -> tomcat connector? im still using mod_jk currently. mod_proxy?
12:00.34*** join/#tomcat Internat (~nf@123-243-184-161.static.tpgi.com.au)
12:00.34*** join/#tomcat namredips (~namredips@ns1.ransburgbsa.org)
12:00.34*** join/#tomcat Dr_Jazz_ (jazz@stolen.plutonium.dk)
12:27.32*** join/#tomcat batkinson (~batkinson@41.212.125.7)
13:21.23*** join/#tomcat schmolly159 (~schmolly1@rrcs-76-79-50-2.west.biz.rr.com)
13:27.09*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
13:45.39alcirbcave mod_jk
13:48.01bcavealcir: can't any more
13:48.06bcavewe need http passthrough
13:48.19bcavehave switched the http connector from default to the NIO connector
13:49.00alcirso I don't know
13:52.41bcavek. ty alcir. will see if mod_proxy_http works for us
14:14.06*** join/#tomcat Dr_Jazz (jazz@stolen.plutonium.dk)
14:17.25*** join/#tomcat Internat (~nf@123-243-184-161.static.tpgi.com.au)
15:08.42*** join/#tomcat wolfric (~wolfric@pdpc/supporter/student/wolfric)
15:10.04wolfricNot sure if this should be in #java or here. I'm new to tomcat and jsp, i've got an example piece of code that works somewhere else but not on my pc. The url is correct for the mdb file. Here's the code http://pastebin.com/Gw76xvXE here's the error: http://pastebin.com/HT4yMiJd
15:30.56*** join/#tomcat km (~km@little-black-box.vmware.com)
15:45.59*** join/#tomcat Vanuatoo (~Vanuatoo@92.54.192.70)
16:25.59colo-workwe're looking for a way to take full control over the session ID creation process in tomcat 6.0.30+ - is there a recommended or canonical way to do this documented somewhere?
16:26.06colo-work(we already tried overriding the manager's RandomClass, but that did not seem to have any effect at all - our compatible class didn't seem to get instantiated even once...)
16:58.54*** join/#tomcat jasonb (~jasonb@12.201.129.162)
17:06.48*** join/#tomcat silbo (~quassel@193.40.194.207)
17:08.29*** join/#tomcat calavera (~calavera_@enginey-9.border1.sfo002.pnap.net)
17:20.16*** join/#tomcat cjz (~Adium@173-13-190-57-sfba.hfc.comcastbusiness.net)
17:38.47*** join/#tomcat GNU\colossus (colo@84.200.12.121)
17:44.07*** join/#tomcat silbo (~quassel@193.40.244.204)
17:53.27*** join/#tomcat acidjnk (havenone@15-225-103-86.dynamic.dsl.tng.de)
17:59.25*** join/#tomcat riotz (riotz@unaffiliated/riotz)
18:24.16bcavei have a question about tomcat coyote / connectors + apr native libraries
18:25.17*** join/#tomcat spliffy (~spliffy@p5DC02916.dip.t-dialin.net)
18:25.43bcavethe default connectors Http11AprProtocol and AjpAprProtocol have performance improvements when native apr is on library path
18:26.18bcavewould using one of the other http connectors have a performance impact? e.g. Http11NioProtocol ?
19:00.30*** join/#tomcat riotz (riotz@unaffiliated/riotz)
19:37.41*** join/#tomcat cemerick (~la_mer@c-71-192-208-53.hsd1.ma.comcast.net)
19:38.19cemerickIs there any way to enable gzip compression from an application's web.xml descriptor, so as to avoid modifying server.xml?
19:53.25*** join/#tomcat Tokenizer (~Tokenizer@bas1-thornhill40-1279485577.dsl.bell.ca)
19:54.48*** join/#tomcat OldCode101 (d851d0f1@gateway/web/freenode/ip.216.81.208.241)
19:56.30OldCode101How would I go about seperating log4j log files by project (not by package)? (ie. /webapps/app1 > logs/app1/tomcat.log
20:11.42spliffyone solution would be to use one host per project. i'm getting a logfile for each host with the default settings
20:17.38spliffyOldCode101: did you try to add a log4j.xml to each app's classpath and configure a file handler for each?
20:18.23OldCode101nope, but I will try that now
20:20.41*** join/#tomcat schmolly159 (~schmolly1@rrcs-76-79-50-2.west.biz.rr.com)
20:24.39*** join/#tomcat schmolly159_ (~schmolly1@76.79.50.2)
20:44.52*** join/#tomcat Remolus (Remolus@ip02.vserver01.remolus.at)
20:49.23jasonbcemerick: Nope!
20:50.14cemerickjasonb: bummer -- was hoping to avoid creating a custom AMI for elastic beanstalk
20:50.43jasonbbcave: Every connector has different performance characteristics, and which one is optimal for your webapp, your traffic load, and your platform is situational.  But, from my benchmark results in Tomcat: The Definitive Guide, the JIO connector (blocking Java IO connector) is the connector that tends to be best for the average use case.
20:51.22jasonbcemerick: It is possible, using a privileged webapp and your own code to manipulate Tomcat internals, to enable compression without configuring that in server.xml.  It's just very hard to do.
20:58.30*** join/#tomcat phatduckk (~Adium@c-24-23-217-40.hsd1.ca.comcast.net)
21:00.56phatduckkhey guys: running tomcat 7.0.11, java 1.6.0_24 on Ubuntu lucid… i have a problem where i've specified an Environment entry via a context fragement that's loaded just fine (setting solr/home) then later on i see in the logs that its reset to another value
21:01.51phatduckkso i see INFO: Using JNDI solr.home: /usr/local/solr/home in the logs - then a bunch of lines later i see: INFO: Solr home set to 'solr/./' followed by a Can't find resource 'solrconfig.xml' error
21:02.47phatduckkany clue why the entry is overridden?
21:03.11phatduckkor - alternatively is there any way to set an "immutable" Environment entry via the context fragment?
21:04.49cemerickjasonb: eh, I think that leaves me in the same boat as needing to fiddle the server.xml file.  Thanks though :-)
21:05.56jasonbcemerick: You're welcome.
21:15.40*** part/#tomcat phatduckk (~Adium@c-24-23-217-40.hsd1.ca.comcast.net)
21:25.03*** join/#tomcat gryphon143_ (~gryphon14@dyn57-173.yok.fi)
21:41.20*** part/#tomcat OldCode101 (d851d0f1@gateway/web/freenode/ip.216.81.208.241)
22:28.19*** join/#tomcat Hyper-Core (~lol@h174.117.31.71.dynamic.ip.windstream.net)
22:34.23*** part/#tomcat Hyper-Core (~lol@h174.117.31.71.dynamic.ip.windstream.net)
22:52.08*** join/#tomcat cemerick (~la_mer@c-71-192-208-53.hsd1.ma.comcast.net)

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