00:05.33 | noah | HttpServletRequestWrapper.. 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.06 | deedubb | http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html#Database%20Connection%20Pool%20(DBCP)%20Configurations |
00:49.44 | deedubb | Fo the 3, 4 under MySQL DBCP, I get errors... 3. doesn't look right, and it breaks the XML parser |
00:50.20 | deedubb | 4. the uri value doesn't exist. I have downloaded the files and put them into my WEB-INF/lib |
00:50.58 | deedubb | "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.37 | deedubb | I 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.08 | deedubb | emerge -C tomcat will improve your computer if you're running gentoo |
03:31.24 | deedubb | I tried it, my computer 'feels' cleaner |
03:31.48 | WoodFile | can someone give me an idea why setProperty might not work when using javabean on jsp form, using tomcat 5 |
03:32.02 | deedubb | setAttribute |
03:32.45 | WoodFile | I am using <jsp:setProperty name="formHandler" property="*" /> but it does not set the variables |
03:37.06 | WoodFile | can someone give me an idea why setProperty might not work when using javabean on jsp form, using tomcat 5 |
03:37.08 | WoodFile | I 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.19 | deedubb | whats wrong here, I do <cut value="${foo}"/><br /> in my jstl, and it outputs "${foo}" |
05:01.06 | deedubb | it 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.24 | a4akb | ibot: ibot |
05:44.25 | ibot | somebody 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.03 | RussB | Tomcat 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.31 | FR^2 | Guten 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.46 | inki | eyo |
08:35.02 | inki | i have caching problems with jk2 |
08:35.16 | inki | entries from workers2.properties seem to persist |
08:35.39 | inki | although they are gone and i have restarted catalina and apache |
08:35.43 | inki | any ideas? |
08:39.46 | inki | anyone 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.57 | inki | i just realised you're all sound asleep |
08:46.59 | inki | so i |
08:47.07 | inki | 'll just hang around if you dont mind |
09:16.40 | *** join/#tomcat zeph (~zeph@micro.elet.polimi.it) |
09:24.59 | rreck | im awake |
09:25.19 | rreck | but i dont have any answers for you |
10:25.43 | inki | :) |
10:38.36 | *** join/#tomcat Flighty^work (~nik@dsl-082-083-127-067.arcor-ip.net) |
10:38.39 | Flighty^work | hi all |
10:38.59 | *** part/#tomcat a4akb (yo@168.187.87.82) |
10:40.34 | Flighty^work | is there any reason, whyi should switch from 4.1.29 to 5.0.24? |
10:40.54 | rna | Flighty^work: no, if your apps work perfectly |
10:41.04 | rna | Flighty^work: or you don't need any new features |
10:42.02 | Flighty^work | performance 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.11 | Nurbs | an 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.25 | inki | how 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.09 | green-- | anyone that can provide assistance with getting apache forwarding correctly to tomcat? |
15:31.02 | green-- | 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.45 | Nurbs | I'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.45 | Nurbs | type Status report |
16:14.47 | Nurbs | message Error retrieving attribute debug |
16:14.51 | Nurbs | description The server encountered an internal error (Error retrieving attribute debug) that prevented it from fulfilling this request. |
16:14.54 | Nurbs | Apache Tomcat/5.0.24" |
16:14.56 | Nurbs | damn |
16:15.12 | Nurbs | sorry for flooding, didn't see the CR/LFs O_o |
16:15.43 | Nurbs | uhm. that got through wrong anyway |
16:17.20 | Nurbs | Is 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.32 | inki | how 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.41 | JDS | anyone up for a question off topic? |
16:58.55 | *** join/#tomcat rs (rs@ice.aspic.com) |
16:58.58 | rs | hi |
16:59.58 | rs | is somebody know how to read a propertes file located in my webapps directory ? |
17:21.44 | moax_cp | are you having a problem finding the file to read? |
17:21.50 | rs | yep |
17:22.07 | rs | I don't know what is my current working directory |
17:22.23 | rs | seems to not be the webapps root as expected |
17:22.24 | moax_cp | I had to do that once |
17:22.35 | rs | so how did you do it ? |
17:23.26 | moax_cp | getServletContext().getRealPath("/files/whatever.txt"); |
17:23.40 | moax_cp | this should work |
17:24.02 | moax_cp | the path you send it is relative to the context |
17:24.25 | rs | ok, but my pb is that my class isn't a servlet |
17:24.55 | rs | but a class given to Axis to be accessed by SOAP |
17:24.56 | moax_cp | do you call the class with a servlet? |
17:25.10 | rs | yep, the servlet is AxisServlet engine :) |
17:26.02 | moax_cp | I've never used it but you could try to make the class take the path as a constructor. |
17:26.12 | moax_cp | in the constructor I mean |
17:26.33 | rs | I don't know if it's possible |
17:28.01 | moax_cp | you could also make a function like setPropertyPath or something |
17:30.44 | moax_cp | anyway the idea is to send the path to the class from the servlet |
17:30.54 | moax_cp | so it knows where to look for it's properties |
17:31.02 | rs | ok |
17:31.58 | moax_cp | I've also noticed that the current working directory is where was started |
17:32.13 | moax_cp | tomcat |
17:32.37 | rs | not really scalable information :) |
17:32.43 | *** join/#tomcat electricsheep7 (~jonmerrim@c-67-168-176-97.client.comcast.net) |
17:35.02 | moax_cp | I hope it helps though |
17:35.39 | rs | org.apache.axis.MessageContext.getCurrentContext(); |
17:35.44 | rs | should 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.04 | newbie | Hey folks, I am working on a tomcat monitoring app where I can see what sessions are going on |
18:10.11 | newbie | and the requests associated with each session |
18:12.24 | newbie | i have a listener class that is watching when a session is created and destroyed, and when requests are created and destroyed |
18:12.24 | newbie | but i can't get a tie between the request and the session. |
18:12.58 | newbie | The session lives in javax.servlet.http |
18:13.08 | newbie | and the request lives in javax.servlet |
18:14.24 | mikle | hey! |
18:14.27 | *** join/#tomcat vinse (~delfonic_@66-151-49-205.sog.polarisnet.net) |
18:15.00 | mikle | Anybody 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.58 | inki | how come jk2 remembers settings from workers2.properties even when they're gone and I restarted tomcat & apache? |
18:21.08 | mikle | inki: It should not.. However, make sure that you removed the right file |
18:21.24 | inki | i am in the right file, since it acks new entries |
18:21.29 | inki | but it doesn't forget old ones |
18:21.47 | mikle | I do not work with jk2 but ppl often put configurations in the JARs and what now |
18:22.01 | inki | wow |
18:22.03 | inki | /www/apache/bin/apachectl: line 171: 29644 Segmentation fault $HTTPD |
18:22.21 | vinse | you win |
18:22.24 | rna | inki: very rare |
18:22.24 | inki | heh |
18:22.46 | mikle | inki: Dunno. It may have a backup somewhere... Sorry, do not have much nore |
18:22.53 | inki | m |
18:23.56 | inki | [uri:www.foo.de] |
18:23.56 | inki | group=worker.jni |
18:23.56 | inki | context=/blah |
18:24.04 | inki | this made apache segfault |
18:24.53 | inki | is context= the name of the webapp? |
18:30.06 | inki | this workers2.properties crap is puzzling me |
18:39.00 | newbie | anybody worked with Session and Request listeners? |
18:39.37 | mikle | newbie: nope. |
18:39.46 | mikle | Anybody worked with version 1 of cookies? |
18:39.49 | inki | how do i build libjvm.so?# |
18:40.48 | mikle | inki: Why do you need to build it? |
18:40.55 | inki | apache asks for it |
18:40.58 | mikle | inki: It is distributed with JDK |
18:41.01 | inki | ah |
18:41.09 | inki | do i need the client or the server version? |
18:42.34 | rna | :D |
18:42.44 | rna | oh, well. |
18:43.08 | rna | wasn't laughing at you guys |
18:43.19 | vinse | thank god |
18:43.28 | vinse | i guess |
18:44.04 | inki | still Unable to load native library: libjvm.so, damit |
18:44.11 | inki | it's in $apache/libexec |
18:49.37 | mikle | inki: 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.50 | inki | mikle: man :) |
18:50.05 | inki | mikle: i have no idea what you are talking about |
18:56.16 | inki | wtf can't libjvm.so be found?! |
18:57.48 | *** join/#tomcat marc__ (~m@xdsl-195-14-205-119.netcologne.de) |
18:58.06 | marc__ | hello |
18:59.22 | marc__ | 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.29 | mikle | inki: 1) /usr/java/j2.../jre/lib/... |
19:00.23 | inki | klabuster:/usr/local/tomcat/current/logs# echo $JAVA_HOME |
19:00.23 | inki | /opt/SUNWappserver/jdk |
19:01.34 | inki | klabuster:/www/apache# locate libjvm.so |
19:01.35 | inki | /opt/SUNWappserver/jdk/jre/lib/i386/client/libjvm.so |
19:01.35 | inki | /opt/SUNWappserver/jdk/jre/lib/i386/server/libjvm.so |
19:02.00 | inki | do i have to copy it down to /opt/SUNWappserver/jdk/jre/lib/ ? |
19:02.30 | marc__ | my opt is empty. i installed it into /serv/.../jt4 |
19:02.43 | inki | marc__, not talking to you :) |
19:02.52 | marc__ | k |
19:03.13 | marc__ | :o/ |
19:05.41 | mikle | marc__: What do you mean by the "default path" |
19:05.41 | mikle | ? |
19:05.59 | inki | any idea concering libjvm.so anyone? |
19:06.26 | *** join/#tomcat a4akb (yo@as16-34.qualitynet.net) |
19:06.38 | mikle | inki: Are you runnign linux? |
19:06.41 | inki | yea |
19:07.27 | mikle | inki: Try adding /opt/SUNWappserver/jdk/jre/lib/i386/server/ to /etc/ld.so.conf |
19:07.42 | mikle | And then runngin... Oh, what does he need to run? |
19:08.16 | inki | ldconfig |
19:09.05 | inki | Unable to load native library: libverify.so: cannot open shared object file: No such file or directory |
19:09.05 | inki | heyy |
19:09.07 | inki | progress |
19:09.08 | inki | :) |
19:09.23 | inki | but this can't be the way it's gotta be |
19:09.50 | mikle | inki: Ok, so about forward proxy... |
19:09.59 | mikle | Oh, reverse proxy, sorry |
19:10.06 | inki | as i mentioned before - i never heard of it :) |
19:10.09 | inki | how does it work? |
19:11.24 | mikle | inki: 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.41 | inki | mh |
19:11.54 | inki | how do i do that? |
19:12.02 | inki | mod_rewrite? |
19:12.41 | inki | with libverify.so the /etc/ld.so.conf trick didnt work btw |
19:14.53 | inki | mod_proxy or mod_proxy_html? |
19:15.06 | mikle | http://httpd.apache.org/docs-2.0/mod/mod_proxy.html#forwardreverse |
19:15.12 | inki | k |
19:16.02 | mikle | inki: I hope it helps |
19:16.34 | inki | i still wonder why the system can't find those .so's, but i will try to reverse proxy now |
19:16.36 | inki | thx mikle |
19:16.53 | inki | i have apache 1.3.x btw |
19:17.06 | mikle | inki: You can upgrade it btw ;) |
19:17.19 | inki | not so easy in my setup |
19:21.16 | inki | does my JAVA_HOME have to point to jdk or jdk/jre? |
19:22.26 | mikle | JAVA_HOME points to jdk |
19:22.57 | inki | it does |
19:23.17 | inki | but it is apache who that can't find the .so, right? |
19:23.48 | inki | so maybe the path to libjvm.so is hard coded in mod_jk2.so |
19:25.39 | mikle | I do not think apache relies on JAVA_HOME to find its libraries. |
19:25.51 | inki | klabuster:/var/www/apache/libexec# strings mod_jk2.so | grep libjvm |
19:25.51 | inki | ${JAVA_HOME}${fs}jre${fs}bin${fs}classic${fs}libjvm.${so} |
19:25.51 | inki | ${JAVA_HOME}${fs}jre${fs}lib${fs}${arch}${fs}classic${fs}libjvm.${so} |
19:25.51 | inki | ${JAVA_HOME}${fs}jre${fs}lib${fs}${arch}${fs}client${fs}libjvm.${so} |
19:25.51 | inki | libjvm.${so} |
19:25.56 | inki | :o) |
19:26.16 | mikle | Ok, you win. |
19:26.16 | inki | it wants the _client_ |
19:26.33 | mikle | And you have only server? |
19:26.48 | inki | no, both. |
19:26.49 | mikle | Man, just get a JDK from Sun... |
19:26.55 | inki | I'll give it a shot |
19:26.58 | inki | it is from sun! |
19:27.14 | mikle | Well, it is destribued with app server. |
19:27.32 | mikle | Whatever... I an trying to dig through these @#$ing RFCs of HTTP |
19:27.35 | mikle | HATE it |
19:35.59 | inki | I'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.40 | fluff42 | hello? |
21:19.26 | mikle | hello, fluff42 |
21:21.11 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
21:24.59 | fluff42 | hi there |
21:25.07 | fluff42 | anyone here use the displaytag taglib? |
21:25.36 | mikle | fluff42: Nopw. Waht is it? |
21:26.09 | fluff42 | its a taglib that makes it pretty easy to output data in table format and do export to CSV and column sorting |
21:26.16 | fluff42 | its INCREDIBLY useful |
21:26.27 | fluff42 | ...but I'm having a problem with the new version :-) |
21:28.12 | fluff42 | www.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.10 | x_or | Anyone 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.39 | x_or | Axis for java, that is. |
22:07.39 | x_or | Nevermind, right in front of me... |
22:12.54 | mikle | Hey, 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.05 | veptune | hi all |
22:18.20 | veptune | <PROTECTED> |
22:20.58 | mikle | veptune: I do not think you can do this |
22:21.25 | mikle | veptune: Unless you look at the methods on concrete implementation of your PreparedStatement |
22:23.01 | veptune | it is incredible ! |
22:23.31 | veptune | it is very important to know what exaclty is the SQL request which is sent to the sql server ! |
22:25.30 | Nurbs | you could write some wrapper or possibly use some AOP techniques, too |
22:27.00 | veptune | AOP ? |
22:28.17 | mnemonic | Aspect Oriented Programming |
22:28.23 | mnemonic | which sucks a lot |
22:36.34 | veptune | :) |
22:40.10 | mikle | veptune: 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.09 | veptune | i 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) |