irclog2html for #tomcat on 20060418

00:01.45*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net)
00:24.15jasonbhi yassine.
00:24.30jasonbSorry, got interrupted there for a few.
00:24.53jasonbThings are going well.  Seems like I'm learning heaps of new stuff all of a sudden again.
00:25.16jasonbyassine: How are you doing?
00:28.03yassineam fine im only havin a problem with a file notfound exception :) here : http://pastebin.com/666241
00:28.19yassinelongtime not seen you here
00:32.07jasonbhmm, I'm in here just about all the time.
00:33.17yassineso i was the one who was not here :)
00:34.30chrismonhome again
00:36.07jasonbwb chrismon
01:17.13*** join/#tomcat vinse (n=vinse@c-67-169-25-31.hsd1.ca.comcast.net)
01:17.55*** join/#tomcat jsisson (n=sissonj@ppp14-84.lns2.syd7.internode.on.net)
01:23.12*** join/#tomcat RizeNine (n=RizeNine@pool-71-124-19-129.chi01.dsl-w.verizon.net)
01:36.07*** part/#tomcat gverig (n=gverig@12.44.117.10)
02:06.06*** join/#tomcat yassine (n=yassine@xdsl-84-44-152-14.netcologne.de)
02:09.36*** join/#tomcat carlos (n=carlos@193.126.36.236)
03:04.43*** join/#tomcat kuto (n=root@203.177.223.47)
03:05.26Fracturehi
03:05.26kutoany idea how to start tomcat using fedora 4 or 5?
03:06.01FractureI am wanting to develop a custom tomcat valve and listener, and was wondering if there was a maven 2 repository that had the required jars in it to compile against ?
05:04.34*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:45.56*** join/#tomcat valmont (n=chrishol@dsl092-043-004.lax1.dsl.speakeasy.net)
06:13.56*** part/#tomcat NorthDragon (n=IzhikovN@213.251.192.42)
06:31.49*** join/#tomcat cypo (n=opera@82.83.42.148)
07:43.24*** join/#tomcat dreivier (n=dreivier@port-212-202-44-105.dynamic.qsc.de)
07:47.33*** join/#tomcat Vanuatoo (n=vano@213.200.4.246)
07:49.56*** join/#tomcat Evellia (n=Evellia@LAubervilliers-151-11-60-55.w193-251.abo.wanadoo.fr)
08:39.16*** join/#tomcat theDude (n=the_dude@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
08:43.37*** join/#tomcat noodl (n=noodl@pdpc/supporter/base/noodl)
09:22.07*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
09:30.18*** join/#tomcat roude (n=roude@213.202.211.120)
09:49.11*** join/#tomcat Vanuatoo (n=vano@host-85-114-227-35.adsl.caucasus.net)
10:16.53Fracturejasonb: hi
10:32.28roudehi, using tomcat 5.0.25, why doesn't support the managerbase persisted sessions? as i understand handles it the sessions for each container. missed i something?
10:55.03*** join/#tomcat Kuto (n=kuto@202.175.241.34)
11:11.26roudeah i use tomcat 5.0.28
11:29.15*** join/#tomcat GhettoJava (n=Freemani@c-68-55-101-112.hsd1.md.comcast.net)
11:33.53*** join/#tomcat cypo (n=opera@dslb-082-083-042-148.pools.arcor-ip.net)
12:32.01*** join/#tomcat putzel (n=burp@147.87.108.196)
12:36.10*** join/#tomcat yassine (n=yel@h-213.61.164.152.host.de.colt.net)
13:21.06*** join/#tomcat GhettoJava (n=Freemani@c-68-55-101-112.hsd1.md.comcast.net)
13:35.34*** join/#tomcat wakeman (n=wakeman@62-101-126-224.ip.fastwebnet.it)
13:49.50*** join/#tomcat a4akb (i=a4akb@as36-b201.qualitynet.net)
14:02.04*** join/#tomcat Hugh__ (n=Hugh@puma.mxtelecom.com)
14:16.29*** join/#tomcat minerale (n=minerale@myrna.cc.gatech.edu)
14:17.43mineraleGreetings, I have installed tomcat on a testing machine, I'm the only one using it, right now it's running 20 'java' sessions and taking up very considerable memory, is there a way to lower that?
14:18.19swenteminerale: in TOMCAT/conf/server.xml there's specified how many threads are used
14:18.23mineralei've lowerd 'minsparethreads to two and maxSpareThreads to 5
14:18.29mineralelowered*
14:20.01swenteminerale: see also the values for the other connectors
14:21.02mineralewhat is the typical memory usage for tomcat's java thread?
14:22.09swenteminerale: well, i'm using linux here, and for each *thread* the memory-stats of the entire *process* is shown. currently, my tomcat uses ~100mb
14:22.33swenteminerale: ~50 threads running
14:22.58mineraleok... so lowering thread numbers will not lower memory usage?
14:23.10swenteminerale: it will, for some extend
14:23.21mineralemy testing machine has only 128 ram
14:23.30swentemmh .. that's not very much indeed
14:23.47minerale(remotely hosted virtual shell)
14:24.17swenteeach thread eats some memory for it's own (i don't know how much, a thread on machine-level should take just a few kb)
14:24.54swentebut, i myself also have written apps which use threadlocal data, so n thread use n*size of that data for themselves
14:26.14*** join/#tomcat bdudney (n=bdudney@71-211-141-201.hlrn.qwest.net)
14:35.53mineralewhere are the other settings for threads on the other connectors?
14:47.33*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:54.10*** join/#tomcat madounet (n=madounet@juv34-2-82-226-155-19.fbx.proxad.net)
14:57.16madounetHi, is there someone using tomcat with jencks ?
15:01.35*** join/#tomcat mkoebele (n=mkoebele@firewall.net-sweeper.com)
15:01.41mkoebelehi
15:01.53mkoebeleI need a second tomcat running in my server
15:02.10mkoebelechanging the port 8080 to something else does not seem to be enough to do that
15:02.39Fracturemkoebele: there is a control port that needs to be changed as well
15:03.03Fracturemkoebele: in the server.xml <Server port="8888" shutdown="SHUTDOWN">
15:03.31Fracturemkoebele: change port='8888' to something different, since tomcat listens on the loopback adapter on this port for shutdown commands
15:03.32mkoebeleFracture: what about AJP 1.3 Connector ?
15:03.40mkoebeleFracture: ok, thanks!
15:03.44Fracturemkoebele: that too, if you are using one.
15:04.02Fracturemkoebele: basically, anything that listens on a port needs to either be changed, or bind to a specific adapter
15:05.15mkoebeleFracture: how do I know whether I use/need AJP? (don't even know what that is :/)
15:05.51Fracturemkoebele: AJP is a protocol that was designed to allow other web servers to pass requests to servlet containers.
15:06.10Fracturemkoebele: i.e you could run a frontend apache server on port 80, and use AJP to connect this apache server to tomcat
15:06.18mkoebeleah
15:06.31Fracturemkoebele: however, from what I have heard in here, the recommended approach is to use mod_proxy from apache
15:06.55Fracturemkoebele: so if you don't use AJP, you can remove the connector
15:07.53mkoebeleok
15:07.54*** join/#tomcat putzel (n=burps@148-202-221-213-pool.cable.lan.ch)
15:09.47mkoebeleFracture: yay, awesome, I have two tomcats running around now
15:10.04Fracturemkoebele: you are welcome.
15:10.18mkoebelethanks!
15:10.33Fractureany time
15:10.39mkoebeleactually, I might not even need two...
15:10.45Fracture:)
15:15.36*** join/#tomcat zurg (i=a4akb@ask13-13.qualitynet.net)
15:20.22madouneti search a way to receive JMS message from tomcat's context, anybody with the same setup ?
15:30.42Fracturejasonb: are you around ?
15:33.42*** part/#tomcat madounet (n=madounet@juv34-2-82-226-155-19.fbx.proxad.net)
15:46.02*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
15:54.49*** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.42)
15:56.24roude<PROTECTED>
15:56.27roude<PROTECTED>
15:56.35roudeups sry for the bad format
15:57.51*** join/#tomcat max__ (i=1000@151.97.18.238)
16:08.17*** join/#tomcat truz24 (n=truz24@12-203-70-118.client.insightBB.com)
16:09.32truz24Should I not be using java.io.File for creating files in my webapp?  When I use java.io.File, I have to give it the full path to my webapp (/home/user/Webapp-path/...) I'd like to work relative to my webapp.  What tools are available for this?
16:20.03*** part/#tomcat NorthDragon (n=IzhikovN@213.251.192.42)
16:50.16*** join/#tomcat a4akb (i=a4akb@ask10-235.qualitynet.net)
16:56.02*** join/#tomcat yassine (n=yassine@xdsl-84-44-154-192.netcologne.de)
17:06.34*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
17:24.36*** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net)
17:35.17*** join/#tomcat valmont (n=chrishol@germany.pspdev.pas.earthlink.net)
18:07.46*** join/#tomcat [a]tomi (n=theDude@pool-71-104-33-213.lsanca.dsl-w.verizon.net)
18:38.56*** join/#tomcat jcims (n=jcims@rrcs-24-172-217-2.central.biz.rr.com)
18:39.55jcimshey all, is there something specific i have to do in servlet-mapping to allow requests with 'pathinfo' in them.  e.g if my servlet is /app/MyServlet, allowing /app/MyServlet/something to pass through and populate pathInfo with 'something'?
18:40.11jcimstomcat 5.5, using eclipse webtools to build the web.xml
18:40.36jcimsright now i just get a 404, and i've tried mapping /app/MyServlet/* in addition to just /app/MyServlet
18:43.12*** join/#tomcat a4akb (i=a4akb@213.189.74.178)
19:00.04mineraleHi, I created a hello world program, placed it in webapps/hello/WEB-INFO/classes
19:00.13mineralebut when I try access it I get 404
19:04.50*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
19:07.52*** join/#tomcat a4akb (i=a4akb@ask13-159.qualitynet.net)
19:29.17*** part/#tomcat jcims (n=jcims@rrcs-24-172-217-2.central.biz.rr.com)
19:29.19truz24How do you get the full relative directory of your webapp?
19:29.31truz24relative to the root of your filesystem that is
19:46.13*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
20:15.48*** join/#tomcat joered (n=chatter@81-208-83-246.fastres.net)
20:26.10*** join/#tomcat MikeG (n=mgoldner@12.27.162.20)
20:27.18MikeGDon't know if this is the place to ask, but I'm having trouble with output formatting from jsp document-style pages.  I'm running JBoss 4.0.3 with Tomcat embedded.
20:28.38MikeGI can't seem to get carriage returns in my html source.  Aside from basic readability issues of 1000+ character lines, my validators are failing and other quirky things with javascript and css are occurring.
20:31.19jasonbThe javascript and css issues are browser issues.  Feel free to ask about them in here, but this may not be the most answer-rich channel for those.
20:32.08jasonbJBoss embeds Tomcat, but often makes Tomcat broken in weird ways that we don't know, so anything that is JBoss specific you're probably going to hire the JBoss company (Red Hat?) to fix them for you.
20:32.38jasonbYou can ask about JSPs and Tomcat in here all you want, but we're going to want to know the exact version of Tomcat you're using if you're asking a Tomcat specific question.
20:33.16jasonbAs far as I know, 1000+ character lines shouldn't cause problems, but most people don't have lines in their JSPs that are quite that long.  :)
20:33.56jasonbI suggest you pull the latest stable Tomcat and develop your JSPs on that instead, and then once they work, move them to JBoss.
20:34.08jasonbAt least then you'd know what's a JBoss issue, and what's not.
20:37.33MikeGthanks, jasonb
20:37.44*** join/#tomcat a4akb (i=a4akb@ask13-98.qualitynet.net)
20:44.08*** join/#tomcat JustinArthur (i=jarthur@cm-80.111.129.001.chello.no)
20:44.40JustinArthurEr, when I move jars into shared/lib, do I need to restart tomcat for them to be used?
20:47.08*** join/#tomcat dreivier (n=dreivier@port-212-202-44-105.dynamic.qsc.de)
20:47.14jasonbJustinArthur: Yes.
20:47.27JustinArthurInteresting.
20:48.28jasonbJustinArthur: Or, depending on what you're doing with them, maybe you could get away with just restarting your webapp(s).
20:50.13JustinArthurHmm, restarting had no effect on my situation. I'm attempting to use the MySQL driver with DBCP/JNDI, so I put the JDBC driver Jar in shared/lib, but I'm getting a class not found exception for the driver class.
20:50.50jasonbMaybe common/lib?
20:59.36JustinArthurPutting it in there worked. Interesting.
20:59.42JustinArthurThan ks.
21:00.36jasonbYou're welcome.
21:09.46*** join/#tomcat RizeNine (n=RizeNine@159.218.3.30)
21:28.53MikeGOK, so running Tomcat/5.5.9 (standalone) and processing a jsp document, I can't seem to find any way to maintain carriage returns.   Only CDATA elements include <CR>s.  
21:28.58*** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.co.comcast.net)
21:29.42MikeGIn the old-style jsp pages, I remember being able to specify a xalan output directive for formatting, but can't figure out if that is possible now.
21:30.35jasonbdefine "maintain carriage returns"..
21:30.53MikeGMy entire document is produced on a single line.
21:31.32MikeGIt is difficult to read for test/debug purposes.
21:32.21MikeGI've also had issues where Firefox 1.5 doesn't process the page properly, yet if I edit the static html page and add line breaks it seems to work.
21:32.44MikeGOf course, I don't have a specific example when I need it, but I'll see if I can reproduce one.
21:41.14jasonbDefine "document", and define "produce".
21:45.50JustinArthurAnd is this traditional syntax or XML syntax JSP?
23:02.01*** join/#tomcat wakeman (n=wakeman@adsl-4-68.38-151.net24.it)
23:02.38wakemanhi, my tomcat installation does not load classes under webapps/MYAPP/WEB-INF/classes ... do you have hints?
23:03.57jasonbwakeman: Are your classes declared to be in a package, and do you the package's directory structure created under webapps/MYAPP/WEB-INF/classes/?
23:04.43wakemanjasonb: no they are packageless, i'm reading right now on the faq there are problems with packageless classes...
23:04.52wakemancould be the problem?
23:05.17jasonbMight be.
23:05.38wakemani'm trying...
23:05.41wakemanthanks jasonb
23:06.59jasonbYou're welcome.
23:09.44wakemanjasonb: yes now i have another problem, but seems nicer :)
23:10.21wakemanorg.apache.jasper.JasperException: /forms/next.jsp(1,1) The value for the useBean class attribute UserData is invalid.
23:10.37wakeman"invalid" ?
23:11.31wakemansolved...
23:11.33wakemanthanks
23:11.51jasonbcool.  :)
23:14.06chrismonHEH
23:14.10chrismonwhoops
23:14.11chrismon"heh" :)
23:14.28chrismonwakeman, was the "useBean" not supplied to the JSP?
23:14.45chrismonjasonb, what are your reservations about Spring?
23:15.08jasonbchrismon: Well, they may be at least partially unfounded.
23:15.20chrismonheh
23:15.55jasonbchrismon: Mainly, when Spring came out, the authors also came out with a book about it, and the book was really pitched like propaganda, stating something like "don't use any of the mature software, use Spring, it's far faster, lighter, better.."
23:16.45chrismonwhat if its justifiable? heh
23:17.04chrismoni wish i knew more about it and struts to say
23:17.18wakemanchrismon: i was not providing the complete package in every needed location...
23:17.43chrismonwakeman, which mvc are you using?
23:18.39wakemanchrismon: i'dont know :| simply using straight tomcat
23:18.55wakemana jsp + a bean
23:18.57jasonbWell, Struts's mapper is bad.  Struts's taglib was okay, until JSTL got more popular.
23:19.42chrismonyeah i was noticing that as i learn
23:19.51jasonbAccording to some people I've spoken with, Spring implements all kinds of stuff, several components that are not dependent on each other, so one can use subsets of Spring, and Spring has a wider feature set than Struts.
23:20.00jasonbSo, some of the Spring components are probably fine.
23:20.00chrismonthe advent of a more well round JSTL "hurt" struts
23:20.29jasonbBut, I also heard that lots of Spring is built on AOP, and I have a really bad attitude towards AOP.
23:21.23jasonbSo I think even though lots of people use Struts right now, I think that'll fade out, and something else will take its place, but I don't know what that is yet.
23:22.25wakemansorry for bein ot but what's a good tag library to begin experimenting with?
23:22.52chrismoni dont really understand AOP
23:23.22chrismonwakeman, JSTL
23:23.31chrismonor you mean you want something more evolved
23:23.32chrismon?
23:23.34jasonbYeah, JSTL.
23:23.38jasonb(at least for now)
23:23.57chrismonheck, i'm still getting used to all this
23:24.05chrismoni still want to bust out the scriplets all the time ;)
23:24.33wakemanchrismon: should be more than adequate for now
23:24.58chrismonJSTL is very convenient... but it feels so clunky
23:25.48chrismoni dont think its particularly JST's problem
23:25.53chrismonits the taglib concent in general
23:26.03chrismoner, concept
23:28.12jasonbNah, taglibs are great.
23:28.22jasonbIt's JSTL.  :)
23:28.30jasonbBut, even JSTL isn't bad.
23:37.22chrismonthat was my french spelling
23:37.26chrismoni drop the last letter ;)
23:44.58*** join/#tomcat vinse_ (n=vinse_@208.253.223.146)
23:46.42chrismonhumpty dumpy was a big fat egg
23:46.48chrismonplayin on the wall and he broke his leg
23:49.47jasonbchrismon: Lets stay on topic, shall we?
23:50.06chrismonheh, yessir
23:51.53*** join/#tomcat jsisson (n=sissonj@ppp14-84.lns2.syd7.internode.on.net)
23:52.43wakemanin order to use jstl sql tag library, what do i have to configure in tomcat? i've placed jstl.jar and standard.jar under WEB-INF/lib, i've read about some .tld files, are they mandatory?
23:53.01jasonbYes.
23:53.14jasonbWell, I think so.. if I remember right.
23:53.23jasonbI'm pretty sure.
23:53.51wakemani don't know what to put in them... :|
23:54.08jasonbWell, you should download them.
23:56.34wakemanshould i use jakarta's or sun's ones?
23:57.48chrismonuse the ones from the same place you got your libraries
23:57.54jasonbyeah.
23:58.24wakemanwhat a mess :(
23:58.25chrismonarent the tld's included?
23:58.33chrismonin the jars are resources?
23:59.01wakemanno, i've downloaded the jars from some obscure site so i deleted them
23:59.14chrismon[jgabler@jyg lib]$ jar tf standard.jar | grep -i tld
23:59.14chrismonMETA-INF/c-1_0-rt.tld
23:59.16chrismon...
23:59.16wakemannow i'm trying to figure out where to download jars&tlds
23:59.27wakemanah
23:59.33wakemaninteresting :)
23:59.40jasonbjakarta.apache.org/taglibs
23:59.40chrismoni thought so
23:59.58chrismoni've never had to download them

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.