01:44.25 | *** join/#tomcat dssenthil (~sentkumar@195.234.136.77) |
01:47.36 | dssenthil | guys, is there someone who can help me with DailyRollingFileAppender |
01:49.57 | dssenthil | can DailyRollingFileAppender compress logs if we define in log4j.xml? |
01:50.07 | dssenthil | or 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.41 | eghm | dssenthil: I think you need the log4j extras |
02:23.39 | dssenthil | Thanks 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.46 | eghm | dssenthil: 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.00 | eghm | as far as I know just the rolling behaviour no compression |
02:24.14 | dssenthil | ah ok |
02:24.25 | dssenthil | so i need TimeBasedRollingPolicy |
02:24.32 | dssenthil | for compression |
02:28.30 | eghm | In a RollingFileAppender ya |
02:44.57 | *** part/#tomcat dssenthil (~sentkumar@195.234.136.77) |
02:50.36 | ahhughes | asking for an expert opinion, what is the cleanest way(s) to load runtime configuration/properties into a webapp on tomcat7 |
02:59.30 | jasonb | Does it need to also work on other servlet containers? |
02:59.49 | ahhughes | no, for that we can find an alternative. |
03:00.21 | jasonb | Do 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.16 | ahhughes | very good question, I will have to think about this. |
03:02.05 | jasonb | Another 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.26 | ahhughes | well, we could live with boucing it. |
03:03.20 | ahhughes | argh, I gotta run for 1hr... this will require more thought. Thanks jasonb - good questions! |
03:03.26 | jasonb | okay. You're welcome. :) |
03:53.21 | ahhughes | jasonb: yeah its funny. I want both compile time config and runtime :/ |
03:53.57 | jasonb | Well, 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.23 | ahhughes | yeah, I know. It would confuse the natives tho :) |
03:55.11 | ahhughes | I will probably go for maven -Dproperty=value filter substitution, rebuilding the same war's from a SCM tag... |
03:56.19 | jasonb | Another 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.33 | ahhughes | jasonb: so, context.xml and server.xml properties appear are available as environment properties in tomcat? |
04:12.38 | ahhughes | -appear |
04:14.01 | jasonb | Well, 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.58 | jasonb | Another 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.07 | VanDerSp2r | Good morning! |
06:25.11 | ahhughes | well, someone's hit the coffee pot already... |
06:27.11 | VanDerSp2r | Nah. I'm just a dane. |
06:29.28 | VanDerSp2r | How 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.09 | adac | Does 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.21 | sweb | i'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.37 | sweb | i'm intermediate in httpd |
12:00.34 | pucko | solr can be deployed in tomcat yes |
12:03.25 | pucko | sweb: 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.49 | cyrus_mc | does it make sense to have the option secure="true" on a standard HTTP connector? |
18:50.20 | cyrus_mc | the 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.17 | LzrdKing_ | why would my timestamps look like this? "??/??/?? ??:??:??" |
19:18.48 | LzrdKing_ | ?? ??????, ???? ??:??:?? ????????? org.apache.coyote.AbstractProtocol start |
19:35.46 | *** join/#tomcat classix (~classix@silenceisdefeat.com) |
19:41.57 | jasonb | LzrdKing_: I've never seen that. Hmm. |
19:42.45 | jasonb | cyrus_mc: Nope. secure="true" is really meant for HTTPS. |
20:08.59 | eghm | LzrdKing_: 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.25 | lov | Hi, 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.44 | lov | For reference, I'm placing this: http://www.visitflanders.be/docs/appdev/sample/sample.war into my webapps dir as a sanity test |
20:49.10 | lov | when 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.34 | lov | This is my first introduction to webservices, so it's possible that I'm missing something really obvious or simple. |
20:49.41 | lov | (I'm also killing and restarting the server between tries) |
20:52.21 | lov | Regarding 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.56 | LzrdKing_ | 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) |