IRC log for #tomcat on 20081120

00:36.35*** join/#tomcat roadt (n=roadt@61.191.27.34)
00:54.38*** join/#tomcat karstensrage (n=karstens@76.21.8.74)
01:01.08*** join/#tomcat cppexpert (n=cppexper@12.234.96.66)
01:01.43cppexpertHi guys. Is it possible to pass -javaagent parameter to JVM when launching Tomcat ? It fails to start.
01:31.36karstensrageyou can try modifying catalina.sh et. al.
01:31.44karstensragethere is a CATALINA_OPTS that might work
01:32.29karstensragewhy is it failing to start?
01:56.11*** join/#tomcat Hellaenergy (n=Hellaene@c-75-72-181-160.hsd1.mn.comcast.net)
02:32.41*** join/#tomcat golpira (n=golpira@c-68-83-111-239.hsd1.de.comcast.net)
03:07.30*** join/#tomcat gantu (n=gantu@89.237.242.202)
03:42.34*** part/#tomcat jebblue (n=jebblue@cpe-70-113-74-190.austin.res.rr.com)
03:55.29*** join/#tomcat peter_12 (n=peter_12@S010600119506b129.gv.shawcable.net)
04:18.26gantuTomcat 6.0.7 Jdk1.6 Linux
04:19.16gantuEverything is seems to be working, but in catalina.out i have huge amount of log related to mysql
04:19.37*** join/#tomcat acidjnk (n=have@pD950A123.dip0.t-ipconnect.de)
04:26.10gantuhere is my log http://pastebin.com/m3ec8d7cd
04:32.23*** join/#tomcat kanai (n=kanai@124.32.114.226)
04:35.27gantu07
04:35.37gantuany ideas?
04:39.34bender183test that you can reach the mysql box in question
04:39.50bender183also double check your server.xml stanza to make sure its correct
04:40.22bender183for jdbc or whatever you are using to connect to mysql
04:40.35gantui can connect to mysql trough tomcat
04:40.53gantustanza?
04:41.32bender183looks like there is something wrong with java code then
04:41.49bender183how you are specifying the mysql server to connect to?
04:49.14gantuvia data source jndi
04:50.24gantudo you thin if there is any problem in context.xml ?
04:51.50*** join/#tomcat chameloid (n=terminus@unaffiliated/greyskyze)
04:52.47gantucould you hava look at it http://pastebin.com/d6d296e2b
04:53.37gantucould you hava look at it http://pastebin.com/m52f2e370
04:53.49*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:53.59chameloidtomcat5.5, linux 2.6.18, java 1.6 I've added JAVA_OPTS="$JAVA_OPTS -Xms32m -Xmx64m" to catalina.sh but I still am using over 128mb of memory, any idea how to limit tomcat to use no more than 64mb of memory?
05:08.10gantu2002ce3
05:09.01gantuany ideas ?
05:30.06*** join/#tomcat gantu (n=gantu@89.237.242.202)
05:53.49*** join/#tomcat bindaas (n=chatzill@59.96.160.231)
07:20.10*** join/#tomcat jfclere (n=jfclere@57.79.66.141)
07:24.52*** join/#tomcat dvayanu (n=another@ppp-88-217-62-158.dynamic.mnet-online.de)
07:25.21*** join/#tomcat AdelaideCoLdGuy (n=sas@122-49-165-201.ip.adam.com.au)
08:01.18*** join/#tomcat lichao (n=chatzill@218.106.193.180)
08:01.37*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
08:04.56*** join/#tomcat tom17bombadil (n=tom@T3a9f.t.pppool.de)
08:54.58*** join/#tomcat gantu (n=gantu@89.237.242.202)
09:02.03*** join/#tomcat badawi (n=badawi@94.249.11.127)
09:08.39badawihey everybody, i'm trying to setup tomcat to direct http://localhost/ to localhost/eta/something/Applet but i can't figure it out, i keep getting the default webapps/ROOT/index.jsp, i'm on tomcat 5.5.15 windows thank you
09:15.15badawifor info -> my default webapp folder is not ROOT, it's eta and i can't rename it to ROOT
09:22.59*** join/#tomcat CoffeeIV (i=rgr@rrcs-71-42-183-82.sw.biz.rr.com)
09:32.37*** join/#tomcat cppexpert (n=cppexper@12.234.96.66)
10:58.59*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
11:10.18*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
11:48.33*** join/#tomcat gantu (n=gantu@89.237.242.202)
12:10.25*** join/#tomcat SpunkMeYeR-84 (n=asd@202.51.107.21)
12:10.28SpunkMeYeR-84hi all
12:10.36SpunkMeYeR-84i have a problem starting tomcat
12:11.06SpunkMeYeR-84lock file found but no process running for pid 7072
12:11.22SpunkMeYeR-84what is that mean?
12:11.23*** join/#tomcat bindaas (n=chatzill@59.94.103.21)
12:11.52SpunkMeYeR-84i'm using tomcat 5
12:13.08SpunkMeYeR-84java jdk-6u7
12:13.33SpunkMeYeR-84my OS is CentOS 5.2
12:16.15gantuSpunMeYer-84: JAVA_HOME and CATALINA_HOME ?
12:16.53gantuSpunkMeYer-84: JAVA_HOME and CATALINA_HOME check them properly?
12:58.00*** join/#tomcat durre (n=done@83.241.145.220)
12:59.39*** join/#tomcat b3ta (i=r0ny@m1crosoft.com)
12:59.47durreI wanna take down a webapp for maitanence and during this time I want a "under construction page" to be shown. whats the easiest way of accomplish this? I was thinking .htaccess but then remembered I dont use apache
13:01.33*** join/#tomcat jkriesten (n=Squirrel@dragon.renitence.de)
13:03.13b3tahi,i am trying to setup the client authentication in tomcat..and i followed the steps until i created a client1.p12 certificated,which was imported to the browser..and when i try to login using the browser its even not listing the certificate
13:03.17b3taany ideas?
13:04.45jkriestenis it possible to refer the host name or appbase within the corresponding context.xml (like ${appBase} e.g.)?
13:46.39*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
13:54.48*** join/#tomcat acidjnk (i=acid@pD950A123.dip0.t-ipconnect.de)
14:09.13*** join/#tomcat kapipi (n=chatzill@130.226.169.143)
14:11.10kapipiHello, I wonder, is there a way to look whats causing high CPU load in a tomcat virtual machine on netware? I have a virtual machine which is frequently going to very high CPU load and staying there.
14:16.53kapipiNovell Java Virtual Machine 1.42.09 (based on 1.4.2_13), Tomcat 4.1.36-LE-jdk4 and Netware 6.5 SP6.
14:31.33*** join/#tomcat cogitarius (n=cog@218-214-57-229.people.net.au)
14:32.19cogitariusJust wondering if there is an XmlBeans channel somewhere?
14:52.02*** join/#tomcat Numerajos (n=Topito@212.64.176.54)
14:52.06NumerajosGreetings
14:52.50NumerajosI have a question... Can I get a tomcat server allow access to different applications based on IP of the request?
14:53.49NumerajosI mean, I can configure tomcat so if is accesed from 192.168.0.10 can use an application and if it's accesed from 192.168.0.20 a different one?
14:56.13Numerajosanyone alive here?
15:00.23randrewNumerajos: if you insist that different apps be served at the same uri, then you're making things difficult for yourself. If you just need to allow/disallow access check  "Remote Address Filter", http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html.
15:02.18NumerajosThanx randrew, at least that's an start :)
15:02.42Numerajosand fits pretty well to what I'm looking for
15:03.32*** join/#tomcat jebblue (n=jebblue@cpe-70-113-74-190.austin.res.rr.com)
15:04.58*** join/#tomcat cancerbero_sgx (n=chatzill@r200-125-0-73-dialup.adsl.anteldata.net.uy)
15:10.38cancerbero_sgxhi all. i have a small WS app in a tomcat 5.5.27 on a linux box. The webapp is simple, it receives an http req and via dbcp executes sql queries in a oracle 10 db. All works perfectly except for the next:  when I left the system without activity for some period (i.e: a some hours without any requests) tomcat seems to pause it self. at the end of catalina.out appears:
15:10.41cancerbero_sgxNov 20, 2008 12:06:05 AM org.apache.coyote.http11.Http11BaseProtocol pause
15:10.42cancerbero_sgxINFO: Pausing Coyote HTTP/1.1 on http-8082
15:10.44cancerbero_sgxNov 20, 2008 12:06:06 AM org.apache.catalina.core.StandardService stop
15:10.45cancerbero_sgxINFO: Stopping service Catalina
15:10.47cancerbero_sgxNov 20, 2008 12:06:06 AM org.apache.coyote.http11.Http11BaseProtocol destroy
15:10.49cancerbero_sgxINFO: Stopping Coyote HTTP/1.1 on http-8082
15:10.50cancerbero_sgxNov 20, 2008 12:06:06 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
15:10.52cancerbero_sgxINFO: Failed shutdown of Apache Portable Runtime
15:11.13cancerbero_sgxcan somebody tell me why can be doing that?
15:11.22*** join/#tomcat marinalex (n=akhvatov@65.160.67.2)
15:12.45*** part/#tomcat marinalex (n=akhvatov@65.160.67.2)
15:18.46MHSLcancerbero_sgx, the lines you had above means that tomcat was shutting down
15:20.18NumerajosI'm leaving, Randrew I was looking the info about valves and it was really really helpful, thanx a lot for pointing me the right direction. :-D
15:20.37Numerajossee ya and have a good day :)
15:20.51randrewNumerajos: ok, good luck
15:25.55cancerbero_sgxMHSL: thanks i know. is it possible that tomcat shutdown itself? or must be a 3dr actor that is shutting down tomcat?
15:26.43MHSLcancerbero_sgx, dont think so, i've never seen tomcat shut down itself
15:26.51*** join/#tomcat cppexpert (n=cppexper@12.234.96.66)
15:30.33cancerbero_sgxMHSL: thanks.
15:35.16*** join/#tomcat MHSL (i=Linux@cm23.eta6.maxonline.com.sg)
15:56.46*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
15:57.51*** join/#tomcat StyleWarz (n=stylewar@stylewarz.net)
15:58.11*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
15:59.15StyleWarzanyone has a -classpath specified to include all local maven .jars? i'm running tomcat 6.0.18 (gentoo / 1.5.0 osx default)
16:00.33StyleWarzi tried /Users/me/.m2/repository/*/*/*/*.jar but it doesn't find the jars :s
16:01.12dvayanuis this a tomcat question?
16:02.00StyleWarzkinda ;)
16:02.09dvayanuhow so
16:02.40StyleWarzmaybe tomcat has a custom solution for my problem i don't know about
16:03.07dvayanuhow are your local maven jars connected to tomcat?
16:03.13dvayanuor is it about building?
16:04.00StyleWarzbuilding in eclipse works fine, the problem is that when i run my application, tomcat doesn't find the jars i provide to the build (eclipse) in my local maven directory (~/.m2/repository)
16:04.36StyleWarzthe tomcat process has a classpath like this: -classpath /Volumes/Daten/Java/apache-tomcat-6.0.18/bin/bootstrap.jar:/Users/me/.m2/repository/*/*/*/*.jar
16:05.25dvayanuwhy would you manipulate tomcat's classpath?
16:05.47dvayanuwhy wouldn't your webapp just include all needed libs in WEB-INF/lib?
16:05.48StyleWarzto be honest: i don't know
16:06.20dvayanuhow do u build? ant?
16:06.28dvayanuor maven
16:06.31StyleWarzbecause it's a development environment.. when i deploy the package it's okay to pack all the libs in WEB-INF, but in the development "mode" (on my workstation) i want it to be as dynamic as possible
16:06.35StyleWarzmaven
16:06.55dvayanuwell than the problem is obvious you :-)
16:07.27StyleWarzgreat, that'll point me the right way..
16:07.31*** part/#tomcat jfclere (n=jfclere@57.79.66.141)
16:07.43dvayanuwhy don't you build with maven and put it into webapps
16:07.45dvayanu?
16:08.02StyleWarzkeeping my stuff clean?
16:08.58StyleWarzwhy would i want all that maven library stuff in my WEB-INF/lib if i can just add the maven directory to my eclipse path?
16:09.13StyleWarzso tomcat should be able to do the same, right?
16:10.31*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-d8c64301fe608953)
16:10.43dvayanudo you start tomcat from eclipse?
16:11.03*** part/#tomcat kapipi (n=chatzill@130.226.169.143)
16:13.24dvayanubtw, you seem to manipulate the wrong classpath
16:14.07dvayanui assume this applies to 6.x as well
16:14.08dvayanuhttp://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
16:14.55StyleWarzty
16:17.35StyleWarz-classpath /usr/share/maven/boot/classworlds-1.1.jar -Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dmaven.home=/usr/share/maven
16:17.39StyleWarzseems to be the trick
16:19.52StyleWarzalmost ;)
16:20.09*** join/#tomcat bindaas (n=chatzill@59.94.100.73)
16:27.00StyleWarzworking
16:28.48*** join/#tomcat geeps (n=geeps@65.44.128.2.static.brand-up.com)
16:29.33geepsanyone have general errors with starting up tomcat and running into loading ModelMBean issues?
16:32.40*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
16:47.49*** part/#tomcat mfortner (n=mfortner@64-73-244-162.static-ip.telepacific.net)
16:52.29*** join/#tomcat cppexpert (n=cppexper@12.234.96.66)
17:05.53*** join/#tomcat deepjoy1 (n=dj@122.167.119.223)
17:06.34deepjoy1Hi Is there any way to access the mime-mappings specified in the tomcat web.xml programatically
17:10.33*** part/#tomcat badawi (n=badawi@94.249.11.127)
17:11.12*** join/#tomcat aixenv (n=aixenv@cpe-76-172-30-156.socal.res.rr.com)
17:11.25aixenvhey guys im having an issue where tomcat takes like 7mins to start
17:12.02aixenvalso the following error. " javax.management.MBeanException: Cannot load ModelMBean class  nested exception is java.lang.ClassNotFoundException".
17:12.14aixenvany ideas?
17:37.15*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
17:43.03*** join/#tomcat peter_12 (n=peter_12@S010600119506b129.gv.shawcable.net)
17:47.35aixenvany ideas?
17:51.40*** part/#tomcat jkriesten (n=Squirrel@dragon.renitence.de)
17:54.00aixenvanyone at all?
18:01.21*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-8edf6864ef210734)
18:23.10*** join/#tomcat odin_ (n=dlm@host86-128-149-197.range86-128.btcentralplus.com)
18:46.24aixenvgues snot
18:46.44*** join/#tomcat dvayanu (n=another@ppp-88-217-62-158.dynamic.mnet-online.de)
19:21.42*** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl)
19:25.37*** join/#tomcat cancerbero_sgx (n=chatzill@r200-125-0-73-dialup.adsl.anteldata.net.uy)
19:26.33cancerbero_sgxHi all. Where can I find the DTD of conf/context.xml ?? thanks in advance
19:37.35bender183aixenv: sounds like you are missing some libs
19:55.35jasonbcancerbero_sgx: There is no DTD.  It's deliberately designed to not be a rigid format so that new objects could be added to Tomcat and used in config files.
19:56.19jasonbcancerbero_sgx: But, the O'Reilly Tomcat book, the format of these files is described in detail, including the differences between the major versions of Tomcat.
20:21.23dvayanuwhich o'reilly tomcat book?
20:30.25puckodvayanu: http://oreilly.com/catalog/9780596101060/
20:32.03dvayanuyeah, the one i'm still waiting for my personal copy
20:32.23dvayanumy personal SIGNED copy
20:32.28dvayanuknees jasonb
21:46.48*** join/#tomcat peter_12 (n=peter_12@S010600119506b129.gv.shawcable.net)
21:47.11*** join/#tomcat Jarek_ (n=chatzill@nat-tar.aster.pl)
21:57.10*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
22:28.53*** join/#tomcat awd_ (n=awd_@ip72-220-53-237.sd.sd.cox.net)
22:36.10*** part/#tomcat awd_ (n=awd_@ip72-220-53-237.sd.sd.cox.net)
23:12.57*** part/#tomcat StyleWarz (n=stylewar@stylewarz.net)

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