IRC log for #tomcat on 20090219

00:08.00*** join/#tomcat rtk126 (n=chatzill@c-98-221-250-160.hsd1.nj.comcast.net)
00:08.38rtk126Hello, I'm trying to figure out of there might be a problem in the tomcat configuration... I have a .swf file, it is loading correctly on http, but not on https?
00:56.18pfn<PROTECTED>
01:09.49*** join/#tomcat piaz_ (n=chatzill@149.252.72-86.rev.gaoland.net)
01:11.33*** join/#tomcat whizzter (n=whizzter@1-1-8-18a.ulr.sth.bostream.se)
01:13.50*** join/#tomcat matadon (n=matadon@173.8.157.70)
01:15.52jasonbpfn: Heh!  :)
01:18.19*** join/#tomcat kanai (n=kanai@124.32.114.226)
01:24.23*** join/#tomcat karstensrage (n=karstens@c-76-103-32-139.hsd1.ca.comcast.net)
01:46.50rtk126Anyone knows how to setup a valve?
01:57.30rtk126Anyone can help me please?
02:01.23*** join/#tomcat keith80403 (n=keith804@71-208-228-107.hlrn.qwest.net)
02:09.15karstensrageits fairly well documented at tomcat.apache.org
02:30.44*** join/#tomcat ibot (i=ibot@rikers.org)
02:30.44*** topic/#tomcat is Topic for #tomcat is: Stable versions: 6.0.18, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers...
02:52.35*** join/#tomcat rtk126 (n=chatzill@c-98-221-250-160.hsd1.nj.comcast.net)
03:59.19*** join/#tomcat NEOphyt (n=never@74-222-216-197.dyn.everestkc.net)
05:09.12NEOphytVer: tomcat 6.0.7..what is the appropriate relative position of a context.xml file to a JSP page... for example, I dropped a jsp page in the tomcat-examples/examples/jsp2/jsp/simpletag.. where should I set up the META-INF that would contain the context.xml?
05:09.46NEOphytThis pertains to making the JNDI datasource accessable...
05:11.39*** join/#tomcat ecret (n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com)
05:12.43NEOphytsoryr, that's tomcat 6.0.18
05:16.56karstensragemine is under WEB-INF/classes and that seems to work
05:17.26karstensragei also think that having it at the root of the webapp would work
05:20.59NEOphytok, thanks... I am going to try that... tommorow, my brain shut donw.. I am thinking that an unseen context.xml is the source of my java.sql.SQLException: No suitable driver found for jdbc/WroxTC6
05:21.12NEOphytas it doesn't find the resource...
05:25.23*** join/#tomcat npm1 (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com)
05:29.14pfncontext.xml goes in META-INF
05:30.10karstensrageyes thats what i mean i hope he got that
05:30.24karstensragemy META-INF is under WEB-INF/classes and that seems to work
05:30.42karstensrageI think it would also work with META-INF at the same level as WEB-INF
05:39.45pfnhuh
05:39.48pfnthat wouldn't work right
05:39.55pfnunless tomcat does something funky
05:40.01pfnWEB-INF/classes/META-INF ?
05:40.11pfnby "spec", META-INF goes in the root of a jar
05:46.30*** join/#tomcat shashi (n=shashi@122.181.1.158)
05:53.33*** join/#tomcat Gopaul (n=chatzill@61.95.156.130)
06:18.53*** join/#tomcat s833 (n=unknown@cpe-72-177-82-27.austin.res.rr.com)
06:19.19s833hello all does anyone know IRC channel for ant #ant and ##ant lead to dummy channels?
06:21.24*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
06:26.52*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:29.09*** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au)
06:33.19*** join/#tomcat ecret (n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com)
06:39.47*** join/#tomcat _theGAME_ (n=dsadsa@124.217.119.36)
06:57.33*** join/#tomcat reisi (i=koivunej@tutor.cc.tut.fi)
07:33.38*** join/#tomcat kanai (n=kanai@124.32.114.226)
07:47.08*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
08:03.31*** join/#tomcat dvayanu (n=another@ppp-93-104-58-158.dynamic.mnet-online.de)
08:05.20*** join/#tomcat trifon (n=chatzill@78.140.94.82)
08:31.02*** join/#tomcat Thorn (n=Thorn@unaffiliated/thorn)
08:33.23Thornhello. tomcat 6.0.18, jdk 1.6.0_12 on 64-bit linux 2.6.27. frequent java.lang.OutOfMemoryError: PermGen space when deploying an app that uses spring, hibernate and wicket. any ideas on how to fix this?
08:41.38*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
08:48.05*** join/#tomcat frippz (n=frippz@213.115.122.30)
08:48.15*** join/#tomcat frippz (n=frippz@213.115.122.30)
08:49.09*** join/#tomcat vanksi (n=vanksi@stekt2.oulu.fi)
08:49.40vanksii'm having some troubles using tomcat with iis 6.0, i'm trying to follow http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
08:50.05vanksicould someone explain what does the step 8 mean? "Using the IIS management console, add isapi_redirect.dll as a filter in your IIS/PWS web site. The name of the filter should reflect its task (I use the name tomcat), its executable must be our c:\tomcat\bin\win32\i386\isapi_redirect.dll. For PWS, you'll need to use regedit and add/edit the "Filter DLLs" key under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters. This key contains a ","
08:51.35vanksiah, nevermind
09:08.13*** join/#tomcat kanai (n=kanai@124.32.114.226)
09:10.11*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
09:26.16*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
09:26.36*** join/#tomcat Gopaul (n=chatzill@61.95.156.130)
10:02.56*** join/#tomcat jonaslund (n=whizzter@1-1-8-18a.ulr.sth.bostream.se)
10:09.46*** join/#tomcat ecret (n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com)
10:10.39ecretcan someone suggest a traffic analyzer for tomcat? I browsed the web and could just find awstats which I dont want.  Thanks.
10:10.58ecretpreference for FOSS
10:11.23jonaslundhmmh
10:11.30jonaslundwhat kind of info do you want about the traffic?
10:12.07jonaslundand how does your setup look? any apache infront of tomcat ?
10:13.00*** join/#tomcat kanai (n=kanai@124.32.114.226)
10:18.29ecretjonaslund: i am not sure, yes that sounds bad. i installed both on my slicehost. Apache uses port 80(though i redirect that port to 8180).
10:18.45ecretI am new to tomcat. Have some apache experience.
10:19.22ecretjonadlund: basically just traffic #'s and from where they came.
10:21.49jonaslundif you're using both and apache sits infront (using mod proxy ajp?) you could probably rely on just apache logs (just setup tomcat to only accept local connections)
10:22.24jonaslundto be truthfull i've not really done much tomcat admin, i just do the dev :)
10:22.32jonaslundso most of the time my machines are behinds apaches
10:23.07jonaslundif i was interested in some specific logging i'd prolly write it myself ;))
10:26.16ecretjonaslund out of curiosity, how do I check ?
10:26.42ecretif it sits behind apache using mod ajp
10:26.56ecretthere are no apache logs being created so I think it is on its own
10:30.41jonaslundajp requests should show up in the apache logs
10:34.44ecretthanks for the info, g'night!
10:34.49*** part/#tomcat ecret (n=ecret@CPE001e9002348e-CM001225d8ab30.cpe.net.cable.rogers.com)
10:39.58*** join/#tomcat azathoth99 (n=g@cpe-76-174-28-249.socal.res.rr.com)
10:45.31azathoth99how does one tune tomcat6 for a 8 cpu box?
10:45.40azathoth99such that the tomcat will use all 8 cpu
10:45.59azathoth99what would happen for example is max threads was set at 5000
10:46.09azathoth99jdk sun 1.6 centos 5.2 2.6.18 kernel
10:47.49jonaslundafaik jdk uses native threads
10:48.02jonaslundso those 5000 threads should be managed by your operating system
11:01.56azathoth99ok
11:02.03azathoth99so they will be using all 8 cpu
11:02.25azathoth99how do you figure out how many max threads?
11:07.52*** join/#tomcat kaushal (n=kaushal@125.18.21.18)
11:07.54kaushalhi
11:23.08azathoth99hello
11:24.09*** part/#tomcat azathoth99 (n=g@cpe-76-174-28-249.socal.res.rr.com)
11:27.25kaushalI am using tomcat-5.0.27-r6 on gentoo OS
11:27.39kaushal<PROTECTED>
11:28.09kaushalI have a clarification regarding restricting webapps/myapps to localhost
11:28.34kaushalI have created myapps.xml under /etc/tomcat5/Catalina/localhost
11:29.41kaushaland myapps.xml contains http://rafb.net/p/Ljoe5538.html
11:29.54kaushalis that correct what i am doing ?
12:38.12*** join/#tomcat noon (n=noon@c-24-2-126-148.hsd1.pa.comcast.net)
12:38.19noongood morning
12:46.19*** join/#tomcat acidjnk (i=acid@pD9508E34.dip0.t-ipconnect.de)
13:06.46kaushalanybody awake here ?
13:15.30*** part/#tomcat NEOphyt (n=never@74-222-216-197.dyn.everestkc.net)
13:15.33*** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr)
13:37.23*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
13:51.09*** join/#tomcat prgrmr (n=prgrmr@unaffiliated/prgrmr)
14:26.24*** join/#tomcat Thorn (n=thorn@unaffiliated/thorn)
14:27.07*** join/#tomcat Remowylliams (n=Mare@204.180.233.74)
14:30.18RemowylliamsHello everyone. I'm a java novice stuck trying to figure out a java servlet page problem I don't understand how to read the long for a given problem yet. this program intermittently throws a nullpointer exception. While this has been working pretty flawlessly for 2 years nothing has changed much. Can someone please point me to a resource for understanding how to read the log report?
14:37.51RemowylliamsI have the stack trace but it seems to be a litany of classes dealing mostly with running catalina, coyote etc
14:39.28Remowylliamsjava 1.4.2, tomcat 5.5.7
14:41.56acidjnkServlets are not a good start. I recommend to learn basics with the Sun tutorial, better with the book "Thinking in Java", then "Effective Java", then more about OO with "Design Patterns". Then you can start to study the EE specs.
14:43.51Remowylliamsacidjnk: This was your reply addressed to me?
14:43.59acidjnkyes
14:44.33acidjnkgtg, bbl
14:44.55Remowylliamsacidjnk: thanks for the suggestion. I'm sure it will help me fix this problem some day
14:49.18*** join/#tomcat npm (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com)
14:54.53*** join/#tomcat frippz (n=frippz@213.115.122.30)
14:57.51Remowylliamsit's it's any help here's the stack.
14:57.51Remowylliamshttp://pastebin.com/m13a7bd18
15:16.47*** join/#tomcat Kaushal (n=Kaushal@59.184.23.68)
15:16.49Kaushalhi
15:17.17KaushalI am using tomcat-5.0.27-r6,Sun JDK 1.5.0.12  on gentoo OS
15:17.17KaushalI have a clarification regarding restricting webapps/myapps to localhost
15:17.17KaushalI have created myapps.xml under /etc/tomcat5/Catalina/localhost/myapps.xml
15:17.17Kaushalmyapps.xml contains
15:17.48Kaushalhttp://rafb.net/p/z0EB2L45.html
15:18.02Kaushalis that correct what i am doing ?
15:20.14RemowylliamsIs this a recognizable problem. The top log entry : http://pastebin.com/m74f482bd
15:37.50*** join/#tomcat trifon (n=chatzill@78.140.94.82)
15:45.37Remowylliamscan anyone tell me if it's normal to have only one tomcat running?
15:50.54philihpyes it is normal to have only one tomcat running.
15:57.08Remowylliamsphilihp: what about Warnings of 'Default format has been initialized' ?
15:58.14philihpno, i don't think those are normal. are they coming from something you're doing?
16:00.31Remowylliamsthey are in the log file when someone accesses a age. this system has been working fine for 2 years. no one has touched the code but now we're getting nullpoint exceptions in Jasper and such and I was not the architect of this thing. I barely know how to start a tomcat system.
16:01.20Remowylliamssadly the log file doesn't say what page is being accessed and I have a feeling it's in the apache log
16:07.13RemowylliamsKnock on wood, I restarted tomcat and most of the problems seem to have stopped
16:28.50philihpgood enough for government work
16:29.13Kaushalhi
16:30.05KaushalI have several WAR's under webapps, I want to restrict a particular WAR to 127.0.0.1
16:30.57*** join/#tomcat sircco (n=sircco@89.201.165.140)
16:38.14*** join/#tomcat s833 (n=chatzill@ufo.tcmis.com)
16:39.27s833hello all
16:39.55s833does anyone know official channel for apache ant, #ant and ##ant lead to dummy/empty channels.
16:47.33*** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com)
16:48.01randrewKaushal: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote%20Address%20Filter
16:49.20Kaushalrandrew, is this correct ? http://rafb.net/p/uz8RNH22.html  
16:50.45s833can someone answer my question please?
16:59.29randrewKaushal:it might be.
17:00.26randrewKaushal: maybe you don't need path there.don't remember context deployment details of 5.0.
17:00.45Kaushalrandrew, will that restrict all the WAR's under webapps ?
17:00.52Kaushalto 127.0.0.1
17:01.28randrewKaushal: http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Remote%20Address%20Filter
17:01.49randrewKaushal: or address attribute in host element.
17:07.44*** join/#tomcat npm (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com)
17:29.07*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
17:47.01*** join/#tomcat relachs (n=relachs@78.52.87.28)
17:51.53*** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl)
17:54.42*** join/#tomcat ohsix (i=ohsix@bc110245.bendcable.com) [NETSPLIT VICTIM]
17:54.42*** join/#tomcat cmccormick (n=cmccormi@cpe-74-76-103-90.nycap.res.rr.com) [NETSPLIT VICTIM]
17:58.56*** join/#tomcat ohsix (i=ohsix@bc110245.bendcable.com)
18:03.46*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
18:25.05relachshi there
19:24.15*** join/#tomcat dvayanu (n=another@ppp-93-104-58-158.dynamic.mnet-online.de)
19:32.54*** join/#tomcat norcom (n=noone@firewall.apps.fsu.edu)
19:34.46norcomHi, I'm trying to get the FarmWarDeployer working with Tomcat 6.0.18 and I get this error message in catalina.out on startup:   SEVERE: FarmWarDeployer can only work as host cluster subelement!   : can someone shed some light on what that means?
19:37.27deeboit only works on a cluster?
19:38.15norcomthe <Deployer> element is inside the <Cluster> element in the server.xml if that's what you're referring to.... ?
19:38.35norcomI have two members in a cluster and they're talking to each other
20:00.45*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
20:05.43*** part/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
20:11.09*** part/#tomcat Remowylliams (n=Mare@204.180.233.74)
20:40.47*** join/#tomcat abraxas1 (n=abraxas@p57BC1FDF.dip0.t-ipconnect.de)
20:41.39abraxas1hi@all
20:45.31abraxas1i'am using tomcat 5.5.17, Java 5 and win xp can somebody help me?
20:49.52abraxas1is anybody out there?
20:58.51*** join/#tomcat Walex2 (n=Walex@82-69-39-138.dsl.in-addr.zen.co.uk)
21:33.28*** part/#tomcat abraxas1 (n=abraxas@p57BC1FDF.dip0.t-ipconnect.de)
22:16.43*** join/#tomcat TomSping (i=812e05d1@gateway/web/ajax/mibbit.com/x-fa3428eae4769089)
22:23.08*** join/#tomcat kojiro (n=ganryu@gentoo/contributor/kojiro)
23:10.17*** join/#tomcat tsopp (n=broken@CPE001a7053a7c1-CM00152fc775c8.cpe.net.cable.rogers.com)
23:12.07tsoppHey guys, I'm trying to set up Tomcat 6, I'm using gentoo so I've installed it from portage. Now I've tried setting up an app, (apache-solr) but whenever I try to browse to the page I get java.lang.RuntimeException: Can't find resource 'solrconfig.xml' in classpath or 'solr/conf/', cwd=/var/tmp/tomcat-6  - I've set my java opts like so: export JAVA_OPTS="$JAVA_OPTS -Dsolr.solr.home=/home/flare/solr/"
23:12.23tsoppBut I have no idea why the CWD falls back to /var/tmp/tomcat-6 - any ideas?
23:12.46tsoppThis might be more of a solr question, I'm not sure, let me know if I should ask there.
23:38.28pfncwd has nothing to do with it
23:56.36tsoppOh =/, any ideas then why this is happening?

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