IRC log for #tomcat on 20120417

01:44.25*** join/#tomcat dssenthil (~sentkumar@195.234.136.77)
01:47.36dssenthilguys, is there someone who can help me with DailyRollingFileAppender
01:49.57dssenthilcan DailyRollingFileAppender compress logs if we define in log4j.xml?
01:50.07dssenthilor does it does only automatic log rotation
02:01.31*** join/#tomcat karstensrage (cpt1138@raided.by.a.fed-agent.us)
02:13.04*** join/#tomcat rhonabwy_ (~rhonabwy@178-26-70-244-dynip.superkabel.de)
02:22.41eghmdssenthil: I think you need the log4j extras
02:23.39dssenthilThanks for response. yes I have log4j extras..but my question is that can RollingFileAppender do compression or it just does rolling of log files?
02:23.46eghmdssenthil: I was seeing a question on stack overflow, looks like they are using the Policy and Trigger stuff. http://stackoverflow.com/questions/4485954/no-log4j-automatic-compression-after-app-restart
02:24.00eghmas far as I know just the rolling behaviour no compression
02:24.14dssenthilah ok
02:24.25dssenthilso i need TimeBasedRollingPolicy
02:24.32dssenthilfor compression
02:28.30eghmIn a RollingFileAppender ya
02:44.57*** part/#tomcat dssenthil (~sentkumar@195.234.136.77)
02:50.36ahhughesasking for an expert opinion, what is the cleanest way(s) to load runtime configuration/properties into a webapp on tomcat7
02:59.30jasonbDoes it need to also work on other servlet containers?
02:59.49ahhughesno, for that we can find an alternative.
03:00.21jasonbDo you want to bundle the properties inside the webapp when you deploy the webapp, or do you want the properties to stay on the machine and not get modified even if you deploy/undeploy the webapp?
03:01.16ahhughesvery good question, I will have to think about this.
03:02.05jasonbAnother question: does it ever need to allow hot reloading of properties while the webapp stays running?  Or, would it *always* be okay for the properties files to be loaded only at webapp start time?
03:02.26ahhugheswell, we could live with boucing it.
03:03.20ahhughesargh, I gotta run for 1hr... this will require more thought. Thanks jasonb - good questions!
03:03.26jasonbokay.  You're welcome.  :)
03:53.21ahhughesjasonb: yeah its funny. I want both compile time config and runtime :/
03:53.57jasonbWell, you can make a way to override it after deployment.. but that may have to be a file that is outside the webapp.
03:54.23ahhughesyeah, I know. It would confuse the natives tho :)
03:55.11ahhughesI will probably go for maven -Dproperty=value filter substitution, rebuilding the same war's from a SCM tag...
03:56.19jasonbAnother way is: in server.xml and/or context xml deployment descriptor file you may specify webapp environment settings or context attribute values.. and those could override values that are configured inside your webapp.  Generally people don't use these because they don't know about the mechanism.  Others don't use it because the configuration isn't very pretty nor compact.
04:12.33ahhughesjasonb: so, context.xml and server.xml properties appear are available as environment properties in tomcat?
04:12.38ahhughes-appear
04:14.01jasonbWell, there are special <Environment> entries you may configure, and also context attributes.. two different ways you can set a value in either server.xml or your webapp's context XML descriptor file (conf/Catalina/localhost/yourwebapp.xml).. and have your webapp able to get and use the value (override the webapp's value).
04:14.58jasonbAnother easy way: set -Dproperty.name=value in JAVA_OPTS so that the webapp can just do System.getProperty('property.name').
04:39.27*** join/#tomcat butch (~butch@193.175.119.11)
05:08.49*** join/#tomcat adaro_ (~jkuperus@53518F8B.cm-6-2c.dynamic.ziggo.nl)
06:10.21*** join/#tomcat VanDerSp2r (~jenstmar@86.58.164.5)
06:11.07VanDerSp2rGood morning!
06:25.11ahhugheswell, someone's hit the coffee pot already...
06:27.11VanDerSp2rNah. I'm just a dane.
06:29.28VanDerSp2rHow are we all?
06:50.19*** join/#tomcat hjb_ (~hjb@unaffiliated/hjb)
06:58.28*** join/#tomcat VanDerSp2r (~jenstmar@86.58.164.5)
07:16.28*** join/#tomcat opalka (~opalka@redhat/jboss/opalka)
07:19.39*** join/#tomcat lkoranda (~lkoranda@ip-78-102-114-196.net.upcbroadband.cz)
07:23.28*** join/#tomcat alcir (~alcir@159.213.59.135)
07:24.45*** join/#tomcat adac (~adac@clnet-kmu02-090.ikbnet.co.at)
07:25.09adacDoes someone have experience with farmwardeployer?
07:58.51*** join/#tomcat alcir (~alcir@159.213.59.135)
08:58.22*** join/#tomcat b44 (~b44@HSI-KBW-085-216-061-064.hsi.kabelbw.de)
09:11.15*** join/#tomcat _Qman (~Q@host-238-160.m-link.be)
10:31.16*** join/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu)
10:33.19*** join/#tomcat SJS (~stremler@174.46.232.2)
10:33.20*** join/#tomcat SJS (~stremler@kernel-panic/member/ThunderChicken)
10:39.39*** join/#tomcat oo_miguel (~oo_seven@85.183.32.77)
10:59.04*** join/#tomcat onats (~onats@unaffiliated/onats)
11:33.58*** join/#tomcat acidjnk22 (~havenone@pD9F86F2A.dip.t-dialin.net)
11:57.44*** join/#tomcat sweb (~sweb@37.63.145.50)
11:58.21swebi'm newbie on tomcat and i want to know more about this. i need solr and i think i must use tomcat for enterprise using of solr. is it true?
11:58.37swebi'm intermediate in httpd
12:00.34puckosolr can be deployed in tomcat yes
12:03.25puckosweb: there's a pretty good book about tomcat. explains just about everything you need to know http://amzn.to/HNLtfv
12:07.01*** join/#tomcat geek_cl (~lletelier@190.151.53.228)
12:12.35*** join/#tomcat sweb1 (~sweb@37.63.145.50)
13:57.57*** join/#tomcat rbanffy (~rbanffy@187.31.77.7)
13:59.02*** join/#tomcat wh1zz0 (~J@41-184-4-239.rv.ipnxtelecoms.com)
14:06.35*** join/#tomcat classix (salven@silenceisdefeat.com)
14:18.53*** join/#tomcat classix (salven@silenceisdefeat.com)
14:21.52*** join/#tomcat metalfan_ (~julius_@141.41.93.164)
14:22.01*** part/#tomcat metalfan_ (~julius_@141.41.93.164)
14:41.43*** join/#tomcat xjiujiu (~quassel@218.77.14.195)
14:41.45*** join/#tomcat oo_miguel (~oo_seven@91-65-216-135-dynip.superkabel.de)
14:57.09*** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net)
15:14.59*** join/#tomcat classix (~classix@silenceisdefeat.com)
16:05.18*** join/#tomcat classix (salven@silenceisdefeat.com)
16:36.32*** join/#tomcat jasonb (~jbrittain@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:41.38*** join/#tomcat cjz (~Adium@173-13-190-57-sfba.hfc.comcastbusiness.net)
17:07.47*** join/#tomcat acidjnk22 (~havenone@pD9F86F2A.dip.t-dialin.net)
17:44.45*** join/#tomcat adac (~adac@85-127-182-239.dynamic.xdsl-line.inode.at)
18:49.31*** join/#tomcat cyrus_mc (~cyrus@173-228-48-3.static.sonic.net)
18:49.49cyrus_mcdoes it make sense to have the option secure="true" on a standard HTTP connector?
18:50.20cyrus_mcthe option is valid but....from the docs it returns true for the isSecure call which means the connection was made over HTTPs (when if u put it on a HTTP connector it may not be)
19:07.51*** join/#tomcat classix (~classix@silenceisdefeat.com)
19:14.30*** join/#tomcat classix (~classix@silenceisdefeat.com)
19:17.17LzrdKing_why would my timestamps look like this? "??/??/?? ??:??:??"
19:18.48LzrdKing_?? ??????, ???? ??:??:?? ????????? org.apache.coyote.AbstractProtocol start
19:35.46*** join/#tomcat classix (~classix@silenceisdefeat.com)
19:41.57jasonbLzrdKing_: I've never seen that.  Hmm.
19:42.45jasonbcyrus_mc: Nope.  secure="true" is really meant for HTTPS.
20:08.59eghmLzrdKing_: log4j setup with a pattern layout?
20:24.31*** join/#tomcat classix (salven@silenceisdefeat.com)
20:33.48*** join/#tomcat johnmilton (~brandon@wifi.jcy.datapipe.net)
20:45.04*** join/#tomcat lov (vol@kokshark.techbandits.com)
20:48.25lovHi, I'm using a custom tomcat server (I can't really go into details). For some reason, the .war files that are being placed into the webapp dir aren't being used; Is there any way to troubleshoot this?
20:48.44lovFor reference, I'm placing this: http://www.visitflanders.be/docs/appdev/sample/sample.war into my webapps dir as a sanity test
20:49.10lovwhen I download a bog standard tomcat instance from apache, I can open the sample servlet just fine, but when using my custom server I'm given a 404.
20:49.34lovThis is my first introduction to webservices, so it's possible that I'm missing something really obvious or simple.
20:49.41lov(I'm also killing and restarting the server between tries)
20:52.21lovRegarding version info, I'm on RHEL5, Apache Tomcat/6.0.35, and Java 6
21:04.08*** join/#tomcat yassine (~yassine@unaffiliated/yassine)
21:11.56LzrdKing_eghm: log4j is set up the same as it was yesterday :)
21:31.33*** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net)
21:47.22*** join/#tomcat classix (salven@silenceisdefeat.com)
22:02.55*** join/#tomcat wh1zz0 (~J@41-184-4-239.rv.ipnxtelecoms.com)
22:04.24*** join/#tomcat wh1zz0 (~J@41-184-4-239.rv.ipnxtelecoms.com)
23:37.35*** join/#tomcat classix (~classix@silenceisdefeat.com)
23:43.51*** join/#tomcat onats (~onats@unaffiliated/onats)

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