00:05.42 | *** join/#tomcat Miteorite (dmitry@h24-78-157-56.vc.shawcable.net) |
00:05.45 | Miteorite | hello hello. |
00:05.50 | Miteorite | is anyone alive out here? |
00:06.45 | queuetue | I am, but you don't want me. :) |
00:11.58 | Miteorite | perhaps you guys can help me. I'm very noobish. |
00:12.36 | Miteorite | I got an installed version of tomcat 4.1 here. When I try to start the /admin module i get a huge an exception and a huge trace. |
00:12.55 | Miteorite | I dont understand the error message so I dont know what to do. Any suggestions would be appreciated. |
00:13.37 | jasonb | Miteorite: For us to know what happened, we do need to understand the error message. :) |
00:13.41 | Miteorite | yes |
00:13.47 | Miteorite | i'm trying to figure out what to paste |
00:13.50 | Miteorite | it's all confusing :) |
00:13.53 | jasonb | Miteorite: So, could you show us the first few lines? |
00:13.57 | Miteorite | 2003-01-22 15:50:20 WebappLoader[/admin]: Deploy class files /WEB-INF/classes to /opt/www/servers/qaapp-01/jakarta-tomcat-4.1/server/webapps/admin/WEB-INF/classes |
00:14.01 | Miteorite | 2003-01-22 15:50:20 ContextConfig[/admin] Exception processing TLD at resource path /WEB-INF/struts-logic.tld |
00:14.04 | Miteorite | javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/struts-logic.tld |
00:14.13 | Miteorite | .. long stack trace |
00:14.19 | Miteorite | ----- Root Cause ----- |
00:14.19 | Miteorite | java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/struts-logic.tld |
00:14.25 | Miteorite | ... more stack |
00:15.02 | jasonb | Miteorite: Is this *just* Tomcat 4.1 (stock) release binary? Or did you add something to it? |
00:15.29 | Miteorite | hmm that's a good question. im not sure. someone else installed this, im trying to configure it :) |
00:15.46 | Miteorite | but as far as i know this is default install. |
00:16.26 | Miteorite | is there something in particular that makes you wonder? |
00:19.46 | jasonb | In general, a default install doesn't have that problem. :) |
00:30.34 | Miteorite | i see. |
00:30.35 | Miteorite | :] |
00:33.06 | *** join/#tomcat aFreLance (FreLancer@mava.canad.ro) |
00:33.13 | aFreLance | hi |
00:33.50 | aFreLance | I have installed apache and tomcat. I have nfc chat software and I was wondering were and how to dig to make that tunneling feature to work. any idea ? :( |
01:00.22 | *** join/#tomcat m00cow (~fred@203.166.119.90) |
01:00.30 | m00cow | hey |
01:00.49 | m00cow | where can i find notes about the differences between tomcat versions?\ |
01:00.59 | m00cow | I'm worried my 4.0.somthing tomcat is leaking memory |
01:01.10 | Miteorite | probably on the tomcat website |
01:01.32 | m00cow | I'm looking, but can't find it |
02:04.40 | *** join/#tomcat Miteorite (dmitry@h24-78-157-56.vc.shawcable.net) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat Archeron (archeron@archeron.wavefire.com) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat jasonb (~jasonb@adsl-67-115-11-14.dsl.sndg02.pacbell.net) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat funroll-loops (~cmiller@dialup-209.244.146.84.Dial1.Orlando1.Level3.net) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat wasabi (~wasabi@12-239-86-41.client.attbi.com) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat DelTree (~deplagne@minorville.loria.fr) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat tang^ ([vOLXGRD85@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
02:04.40 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
03:10.42 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
03:10.42 | *** join/#tomcat tang^ ([vOLXGRD85@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat DelTree (~deplagne@minorville.loria.fr) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat wasabi (~wasabi@12-239-86-41.client.attbi.com) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat funroll-loops (~cmiller@dialup-209.244.146.84.Dial1.Orlando1.Level3.net) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat jasonb (~jasonb@adsl-67-115-11-14.dsl.sndg02.pacbell.net) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat Archeron (archeron@archeron.wavefire.com) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat Miteorite (dmitry@h24-78-157-56.vc.shawcable.net) [NETSPLIT VICTIM] |
03:10.43 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM] |
04:17.05 | *** join/#tomcat jkk (www@dynamic-156-108.dyn.columbia.edu) |
04:17.44 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
04:26.10 | Hellaenergy | ibot: jetty is at http://jetty.mortbay.org/cgi-bin/env.sh |
04:26.10 | | ...but jetty is already something else... |
04:26.18 | Hellaenergy | ibot: jetty |
04:26.22 | | HTTP/1.1 Servlet server written in Java. URL: http://www.mortbay.com/software/Jetty.html |
04:26.31 | Hellaenergy | nice |
04:27.23 | Hellaenergy | ibot: jetty is now at http://jetty.mortbay.com/jetty/index.html |
04:27.24 | | ...but jetty is already something else... |
04:27.41 | Hellaenergy | ibot: update jetty http://jetty.mortbay.com/jetty/index.html |
04:27.41 | | Hellaenergy: parse error: dunno what the heck you're talking about |
04:28.35 | Hellaenergy | ibot: change jetty to http://jetty.mortbay.com/jetty/index.html |
04:29.34 | Hellaenergy | ibot: lart ibot |
04:29.42 | Hellaenergy | ouch |
04:33.08 | Hellaenergy | ibot: change jetty to http://jetty.mortbay.com/jetty/index.html |
04:33.23 | Hellaenergy | ibot: jetty has moved to http://jetty.mortbay.com/jetty/index.html |
04:33.24 | | Hellaenergy: parse error: dunno what the heck you're talking about |
04:33.32 | Hellaenergy | oooh well |
04:39.54 | *** join/#tomcat jkk_ (www@dynamic-156-108.dyn.columbia.edu) |
04:41.49 | Hellaenergy | ibot: lark jasonb |
04:41.49 | | Hellaenergy: are you smoking crack? |
04:42.01 | Hellaenergy | no ibot just the bud |
04:42.29 | jasonb | ibot: nickometer Hellaenergy |
04:42.29 | | 'Hellaenergy' is 0.000% lame, jasonb |
04:42.34 | Hellaenergy | ya |
04:42.47 | Hellaenergy | ibot: lart jasonb |
04:42.49 | jasonb | .. except when he gets ibot commands wrong. :) |
04:43.43 | Hellaenergy | Any of you guys ever used jetty? |
04:45.47 | Hellaenergy | ibot: nickometer tomcat |
04:45.47 | | 'tomcat' is 0.000% lame, hellaenergy |
04:51.23 | Hellaenergy | night all |
04:51.26 | *** part/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
05:40.32 | *** join/#tomcat Blaze (dirc@boha41ovy1da.ab.hsia.telus.net) |
05:49.37 | *** join/#tomcat asb2m10 (~chatzilla@modemcable005.32-200-24.mtl.mc.videotron.ca) |
06:07.53 | *** join/#tomcat freonx (~synch@200.38.71.72) |
06:08.08 | freonx | ohhhhhh coolishhhhhhh |
06:08.18 | freonx | anyone here runing Tomcat on a Freebsd box? |
07:29.22 | *** join/#tomcat jurrend (~jurrend@203.77.197.35) |
09:14.54 | *** join/#tomcat freonx (~synch@200.38.71.72) |
09:53.54 | *** join/#tomcat bender|work (~bender@h236n2fls31o954.telia.com) |
10:00.20 | *** join/#tomcat xerov (twe@ip68-4-0-92.pv.oc.cox.net) |
10:01.11 | xerov | hello, anyone know why I would be getting a Status 404 unavailable with tomcat? the docbase etc is configure right in the context and the classes are loaded |
10:01.27 | xerov | its a standard turbine generated app that worked on other installations |
10:04.54 | bender|work | hi! i have a problem, when i retrieve values from a database that contains swedish characters, they get all messed up. since the database im using has latin1 as local setting, i guess this has to do with some setting in java or tomcat? anyone that has an idea about this? |
10:05.41 | xerov | you are retrieving these values from within java code? |
10:06.54 | xerov | you most likely have to set the correct encoding |
10:07.11 | bender|work | xerov: where do i change this? |
10:07.34 | xerov | you are using jdbc? |
10:07.51 | bender|work | yes |
10:08.03 | bender|work | (mysql driver) |
10:08.31 | bender|work | example: brödtext looks like br?dtext |
10:08.49 | xerov | okay i think the jdbc driver gives you utf-8 strings |
10:08.52 | xerov | so do this: |
10:09.27 | xerov | ).getBytes("utf-8"); |
10:10.05 | xerov | hmmm okay i think i remember |
10:10.21 | xerov | byte [] bytes |
10:10.32 | xerov | bytes = rs.getBytes(1) |
10:10.41 | bender|work | ok, ill look into it.. one would think that there was some setting to locilize strings in jdbc |
10:10.49 | xerov | String str = new String(bytes, "iso-encoding for swedish") |
10:11.00 | bender|work | i get your point :) |
10:11.15 | xerov | so that part i guess sets it to swedish encoding |
10:11.22 | bender|work | sounds rather complicated in order just to retrive strings with the correct localization :( |
10:12.02 | xerov | yeah, i'd read up on it, there is probably an easier way? |
10:12.55 | bender|work | i guess so, thanks for your help! |
10:13.01 | xerov | np |
10:13.53 | jasonb | bender|work: Just so you know, if you're using mysql, you probably also need the following JDBC URL parameters set: useUnicode=true&characterEncoding=ISO8859_1 |
10:14.12 | jasonb | bender|work: It's possible you need a different characterEncoding than that, but I'd try that first. |
10:15.01 | jasonb | bender|work: If you don't set those in the JDBC URL, mysql will almost certainly not use unicode, and will lose some of your data. I had this problem too, and spent a couple of days tracking that down. |
10:16.04 | bender|work | jasonb: ok, thanks alot |
10:17.36 | jasonb | bender|work: No problem. |
10:20.46 | bender|work | jasonb: so, something like this (in server.xml) jdbc:mysql://ior:3306/test?autoReconnect=true&useUnicode=true&characterEncoding=ISO8859_1 |
10:22.16 | jasonb | bender|work: Yeah. Try that. |
10:22.28 | jasonb | bender|work: It's possible that just doing that could fix your problem. |
10:22.54 | bender|work | jasonb: ok, thanx alot! |
10:23.13 | xerov | why is 4.0.6 and 4.1.x in different branches? |
10:24.11 | jasonb | xerov: In version numbering like X.Y.Z, every time you change Y you start a new branch. |
10:24.37 | xerov | why use 4.0.6 though? |
10:25.01 | jasonb | xerov: That is, as long as X = major rearchitecture, Y = incompatible interface changes & rework, Z = bugfix rev number. |
10:25.22 | jasonb | xerov: For those of us who aren't already stuck with it, we don't use it. :) |
10:25.35 | xerov | ahh :) |
10:25.43 | xerov | thanks for that explanation |
10:25.51 | jasonb | xerov: No prob. |
10:28.18 | xerov | i used to think resin was cool, till i saw the price hehe |
10:29.12 | jasonb | xerov: Yeah, resin is cool, so is Orion, and lots of other commercial app servers. But, Tomcat is basically as cool as resin's servlet container, and it's free. |
10:29.54 | jasonb | xerov: I personally just don't like the idea of paying per-CPU whenever I set up a servlet container (even to test stuff). |
10:30.54 | xerov | yeah, im doing this app for my students (7th grade) and that school cant afford $850 application servers |
10:31.11 | jasonb | xerov: The best things in life are free. :) |
10:31.19 | xerov | hehe, yup |
10:32.13 | xerov | i was looking at this earlier http://www.webperformanceinc.com/library/ServletReport/ |
10:32.27 | xerov | its pretty cool, though not conclusive |
10:33.11 | jasonb | You know, open source software projects, unlike commercial, thrive in both good and bad economies. In good economies, lots of companies pay their employees to work on the free code. In bad economies, lots of companies ditch their commercialware and install open source equivalents to reduce costs. The more cycles of that we go through, the stronger and more popular the open source software gets! |
10:34.03 | jasonb | xerov: Yep, that's such an awesome comparison/benchmark. I've seen it too. |
10:34.37 | xerov | thats true, theres been a lot of open source integration inot commerical companies |
10:35.04 | xerov | this channel doesn't have any ops? |
10:35.21 | jasonb | xerov: Heh.. I guess not. :) |
10:35.28 | xerov | :) |
10:48.29 | *** join/#tomcat tReShR (~chatzilla@netscreen.ti.mon3aan.nl) |
10:49.12 | tReShR | hello |
11:11.44 | *** join/#tomcat jkk (www@dyn-mcb-168-102.dyn.columbia.edu) |
11:24.54 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM] |
11:43.47 | *** join/#tomcat jasonb_ (~jasonb@adsl-64-165-10-238.dsl.sndg02.pacbell.net) |
11:44.56 | *** join/#tomcat matthewp (~mrp@host81-132-63-253.in-addr.btopenworld.com) |
11:45.56 | *** join/#tomcat matthewp (~mrp@host81-132-63-253.in-addr.btopenworld.com) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat xerov (twe@ip68-4-0-92.pv.oc.cox.net) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat Blaze (dirc@boha41ovy1da.ab.hsia.telus.net) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat Miteorite (dmitry@h24-78-157-56.vc.shawcable.net) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat Archeron (archeron@archeron.wavefire.com) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat jasonb (~jasonb@adsl-67-115-11-14.dsl.sndg02.pacbell.net) |
11:45.56 | *** join/#tomcat wasabi (~wasabi@12-239-86-41.client.attbi.com) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat DelTree (~deplagne@minorville.loria.fr) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat tang^ ([vOLXGRD85@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
11:45.56 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
11:46.03 | *** join/#tomcat jasonb_ (~jasonb@adsl-64-165-10-238.dsl.sndg02.pacbell.net) |
11:46.03 | matthewp | Hi |
11:47.25 | *** join/#tomcat jasonb_ (~jasonb@adsl-64-165-10-238.dsl.sndg02.pacbell.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat tang^ ([vOLXGRD85@ahgn23wky5824.ab.hsia.telus.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat DelTree (~deplagne@minorville.loria.fr) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat JakWORK (chris@radar.wapmx.com) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat wasabi (~wasabi@12-239-86-41.client.attbi.com) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat jasonb (~jasonb@adsl-67-115-11-14.dsl.sndg02.pacbell.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat Archeron (archeron@archeron.wavefire.com) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat Miteorite (dmitry@h24-78-157-56.vc.shawcable.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat Blaze (dirc@boha41ovy1da.ab.hsia.telus.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat xerov (twe@ip68-4-0-92.pv.oc.cox.net) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat matthewp (~mrp@host81-132-63-253.in-addr.btopenworld.com) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat jkk (www@dyn-mcb-168-102.dyn.columbia.edu) [NETSPLIT VICTIM] |
11:47.25 | *** join/#tomcat bender|work (~bender@h236n2fls31o954.telia.com) [NETSPLIT VICTIM] |
11:51.01 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM] |
11:55.02 | xerov | sup |
11:55.24 | matthewp | hi xerov |
11:55.32 | xerov | hey matthewp |
11:55.50 | matthewp | I just dropped in to ask a couple of tomcat questions |
11:56.18 | xerov | im no expert, but i'll help if i can |
11:56.33 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) [NETSPLIT VICTIM] |
11:57.19 | matthewp | I've got this webapp that uses JSPs |
11:57.36 | matthewp | and it needs debugging, but takes 10 mins to initialize (don't ask) |
11:58.01 | matthewp | do you know of an ant task that will let me validate the jsp before deployment? |
11:59.24 | xerov | of an ant task, not that i know |
12:00.14 | xerov | http://jakarta.apache.org/ant/external.html |
12:00.18 | xerov | theres one there apparently |
12:04.33 | matthewp | xerov: what was it called? I can't find it :( |
12:05.09 | xerov | anteater i think |
12:05.37 | xerov | wait do you mean a task to see if all the jsp's compile ok? |
12:05.46 | matthewp | yeah |
12:06.18 | xerov | jspc should do that |
12:06.25 | xerov | lemme find a url |
12:06.37 | xerov | http://jakarta.apache.org/ant/manual/OptionalTasks/jspc.html |
12:08.33 | matthewp | thanks. that looks like exactly what I need. I feel a bit blind now |
12:09.02 | xerov | no prob dude |
13:03.09 | *** join/#tomcat Kash-newbie (Kash@217.52.4.131) |
13:03.31 | Kash-newbie | Hello :) |
13:04.57 | Kash-newbie | may I ask for some assistance? |
13:05.19 | matthewp | I'll try |
13:06.17 | Kash-newbie | Thanx. I set up the tomcat standalone server on a win98 computer. It works fine. |
13:07.21 | Kash-newbie | I have created a web-app and set it up in the root directory |
13:07.37 | Kash-newbie | Now, I want to move it to another directory in webapps. |
13:08.12 | Kash-newbie | lets call that directory newapp |
13:08.26 | Kash-newbie | so in newapp\* I stored the html & jsp files |
13:08.44 | Kash-newbie | in newapp\web-inf\classes\* I stored all my class files |
13:09.04 | Kash-newbie | The set up is exactly as if it were in root, only the name is changed from root to newapp |
13:09.27 | Kash-newbie | My problem is that in my class files and my html files, I call /servlet/myservlet |
13:09.39 | Kash-newbie | and these do not work any longer. |
13:10.05 | Kash-newbie | I guess there is some way to configure tomcat to respond to those calls to the servlets and redirect them to the appropriate class file |
13:10.20 | Kash-newbie | I can't find how... or I can't seem to understand it from the documentation. |
13:11.05 | xerov | create a servlet mapping in web.xml |
13:11.36 | Kash-newbie | hmm.. yes, could you point me to a site that gives a how-to or a reference? |
13:13.42 | xerov | lemme see |
13:15.07 | Kash-newbie | Ok, I found something on this link, but I can't understand it well. |
13:15.17 | Kash-newbie | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html |
13:15.46 | xerov | http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1015060 |
13:16.22 | xerov | im off to bed, 5 am here, good luck dude |
13:16.41 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-1-133.abo.wanadoo.fr) |
13:17.04 | *** part/#tomcat xerov (twe@ip68-4-0-92.pv.oc.cox.net) |
13:17.17 | Kash-newbie | thanx! :) |
13:17.22 | matthewp | you need to add a <servlet> block naming your .jsp with an element <jsp-file> that points to the .jsp's relative path. |
13:17.57 | matthewp | then add a <servlet-mapping> element that includes a <uri-pattern> element that mounts it under the uri you want |
13:18.10 | matthewp | I have an example here - how can I send it to ou? |
13:18.58 | Kash-newbie | please send it to kashman@aucegypt.edu |
13:19.33 | Kash-newbie | Thanks a lot! I've been pulling my hair out to figure it out! |
13:25.22 | Kash-newbie | Clarification please. |
13:26.14 | Kash-newbie | As I stated earlier http://localhost/servlet/helloPage was working |
13:26.33 | Kash-newbie | When I changed directory of the applicationf from webapps\root to webapps\newapp |
13:27.21 | Kash-newbie | the servlets should be called by http://localhost/newapp/servlet/helloPage |
13:27.43 | Kash-newbie | And this feature is not working.. |
13:38.33 | *** join/#tomcat Kash-newbie (Kash@217.52.4.131) |
13:38.49 | Kash-newbie | sorry got d/c |
13:42.37 | Kash-newbie | Thanx a lot for your help guys. I'll check back in and update you if I get it working.. or otherwise! :) |
13:48.18 | *** part/#tomcat Kash-newbie (Kash@217.52.4.131) |
14:43.13 | *** join/#tomcat funroll-loops (~cmiller@dialup-63.209.126.72.Dial1.Orlando1.Level3.net) |
14:46.17 | matthewp | In a .jsp, I refer to a class called UserComparator that has it's class file directly in WEB-INF/classes, but when tomcat loads the .jsp, it says it can't find org.apache.jsp.UserComparator - how do I force it to load UserComparator (without the package prefix) |
14:49.02 | funroll-loops | Good question. I'm new to Tomcat, I ran into this too. I punked-out and used package-lines rather than find how. :\ |
14:50.11 | matthewp | looking at the $jsp.java class, it seems the .jsp is compiled into the org.apache.jsp package |
14:50.35 | matthewp | OK - I'll force UserComparator into an explcit lackage & try again |
14:51.08 | funroll-loops | If you find out, please tell me, matthewp. |
15:42.05 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) |
15:42.08 | Hellaenergy | morning |
15:50.53 | funroll-loops | Hey. |
16:00.50 | *** join/#tomcat golgotha (~golgotha@pc1-cmbg1-6-cust49.cmbg.cable.ntl.com) |
16:01.09 | golgotha | has the jsp 2.0 spec been completed? |
16:03.40 | Hellaenergy | go to java.sun.com and check |
16:38.18 | *** join/#tomcat Sou|cutter (Sou_cutter@el79-250.med.utah.edu) |
16:52.05 | matthewp | funroll-loops: I can't find a fix. I've just moved the class into a silly package which I import into the .jsp |
17:08.05 | *** join/#tomcat funroll-loops (~cmiller@dialup-64.156.99.17.Dial1.Orlando1.Level3.net) |
17:24.34 | *** join/#tomcat supasteri (~supasteri@r96-5.bas1.srl.dublin.eircom.net) |
17:24.47 | supasteri | Quicky for any tomcat dudes :) |
17:25.05 | supasteri | i have a number of webapps... being deployed as part of a single tomcat installation... |
17:25.42 | supasteri | is it possible to specify the order in which webapps are loaded i.e. put another way i need a specific webapp to be loaded before all the others... |
17:26.18 | supasteri | maybe asked liked this: is it possible to specify a startup class that tomcat loads BEFORE loading webapps? |
17:46.26 | *** join/#tomcat randrew (~raj@granular.cc.columbia.edu) |
17:49.32 | Hellaenergy | supasteri: you could make it into a war |
18:00.12 | jasonb_ | supasteri: You could write a Valve and configure it at the Engine level, and that would (I believe) load before any webapp content. |
18:01.20 | jasonb | supasteri: But, Valves are a Tomcat-only thing, which means your app would then be less portable to other servlet containers. |
19:06.10 | Hellaenergy | ibot: <-- |
19:06.37 | Hellaenergy | I stumped ibot! |
19:07.16 | jasonb | hehe! |
19:07.28 | jasonb | ibot: <-------------------------- |
19:07.35 | jasonb | ibot: blah |
19:07.36 | | from memory, blah is X |
19:07.54 | jasonb | :) |
19:08.14 | jasonb | ibot: <foo |
19:08.14 | | jasonb: bugger all, i dunno |
19:08.21 | jasonb | ibot: <-foo |
19:08.22 | | i haven't a clue, jasonb |
19:08.30 | jasonb | ibot: <--foo |
19:08.31 | | jasonb: I don't know, could you explain it? |
19:08.37 | jasonb | ibot: <-- |
19:08.56 | jasonb | ibot: <-- x |
19:08.57 | | jasonb: I'm not sure, is it larger than a breadbox? |
19:09.03 | Hellaenergy | ibot: ^[Yy] |
19:09.04 | | wish i knew, Hellaenergy |
19:09.09 | jasonb | ibot: <-- x -- |
19:09.10 | | jasonb: I don't know, could you explain it? |
19:09.18 | jasonb | ibot: <x- |
19:09.19 | | jasonb: are you smoking crack? |
19:09.47 | jasonb | ibot: <__ |
19:09.47 | | jasonb: I'm not sure, is it larger than a breadbox? |
19:09.58 | jasonb | ibot: --------- |
19:10.16 | jasonb | ibot: <<<<<<<<< |
19:10.17 | | jasonb: I don't know, could you explain it? |
19:10.39 | jasonb | ibot: < |
19:10.39 | | jasonb: I'm not sure, is it larger than a breadbox? |
19:10.50 | jasonb | ibot: x-- |
19:11.04 | Hellaenergy | ibot: who is your girlfriend |
19:11.05 | | Hellaenergy: what are you talking about? |
19:11.18 | Hellaenergy | ibot: girls |
19:11.19 | | girls is probably at http://www.yourmom.com/xxx/livecam/_your_mothers_name_here |
19:11.28 | jasonb | ibot: fooooo-- |
19:12.16 | jasonb | ibot: fooooooooooooooooooooooooooooooooooooooooooooooooo-- |
19:12.25 | jasonb | Ahh.. |
19:12.55 | jasonb | This might be a database query thing. Does ibot use a sql database? |
19:13.17 | Hellaenergy | prolly |
19:13.33 | Hellaenergy | ibot: Your mom is a ho-- |
19:13.34 | | okay, Hellaenergy |
19:13.35 | jasonb | ibot: spam |
19:13.36 | | ACTION sings, Spam, Spam, Spam, Spam, Spam, Wonderfull spam! |
19:13.42 | Hellaenergy | ahahaha |
19:13.45 | jasonb | :) |
19:14.09 | Hellaenergy | ibot: your mom |
19:14.10 | | hmm... your mom is a ho-- |
19:14.10 | jasonb | ibot: shazam |
19:14.11 | | i haven't a clue, jasonb |
19:14.11 | Hellaenergy | ibot: splat |
19:14.11 | | Stampede Package Listing and Administration Tool. URL: http://outlyer.org/stampede/splat.html |
19:14.21 | funroll-loops | Who runs ibot? |
19:14.54 | jasonb | ibot: shazam' OR ''=' |
19:14.55 | | jasonb: I don't know, could you explain it? |
19:14.57 | Hellaenergy | ibot: who is your master |
19:14.57 | | rumour has it, ibot's master is fun |
19:16.00 | jasonb | ibot: shazam' OR 'a'='a |
19:16.00 | | jasonb: i haven't a clue |
19:16.06 | Hellaenergy | timriker owns ibot |
19:16.55 | Hellaenergy | why do you say that? |
19:17.20 | Hellaenergy | TimRiker hangs over in #zaurus |
19:17.25 | jasonb | Because putting "--" on the end of the thing you ask ibot to query for makes the query fail silently, it seems. |
19:17.39 | Hellaenergy | well i know that |
19:17.49 | Hellaenergy | is that a ms sql server thang? |
19:17.54 | jasonb | That's a somewhat-well-known MS SQL thing.. "--" means to ignore the rest of the query. |
19:18.03 | jasonb | :) |
19:19.08 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) |
19:19.54 | Hellaenergy | jasonb: apperently its a text file |
19:19.57 | Hellaenergy | blootbot |
19:20.12 | jasonb | Hellaenergy: Really? Strange. |
19:20.36 | Hellaenergy | http://blootbot.sourceforge.net |
19:20.44 | jasonb | Hellaenergy: Yeah, I think I even looked at that before. |
19:21.49 | funroll-loops | Just as '--' delimits comments in SQL and SGML, it may do so in bloot-speak, too. |
19:21.51 | *** join/#tomcat Muriartagh (~chatzilla@205.227.88.68) |
19:22.11 | jasonb | funroll-loops: Quite possible. |
19:22.44 | Muriartagh | Does anyone have 4.1.18 running on an alpha? |
19:22.53 | Hellaenergy | Have you guys ever seen pastebot? http://sourceforge.net/projects/pastebot/ |
19:23.12 | Hellaenergy | Muriartagh: 4.1.18 running but not on Alpha |
19:23.59 | Muriartagh | Did you have any problems with it looking for a $CATALINA_HOME/keystore file? |
19:24.12 | Hellaenergy | no |
19:28.27 | Muriartagh | Hm. OK. Back to the google search for me then. Many thanks! |
19:30.24 | funroll-loops | Dang! blootbot requires MySQL. |
19:31.15 | *** join/#tomcat lalle (lars@h229n2fls31o267.telia.com) |
19:33.10 | jasonb | funroll-loops: So does it store its knowledge in there, or in a text file? |
19:33.46 | funroll-loops | I'm researching right now. |
19:33.54 | jasonb | funroll-loops: Cool. |
19:34.16 | funroll-loops | The debian package requires mysql, in any case. I imagine that's for "factoids" and stats. |
19:35.52 | funroll-loops | Quoth the README: |
19:35.54 | funroll-loops | HISTORY |
19:35.55 | funroll-loops | <PROTECTED> |
19:35.55 | funroll-loops | increase performance and to avoid borked over dbm's which occurred when |
19:35.55 | funroll-loops | the bot crashed (??). |
19:36.46 | funroll-loops | last paste: |
19:36.47 | funroll-loops | As of 1.0.0RC2, the old style DBM (Berkeley) has been ported |
19:36.48 | funroll-loops | back. It should work in all but 3 specific (countdown, factstats unreq) |
19:36.48 | funroll-loops | cases. preliminary pgsql support has been added but someone with pgperl |
19:36.48 | funroll-loops | knowledge needs to fix it up or at least unify the module with mysql. |
19:37.05 | *** join/#tomcat twotimes (~chatzilla@adsl-175-202.cybernet.ch) |
19:38.45 | jasonb | funroll-loops: So it supports many kinds of databases. |
19:39.20 | funroll-loops | MySQL very well. The others, pg and dbm, are experimental. |
19:42.09 | Hellaenergy | what kind do you all use for your servlets? |
19:44.19 | funroll-loops | Hellaenergy: Kind of database? |
19:54.39 | funroll-loops | If so, I usually use postgresql. I hear mysql has come a long way, but I still have a bad impression from its early days. |
19:54.58 | funroll-loops | I've use Oracle enough to hate it. |
19:56.41 | *** join/#tomcat Freix (~robbie@host53-13.pool80116.interbusiness.it) |
19:57.12 | Hellaenergy | I am a database rookie but, it seems like linux people love mysql |
19:57.55 | Freix | i don't love mysql :) |
19:58.50 | Freix | today i downloaded sapdb :) |
19:58.58 | Freix | i'm trying it |
20:00.56 | *** join/#tomcat javajon (~jdl@66.95.164.131) |
20:01.02 | funroll-loops | I don't think it's "linux people" as much as "newbies", or that's the way it used to be. |
20:03.10 | Hellaenergy | funroll-loops: you do like postgres then? |
20:04.25 | funroll-loops | I do. |
20:04.29 | Hellaenergy | bugzilla likes mysql and I like bugzilla :) |
20:04.53 | Hellaenergy | I got that oreilly on postgres |
20:05.03 | Hellaenergy | I need to get around to reading it ;) |
20:05.42 | funroll-loops | The bugzilla folks didn't like mysql for quite a while. The table-level locking made Mozilla's bugzilla instance almost unusable for about 6 months. |
20:05.57 | jasonb | Hellaenergy: Ever had a look at Scarab? http://scarab.tigris.org/ |
20:06.05 | Hellaenergy | no |
20:06.54 | twotimes | has anybody experience with SapDB? I'll use it for a new project and it looks fine until now.. |
20:06.59 | Hellaenergy | This look promising |
20:07.24 | jasonb | Hellaenergy: It's quite nice, and flexible. |
20:07.37 | Hellaenergy | Do any of you use scrab and for what? |
20:07.42 | Freix | twotimes... i'mtrying it now :) |
20:08.40 | funroll-loops | jasonb: I just installed 'moobot', and it looks pretty nice. Not as big as... whateverbot, and uses postgres well so far. |
20:08.54 | jasonb | Hellaenergy: Here's one place you can try scarab: http://scarab.werken.com/scarab/issues/ |
20:09.13 | Hellaenergy | I have a pewny machine running my bugzilla db I don't know if it could handle scrab |
20:09.15 | jasonb | Hellaenergy: That installation seems to be running a little slow currently, I'm not sure why. |
20:09.54 | jasonb | Hellaenergy: Scarab runs in Tomcat, so you'd need a machine that can run Tomcat and a large-ish webapp inside of it. |
20:10.57 | Hellaenergy | jasonb: Thats what I'm sayin. This machine is a piece of junk |
20:11.05 | jasonb | funroll-loops: Is moobot written in perl too? |
20:11.10 | Hellaenergy | that is the only reason I got it in the first place from my cheap ass company |
20:11.36 | twotimes | freix : I nearly had a heartattack when I read about the 8KB record limit in SapDB until I found out that the LONG (equals BLOB) data type is 2GB limit..:-) |
20:11.42 | funroll-loops | jasonb: Python. |
20:11.48 | jasonb | funroll-loops: Ugh. |
20:14.57 | Hellaenergy | I like how scrab looks |
20:15.06 | Hellaenergy | and that it can import bugzilla bugs |
20:15.21 | Hellaenergy | what db does it use? |
20:18.09 | jasonb | I believe I heard it can use MySQL, Oracle, and Postgres. |
20:18.24 | jasonb | I'm not positive about Postgres, but I am positive about MySQL and Oracle. |
20:18.46 | jasonb | It might be able to use others too, I just don't know. |
20:19.19 | jasonb | It uses the Torque db abstraction layer (which I wouldn't wish on anyone, although it does do some things well). |
20:20.12 | Freix | twotimes: do you use it on window or unix ? |
20:20.34 | jasonb | The coolest thing about Scarab in my mind is that it's a pure-Java webapp, so no more CGI (no more waiting on that old technology), and you don't need to set up or use Apache. |
20:22.39 | twotimes | freix : we run it on Mandrake Linux |
20:26.52 | Hellaenergy | jasonb: it listens on port 80? |
20:34.16 | Hellaenergy | neato mesquito |
21:24.18 | *** join/#tomcat funroll-loops (~cmiller@dialup-64.156.99.17.Dial1.Orlando1.Level3.net) |
23:08.28 | *** join/#tomcat mayberry (mayberry@jupiter.loonybin.net) |
23:08.40 | mayberry | does anyone have any docs on how to secure standalone tomcat? |
23:15.31 | *** join/#tomcat Epesh (~joeo@12.223.194.38) |
23:16.32 | Epesh | are there known problems with requestdispatcher.include() in tomcat 4.x? |
23:18.40 | jasonb | Epesh: Any known problems get fixed pretty fast in the tip of each branch of the code. |
23:19.02 | jasonb | Epesh: Especially if they're security or stability problems. |
23:19.38 | Epesh | I'm seeing the problem in 4.1.18, too |
23:19.58 | Epesh | I have a responsewrapper to divert the output stream from an include(), tomcat's ... losing the stream |
23:20.40 | Epesh | It acquires the stream properly, no problem, but just writes nothing to it |
23:20.53 | jasonb | Epesh: If it's repeatable, and you think it's a bug, please file a bug report about it including as much info about how to reproduce the problem as you can and someone will have a look. |
23:21.14 | Epesh | I extended PrintWriter (since tomcat uses getWriter()) and put outputs in each method: no usages |
23:21.22 | Epesh | Will do |
23:22.00 | jasonb | Thanks. |
23:22.29 | Epesh | Found the problem writing something Andy Oliver said you couldn't do :) |
23:23.31 | Epesh | Code works perfectly in every server I've tried except for tomcat |
23:23.43 | jasonb | Welp, then it may very well be a Tomcat bug. |
23:23.57 | Epesh | I looked on the bug report, didn't see anything on it |
23:24.16 | jasonb | But, you can't simply assume that.. many other servers implement specification uncompliant features, and features that are simply not part of the Java servlet spec. |
23:24.58 | jasonb | Just because other servers (especially commercial ones) implement a feature, that doesn't make the feature a part of the Java Servlet Specification, so it may not need to be in Tomcat. |
23:25.15 | jasonb | But, if it's a bug, plain and simple, then it's something a bug report could begin to fix. |
23:27.03 | Epesh | yeah |
23:27.18 | Epesh | well, this specific thing does look like a bug |
23:28.11 | jasonb | If it is, and if you report it with a bug report, it'll almost certainly get fixed soon. |
23:29.33 | Epesh | I'll file it tomorrow |