01:01.13 | *** join/#tomcat pandaren (n=pandaren@58.33.191.213) |
01:07.44 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:13.46 | *** join/#tomcat apaapa (n=doublecl@60.54.90.247) |
01:14.30 | apaapa | can anyone tell me how to make tomcat auto-start during boot in linux platform? |
01:15.03 | lyken | apaapa: there are some init scripts around the place |
01:15.42 | apaapa | lyken: i got the script but i dunno how to make it work...and where to put it |
01:15.58 | lyken | do you know how to install init scripts on linux ? |
01:16.05 | lyken | if you dont you should check out how to do that for your distro |
01:16.14 | apaapa | ok...thank |
01:16.23 | apaapa | another thing is this script ok? http://www.pastebin.ca/887367 |
01:18.01 | lyken | assuming you have an init.d like system then it should work |
01:19.17 | apaapa | i'm using centos5 ...i guess it have one |
01:19.27 | lyken | yer |
01:19.53 | apaapa | but i dunno how to install it...asked in centos channel but no one reply :( |
01:21.51 | lyken | ive never used centOS |
01:22.05 | apaapa | it's ok...thanks for the help |
01:22.35 | lyken | id assume it would be something along the lines of redhat though |
01:23.04 | lyken | i would also suggest you sit and learn the OS you are deploying your applications on :) |
01:24.08 | apaapa | thanks agin |
01:24.10 | *** part/#tomcat apaapa (n=doublecl@60.54.90.247) |
01:55.33 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
03:24.06 | internat85 | *pokes lyken* |
03:39.26 | lyken | argh my freakin eye! |
04:11.41 | jwisher | does tomcat automatically detect and use the locale the user's web browser wants the most? |
04:15.44 | jwisher | why is it that I can fidn hardly any information on locales with tomcat |
05:02.34 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
08:35.05 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
09:04.52 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-2fdc7ce47ec72105) |
09:11.19 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
09:18.42 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
09:59.16 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
10:00.55 | *** join/#tomcat zall (n=z@202.152.25.194) |
10:19.40 | *** join/#tomcat kanai_ (n=kanai@124.32.114.226) |
10:39.27 | *** join/#tomcat acidjnk (i=acid@p5B3F1E86.dip0.t-ipconnect.de) |
10:50.28 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
11:23.03 | *** join/#tomcat internat85 (n=nf@dsl-58-6-125-95.qld.westnet.com.au) |
11:26.36 | *** join/#tomcat tijn (n=tijn@77.222.64.84) |
11:37.25 | tijn | hi ppl! i have a problem with my server load, and i'am not sure where to look for the problem, i use Centos 5.0 , JDK 1.5.0 and Tomcat 6.0.13 |
11:40.20 | tijn | the problem is: the java process showing in top sometimes peaks a little, but the peak does not lower anymore! so the next peak happens ontop of the previous |
11:40.42 | tijn | meaning the load on the machine is now at 200% (cpu) |
12:25.07 | djr | and if you restart tomcat? |
12:26.53 | tijn | after a restart, it goes well for a while |
12:27.01 | tijn | but after a day the same thing happens again |
12:27.52 | tijn | atm it has 515 java processes |
12:29.28 | tijn | could it be buggy programming of the java apps? (open child threads, but dont close them) |
12:32.55 | kjkoster5489 | without more info it could be anything. |
12:33.11 | tijn | Hey dont i know you? :) |
12:33.16 | kjkoster5489 | ? |
12:33.25 | tijn | you wrote a client for zabbix |
12:33.25 | kjkoster5489 | From what? |
12:33.36 | kjkoster5489 | Yes, I did. An agent, te be precise. |
12:33.51 | kjkoster5489 | s/te/to |
12:33.52 | tijn | cool :) |
12:34.03 | kjkoster5489 | :) |
12:34.21 | tijn | funny ;) |
12:34.29 | tijn | you are dutch aren't you? |
12:34.43 | kjkoster5489 | Yes, you are too, from your name. Am I right? |
12:34.48 | tijn | yep :) |
12:35.08 | tijn | where are you from? |
12:35.08 | kjkoster5489 | Small world. |
12:35.13 | kjkoster5489 | Den Haag. |
12:35.14 | tijn | yes indeed |
12:35.21 | tijn | aha, i am fron Hengelo |
12:35.23 | kjkoster5489 | Working in Amsterdam at the moment. |
12:35.29 | kjkoster5489 | That's faaar. ;-) |
12:35.37 | tijn | hehe |
12:35.39 | *** join/#tomcat matt8463 (n=matt@popper.yospace.com) |
12:35.53 | kjkoster5489 | 515 tomcat processes or random Java processes? |
12:36.03 | tijn | random java processes |
12:36.14 | tijn | well, random, it looks forked |
12:36.52 | kjkoster5489 | Sounds like a lot to mee. Are you sure they're actual processes and not threads? |
12:37.00 | kjkoster5489 | s/mee/me |
12:37.21 | tijn | well it shows up in top |
12:37.56 | tijn | to be clear, i am not an tomcat/java person i administer the server |
12:38.11 | kjkoster5489 | I figured that. :) |
12:38.13 | tijn | ;) |
12:38.16 | kjkoster5489 | Do you use Zapcat? |
12:38.20 | tijn | not yet |
12:38.39 | tijn | almost finished the zabbix install on 20 servers |
12:38.53 | tijn | after that we will implement zapcat |
12:38.53 | kjkoster5489 | Cool, let me know how you fare. |
12:38.59 | tijn | will do! |
12:39.38 | kjkoster5489 | So you start only the Tomcat and not the forked processes? |
12:39.45 | tijn | yes |
12:40.24 | tijn | and after a day or so cpu load is 199% |
12:40.51 | tijn | is it possible a process is started from within a script? |
12:40.55 | kjkoster5489 | If you check with ps, do you have 515 processes or just the one Java process. |
12:41.10 | kjkoster5489 | Sure, Java is just an app, like any other. |
12:41.25 | tijn | ps shows 1 java process |
12:41.27 | kjkoster5489 | Plus, in Java I can call System.exec(...). |
12:42.14 | kjkoster5489 | Then it looks like each thread shows up as a separate process in top. This must be Solaris then. |
12:42.34 | tijn | nope, Centos |
12:42.37 | kjkoster5489 | Ok. |
12:43.12 | tijn | i read a mail from a list suggesting threads are started from within the code but not properly closed (parent process will be killed off, but childeren are not) |
12:43.18 | tijn | could this be something? |
12:43.18 | kjkoster5489 | You can make thread dumps from the Java process and trawl through them to find out what it's doing. |
12:43.21 | kjkoster5489 | Hmm. |
12:43.29 | kjkoster5489 | Maybe you can even use jconsole for that. |
12:43.35 | kjkoster5489 | What version of Java are you using? |
12:43.51 | tijn | 1.5.0 |
12:44.56 | kjkoster5489 | Try hooking up jconsole and see what threads are running. |
12:45.14 | tijn | ok, moment please, i will get a dev guy ;) |
12:45.20 | kjkoster5489 | Do that periodically, preferably with a Java dev. |
12:45.26 | kjkoster5489 | Sure |
12:46.20 | *** join/#tomcat xanoxate (n=xanoxate@212.158.218.85) |
12:52.43 | *** join/#tomcat tterm (n=tterm@p57AB6ABA.dip.t-dialin.net) |
12:53.06 | tterm | hello all |
12:53.39 | tterm | Is it possible to use autodeploy wirh an embedded tomcat? |
12:53.55 | tijn | kjkoster5489, ok i caught a dev person :) |
12:54.10 | kjkoster5489 | ool |
12:54.10 | tijn | he will have a deeper look into it with jconsole |
12:54.33 | kjkoster5489 | There is a threads tab, it will list the threads and their backtraces. |
12:54.49 | tijn | ah ok, that should be usefull :) |
12:54.50 | kjkoster5489 | Look for huge numbers of identically-named threads. |
12:55.27 | tijn | ok, and if there are alot, what could be wrong? |
12:55.28 | kjkoster5489 | The dev may be able to tell you what threads are harmless and of which threads he never expected there to be so many of. :) |
12:55.38 | tijn | ah ok |
12:55.54 | tijn | and via the backtrace we can identify where the threads come fron |
12:55.57 | tijn | from* |
12:56.06 | kjkoster5489 | Maybe you have a worker thread that does not finish on time, then a second is started for the same job and so on. |
12:56.11 | kjkoster5489 | Yes. |
12:56.20 | tijn | aah ic |
12:56.23 | tijn | nice! |
12:56.28 | tijn | thnx for your help! |
12:56.31 | kjkoster5489 | Its heavily application dependent what is good and what is bad. |
12:56.37 | kjkoster5489 | I'm curious what you find. |
12:56.42 | tijn | me too :) |
12:56.45 | tijn | i will keep in touch |
12:56.51 | tijn | you are always on this channel? |
12:56.56 | kjkoster5489 | Using zapcat you can plot thead count in Zabbix. |
12:57.06 | kjkoster5489 | So you can see when it expoldes. |
12:57.10 | kjkoster5489 | explodes. |
12:57.17 | kjkoster5489 | Yes, usually. |
12:57.27 | kjkoster5489 | Or on #zabbix |
12:58.43 | tijn | ah ok |
12:59.20 | tijn | well, i am going to hunt down some devs and discuss this info with them ;) thnx! |
13:27.54 | *** join/#tomcat acidjnk (i=acid@p5B3F157F.dip0.t-ipconnect.de) |
13:46.54 | *** join/#tomcat djr (n=djr@sighup.se) |
14:16.11 | tterm | I need just a no or yes for my question. |
14:24.29 | *** join/#tomcat kjkoster5489_ (n=kjkoster@a1190.upc-a.chello.nl) |
14:33.47 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
14:35.28 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:37.24 | *** join/#tomcat kjkoster5489__ (n=kjkoster@a1190.upc-a.chello.nl) |
15:10.48 | *** join/#tomcat Nicke (n=niclasa@h161n2fls31o808.telia.com) |
15:50.23 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
15:53.10 | *** join/#tomcat chillitom (n=tom@87-194-123-85.bethere.co.uk) |
15:55.20 | chillitom | Is there a way to programatically configure a directory as a new context? |
15:56.32 | chillitom | i.e. I'd like to be able to use POJ to specify a directories external to my web app which should be served as static content without modifying server.xml |
15:56.35 | *** join/#tomcat dop3 (n=s3@201.21.209.80) |
15:59.28 | andyt | why not use mod_jk and use apache to manage the static content? |
15:59.44 | *** join/#tomcat deepjoy (n=dj@122.167.245.200) |
15:59.59 | *** part/#tomcat xanoxate (n=xanoxate@212.158.218.85) |
16:05.44 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
16:09.41 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
16:17.51 | chillitom | andyt, would like the static content to be configured per webapp rather than per machine |
16:18.10 | chillitom | and optionally enabled and disabled programatically |
16:29.41 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
16:56.43 | *** join/#tomcat User110 (i=User@cpe-76-180-32-197.buffalo.res.rr.com) |
17:37.06 | *** join/#tomcat ozkan (n=opera@88.248.140.104) |
17:42.43 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:44.10 | *** part/#tomcat ozkan (n=opera@88.248.140.104) |
17:57.52 | *** part/#tomcat matt8463 (n=matt@popper.yospace.com) |
18:03.07 | *** join/#tomcat thesasa (n=sasa@c-76-21-127-0.hsd1.ca.comcast.net) |
18:40.46 | *** join/#tomcat gregor_k (n=a@stgt-4dbe0d8d.pool.einsundeins.de) |
18:48.33 | *** join/#tomcat thesasa (n=sasa@c-67-180-85-187.hsd1.ca.comcast.net) |
19:07.50 | *** join/#tomcat blue_asterisk (n=blue_ast@ppp-69-233-82-84.dsl.sndg02.pacbell.net) |
19:48.52 | *** join/#tomcat AlonzoTG (n=chatzill@dsl092-144-065.wdc2.dsl.speakeasy.net) |
19:49.21 | AlonzoTG | can someone please explain: 66.92.144.65/assay/ ? |
19:59.37 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
20:23.12 | *** join/#tomcat matt7656 (n=matt@host86-141-3-0.range86-141.btcentralplus.com) |
20:31.46 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:31.54 | *** part/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:32.13 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
21:03.45 | *** join/#tomcat acidjnk (i=acid@p5B3F4375.dip0.t-ipconnect.de) |
21:22.25 | andyt | doesn't resolve |
21:28.24 | jasonb | nope |
21:41.01 | *** join/#tomcat matt_w (n=matt@host86-141-3-0.range86-141.btcentralplus.com) |
21:53.22 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
22:16.55 | *** part/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
22:19.36 | *** part/#tomcat remiss (i=roger@remiss.org) |
22:24.24 | *** join/#tomcat InsomniaCity (n=insomnia@raptor.ukc.ac.uk) |
22:25.06 | InsomniaCity | Hi! I'm having a bit of trouble with getResourceAsStream on tomcat 5.5.23 - it returns null for anything I put in. |
22:26.12 | *** join/#tomcat ox1 (i=trallall@gve-gix-bbcs-dynip-158-054.vtx.ch) |
22:27.26 | InsomniaCity | ah, PEBKAC, eclipse wasn't putting the file in the war. |
22:27.31 | *** part/#tomcat InsomniaCity (n=insomnia@raptor.ukc.ac.uk) |
23:08.48 | *** join/#tomcat dogmeat (n=Bob@unaffiliated/dogmeat) |
23:30.30 | *** join/#tomcat jannu (n=jannu@hoas-fe3cdd00-15.dhcp.inet.fi) |
23:33.13 | jannu | I'm using tomcat-5.5.20, sun-java-1.6.00 on Debian etch and trying to deploy a webapp through the mod-jk connector |
23:35.02 | jannu | the problem is that the static resurce I've defined in server.xml doesn't start on server startup. instead I get the "Document base does not exist or is not a readable directory" error |
23:35.39 | jannu | what would be the best way to debug this problem? |