irclog2html for #tomcat on 20040519

00:05.33noahHttpServletRequestWrapper.. neato..
00:28.20*** join/#tomcat Cure_ (~Cure@cs666863-15.austin.rr.com)
00:48.47*** join/#tomcat deedubb (~deedubb@S010600055d22c57f.vf.shawcable.net)
00:49.06deedubbhttp://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations
00:49.44deedubbFo the 3, 4 under MySQL DBCP, I get errors... 3. doesn't look right, and it breaks the XML parser
00:50.20deedubb4. the uri value doesn't exist. I have downloaded the files and put them into my WEB-INF/lib
00:50.58deedubb"gentoo lib # ls" results in: "catalina-root.jar  jstl.jar  standard.jar"
01:50.14*** join/#tomcat IRCMonkey (~chatzilla@dsl081-136-236.chi1.dsl.speakeasy.net)
02:14.59*** part/#tomcat noah (~noah@computer.cc.columbia.edu)
02:18.17*** join/#tomcat MZITF (~mattzenic@ip68-111-192-39.sd.sd.cox.net)
02:20.44*** join/#tomcat Nurbs (tom@p50926BF1.dip.t-dialin.net)
03:09.55*** join/#tomcat chsh (~someone@24.235.181.206)
03:13.37deedubbI am still experiencing difficulties with the mysql dbcp....
03:30.49*** join/#tomcat WoodFile (~wood@c-66-229-252-116.we.client2.attbi.com)
03:31.08deedubbemerge -C tomcat will improve your computer if you're running gentoo
03:31.24deedubbI tried it, my computer 'feels' cleaner
03:31.48WoodFilecan someone give me an idea why setProperty might not work when using javabean on jsp form, using tomcat 5
03:32.02deedubbsetAttribute
03:32.45WoodFileI am using <jsp:setProperty name="formHandler" property="*" /> but it does not set the variables
03:37.06WoodFilecan someone give me an idea why setProperty might not work when using javabean on jsp form, using tomcat 5
03:37.08WoodFileI am using <jsp:setProperty name="formHandler" property="*" /> but it does not set the variables
04:01.04*** part/#tomcat WoodFile (~wood@c-66-229-252-116.we.client2.attbi.com)
04:36.20*** join/#tomcat a4akb (yo@168.187.87.82)
04:47.46*** join/#tomcat schlumpf (~vx_schlum@dsl-082-083-057-203.arcor-ip.net)
05:00.19deedubbwhats wrong here, I do <cut value="${foo}"/><br /> in my jstl, and it outputs "${foo}"
05:01.06deedubbit should be the variable of foo that I set by doing: <c:set var="foo" value="meh"/>
05:03.58*** part/#tomcat a4akb (yo@168.187.87.82)
05:43.59*** join/#tomcat a4akb (yo@168.187.87.82)
05:44.24a4akbibot: ibot
05:44.25ibotsomebody said ibot was a blootbot written in perl run by TimRiker on his server. logs on http://ibot.rikers.org/<chan>/ , ibot, jbot, apt are all the same process. It uses sqlite, but mysql or other SQL storage is also supported. mean to erin, or when she gets out of line.
05:53.12*** join/#tomcat Zero1012 (~Zero1012@ool-44c02997.dyn.optonline.net)
06:24.40*** part/#tomcat deedubb (~deedubb@S010600055d22c57f.vf.shawcable.net)
06:26.21*** join/#tomcat RussB (~RussellBe@64.164.31.160)
06:27.03RussBTomcat 5: turning on "debug" level for log4j statements. Anyone got a clue how?
06:34.35*** join/#tomcat FR^2 (~frquadrat@rochefort.charente.de)
06:34.42*** part/#tomcat RussB (~RussellBe@64.164.31.160)
06:36.31FR^2Guten Morgen, a4akb.
07:03.55*** join/#tomcat Nurbs (tom@p50926BF1.dip.t-dialin.net)
07:38.32*** join/#tomcat levon (~levon@mail.feature-it.de)
07:56.39*** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210)
08:34.43*** join/#tomcat inki (inki@gold.noc.arvato-mobile.de)
08:34.46inkieyo
08:35.02inkii have caching problems with jk2
08:35.16inkientries from workers2.properties seem to persist
08:35.39inkialthough they are gone and i have restarted catalina and apache
08:35.43inkiany ideas?
08:39.46inkianyone alive at all?
08:42.01*** part/#tomcat inki (inki@gold.noc.arvato-mobile.de)
08:46.45*** join/#tomcat inki (inki@gold.noc.arvato-mobile.de)
08:46.57inkii just realised you're all sound asleep
08:46.59inkiso i
08:47.07inki'll just hang around if you dont mind
09:16.40*** join/#tomcat zeph (~zeph@micro.elet.polimi.it)
09:24.59rreckim awake
09:25.19rreckbut i dont have any answers for you
10:25.43inki:)
10:38.36*** join/#tomcat Flighty^work (~nik@dsl-082-083-127-067.arcor-ip.net)
10:38.39Flighty^workhi all
10:38.59*** part/#tomcat a4akb (yo@168.187.87.82)
10:40.34Flighty^workis there any reason, whyi should switch from 4.1.29 to 5.0.24?
10:40.54rnaFlighty^work: no, if your apps work perfectly
10:41.04rnaFlighty^work: or you don't need any new features
10:42.02Flighty^workperformance security?  
12:16.17*** join/#tomcat zeph (~zeph@micro.elet.polimi.it)
12:17.03*** join/#tomcat chsh (~someone@d235-181-206.home1.cgocable.net)
12:21.05*** join/#tomcat mostroo (mostro@dsl-082-082-179-092.arcor-ip.net)
12:28.11Nurbsan app that's too slow doesn't work perfectly, and I guess tomcat 5 could help somewhat, heh. but otherwise I wouldn't care
13:15.36*** join/#tomcat joered (~chatter@213.156.52.102)
13:26.19*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
14:00.25inkihow come jk2 remembers settings from workers2.properties even when they're gone and I restarted tomcat & apache?
14:05.35*** join/#tomcat mod_cure (~Cure@cs666863-15.austin.rr.com)
14:34.30*** join/#tomcat mnemonic (g28rkpr6up@cable-213.214.40.49.coditel.net)
15:29.48*** join/#tomcat green-- (toddbridge@ice.rutgers.edu)
15:30.09green--anyone that can provide assistance with getting apache forwarding correctly to tomcat?
15:31.02green--it won't handle wildcards correctly.. and will only forward to .. for instance.. http://site.com/javadir/ .. not javadir/index.jsp or javadir/foo.html, etc.. even removing the trailing slash results in a 404....
16:08.53*** join/#tomcat jasonc__ (~jacorley@g5bang.csc.ncsu.edu)
16:14.45NurbsI'm trying to define a DefaultContext for a Host on Tomcat 5.0.24. I'm just nesting an empty <DefaultContext/> in the Host declaration and the Tomcat admin app shows it, but when I click on it I get a HTTP 500 (message: Error retrieving attribute debug). the logs show a "HTTP Status 500 - Error retrieving attribute debug
16:14.45Nurbstype Status report
16:14.47Nurbsmessage Error retrieving attribute debug
16:14.51Nurbsdescription The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request.
16:14.54NurbsApache Tomcat/5.0.24"
16:14.56Nurbsdamn
16:15.12Nurbssorry for flooding, didn't see the CR/LFs O_o
16:15.43Nurbsuhm. that got through wrong anyway
16:17.20NurbsIs there anything more that I need to do to add a DefaultContext, though? Or am I doing anything else wrong?
16:25.23*** join/#tomcat FR^2 (~FRQuadrat@rochefort.charente.de)
16:38.32inkihow come jk2 remembers settings from workers2.properties even when they're gone and I restarted tomcat & apache?
16:52.30*** join/#tomcat JDS (~chatzilla@jsmain.dnsdhcp.provo.novell.com)
16:53.41JDSanyone up for a question off topic?
16:58.55*** join/#tomcat rs (rs@ice.aspic.com)
16:58.58rshi
16:59.58rsis somebody know how to read a propertes file located in my webapps directory ?
17:21.44moax_cpare you having a problem finding the file to read?
17:21.50rsyep
17:22.07rsI don't know what is my current working directory
17:22.23rsseems to not be the webapps root as expected
17:22.24moax_cpI had to do that once
17:22.35rsso how did you do it ?
17:23.26moax_cpgetServletContext().getRealPath("/files/whatever.txt");
17:23.40moax_cpthis should work
17:24.02moax_cpthe path you send it is relative to the context
17:24.25rsok, but my pb is that my class isn't a servlet
17:24.55rsbut a class given to Axis to be accessed by SOAP
17:24.56moax_cpdo you call the class with a servlet?
17:25.10rsyep, the servlet is AxisServlet engine :)
17:26.02moax_cpI've never used it but you could try to make the class take the path as a constructor.
17:26.12moax_cpin the constructor I mean
17:26.33rsI don't know if it's possible
17:28.01moax_cpyou could also make a function like setPropertyPath or something
17:30.44moax_cpanyway the idea is to send the path to the class from the servlet
17:30.54moax_cpso it knows where to look for it's properties
17:31.02rsok
17:31.58moax_cpI've also noticed that the current working directory is where was started
17:32.13moax_cptomcat
17:32.37rsnot really scalable information :)
17:32.43*** join/#tomcat electricsheep7 (~jonmerrim@c-67-168-176-97.client.comcast.net)
17:35.02moax_cpI hope it helps though
17:35.39rsorg.apache.axis.MessageContext.getCurrentContext();
17:35.44rsshould help :))
18:00.22*** join/#tomcat a4akb (yo@as5-70.qualitynet.net)
18:07.28*** join/#tomcat newbie (~newbie@12.163.175.57)
18:10.04newbieHey folks, I am working on a tomcat monitoring app where I can see what sessions are going on
18:10.11newbieand the requests associated with each session
18:12.24newbiei have a listener class that is watching when a session is created and destroyed, and when requests are created and destroyed
18:12.24newbiebut i can't get a tie between the request and the session.
18:12.58newbieThe session lives in javax.servlet.http
18:13.08newbieand the request lives in javax.servlet
18:14.24miklehey!
18:14.27*** join/#tomcat vinse (~delfonic_@66-151-49-205.sog.polarisnet.net)
18:15.00mikleAnybody knows why IE does not use cookie spec 1 for cookies that were dropped with Version=1? What else do I need to do?
18:17.58inkihow come jk2 remembers settings from workers2.properties even when they're gone and I restarted tomcat & apache?
18:21.08mikleinki: It should not.. However, make sure that you removed the right file
18:21.24inkii am in the right file, since it acks new entries
18:21.29inkibut it doesn't forget old ones
18:21.47mikleI do not work with jk2 but ppl often put configurations in the JARs and what now
18:22.01inkiwow
18:22.03inki/www/apache/bin/apachectl: line 171: 29644 Segmentation fault      $HTTPD
18:22.21vinseyou win
18:22.24rnainki: very rare
18:22.24inkiheh
18:22.46mikleinki: Dunno. It may have a backup somewhere... Sorry, do not have much nore
18:22.53inkim
18:23.56inki[uri:www.foo.de]
18:23.56inkigroup=worker.jni
18:23.56inkicontext=/blah
18:24.04inkithis made apache segfault
18:24.53inkiis context= the name of the webapp?
18:30.06inkithis workers2.properties crap is puzzling me
18:39.00newbieanybody worked with Session and Request listeners?
18:39.37miklenewbie: nope.
18:39.46mikleAnybody worked with version 1 of cookies?
18:39.49inkihow do i build libjvm.so?#
18:40.48mikleinki: Why do you need to build it?
18:40.55inkiapache asks for it
18:40.58mikleinki: It is distributed with JDK
18:41.01inkiah
18:41.09inkido i need the client or the server version?
18:42.34rna:D
18:42.44rnaoh, well.
18:43.08rnawasn't laughing at you guys
18:43.19vinsethank god
18:43.28vinsei guess
18:44.04inkistill Unable to load native library: libjvm.so, damit
18:44.11inkiit's in $apache/libexec
18:49.37mikleinki: Sorry man (or lady?). I did not work with jk2. Why do you even need it? Just set Apache up as a reverse proxy and be happy!
18:49.50inkimikle: man :)
18:50.05inkimikle: i have no idea what you are talking about
18:56.16inkiwtf can't libjvm.so be found?!
18:57.48*** join/#tomcat marc__ (~m@xdsl-195-14-205-119.netcologne.de)
18:58.06marc__hello
18:59.22marc__i have successfully installed tomcat with jdk. now, i would like to know, what path is default apache path for tomcat. i couldnt find it in doc :o(
18:59.29mikleinki: 1) /usr/java/j2.../jre/lib/...
19:00.23inkiklabuster:/usr/local/tomcat/current/logs# echo $JAVA_HOME
19:00.23inki/opt/SUNWappserver/jdk
19:01.34inkiklabuster:/www/apache# locate libjvm.so
19:01.35inki/opt/SUNWappserver/jdk/jre/lib/i386/client/libjvm.so
19:01.35inki/opt/SUNWappserver/jdk/jre/lib/i386/server/libjvm.so
19:02.00inkido i have to copy it down to /opt/SUNWappserver/jdk/jre/lib/ ?
19:02.30marc__my opt is empty. i installed it into /serv/.../jt4
19:02.43inkimarc__, not talking to you :)
19:02.52marc__k
19:03.13marc__:o/
19:05.41miklemarc__: What do you mean by the "default path"
19:05.41mikle?
19:05.59inkiany idea concering libjvm.so anyone?
19:06.26*** join/#tomcat a4akb (yo@as16-34.qualitynet.net)
19:06.38mikleinki: Are you runnign linux?
19:06.41inkiyea
19:07.27mikleinki: Try adding /opt/SUNWappserver/jdk/jre/lib/i386/server/ to /etc/ld.so.conf
19:07.42mikleAnd then runngin... Oh, what does he need to run?
19:08.16inkildconfig
19:09.05inkiUnable to load native library: libverify.so: cannot open shared object file: No such file or directory
19:09.05inkiheyy
19:09.07inkiprogress
19:09.08inki:)
19:09.23inkibut this can't be the way it's gotta be
19:09.50mikleinki: Ok, so about forward proxy...
19:09.59mikleOh, reverse proxy, sorry
19:10.06inkias i mentioned before - i never heard of it :)
19:10.09inkihow does it work?
19:11.24mikleinki: you can configure Apache to forward HTTP requests (mapped by a path) to whatever server you want. It will most likely be a little slower then with jk2 but should be much more stable and you will have flexibility of moving Tomcat somewhere else (different servers) and do other multitiered stuff
19:11.41inkimh
19:11.54inkihow do i do that?
19:12.02inkimod_rewrite?
19:12.41inkiwith libverify.so the /etc/ld.so.conf trick didnt work btw
19:14.53inkimod_proxy or mod_proxy_html?
19:15.06miklehttp://httpd.apache.org/docs-2.0/mod/mod_proxy.html#forwardreverse
19:15.12inkik
19:16.02mikleinki: I hope it helps
19:16.34inkii still wonder why the system can't find those .so's, but i will try to reverse proxy now
19:16.36inkithx mikle
19:16.53inkii have apache 1.3.x btw
19:17.06mikleinki: You can upgrade it btw ;)
19:17.19inkinot so easy in my setup
19:21.16inkidoes my JAVA_HOME have to point to jdk or jdk/jre?
19:22.26mikleJAVA_HOME points to jdk
19:22.57inkiit does
19:23.17inkibut it is apache who that can't find the .so, right?
19:23.48inkiso maybe the path to libjvm.so is hard coded in mod_jk2.so
19:25.39mikleI do not think apache relies on JAVA_HOME to find its libraries.
19:25.51inkiklabuster:/var/www/apache/libexec# strings mod_jk2.so | grep libjvm
19:25.51inki${JAVA_HOME}${fs}jre${fs}bin${fs}classic${fs}libjvm.${so}
19:25.51inki${JAVA_HOME}${fs}jre${fs}lib${fs}${arch}${fs}classic${fs}libjvm.${so}
19:25.51inki${JAVA_HOME}${fs}jre${fs}lib${fs}${arch}${fs}client${fs}libjvm.${so}
19:25.51inkilibjvm.${so}
19:25.56inki:o)
19:26.16mikleOk, you win.
19:26.16inkiit wants the _client_
19:26.33mikleAnd you have only server?
19:26.48inkino, both.
19:26.49mikleMan, just get a JDK from Sun...
19:26.55inkiI'll give it a shot
19:26.58inkiit is from sun!
19:27.14mikleWell, it is destribued with app server.
19:27.32mikleWhatever... I an trying to dig through these @#$ing RFCs of HTTP
19:27.35mikleHATE it
19:35.59inkiI'm giving up for today
19:36.47*** part/#tomcat inki (inki@gold.noc.arvato-mobile.de)
19:54.13*** join/#tomcat akb (yo@as13-69.qualitynet.net)
20:03.14*** join/#tomcat chsh (~someone@d235-181-206.home1.cgocable.net)
21:17.36*** join/#tomcat fluff42 (~kurt@64.222.150.35)
21:17.40fluff42hello?
21:19.26miklehello, fluff42
21:21.11*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
21:24.59fluff42hi there
21:25.07fluff42anyone here use the displaytag taglib?
21:25.36miklefluff42: Nopw. Waht is it?
21:26.09fluff42its a taglib that makes it pretty easy to output data in table format and do export to CSV and column sorting
21:26.16fluff42its INCREDIBLY useful
21:26.27fluff42...but I'm having a problem with the new version :-)
21:28.12fluff42www.displaytag.org
21:28.26*** part/#tomcat fluff42 (~kurt@64.222.150.35)
21:30.14*** join/#tomcat chsh (~someone@d235-181-206.home1.cgocable.net)
22:05.49*** join/#tomcat x_or (~x_or@65-100-60-181.ptld.qwest.net)
22:06.10x_orAnyone know how I get Axis?  I don't see download or CVS links on http://ws.apache.org/axis/java/install.html#depend
22:06.39x_orAxis for java, that is.
22:07.39x_orNevermind, right in front of me...
22:12.54mikleHey, anybody familiar with Tomcat's internal architecture?
22:18.04*** join/#tomcat veptune (veptune@lns-p19-11-82-65-190-42.adsl.proxad.net)
22:18.05veptunehi all
22:18.20veptune<PROTECTED>
22:20.58mikleveptune: I do not think you can do this
22:21.25mikleveptune: Unless you look at the methods on concrete implementation of your PreparedStatement
22:23.01veptuneit is incredible !
22:23.31veptuneit is very important to know what exaclty is the SQL request which is sent to the sql server !
22:25.30Nurbsyou could write some wrapper or possibly use some AOP techniques, too
22:27.00veptuneAOP ?
22:28.17mnemonicAspect Oriented Programming
22:28.23mnemonicwhich sucks a lot
22:36.34veptune:)
22:40.10mikleveptune: AOP will not really help, unless I did not understand the question. He gets a PreparedStatement object. AOP will not help to get query in the text form from the Statement...
22:50.09veptunei have found another solution, read logs of the database :)
23:16.55*** join/#tomcat _Magnus_ (~Magnus@q41.ryd.student.liu.se)
23:36.56*** join/#tomcat sopel (sopel@freebsd.hbz.pl)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.