00:51.05 | *** join/#tomcat pandaren (n=pandaren@58.33.191.213) |
02:06.43 | *** join/#tomcat ^Quiddity (n=steve@c-98-198-199-37.hsd1.tx.comcast.net) |
02:13.25 | *** join/#tomcat apaapa (n=doublecl@60.54.90.247) |
02:14.37 | apaapa | i'm using tomcat6.0.14, jdk1.6.04 and centos 5....my problem is, whenever i shutdown tomcat....java is still up and running....i have to kill java in order to startup tomcat again |
02:16.37 | MHSL | apaapa, how do you start and stop tomcat? |
02:17.05 | apaapa | MHSL, i go to the bin folder and use sh startup.sh and sh shutdown.sh |
02:34.00 | *** join/#tomcat jwisher_ (n=jwisher@87-194-191-78.bethere.co.uk) |
03:56.19 | *** part/#tomcat AlonzoTG (n=chatzill@dsl092-144-065.wdc2.dsl.speakeasy.net) |
04:35.42 | *** join/#tomcat acidjnk (i=acid@p5B3F2F99.dip0.t-ipconnect.de) |
04:51.42 | *** join/#tomcat blue_asterisk (n=blue_ast@cpe-24-94-26-237.san.res.rr.com) |
05:01.28 | *** join/#tomcat pandaren (n=pandaren@58.33.191.213) [NETSPLIT VICTIM] |
05:01.28 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) [NETSPLIT VICTIM] |
05:01.28 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) [NETSPLIT VICTIM] |
05:01.28 | *** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com) [NETSPLIT VICTIM] |
05:03.49 | *** join/#tomcat vanksi (n=vanksi@stekt2.oulu.fi) [NETSPLIT VICTIM] |
05:05.08 | *** join/#tomcat ^Quiddity (n=steve@c-98-198-199-37.hsd1.tx.comcast.net) |
05:20.54 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:48.50 | *** join/#tomcat apaapa (n=doublecl@60.54.90.247) |
05:50.24 | apaapa | i'm using tomcat6.0.14, jdk1.6.04 and centos 5...how come when i shutdown tomcat using shutdown.sh, the java is still up and running....i need to kill java in order to start the service again |
05:58.57 | jasonb | apaapa: How did you install Tomcat? An RPM package, from a tar.gz you got from tomcat.apache.org? Or what? |
06:15.01 | apaapa | from tar.gz from tomcat.apache.org |
06:20.15 | *** join/#tomcat thesasa (n=sasa@c-76-21-127-0.hsd1.ca.comcast.net) |
06:23.22 | jasonb | apaapa: You should instead use an RPM package if you want reliable restarts. You can use my Tomcat 6.0.14 package for that if you would like Tomcat 6. It comes with a well written init script that implements reliable restarts. |
06:24.56 | apaapa | jasonb...oohh...maybe i will try it out...so i can get it from tomcat.apache.org rite? |
06:25.19 | jasonb | Nope. |
06:25.49 | jasonb | http://www.webdroid.org:8080/archives/tomcat-package |
06:26.07 | jasonb | (then scroll down) |
06:26.29 | jasonb | http://www.webdroid.org:8080/repo/viewcvs.cgi/tomcat-package/trunk/README.txt?rev=98&view=markup |
06:27.12 | apaapa | i should get this one rite tomcat-6.0.14-0.noarch.rpm |
06:27.49 | jasonb | Yep. |
06:28.11 | apaapa | so rpm is better than tar version? |
06:30.19 | jasonb | It additionally has an init script that the tar.gz doesn't have.. and that implements what you're asking about doing. |
06:31.29 | apaapa | jasonb...oohh..i think u miss understand...sorry sorry... |
06:32.07 | jasonb | I didn't misunderstand. |
06:32.08 | apaapa | my application requires restarting of tomcat always...not only during booting up.... |
06:32.20 | jasonb | Yes. It's not uncommon. |
06:34.05 | apaapa | how come it works before and now cannot work....is there any limitation of how many application tomcat can handle? |
06:34.21 | *** join/#tomcat MHSL- (i=none@116.88.6.47) |
06:35.54 | jasonb | apaapa: Nope. |
06:38.36 | apaapa | i think i will try the rpm files |
06:42.58 | *** part/#tomcat apaapa (n=doublecl@60.54.90.247) |
07:11.18 | *** join/#tomcat jannu_ (n=jannu@hoas-fe3cdd00-15.dhcp.inet.fi) |
07:33.00 | *** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com) |
07:45.24 | *** join/#tomcat thesasa (n=sasa@c-76-21-127-0.hsd1.ca.comcast.net) |
08:17.38 | *** join/#tomcat eusto (n=eusto@86.105.244.62) |
08:21.57 | eusto | i'm using tomcat 5.5 on windows xp w/ struts. Can you point me to some tutorial/doc describing how to customize 403/404 pages? thansk |
08:22.04 | eusto | *thanks |
08:23.25 | *** join/#tomcat acidjnk (i=acid@p5B3F2F99.dip0.t-ipconnect.de) |
08:24.43 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl) |
08:32.21 | *** join/#tomcat another_ (n=another@ppp-82-135-69-25.dynamic.mnet-online.de) [NETSPLIT VICTIM] |
08:33.53 | *** join/#tomcat crYpe (i=crYpe@noxfire.org) [NETSPLIT VICTIM] |
08:35.11 | *** join/#tomcat andyt (n=andyt@THOMPSON.ADMIN.SCPS.NYU.EDU) [NETSPLIT VICTIM] |
08:40.19 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-26448eca6f920e44) |
08:49.59 | *** join/#tomcat melter (n=Melter@dyn082.morrill-116.ndsu.NoDak.edu) [NETSPLIT VICTIM] |
09:59.29 | *** join/#tomcat matt7676 (n=matt@popper.yospace.com) |
10:39.29 | *** join/#tomcat eusto_ (n=eusto@86.105.244.54) |
10:51.40 | *** join/#tomcat jstephan (n=jstephan@p5B327BA8.dip.t-dialin.net) |
12:21.59 | *** join/#tomcat EuroElessar (n=Elessar@dyn-24-64.e-sky.ru) |
12:34.55 | *** join/#tomcat jannu (n=jannu@hoas-fe3cdd00-15.dhcp.inet.fi) |
12:36.59 | jannu | I have a problem establishing a jdbc connection to mysql-5.0.32 from a webapp running under tomcat-5.5.20, sun-jdk1.6 on Debian etch |
12:38.08 | jannu | I don't get any errors when establishing the connection, but all queries result in zero result rows (I've only tried SELECTs so far) |
12:40.45 | jannu | also neither the connection or the queries show up in the mysql log. any advice on debugging the connection process would be most appreciated |
13:43.10 | *** join/#tomcat CaT_MaNz (n=CaT_MaN@mail.telcomsoft.com) |
13:45.19 | *** join/#tomcat matt7676 (n=matt@popper.yospace.com) |
14:35.27 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:42.03 | *** join/#tomcat kjkoster5489 (n=kjkoster@233-250-103-145.cust.glaslokaal.nl) |
14:53.06 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
14:55.24 | *** join/#tomcat Nicke (n=niclasa@h161n2fls31o808.telia.com) |
15:03.05 | *** join/#tomcat acidjnk (i=acid@p5B3F156B.dip0.t-ipconnect.de) |
15:40.36 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
15:42.48 | *** join/#tomcat evosh (n=jixjax@adsl-152-65-209.asm.bellsouth.net) |
16:01.50 | *** join/#tomcat andyt (n=andyt@THOMPSON.ADMIN.SCPS.NYU.EDU) |
16:11.41 | *** join/#tomcat Vanuatoo (n=Vanuatoo@host-85-114-227-35.adsl.caucasus.net) |
16:16.15 | *** join/#tomcat blue_asterisk (n=blue_ast@ppp-69-233-82-84.dsl.sndg02.pacbell.net) |
17:16.16 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) |
17:17.22 | *** part/#tomcat matt7676 (n=matt@popper.yospace.com) |
17:20.20 | *** join/#tomcat Pegazus (n=fawef@200.69.219.201) |
17:21.46 | *** join/#tomcat martaaa (n=ponzonim@OL91-36.fibertel.com.ar) |
17:21.57 | martaaa | hi |
17:22.11 | martaaa | im having a trouble with tomcat configuration |
17:23.41 | martaaa | i wanna know what is suppouse to be in the file "tomcat v5.5 server at localhost" |
17:23.48 | martaaa | in configuration path |
17:24.24 | martaaa | because I have changed what I had (/Servers/Tomcat v5.5 Server at localhost-config) and I cant restore it |
17:24.37 | martaaa | somebody can help me please? |
17:25.07 | *** join/#tomcat njero (n=njero@196.216.12.167) |
17:27.15 | martaaa | mi tomcat is 5.5, i have windows xp and eclipse 3.3 |
17:28.46 | martaaa | java 6 |
17:29.20 | randrew | martaaa: just create a new one, it'll take you through step-by-step |
17:30.28 | martaaa | install tomcat again ? |
17:31.27 | *** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net) [NETSPLIT VICTIM] |
17:32.19 | martaaa | I have to desinstall it before or not? |
17:35.27 | martaaa | thank you very much... |
17:36.03 | randrew | martaaa: just right click in Servers tab and make a new. you can delete the misconfigured one. |
17:36.51 | martaaa | I have to delete the one is wrong? |
17:37.14 | randrew | martaaa: you don't have to. you can create as many servers as you like. |
17:37.32 | *** join/#tomcat oxi (i=trallall@gve-gix-bbcs-dynip-158-054.vtx.ch) |
17:42.46 | martaaa | thank you very much randrew, I'm begginer with java eclipse tomcat and all that stuff and then I run into stupid troubles that I cant fix by myself =( |
17:44.29 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:45.53 | njero | Hi tomcat, I am trying to install tomcat5 using sudo port install tomcat5 on mac osx. I just ran a port selfupdate and all of the dependencies seemed to collect properly... but now I get a horrific error: http://pastie.caboo.se/147827 |
17:54.15 | jwisher_ | I don't know but you shouldn't need to 'port' anything or rebuild tomcat, just use the prebuilt package from the website, seeing as java is write once run anywhere? |
17:54.50 | randrew | njero: yeah, do you have a reason to want to build from src? |
17:55.14 | njero | randrew: just like using ports |
17:55.39 | njero | I am working on installing from the download now... just wondered if it was possible |
17:55.51 | randrew | njero: sure looks like fun. |
17:56.00 | njero | lol |
17:57.22 | *** join/#tomcat praveen_ (n=praveen@59.92.115.222) |
17:57.28 | randrew | njero: it seems to say something's wrong with the tgz file. you could try manually unzipping, or 'tar -tzvf foo.tgz', to try to confirm whether the file is damaged. |
17:58.00 | njero | randrew: yeah I couldn't quite figure out where things were orwere supposed to be |
17:58.06 | njero | I will take a look now |
17:58.46 | *** join/#tomcat acidjnk (i=acid@p5B3F156B.dip0.t-ipconnect.de) |
18:02.45 | *** join/#tomcat rushtone (n=rushtone@user-24-214-81-121.knology.net) |
18:03.53 | praveen_ | hw do i query tomcat to get JVM Active Thread Count from a java program ? |
18:04.05 | praveen_ | i need JVM Active Thread Count 's value |
18:09.04 | praveen_ | heh can any one help me create a Tomcat monitor plugin |
18:11.55 | rushtone | I have Tomcat 5.5.20, Java 1.5.0_09 on Windows 2003. |
18:12.03 | rushtone | My log4j messages for a particular webapp are no longer showing up in the file identified in my common/classes/log4j.properties file, but they show up in logs/stdout_xxxxxxxx.log instead, along with the message "log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository." I've tried log4j.1.2.15.jar and log4j.1.2.13.jar with the same results. |
18:12.30 | rushtone | Any suggestions? |
18:12.39 | pucko | praveen_: http://www.myloadtest.com/java-thread-dump/ |
18:13.32 | praveen_ | pucko, heh ill ck it thank u |
18:15.31 | pucko | rushtone: sounds like a log4j problem. ask in their mailinglist |
18:15.55 | praveen_ | pucko, itz about java thread dump |
18:16.57 | pucko | yes. dump it and count |
18:19.00 | rushtone | ok |
18:21.25 | praveen_ | wat about gettin it from a log file |
18:29.32 | praveen_ | pucko, u there |
18:30.17 | praveen_ | pucko, i need to monitor all the parameter ..... wat requests the server handle CPU usage every thin |
18:56.35 | *** join/#tomcat ultraspark (n=rconnell@143-195-0-72-tgs.3menatwork.com) |
18:57.10 | ultraspark | Hi, is it possible to have form based auth where the login page is not over ssl? I would like the ssl directive to be handled by apache. |
18:59.50 | pfn | don't specify transport-security in your web.xml |
19:00.13 | pfn | even if you do, ssl should be handled by httpd, regardless, if you have httpd in front of tomcat |
19:01.01 | praveen_ | heh is there any status servlet for Tomcat ? |
19:01.12 | pfn | manager |
19:02.45 | ultraspark | Thanks |
19:03.52 | praveen_ | pfn, manager ? |
19:04.07 | pfn | the manager application |
19:04.35 | praveen_ | hw do i invoke that ? |
19:07.13 | pfn | tomcat/manager/html |
19:11.32 | praveen_ | do u kno where these status informaations will be logged |
19:14.34 | wltjr | jasonb: ping |
19:14.39 | *** join/#tomcat tomasso (n=papito@201.216.202.89) |
19:14.51 | jasonb | wltjr: pong |
19:15.25 | tomasso | ive just installed the tomcat on debian and im getting HTTP 403 |
19:15.29 | wltjr | jasonb: do you run just tomcat at spigit? or apache plus tomcat? |
19:15.36 | tomasso | tomcat5.5 |
19:15.50 | wltjr | jasonb: I am considering losing apache, I am thinking about doing some clustering and replication, and with tomcat + apache, might be a pita |
19:16.00 | jasonb | wltjr: Do you really think I'd put Tomcat behind slow apache httpd? |
19:16.07 | wltjr | jasonb: any any links to stats on tomcat vs apache, static |
19:16.21 | jasonb | wltjr: You're kidding, right? :) |
19:16.40 | wltjr | jasonb: nah, talking to my buddy at spokeo, and he thinks I am crazy to state that tomcat can rival apache in static performance |
19:17.10 | wltjr | jasonb: I know it's in your book, went to order the other day, but forgot my amazon pw, and took a bit to email it to me :) |
19:17.40 | jasonb | wltjr: Hold on, I'm getting the link. |
19:17.56 | jasonb | wltjr: Tell your friend at spokeo that he's wrong.. and that I said so. |
19:18.11 | newpers | wow. i just learned something new as well |
19:18.59 | tomasso | HTTP 403 access denied page |
19:19.24 | *** join/#tomcat gregor_k (n=a@stgt-4dbdb5e6.pool.einsundeins.de) |
19:19.40 | praveen_ | heh do u kno hw to monitor tomcat ? |
19:19.49 | wltjr | jasonb: I pasted your comments, he had some bs snotty replies ;) no worries either way, I was just providing info, not 100% myself, but I believe your stats and comparisons |
19:20.25 | wltjr | jasonb: although not sure about mod_jk, only because of how much development it's gotten recently, very likely the _proxy's still out perform it, but I would hope with it being actively maintained they would improve that |
19:21.50 | jasonb | wltjr: I'm trying to get the link for you, but firefox is acting up at the moment.. hold on. |
19:22.07 | wltjr | jasonb: np, let me order that damn book now ;) |
19:22.30 | ultraspark | pfn: I am not redirected to a login form - using form based auth - as declared in the web.xml security constraint, any idea why this would be ? |
19:23.00 | jasonb | wltjr: http://www.oreilly.com/catalog/9780596101060/chapter/index.html |
19:23.12 | ultraspark | pfn: http://pastebin.com/m410d62eb |
19:23.31 | jasonb | wltjr: Please give mr. spokeo that link, and ask him to have a look at the benchmarks that show Tomcat to be significantly faster than Apache httpd at serving static resources. |
19:24.13 | wltjr | jasonb: this book right? http://tinyurl.com/2fcj7k the illustrated is throwing me off a bit |
19:24.44 | jasonb | wltjr: mod_jk has had lots of code changes.. but they're not focused on improving performance, and I don't believe the performance has changed significantly since I did my benchmarks. |
19:24.56 | wltjr | yeah, I need to see about losing it |
19:25.02 | wltjr | but when I do, I might just lose apache entirely |
19:25.27 | jasonb | wltjr: Yes, that's indeed our book. |
19:26.41 | wltjr | jasonb: ordered :) |
19:26.43 | jasonb | wltjr: In our book, I show how to proxy requests from Tomcat to Apache httpd, and suggest that a more performant installation pattern would be to make Tomcat the first contact web server, and proxy requests to httpd behind it for PHP. |
19:27.00 | wltjr | jasonb: interesting |
19:27.21 | jasonb | wltjr: I'm surprised you didn't already have a copy, seeing as your name is in it. :) |
19:28.21 | wltjr | jasonb: I have started the process several times, but got interrupted ;) |
19:28.29 | wltjr | jasonb: very much appreciate the mention in the book though |
19:28.29 | jasonb | heh. |
19:28.43 | wltjr | just commited 5.5.26 to tree, waiting on release of 6.0.16 : |
19:28.51 | jasonb | wltjr: The community appreciates your work on getting Tomcat 6 integrated with Gentoo. |
19:29.08 | jasonb | wltjr: Yeah, 6.0.16 is now voted stable. |
19:29.39 | jasonb | It's just not on the download page yet. |
19:29.41 | ultraspark | Anyone else know why users would not be directed to the login page |
19:30.49 | wltjr | jasonb: yep waiting for ann email, and will bump and commit after that |
19:31.02 | wltjr | jasonb: still have many things to do with tomcat on gentoo, just need time and to focus on it |
19:31.28 | *** join/#tomcat jimma (n=jimma2@out.austinlogistics.com) |
19:31.30 | jasonb | ultraspark: Your web.xml does not show any auth-constraint, nor any security-role tags. |
19:32.06 | jasonb | wltjr: Getting time just gets harder every year. :( |
19:32.46 | jasonb | ibot: tdg-performance-tuning is http://www.oreilly.com/catalog/9780596101060/chapter/index.html |
19:32.46 | ibot | jasonb: okay |
19:32.55 | jasonb | ibot: tdg-benchmarks is http://www.oreilly.com/catalog/9780596101060/chapter/index.html |
19:32.55 | ibot | jasonb: okay |
19:33.03 | wltjr | jasonb: yes, and I am some what running as a nominee as a trustee for our Gentoo Foundation, which will be a major time killer, I might even have to decline it, although i don't want to, just because of a lack of time, over commitment, still need to have a life one day |
19:33.40 | jasonb | wltjr: Yeah, all this stuff is time consuming. |
19:33.53 | jimma | tomcat 6.0.14, Java 1.5.0.14, OS Windows XP : I'm a Java (mainly swing) developer, and I would like to do some JSP work in my personal time to learn it. I am using Eclipse, and would like to know what the community is using for their JSP / Tomcat plugin. |
19:34.01 | praveen_ | jasonb, heh do u kno hw to monitor tomcat parameters ?? |
19:36.17 | jasonb | jimma: My strong suggestion to you is: do not use any eclipse plugin for Tomcat. Run tomcat separately from eclipse, and if you need to, use the "remote" debugger. |
19:36.30 | jasonb | praveen_: More specifically? |
19:37.54 | *** join/#tomcat jimma (n=jimma2@out.austinlogistics.com) |
19:38.05 | ultraspark | jasonb: I provided my own realm class, are those directives still required? |
19:38.24 | jasonb | ultraspark: I believe so. |
19:39.09 | tomasso | when I try to login using the tomcat tomcat user and password I get Error 403 Access not autorized |
19:39.20 | tomasso | im running on debian |
19:39.26 | praveen_ | jasonb, i need to monitor CPU Memory usage , etc |
19:39.38 | ultraspark | jasonb: I have no idea what I would put for a role |
19:40.08 | ultraspark | jasonb: As I am using a custom realm, roles are not relevant |
19:42.47 | jasonb | ultraspark: It might be the case that roles are optional, but I seem to remember they're not. I could be wrong.. the code has changed a bunch over the years. Since you're developing your own custom realm, though, you're fully capable of checking Tomcat's source to see what the deal is there. |
19:43.07 | andyt | praveen - look at top/prstat |
19:44.20 | praveen_ | andyt, where will that be ? |
19:44.25 | *** join/#tomcat barnum (i=pt@disgruntled.sysadmins.com) |
19:44.51 | jasonb | praveen_: In Linux of course. :) |
19:46.01 | jimma | anyone? |
19:46.41 | jasonb | jimma: I did answer you. |
19:46.59 | praveen_ | andyt, jasonb, but i need to monitor not only the CPU usage but all the parameters tht i get in tomcat manager |
19:47.21 | jasonb | praveen_: jconsole then. |
19:47.27 | andyt | praveen - check out jconsole |
19:47.28 | andyt | ... |
19:47.37 | praveen_ | i need to retrieve these parameter vaules |
19:47.42 | praveen_ | k |
19:48.08 | *** join/#tomcat jimma (n=jimma2@out.austinlogistics.com) |
19:49.14 | jimma | Im sorry jasonb, I must have missed it. Im using an irc client that keeps dropping me becuase the trial period expired (although I just downloaded it about 15 minutes ago for teh first time...). Would you mind telling me again? |
19:49.37 | jasonb | jimma: My strong suggestion to you is: do not use any eclipse plugin for Tomcat. Run tomcat separately from eclipse, and if you need to, use the "remote" debugger. |
19:50.31 | jimma | ok cool. What about a JSP plugin to assist with code complete etc? |
19:51.01 | jimma | or recognition rather |
19:51.43 | jasonb | I must admit that I don't know of a good one of those. |
19:54.57 | praveen_ | jasonb, would u suggest any tutorial for jconsole ? |
19:56.07 | jasonb | praveen_: I've not seen any tutorial for jconsole itself, I don't think. |
19:56.37 | jasonb | praveen_: There are docs that come with the jdk that include info about using jconsole, but that's it I think. |
19:58.07 | praveen_ | jasonb, jconsole is for monitoring application rite |
19:58.41 | jasonb | praveen_: It's the JDK's JMX management and monitoring application. |
19:59.21 | praveen_ | jasonb, is there any to monitor by extracting information from the logging done my tomcat ? |
19:59.46 | praveen_ | jasonb, is there any way to monitor by extracting information from the logging done my tomcat ? |
20:02.42 | *** join/#tomcat hyde (n=hwu@xenon.cs.luc.edu) |
20:03.18 | hyde | I setup a "context path", but how to make sure the folder list view would show up if there is no welcome file in the folder? |
20:04.47 | jasonb | praveen_: You're not asking questions that are specific enough to be answerable. |
20:18.30 | praveen_ | jasonb, i have a to write a plugin which simply acts as a bridge between TOMCAT and an application called Nagios ..... |
20:18.56 | praveen_ | jasonb, the plugin must monitor all the activities of tomcat |
20:20.07 | jasonb | praveen_: It's pretty difficult to do. But, yes, monitoring the JMX mbeans would be the way to go. You could have a look at the ant tasks that come with Tomcat that can read mbean values from a Tomcat JVM set up to allow JMX connections. |
20:20.14 | praveen_ | so the part with Nagios is not a problem but i dont know how to get the status information from Tomcat |
20:20.30 | jasonb | praveen_: Is this plugin going to be commercial or open source? |
20:21.44 | praveen_ | jasonb, open source |
20:22.15 | jasonb | praveen_: Then I think I'd like to help, since we run both Nagios and Tomcat here. :) |
20:22.48 | praveen_ | jasonb, tht wud be great |
20:23.13 | jasonb | praveen_: Read this first: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html |
20:24.35 | praveen_ | jasonb, ok |
20:26.40 | jasonb | praveen_: Using Ant and these ant tasks, one can obtain values of any JMX mbean in a Java VM. Then, once those are queried out, Nagios can have them. Doing this, though, means that you'd need to use Ant, which in turn needs Java. There's potentially another way, though, via HTTP. |
20:28.20 | praveen_ | jasonb, http ? |
20:28.27 | pfn | isn't there supposed to be an snmp-jmx bridge somewhere |
20:29.04 | jasonb | praveen_: There is a way to configure Tomcat to surface JMX information via HTTP, so then your nagios plugin could retrieve the data solely over http. |
20:29.41 | jasonb | pfn: That would be interesting. I've also considered writing a FUSE filesystem for accessing JMX.. like a "jmxfs". :) |
20:29.59 | pfn | heh |
20:30.23 | jasonb | Then we could just mount the tomcat JVM on the fs.. :) |
20:30.40 | praveen_ | jasonb, that would enable remote monitoring rite |
20:31.08 | jasonb | praveen_: "that"? |
20:32.05 | praveen_ | jasonb, surfacing JMX information via HTTP would enable remote monitoring rite |
20:32.19 | pfn | http://docs.sun.com/app/docs/doc/816-7609/6mdjrf88a?a=view |
20:32.20 | pfn | hmm |
20:32.31 | jasonb | praveen_: Yes. |
20:32.56 | pfn | need to actually do some extra work to get snmp compatibility, it sounds like |
20:34.01 | praveen_ | jasonb, chk this out ...http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html |
20:34.45 | jasonb | pfn: JDMK is old and last I checked it wasn't free. |
20:34.52 | pfn | there's openjmdk now |
20:35.05 | pfn | https://opendmk.dev.java.net/ |
20:35.14 | jasonb | ooh |
20:35.38 | jasonb | praveen_: MC4J is like jconsole, only GPL'd and nicer features. |
20:35.42 | pfn | still sounds like a pain in the ass |
20:35.50 | jasonb | pfn: SNMP always is. |
20:35.51 | pfn | mc4j should be a jws app, damnit |
20:37.51 | praveen_ | jasonb, ok |
20:39.33 | praveen_ | jasonb, will tomcat log all the activities ? |
20:40.04 | praveen_ | jasonb, or just the critical one ? |
20:42.45 | jasonb | praveen_: What Tomcat logs depends on how the administrator has configured its logging system. By default, it tries to be rather quiet for performance reasons. |
20:44.20 | praveen_ | jasonb, ohh... i thought extracting information from the logs would be a much easier job |
20:47.02 | jasonb | praveen_: Serious container exception stack traces are written to catalina.out whenever they happen, but webapp exceptions would likely go into other log files, if anywhere. |
20:50.27 | praveen_ | jasonb, ohh k |
20:56.28 | praveen_ | jasonb, may i ask which country ur from ? |
20:57.43 | jasonb | praveen_: USA. I'm in (once again) sunny northern California. |
20:58.34 | *** part/#tomcat cdiggins (n=voric@66.114.114.241) |
20:59.18 | jasonb | praveen_: Also, read this: http://tomcat.apache.org/tomcat-6.0-doc/manager-howto.html#Using%20the%20JMX%20Proxy%20Servlet |
20:59.36 | jasonb | praveen_: That's the one that you'd actually use. |
21:02.26 | praveen_ | jasonb, i gotta know more about JMX first |
21:03.06 | praveen_ | jasonb, i think i got to go now itz 2:30 AM here n i have college tomm |
21:03.14 | jasonb | praveen_: Okay. g'night. |
21:03.31 | praveen_ | jasonb, will u be on this irc tomm ? |
21:04.00 | jasonb | praveen_: Hopefully. |
21:04.09 | jasonb | praveen_: I'm usually on. |
21:04.49 | praveen_ | jasonb, k ... catch u tomm cya |
21:05.56 | jasonb | praveen_: Okay. See ya. |
21:11.19 | *** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
21:21.07 | *** join/#tomcat Zack1403 (n=Zack1403@64.122.14.80) |
22:50.42 | *** join/#tomcat [1]Zack1403 (n=Zack1403@64.122.14.80) |