00:15.03 | *** join/#tomcat nDuff (~cduffy@libra.siliconmetrics.com) |
01:04.53 | *** join/#tomcat Hellaenergy (~hellaener@209.181.237.141) |
01:06.15 | Hellaenergy | ibot: tomcat benchmarking tool is at http://freshmeat.net/projects/apache-bench-helloworld/ |
01:06.15 | | okay, Hellaenergy |
01:07.14 | Hellaenergy | ibot: where is the apache tomcat benchmarking tool? |
01:07.15 | | Hellaenergy: I think you lost me on that one |
01:07.32 | Hellaenergy | ibot: where is the tomcat benchmarking tool |
01:07.33 | | Hellaenergy: what are you talking about? |
01:07.43 | Hellaenergy | i just told you :) |
01:07.57 | Hellaenergy | ibot: where is tomcat benchmarking tool |
01:07.58 | | Hellaenergy: I think you lost me on that one |
01:08.06 | Hellaenergy | ibot: tomcat benchmarking tool |
01:08.06 | | tomcat benchmarking tool is probably at http://freshmeat.net/projects/apache-bench-helloworld/ |
01:09.05 | Hellaenergy | Sorry about that everyone :) |
01:09.10 | Hellaenergy | how is everyone today |
01:10.09 | Hellaenergy | oh well have a good one ;) |
04:33.52 | *** join/#tomcat NeoTron (~neotron@vp121.fr01.gte.blarg.net) |
05:18.03 | *** join/#tomcat [KptKaoS] (uwktcy@ca-santaanahub-cuda1-c1a-70.anhmca.adelphia.net) |
05:19.16 | *** part/#tomcat [KptKaoS] (uwktcy@ca-santaanahub-cuda1-c1a-70.anhmca.adelphia.net) |
05:29.32 | *** join/#tomcat tn0 (~hito@ppp-209-232-55-181.dialup.snfc21.pacbell.net) |
05:42.51 | *** part/#tomcat tn0 (~hito@ppp-209-232-55-181.dialup.snfc21.pacbell.net) |
06:05.39 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) [NETSPLIT VICTIM] |
06:05.39 | *** join/#tomcat JakWORK (chris@217.207.98.115) [NETSPLIT VICTIM] |
06:05.39 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
06:05.39 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
06:05.39 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
07:03.26 | *** join/#tomcat Pointy_Work (~Pointwood@fw.agropark.dk) |
08:06.07 | *** join/#tomcat intruds (~intruds@202.163.203.170) |
08:06.35 | intruds | hi |
08:06.41 | intruds | anyone up? |
08:08.17 | intruds | i just wanna ask how to get the version of tomcat running on a system |
08:17.07 | *** join/#tomcat Remm_ (~chatzilla@AToulouse-105-1-16-210.abo.wanadoo.fr) |
08:36.00 | Bub | i am |
09:04.14 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-2-57.abo.wanadoo.fr) |
10:00.20 | *** join/#tomcat neo (~Andy@hax0r-9600bps-analog-modem-pool.3solv.net) |
10:06.53 | *** join/#tomcat ZnadeWoRK (~znabela@194.239.238.130) |
10:07.23 | ZnadeWoRK | morning ya'll |
10:08.41 | Bub | morning znade |
10:08.47 | Bub | u around |
10:10.20 | ZnadeWoRK | trying to figure out how the heck i get the IIS to forward servlet requests to tomcat ... but i just cant get it to work ... maybe im missingout on something, but the documentation refers to some properties files that dont exist ... and i have no idea how i should set them up myself |
10:11.02 | Bub | can u help me get tomcat to work :) |
10:11.19 | ZnadeWoRK | thats quite simple, and well documented ... hehe |
10:11.19 | Bub | ive just d.led the new jdk binary unpacked to /usr/local |
10:11.28 | ZnadeWoRK | oh ... im no linux guru |
10:11.28 | Bub | installed tomcat using apt-get |
10:11.36 | Bub | oh |
10:11.43 | ZnadeWoRK | already there im lost |
10:11.47 | Bub | u r not using it on unix then |
10:11.58 | ZnadeWoRK | nope ... IIS doesnt run on unix! :P |
10:21.43 | Bub | nop |
10:45.12 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-3-183.abo.wanadoo.fr) |
11:09.44 | *** join/#tomcat Remm_ (~chatzilla@AToulouse-105-1-26-34.abo.wanadoo.fr) |
11:20.27 | *** join/#tomcat Sase (~Sase@ip68-2-36-251.ph.ph.cox.net) |
11:20.33 | Sase | any1 here? |
11:20.45 | Sase | i need some help with setting up my tomcat app |
11:21.57 | *** part/#tomcat Sase (~Sase@ip68-2-36-251.ph.ph.cox.net) |
12:03.13 | Bub | so do i |
12:03.18 | Bub | no1 can solve the problems :) |
12:26.09 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-1-122.abo.wanadoo.fr) |
12:50.50 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-1-122.abo.wanadoo.fr) [NETSPLIT VICTIM] |
12:50.50 | *** join/#tomcat ZnadeWoRK (~znabela@194.239.238.130) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat seanb (~sean@66.34.231.64) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat Logan (~logan@planetmath.cc.vt.edu) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat JakWORK (chris@217.207.98.115) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat NeoTron (~neotron@vp121.fr01.gte.blarg.net) |
12:50.51 | *** join/#tomcat Bub (~bub@host213-120-115-150.in-addr.btopenworld.com) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat TheSteve0 (~Steve@kelev.stat.yale.edu) [NETSPLIT VICTIM] |
12:50.51 | *** join/#tomcat lalle (lars@h144n2fls31o267.telia.com) [NETSPLIT VICTIM] |
13:01.16 | ZnadeWoRK | Pointy_Work ? |
13:03.02 | Pointy_Work | yes |
13:04.47 | ZnadeWoRK | dansker ? |
13:04.56 | Pointy_Work | ja :) |
13:05.03 | ZnadeWoRK | noget imod en lille /msg ? :) |
13:05.31 | Pointy_Work | nej |
13:51.44 | *** join/#tomcat radsatori (~RadSatori@u73n73.bri.eastlink.ca) |
13:59.24 | radsatori | Anyone know of any good XML editors, I jsut want to view the structure of the config file. |
14:00.09 | ZnadeWoRK | IE is a good tool to view xml files |
14:00.14 | ZnadeWoRK | but not a good editor |
14:00.47 | *** join/#tomcat Freix (~robbie@host57-12.pool80116.interbusiness.it) |
14:01.24 | radsatori | No IE :-) I should check out the dom viewer on Mozilla. Ummm. |
14:01.33 | webdaemon | xmlspy is the leader ... but commercial |
14:02.31 | radsatori | Yeah, just use linux. |
14:06.04 | radsatori | Isn't 20000 a little hight for a timeout value? |
14:18.55 | radsatori | If I have the Jk2 connector configured, do I also need the webapp connector? |
14:30.39 | Bub | is anyone around |
14:31.39 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-3-158.abo.wanadoo.fr) |
14:31.49 | radsatori | me |
14:32.35 | Bub | is anyone around that uses tomcat on debian |
14:32.36 | Bub | :) |
14:32.55 | radsatori | No, Mandrake. But I am a novice, but ask anyway. |
14:33.05 | Bub | ok |
14:33.07 | Freix | Bub: :) |
14:33.11 | Bub | lo freix |
14:33.13 | Freix | i use debian |
14:33.15 | Bub | ah |
14:33.19 | Bub | just the man im after |
14:33.21 | Bub | can i pm u |
14:33.47 | Bub | or talk in the chan |
14:33.56 | Freix | talk in the chan :) |
14:33.58 | Bub | ok |
14:33.59 | Bub | ive d.led the j2sdk1.4.1 bin from suns website. extracted to usr/local/j2sdk1.4.1/ installed tomcat using apt-get , changed the /etc/init.d/tomcat to JDK_DIRS="/usr/local/lib/j2sdk1.4.0_02 /usr/lib/j2se/1.3 /usr/lib/j2sdk1.3" symlinked ln -s /usr/local/j2sdk1.4.1 /usr/lib/j2sdk1.3... it reckons its running but when i goto http://217.155.31.187:8080/ the admin page doesnt come up but it had come up some times before ive rebooted.. ? |
14:34.22 | Bub | try going to 217.155.31.187:8180 |
14:34.25 | Bub | not 8080: |
14:34.35 | Bub | it tries to goto 127.0.0.1 |
14:34.36 | Bub | :/ |
14:34.47 | Freix | ps aux ? |
14:35.21 | Freix | the service is up ? |
14:35.31 | Bub | thats the thing |
14:35.37 | Bub | i dont think is going up properl |
14:35.37 | Bub | yu |
14:36.06 | radsatori | bub, did you go with a RPM or the source? Same for the JDK, can get in RPM. The config files are setup really to work togeether. Makes upgrading easier to. |
14:36.25 | Bub | i told u |
14:36.28 | Bub | i got the bin for the jdk |
14:36.35 | Bub | then used apt-get to get tomcat4 |
14:36.45 | Freix | xenon:~# ps ax |grep tomcat |
14:36.45 | Freix | <PROTECTED> |
14:36.45 | Freix | <PROTECTED> |
14:36.52 | radsatori | Well the bin for jdk goes to /usr/java |
14:37.04 | Bub | i put it in usr/local/jdsk1.3 |
14:37.06 | Bub | it doesnt really matteR? |
14:37.20 | Bub | i put it in usr/local/jdsk1.4.1 even |
14:38.02 | Bub | cant see that one freix |
14:38.07 | radsatori | I keep mine as the rpm installs it. Then I make a links /usr/java/jdk to point to the version I want. helps if you sue other tools such as cocoon etc in the future for configuring. |
14:38.18 | Bub | im using 1.4.1 tho |
14:38.25 | Bub | i needed to d.l the bin from sun |
14:38.48 | Freix | i use blackdown :) |
14:38.57 | *** join/#tomcat xnyx__ (~not@ns.wsd1.org) |
14:39.00 | xnyx__ | heya ll |
14:39.08 | Bub | freix can i pm a sec |
14:39.21 | xnyx__ | does anyone here have a link to a Tomcat4 Redhat 7.x instalation doc ? |
14:39.47 | Freix | Bub: form shell : /etc/init.d/tomcat4 start |
14:39.52 | Freix | try it |
14:39.53 | Bub | im doing that |
14:39.54 | Bub | :) |
14:40.01 | Bub | ideaserver:/etc/tomcat4# /etc/init.d/tomcat4 start |
14:40.01 | Bub | Starting Tomcat 4.0 servlet engine using Java from /usr/local/j2sdk1.4.1: tomcat4. |
14:40.18 | Freix | perfect |
14:40.34 | Bub | ? |
14:40.37 | Bub | its not working tho |
14:40.41 | radsatori | Blackdown is ok, but if you want to use Cocoon, I had problems. |
14:40.56 | Bub | try lookin at the page |
14:40.56 | Bub | http://217.155.31.187:8180/ |
14:41.10 | Freix | radsatori: yes i have :) |
14:41.44 | Freix | bub have you install webapps ? |
14:41.48 | radsatori | Freix` Had problems, or use cocoon :-) I just found I had to frig around with the xml libs, so I got tired of doing that. |
14:42.02 | Bub | freix: no but the thing is the page displayed earlier today |
14:42.06 | Bub | i rebooted then it didnt :) |
14:42.33 | Freix | apt-get install tomcat4-webapps |
14:42.37 | radsatori | Since I went RPM install of tomcat and RPM install of Java, my life is so much easier. |
14:43.26 | Bub | i dont see how the webapps is gonna help it start but ill get it neway :) |
14:43.52 | Bub | k installed |
14:43.56 | Bub | and still not working :) |
14:44.06 | Bub | the look up is lookin at 127.0.0.1 |
14:44.10 | Bub | for somereason |
14:44.50 | Bub | Making HTTP connection to localhost:8180 |
14:44.50 | Bub | Sending HTTP request. |
14:44.50 | Bub | HTTP request sent; waiting for response. |
14:44.50 | Bub | Alert!: Unexpected network read error; connection aborted. |
14:44.50 | Bub | Can't Access `http://localhost:8180/' |
14:44.50 | Bub | Alert!: Unable to access document. |
14:44.52 | Bub | lynx: Can't access startfile |
14:47.24 | Bub | erm |
14:47.30 | Bub | what does that mean |
14:47.59 | Freix | <PROTECTED> |
14:48.18 | Freix | Bub: netstat -na | grep LISTEN |
14:48.19 | radsatori | You are not running iptables or anything are you? |
14:48.53 | Freix | fuser -n tcp 8180 |
14:49.03 | Bub | rad: its not running atm :) |
14:49.41 | Bub | there are no ports listening on 8180 |
14:50.28 | Bub | <Server port="8180" shutdown="SHUTDOWN" debug="0"> |
14:50.28 | Bub | <PROTECTED> |
14:50.28 | Bub | <PROTECTED> |
14:50.28 | Bub | <PROTECTED> |
14:50.28 | Bub | <PROTECTED> |
14:50.28 | Bub | <PROTECTED> |
14:50.30 | Bub | <PROTECTED> |
14:51.15 | Freix | ???????? |
14:51.39 | Bub | thats from server.xml |
14:51.55 | Freix | <Server port="8005" shutdown="SHUTDOWN" debug="0"> |
14:52.10 | Bub | change that to 8005 ? |
14:52.11 | Bub | ok |
14:52.50 | Bub | <Server port="8005" shutdown="SHUTDOWN" debug="0"> |
14:52.50 | Bub | <PROTECTED> |
14:52.50 | Bub | <PROTECTED> |
14:52.50 | Bub | <PROTECTED> |
14:52.50 | Bub | <PROTECTED> |
14:52.51 | Bub | <PROTECTED> |
14:52.53 | Bub | <PROTECTED> |
14:53.13 | Freix | <PROTECTED> |
14:53.19 | Freix | and then |
14:53.25 | Freix | Bub: form shell : /etc/init.d/tomcat4 start |
14:54.44 | *** join/#tomcat foobar2 (~chatzilla@m205-mp1.cvx2-b.ren.dial.ntli.net) |
14:54.52 | Bub | how do i open another console window |
14:54.57 | Bub | control shift 1 or summit |
14:55.28 | foobar2 | I can't seem to find a "Timeline" on the jakarta web site, so I don't know when 5 is shceduled to be released. Anybody know? |
14:56.43 | Bub | Apache Tomcat/4.0.3 |
14:56.43 | Bub | Stopping service Tomcat-Standalone |
14:56.43 | Bub | Stopping service Tomcat-Apache |
14:56.43 | Bub | Using CATALINA_BASE: /usr/share/tomcat4 |
14:56.43 | Bub | Using CATALINA_HOME: /usr/share/tomcat4 |
14:56.43 | Bub | Using CATALINA_TMPDIR: /usr/share/tomcat4/temp |
14:56.45 | Bub | Using JAVA_HOME: /usr/local/j2sdk1.4.1 |
14:56.47 | Bub | Using Security Manager |
14:56.49 | Bub | Process ID of spawned JVM: 729 |
14:56.51 | Bub | Starting service Tomcat-Standalone |
14:56.53 | Bub | Apache Tomcat/4.0.3 |
14:56.55 | Bub | :) |
14:56.57 | Bub | no errors or nething |
14:57.15 | Bub | yer!!! |
14:57.25 | Bub | works locally |
14:57.26 | Bub | ! |
14:57.28 | Bub | it displays the page |
14:57.45 | Freix | ok 10.000 $ :) |
14:57.48 | Freix | ;) |
14:57.53 | Bub | lol |
14:58.06 | Bub | cos shutdown port was same as the other thing |
14:58.10 | Bub | as the normal port |
14:58.15 | Bub | but why is not working externally |
14:58.19 | Bub | freix try connecting |
14:58.29 | Bub | it tries to send u to 127.0.0.1 |
14:59.07 | Freix | externally which URL you use ? |
14:59.12 | Bub | ip address |
14:59.16 | Bub | http://217.155.31.187:8180/ |
14:59.20 | Freix | ok |
14:59.42 | Freix | iptables -L |
14:59.47 | Freix | ??? |
15:00.16 | Bub | iptables aint on atm |
15:00.26 | Bub | 217.155.31.187:8180/ |
15:00.31 | Bub | that works it just needs the syntax |
15:00.34 | Bub | for the relivant dir |
15:00.59 | Bub | whats the dir for it |
15:01.26 | Freix | Bub: i see it |
15:01.37 | Bub | what dir u go into |
15:01.40 | Freix | http://217.155.31.187:8180/index.html |
15:01.58 | Bub | i still cant |
15:01.59 | Bub | lol |
15:02.06 | Freix | i write http://217.155.31.187:8180/ |
15:03.45 | Bub | hmm |
15:03.48 | Bub | we cant see it here |
15:05.16 | Bub | but u can :/ |
15:05.22 | Bub | very strange: ) |
15:06.15 | Bub | r u sure u can see something |
15:06.29 | Bub | cos ive tried it on our office network 3 machines and on the network with the server on :) |
15:07.09 | Bub | they all have the Open the s: home page, and then look for links to the information you want |
15:07.11 | Bub | ec |
15:07.16 | Bub | etxc |
15:09.17 | Bub | freix u there |
15:09.46 | Freix | Bub: see the snapshot :) |
15:09.54 | Bub | its not coming |
15:10.00 | Bub | can u not put on www ? :) |
15:10.16 | Bub | connex failed :/ |
15:10.26 | Freix | no i'm behaind firewall |
15:10.30 | Bub | hmm |
15:10.36 | Bub | email |
15:10.37 | Bub | ? |
15:13.08 | Bub | my friend can see it too but we cant lol |
15:13.48 | Freix | the problem is your router/firewall |
15:15.01 | Bub | it shouldnt be |
15:15.04 | Bub | i tried it on the server |
15:15.05 | Bub | hmm |
15:15.08 | Bub | ill try it on my home box |
15:15.34 | Bub | i tried it on the machine that is connected to the box with tomcato n |
15:15.35 | Bub | :) |
15:19.25 | Bub | sorted |
15:19.37 | Bub | my i.e had cached the broken page from b4 |
15:19.39 | Bub | stupid i.e |
15:19.40 | Bub | :) |
15:19.50 | Bub | for some reason my ip tables doesnt start in boot |
15:19.57 | Bub | ./etc/init.d/firewall |
15:23.32 | Bub | also tomcat says its loading at boot but it doesnt seem to |
15:24.42 | Bub | prolly cos tarting Tomcat 4.0 servlet engine using Java from /usr/local/j2sdk1.4.1: rm: cannot unlink `/var/lib/tomcat4/catalina.policy': Permission denied |
15:24.44 | Bub | ? |
15:25.01 | Bub | i need to be root to run it :/ |
15:26.03 | Freix | yes make www-data owner of that dir |
15:26.38 | Freix | SORRY |
15:26.43 | Bub | ? |
15:26.43 | Bub | :) |
15:26.45 | Freix | yes make tomcat4 owner of that dir |
15:26.59 | Bub | but its saying `/var/lib/tomcat4/catalina.policy': Permission denie |
15:27.31 | Bub | surely i need to make tomcat4 owver of the catalina.policy file ? |
15:27.36 | Freix | of dir and his subdir |
15:27.50 | Freix | yes |
15:28.00 | Bub | so make the /etc/tomcat4 |
15:28.05 | Bub | owned by tomcat4 |
15:28.21 | Bub | cos thats got catalina.policy in |
15:28.26 | Freix | -rw-r--r-- 1 root 6950 Nov 26 17:25 catalina.policy |
15:28.31 | Bub | how do i do that |
15:32.08 | xnyx__ | hrmm |
15:32.25 | xnyx__ | do I need all 3 rpms to install tomcat ? |
15:32.33 | xnyx__ | the webapps and webapps full as well ? |
15:32.42 | Bub | what u installin it with |
15:32.44 | Bub | debian |
15:33.16 | xnyx__ | me ? redhat |
15:38.13 | xnyx__ | description The server encountered an internal error () that prevented it from fulfilling this request. |
15:38.21 | xnyx__ | what to do about that error ? |
15:38.31 | Bub | u get that in tomcat |
15:38.38 | xnyx__ | I dont understand |
15:38.39 | xnyx__ | sorry |
15:38.54 | xnyx__ | you mean thats normal ? |
15:38.58 | Bub | no i am asking |
15:39.01 | Bub | do u get that in tomcat |
15:39.12 | xnyx__ | yes |
15:39.23 | Bub | when u do what |
15:39.26 | xnyx__ | I just installed tomcat and whent to localhost:8080 |
15:39.29 | Bub | ok |
15:39.34 | Bub | check server.xml |
15:39.47 | Bub | that it is actually setup for 808 |
15:39.50 | Bub | that it is actually setup for 8080 |
15:40.07 | Bub | then check the port is listening |
15:40.13 | Bub | and running |
15:42.03 | xnyx__ | oky,,, |
15:42.24 | xnyx__ | what port does tomcat normally listen on "out of the box" |
15:42.27 | xnyx__ | I used the RPMs |
15:42.48 | Bub | well on debian |
15:42.50 | Bub | 8180 |
15:42.55 | xnyx__ | oky |
15:43.00 | xnyx__ | BRB |
15:43.04 | Bub | :) |
15:43.17 | xnyx__ | I just lost my ssh connection,, damn custodians are mad with them brooms |
15:43.29 | Bub | :/ |
15:57.54 | xnyx__ | http://206.45.98.37:8080/index.jsp |
15:58.07 | xnyx__ | hmm |
15:58.13 | Bub | dont work here |
15:58.46 | xnyx__ | server.xml I see a listing <Server port="8005" shutdown="SHUTDOWN" debug="0"> |
15:58.55 | Bub | thats shutdown port |
15:58.59 | xnyx__ | ya, |
15:59.07 | Bub | <!-- Define a non-SSL HTTP/1.1 Connector on port 8180 --> |
15:59.07 | Bub | [14:56] <Bub> port="8180" minProcessors="5" maxProcessors="75" |
15:59.10 | Bub | what about that one |
15:59.46 | xnyx__ | <PROTECTED> |
15:59.46 | xnyx__ | <PROTECTED> |
15:59.46 | xnyx__ | <PROTECTED> |
15:59.46 | xnyx__ | <PROTECTED> |
16:00.35 | Bub | can u log in locally |
16:00.42 | Bub | try localhost:8080 |
16:03.29 | xnyx__ | same thing |
16:05.25 | xnyx__ | Generated servlet error: |
16:05.25 | xnyx__ | <PROTECTED> |
16:05.25 | xnyx__ | <PROTECTED> |
16:05.30 | xnyx__ | guess I need javac ? |
16:05.37 | xnyx__ | where does that come from ? |
16:09.04 | radsatori | Is there anyone using modjk2, Apache 1.3, and Tomcat 4.1 out there? Please... |
16:09.55 | Bub | well to run tomcat |
16:09.59 | Bub | install jdk |
16:10.03 | Bub | www.sun.com |
16:10.07 | Bub | jdsk1.4.1 |
16:15.57 | xnyx__ | hmm |
16:16.10 | xnyx__ | will the JRE not work ? or is the SDK required ? |
16:17.11 | radsatori | Is there anyone using modjk2, Apache 1.3, and Tomcat 4.1 out there? How did you get your mod_jk2.conf file to work? |
16:17.33 | xnyx__ | that looks more like a job for google... |
16:18.41 | radsatori | googling all day. Wonder why I get the problems other do not :-) |
16:23.58 | xnyx__ | ya, well, im in the same boat, it seems to me like tomcat is very beta,,, |
16:24.34 | xnyx__ | if someone is going to take time to create binaries, they should just work |
16:24.38 | xnyx__ | no excuses |
16:40.10 | Bub | they do :) |
16:40.20 | Bub | just use debian |
16:40.25 | Bub | and get the package install :) |
16:41.20 | radsatori | WEll if you use the rpm from tomcat team, and the rpm from java, it all works fine. |
16:41.32 | radsatori | Now the mod_jk2 is a different matter |
16:41.32 | Freix | webapps ??? |
16:41.34 | Freix | install webapps |
16:41.36 | Freix | no |
16:41.39 | Freix | http://127.0.0.1:8080/ |
16:41.41 | Freix | have you webapps installed ? |
16:41.42 | Freix | no i'm using on debian tomcat 4.0.3 stand alone and on winXP 4.0.3 |
16:45.21 | xnyx__ | hrmm |
16:45.37 | xnyx__ | could some one tell me what is returned on there systems if they do, echo $JAVA_HOME |
16:45.55 | xnyx__ | I cant change to debian |
16:46.12 | xnyx__ | it was hard enough to get them to approve RH |
16:46.50 | Bub | freix: |
16:46.52 | Bub | u r back :) |
16:47.14 | Bub | tomcat is still not loading on boot.. it says it is but i cant access the page |
16:47.25 | Bub | i need to login and manually do /etc/init.d/tomcat4 start |
16:50.42 | Freix | mmmh |
16:51.36 | Bub | it says "starting tomcat" or whatnot when it starts tho |
16:53.46 | Bub | i need to be logged in as root to launch /etc/init.d/tomcat4 start tho |
16:54.13 | xnyx__ | hrmm |
16:54.38 | xnyx__ | I changed JRE's to 1.4 and now Im getting a new error wich may be more indicative to what is wrong |
16:54.39 | xnyx__ | org.apache.jasper.JasperException: Unable to compile class for JSP |
16:54.52 | xnyx__ | it seems that javac is not loading no ? |
16:55.03 | Bub | delete redhat |
16:55.06 | Bub | install debian |
16:55.08 | Bub | run package |
16:55.09 | Bub | :) |
16:55.22 | xnyx__ | cant be done at this stage of the game -- |
16:55.27 | Bub | :( |
16:55.29 | Freix | azz |
16:55.32 | xnyx__ | politics |
16:55.44 | Bub | any idea freix |
16:55.50 | Freix | Bub: /var/lib/tomcat4/catalina.policy must be writeable |
16:56.07 | Freix | if you look in /etc/init.d/tomcat4 |
16:56.15 | Freix | <PROTECTED> |
16:56.15 | Freix | <PROTECTED> |
16:56.20 | Bub | i did chown tomcat4 /etc/tomcat4 |
16:56.26 | Bub | so tomcat4 is now owner |
16:57.11 | Bub | and catalina.policy is within /tomcat4 |
16:57.12 | Bub | ? |
16:58.06 | Freix | maybe a bug in .deb |
16:58.20 | Bub | i doubit it |
16:58.29 | xnyx__ | grmpf... |
16:58.33 | Bub | did u change the owner of the tomcat4 dir |
16:58.37 | Bub | to tomcat4 |
16:58.39 | xnyx__ | this is realy starting to sick |
16:58.40 | xnyx__ | suck |
16:58.42 | Bub | or just the plicy |
16:58.45 | Bub | policy |
16:59.47 | xnyx__ | Im pretty certain I have found my problem... I just dont know how to fix it |
17:00.16 | Bub | xynx: u runnin latest ver of tomcat and java? |
17:00.21 | xnyx__ | the class-loader-howto states that, javac is locate at $CATALINA_HOME/lib/tools/javac |
17:00.28 | xnyx__ | but mine is not |
17:00.33 | Bub | change it |
17:00.41 | Bub | u need to change the javahome= |
17:00.41 | Bub | etc |
17:00.44 | Bub | to real path |
17:01.31 | xnyx__ | you are refering to, /etc/tomcat4/tomcat4.conf ? |
17:01.46 | xnyx__ | JAVA_HOME="/usr/java/j2re1.4.0/" |
17:01.49 | xnyx__ | thats what I have now |
17:01.53 | Bub | ok |
17:01.58 | Bub | also in /init.d/tomcat4 |
17:05.51 | xnyx__ | this file |
17:05.51 | xnyx__ | # Set standard CLASSPATH |
17:05.51 | xnyx__ | CLASSPATH="$JAVA_HOME"/lib/tools.jar |
17:06.06 | xnyx__ | does not exist in that path, nor does it exist on the system |
17:06.32 | Bub | change it hten |
17:06.35 | Bub | to the right one |
17:06.42 | Bub | u r meant to change it to the correct directories |
17:06.44 | Bub | of the jdk |
17:07.11 | xnyx__ | <xnyx__> does not exist in that path, nor does it exist on the system |
17:07.21 | xnyx__ | its not on the system |
17:09.04 | xnyx__ | what path is it in your system ? |
17:10.03 | xnyx__ | do I need the SDK or JDK ? |
17:10.06 | xnyx__ | or JRE |
17:12.18 | *** join/#tomcat seba (~seba@213.177.68.243) |
17:12.53 | xnyx__ | hmm |
17:12.56 | xnyx__ | need the JDK |
17:14.39 | xnyx__ | !!! |
17:14.41 | xnyx__ | YES!!! |
17:14.43 | xnyx__ | woohooo!!! |
17:14.48 | xnyx__ | thats the problem |
17:15.00 | xnyx__ | the Java Run time is not enough |
17:15.15 | xnyx__ | it must be the Java Development Kit |
17:16.14 | xnyx__ | where do the users come from ? |
17:16.16 | xnyx__ | ermmm |
17:16.20 | xnyx__ | how does one login ? |
17:22.01 | *** join/#tomcat vaix (~jomarqua@fw1.planalytics.com) |
17:22.19 | radsatori | Anyone know what listener statment I use in tomcat for jk2? Don't see it in a web search |
17:23.10 | vaix | can anyone tell me where i can get the mod_jk ? i have seen conflicting info in varying docs - that it is part of aapache, that it is part of tomcat - i would love a binary for solaris? else - is it in tomcat src? (I assume it is does have machine dependencies?) |
17:24.20 | radsatori | http://jakarta.apache.org/builds/jakarta-tomcat-connectors/ |
17:24.41 | ZnadeWoRK | i just cant get the IIS plugin to work! :/ |
17:27.09 | vaix | radsatori: thank you much |
17:29.45 | radsatori | np vaix |
17:43.16 | radsatori | Dones anyone here know anything about the jk2 listener ie: |
17:43.17 | radsatori | <PROTECTED> |
17:46.35 | xnyx__ | for the tomcat admin thing, im reading the xml file, and have determined that the username is tomcat password=tomcat |
17:46.39 | xnyx__ | but I cant login ... |
17:46.44 | xnyx__ | anyone got any ideas |
17:53.58 | *** part/#tomcat vaix (~jomarqua@fw1.planalytics.com) |
18:10.35 | *** join/#tomcat Hellaenergy (~hellaener@209.181.237.141) |
18:11.40 | Hellaenergy | Wazup? |
18:13.13 | jasonb | wazup?! |
18:13.31 | Hellaenergy | not much just codin |
18:14.05 | jasonb | word. |
18:15.28 | Hellaenergy | jasonb: what sort of work you doin/ |
18:16.09 | jasonb | Hellaenergy: I work for CollabNet (www.collab.net) |
18:16.33 | jasonb | Hellaenergy: Plus, I've been quite interested in servlet containers since about 1998. |
18:16.36 | Hellaenergy | Webmaster? |
18:16.49 | jasonb | Hellaenergy: Nope, Java developer, almost exclusively. |
18:16.59 | Hellaenergy | Good to see you here |
18:17.22 | Hellaenergy | are you helping with the Tomcat Servlet Container development? |
18:17.54 | jasonb | I have from time to time. |
18:18.33 | Hellaenergy | what does COLLABNET do? |
18:19.24 | jasonb | Hellaenergy: Collaborative development web tools. See the web site for a brochure. :) |
18:19.46 | Hellaenergy | :) |
18:21.01 | Hellaenergy | What sort of workstation do they supply you with? |
18:21.10 | Hellaenergy | Sun boxen? |
18:22.04 | xnyx__ | java.lang.NoClassDefFoundError |
18:22.06 | jasonb | We have some sparc boxes to develop on, as well as i386 Linux boxes, but each developer also has an IBM thinkpad of some sort. |
18:22.09 | xnyx__ | hrmm |
18:22.13 | xnyx__ | wrong window |
18:22.19 | Hellaenergy | nice |
18:22.54 | Hellaenergy | my shop gives us cheep i386 windblows boxes |
18:26.33 | Hellaenergy | jasonb: Your company is smart for using Open Source Solutions as their base |
18:27.09 | jasonb | yup! Like Tomcat 4 for instance. |
18:27.18 | Hellaenergy | :D |
18:27.48 | Hellaenergy | what kinds of things do they do with tomcat? |
18:28.25 | Hellaenergy | all their shit? |
18:30.48 | jasonb | Much of our software is webapp content that runs inside Tomcat 4. |
18:31.25 | Hellaenergy | yeah thats what I meant no offense ;) |
18:31.49 | Hellaenergy | Have you done any benchmarking? |
18:33.58 | Hellaenergy | anyone here done much work with tomcat and xml? |
18:34.21 | jasonb | A long time ago (different job), yes, I did some Tomcat 4 benchmarking. |
18:34.35 | Hellaenergy | pereprietary tools? |
18:36.23 | ZnadeWoRK | maaan ... cant get IIS to forward servlet requests to tomcat ... im so lost now! :( |
18:36.38 | Hellaenergy | what connector? |
18:37.40 | radsatori | Dones anyone here know anything about the jk2 listener ie: |
18:37.42 | radsatori | <PROTECTED> |
18:37.43 | ZnadeWoRK | isapi_redirector.dll ? |
18:38.03 | ZnadeWoRK | no logs are created |
18:41.19 | Hellaenergy | ZnadeWoRK: can't help I just do tomcat on *NIX |
18:41.42 | Hellaenergy | ibot: mod_jk2 |
18:41.43 | | i heard mod_jk2 is at http://www.johnturner.com/howto/apache-tomcat-howto.html |
18:43.58 | ZnadeWoRK | theres no uriworkermap.properties in the tomcat 4.1.12 ... whats this now ! grrrr |
18:44.22 | Hellaenergy | jk2.properties? |
18:44.33 | ZnadeWoRK | are you asking me ? |
18:44.40 | Hellaenergy | hmhum |
18:44.41 | ZnadeWoRK | yep theres a jk2.properties ... are these the same ? |
18:44.46 | Hellaenergy | yes |
18:45.12 | ZnadeWoRK | hmm ... doesnt say that on the apache's howto page on how to set up IIS to forward servlet requests to tomcat |
18:45.38 | radsatori | Well, see, it seems that jk2 is alot more advanced, and I been on this all morning trying to figure it out. |
18:45.42 | ZnadeWoRK | so i should change the registry setting to point to jk2.properties instead of uriworkermap.properties ? |
18:46.02 | Hellaenergy | if you are using mod_jk2 |
18:46.21 | Hellaenergy | radstori: I have never been able to get mod_jk2 to work. |
18:46.27 | Hellaenergy | believe me I have tried |
18:46.35 | radsatori | Hellaenergy` Are you using mod_jk2? Can I see what your listener statement for Tomcat looks like please? |
18:46.38 | Hellaenergy | ibot: mod_proxy |
18:46.39 | | methinks mod_proxy is at http://jakarta.apache.org/tomcat/tomcat-4.0-doc/proxy-howto.html |
18:46.48 | ZnadeWoRK | im using the isapi_redirector.dll .. hmmm |
18:47.53 | Hellaenergy | radsatori: like I said it never has worked for me |
18:48.22 | radsatori | So which is the best to use I wonder? |
18:48.34 | Hellaenergy | apache 1.3 or 2? |
18:48.44 | Hellaenergy | mod_jk works good for 1.3 |
18:49.02 | Hellaenergy | at least in my expierence |
18:49.30 | radsatori | Ok, well let me see. Ummm, do you use virtual hosts? |
18:49.39 | Hellaenergy | yes |
18:51.21 | radsatori | Can you show me an example of your main listener statement and one of your virtual hosts? Just hack them up with the proive stuff I woudl figure it out. |
18:51.53 | Hellaenergy | for mod_jk? |
18:52.01 | Hellaenergy | ibot: mod_jk |
18:52.01 | | i don't know, Hellaenergy |
18:52.47 | radsatori | mod_jk, yeah I am giving up on the nod_jk2, one day shot. |
18:53.00 | Hellaenergy | ZnadeWoRK: I would say get a Linux box |
18:53.23 | Hellaenergy | ibot: mod_jk is at http://www.johnturner.com/howto/apache1-tomcat404-howto.html |
18:53.23 | | Hellaenergy: okay |
18:53.30 | Hellaenergy | ibot: mod_jk |
18:53.30 | | rumour has it, mod_jk is at http://www.johnturner.com/howto/apache1-tomcat404-howto.html |
18:53.47 | Hellaenergy | radsatori: follow that example |
18:54.04 | radsatori | Thanks |
18:54.11 | Hellaenergy | np |
18:54.21 | Hellaenergy | thank John Turner ;) |
18:54.50 | Hellaenergy | radsatori: you can always use mod_proxy too |
18:55.03 | Hellaenergy | just ask ibot where mod_proxy is |
18:56.35 | Hellaenergy | ibot: Tomcat IIS is at http://www.aoindustries.com/docs/jakarta-tomcat-3.2b6/tomcat-iis-howto.html |
18:56.35 | | okay, Hellaenergy |
18:57.06 | Hellaenergy | ZnadeWoRK: there you go |
18:57.48 | radsatori | Hellaenergy` Actually that is not a virtual host example. I just need the one for a virtual host. |
18:59.06 | Hellaenergy | set up your workers.properties or workers2.properties |
19:01.11 | radsatori | Everytime I ask a question I get more confused. 5 hours of this is so tiring. |
19:05.37 | ZnadeWoRK | Hellaenergy: a linux box is not an option ... its for a customer! :/ |
19:11.30 | radsatori | How come some listener statements on the web specify the mod_jk module, and some do not? |
19:12.43 | Hellaenergy | radsatori: what version of tomcat for win32 are you using? |
19:13.01 | radsatori | I am unix. hellaenergy |
19:13.19 | Hellaenergy | Sorry :) |
19:13.24 | Hellaenergy | what version of tomcat? |
19:13.33 | radsatori | 4.1 |
19:14.12 | radsatori | So this goes in each host entry right? <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true"/> |
19:14.36 | Hellaenergy | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html |
19:15.26 | Hellaenergy | <VirtualHost 192.168.0.3:80> |
19:15.26 | Hellaenergy | ServerName localhost |
19:15.26 | Hellaenergy | JkMount /*.jsp tomcat1 |
19:15.26 | Hellaenergy | JkMount /servlet/* tomcat1 |
19:15.27 | Hellaenergy | </VirtualHost> |
19:15.58 | radsatori | I am not using jk2 anymore. i just took it all out. |
19:15.59 | Hellaenergy | what would go in your workers.properties |
19:16.11 | Hellaenergy | thats mod_jk (1) |
19:16.45 | radsatori | ok, but do I have the listener correct? I am taking it one file at a time. Have not got to the properties file yet. |
19:16.46 | Hellaenergy | if I was talking about mod_jk2 it would be workers2.properties i believe |
19:16.53 | radsatori | Yes it is. |
19:17.17 | Hellaenergy | are you doing auto generation? |
19:17.23 | radsatori | But Tomcat creates that automatically doesn't it? |
19:17.29 | Hellaenergy | :) |
19:17.30 | Hellaenergy | ok |
19:17.57 | radsatori | That is why I was asking about the listener statement. It goes in each host right? |
19:18.47 | Hellaenergy | I don't think you have to |
19:19.28 | Hellaenergy | look for a line that says "Server" and has a port of 8005. Add the following directly below: |
19:19.28 | Hellaenergy | <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" /> |
19:19.28 | Hellaenergy | - in the Host container add the following Listener directive (yes, it looks very similar to the one above): |
19:19.28 | Hellaenergy | <Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" append="true" forwardAll="false" /> |
19:19.28 | Hellaenergy | - change the name parameter in the Host directive to your apache ServerName (the default is localhost) |
19:20.14 | Hellaenergy | got that from the link I gave you earlier: http://www.johnturner.com/howto/apache1-tomcat404-howto.html |
19:22.05 | Hellaenergy | ibot: server.xml is at http://www.onjava.com/pub/a/onjava/2002/07/31/tomcat.html |
19:22.06 | | okay, Hellaenergy |
19:23.09 | radsatori | ummm, let me see. Thanks. that link looks familiar. |
19:24.05 | radsatori | Seriously that page is so confusing. There was a better one I found but I lost it. |
19:31.39 | jasonb | ahh, blootbot. |
19:31.43 | ZnadeWoRK | okay ... im just about to blow on this job |
19:32.11 | ZnadeWoRK | requests are being parsed to the isapi_redirector ... but it gets lost when i want to access the servlet examples on tomcat |
19:32.20 | ZnadeWoRK | error 404 ... page not found |
19:32.20 | ZnadeWoRK | argh |
19:32.26 | ZnadeWoRK | *BOOOOOOM* |
19:33.11 | ZnadeWoRK | quick paste ... |
19:33.12 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/servlet/HelloWorldExample' |
19:33.12 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match |
19:33.12 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default redirection of /examples/servlet/HelloWorldExample |
19:33.12 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker |
19:33.14 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/examples/servlet/HelloWorldExamp |
19:33.24 | ZnadeWoRK | [Tue Nov 26 20:24:58 2002] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -> /examples/ |
19:33.27 | ZnadeWoRK | arghh ! |
19:33.34 | ZnadeWoRK | im going to kill someone on my way home |
19:33.56 | radsatori | Hellaenergy` That attribute forwardall=false well it does configure, but is this what I want is for Apache to do the static stuff? |
19:34.34 | *** join/#tomcat Greco (~chatzilla@modemcable075.115-202-24.mtl.mc.videotron.ca) |
19:47.34 | Hellaenergy | ibot: nickometer jasonb |
19:47.34 | | 'jasonb' is 0.000% lame, hellaenergy |
19:54.20 | radsatori | Hellaenergy` Do I need to have a workers.properties file? |
19:54.52 | Hellaenergy | if you are using mod_jk yes |
19:55.15 | radsatori | Hellaenergy` Even if I use the auto config? |
19:57.18 | Hellaenergy | I don't know about auto config |
19:57.39 | Hellaenergy | try just hard coding the file yourself and get rid of that variable (auto config) |
19:57.56 | radsatori | What confuses me now, is unless I put forwardall="false" in the line above, there is nothing in my autoconfig. |
20:15.05 | *** join/#tomcat s0niX^D2 (s0niX@p50828AE2.dip.t-dialin.net) |
20:15.32 | s0niX^D2 | /nick s0niX |
20:16.58 | *** join/#tomcat ckell (~ckell@host.gotc.net) |
20:17.53 | ckell | Aren't the jar's in "TOMCAT_HOME"/common/lib suppose to be loaded into the classpath on a startup.sh? |
20:18.00 | ckell | tomcat4/0/6 |
20:25.26 | jasonb | ibot: nickometer Hellaenergy |
20:25.26 | | 'Hellaenergy' is 0.000% lame, jasonb |
20:26.23 | jasonb | ibot: nickometer s0niX^D2 |
20:26.23 | | 's0niX^D2' is 85.000% lame, jasonb |
20:26.37 | ZnadeWoRK | ibot: nickometer ZnadeWoRK |
20:26.37 | | 'ZnadeWoRK' is 98.670% lame, znadework |
20:26.41 | ZnadeWoRK | damn |
20:26.44 | jasonb | hehe! |
20:26.47 | ZnadeWoRK | i bet its cheating |
20:39.42 | Greco | is there a way to load a class on startup? for instance a class that initiates a connection pool using tomcat 3.3.2 |
21:56.00 | *** join/#tomcat Nador (Nador@m90.net81-66-16.noos.fr) |
21:58.55 | *** join/#tomcat neo (~Andy@hax0r-9600bps-analog-modem-pool.3solv.net) |
22:55.55 | *** part/#tomcat neo (~Andy@hax0r-9600bps-analog-modem-pool.3solv.net) |
23:31.16 | *** join/#tomcat fhess (~fhess@pD9E36127.dip.t-dialin.net) |
23:31.43 | fhess | hi |
23:32.59 | fhess | I have a stupid question, in the tomcat documentation, they talk about that the port 8005 is to shutdown the tomcat server. How does that work? |
23:33.30 | fhess | is that just for the shutdown skript? |
23:34.08 | fhess | sorry for the stupid question :-( |