00:01.45 | *** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net) |
00:24.15 | jasonb | hi yassine. |
00:24.30 | jasonb | Sorry, got interrupted there for a few. |
00:24.53 | jasonb | Things are going well. Seems like I'm learning heaps of new stuff all of a sudden again. |
00:25.16 | jasonb | yassine: How are you doing? |
00:28.03 | yassine | am fine im only havin a problem with a file notfound exception :) here : http://pastebin.com/666241 |
00:28.19 | yassine | longtime not seen you here |
00:32.07 | jasonb | hmm, I'm in here just about all the time. |
00:33.17 | yassine | so i was the one who was not here :) |
00:34.30 | chrismon | home again |
00:36.07 | jasonb | wb 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.26 | Fracture | hi |
03:05.26 | kuto | any idea how to start tomcat using fedora 4 or 5? |
03:06.01 | Fracture | I 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.53 | Fracture | jasonb: hi |
10:32.28 | roude | hi, 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.26 | roude | ah 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.43 | minerale | Greetings, 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.19 | swente | minerale: in TOMCAT/conf/server.xml there's specified how many threads are used |
14:18.23 | minerale | i've lowerd 'minsparethreads to two and maxSpareThreads to 5 |
14:18.29 | minerale | lowered* |
14:20.01 | swente | minerale: see also the values for the other connectors |
14:21.02 | minerale | what is the typical memory usage for tomcat's java thread? |
14:22.09 | swente | minerale: 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.33 | swente | minerale: ~50 threads running |
14:22.58 | minerale | ok... so lowering thread numbers will not lower memory usage? |
14:23.10 | swente | minerale: it will, for some extend |
14:23.21 | minerale | my testing machine has only 128 ram |
14:23.30 | swente | mmh .. that's not very much indeed |
14:23.47 | minerale | (remotely hosted virtual shell) |
14:24.17 | swente | each 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.54 | swente | but, 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.53 | minerale | where 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.16 | madounet | Hi, is there someone using tomcat with jencks ? |
15:01.35 | *** join/#tomcat mkoebele (n=mkoebele@firewall.net-sweeper.com) |
15:01.41 | mkoebele | hi |
15:01.53 | mkoebele | I need a second tomcat running in my server |
15:02.10 | mkoebele | changing the port 8080 to something else does not seem to be enough to do that |
15:02.39 | Fracture | mkoebele: there is a control port that needs to be changed as well |
15:03.03 | Fracture | mkoebele: in the server.xml <Server port="8888" shutdown="SHUTDOWN"> |
15:03.31 | Fracture | mkoebele: change port='8888' to something different, since tomcat listens on the loopback adapter on this port for shutdown commands |
15:03.32 | mkoebele | Fracture: what about AJP 1.3 Connector ? |
15:03.40 | mkoebele | Fracture: ok, thanks! |
15:03.44 | Fracture | mkoebele: that too, if you are using one. |
15:04.02 | Fracture | mkoebele: basically, anything that listens on a port needs to either be changed, or bind to a specific adapter |
15:05.15 | mkoebele | Fracture: how do I know whether I use/need AJP? (don't even know what that is :/) |
15:05.51 | Fracture | mkoebele: AJP is a protocol that was designed to allow other web servers to pass requests to servlet containers. |
15:06.10 | Fracture | mkoebele: i.e you could run a frontend apache server on port 80, and use AJP to connect this apache server to tomcat |
15:06.18 | mkoebele | ah |
15:06.31 | Fracture | mkoebele: however, from what I have heard in here, the recommended approach is to use mod_proxy from apache |
15:06.55 | Fracture | mkoebele: so if you don't use AJP, you can remove the connector |
15:07.53 | mkoebele | ok |
15:07.54 | *** join/#tomcat putzel (n=burps@148-202-221-213-pool.cable.lan.ch) |
15:09.47 | mkoebele | Fracture: yay, awesome, I have two tomcats running around now |
15:10.04 | Fracture | mkoebele: you are welcome. |
15:10.18 | mkoebele | thanks! |
15:10.33 | Fracture | any time |
15:10.39 | mkoebele | actually, I might not even need two... |
15:10.45 | Fracture | :) |
15:15.36 | *** join/#tomcat zurg (i=a4akb@ask13-13.qualitynet.net) |
15:20.22 | madounet | i search a way to receive JMS message from tomcat's context, anybody with the same setup ? |
15:30.42 | Fracture | jasonb: 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.24 | roude | <PROTECTED> |
15:56.27 | roude | <PROTECTED> |
15:56.35 | roude | ups 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.32 | truz24 | Should 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.55 | jcims | hey 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.11 | jcims | tomcat 5.5, using eclipse webtools to build the web.xml |
18:40.36 | jcims | right 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.04 | minerale | Hi, I created a hello world program, placed it in webapps/hello/WEB-INFO/classes |
19:00.13 | minerale | but 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.19 | truz24 | How do you get the full relative directory of your webapp? |
19:29.31 | truz24 | relative 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.18 | MikeG | Don'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.38 | MikeG | I 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.19 | jasonb | The 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.08 | jasonb | JBoss 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.38 | jasonb | You 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.16 | jasonb | As 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.56 | jasonb | I 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.08 | jasonb | At least then you'd know what's a JBoss issue, and what's not. |
20:37.33 | MikeG | thanks, 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.40 | JustinArthur | Er, 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.14 | jasonb | JustinArthur: Yes. |
20:47.27 | JustinArthur | Interesting. |
20:48.28 | jasonb | JustinArthur: Or, depending on what you're doing with them, maybe you could get away with just restarting your webapp(s). |
20:50.13 | JustinArthur | Hmm, 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.50 | jasonb | Maybe common/lib? |
20:59.36 | JustinArthur | Putting it in there worked. Interesting. |
20:59.42 | JustinArthur | Than ks. |
21:00.36 | jasonb | You're welcome. |
21:09.46 | *** join/#tomcat RizeNine (n=RizeNine@159.218.3.30) |
21:28.53 | MikeG | OK, 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.42 | MikeG | In 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.35 | jasonb | define "maintain carriage returns".. |
21:30.53 | MikeG | My entire document is produced on a single line. |
21:31.32 | MikeG | It is difficult to read for test/debug purposes. |
21:32.21 | MikeG | I'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.44 | MikeG | Of course, I don't have a specific example when I need it, but I'll see if I can reproduce one. |
21:41.14 | jasonb | Define "document", and define "produce". |
21:45.50 | JustinArthur | And 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.38 | wakeman | hi, my tomcat installation does not load classes under webapps/MYAPP/WEB-INF/classes ... do you have hints? |
23:03.57 | jasonb | wakeman: 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.43 | wakeman | jasonb: no they are packageless, i'm reading right now on the faq there are problems with packageless classes... |
23:04.52 | wakeman | could be the problem? |
23:05.17 | jasonb | Might be. |
23:05.38 | wakeman | i'm trying... |
23:05.41 | wakeman | thanks jasonb |
23:06.59 | jasonb | You're welcome. |
23:09.44 | wakeman | jasonb: yes now i have another problem, but seems nicer :) |
23:10.21 | wakeman | org.apache.jasper.JasperException: /forms/next.jsp(1,1) The value for the useBean class attribute UserData is invalid. |
23:10.37 | wakeman | "invalid" ? |
23:11.31 | wakeman | solved... |
23:11.33 | wakeman | thanks |
23:11.51 | jasonb | cool. :) |
23:14.06 | chrismon | HEH |
23:14.10 | chrismon | whoops |
23:14.11 | chrismon | "heh" :) |
23:14.28 | chrismon | wakeman, was the "useBean" not supplied to the JSP? |
23:14.45 | chrismon | jasonb, what are your reservations about Spring? |
23:15.08 | jasonb | chrismon: Well, they may be at least partially unfounded. |
23:15.20 | chrismon | heh |
23:15.55 | jasonb | chrismon: 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.45 | chrismon | what if its justifiable? heh |
23:17.04 | chrismon | i wish i knew more about it and struts to say |
23:17.18 | wakeman | chrismon: i was not providing the complete package in every needed location... |
23:17.43 | chrismon | wakeman, which mvc are you using? |
23:18.39 | wakeman | chrismon: i'dont know :| simply using straight tomcat |
23:18.55 | wakeman | a jsp + a bean |
23:18.57 | jasonb | Well, Struts's mapper is bad. Struts's taglib was okay, until JSTL got more popular. |
23:19.42 | chrismon | yeah i was noticing that as i learn |
23:19.51 | jasonb | According 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.00 | jasonb | So, some of the Spring components are probably fine. |
23:20.00 | chrismon | the advent of a more well round JSTL "hurt" struts |
23:20.29 | jasonb | But, I also heard that lots of Spring is built on AOP, and I have a really bad attitude towards AOP. |
23:21.23 | jasonb | So 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.25 | wakeman | sorry for bein ot but what's a good tag library to begin experimenting with? |
23:22.52 | chrismon | i dont really understand AOP |
23:23.22 | chrismon | wakeman, JSTL |
23:23.31 | chrismon | or you mean you want something more evolved |
23:23.32 | chrismon | ? |
23:23.34 | jasonb | Yeah, JSTL. |
23:23.38 | jasonb | (at least for now) |
23:23.57 | chrismon | heck, i'm still getting used to all this |
23:24.05 | chrismon | i still want to bust out the scriplets all the time ;) |
23:24.33 | wakeman | chrismon: should be more than adequate for now |
23:24.58 | chrismon | JSTL is very convenient... but it feels so clunky |
23:25.48 | chrismon | i dont think its particularly JST's problem |
23:25.53 | chrismon | its the taglib concent in general |
23:26.03 | chrismon | er, concept |
23:28.12 | jasonb | Nah, taglibs are great. |
23:28.22 | jasonb | It's JSTL. :) |
23:28.30 | jasonb | But, even JSTL isn't bad. |
23:37.22 | chrismon | that was my french spelling |
23:37.26 | chrismon | i drop the last letter ;) |
23:44.58 | *** join/#tomcat vinse_ (n=vinse_@208.253.223.146) |
23:46.42 | chrismon | humpty dumpy was a big fat egg |
23:46.48 | chrismon | playin on the wall and he broke his leg |
23:49.47 | jasonb | chrismon: Lets stay on topic, shall we? |
23:50.06 | chrismon | heh, yessir |
23:51.53 | *** join/#tomcat jsisson (n=sissonj@ppp14-84.lns2.syd7.internode.on.net) |
23:52.43 | wakeman | in 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.01 | jasonb | Yes. |
23:53.14 | jasonb | Well, I think so.. if I remember right. |
23:53.23 | jasonb | I'm pretty sure. |
23:53.51 | wakeman | i don't know what to put in them... :| |
23:54.08 | jasonb | Well, you should download them. |
23:56.34 | wakeman | should i use jakarta's or sun's ones? |
23:57.48 | chrismon | use the ones from the same place you got your libraries |
23:57.54 | jasonb | yeah. |
23:58.24 | wakeman | what a mess :( |
23:58.25 | chrismon | arent the tld's included? |
23:58.33 | chrismon | in the jars are resources? |
23:59.01 | wakeman | no, i've downloaded the jars from some obscure site so i deleted them |
23:59.14 | chrismon | [jgabler@jyg lib]$ jar tf standard.jar | grep -i tld |
23:59.14 | chrismon | META-INF/c-1_0-rt.tld |
23:59.16 | chrismon | ... |
23:59.16 | wakeman | now i'm trying to figure out where to download jars&tlds |
23:59.27 | wakeman | ah |
23:59.33 | wakeman | interesting :) |
23:59.40 | jasonb | jakarta.apache.org/taglibs |
23:59.40 | chrismon | i thought so |
23:59.58 | chrismon | i've never had to download them |