00:13.19 | *** join/#tomcat DarkHeavy (~drallcome@213.37.68.13) |
08:14.48 | *** join/#tomcat ibot (ibot@rikers.org) |
08:14.48 | *** topic/#tomcat is Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat |
08:36.05 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-1-191.abo.wanadoo.fr) |
08:56.54 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-1-191.abo.wanadoo.fr) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat DarkHeavy (~drallcome@213.37.68.13) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat tang^zzzz ([LRmi9l+63@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat JohnFlux (~john@rms223.oak.man.ac.uk) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat TheSteve0 (~Steve@kelev.stat.yale.edu) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
08:56.54 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
08:56.55 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) [NETSPLIT VICTIM] |
08:56.55 | *** join/#tomcat NeoTron (~neotron@vp121.fr01.gte.blarg.net) |
08:56.55 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
08:56.55 | *** join/#tomcat JakWORK (chris@217.207.98.115) [NETSPLIT VICTIM] |
08:56.55 | *** join/#tomcat lalle (lars@h144n2fls31o267.telia.com) [NETSPLIT VICTIM] |
08:57.00 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
09:00.30 | *** join/#tomcat DarkHeavy (~drallcome@213.37.68.13) [NETSPLIT VICTIM] |
09:00.30 | *** join/#tomcat tang^zzzz ([LRmi9l+63@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
09:00.30 | *** join/#tomcat JohnFlux (~john@rms223.oak.man.ac.uk) [NETSPLIT VICTIM] |
09:00.30 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
10:14.25 | *** join/#tomcat Fila (~chatzilla@ns.aqris.com) |
12:12.00 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-2-249.abo.wanadoo.fr) |
12:12.34 | *** join/#tomcat _3EJIEHbIu_ (~zejiehbiu@62.105.152.154) |
12:16.45 | _3EJIEHbIu_ | hello ppl... I have a question...if you dont mind...(sorry I know english bad). So How-to make a link between Apache 2.0-TomCat-4.1-Cocoon. In other words how can I see the main Cocoon page just typing "localhost/cocoon/". Plz...Help. |
12:19.23 | _3EJIEHbIu_ | Hello...is anybody there? |
12:21.43 | _3EJIEHbIu_ | Is it stupid question...IMHO not. I read FM. |
12:23.33 | _3EJIEHbIu_ | is channel slepping now? :) or everybody so bored or lazy to answer |
12:26.47 | greenman | fuckin' suckin' motherfuckers |
12:37.08 | *** join/#tomcat ShK (~killme@200.160.170.113) |
12:37.12 | ShK | hello |
12:39.41 | ShK | i need a example to how to make various webapps to use the same classpath.. i mean... various directorys like /system1, /system2, use the same directory for the classes... like ROOT/WEB-INF/classes |
12:39.53 | ShK | :) |
12:47.15 | ShK | please! someone! |
13:06.39 | *** join/#tomcat IRCMonkey (~chatzilla@ikizler.tr.net) |
13:15.58 | *** join/#tomcat jdaharsh (~jdaharsh@mrlou.studionorth.com) |
13:16.49 | *** join/#tomcat jdaharsh (~jdaharsh@mrlou.studionorth.com) |
13:17.44 | jdaharsh | anyone dealt with Tomcat losing form POST data? |
13:33.50 | *** join/#tomcat nbinfo (~chatzilla@0x50c471e4.kjnxx2.adsl-dhcp.tele.dk) |
14:33.02 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-1-79.abo.wanadoo.fr) |
15:43.44 | *** part/#tomcat jdaharsh (~jdaharsh@mrlou.studionorth.com) |
15:46.12 | *** join/#tomcat mattam (mat@lns07a-4-97.w.club-internet.fr) |
15:46.55 | mattam | hi! I'm having problems with the CGI servlet and cvsview, do anyone knows of an incompatibility? |
15:52.15 | mattam | err viewcvs |
16:12.53 | *** join/#tomcat Lollero (~lollero@dsl-jklgw2md8.dial.inet.fi) |
16:13.09 | Lollero | Hello |
16:17.41 | Lollero | Why can't i make my tomcat reload modified classes automatically, if classes are shared with all webapps? |
16:18.16 | Lollero | or why doesn't the webapp classloader follow symlinks? |
16:27.38 | Lollero | hmh |
16:43.01 | *** join/#tomcat tobes (~matjc@pc2-shep1-4-cust182.nott-b.cable.ntl.com) |
17:08.13 | *** join/#tomcat {aaron} (blah@aeolus.cit.cornell.edu) |
17:08.17 | {aaron} | anybody use the manager webapps? |
17:08.28 | {aaron} | what do I stick in "Config URL:"? |
17:08.33 | {aaron} | it complains if I have nothing there |
17:26.50 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
17:27.55 | *** join/#tomcat tang^ ([NgxMIqLCF@ahgn23wky5824.ab.hsia.telus.net) |
17:31.02 | Lollero | aaron, sorry can't help |
17:31.56 | Lollero | why cant' i make symbolic link /WEB-INF/classes --> /to/some/dir ? |
17:32.16 | Lollero | i mean, why doesn't it work |
17:32.56 | tang^ | somebody mentioned the other day that symlinks might have been disabled by default in later versions of tomcat |
17:34.44 | Lollero | yes, i know that, but there is option to disable that. my only problem is that it doesn't work |
17:35.20 | Lollero | another solution to my problem is to make webapps shared libraries reloadable. is that possible? |
17:35.27 | tang^ | ahh |
17:37.18 | Lollero | i'm developing this software where i use same classes in different contexts, and it would be nice if i don't have to reboot tomcat after every modification |
17:39.48 | *** join/#tomcat tn0 (~hito@ppp-209-232-54-136.dialup.snfc21.pacbell.net) |
17:41.41 | {aaron} | context reloadable=true |
17:42.00 | {aaron} | i think there is a mechanism to share sets of libraries accross contexts |
17:42.04 | {aaron} | not sure if they are reloadable though |
17:42.54 | Lollero | yes, there is such mechanism, but it's not reloadable, or i can't find any documentation about that |
17:43.37 | {aaron} | does stopping/starting/reloading the context through the manager app work? |
17:43.40 | Lollero | i'm ready to hack my tomcat sources, but i've looked at the code and i'm not sure where to start.. |
17:44.07 | Lollero | aaron, works fine with me |
17:44.18 | {aaron} | so it does reload shared libs? |
17:44.25 | Lollero | no :( |
17:44.33 | {aaron} | hrm bummer |
17:45.03 | {aaron} | maybe you could do something stupid like putting those libs in a context and making the context crosscontext? |
17:45.17 | {aaron} | or whatever...putting the instances in a global space... |
17:45.23 | {aaron} | not sure if that would work |
17:45.24 | tn0 | i think it only reloads the one in common/lib and lib/ but am not 100% sure |
17:45.34 | {aaron} | i don't think it even reloads those |
17:45.40 | {aaron} | i think it just reloads the context libs |
17:45.53 | Lollero | yes. that's how it works |
17:46.17 | lalle | Anyone know how to have an servlet as a welcome-file? |
17:46.30 | tn0 | context lis is the one in WEB-INF/lib ? |
17:46.36 | Lollero | tn0, yes |
17:46.38 | tn0 | *lib |
17:46.46 | *** join/#tomcat johndaharsh (~jdaharsh@mrlou.studionorth.com) |
17:47.05 | tn0 | well no, am sure the one in WEB-INF/lib does not get reloaded |
17:47.20 | {aaron} | lalle: put the path in the welcome file list, then map a servlet to that path |
17:47.25 | Lollero | hmm |
17:47.38 | Lollero | tn0, i'm sure that classes in WEB-INF/classes get reloaded |
17:48.16 | Lollero | just tested it today |
17:48.45 | Lollero | but i don't want to copy my classes for every context... |
17:52.23 | *** join/#tomcat Stone79__ (~chatzilla@algore.flyerone.com) |
17:52.50 | tn0 | a quote from jason hunter book "Servlet reloading is not performed for classes found in the server's classpath (such as server_root/classes) because those classes are loaded by the core, primordial, class loader." now what is considered server_root/ ? |
17:54.33 | jasonb | tn0: Just about anything that isn't in the webapps/ dir tree. |
17:55.35 | tn0 | jasonb: oh okay thanks for the clarification |
17:55.52 | Lollero | actually atleast tomcat 4.x works differently |
17:56.07 | Lollero | or thats what 'Professional Apache Tomcat' says |
17:56.47 | Lollero | but i don't have that book now here with me.. so no quotes |
17:58.50 | tn0 | anyone know which config parameter i need disabling so Struts doesnt need to look for a dtd file? |
18:08.17 | jasonb | tn0: Servlet reloading in Tomcat 4.x still basically adheres to what Jason Hunter said. Any servlet classes in the webapps/ tree may be reloaded, plus there's the $CATALINA_HOME/shared/ dir where webapps may share classes. I believe those also can be reloaded.. |
18:09.00 | Lollero | jasonb, really? i'm looking for solution just for that.. |
18:09.22 | Lollero | i havn't been able to make those shared classes reloadable |
18:09.34 | tn0 | jasonb: but the newer 4.x doesnt have the share directory anymore? |
18:09.36 | jasonb | Lollero: Really? Hmm.. |
18:10.02 | jasonb | tn0: I'm pretty sure 4.1.x (newer ones) have shared/. |
18:10.14 | Lollero | th0, yes there is |
18:10.25 | Lollero | but it's not reloadable :( |
18:10.29 | jasonb | I suppose it could be that the shared ones aren't reloadable, but I'd be surprised. |
18:10.51 | tn0 | renamed it to something else, i dont see it as shared/ |
18:10.56 | tn0 | ? |
18:11.35 | Lollero | jasonb, so am i |
18:11.45 | tn0 | oh the 4.1.12 does have it, i guess this other copy of mine, didnt have the shared/ |
18:11.55 | Lollero | i mean, i'm suprised. |
18:12.27 | Lollero | i've been bashing my head to wall last two days because of this |
18:20.18 | *** join/#tomcat insin (insin@pc2-blfs1-5-cust220.blfs.cable.ntl.com) |
18:21.22 | *** join/#tomcat toni_ (~toni@dsl-hki0e07.dial.inet.fi) |
18:21.30 | toni_ | I want to use servlets from my apache 2.0 web server, what should I use? tomcat4 and mod_webapp? |
18:23.35 | jasonb | toni_: All possible choices have something wrong with them, but I suggest either mod_jk or mod_jk2. mod_jk is old and about to be replaced by mod_jk2, but at least it's stable. mod_jk2 is newer and will be the thing to use, only it currently has some bugs. |
18:23.56 | toni_ | what's mod_webapp then? |
18:24.11 | jasonb | toni_: It's not very supported now.. and the code is mainly stagnant. |
18:24.47 | tn0 | you may want to browse the tomcat-users list, lots of lil issues with mod_webapp at least from my observation |
18:24.51 | jasonb | toni_: Plus, my company tried to use that, and eventually had to replace it with mod_jk because there was something important that mod_webapp just didn't implement. |
18:25.44 | jasonb | Lollero: What jar/classes are you trying to reload from shared/? What's the package name? |
18:25.54 | toni_ | ok |
18:26.15 | toni_ | well what connector do you suggest? ajp13? |
18:27.07 | Lollero | jasonb, it's my own package |
18:27.09 | jasonb | toni_: That's the protocol I'd suggest (unless they're calling it ajp14 with mod_jk2 now), and I'd suggest that you try to use mod_jk2. |
18:27.29 | jasonb | Lollero: Okay. And when you try to reload them, you don't get any errors in the log files, do you? |
18:28.53 | Lollero | how i'm supposed to reload those shared classes? |
18:29.14 | tobes | quick q if I run apachectl start can I specify a different config file to use? |
18:29.44 | tn0 | only the servlets (calling those support classes) gets reloaded right not the supporting classes? |
18:29.54 | tobes | wrong window sorry |
18:32.07 | Lollero | i have my servlet also in same package, and it's not reloaded either |
18:34.18 | tn0 | touch the servlet or changed its timestamp? |
18:35.26 | Lollero | umm |
18:35.39 | jasonb | Lollero: You have to have reloadable="true" set on your webapp's <Context> element. If you have that, then it should just automatically reload if there's a change on disk, I think. |
18:36.04 | Lollero | jasonb, yes it does, but not those in shared/classes |
18:36.19 | jasonb | hmmm |
18:36.51 | Lollero | should it? |
18:37.07 | Lollero | this book 'Professional Apache Tomcat' says it doesn't |
18:38.01 | Stone79__ | Hello, anyone here familiar with what the HostConfig class does in tomcat |
18:38.34 | jasonb | I don't know if it should or not. I'm looking at the code. |
18:39.03 | Lollero | ok |
18:39.20 | Stone79__ | * Startup event listener for a <b>Host</b> that configures the properties |
18:39.35 | Stone79__ | * of that Host, and the associated defined contexts. |
18:44.35 | Lollero | where should i put debug=n if i want to see debug info for classloaders |
18:44.37 | Lollero | ? |
18:44.59 | Lollero | should there be some info in logfile if class gets reloaded? |
18:45.57 | tn0 | the docs didnt have samples how to use those classloaders nor how to configure, it show what parameters there are :( |
18:46.46 | jasonb | <PROTECTED> |
18:46.46 | jasonb | <PROTECTED> |
18:46.46 | jasonb | <PROTECTED> |
18:46.46 | jasonb | <PROTECTED> |
18:46.46 | jasonb | <PROTECTED> |
18:47.03 | *** join/#tomcat Ta_Na_Mente_25 (~Merla@200.252.126.115) |
18:47.15 | jasonb | That shows that it will log some info when a resource was modified (like a servlet jar file or class file). |
18:47.56 | *** part/#tomcat Ta_Na_Mente_25 (~Merla@200.252.126.115) |
18:48.26 | Lollero | well, it doesn't even notice if i delete my servlet class file |
18:48.36 | Lollero | IF it is in shared/classes |
18:50.14 | Lollero | in WEB-INF/classes it works fine |
18:51.02 | jasonb | Lollero: Go through your server.xml file and add debug="99" to the Engine and to the Context and see if either one shows reloading logging afterwards. If not, add debug="99" to more elements and try again. |
18:51.23 | jasonb | Lollero: Once you have it logging info about reloads, then try to reload something in shared/ and see if it says anything. |
18:51.45 | Lollero | but how do i try to reload something in shared? |
18:52.45 | jasonb | Lollero: Put a servlet class *only* in shared. Access it once, then modify the servlet class in the shared/ tree, then access it again, and look at the log file. |
18:53.11 | Lollero | ok, i'll try |
18:54.06 | Stone79__ | Does anyone here have an understanding of how the HostConfig class |
18:54.12 | Stone79__ | work |
18:55.19 | jasonb | Use the Source, Luke! |
18:55.20 | tn0 | i dont but we can look at it together and see if it will help you and i understand it, okay? |
18:57.31 | Lollero | ahh, tomcat startup takes too long.. |
18:57.59 | jasonb | Lollero: There's a lot to start up. |
18:58.27 | Lollero | yes, im not really complaining.. great software |
19:00.02 | jasonb | :) |
19:00.11 | tn0 | and you cant just shut it down and immediately restart, i always get a bind error when i do that |
19:00.41 | Lollero | yeah |
19:00.44 | jasonb | tn0: Let me guess: you wrote a little script that automatically shuts Tomcat down and restarts it immediately? |
19:01.28 | Lollero | jasonb, i tried settin all debug="99" and all what you suggested, but i don't see anything in logs about reloading.. |
19:01.41 | tobes | does it matter weather tomcat or apache are started first, as long as you leave them long enough to start up? |
19:01.52 | jasonb | Lollero: Reloading in webapps/ or shared/? |
19:01.58 | Lollero | shared |
19:02.20 | jasonb | Lollero: And you successfully got logging info about reloading in webapps/ first? |
19:02.36 | Lollero | umm.. i did take a shortcut ;) |
19:02.39 | Lollero | i'll try that |
19:04.20 | tn0 | jasonb: no even just a one line command such as ./shutdown.sh;./startup.sh fails |
19:04.38 | jasonb | tn0: And it should. |
19:05.01 | tn0 | yeah not enuff time for tomcat to cleanup |
19:05.28 | jasonb | tn0: Shutting down tomcat is an asynchronous kind of operation. |
19:06.07 | jasonb | tn0: The client just tells Tomcat, "Hey, when you get a chance, shut down, ok?" And Tomcat replies back, "Sure, when I get a chance." Then the client exits. |
19:06.08 | tn0 | yes, but we live in fast food society, hehehe |
19:07.25 | tn0 | however, i believe i got around it using the os killing the process, immediate death. |
19:07.39 | Lollero | jasonb, i see reloading in logs when using WEB-INF/classes.. |
19:07.52 | jasonb | tn0: You can do that for development, but I don't suggest that you do that in production. |
19:08.08 | Lollero | WebappClassLoader: Resource '....' was modified;.. |
19:08.10 | tn0 | jasonb: i agree wholeheartedly just for development |
19:08.13 | jasonb | Lollero: Okay. |
19:08.30 | Lollero | nothing in logfiles when using from shared/classes |
19:08.46 | jasonb | Lollero: I'm glad you finally have log info about it now. |
19:09.10 | Lollero | yes, but this doesnt solve my problem |
19:09.13 | jasonb | Lollero: Try removing the debug="99" from one of the elements in server.xml to see which one causes the log info. |
19:09.40 | jasonb | Lollero: We'll get to it.. |
19:10.16 | Lollero | okay, this just is considering my job and time is here about 9PM :) |
19:10.23 | Lollero | but that's okay |
19:11.06 | jasonb | Lollero: Just out of curiosity, have you asked about this on one of the Tomcat mailing lists? |
19:11.42 | Lollero | not yet. |
19:11.55 | Lollero | GREAT. damn. i lost connection to my devel server :( |
19:12.21 | Lollero | i've searched archives but found nothing |
19:12.54 | tn0 | about classloading? there's plenty mentioned under tomcat-users |
19:16.22 | Lollero | i'm sure about that, but i've found nothing aboout this.. |
19:17.45 | tn0 | let me try, what topic you want me to search it under? reloading of classes, ill try this now |
19:18.37 | Lollero | i guess it should be reloading of shared classes or something like that |
19:18.52 | Lollero | because class reloading in WEB-INF/ works ok |
19:20.09 | tn0 | varying answers, some says it works one time, next it dont, it works on other times..hehe |
19:21.26 | tn0 | ill post you on pm a response from craig |
19:23.20 | Lollero | and this was about shared classes? |
19:23.34 | Lollero | weird |
19:24.20 | tn0 | he didnt specify which..but that was his response to question on reload a modified class |
19:27.05 | Lollero | jasonb, when i set Context debug="99" i get those reload lines in my log |
19:27.27 | jasonb | Lollero: Cool. Thanks. It's helpful to know exactly which one does that. |
19:29.08 | jasonb | Lollero: FWIW, I can't find any Tomcat mailing list messages specifically about the problem of not being able to reload classes in the shared/ directory. |
19:29.43 | Lollero | neither do i |
19:29.59 | Lollero | so i'm wondering is it supposed to reload those classes |
19:35.45 | tn0 | wait ta minute, if you said jason hunter quote is correct, ie anything not below webapps/ is considered part of server_root then tomcat/shared/ is part of server_root or I misunderstood the quote? |
19:36.17 | *** join/#tomcat zoran (~chatzilla@node10775.a2000.nl) |
19:37.41 | *** join/#tomcat zoran (~chatzilla@node10775.a2000.nl) |
19:38.53 | jasonb | tn0: Looking at the code, you could be right about that.. but I'm not done verifying that yet. |
19:42.09 | Lollero | clearly it's not even trying to reload shared classes. |
19:42.29 | tn0 | and it should not per this.. |
19:42.40 | tn0 | http://marc.theaimsgroup.com/?l=tomcat-user&m=103401900831919&w=4 |
19:43.59 | jasonb | <PROTECTED> |
19:44.00 | jasonb | <PROTECTED> |
19:44.00 | jasonb | <PROTECTED> |
19:44.00 | jasonb | <PROTECTED> |
19:44.00 | jasonb | <PROTECTED> |
19:44.00 | jasonb | <PROTECTED> |
19:44.03 | jasonb | Ugh. |
19:44.13 | Lollero | oh.. :( |
19:44.20 | Lollero | which class is that? |
19:44.30 | tn0 | this is the StandardClassLoader you are looking at? |
19:44.32 | jasonb | That's StandardClassLoader, which is used for shared/lib and shared/classes. |
19:45.33 | Lollero | well.. damn |
19:45.59 | Lollero | what do you think, would it be too difficult to add that checking? |
19:46.10 | Lollero | because i'm ready to hack my tomcat for this |
19:46.50 | Lollero | i'd do that just to speed up development |
19:47.18 | jasonb | Lollero: I think it could be added, but I'm not so sure how easy it would be. It may be easy, I just don't know yet. |
19:47.40 | Lollero | jasonb, me either.. |
19:48.20 | tn0 | um perhaps because of the java way of classloading delegation |
19:48.47 | tn0 | lets think about it for a moment |
19:49.23 | tn0 | if it is sitting on the shared dir it uses StandardClassLoader right |
19:49.27 | jasonb | If there's a jar that *only* exists in shared/lib, my question is: why shouldn't that be reloadable? |
19:49.35 | jasonb | tn0: Yes. |
19:50.06 | jasonb | But, I think SharedClassLoader is also used for other dirs like server/lib, which probably don't want to be reloadable. |
19:50.13 | jasonb | But, we could make a subclass just for shared/ too. |
19:50.43 | jasonb | (with reloading capabilities) |
19:51.00 | jasonb | The WebappClassLoader does reloading, so what I'd do is model after that one. |
19:52.06 | tn0 | well i guess if Tomcat only uses the StandardClassLoader once during startup and never again, then those jars/classes in those particular directory never gets reloaded |
19:52.34 | *** join/#tomcat benm (~user@pool-141-154-124-251.bos.east.verizon.net) |
19:53.49 | tn0 | i dont know where you would look to see how tomcat uses that StandarClasLoader |
20:01.24 | jasonb | tn0: The source. :) |
20:11.35 | Lollero | well.. |
20:12.04 | Lollero | another solution (not so good) is to allow symbolic links from WEB-INF/classes .. |
20:12.26 | Lollero | but looking at the code, i couldn't find anything related to that |
20:12.45 | jasonb | I'm not sure that would work either, and yeah, it's a very bad solution. |
20:13.33 | tn0 | oh read that list, there were people having problems with symlinks too, |
20:13.47 | jasonb | Yup. |
20:14.40 | Lollero | yes i've read it, and anything about allowLinking="true", but it doesn't work |
20:31.06 | Lollero | i'm givin up for today. thanks for your help |
20:31.14 | Lollero | bye |
20:38.46 | *** join/#tomcat shinta (~shinta@66.97.15.2) |
20:42.28 | *** join/#tomcat wasabi (~jhaltom@64.25.11.66) |
20:42.32 | shinta | I have a java applet that will open up a new browser with a url of blah.com/blah.jsp?prodnum=xxx...with xxx based on the result of the prodnumber of the java applet..now is there a way inside my blah.jsp to grab that xxx and assign it to a value? |
20:42.40 | shinta | to a variable rather |
20:42.53 | wasabi | Anybody know a good way to run some code when a session expires? Specifically to clean up some temp files. |
20:52.00 | *** join/#tomcat fabio (~fabio@3ffe:1001:7a0:0:0:0:0:1) |
20:52.07 | fabio | hello |
20:52.27 | fabio | is anything changed with new tomcat configuration about virtualhosts? |
21:21.05 | wasabi | How do you make a context in tomcat run with highest permissiosn? |
21:25.20 | toni_ | I'm not getting my servlets to work. is there a simple tutorial somewhere for apache2/tomcat4.1/mod_webapp? I'd hate to use mod_jk. it just says 'web application not deployed'. it isn't finding /webapp-info either. |
21:26.21 | toni_ | oops, it was /webapp-info/ |
21:28.36 | toni_ | how does the WebAppDeploy line go? I have a HelloClientServlet.class in /var/www/Servlets. what am I supposed to put here |
21:56.41 | toni_ | 1. go to #tomcat |
21:56.42 | toni_ | 2. ? |
21:56.48 | toni_ | 3. problem solved |
21:57.47 | toni_ | does mod_jk2 support WARP protocol? |
22:25.05 | toni_ | so why the fuck do we have mod_jk, mod_jk2 and mod_webapp, not to mention the numerous connector protocols? why the fuck would anyone want to run tomcat standalone? wouldn't it be easier for everyone if the main development was for a simple apache module? |
22:28.07 | tang^ | umm I run tomcat standalone... I have so little static content that it doesn't make sense to run apache and tomcat together |
22:28.40 | toni_ | you have a real production site, or just some little hobby of yours? |
22:29.14 | toni_ | couldn't it be run on a basic apache with a simple DSO module that serves servlets, too? you are running most of the freaking apache code right now, aren't you, with tomcat? |
22:30.08 | tang^ | *shrug* I don't look at the internals of how my server works, I just write the site code |
22:31.01 | toni_ | yeah. configuring this is just a load of bullshit. not to mention I'm sure we'd all be pretty much more efficient if just had a single server that served both static and servlet content. |
22:32.13 | tang^ | sure, tomcat in standalone mode |
22:33.24 | toni_ | and how do you get mod_perl support for that? or mod_limitipconn? |
22:34.35 | tang^ | I'm writing servlets... I don't need perl |
22:37.02 | toni_ | yeah. listen, I'm sure standalone tomcat fits your needs. I'm talking about the rest of the Internet as it usually stands out. I'm betting 99% of the sites on the Internet that somehow use servlets also use perl, or mod_limitipconn, or wtf ever that isn't supported in tomcat standalone. that's the problem with free open source software.. people use it because it's free, not because it's better. that means you can make crappy software as long as you're |
22:42.10 | jasonb | toni_: There is some crappy free open source software out there. But, I also don't believe that, for instance, Linux (free) is crappier than Windows (non-free). |
22:44.45 | toni_ | yeah, I love linux, I just hate the path tomcat has taken. do you know the beatles song 'get back'? |
22:45.00 | toni_ | shit, I hope all open source software perish from the face of the earth as we know it |
22:46.12 | jasonb | perl -e '$r="rules";$r=~s%^(.)()%$1$2%;$a=$1;$a++;$r=~s~r~$a~;$y=$^F+ord a;$y=chr($y);$r=~s+l+$y+;$r=~s-^(...)(.)-$1k-;print"Perl $r.$/"' |
22:47.21 | tang^ | says the person using the open source bitchx |
22:48.15 | tang^ | jasonb: what the? |
22:48.51 | jasonb | tang^: Run it on the command line and you'll see what I mean. |
22:49.07 | tang^ | oh, duh |
22:49.12 | tang^ | laugh |
22:49.13 | jasonb | :) |
22:53.25 | *** join/#tomcat ibot (ibot@rikers.org) |
22:53.25 | *** topic/#tomcat is Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat |
23:32.45 | *** join/#tomcat tang^ ([NgxMIqLCF@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat tobes (~matjc@pc2-shep1-4-cust182.nott-b.cable.ntl.com) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat mattam (mat@lns07a-4-97.w.club-internet.fr) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat JohnFlux (~john@rms223.oak.man.ac.uk) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat DarkHeavy (~drallcome@213.37.68.13) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat TheSteve0 (~Steve@kelev.stat.yale.edu) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) [NETSPLIT VICTIM] |
23:32.45 | *** join/#tomcat NeoTron (~neotron@vp121.fr01.gte.blarg.net) |
23:32.46 | *** join/#tomcat JakWORK (chris@217.207.98.115) [NETSPLIT VICTIM] |
23:32.46 | *** join/#tomcat lalle (lars@h144n2fls31o267.telia.com) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat lalle (lars@h144n2fls31o267.telia.com) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat JakWORK (chris@217.207.98.115) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat NeoTron (~neotron@vp121.fr01.gte.blarg.net) |
23:45.45 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat TheSteve0 (~Steve@kelev.stat.yale.edu) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat DarkHeavy (~drallcome@213.37.68.13) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat JohnFlux (~john@rms223.oak.man.ac.uk) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat mattam (mat@lns07a-4-97.w.club-internet.fr) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat tobes (~matjc@pc2-shep1-4-cust182.nott-b.cable.ntl.com) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
23:45.45 | *** join/#tomcat tang^ ([NgxMIqLCF@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |