irclog2html for #tomcat on 20060404

00:22.29*** join/#tomcat L-----D (n=LongkerD@211.160.165.186)
00:23.10*** part/#tomcat L-----D (n=LongkerD@211.160.165.186)
00:24.01jawbrkrok
00:24.03*** part/#tomcat jawbrkr (n=jawbrkr@unaffiliated/jawbrkr)
00:34.02*** part/#tomcat jsisson (n=sissonj@218.185.73.243)
00:38.11Nopikanyone familiar with log4j here?
00:38.18Nopiki cant get it working in my webapp
00:40.28*** join/#tomcat jsisson (n=sissonj@218.185.73.243)
01:08.20reqswente: do you know if tomcat 5.0.27 uses crimson or xerces?
01:08.29*** join/#tomcat L-----D (n=LongkerD@211.160.165.186)
01:08.43*** part/#tomcat L-----D (n=LongkerD@211.160.165.186)
01:08.52req(servlet seems to like the 5.0 version on my laptop, but not the 5.5 version on server.
01:10.34*** join/#tomcat valmont (n=chrishol@germany.pspdev.pas.earthlink.net)
01:12.14*** part/#tomcat req (i=[SpcQG4J@soda.CSUA.Berkeley.EDU)
01:49.58*** join/#tomcat chrismon (n=chrismon@adsl-71-131-240-61.dsl.sntc01.pacbell.net)
01:50.06chrismonafternoon all
01:50.58chrismoni'm using a 3rd party lib which starts a Runnable, but it doesn't seem to shutdown when I stop the app in the Tomcat manager
01:51.10chrismoni have no access to this Runnable :-/   its not very well written
01:51.39chrismonthis Runnable had access to a TCP port and doesn't let go until I shutdown the entire Tomcat instance
01:52.21chrismonhow completely does/can the manager shut apps down?
01:52.30chrismonwhy wouldn't this Runnable be cleaned up?
01:54.37*** join/#tomcat GhettoJava (n=Freemani@c-68-55-101-112.hsd1.md.comcast.net)
02:05.14*** join/#tomcat omay (n=omay@dslb-088-072-038-199.pools.arcor-ip.net)
02:06.28*** join/#tomcat joserafael (n=joserafa@200.84.96.121)
02:14.38joserafaelhello
02:14.43joserafaelanybody here?
02:18.10*** part/#tomcat joserafael (n=joserafa@200.84.96.121)
02:26.33*** join/#tomcat bdudney (n=bdudney@c-67-176-108-103.hsd1.co.comcast.net)
03:25.44*** join/#tomcat jsisson (n=sissonj@218.185.73.243)
03:26.53*** join/#tomcat jsisso1 (n=sissonj@218.185.73.243)
03:47.10*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
03:48.36*** join/#tomcat linuxfreck (n=82d94c4d@yossman.net)
04:21.16chrismonblargh
04:33.56chrismonhmmm
04:34.05chrismontomcat documentation does on and on about everything
04:34.09chrismonbut what I cannot figure out
04:34.12chrismonO.o
04:43.54*** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net)
05:29.33*** join/#tomcat PROJECT (n=frank@CPE0011952de697-CM00159a3f1426.cpe.net.cable.rogers.com)
05:30.29PROJECTDoes anyone know why my stdout.log file would be empty?  does tomcat, by default, not make it active. I've searched online for ways to make it work, but i can;t find anything.  Can anyone help?
05:31.16PROJECTi tried putting stdout-log href='/log/foo/stdout.log in my server.xml file, under <host> but it doesn't seem to do anything
05:31.42PROJECTim trying to debug a servlet, so it's kinda frusterating that its not working
05:44.09PROJECTanyone?
05:45.53*** join/#tomcat Julie_ (n=chatzill@CPE0050bfe88ed3-CM0012c90ff602.cpe.net.cable.rogers.com)
05:46.55deRusetthello
05:47.44deRusettlooking for some help connecting tomcat with apache,  I can't get tomcat to build its config file
05:54.03PROJECTello?
06:11.09*** join/#tomcat bugfixer (n=bugfixer@42gis175.gulftel.com)
06:13.55*** join/#tomcat L-----D (n=LongkerD@211.160.165.186)
06:16.46PROJECTanyone?
06:19.43*** part/#tomcat L-----D (n=LongkerD@211.160.165.186)
06:24.07*** join/#tomcat cypo (n=opera@82.83.40.207)
06:30.50*** join/#tomcat kuto (n=kuto@202.175.241.34)
06:44.46PROJECThello?
06:47.31kutoye
06:49.47PROJECThi.  can you help me with an stdout.log problem?
07:04.57PROJECTis there anyone that can help with my stdout question
07:04.58PROJECT?
07:05.23PROJECTI could really use the assistance.
07:13.52kutousing mod_proxy, mod_jk?
07:14.37*** join/#tomcat Hugh (n=Hugh@puma.mxtelecom.com)
07:16.48*** join/#tomcat Evellia (n=Evellia@LAubervilliers-151-11-60-55.w193-251.abo.wanadoo.fr)
07:28.55PROJECTno, neither.
07:29.31PROJECTjust straight up tomcat 5.5
07:29.31PROJECTim trying to do a System.out.print
08:14.23*** join/#tomcat walter_tomcat (n=me@a80-126-62-153.adsl.xs4all.nl)
08:14.48walter_tomcathello all, i have a question
08:14.58walter_tomcatis there anybody who has some time ?
08:15.55*** part/#tomcat walter_tomcat (n=me@a80-126-62-153.adsl.xs4all.nl)
08:19.37*** join/#tomcat walter_ (n=me@a80-126-62-153.adsl.xs4all.nl)
08:23.14walter_hello, i have a question. Can tomcat run on more then one CPU? If so how do we configure that? This is our specification: Sun Fire v240 (with 2 CPU's), Java 1.5.0, Tomcat 5.5.7, OS=Solaris 8. It seems to use only one.
08:27.09*** join/#tomcat noodl (n=noodl@pdpc/supporter/base/noodl)
08:38.41*** join/#tomcat jsisson (n=sissonj@59.167.30.6)
09:45.51*** join/#tomcat m0rales (n=m0rales@static216015.dsl.hol.gr)
09:55.10*** part/#tomcat walter_ (n=me@a80-126-62-153.adsl.xs4all.nl)
10:25.48*** join/#tomcat bdudney (n=bdudney@c-67-176-108-103.hsd1.co.comcast.net)
10:54.30*** join/#tomcat MarcWeber (n=Miranda@p549AB089.dip0.t-ipconnect.de)
10:54.41MarcWeberCan you tell me how to enable logfiles?
10:56.48MarcWeberI have a empty page (no error) from a jsp site and don't know why. the tomcat/logs/ dir is empty.
10:59.39*** join/#tomcat wam (n=wigwam@proxy1.msh.de)
11:05.37kutoMarcWeber: ARE YOU using connector?
11:05.58MarcWeberkuto: Never heard.
11:06.43kutolike mod_jk?
11:08.24MarcWeberkuto: All I know by now is that jakarta-tomcat which I'm using can be satrted with eclipse plugin, compiles my jsp pages ... and is https server...
11:08.44MarcWeberI'm currently looking through the provided examples...
11:15.18kutois that a windows based tomcat?
11:18.13*** join/#tomcat IRCMonkey (n=chatzill@70.230.179.215)
11:25.34Nopiki am trying to setup my webapp to use log4j.. it almost work now: i am able to get my logs in file specified by log4.properties, but the problem is: i am not able to put log4j.properties into .war file properly, it gets ignored.. if i load some log4j.properties file from the webapp manually, it works
11:26.04Nopikdocumentation says, that i have to put log4j.properties into WEB-INF/classes, but it does not seem to be the case ;(
11:30.34kutodid log4j create logs in /usr/local?
11:40.01*** join/#tomcat Fracture (n=Fracture@dsl-202-173-191-84.qld.westnet.com.au)
11:41.10Fracturehi.  I'm having a problem with tomcat 5.5.10.  After a day or so of usage, requests seem to hang and don't get a response at all.  nothing in the mod_jk.log (loglevel=debug) nothing in apache access_log, nothing in catalina.out
11:44.03kutoFracture: did you create a log4j logs in /usr/local?
11:44.30kutoits something like jakarta-tomcat/logs/tomcat.logs
11:44.30Fracturekuto: I configure log4j within my app to log to a custom log file, debug level, and nothing is going in there either
11:45.10kutoFracture: distro?
11:45.50Fractureits not a distro related issue... I install tomcat in a specific folder, and run it using a custom catalina.base and atalina.home argument
11:47.12kutobetter try mod_proxy
11:47.33Fracturekuto: yeah, I am looking at that, however, isn't it slower than ajp ?
11:47.51Fracturekuto: i've considered upgrading to apache 2.2 to use mod_proxy_ajp
11:48.12kutoon slower machine yes, but run cools on faster machine
11:48.45kutoyes better use the apache 2 series and tomcat 5.5 its almost the same as using ajp
11:49.10Fractureok, i'll give that a try and see how it pans out over a few days.
11:49.36kutomod_jk is really pain in the ass
11:50.11Fracturekuto: any pointers (links or hints) on configuring apache with mod_proxy to connect to a catalina server ?
11:50.34kutohold, let me check my links
11:51.41kutohttp://tomcat.apache.org/tomcat-5.5-doc/printer/proxy-howto.html
11:51.43kutothere
11:52.06Fractureyou're a legend, thanks
11:52.51kutolols
11:53.23kutoits a 10 of tweaking believe me
11:53.28kutoeeer 10mins
11:54.06Fractureyeah, i've worked with mod_proxy before.. pretty easy.. just wasn't sure if there was anything catalina specific - which there is .. the proxyName and proxyPort attribs fo the <Connector> element
11:55.58kutojust test both of them on 8080 and on your default folder
11:58.02Fracturedone ;)
11:59.04kutocool
11:59.21Fracturetoo easy :)
11:59.41kutoi told you
11:59.47Fracturenow, I just hope it was the ajp connector that was the problem, and not catalina itself
12:00.30kutoyep its always the ajp connector
12:01.57kutocheck on the servlet also, i found some problems connecting mod_jp to it
12:03.51Fracturehrm.. I'm getting some erorrs that weren't happening with the AJP connector..
12:06.03*** join/#tomcat [a]tomi (n=atomi@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
12:08.06MarcWeberWhat might be the cause that a jsp request returns nothing even if it looks like  <%system.out.println("Hello World");%> ? When putting an error into the statement that one is reported ?
12:10.00MarcWebertype should have been out.println (that worked in another project, same machine)
12:10.31m0ralesanyone know why my ajp connector is in debug mode and dumps huge amount of stuff on stdout containing the http requests that come to the server?
12:25.10MarcWeberProblem solved.. I had to remove jsp-api and servlet-api.. Works now
12:29.02*** join/#tomcat joered (n=chatter@81-208-83-246.fastres.net)
12:29.42*** join/#tomcat putzel (n=burps@148-202-221-213-pool.cable.lan.ch)
13:33.31*** join/#tomcat El_Boom (n=thomas@0x5552d889.adsl.cybercity.dk)
13:33.36El_BoomHi guys
13:35.26El_BoomI have an Apache HTTPD which should act as a proxy for a Tomcat running the target webapp in ROOT. I would like to forward all requests to www.somedomain.com directly to tomcat (localhost:8080). How do I accomplish this using mod_proxy?
13:37.31El_BoomI have tried with something like:
13:37.47El_BoomProxyPass / http://localhost:8080
13:37.54El_BoomProxyPassreverse / http://localhost:8080
13:38.29*** join/#tomcat pitarch (n=chatzill@87.219.69.13)
13:38.33El_BoomBut this has no effect
14:17.53FractureEl_Boom: do you have ProxyRequests On ?
14:17.58Fractureor something simiilar
14:18.17FractureEl_Boom: aah.. you need a trailing slash after :8080
14:18.29FractureProxyPass / http://localhost:8080/ and ProxyPassreverse / http://localhost:8080/
14:18.38Fractureat lest, that is how I have done it
14:22.54*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:24.19El_Boomokay, I'll try it out
14:29.26El_BoomHmm. That still doesn't work. If I specify the ProxyPass like "ProxyPass /foo http://localhost:8080/" it does the proxying, but not just with "/"
14:30.50El_Boomwith "/" it just shows the HTTPD default page
14:31.10El_Boomjust like it would with the url http://localhost
14:39.46FractureEl_Boom: sorry, I can't help you then.  It works for me, as I have just setup this myself a few hours ago.
14:40.32El_BoomOK, but thanks anyway
14:42.32El_Boomomg wtf
14:42.34El_Boomlol
14:42.35El_Boom;)
14:43.12El_BoomIt worked, fracture. I don't know why it didn't work before. I just restarted my HTTPD again and it worked
14:43.16El_Boomlol
14:43.23FractureEl_Boom: great news !!
14:43.30FractureEl_Boom: yeah, I have had issues like that before too.
14:43.57FractureEl_Boom: I tend to do a httpd stop, httpd start with a few seconds pause inbetween sometimes just to make sure
14:44.41El_BoomOk, then I have another question for you: I would not only like the HTTPD to forward to Tomcat (like now), but I would like it to forward to a page within the webapp - like http://localhost -> http://localhost/showMe/somePage
14:45.05El_Boomsorry : http://localhost -> http://localhost:8080/showMe/somePage
14:45.40Fractureyou mean http://localhost/thePage -> http://localhost:8080/showMe/somePage ?
14:45.56Fracturei.e. if you already have / mapped to /webapp, then you can't also map / to /showMe/somePage
14:46.33El_BoomThe webapp runs as the root webapp in Tomcat, so it's available directly through localhost:8080
14:46.45Fractureyep
14:46.59El_Boomok... hmm
14:47.09Fractureproxying like you have, should also pass through any other webapps
14:47.15El_Boomokay.
14:47.41Fractureie if you request /webapp2 it will be proxied to http://localhost:8080/webapp2
14:48.05El_Boomyeah. ok
14:48.42Fractureremember that apache doesn't know about webapps specifically.. it is just mapping the URL space from one port to another.
14:48.53Fracture(or from one machng to another0
14:49.24Fracture(or from one machine to another)
14:49.27El_BoomYes. Should I then configure a sort of vhost in Tomcat to forward requests to itself, but to another url?
14:49.49FractureI dunno what you mean
14:50.26El_BoomSo that HTTPD forwards to Tomcat on localhost:8080 like now and Tomcat itself forwards on to localhost:8080/showMe/somePage?
14:51.12FractureI think I don't understand what you want ?  Do you want a browser that accesses http://localhost to show the tomcat page at /showMe/somePage ?
14:52.12El_BoomSorry - it's a bit complicated. Yes, I would like that.
14:52.55Fracturewhat about a browser request for http://localhost/about.htm.. should it show the tomcat page /showMe/somePage/about.htm ?
14:53.43El_BoomJup
14:54.21Fracturethis may do the trick : ProxyPass / http://localhost:8080:/showMe/somePage/ and ProxyPassreverse / http://localhost:8080/showMe/somePage/
14:54.50Fracturealthough, showMe/somePage needs to be afolder, and needs to contain a page that is served by default (index.html etc..)_
14:56.27El_BoomOkay. Yes, it forwards alright so I can see the URL but the webapp doesn't like it. Guess I have to experiment a little more with it
14:56.41El_BoomI can see the page, but graphics are gone
14:57.09Fractureyeah,probably because your image urls are relative to the root webapp, which is invalid
14:57.51El_Boomyes... You're probably right
14:58.29El_BoomThey work with the plain proxying to just localhost:8080
14:58.41Fractureyep
14:59.37Fracturethat is because an image URL may be something like /images/product.gif, which is in tomcat at /images/product.gif, however if you map / to /showMe/somePage, then /images/product.gif is being mapped to /showMe/somePage/images/product.gif which doesn't exist
15:00.23Fractureyou can probably use some features of mod_rewrite to achive what you are after.. though you are on you own there :)
15:01.47*** join/#tomcat bdudney (n=bdudney@71-211-141-201.hlrn.qwest.net)
15:03.18El_Boomhehe - ok, but thanks for the help so far
15:03.26FractureEl_Boom: you are welcome
15:14.03*** part/#tomcat wam (n=wigwam@proxy1.msh.de)
15:23.40*** join/#tomcat dgibb (n=dgibb@i216-58-90-11.cybersurf.com)
15:24.17dgibbHello! Can you use inner classes in the helper classes that you access from your jsps?
15:25.46*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
15:27.18*** join/#tomcat bdudney (n=bdudney@71-211-141-201.hlrn.qwest.net)
15:39.37*** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
15:41.11*** join/#tomcat PROJECT (n=frank@CPE0011952de697-CM00159a3f1426.cpe.net.cable.rogers.com)
15:44.52*** join/#tomcat bugfixer (n=bugfixer@42gis175.gulftel.com)
15:47.18PROJECTHi everyone.  I'm having a problem with stout.  For some reason my stdout logs are always empty.  I'm trying to do a System.out.print. im using tomcat 5.5 on windows
15:48.29larryBoydid you check the log files?
15:49.34*** join/#tomcat omay (n=omay@dslb-088-072-038-077.pools.arcor-ip.net)
16:04.14*** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
16:05.57*** join/#tomcat Vanuatoo (n=vano@213.200.4.246)
16:14.48PROJECTthe log files are empty
16:15.06PROJECTor do you mean the localhost logs?
16:25.52larryBoyi mean the log files in $CATALINA_HOME/logs
16:27.48*** join/#tomcat noodl (n=noodl@pdpc/supporter/base/noodl)
16:52.28*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
17:10.03*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
17:10.42*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
17:58.37*** join/#tomcat jnorthrup_pb17 (n=chatzill@dsl081-048-123.sfo1.dsl.speakeasy.net)
18:09.46*** join/#tomcat bdudney (n=bdudney@71-211-141-201.hlrn.qwest.net)
18:11.14*** join/#tomcat Rasputin (n=n@p54904444.dip.t-dialin.net)
18:12.14Rasputinhi, iread a few howtos faqs etc, but nevertheless i cant get tomcat to run on my system. this is the error msg i get
18:12.36RasputinJAVA_HOME should point to a JDK not a JRE
18:13.09Rasputinbut i "set JAVA_HOME=c:\java\jdkXXXX" anyone knows what im doing wrong ?
18:13.45Rasputinoh windows 2kpro OS btw
18:28.18*** join/#tomcat zuijbebolus (n=frank@a204044.upc-a.chello.nl)
18:28.28zuijbebolusHello
18:28.36*** join/#tomcat jajmon (i=xr4y@c-d22ce055.72-1-64736c11.cust.bredbandsbolaget.se)
18:29.00jajmonhi, is this the way i should use hibernate? http://www.javaworld.com/javaworld/jw-01-2005/jw-0124-strutshibernate.html
18:29.01zuijbebolusI've got a problem since i've upgraded to 5.5.16. Every directory within in the ROOT context is seen as an application
18:29.40zuijbebolusanyone any idea how to solve this problem
18:30.44zuijbebolusThose directories don't contain any Java application or jsp file at all
18:36.37*** join/#tomcat a4akb (i=a4akb@as20-89.qualitynet.net)
18:37.28a4akbYo.
18:39.55*** join/#tomcat vinse_ (n=vinse_@208.253.223.146)
18:40.53*** part/#tomcat larryBoy (n=me@72-160-4-12.dyn.centurytel.net)
18:42.38crappyuserhey
18:42.43crappyuserdon't slap me
18:42.46crappyuser:)
18:53.30[a]tomihello all, could someone tell me what JDK is most compatible with tomcat 5.5.12 , im having trouble getting a compressionFIleter to work and I think its because im using 1.5.0_06-b05
18:54.09[a]tomiif someone knows off the bat it'll really save me some time.
18:55.28*** join/#tomcat e-PUNK (n=e-PUNK@unaffiliated/epunk)
18:56.28e-PUNKthe irc link to this chan on http://tomcat.apache.org/irc.html is wrong! Is: irc://irc.freenode.net/#tomcat --- schould be: irc://irc.freenode.net/tomcat
19:21.21*** join/#tomcat bdudney_ (n=bdudney@71-211-141-201.hlrn.qwest.net)
19:57.41PROJECTdoes anyone know why my stdout log files would be empty?  
19:57.51PROJECTis there a default setting for it?
20:06.52*** join/#tomcat PR0JECT (n=frank@toronto-HSE-ppp4162140.sympatico.ca)
20:33.44*** join/#tomcat e-PUNK3 (n=e-PUNK@dslb-088-072-210-204.pools.arcor-ip.net)
21:16.03*** join/#tomcat flexable (n=flexable@host185-124.pool8249.interbusiness.it)
21:17.24*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
21:17.56*** join/#tomcat valmont (n=chrishol@germany.pspdev.pas.earthlink.net)
21:29.16*** join/#tomcat andeee (i=andi@ua-83-227-221-41.cust.bredbandsbolaget.se)
21:30.04andeeehey, I want to be able to run my jsp files from my webapps folder and not my webapps/ROOT/ folder (in windows) I cant seem to find where to edit my config for this to work?
21:30.34andeeeIm guessing its in server.xml
21:34.04*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
21:37.05crappyuserahh just change your doc base to empty string
21:37.26crappyusercontext="" docbase=""
21:39.08andeeein what file?
21:44.44*** join/#tomcat qt4x11 (n=rjm@tangerine.uchicago.edu)
21:45.09andeeeah.. there we go..
21:45.10andeeethanks
21:45.25qt4x11hi - if i get an error like 'message Servlet IdP is not available' -- what is usually wrong?
22:26.44*** join/#tomcat jsisson (n=sissonj@218.185.73.243)
22:32.29qt4x11whats the typical location of the tomcat ssl key repository?
22:59.05andeeeis the 4.0.6 version available anywhere?
22:59.10andeeecant fint it on any ftps
22:59.14andeeefind
23:11.13*** join/#tomcat [a]tomi (n=atomi@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
23:12.10[a]tomiwhy is the CompressionFilter so damn hard to get started?
23:57.40*** join/#tomcat pompboy (n=warren@user-10lfe93.cable.mindspring.com)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.