00:14.28 | *** join/#tomcat kio (~kio@adsl-66-122-62-60.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
00:14.28 | *** join/#tomcat Twi (~Twi_Lapto@msgext.cmc.optus.net.au) [NETSPLIT VICTIM] |
00:22.37 | *** join/#tomcat IRCMonkey (~chatzilla@pfrp.soest.hawaii.edu) |
00:23.02 | *** part/#tomcat IRCMonkey (~chatzilla@pfrp.soest.hawaii.edu) |
01:00.40 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
01:24.36 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
01:28.23 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
01:37.18 | *** join/#tomcat ph0enix (~phoenix@201-3-201-91.jvece7003.dsl.brasiltelecom.net.br) |
03:50.54 | *** join/#tomcat valmont (~chrisholl@valmont.bronze.supporter.pdpc) |
04:24.45 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:02.09 | *** join/#tomcat Marty (~dfgdfg@modemcable089.40-202-24.mc.videotron.ca) |
05:02.22 | Marty | hello |
05:02.35 | Marty | it's an help channel? |
05:08.27 | *** join/#tomcat Marty (~dfgdfg@modemcable089.40-202-24.mc.videotron.ca) |
05:13.19 | lyk3n | yes it is |
05:13.20 | lyk3n | sometimes |
05:13.23 | lyk3n | if we are feeling nice |
05:13.36 | lyk3n | and your question isnt bleedingly obvious in the documentation :) |
05:15.39 | *** part/#tomcat kio (~kio@adsl-66-122-62-60.dsl.sntc01.pacbell.net) |
05:53.36 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
06:19.11 | *** join/#tomcat Valentin- (~jhiemer@62.40.10.39) |
07:20.00 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
07:45.22 | *** join/#tomcat HughWork (~Hugh@chinook.mxtelecom.com) |
07:59.37 | *** join/#tomcat loquace (~seb@aqu33-4-82-233-55-6.fbx.proxad.net) |
08:00.35 | loquace | io |
08:48.02 | *** join/#tomcat joered (~chatter@213-140-6-118.fastres.net) |
10:35.15 | *** join/#tomcat harpoon (~stueber@fw.infonyte.net) |
11:08.32 | *** join/#tomcat Marty (~dfgdfg@modemcable089.40-202-24.mc.videotron.ca) |
11:16.10 | *** join/#tomcat Heuro (Heuro@pc12444.Mathematik.Uni-Marburg.DE) |
11:24.07 | *** part/#tomcat Marty (~dfgdfg@modemcable089.40-202-24.mc.videotron.ca) |
11:35.01 | *** join/#tomcat harpoon (~stueber@fw.infonyte.net) |
12:03.00 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
12:08.38 | *** join/#tomcat leptom (~leptom@62-15-242-5.inversas.jazztel.es) |
12:08.41 | leptom | hi |
12:18.07 | leptom | bye |
12:34.27 | *** join/#tomcat Sathamoth (~nzhuk@YZDXCV.dsl.saunalahti.fi) |
13:10.40 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
13:10.53 | *** join/#tomcat Valentin- (~jhiemer@62.40.10.39) |
13:34.22 | *** join/#tomcat jon_ (~jon@cpc1-rdng9-3-0-cust219.winn.cable.ntl.com) |
13:36.37 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
13:41.08 | jon_ | Can I specify in webapp/WEB-INF/web.xml that the app should be deployed to http://host/somename rather than http://host/webapp ? |
13:42.08 | *** join/#tomcat b4before (~gonzalo@r200-125-13-24-dialup.adsl.anteldata.net.uy) |
13:43.18 | *** join/#tomcat zulu905 (~zulu909@anyone.baf.bonnier.se) |
13:44.40 | b4before | hi... i'm tying to configure the isapi redirector whith tomcat 5.5 and iis 6.0 |
13:44.47 | jon_ | In particular, I would like to have webapp-1.0.0/ be accessed via http://host/webapp rather than http://host/webapp-1.0.0/. |
13:45.34 | b4before | i've read the howto http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html and follow it |
13:46.33 | b4before | but not work |
13:46.46 | b4before | anyone has a solutions to this |
13:55.19 | randrew | b4before: check the docs on configuring a context http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html you can set the context path to whatever you wish |
13:59.41 | b4before | randrew: i'm think the error is'nt this, when i add the filter in iis manage console and restart, the green arrow not appear |
14:00.33 | randrew | b4before: sorry, that hint was for jon_ |
14:00.51 | randrew | jon_: check the docs on configuring a context http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html you can set the context path to whatever you wish |
14:01.19 | *** join/#tomcat The_Machine (~Nunya@67-36-233-238.ded.ameritech.net) |
14:01.23 | jon_ | randrew: thanks, I am just reading it now. |
14:01.48 | The_Machine | Question about port 8443: we have a lots of clients connecting to us via SSL that are having problems. What is the common practice using 8443 & SSL? |
14:01.54 | The_Machine | to have 443 forwarded over to 8443? |
14:02.17 | The_Machine | it seems that many clients don't allow the outbound 8443 traffic, therefore aren't able to connect to the site. |
14:02.36 | The_Machine | Are they.. just supposed to allow outbound 8443 now? Or is there a more practical/common way of going about things? |
14:03.12 | b4before | randrew: i've add the virtual directory whith execute permission, add the web server extension whith alow |
14:14.33 | randrew | b4before: sorry, i don't know about iis |
14:16.32 | randrew | The_Machine: "When HTTP/TLS is being run over a TCP/IP connection, the default port is 443." http://www.faqs.org/rfcs/rfc2818.html |
14:16.55 | The_Machine | Thanks for your reply randrew. :) |
14:17.29 | The_Machine | (Although i don't understand it) |
14:18.13 | *** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de) |
14:19.05 | randrew | The_Machine: 8443 is an arbitrary port. Using 8443 may make things easier on the server side if you don't have the privilege of using port 443. |
14:19.51 | The_Machine | It seems that by default tomcat is configured for 8443 though. Is there anything we should be cautious about when changing it to 443? |
14:20.25 | randrew | The_Machine: if you are running a production system for the general public, using port 443 is best. |
14:21.20 | The_Machine | Great. Thanks. |
14:26.02 | The_Machine | Our software vendor is saying they don't want it to be 443.. sigh.. something about it being below port 1024.. making no sense.. |
14:29.12 | linuxfreck | The_Machine: on unix and linux systems, tomcat must be startes by the root user if it should open ports below 1024 |
14:29.28 | linuxfreck | you can use jsvc for that though |
14:29.34 | randrew | The_Machine: Port numbers less than 1024 are reserved for use by privileged processes. |
14:30.18 | The_Machine | i see - we dont have it running under root |
14:37.00 | randrew | The_Machine: you can run tomcat behind apache and start apache as root, or use jsvc to start tomcat http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html |
14:37.43 | randrew | The_Machine: those options would require root to start the process, then the apps "drop" the privelege, for instance apache (httpd) might run as user 'www' |
14:40.44 | The_Machine | thanks for telling me about this randrew. |
14:41.20 | The_Machine | Our software provider doesn't provide a whole lot of support .. yet they do restrict how it's going to be run if they are going to provide what little support they offer. It stinks. |
14:41.56 | The_Machine | Basically the expectation is to run tomcat stand alone, run it as a non root user, and require clients to connect over 8443 |
14:42.14 | The_Machine | though it's inconvenient as some can't connect, seemingly because they're not allowing 8443 outbound. |
14:42.16 | The_Machine | BLEH. |
14:43.17 | randrew | The_Machine: Yeah, it's not surprising that someone might disallow 8443 out on a firewall. |
14:52.02 | *** join/#tomcat ocnarfid3 (~ocnarfid@h-68-167-79-158.nycmny83.covad.net) |
14:52.53 | ocnarfid3 | Hello. My JSP's are re-compiling after about 5mins, but I don't think I have any config to tell it to. Any idea where to look? Tomcat 4.1.x |
15:39.56 | crackhead | good morning everyone |
15:40.52 | *** join/#tomcat cilquirm (~Soda@65.246.162.129) |
15:48.01 | *** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
15:56.26 | *** join/#tomcat Garnele (~Garnele@217-162-54-193.dclient.hispeed.ch) |
15:58.27 | *** join/#tomcat Alexys (~Alexys@201.245.131.106) |
15:58.58 | Alexys | jasonb, buenos dias, estas por aqui? |
16:01.57 | Alexys | Hola amigos, alguien que hable español? |
16:04.22 | cilquirm | un poqito |
16:07.47 | Alexys | cilquirm, me puedes colaborar con un listener? |
16:09.19 | cilquirm | un momento, babelfish to the rescue |
16:09.29 | The_Machine | heh |
16:09.33 | Alexys | can you help me with a listener? |
16:09.47 | cilquirm | de que tipo? |
16:10.08 | Alexys | hummm i don't know, before this work, but now not work |
16:10.20 | cilquirm | show me |
16:10.25 | Alexys | <listener> |
16:10.25 | Alexys | <PROTECTED> |
16:10.25 | Alexys | <PROTECTED> |
16:10.25 | Alexys | <PROTECTED> |
16:10.25 | Alexys | <PROTECTED> |
16:10.28 | Alexys | <PROTECTED> |
16:10.30 | Alexys | <PROTECTED> |
16:10.32 | Alexys | <PROTECTED> |
16:10.34 | Alexys | this is good? or is wrong? |
16:10.51 | Alexys | there is a error of sintaxis? |
16:11.59 | cilquirm | un momento, estoy comparando con mi web.xml |
16:12.07 | Alexys | ok thank you |
16:16.03 | cilquirm | is that <context-param> new? |
16:16.10 | cilquirm | i don't think i've ever used it |
16:16.22 | cilquirm | and your listener class doesn't have a package? |
16:16.51 | Alexys | realy <context-param> i don't need |
16:17.05 | Alexys | and listener class don't have package |
16:17.22 | cilquirm | ok |
16:17.28 | cilquirm | you don't need listener-name either |
16:17.43 | cilquirm | what error you getting? |
16:17.53 | Alexys | 1 sec, i translate |
16:19.22 | Alexys | i need the listener for my conection database, but when i try in http://foo:8080/servlet/Autenticar the tomcat say me this: |
16:19.35 | Alexys | Estado HTTP 404 - /servlet/AutenticarDrake |
16:19.45 | Alexys | El recurso requerido (/servlet/AutenticarDrake) no está disponible. |
16:20.04 | Alexys | but, i do this before and this work |
16:20.33 | cilquirm | aparece a mí que un servlet falta |
16:20.37 | Alexys | my greater problem is than not to be spoken English |
16:20.46 | Alexys | jejejej, no, the servlet is there |
16:21.52 | Alexys | I thought that she was not, but is |
16:22.03 | cilquirm | si usted va directamente a /servlet/autenticarDrake, qué sucede |
16:22.12 | Alexys | s/she/theservlet |
16:22.24 | Alexys | the error 404 |
16:22.56 | cilquirm | hay otros erores en los 'logs'? |
16:23.12 | Alexys | can you say me how i see the logs? |
16:23.19 | Alexys | please |
16:23.34 | cilquirm | que tipo machina tienes? windows? linux? |
16:23.50 | Alexys | linux |
16:24.02 | cilquirm | $CATALINA_HOME/logs |
16:24.26 | Alexys | ok, what file? |
16:24.38 | cilquirm | en su directorio de installacion |
16:24.43 | cilquirm | catalina.out? |
16:24.56 | Alexys | ok |
16:25.11 | cilquirm | brb |
16:25.53 | *** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
16:28.32 | Alexys | cilquirm, it seems that it is error of servlet, I am going to review |
16:33.21 | cilquirm | ok |
16:38.18 | *** join/#tomcat aiyaiyairc_AFK (aleuaooouu@c-67-161-177-74.hsd1.ca.comcast.net) |
16:43.14 | *** join/#tomcat rob_ (~rob@216-107-215-130.Renesys.cust.seg.NET) |
16:46.03 | Alexys | cilquirm, the servlet AutenticarDrake, i I must register it in web.xml? |
16:58.57 | Alexys | cilquirm, I found the error, in the file $CATALINA_HOME/conf/web.xml, I activated invoker, and work, thank for you help |
17:01.05 | cilquirm | no worries. :-) |
17:03.06 | *** part/#tomcat b4before (~gonzalo@r200-125-13-24-dialup.adsl.anteldata.net.uy) |
17:06.53 | *** join/#tomcat janux (~chatzilla@254-89-246-201.adsl.terra.cl) |
17:30.58 | rob_ | q: I have a shared general jndi db resource that i loose on deploying an updated webapp. i have seen others describe this problem but their solutions have not been cross-context. any suggestions? |
17:43.20 | ocnarfid3 | Hello. My JSP's are re-compiling after about 5mins, but I don't think I have any config to tell it to. Any idea where to look? Tomcat 4.1.x |
17:53.13 | *** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de) |
17:54.33 | *** part/#tomcat The_Machine (~Nunya@67-36-233-238.ded.ameritech.net) |
18:11.23 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
18:19.10 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
18:20.02 | *** join/#tomcat valmont_ (~chrisholl@germany.pspdev.pas.earthlink.net) |
18:20.13 | *** part/#tomcat rob_ (~rob@216-107-215-130.Renesys.cust.seg.NET) |
18:30.31 | *** join/#tomcat enginerd (enginerd@69.50.182.186) |
18:38.36 | *** join/#tomcat kiorky (~kiorky@81.56.134.43) |
19:01.13 | *** join/#tomcat valmont (~chrisholl@ppp-69-236-24-7.dsl.irvnca.pacbell.net) |
19:21.59 | *** join/#tomcat Sathamoth (~nzhuk@YZDXCV.dsl.saunalahti.fi) |
19:34.31 | *** join/#tomcat valmont (~chrisholl@ppp-69-236-24-7.dsl.irvnca.pacbell.net) |
19:46.59 | *** join/#tomcat vinicio_ (vinicio@host208-237.pool8248.interbusiness.it) |
19:47.43 | vinicio_ | hello |
19:47.57 | vinicio_ | does anybody got a performace loss with tomcat 5.5.9 ? |
19:48.37 | Sathamoth | does anybody got OutOfMemoryErrors with tomcat 4.1, and can someone tell me why Tomcat doesn't clean up it's temp directory itself :) ? |
19:49.43 | Sathamoth | the outofmemoryerror is pretty nasty, if I do "ant remove && ant install" several times it starts throwing one, restarting tomcat gets rid of it then |
19:50.17 | Sathamoth | not a fatal problem but still sucks |
19:50.51 | vinicio_ | OutOfMemoryErrors running what ? just the tomcat ? |
19:51.05 | Sathamoth | vinicio_: no, running my webapp inside Tomcat |
19:51.16 | Sathamoth | and trying to deploy & use it after remove/install |
19:51.20 | vinicio_ | it's complex ? |
19:51.33 | Sathamoth | well nothing special I suppose |
19:52.54 | Sathamoth | but the outofmemerror comes just if I remove & install my webapp several times, so the problem isn't my webapp's memory consumption alone |
19:53.10 | vinicio_ | I agree |
19:53.12 | vinicio_ | I use tomcat 5.0.28, I'm really satisfied but upgrading to 5.5 seems to run slowly ... |
19:54.06 | vinicio_ | which jdk for tomca 4.1 ? |
20:01.18 | Sathamoth | I'm using 1.4.2 |
20:01.28 | linuxfreck | Sathamoth: make sure you run tomcat 4.1.31 |
20:01.49 | linuxfreck | that version fixed some bugs that could cause oom - errors |
20:01.59 | Sathamoth | oh, ok. I'm running Apache Tomcat/4.1.29-LE-jdk14 |
20:02.23 | Sathamoth | (OS X 10.3 Server default) |
20:05.16 | vinicio_ | any automatic startup servlet ? |
20:05.38 | Sathamoth | naah |
20:06.10 | Sathamoth | hmm, hard to find a information 'bout which tomcat version comes with OS X Server 10.4.. |
20:06.51 | linuxfreck | the remove and install feature doesn't work well with some stuff that uses static initializers... database drivers are common suspects |
20:06.51 | Sathamoth | I know that it's possible to install jdk 1.5 so 5.5 would run fine |
20:07.19 | linuxfreck | you can run 5.5 on java 1.4 if you install the compat package |
20:07.21 | Sathamoth | ok, I'm not using database drivers, but I use Mozilla LDAP SDK for Java.. |
20:07.44 | linuxfreck | make sure you do not have the library in the webapp but in the common/lib folder |
20:07.46 | Sathamoth | don't think that's the reason though |
20:08.21 | Sathamoth | hmm, that goes against the policy that webapps should be self-contained and independent |
20:08.43 | linuxfreck | there are many reasons that cause an OutOfMemoryError... |
20:09.24 | vinicio_ | a question Sathamoth : did you get tomcat from apache web site or it comes with OS ? |
20:09.32 | Sathamoth | comes with OS |
20:10.14 | vinicio_ | I think could be interesting to try to rebuild a stable distribution from apache |
20:10.14 | linuxfreck | did you try increasing the max heap size? |
20:10.24 | *** join/#tomcat valmont_ (~chrisholl@germany.pspdev.pas.earthlink.net) |
20:11.05 | linuxfreck | there is absolutely no reason to compile tomcat yourself, unless you want to change the source |
20:11.59 | Sathamoth | linuxfreck: could you point me to some url which would explain using static variables (in singleton patterns, for example) inside webapps running in Tomcat, and how static variables of different webapps interfere with eachother? |
20:12.07 | vinicio_ | I agree linux ... just to know what's running |
20:13.54 | linuxfreck | Sathamoth: I don't know any, sorry. The basic problem with jdbc drivers is that they add objects to the jdbc infrastructure that cannot be garbage collected because the jdbc stuff belongs to the jvm and probably also to other webapps |
20:14.47 | linuxfreck | try the new version and increasing the heap size first, those are more probable reasons |
20:16.08 | Sathamoth | hmm |
20:16.49 | Sathamoth | yeah, I'm just thinking about the basic safety of my app, I don't have really any idea if my static objects are visible to other apps since they're in the shared memory space |
20:17.22 | Sathamoth | because I already had some problems with one webapp crashing another ones with taglibs case :) |
20:18.02 | linuxfreck | heh |
20:18.14 | Sathamoth | so what I basically did is that I wrote taglib functionality with pure java myself and use that in non-static way just to be safe. |
20:18.16 | linuxfreck | you really want to avoid static variables |
20:18.32 | Sathamoth | hmm, but some singletons are useful.. |
20:18.43 | linuxfreck | when you need to cluster, you'll have a problem |
20:18.52 | Sathamoth | and it's not nice to stuff everything into session |
20:19.07 | linuxfreck | you can also put stuff into the Context |
20:19.28 | Sathamoth | true |
20:22.32 | vinicio_ | linuxfreck may I ask you a question about Tomcat 5.5.9 ? |
20:23.48 | linuxfreck | heh, go ahead :) |
20:24.37 | vinicio_ | upgrading from 5.0.28 to 5.5 the same webapp seems to run slowly ... even in JSP compilation |
20:25.40 | vinicio_ | the quesion is ... it is a known issue or just a misconfiguration ? |
20:25.45 | linuxfreck | that's wierd, I didn't see much difference and the website claims it added performance improvements |
20:26.12 | vinicio_ | infact ... I agree |
20:26.22 | linuxfreck | are you using the server or client vm? |
20:26.28 | vinicio_ | server |
20:26.52 | Sathamoth | linuxfreck: the use of static variables (mostly to implement some singletons and factory methods) is caused (in my case) by the design 'philosophy' that I make the backend as pure Java which doesn't depend of the fact that application is being run under some servlet container, and after that I add an interface via JSP to that backend. so that's why the backend doesn't know about contexts, sessions or anything else servlet-related. |
20:27.04 | Sathamoth | so I guess that that philosophy is wrong :) |
20:27.14 | vinicio_ | :) |
20:28.02 | linuxfreck | well the general philosophy of mvc is quite good |
20:28.31 | Sathamoth | or would it be the correct decision to impelemt some kind of "StaticDataManager" which could then be customized to use either servlet-related stuff like contexts or basic Java static memory space? |
20:28.40 | linuxfreck | but if you need many singletons, something else is wrong in your design |
20:28.41 | Sathamoth | impelemt = implement |
20:29.53 | jasonb | vinicio_: There is nothing slower about Tomcat 5.5.9 versus 5.0.x. |
20:30.16 | jasonb | vinicio_: How are you benchmarking this? |
20:30.31 | Sathamoth | yes of course :) the main problem I've noticed was caused by a single singleton (heh) object, my application preferences object which loads prefs and offers 'em to the other objects. If I run 2 different instances of my webapp then I may have weirdness that second webapp gets prefs of the first one etc |
20:30.53 | linuxfreck | vinicio_: as I said, jasonb is the real expert in this chan :) |
20:31.34 | jasonb | linuxfreck: Thanks. I believe there are other knowledgeable people on this channel as well, though. |
20:31.35 | vinicio_ | jasonb : We have a webapp and runs well on 5.0.x. We have a WAPT based test to check performance. |
20:31.48 | jasonb | vinicio_: I don't know what WAPT is. |
20:31.59 | vinicio_ | user simulator |
20:32.06 | jasonb | That's not very specific. |
20:32.33 | vinicio_ | the same webapp deployed on 5.5 run significatly slow |
20:32.39 | vinicio_ | it's crazy |
20:32.45 | jasonb | vinicio_: So are you switching back and forth and you see the slowdown? Or, did you instead do exactly one switch, from 5.0.x to 5.5.9, and you now see a slowdown? |
20:33.23 | jasonb | vinicio_: Which OS brand & version? Which JVM brand and version? |
20:34.08 | vinicio_ | Slackware 10.1 JDK 1.5.0.1 Sun, (slack kernel 2.6.11 with NPTL support) |
20:36.04 | vinicio_ | The test is : i get the app on 5.0.x and run the test ... then shutdonw the 5.0.x and startup 5.5 and execute the test again |
20:36.34 | vinicio_ | the same (.war) application has been deployed on both |
20:37.17 | vinicio_ | I can't belive ... in any issue in know I think there is some misconfig on the 5.5 installation |
20:53.15 | Sathamoth | hmm, do I understood this correctly: if I need a single instance of an object in my webapp (but in a way that no other webapp can get hold of it), I should create the instance, put it into pageContext with application scope with some well-known attribute name, and then every instance of my webapp get the access to that object? |
20:53.47 | Sathamoth | and by every instance of webapp I mean several concurrent users using that same webapp :) |
21:26.27 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
21:33.38 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
21:56.03 | *** join/#tomcat vinicio_ (vinicio@host208-237.pool8248.interbusiness.it) |
22:00.32 | vinicio_ | I got the problem about performance ... |
22:01.02 | vinicio_ | in tomcat 5.5.9 ... it depends on JDO implementation |
22:01.12 | vinicio_ | Tomcat is great ;) |
22:02.05 | jasonb | Glad you like it. :) |
22:02.40 | vinicio_ | thank you jasonb for support |
22:02.53 | jasonb | I really didn't do all that much.. but, you're welcome. |
22:03.17 | vinicio_ | I will, in other issues ... |
22:58.43 | *** join/#tomcat Sathamoth (~nzhuk@YZDXCV.dsl.saunalahti.fi) |
22:59.24 | *** join/#tomcat RockBirra (~rockbirra@92.Red-80-34-171.pooles.rima-tde.net) |
23:00.03 | RockBirra | hi all |
23:00.03 | RockBirra | I have a question for you :$ |
23:00.43 | RockBirra | is it possible to reload a servlet without stop and start tomcat? |
23:02.14 | jasonb | Just a single servlet? Or, a whole webapp? |
23:06.20 | *** join/#tomcat RockBirra (~rockbirra@92.Red-80-34-171.pooles.rima-tde.net) |
23:13.21 | crackhead | can it be done for just a single servlet? |
23:16.27 | jasonb | From what I understand, only really via JMX. |
23:16.51 | crackhead | hmmm |
23:16.59 | crackhead | there's that JMX stuff again :) |
23:17.28 | jasonb | I actually haven't looked at the Admin webapp recently, but it might allow restarting a single servlet in a webapp, but I doubt it, and even if the admin webapp offers a UI for doing it, underneath the admin webapp performs its work via JMX. |
23:17.58 | jasonb | Yup. JMX is actually more important than many people realize. |
23:18.37 | crackhead | jasonb : so what are your dislikes of struts? |
23:18.49 | crackhead | ...and likes for that matter |
23:19.56 | jasonb | I do like the tag library. |
23:20.06 | jasonb | Lots of featureful stuff in there. |
23:20.29 | jasonb | Some of that overlaps (by quite a bit) with JSTL's tag libraries. |
23:20.54 | jasonb | I've found that the JSTL ones are usually a little nicer. |
23:21.10 | crackhead | what about the MVC stuff? |
23:21.14 | jasonb | But, they don't implement all of the exact same features, so both may be useful. |
23:21.28 | jasonb | The MVC stuff in Struts just isn't very good, IMO. |
23:21.51 | jasonb | I develop a webapp every day that uses it, and it's been a major source of pain for us. |
23:21.53 | crackhead | hmmmm....why do you feel that way? |
23:22.07 | crackhead | in what way |
23:22.32 | jasonb | I've also developed webapps without it.. at lest one using the Struts tag library only, and others not using Struts at all. |
23:23.02 | jasonb | I've found that the situation where I used struts only for its tag library was the most helpful and least painful. |
23:23.54 | jasonb | I'd actually suggest using JSP 2.0, and whatever tag libraries you want on top of that, but I'd suggest against using Struts's action mapper. |
23:24.57 | jasonb | I've found that pure JSP is plenty good enough for this.. custom tag libraries are the best way to implement custom features on a web page where you can't just do it with JSP and/or EL. |
23:25.18 | jasonb | As for mapping requests to code, just regular JSP is best, IMO. |
23:26.56 | crackhead | hmmm |
23:30.22 | *** join/#tomcat RockBirra (~mec@92.Red-80-34-171.pooles.rima-tde.net) |
23:43.18 | *** join/#tomcat Ironhawk (~ironhawk@144.140.16.10) |
23:44.07 | Ironhawk | Anyone know how to turn on logging on tomcat? Setting the verbosity levels and debug levels in server.xml doesn't seem to do much., I need to figure out why CLIENT-CERT aint working... |
23:45.50 | jasonb | Which version of Tomcat? |
23:47.24 | Ironhawk | 5.0 |
23:49.59 | jasonb | Actually, turning up Tomcat's debug logging levels probably won't give you the info you want. |
23:50.40 | jasonb | Ironhawk: Do this instead: http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html#Debug |
23:51.01 | Ironhawk | Need to kick in the commons logging or log4j is suspect but just not sure how to .. |
23:51.58 | jasonb | Ironhawk: Set CATALINA_OPTS="-Djavax.net.debug=all" and run your Tomcat with that. |
23:52.30 | Ironhawk | jasonbL I'll try that now .. |
23:56.17 | Ironhawk | jasonb: Hrmm.. looks a bit more verbose but still not enough to help me out. I'm not sure how to config the web app to use CLIENT-CERT. I have it working at the connector level using clientAuth="true" but once I set that to false and try to get the web app to use client-cert via the web.xml it doensn't work. There doesn;t seem to be any doc on how to get this to work.. |
23:56.38 | Ironhawk | I've seen mention of stuffing the CN in the tomcat-users.xml but that doens't seem to be working either. |
23:57.32 | Ironhawk | I'm getting the 403 Access to the requested resource has been denied so I'm assuming the key exchange is going ok it's just the group to resource binding or something.. |
23:58.42 | jasonb | Ironhawk: Read our book's free chapter about Security, including how to set up CLIENT-CERT. Get Chapter 6, Security here: http://www.oreilly.com/catalog/tomcat/ |