00:58.30 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
01:29.54 | *** join/#tomcat PradHand (~Adium@142.177.91.253) |
02:28.30 | *** join/#tomcat dbgster (~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com) |
02:33.28 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
03:10.16 | *** join/#tomcat Nick_99 (~test@109.86.160.90) |
03:44.31 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
04:21.06 | *** join/#tomcat Rahul (~rahul.a@183.82.99.68) |
04:25.28 | *** join/#tomcat internat (~nf@60.241.102.25) |
04:34.04 | *** join/#tomcat pcavs (~Adium@cpe-24-90-26-236.nyc.res.rr.com) |
04:34.49 | *** part/#tomcat pcavs (~Adium@cpe-24-90-26-236.nyc.res.rr.com) |
04:39.06 | *** join/#tomcat mturk (~mturk@redhat/jboss/mturk) |
04:45.49 | *** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net) |
06:08.45 | *** join/#tomcat lkoranda (lkoranda@nat/redhat/x-gqpcwgsmvxrtokhs) |
06:23.50 | *** join/#tomcat petteyg (~quassel@ns1.foldspace.org) |
06:56.04 | *** join/#tomcat stix (~stix@193.89.191.209) |
06:58.56 | *** join/#tomcat opalka (~opalka@redhat/jboss/opalka) |
07:48.50 | *** join/#tomcat jtheuer_ (~jtheuer@91-64-242-37-dynip.superkabel.de) |
07:57.36 | *** join/#tomcat elprespufferfish (~elprespuf@c-76-121-49-103.hsd1.wa.comcast.net) |
09:23.01 | *** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net) |
09:46.18 | *** join/#tomcat acidjnk22 (~havenone@p4FDFCA67.dip.t-dialin.net) |
09:50.47 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
10:31.03 | *** join/#tomcat sh_sh (~chatzilla@dc-dynip-187.gfz-potsdam.de) |
10:31.24 | sh_sh | how can i pass multiple arguments to a cgi script? |
10:31.56 | sh_sh | all the usual stuff like "script?a=b&c=d" does not seem to work |
10:51.26 | *** join/#tomcat dbgster (~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com) |
11:06.27 | *** join/#tomcat wh1zz0 (~J@41.190.3.191) |
11:16.09 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
11:19.12 | *** join/#tomcat lucio (~lucio@dynamic-adsl-78-13-120-70.clienti.tiscali.it) |
11:35.25 | sh_sh | sry forgot the enviroment |
11:35.45 | sh_sh | tomcat 7.0.26 |
11:35.49 | sh_sh | java 1.6.0 |
11:35.55 | sh_sh | opensuse |
11:36.36 | sh_sh | so the question was |
11:36.38 | sh_sh | how can i pass multiple arguments to a cgi script? |
11:36.41 | sh_sh | all the usual stuff like "script?a=b&c=d" does not seem to work |
11:42.46 | *** join/#tomcat yassine (~yassine@unaffiliated/yassine) |
13:09.56 | *** part/#tomcat schamane (~schamane@barriere.frankfurter-softwarefabrik.de) |
13:16.37 | *** join/#tomcat rbanffy (~rbanffy@187.31.77.7) |
13:33.26 | *** join/#tomcat onats (~onats@unaffiliated/onats) |
13:35.22 | *** join/#tomcat chronosx (~chronosx@49.144.111.68) |
13:45.03 | *** join/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu) |
14:03.57 | *** join/#tomcat xjiujiu (~quassel@218.77.14.195) |
14:05.31 | *** join/#tomcat anildigital_work (u385@gateway/web/irccloud.com/x-ctohmdofdteyshiq) |
14:05.45 | anildigital_work | Guys anything missing in this log4j.properties |
14:05.58 | anildigital_work | it writes only one file webfront_debug.log |
14:06.00 | anildigital_work | halp |
14:13.16 | pucko | anildigital_work: https://duckduckgo.com/?q=log4j.properties+examples |
14:41.05 | jtheuer_ | can I monitor how many threads are currently used and what the current queue length is (acceptCount config) |
14:59.05 | *** join/#tomcat herpyderp (~byron@110.171.business-adsl.cybersmart.co.za) |
15:06.26 | *** join/#tomcat BruceZu (~BruceZu@123.114.182.47) |
15:13.12 | *** join/#tomcat geek_cl (~lletelier@190.151.53.228) |
16:40.05 | *** join/#tomcat jasonb (~jbrittain@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
16:52.10 | *** join/#tomcat anildigital (~anildigit@unaffiliated/anildigital) |
16:52.27 | anildigital | Guys.. a question what does this log4j.properties do? https://gist.github.com/5e9d09ca3f5b5503414b |
17:19.02 | *** join/#tomcat mturk (~mturk@redhat/jboss/mturk) |
18:47.11 | *** join/#tomcat hjb (~hjb@unaffiliated/hjb) |
18:47.37 | hjb | howdy. where should be mod_jk issues be discussed? here or in #apache? |
18:47.42 | hjb | or even somewhere else? |
18:59.07 | hjb | in the meantime, #apache guys told me that mod_jk issues better fit in here |
18:59.28 | hjb | here's the problem: got apache22 with mod_jk connecting to tomcat6 |
18:59.53 | hjb | is real basic stuff, i guess, so there must be some piece i'm missing: |
19:00.40 | hjb | when the backend (tomcat) doesn't react (like i.e. JackRabbit is indexing a workspace and someone tries to access it) |
19:01.21 | hjb | i'm running out of free workers until apache completely stops accepting and responding to connections |
19:02.15 | hjb | which approach do someone normally use to prevent that from happening? |
19:11.31 | *** join/#tomcat dbgster (~dbgster@CPE0013f7b7170c-CM0013f7b71708.cpe.net.cable.rogers.com) |
19:20.22 | karstensrage | decouple jackrabbit from tomcat ? |
19:25.53 | hjb | karstensrage: how that? it's running *inside* tomcat |
19:26.14 | hjb | btw. that was just an example and has happened with other applications running in tomcat |
19:36.26 | karstensrage | decouple things that hang up tomcat to another tomcat? |
19:36.44 | karstensrage | dude if you peg your cpu and threads, what do you expect? |
19:39.19 | hjb | karstensrage: i don't get it - even if there's only one app running in that tomcat, hanging requests to it would still eat up my apache workers, or not? |
19:40.34 | hjb | can i dedicate yjust a *limited* number of apache workers to one ajp backend? |
19:40.52 | karstensrage | im saying move jackrabbit to another machine even |
19:40.53 | hjb | that would enable decoupling the way you suggest |
19:41.12 | hjb | actually it is on another machine |
19:41.34 | karstensrage | another machine than the tomcat that is servicing your ajp |
19:41.45 | hjb | machine A: apache; machine B: tomcat with some app accessing jackrabbit; machine C: jackrabbit reindexing and not responding |
19:42.00 | karstensrage | oh |
19:42.21 | karstensrage | and A machine is sending N requests to B that are all hanging |
19:42.29 | hjb | right |
19:42.36 | karstensrage | since they are ALL asking for some jackrabbit resource |
19:42.40 | hjb | because c is busy and not reacting |
19:42.47 | karstensrage | right |
19:42.48 | hjb | exactly ;) |
19:43.15 | karstensrage | ok what would you like to happen? |
19:43.35 | karstensrage | like/expect? |
19:43.48 | hjb | definitely: don't care about the request (can't be answered as required resource not answering) |
19:44.11 | hjb | probably get rid of them so that other requests that can be served aren't stopped because no workers in apache are left |
19:44.44 | karstensrage | put a lb in front and if no response in 5 seconds, 503? |
19:44.58 | karstensrage | or 504? |
19:45.58 | hjb | using reply_timeout? |
19:46.22 | karstensrage | sure w/e i know haproxy does this |
19:46.27 | karstensrage | not sure exactly how to configure it |
19:46.29 | hjb | that's a problem because of other long running, but valid requests :/ |
19:47.00 | karstensrage | this isnt technically a tomcat issue really it more an architecture issue |
19:48.11 | karstensrage | i think the lb should be able to gate paths so maybe for the jr paths you 504 but the other valid ones you have a much longer timeout? |
19:49.05 | hjb | hmm, that should be able to be built even with plain mod_jk + apache through the use of JK_REPLY_TIMEOUT env var |
19:49.21 | hjb | but needs *a lot of* tuning |
19:50.32 | hjb | i though about a more denamic approach -> something like counting the number of busy workers and killing the longenst running connection without reply to the backend |
19:50.48 | hjb | perhaps weigthed by the backend vhost or worker-group |
19:51.01 | karstensrage | how often does jr peg things? |
19:51.04 | hjb | that would recognize those kind of stucked request onto a specifc resource |
19:51.31 | hjb | karstensrage: that jr thing was just an example that i can easily reproduce |
19:51.44 | hjb | karstensrage: so, as often as i want it to ;) |
19:52.03 | hjb | but other backend application do that from time to time, like one a week or so, for several minutes |
19:54.26 | karstensrage | hmm |
19:59.43 | *** join/#tomcat anildigital (~anildigit@unaffiliated/anildigital) |
19:59.46 | hjb | i think what i'm searching for is some quota machanism that comes to effect in overload situation and disabled/interrupt the causing backend connetion(vhost/worker group |
19:59.59 | hjb | but i'm not if something like that exists already |
20:00.06 | karstensrage | me neither |
20:00.12 | karstensrage | but its an interesting situation |
20:00.16 | hjb | or even if that makes sense or if there are other approaces |
20:00.47 | karstensrage | like only let jr reindex during explicit maintenance modes, but then you valid long running thing wouldnt work either |
20:01.47 | hjb | karstensrage: the jr problem *can* be addressed by implementing a "disable" knob in the requesting application (that's what we're actually implementing right now) |
20:02.24 | hjb | but i'm searching for a more general approach that works regardless of stupid decision in application development ;) |
20:03.00 | hjb | something that make the infrastructure prone to errournes desing in applications |
20:03.53 | hjb | and prevents the whole system beeing drawn down by *one* misbehaving application runnning on some backend tomcat |
20:05.09 | hjb | i was sure something like that must exist, and i just didn't know about it |
20:05.38 | hjb | but i'm not that sure anymore after readig through a lot of stuff |
20:13.52 | hjb | karstensrage: sorry, didn't want to overload you with text input ;) |
20:14.19 | hjb | kind of good abstract example of what's happening on our apache |
20:56.51 | *** part/#tomcat randrewj (~u1@dyn-128-59-52-18.dyn.columbia.edu) |
21:08.26 | *** join/#tomcat dsfsd (~dsfsd@31.185.162.118) |
21:08.28 | dsfsd | Hi |
21:08.46 | dsfsd | After an any build of Tomcat 7 where can I find the startup.sh script? |
21:09.12 | dsfsd | I would have thought it would be in output/build/bin |
21:09.14 | dsfsd | but it isn't |
21:13.38 | *** join/#tomcat macrover (~macrover@ip70-180-159-214.lv.lv.cox.net) |
21:14.16 | dsfsd | I'm running Fedora 16 |
21:14.29 | dsfsd | and used ant for the build |
21:18.39 | jasonb | dsfsd: Well, mine has it in output/build/bin .. Did your build succeed all the way? And, which version of Tomcat 7 are you building? |
21:19.56 | dsfsd | latest from SVN |
21:20.02 | dsfsd | no errors reported from the bulid |
21:20.04 | dsfsd | *build |
21:21.46 | jasonb | Okay. Welp, maybe the latest source has a problem. There are lots of files in bin/ when it finishes, at least in mine. So, yours may not be usable. If you want, put your build.properties files up on a paste server and I can have a look. |
21:25.03 | dsfsd | jasonb, http://pastebin.com/5DfM7AUn |
21:25.08 | dsfsd | there are lots of files in bin |
21:25.22 | dsfsd | but startup.sh, shutdown.sh and catalina.sh are not there |
21:25.29 | dsfsd | I get them when I installed from the binary |
21:25.32 | dsfsd | just not from sauce |
21:25.55 | dsfsd | I had the same problem when building from the 6.x line too |
21:30.39 | jasonb | dsfsd: Your build.properties is basically stock, so I don't think the problem's in there. |
21:31.08 | jasonb | It should build fine on Fedora 16, with whatever stock ant and stock Java they have. |
21:31.17 | dsfsd | jasonb, i Only made one change to the build file as you can see |
21:31.29 | dsfsd | basically |
21:31.33 | dsfsd | I cd to the trunk dir |
21:31.36 | dsfsd | then run any |
21:31.42 | dsfsd | build take 24 seconds to complete |
21:31.51 | dsfsd | and that's tit! |
21:31.53 | dsfsd | **it! |
21:32.02 | dsfsd | no startup.sh in out/build/bin |
21:32.10 | dsfsd | *output |
21:32.17 | jasonb | And what commands are you using to build it? |
21:32.56 | dsfsd | just ant |
21:32.59 | dsfsd | nothing more |
21:33.18 | jasonb | What I recommend: ant download-compile download-dist |
21:33.28 | dsfsd | what will that do? |
21:33.31 | jasonb | then run: ant |
21:34.21 | dsfsd | that failed |
21:34.31 | jasonb | It's been long enough now that I don't remember what all that does. Let me try it.. |
21:34.59 | dsfsd | Can i RM the output directory? |
21:35.23 | jasonb | Sure. |
21:35.28 | dsfsd | k |
21:35.28 | jasonb | You can always rebuild that. |
21:36.18 | jasonb | Hmm, mine doesn't fail. |
21:36.37 | dsfsd | deleted output/ |
21:36.39 | jasonb | Mine built Tomcat 7.0.27 in 11 seconds. :) |
21:36.42 | dsfsd | building again |
21:37.19 | dsfsd | jasonb, http://pastebin.com/E5EZG4xj |
21:37.37 | dsfsd | that's the contents of output/build/bin after build success |
21:38.02 | jasonb | wow. that's messed up. |
21:38.52 | jasonb | Mine looks nothing like that. |
21:48.44 | *** join/#tomcat johnmilton (~bparncutt@su-nat.int.smq.datapipe.net) |
21:50.16 | dsfsd | jasonb, fixed |
21:50.23 | dsfsd | I think my SVN checkout was corrupt |
21:50.24 | dsfsd | rare |
21:54.24 | jasonb | ahh |
21:54.45 | jasonb | Yeah, that shouldn't happen often. |
22:09.45 | dsfsd | jasonb, |
22:09.57 | dsfsd | does tomcat provide eclipse metadata files |
22:10.07 | dsfsd | so I can import this straight into eclipse? |
22:10.23 | dsfsd | I thought they were provided straight out of SVN? |
22:10.28 | dsfsd | in /trunk ? |
22:13.48 | *** part/#tomcat lucio (~lucio@dynamic-adsl-78-13-120-70.clienti.tiscali.it) |
22:17.36 | jasonb | dsfsd: Hmm, there's a page about this.. they're in one of the subdirectories in the source tree. |
22:19.06 | jasonb | I think the deal is: you use the maven files to generate eclipse project files, but honestly I haven't tried that in a while, so I don't know what the recent way to do it is. |
22:20.13 | jasonb | http://tomcat.apache.org/tomcat-6.0-doc/building.html#Building_with_Eclipse |
22:20.33 | dsfsd | thanks |
22:42.02 | dsfsd | I've got 119 errors being reported by eclipse in Tomcat7 |
22:42.29 | dsfsd | Stared off with over 1000 but I added JUnit and ANT to the classpath of the project and now I'm left with 119 errors |
22:42.43 | dsfsd | thnigs such as : DescriptionResourcePathLocationType |
22:42.43 | dsfsd | AntClassLoader cannot be resolved to a typeJspC.java/Tomcat7/java/org/apache/jasperline 1460Java Problem |
22:42.52 | dsfsd | erm.. ignore that one |
22:42.54 | dsfsd | I meant |
22:43.02 | dsfsd | things such as: ExtensibilityElement cannot be resolved to a type |
22:43.09 | dsfsd | Any idea what's causing that? |
22:45.15 | dsfsd | I must be missing some dependencies |
22:45.19 | dsfsd | I don't know which ones though |
22:45.40 | dsfsd | I'll probably write a beginners guide after all of this |
22:52.19 | dsfsd | javax.xml.rpc cannot be resolved to a type |
22:52.22 | dsfsd | any ideas? |
22:52.27 | dsfsd | what jar am I missing? |
23:06.15 | jasonb | Yeah, I'm not sure. I have not been trying to get it building in eclipse recently. I do think it's worth writing up a beginner's guide showing how to make that work, though. |
23:09.44 | dsfsd | I just dropped jee.jar into the build path |
23:09.47 | dsfsd | that fixed a lot |
23:09.55 | dsfsd | there are some errors that are not dependencies |
23:10.06 | dsfsd | like classes defined twice in the webapps samples |
23:10.15 | dsfsd | I don't get why Tomcat is this messy |