00:14.40 | *** join/#tomcat algebra (n=yel@xdsl-84-44-176-93.netcologne.de) |
00:31.31 | CellSeeker | yel is a boring name |
00:31.34 | CellSeeker | algebra is better |
00:31.55 | yel | :) both are the same |
00:32.25 | yel | my name is yel and i love diving into algebra :) |
00:32.44 | CellSeeker | algebra of what |
00:32.59 | yel | mathematics |
00:33.09 | CellSeeker | yes, algebra of what in math |
00:33.20 | yel | nummerique |
00:33.26 | yel | :s |
00:33.29 | CellSeeker | linear algebra, topology, group theory |
00:33.32 | CellSeeker | what type of algebra |
00:33.47 | *** join/#tomcat mnemonic (n=mnemonic@80.91.145.226) |
00:34.09 | yel | linare als auch theorie |
00:34.22 | CellSeeker | francais? |
00:34.29 | yel | oui aussi |
00:34.33 | CellSeeker | alizee? |
00:34.36 | yel | but that was german |
00:34.46 | CellSeeker | peau dolce |
00:35.00 | yel | que ce que tu veut dir ? |
00:35.14 | yel | was willst du sagen ? |
00:35.23 | CellSeeker | guten tag |
00:35.24 | yel | what do you want to say ? |
00:35.34 | yel | auch einen guten Tag |
00:36.05 | CellSeeker | ich bin eine berliner |
00:36.25 | yel | du bist JF kennedy :) |
00:36.52 | CellSeeker | nein, ich bin eine berliner!! |
00:37.06 | yel | and by the way don say ich bin einE since the e mean that your a girl but say ich bin ein Berliner |
00:37.45 | yel | so do you still want to remain eine Berliner ? |
00:37.47 | yel | :) |
00:40.03 | CellSeeker | I'm just trying to say that I'm a donut |
00:40.14 | CellSeeker | what are some hot german girls |
00:40.17 | CellSeeker | that I can find on google |
00:41.44 | *** join/#tomcat algebra (n=yel@xdsl-84-44-177-240.netcologne.de) |
01:03.10 | *** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp) |
01:30.33 | yel | anyone here used luceen ? |
01:33.33 | *** join/#tomcat jsisso1 (n=sissonj@210-0-83-196.nexnet.net.au) |
02:16.14 | *** join/#tomcat unlord (n=nathan@va-71-0-84-155.dyn.sprint-hsd.net) |
02:16.46 | *** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net) |
02:52.27 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
02:52.46 | *** join/#tomcat vinse (n=vinse@ppp-71-139-31-253.dsl.snfc21.pacbell.net) |
05:31.53 | *** join/#tomcat Snuff (n=tbel3393@CPE-149-167-206-230.sa.bigpond.net.au) |
05:35.27 | Snuff | Is it possible to nest server side includes? |
06:16.22 | *** topic/#tomcat by jasonb -> http://tomcat.apache.org Latest stable versions of Tomcat are 5.5.15, 4.1.31, and 3.3.2 If you are a newbie, use the official distribution on Jakarta's site. Be sure to check the log files before you attempt to search for a solution. SLOW-MOTION CHANNEL (we all have jobs): Ask your question, then wait; check back often to see if anybody answered. |
06:18.48 | jasonb | Snuff: As in the old SSI standard? |
06:28.51 | *** join/#tomcat mark2 (n=mark@nbg-dhcp-90.lumison.net) |
07:06.26 | *** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.43) |
07:20.47 | CellSeeker | anyone program in linux? |
07:22.49 | jasonb | Uhh, well, yeah.. although that's not a programming language. :) |
07:28.54 | Snuff | jasonb: Does that mean yes SSI can be nested? |
07:32.43 | *** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp) |
07:35.20 | jasonb | Snuff: I was trying to understand your question. If you're asking about the old SSI standard, I don't actually know it.. and I think that's what you're asking. |
07:37.54 | Snuff | I am using tomcat 5.5 and I think version 2.4. on of the important libraries, I don't what of my system I need to look at. |
07:41.08 | jasonb | But you're using the SSIServlet? |
07:41.22 | jasonb | Or, SSI pages (which aren't JSP pages)? |
07:45.31 | Snuff | I am designing the program and I plan to have jsps including jsps. Also servlets would be forwarding to jsps which include jsps if it makes any difference. Can I do these things? |
07:51.12 | jasonb | Yes. |
07:51.26 | jasonb | That should work fine, as long as you code it right. :) |
07:52.13 | Snuff | Thanks, I just thought about it and worried I might be painting myself into a corner. |
07:53.37 | jasonb | It's good to double check important details like that. |
07:53.57 | *** part/#tomcat vinse (n=vinse@ppp-71-139-31-253.dsl.snfc21.pacbell.net) |
07:54.41 | jasonb | The good news is that both the Servlet API and Tomcat (the implementation of the Servlet container for that API) are both elegant and robust after years of evolution, and can do the things you need them to do. |
08:35.18 | *** join/#tomcat Vanuatoo (n=vanob@213.200.4.246) |
08:42.16 | *** join/#tomcat tomcat-- (n=test@80.224.33.160) |
08:42.31 | tomcat-- | hi, anybody knows how i can remove tomcat banner ? |
08:47.03 | solus | from where? |
08:51.12 | *** join/#tomcat Snuff (n=tbel3393@CPE-149-167-206-230.sa.bigpond.net.au) |
08:51.57 | tomcat-- | from 404 errors, or telnet host 80.. |
08:52.16 | tomcat-- | like mod_security with apache |
08:58.51 | solus | you can customize error pages within your webapp |
08:59.11 | solus | telnet host 80 i dont know |
09:00.21 | tomcat-- | thx :) |
09:38.51 | *** join/#tomcat jsisson (n=sissonj@ppp20-78.lns2.syd7.internode.on.net) |
10:15.05 | *** join/#tomcat linuxfreck (n=freck@p5492BE6E.dip0.t-ipconnect.de) |
11:21.23 | *** join/#tomcat TomTom (n=Thomas@p54B1CB90.dip.t-dialin.net) |
11:23.05 | TomTom | hi there! i've read the manager and deployer docs but i have problems deploying a WAR file which includes a (working) /META-INF/context.xml ... when i deploy the war file the app gets installed but the datasources/parameters defined in the context.xml are not recognized. any idea ? |
11:41.59 | *** join/#tomcat damned (n=vpol@prior.lanck.net) |
11:48.10 | *** join/#tomcat Twilight\ (n=ask@17.84-48-138.nextgentel.com) |
12:05.55 | linuxfreck | TomTom: note that the syntax for datasources changed in 5.5. Though when I tried, it didn't work for me using the correct syntax, too. I didn't investigate further because imo meta-inf/context.xml is useless anyway |
12:19.51 | *** join/#tomcat Iacturus (n=Iacturus@dslb-088-072-033-128.pools.arcor-ip.net) |
12:20.29 | Iacturus | hi all |
12:20.37 | linuxfreck | hi Iacturus |
12:20.39 | Iacturus | i have a question about tomcat |
12:20.47 | linuxfreck | just ask |
12:21.04 | Iacturus | do tomcat start a new thread for ervery request? |
12:21.13 | Iacturus | does.. |
12:21.48 | linuxfreck | tomcat uses one thread per request as required by the specification, but reuses them after the request has finished |
12:23.05 | Iacturus | ok, so if i use something like this: "Process myProcess.waitFor();" tomcat can still handle new requests? |
12:24.08 | linuxfreck | sure |
12:25.06 | Iacturus | where can i read, that tomcat use new thread for every request? |
12:25.19 | *** join/#tomcat noodl (n=noodl@195-97-225-122.onyx.net) |
12:25.44 | linuxfreck | you either read the source code, or trust that tomcat implements the spec correctly and read the servlet specification |
12:26.05 | Iacturus | ok, thx |
12:33.29 | TomTom | linuxfreck: why its useless |
12:34.38 | TomTom | linuxfreck: i want to deploy an application which setup changes all the time depending on which server the war is deployed. and access to the filesystem is forbidden. so i must deploy the war and a context.xml to the server via the management application |
12:36.51 | Iacturus | cu all |
12:40.29 | linuxfreck | TomTom: that usage is ok. I just don't think having META-INF/context.xml within the .war file is any good |
12:46.06 | *** join/#tomcat dreivier (n=dreivier@port-212-202-43-109.dynamic.qsc.de) |
12:47.13 | TomTom | linuxfreck: but you dont use this way of deployment and cant help ? |
12:47.27 | linuxfreck | exactly |
13:34.07 | *** join/#tomcat [TomTom] (n=Thomas@p54B1E90F.dip.t-dialin.net) |
13:36.27 | *** join/#tomcat TomekN (i=tnowak@verso.netventure.pl) |
13:37.10 | TomekN | hello. i've moving to tomcat 5.5 and I have a problem with new context descriptors: |
13:37.45 | TomekN | lets say l've got /home/user/webapps/myapp |
13:38.03 | TomekN | and i want to mount myapp as ROOT context of virtual host myhost |
13:38.10 | TomekN | how do i do it? |
13:38.23 | TomekN | conf/Catalina/myhost/myapp.xml |
13:38.56 | TomekN | with <Context path="" docBase="myapp"/> inside - doesn't work |
13:39.05 | TomekN | neither ROOT.xml |
13:39.20 | linuxfreck | path="" only works inside server.xml |
13:39.21 | TomekN | it mounts always as /myapp |
13:39.50 | TomekN | i see. but tomcat team deprecates that way of defining contexts |
13:40.21 | linuxfreck | it does, for everything but path="" |
13:40.50 | linuxfreck | it uses the filename of the .war or the .xml file as context name |
13:42.55 | TomekN | i see. so i need rollback to server.xml. |
13:42.57 | TomekN | thanks. |
13:43.15 | linuxfreck | np |
14:00.38 | *** join/#tomcat warrior|atwork (n=sphinxy@n1-25-18.dhcp.drexel.edu) |
14:03.10 | *** join/#tomcat lucky_girl (n=c1317c6b@mar75-4-82-230-46-152.fbx.proxad.net) |
14:03.15 | lucky_girl | hello |
14:03.33 | linuxfreck | hi lucky_girl |
14:09.39 | *** join/#tomcat TomekN (i=tnowak@verso.netventure.pl) |
14:09.46 | TomekN | hi again ;) |
14:10.20 | TomekN | another problem with 5.5: i've set up <Context path="" docBase="mywebapp"/> in host |
14:10.36 | TomekN | but context loader mounts it twice |
14:10.41 | TomekN | once as / |
14:10.52 | TomekN | and than as /mywebapp :( |
14:11.11 | linuxfreck | it's a feature :) |
14:11.33 | linuxfreck | don't put those web applications into the webapps dir, because they get auto-deployed |
14:11.59 | TomekN | but i what it to be deployed |
14:12.04 | TomekN | just as / |
14:13.19 | TomekN | webapp loader should know somehow, that it has already deployed that webapp |
14:13.49 | linuxfreck | it doesn't |
14:13.56 | linuxfreck | put the webapp somewhere else |
14:14.44 | TomekN | deployOnStartup="false" will do the job? |
14:16.54 | linuxfreck | if you also have autoDeploy=false, then yes |
14:18.13 | lucky_girl | linuxfreck : I modified somes files located in jsp directory, I launched the war of my webapps by ant but when I deployed the application in tomcat nothing waz changed |
14:21.23 | linuxfreck | I can think of 3 reasons (1) user error and the .war doesn't contain the updated jsps (2) browser cache still holds the old version (3) compiled version of the jsp is newer than the source so tomcat doesn't recompile |
14:52.27 | *** join/#tomcat paddyez (n=paddy@wikipedia/paddyez) |
14:52.33 | paddyez | hi |
14:52.49 | linuxfreck | hi paddyez |
14:57.27 | paddyez | 47 total quite a big community ;-) |
14:58.07 | linuxfreck | we're so leet that we don't need support :) |
14:59.12 | paddyez | *hehe* installation was simple |
14:59.26 | linuxfreck | heh |
14:59.37 | linuxfreck | chances are that you come sometime and ask about mod_jk :) |
15:01.22 | paddyez | maybe |
15:01.56 | paddyez | but I will read the FAQ and the wiki before I do that that ;-) |
15:01.57 | linuxfreck | 50% of all questions are about mod_jk rather than tomcat. and the usual answer is: avoid it if you can |
15:02.11 | lyken | run run for the hills! |
15:02.13 | paddyez | thanks |
15:24.59 | *** join/#tomcat a4akb (i=a4akb@ask13-163.qualitynet.net) |
15:25.34 | a4akb | we all have jobs? |
15:26.24 | warrior|atwork | no, of course not |
15:27.01 | a4akb | warrior|atwork u have a job? |
15:27.46 | warrior|atwork | do you see me "|atwork |
15:27.48 | warrior|atwork | hehe |
15:27.52 | warrior|atwork | yes i do have a job |
15:27.53 | a4akb | :P |
15:27.56 | a4akb | Thats why I asked lol |
15:28.25 | warrior|atwork | silly question dont you think? :) |
15:28.38 | a4akb | not really |
15:28.45 | a4akb | blame it on life which is silly ;p |
15:30.10 | a4akb | some own businesses, some are contractors, come are contractbased free lancers |
15:30.55 | warrior|atwork | brilliant |
15:31.14 | a4akb | life is brilliant |
15:31.24 | a4akb | it is we who mess it up ;) |
15:39.01 | a4akb | ibot yo |
15:39.03 | ibot | Yo wazzaaaap my brotha?! |
15:40.42 | *** part/#tomcat TomekN (i=tnowak@verso.netventure.pl) |
15:46.15 | *** join/#tomcat FreemaniaX (n=Freemani@pcp0011117215pcs.elkrdg01.md.comcast.net) |
15:49.27 | *** join/#tomcat andrownz (n=andrownz@lns-bzn-47f-81-56-251-89.adsl.proxad.net) |
15:58.55 | lucky_girl | re |
15:59.38 | lucky_girl | linuxfrek leaved ? |
16:00.17 | paddyez | yes leftz at 16:18 accordiung to my time |
16:00.48 | lucky_girl | ok thanks |
16:01.58 | lucky_girl | I dont understand why tomcat dont upate a webapps that I had recopiled ? |
16:02.08 | lucky_girl | I dont understand why tomcat dont upate a webapps that I had recompiled ? |
16:02.31 | lucky_girl | the compilation was successful |
16:03.37 | lucky_girl | how to remove the old version from the cach from the browser ? |
16:05.43 | lucky_girl | does some knows some thing plz? |
16:07.40 | *** join/#tomcat Hellaenergy (n=Hellaene@206.231.92.70) |
16:09.47 | a4akb | Hellaenergy: Hi. |
16:29.31 | *** join/#tomcat Camisa (n=Camisa@c-67-176-161-7.hsd1.in.comcast.net) |
16:40.31 | *** part/#tomcat htet (n=htet@taungyi.redback.com) |
16:47.18 | lucky_girl | not so lucky |
16:48.47 | a4akb | lucky_girl what are u trying to do |
16:49.29 | lyken | if its a class file |
16:49.33 | lyken | you have to restart your webapp |
16:49.36 | lucky_girl | I want to upadte a webapps |
16:49.38 | lyken | to re-read the .class files |
16:50.16 | lucky_girl | I recompiled and dployed but I dont say any changes |
16:50.55 | lucky_girl | I restarted |
16:51.07 | lucky_girl | but still nothing |
16:54.19 | a4akb | which OS |
16:54.28 | a4akb | windows 95? |
16:54.38 | lyken | lol |
16:54.45 | lyken | sup a4akb |
16:54.57 | a4akb | windows 3.1 |
16:54.59 | lucky_girl | mandriva |
16:55.02 | lucky_girl | linux |
16:55.07 | a4akb | yo lyken o.O sup ltnc |
16:55.20 | a4akb | lucky_girl: cool |
16:55.31 | lucky_girl | why |
16:55.47 | a4akb | sometimes the Os actsup |
16:56.00 | a4akb | lucky_girl: this sounds silly but did u try restarting the PC |
16:56.22 | lucky_girl | lol |
16:56.58 | *** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.43) |
16:58.46 | lucky_girl | how does the html files are generated ? |
16:59.54 | lucky_girl | how the html files are generated ? |
17:00.01 | a4akb | where? |
17:00.09 | a4akb | on internet? |
17:01.14 | lucky_girl | in ~/Soft/jakarta-tomcat-4.1.31/webapps/apps/ |
17:01.34 | lucky_girl | in ~/Soft/jakarta-tomcat-4.1.31/webapps/apps/*html |
17:02.00 | lucky_girl | is still not clear ? |
17:02.21 | a4akb | lucky_girl: God makes them |
17:03.25 | a4akb | God of Tomcat = jasonb |
17:03.25 | lucky_girl | thanks very instructif |
17:03.38 | a4akb | (implies)=> ask jasonb |
17:03.51 | a4akb | yo jasonb, wakeup |
17:04.42 | lucky_girl | a4akb : what time is it ? |
17:04.45 | a4akb | lucky_girl: when u install tomcat, the html files are bundledin, they just generate on installation |
17:05.36 | lucky_girl | I have to read the book :-) |
17:05.59 | a4akb | exactly! |
17:06.02 | a4akb | :) |
17:08.11 | a4akb | lucky_girl: what are you trying to achieve? |
17:09.02 | lucky_girl | customize a webapp |
17:10.14 | lucky_girl | modify some jsp files |
17:10.15 | lyken | lucky_girl: are you using the java JVM that comes with mandriva? |
17:10.26 | lyken | if so |
17:10.29 | lyken | that might be your porblem |
17:10.37 | lyken | cause the gcc JVM is incomplete |
17:10.40 | lyken | and will break things |
17:11.03 | lucky_girl | no I installed j2sdk1.4.2_09 |
17:21.00 | *** join/#tomcat omay (n=omay@dslb-088-072-039-133.pools.arcor-ip.net) |
18:27.10 | *** join/#tomcat a4akb (i=a4akb@ask10-225.qualitynet.net) |
18:33.39 | *** join/#tomcat paddyez (n=paddy@wikipedia/paddyez) |
18:33.44 | paddyez | re |
18:47.09 | *** join/#tomcat wstoddard (n=wstoddar@cpe-066-057-029-054.nc.res.rr.com) |
18:48.02 | paddyez | is there an opencms chan? |
18:49.10 | a4akb | no |
19:06.12 | *** part/#tomcat vinse_ (n=vinse_@208.253.223.146) |
19:08.24 | *** join/#tomcat slak- (i=slak@rewted.biz) |
19:08.27 | slak- | hi anyone awake? |
19:08.45 | slak- | i want to separate my catalina.out logs by application |
19:08.53 | slak- | app1.catalina.out, app2 |
19:08.54 | slak- | etc |
19:09.01 | slak- | so its easier to see exceptions |
19:09.06 | slak- | can someone suggest a way to do this |
19:10.10 | jasonb | You can't. |
19:10.20 | slak- | how come? |
19:10.22 | jasonb | It isn't written to allow you to do that. |
19:10.31 | slak- | but in tomcat4 it was allowed? |
19:10.36 | slak- | via context |
19:10.45 | jasonb | Nope. Not catalina.out. |
19:11.00 | *** join/#tomcat vinse_ (n=vinse_@208.253.223.146) |
19:11.17 | slak- | okay what about the localhost.log file |
19:11.24 | slak- | that also has the exceptions |
19:12.01 | jasonb | That's different. |
19:12.08 | jasonb | You can split those logs per context. |
19:12.15 | jasonb | err.. per host anyway. |
19:12.29 | slak- | not per context? |
19:13.23 | jasonb | I don't think so. |
19:14.55 | jasonb | Hmm, which version of Tomcat? |
19:14.59 | slak- | 5.5 |
19:16.14 | jasonb | Well, in 5.5, you can't use <Logger> in server.xml.. But, you might be able to tailor the logging in a different way.. in the logging.properties file. |
19:16.52 | slak- | thanks |
19:21.14 | jasonb | I don't know if you can use that to separate exceptions from each context or not. I suppose it may be possible. |
19:27.31 | *** part/#tomcat NorthDragon (n=IzhikovN@213.251.192.43) |
19:32.12 | *** part/#tomcat Hellaenergy (n=Hellaene@206.231.92.70) |
19:51.04 | *** part/#tomcat a4akb (i=a4akb@ask10-225.qualitynet.net) |
20:00.18 | *** part/#tomcat vinse_ (n=vinse_@208.253.223.146) |
20:02.31 | *** join/#tomcat vinse_ (n=vinse_@208.253.223.146) |
20:08.27 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
20:24.15 | *** join/#tomcat NorthDragon (n=IzhikovN@213.251.192.43) |
20:40.23 | NorthDragon | hi...sorry for the simple question, but what difference between catalina.base and catalina.home ? |
20:44.54 | vinse_ | NorthDragon: CATALINA_BASE is used when you want to have one set of tomcat binaries and multiple tomcat instances, i.e. multiple CATALINA_HOME's |
20:45.19 | vinse_ | NorthDragon: if you are only using one tomcat instance dont worry about it and just use CATALINA_HOME |
20:45.32 | *** part/#tomcat jsisson (n=sissonj@ppp20-78.lns2.syd7.internode.on.net) |
20:45.35 | NorthDragon | thank a lot |
20:45.52 | *** join/#tomcat randrew (n=user1@205.sub-70-195-37.myvzw.com) |
20:57.10 | *** part/#tomcat randrew (n=user1@205.sub-70-195-37.myvzw.com) |
21:52.05 | *** join/#tomcat Nexus (n=Nexus@205.214.28.75) |
21:52.44 | Nexus | Ok. I'm completely new to Tomcat, etc. But i've been asked to set it up at work. To get it working with apache, do I need mod_jk2? |
21:56.34 | jasonb | Use mod_proxy. |
21:57.04 | Nexus | mod_proxy? |
21:57.10 | jasonb | Yes. |
21:57.38 | Nexus | :) I'll be honest, I wouldn't have the first clue how to make that work... I've kind of been thrown into the mix... |
21:58.18 | jasonb | Well, read the mod_proxy page in the httpd docs. |
21:59.15 | Nexus | I was curious why mod_jk 2 is depreciated but mod_jk 1.2 is not... |
21:59.53 | jasonb | that's "mod_jk2", not "mod_jk version 2". |
22:00.07 | jasonb | mod_jk2 and mod_jk(1) are just different implementations of the same thing. |
22:00.24 | jasonb | mod_jk2 was a messier codebase. |
22:00.41 | jasonb | mod_jk was cleaner, easier to debug, easier to understand. |
22:01.11 | jasonb | Don't think that mod_jk2 has a higher version number, or is more recent code.. it's not, really. |
22:01.29 | *** join/#tomcat jsisson (n=sissonj@210-0-83-196.nexnet.net.au) |
22:02.19 | Nexus | Gotcha... |
22:02.31 | Nexus | Thank you for the clarification. |
22:02.45 | jasonb | You're welcome. |
22:04.05 | Twilight\ | hmm, this is news for me. why mod_proxy? been using mod_jk myself... |
22:04.49 | jasonb | Twilight\: If it works for you, great. It's just that it doesn't work for most people.. mainly it isn't user friendly enough. |
22:05.21 | jasonb | Twilight\: httpd comes with mod_proxy already, so it's far easier to set up. |
22:05.28 | Twilight\ | i should've known about that when i set it up, it took me a while to figure out ;) |
22:06.03 | jasonb | Twilight\: And, in Apache 2.2, mod_proxy speaks the AJP protocol, so it is just as performant as mod_jk*. |
22:06.10 | Twilight\ | i wasn't at all aware mod_proxy could be used to hook up tomcat |
22:06.27 | Twilight\ | nice |
22:06.33 | jasonb | Twilight\: Well, mod_proxy proxies HTTP requests to another HTTP server, and Tomcat implements an HTTP server, so why not? |
22:06.54 | *** join/#tomcat mick_ (n=map7@teksup41.lnk.telstra.net) |
22:07.09 | Twilight\ | hehe, true enough. just hadn't thought about the option, i guess |
22:07.31 | Twilight\ | no docs on apache/tomcat integration i've read mentions it |
22:07.46 | jasonb | Twilight\: You must not have read our book. |
22:08.32 | Nexus | What's your book? |
22:08.35 | Twilight\ | which book? book as in book-book, or book as in rtfm? ;) |
22:08.42 | jasonb | Twilight\: Tomcat: The Definitive Guide (O'Reilly) |
22:09.13 | jasonb | No, I'm simply mentioning it because it _does_ discuss the pros and cons of each of these, and shows how to use it to connect httpd to Tomcat. |
22:09.27 | Nexus | but mod_proxy is much simpler? |
22:09.32 | jasonb | Yes. |
22:09.54 | jasonb | http://www.oreilly.com/catalog/tomcat/ |
22:09.57 | Twilight\ | ah, i haven't, no. i did read "professional apache tomcat" from wrox, though. but that was, well, a long time ago ;) |
22:10.21 | Nexus | jasonb, I might just have to go buy that... |
22:10.22 | jasonb | You'd probably like ours better. :) |
22:10.33 | jasonb | I'm working on the 2nd edition now. |
22:10.51 | Twilight\ | i was just about to ask, hehe |
22:11.01 | Twilight\ | to cover 5.5? |
22:11.06 | jasonb | Yes! |
22:11.09 | Twilight\ | :) |
22:11.32 | jasonb | Much of what we wrote about 4.1 still applies just fine to 5.5, but some things have changed. |
22:12.09 | jasonb | There's lots of discussion in the book about pros and cons to various approaches, or explanations of why Tomcat is the way it is, and just about all that is the same. |
22:12.25 | Twilight\ | interesting |
22:12.47 | Twilight\ | when is it due out? or is it a done when it's done thing? :) |
22:13.35 | jasonb | Well, it's scheduled to be "done" around may or june, but at this point I doubt I can do that. |
22:14.02 | jasonb | I have fewer hours to dedicate to it right now.. so progress is slow. |
22:14.11 | Twilight\ | heh, nice section: "When Tomcat Won't Shut Down" :) |
22:14.33 | jasonb | Yes, that's a pretty common problem. |
22:15.00 | jasonb | I was imagining people sitting at their computers, all over the place, cursing Tomcat because it wouldn't shut down. |
22:15.12 | Twilight\ | indeed. and not restarting properly. is my experience, anyway |
22:15.14 | jasonb | .. and blaming it all on Tomcat & Java, when the real problem was their own webapp. |
22:15.34 | jasonb | The not restarting properly problem usually stems from bad integration with the OS. |
22:16.27 | jasonb | In my Tomcat RPM package I spent lots of time making sure that my custom init script would reliably restart Tomcat. It isn't easy. |
22:16.28 | Twilight\ | i've got to the point where i know that it's got something to do with my transaction manager (jotm) |
22:17.18 | *** join/#tomcat Camisa (n=Camisa@c-67-176-161-7.hsd1.in.comcast.net) |
22:17.19 | jasonb | Twilight\: Well, if that library creates non-daemon threads and doesn't shut them down, then the Tomcat JVM won't shut down, but Tomcat (the program.. inside that VM) will shut down. |
22:17.38 | *** join/#tomcat yel (n=yel@xdsl-84-44-155-43.netcologne.de) |
22:17.47 | Twilight\ | is that a general java issue (reliably restart and/or shutdown java deamon apps)? |
22:17.54 | jasonb | Yes! |
22:18.01 | jasonb | Most people don't recognize it as such. |
22:19.37 | jasonb | Also, many admins, and even some developers, consider the JVM to be a black box inside which they don't know what's going on.. but when they tell Tomcat to stop they expect the whole JVM to come down promptly. Other software in there may still need/want to run, though.. and without knowing what's going on inside there you won't know that the JVM really shouldn't come down. |
22:19.38 | Twilight\ | i recognize that it may seem kind of strange, but i realize why it's happening (i think) :) |
22:20.31 | jasonb | If you ran the Tomcat JVM inside a debugger (like a JPDA debugger), you could see what's left running in the case where the Tomcat JVM doesn't stop. |
22:20.47 | jasonb | But, most people don't run Tomcat with a debugger attached. |
22:21.06 | jasonb | And, when they need one, they won't take the time to set one up. :) |
22:21.13 | Twilight\ | no, i haven't done that. to scary to hook up a debugger to a black box ;) |
22:21.16 | jasonb | They instead just blame Tomcat & Java. :) |
22:21.49 | Twilight\ | hehe |
22:22.02 | Twilight\ | got to have something to pass the blame on |
22:22.22 | Twilight\ | ;) |
22:23.22 | Twilight\ | you said the restart problem usually stems from bad os itegration... does that mean some specific os', or generally java != very good os integration? |
22:24.01 | jasonb | Most people use Java in a way that doesn't lend itself well to graceful, reliable restarts like what you'd expect from a daemon. |
22:24.47 | Twilight\ | right, just generally then. java deamon is not the same thing as a os deamon |
22:24.53 | jasonb | The fix is to integrate the starting/stopping/restarting better with how the OS does it.. and make it robust enough to recognize and gracefully handle various situations. |
22:26.09 | Twilight\ | not an easy task i take it |
22:26.56 | *** join/#tomcat plexq (n=armtuk@66.216.147.223) |
22:28.59 | jasonb | Not real easy, but doable. |
22:29.19 | jasonb | Twilight\: Which OS brand/distro & version do you run Tomcat on? |
22:30.02 | Twilight\ | gentoo linux, kernel, hmm... 2.6.11 iirc |
22:30.32 | Twilight\ | tomcat 5.0.x, haven't had the chance to upgrade to 5.5 yet |
22:31.25 | jasonb | I'm interested because I'm trying to guage the relative popularity of the OSs in the Tomcat user community. |
22:31.38 | plexq | Any idea what I have to do to get an attribute of a custom tag to accept an expression? |
22:32.16 | *** join/#tomcat kadams (n=java_pro@adsl-80-22-61.bgk.bellsouth.net) |
22:32.26 | jasonb | plexq: Mark your webapp as a Servlet 2.4 webapp in your web.xml file. |
22:33.07 | plexq | hmm - already did that - I'm getting this error from the JSP: results.jsp(17,0) According to TLD or attribute directive in tag file, attribute spacer does not accept any expressions |
22:33.23 | plexq | Expressions are working fine everywhere else |
22:33.43 | jasonb | Hmm. That might be the case. *shrug* |
22:34.13 | jasonb | plexq: Which version of Tomcat are you using? |
22:34.24 | Twilight\ | jasonb: ah. i would think linux is in the majority, but i think a fair amount of those running on linux (production) are developing on windows (with a local tomcat). me being one of them :) |
22:34.45 | jasonb | Twilight\: Yes, that's a common pattern. |
22:35.08 | jasonb | Twilight\: I use Linux on my desktop, and Linux on my server(s). |
22:35.23 | Twilight\ | jasonb: which distro? |
22:35.31 | jedir0x0r | I use Linux everywhere also |
22:35.41 | jasonb | Twilight\: My favorite is Fedora. I run FC4 right now. |
22:36.10 | jasonb | jedir0x0r: Which distro(s)? |
22:36.13 | Twilight\ | fedora is pretty nice |
22:36.48 | *** join/#tomcat phoenix- (i=phoenix@201.22.82.59.adsl.gvt.net.br) |
22:37.15 | Twilight\ | hm, bbl. nice talking to you! ..in case we don't speak later :) |
22:37.29 | jasonb | Twilight\: Nice talking to you as well. I'm usually on here. |
22:42.03 | plexq | seems yo have to supply rtexprvalue true |
23:06.00 | *** join/#tomcat Nexus (n=Nexus@205.214.28.75) |
23:06.35 | Nexus | So, I've got mod_proxy working it looks like, but now I need some mercy... How do I setup tomcat to host my files? |
23:06.48 | Nexus | I'm frantically searching for a howto... |
23:36.30 | *** join/#tomcat algebra (n=yel@xdsl-84-44-154-105.netcologne.de) |
23:49.13 | Nexus | jasonb, You there by chance? |