00:07.59 | *** join/#tomcat Gnug225 (~Gnug225@24.236.252.188.gha.mi.chartermi.net) |
01:17.41 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) |
02:41.30 | *** join/#tomcat Gnug225 (~Gnug225@24.236.252.188.gha.mi.chartermi.net) |
03:57.16 | *** join/#tomcat znoG (gs@webtastic.com.au) |
04:05.05 | znoG | hi all... now, how to explain myself.. ok, basically i'm using this tool which configures Tomcat for you (how nice). Problem I'm having is that it will only accept .war files, rather than full directories.. and it doesn't honor the 'ROOT' directory |
04:05.26 | znoG | make sense? |
04:07.14 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
04:07.14 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
04:15.43 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
04:38.38 | znoG | how does Tomcat figure out which web applications to deploy? |
04:38.49 | znoG | is it enough to create a new dir and dump files in /var/tomcat4/webapps/ ? |
04:38.52 | znoG | (and restart Tomcat) |
04:48.50 | *** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us) |
05:09.37 | znoG | StandardContext[/desknow]: Servlet /desknow threw load() exception: javax.servlet.ServletException: access denied (java.io.FilePermission /var/ddata/cfg/Main.cfg read) |
05:09.52 | znoG | who would be trying to open that file? the user that runs tomcat4? |
05:30.15 | znoG | hmmm, anyone actually alive in here? |
05:54.41 | *** join/#tomcat zalp (~zalp@user-2injm6f.dialup.mindspring.com) |
06:05.38 | *** join/#tomcat PW_Wrk (~Pointwood@130.226.173.7) |
06:22.26 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
06:22.26 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
06:25.16 | *** join/#tomcat Hans_ (~hans@p50800ACD.dip0.t-ipconnect.de) |
06:26.20 | Hans_ | Hello |
06:28.58 | Hans_ | I tried to use jasper2 with ant as described on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. However, I am having problems to specify the classpath Jasper2 should use. |
06:29.12 | Hans_ | Does someone have a hint for me? |
06:44.13 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
06:44.14 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
06:51.00 | *** join/#tomcat abannert (~chatzilla@dsl081-049-254.sfo1.dsl.speakeasy.net) |
07:04.42 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
07:04.42 | *** join/#tomcat jkk (~www@h000625d7017a.ne.client2.attbi.com) [NETSPLIT VICTIM] |
07:27.13 | *** join/#tomcat Adelheit (~none@80.146.165.65) |
07:42.32 | *** join/#tomcat AlexMc (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) |
08:00.36 | Hans_ | Does someone know how to specify a compilation classpath for jasper2 in an ant script? |
08:06.55 | *** join/#tomcat willem (~willem@213-84-243-32.adsl.xs4all.nl) |
08:31.48 | *** join/#tomcat Avalon^ (~db@fw.bibsys.no) |
08:48.29 | *** join/#tomcat trn_ (~sasha@195.69.221.24) |
08:49.47 | *** join/#tomcat AlexMc__ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) |
08:49.53 | Hans_ | I tried to use jasper2 with ant as described on http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper-howto.html. However, I am having problems to specify the classpath Jasper2 should use. |
08:50.15 | Hans_ | e.g. to find tag libraries etc. |
09:15.49 | *** join/#tomcat vakYpollo (~higopico@151.Red-80-36-135.pooles.rima-tde.net) |
09:23.56 | *** part/#tomcat Avalon (~db@fw.bibsys.no) |
10:13.46 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-254.arcor-ip.net) |
10:19.39 | *** join/#tomcat Hans_ (~hans@p50800ACD.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
10:31.47 | trn_ | does anybody worked with apache avalon ? |
10:32.46 | vakYpollo | not me. |
10:36.53 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
11:19.48 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
11:54.13 | Hans_ | Does anyone use Jasper2 with ant? |
12:32.23 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
12:32.49 | *** join/#tomcat jkk (~www@h004005c56be2.ne.client2.attbi.com) |
12:42.21 | *** join/#tomcat jkk_ (~www@h004005c56be2.ne.client2.attbi.com) |
12:43.37 | vakYpollo | Hans_: not me, but if I ever have to use it, what is the problem? |
12:48.20 | Hans_ | vakYpollo: The problem is that it uses $CLASSPATH instead of a classpath specified by build.xml. That breaks the build and makes it impossible to create a build class path. |
12:48.49 | Hans_ | Unfortunately, I do not get any replies from the mailing list. |
12:50.41 | vakYpollo | Hans_: what ant release are you using? |
12:52.03 | Hans_ | 1.5 |
12:52.07 | vakYpollo | jspc is an optional task, insn't it? |
12:52.14 | vakYpollo | 1.5.3-1? |
12:52.34 | Hans_ | Yes, but I would like to use jasper2 instead of jspc. |
12:52.46 | Hans_ | jspc has some ugly disadvantages. |
12:52.59 | vakYpollo | where is jasper2 task doc? |
12:53.27 | Hans_ | 1.5.3, I guess (how to display the version number)? |
12:54.30 | vakYpollo | ant -version |
12:54.54 | Hans_ | 1.5.1 |
12:55.08 | vakYpollo | I see jasper2 task is org.apache.jasper.JspC |
12:56.04 | Hans_ | right |
12:57.17 | vakYpollo | what tomcat release are you using? |
12:58.38 | vakYpollo | some docs in:http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jasper/docs/api/org/apache/jasper/JspC.html |
12:59.12 | vakYpollo | I think setClassPath shoudl be called using reflection by ant. |
12:59.39 | vakYpollo | let's check this in the source code. |
13:00.07 | *** join/#tomcat jkk_ (~www@h004005c56be2.ne.client2.attbi.com) |
13:03.03 | vakYpollo | Hans_: what tomcat release are you using exactly. |
13:03.11 | Hans_ | 4.1.12 |
13:03.39 | vakYpollo | let me find old releases. |
13:52.38 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-254.arcor-ip.net) |
13:53.34 | vakYpollo | Hans_: it seems "setClassPath" should set the class path of the classloader. I have checked out tomcat 4.1.12 JscpC source code. |
13:53.56 | vakYpollo | Hans_: ant could not be setting classpath, but I doubt that seriously |
13:54.11 | vakYpollo | Hans_: are you sure it's a classpath problem? |
13:54.19 | Hans_ | pretty sure |
13:55.02 | Hans_ | So there is a "classpath"-attribute for jasper2.... |
13:55.54 | vakYpollo | yes... you are using it, isn't it? |
13:56.48 | Hans_ | yes, but I am having some difficulties as it does not seem to be possible to specifiy a classpathref |
13:57.10 | Hans_ | Is there a way to pass a "path like structure" to jasper2? |
13:57.31 | vakYpollo | not using a string?... let me see ant source code... |
13:58.54 | *** join/#tomcat PW_Wrk (~Pointwood@130.226.173.7) |
13:59.40 | vakYpollo | Hans_: could you try to put a plain string in that attribute just for testing purposes? |
13:59.57 | vakYpollo | (I mean, full classpath you want to use but as a large string) |
14:00.20 | vakYpollo | I'll look then how to use classpathref & firends. |
14:00.24 | vakYpollo | (friends) |
14:06.01 | vakYpollo | Hans_: I would also say that the correct name of the attribute is "classPath", not classpath. |
14:06.30 | Hans_ | That might have been the problem. |
14:06.42 | vakYpollo | I'm sure you can't use classpathref. |
14:06.55 | vakYpollo | maybe some ${} susbtitution. |
14:07.07 | Hans_ | I'll try it - thank you. |
14:07.36 | vakYpollo | np... just 300 EUR ;) |
14:29.14 | *** join/#tomcat AlexMc_ (~alex@public1-walt1-3-cust26.walt.broadband.ntl.com) |
14:29.14 | *** join/#tomcat jonathan_d (jon_d@user-1815.bbd21tcl.dsl.pol.co.uk) [NETSPLIT VICTIM] |
15:15.27 | *** join/#tomcat mod_cure (~Cure@cs6668191-88.austin.rr.com) |
15:22.26 | *** join/#tomcat sasha_ (~sasha@195.69.221.24) |
15:29.45 | *** join/#tomcat abannert (~chatzilla@dsl081-049-254.sfo1.dsl.speakeasy.net) |
15:43.48 | *** join/#tomcat Guest65069 (~patrick@venkman.qantel.com) |
15:45.24 | Guest65069 | is there anyone here who can help me get jk2 working on my xp machine? |
15:46.24 | Guest65069 | request.getRemoteUser() is returning null ... |
15:48.58 | *** part/#tomcat willem (~willem@213-84-243-32.adsl.xs4all.nl) |
16:36.09 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-254.arcor-ip.net) |
16:36.30 | sobel | welp, load-testing in final phases has eliminated mod_jk2 in favor of mod_jk |
16:37.20 | sobel | jk2 handles twice the load until it eventually SEGVs the process. jk is more stable. |
16:37.38 | sobel | (gentoo linux, ibmjdk1.4.1, tomcat 4.1.24) |
16:42.55 | Guest65069 | im using isapi_redirector2.dll ... |
16:43.27 | Guest65069 | className="org.apache.coyote.tomcat5.CoyoteConnector" |
18:09.03 | *** join/#tomcat Hellaenergy (~Hellaener@209.181.237.141) |
18:15.42 | trn_ | where I can find description of structure of web.xml ? |
18:18.19 | kylev | http://java.sun.com/dtd/web-app_2_3.dtd |
18:20.29 | trn_ | thank kylev very much :) |
18:20.34 | *** part/#tomcat trn_ (~sasha@195.69.221.24) |
18:29.08 | *** join/#tomcat p3 (~p3sulliva@pikes200.centura.org) |
18:32.30 | *** part/#tomcat p3 (~p3sulliva@pikes200.centura.org) |
18:38.18 | *** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net) |
19:04.53 | *** join/#tomcat Gipsi2 (~fab@AStrasbourg-206-1-24-39.w81-49.abo.wanadoo.fr) |
19:07.11 | *** join/#tomcat jasonb (~jasonb@67.124.81.122) |
19:08.44 | *** join/#tomcat Guest65069 (~patrick@venkman.qantel.com) |
19:19.08 | *** join/#tomcat Netmonger (matt@66-95-36-85.client.dsl.net) |
19:38.11 | abannert | Is mod_jk2 stable? |
19:39.05 | sobel | not entirely |
19:39.24 | sobel | loadtest your own rig, every combination of binaries is different, of course |
19:39.43 | sobel | but i wouldn't say mod_jk2 is the pinnacle of perfection yet. it's close, and it's definitely faster than mod_jk. |
20:00.27 | *** join/#tomcat leprechau (charlie@adsl-66-143-45-42.dsl.ksc2mo.swbell.net) |
20:38.01 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-214.arcor-ip.net) |
21:19.07 | abannert | sobel: I'm seing serious segv's in what I think is mod_jk2 under load (when apache respawns new children under load, but not when starting up). |
21:19.33 | abannert | sobel: do you think it would be easy to switch to mod_jk1 while still using the same tomcat and tomcat connector? |
21:19.55 | abannert | In other words, does Coyote AJP 1.3 work with both mod_jk and mod_jk2? |
21:20.18 | kylev | abannert: yup, AJP1.3 is the same |
21:22.12 | sobel | what kylev said |
21:22.55 | sobel | i configured apache with <IfModule mod_jk2.c> and <IfModule mod_jk.c> so that i could more easily swap jk for jk2 in testing |
21:23.05 | abannert | sweet, thanks. So no changes in server.xml to go from mod_jk2 to mod_jk? |
21:23.08 | kylev | jk2 is just someone saying "Wow, this module really doesn't take advantage of what Apache 2.0.x can do and it's a pain to maintain. Let's rewrite it!" |
21:23.15 | abannert | sobel: sweet. Could I get you to send me your configs? |
21:23.28 | sobel | i also made mod_jk2 segv under load, but lacking that it would be serving jsp about twice as fast as mod_jk |
21:23.59 | abannert | sobel: too bad it crashes. Also too bad the code is so awful. Maybe if someone paid me I'd fix it. :) |
21:24.06 | sobel | i hear that |
21:25.49 | kylev | I'll do it for free if you can get me gdb output |
21:26.15 | kylev | or a sample webapp and a way to generate enough load to bork it |
21:26.29 | abannert | kylev: can't get the gdb output since it crashes immediately after spawning a new child, and only in new children (not children that existed before the load spike) |
21:26.44 | abannert | kylev: and i can't get the coredump because it's a suid executable. |
21:27.03 | kylev | your apache is suid?! |
21:27.47 | abannert | no no no |
21:28.15 | abannert | kylev: linux won't dump core on any process that has changed its effective uid. So apache starts as root and then later setuid()'s to nobody. |
21:28.56 | abannert | So, who wants to send me their httpd.conf/workers2.properties/jk2.properties/server.xml that works with mod_jk2 or mod_jk1? (I'm aaron@apache.org) |
21:38.28 | abannert | anyone? |
21:39.39 | Guest65069 | http://www.patrick.fremont.ca.us/qantel/qicware/section6b/ |
21:39.44 | Guest65069 | give that a peek |
21:44.15 | kylev | ew, you should really point to _03 of the sdk |
21:44.22 | kylev | _01 is crash-o-rific |
21:47.42 | Guest65069 | have u had any luck with getRemoteUser using JK/JK2 |
21:48.24 | abannert | What is getRemoteUser? |
21:50.42 | abannert | looks like it's buggy: |
21:50.46 | abannert | http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12196 |
21:54.14 | kylev | it should return you the username from a normal HTTP Auth |
21:56.26 | Guest65069 | lol thanks |
22:20.28 | *** join/#tomcat Daktar (Shadow@h59n2fls32o972.telia.com) |
22:20.41 | *** join/#tomcat davidp_ (~davidp@adsl-67-121-191-76.dsl.sntc01.pacbell.net) |
22:21.53 | Daktar | dunno if this is the place to ask but when I do a request.getParameter on a variable that is "/¤-0/" I only get "/" why? |
22:23.23 | *** part/#tomcat davidp_ (~davidp@adsl-67-121-191-76.dsl.sntc01.pacbell.net) |
22:24.18 | *** join/#tomcat davidp_ (~chatzilla@adsl-67-121-191-76.dsl.sntc01.pacbell.net) |
22:35.33 | davidp_ | Hi all! A quick question in the "I gotta believe this is a solved problem already" category. I'm using Realms and form-based authentication to control access to my Struts app. However, I want the form action to do more than simply authenticate the user -- things like constituting a User object and the user's permissions and stashing them into the Session. Is there a hook I can use to do this? Pointers to sample code would |
22:42.46 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-214.arcor-ip.net) |
22:43.38 | Hellaenergy | Where can I get the Tomcat Plugin for eclipse? Which one should I use? Any recommendations? |
22:44.12 | *** join/#tomcat noobie (~vishal@user-112vrh9.biz.mindspring.com) |
22:44.21 | noobie | hey |
22:44.35 | noobie | i was wondering if you guys could shed some light on a problem im trying to figure out |
22:44.49 | noobie | i am using tomcat which is connected to an application server |
22:44.50 | noobie | via rmi |
22:44.53 | noobie | here's the problem |
22:44.57 | noobie | im runnin in winblowZ |
22:45.08 | davidp_ | stop right there |
22:45.12 | davidp_ | :^] |
22:45.14 | noobie | hehe |
22:45.24 | noobie | when i create a container |
22:45.34 | noobie | i can create a context fine |
22:45.37 | noobie | and it passes the test |
22:45.49 | noobie | however when i access the object... i get an unmarshall exception |
22:45.55 | noobie | so i couldn't understand |
22:46.23 | noobie | and i realized that i can't have directory spaces |
22:46.28 | noobie | and it starts to WORK |
22:46.34 | noobie | after like 4-5 hours |
22:46.35 | noobie | its the directory spaces |
22:46.37 | noobie | that made the difference |
22:46.42 | noobie | i just don't understand why |
22:46.51 | noobie | and was wondering if someone here could tell me |
22:47.09 | noobie | i can add the context in fine |
22:50.09 | noobie | hallo? |
22:51.28 | *** join/#tomcat xrd (~cdawson@sub19-181.member.dsl-only.net) |
22:55.22 | davidp_ | noobie: dunno the answer to your question. I'll defer to the gurus. Still waiting for a response to my question. |
23:04.00 | xrd | ndc: what does "html forms work fine in both sections" mean? Your program can hit both POST/GET receving CGIs? |
23:14.16 | *** part/#tomcat xrd (~cdawson@sub19-181.member.dsl-only.net) |
23:20.34 | *** join/#tomcat eng{bar4ka} (~bar4ka@200.217.6.2) |
23:41.26 | noobie | can anyone shed some lighT |
23:57.11 | tang^ | davidp_: off the top of my head, you create whatever variables you need in your authentication servlet and add it to the session... other servlets will be able to pull it out again |
23:57.44 | tang^ | noobie: reading your question... are you asking why it works if there's no spaces? |