00:02.40 | *** join/#tomcat Pointy_Work (~Pointwood@fw.agropark.dk) |
00:54.31 | *** join/#tomcat coco (~chatzilla@dns.newsys.ro) |
00:55.12 | coco | hi |
00:55.46 | coco | is there anyone who can help me with a problem? |
00:56.03 | coco | i have win2000 and Tomcat 4.1.7 |
01:23.31 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-107-2-39.abo.wanadoo.fr) |
01:29.31 | *** join/#tomcat TheDevil (~TheDevil@145.92.201.67) |
03:03.15 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-4-244.abo.wanadoo.fr) |
03:41.29 | *** join/#tomcat Arnis (~chatzilla@80.232.178.60) |
03:42.03 | Arnis | Hi |
03:43.24 | Arnis | Have everybody worked with such things: Solaris + Apache 1.3 + Tomcat 3.3 + Servlets (java sdk 1.3) |
03:43.44 | Arnis | I have problems with encodings |
03:44.49 | Arnis | In servlet I'm getting bad strings from cgi prameters. Not ones I typed in the form. |
03:47.37 | *** join/#tomcat acollins (~acollins@194.130.58.131) |
03:54.08 | acollins | can anyone help me with errorpages and buffering? |
03:54.49 | acollins | my errorpages aren't showing up cleanly because there is extra html at the top from the page that was loading before the error occured... |
04:22.22 | *** part/#tomcat acollins (~acollins@194.130.58.131) |
05:04.51 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-2-132.abo.wanadoo.fr) |
05:33.37 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
06:18.12 | *** join/#tomcat webdaemon (~webdaemon@Mix-Marseille-106-2-132.abo.wanadoo.fr) |
07:07.58 | *** join/#tomcat daddex (~daddex@host10-67.pool81112.interbusiness.it) |
07:08.08 | daddex | hi |
07:08.17 | daddex | anybod has an idea how to set |
07:08.25 | daddex | tomcat to show wap pages ? |
07:08.28 | daddex | please |
07:29.29 | *** join/#tomcat kuru (~elzubeir@acm.csci.unt.edu) |
07:31.40 | webdaemon | hi ! i got org/apache/xerces/parsers/SAXParser Classnotfound on tomcat 4112 ... someone knows why ? |
07:32.40 | webdaemon | im' running jdk1.4 |
07:36.13 | kuru | all I want is to see the HelloWorld servlet example work! |
07:36.17 | kuru | outside of the 'examples' directory |
07:37.20 | webdaemon | create /tomcat/webapps/mytest |
07:37.26 | webdaemon | create /tomcat/webapps/mytest/WEB-INF |
07:37.30 | webdaemon | create /tomcat/webapps/mytest/WEB-INF/classes |
07:37.32 | kuru | webdaemon, I did. |
07:37.36 | kuru | webdaemon, exactly that |
07:37.43 | webdaemon | compile the class in the last path |
07:37.50 | kuru | webdaemon, I did that |
07:37.57 | webdaemon | create /tomcat/webapps/mytest/WEB-INF/web.xml |
07:38.01 | kuru | ah |
07:38.07 | kuru | I didn't do that ;) |
07:38.36 | kuru | what should it contain.. I looked at the one in ROOT/ and it didn't make sense. |
07:38.50 | webdaemon | in this file you have to set the mapping between the path (/myservlet) to the class (com.mycompagny.servlets.HelloWorld) ... |
07:39.03 | kuru | hrmm |
07:39.11 | webdaemon | have a look in the /example/WEB-INF/web.xml) you will understand the mappings |
07:39.52 | webdaemon | the point it that Tomcat must know which class to associate to which path (/mytest/myservlet) |
07:40.06 | kuru | dammit.. I can't hit the server remotely. |
07:40.16 | webdaemon | how would tomcat map the url to the servlet (the class) if you don't tell it ? |
07:40.27 | kuru | webdaemon, oh.. I understand that now |
07:40.46 | kuru | but I'm not sure what the debian default is supposed to be.. only localhost for everything? |
07:40.47 | webdaemon | <PROTECTED> |
07:40.47 | webdaemon | <PROTECTED> |
07:40.47 | webdaemon | <PROTECTED> |
07:40.48 | webdaemon | <PROTECTED> |
07:40.53 | webdaemon | <servlet-mapping> |
07:40.53 | webdaemon | <servlet-name>tgndiff</servlet-name> |
07:40.53 | webdaemon | <url-pattern>/servlets/TgnDiff</url-pattern> |
07:40.53 | webdaemon | </servlet-mapping> |
07:41.19 | webdaemon | you associate : class <-> servlet_name and servlet_name <-> url-pattern |
07:41.21 | kuru | and do I have to follow the same com.company.something... |
07:41.23 | webdaemon | you see N |
07:41.24 | webdaemon | ? |
07:41.51 | kuru | I mean, in the structure inside 'classes/'.. com/comapny/... etc? |
07:41.55 | webdaemon | kuru: no, packages are not mandatory, you could just use MyHelloWorld as the class |
07:42.09 | webdaemon | don't use the packages for the moment |
07:42.25 | kuru | webdaemon, oh I know how to use packages, strictly java |
07:42.34 | kuru | I'm just trying to make sense of tomcat |
07:43.22 | webdaemon | kuru .. in the given example above, |
07:43.35 | webdaemon | the class which is used is in "E:\tomcat4112\webapps\tgndiff\WEB-INF\lib\tgndiff.jar" |
07:43.37 | webdaemon | on my HDD |
07:43.40 | webdaemon | hope this helps |
07:44.08 | kuru | webdaemon, I think it does.. but first I need to figure out how to access the tomcat server remotely ;) |
07:44.21 | webdaemon | but it could have been E:\tomcat4112\webapps\tgndiff\WEB-INF\classes\com\labocom\tgndiff\TgnDiff |
07:44.49 | kuru | webdaemon, gotcha |
07:44.50 | webdaemon | that's the same for tomcat :: 1. the classes folder 2. or a jar file in its "lib" |
07:45.25 | kuru | in server.xml .. where do I tell it to allow every ip |
07:46.23 | webdaemon | you have many ips ? |
07:49.32 | kuru | someone please help <g> |
07:57.54 | kuru | so... I can't access it remotely? that's it.. you'll watch me get run over by a Tomcat and standby! |
07:58.52 | webdaemon | what's the tragedy ? |
07:59.02 | webdaemon | i'm oudated |
07:59.08 | kuru | I can't access the tomcat server from a web browser ! |
07:59.15 | kuru | I can.. locally, but not otherwise |
07:59.31 | kuru | I can't figure out this server.xml file. Where do I tell it, let me in! |
07:59.51 | webdaemon | did you change anything in this file ? |
07:59.55 | kuru | no |
08:00.07 | webdaemon | what version of tomcat ? |
08:00.11 | kuru | 4 |
08:00.44 | webdaemon | you can http the server in local but not on another computer from the LAN ? |
08:01.12 | kuru | webdaemon, i can hit the http (port 80) just fine (Apache) |
08:01.22 | kuru | I'm at work, the server is at home |
08:01.49 | webdaemon | so, what's the problem ? |
08:02.00 | kuru | I don't want apache.. I want tomcat! |
08:02.10 | webdaemon | apache is on port 8080 by default |
08:02.15 | kuru | locally I can hit http://localhost:8180 |
08:02.21 | kuru | here.. |
08:02.44 | kuru | nope |
08:02.55 | kuru | and I have mod_jk loaded |
08:03.31 | webdaemon | oh .... if it's a story of mod_jk, you'll have to find yourself, too many possible problem... not enough time to help you |
08:03.49 | kuru | webdaemon, okay, I don't want to use mod_jk then |
08:03.55 | kuru | tell me the simple straight-forward way |
08:04.16 | webdaemon | http://your_server:8180/ is the simplest way |
08:04.32 | kuru | webdaemon, yes.. but this ONLY works locally. |
08:04.38 | kuru | _THAT_ is my problem! |
08:04.39 | kuru | heh |
08:04.46 | webdaemon | ok ... i see |
08:04.50 | kuru | I can do this from 'links' if I'm ssh'ed. |
08:04.57 | webdaemon | try that : |
08:04.57 | webdaemon | <PROTECTED> |
08:04.58 | kuru | and it pulls it up fine |
08:05.10 | webdaemon | defaulthost="your_ip" |
08:05.39 | kuru | which IP? |
08:05.40 | webdaemon | Oh, don't you hava a firewall that blocks the port 8180 from the outside ? |
08:06.02 | kuru | I have a firewall, but it doesn't block 8180 |
08:06.15 | webdaemon | are you SURE of that ? |
08:06.16 | kuru | which ip? the server ip? |
08:06.20 | kuru | webdaemon, yes. |
08:06.44 | webdaemon | no, don't touch anything ... default configuration SHOULD works |
08:06.48 | kuru | webdaemon, the firewall is on this very machine and all the ports to it are open. |
08:06.52 | kuru | ugh |
08:07.09 | kuru | this is 'Debian' default configuration.. heaven knows what they decided to be the default. |
08:07.15 | webdaemon | how do you know it doesn't work from outside ? |
08:07.27 | kuru | webdaemon, cause I'm trying to hit it? How else would you know.. |
08:07.39 | webdaemon | ok ... so you are not at home ... |
08:07.44 | kuru | "My car doesn't run".. "How do you know?" "I turn the key, and nothing happens" ;) |
08:08.00 | kuru | webdaemon, no I'm not. |
08:08.40 | webdaemon | and you get apache on port 80 ? |
08:08.46 | kuru | yup |
08:08.52 | webdaemon | and not tomcat on 8180 ? |
08:08.58 | webdaemon | strange |
08:09.16 | webdaemon | give me the home ip in private |
08:09.20 | kuru | 8180 I can access when I'm ssh'ed to the box. |
08:09.34 | webdaemon | i see |
08:10.33 | webdaemon | there is no open port on your_ip:8180 |
08:10.53 | webdaemon | could you ssh the box and paste me a netstat -tln ? |
08:10.57 | kuru | webdaemon, obviously. |
08:11.43 | kuru | webdaemon I'll paste in #flood |
08:12.58 | webdaemon | could you explain me why you can access 0.0.0.0:22 |
08:13.04 | webdaemon | and not 0.0.0.0:8180 |
08:13.11 | webdaemon | if there is not a firewall problem ? |
08:13.17 | kuru | webdaemon, hrmm |
08:13.22 | webdaemon | i'm realy disapointed |
08:14.22 | webdaemon | hold on ... i'm asking a guru |
08:14.24 | kuru | webdaemon ;) |
08:14.27 | kuru | you are right |
08:14.33 | webdaemon | right ? |
08:14.39 | webdaemon | you found the bug ? |
08:14.43 | webdaemon | firewall ? |
08:14.45 | kuru | webdaemon, it was the firewall |
08:14.49 | webdaemon | hehe |
08:14.50 | kuru | I'm glad my firewall works then ;) |
08:15.03 | webdaemon | yes you can say it works ... maybe too much |
08:15.05 | kuru | I don't know why I thought I had all ports open.. |
08:15.17 | kuru | after I said that I thought.. why the hell do I have em all open anyway? |
08:15.46 | webdaemon | First close the whole system , then open what's needed only ... Sysadmin rume |
08:15.49 | webdaemon | s/rume/rule |
08:15.56 | kuru | now I have to figure out all this stuff you told me about web.xml ;) |
08:16.04 | webdaemon | good luck |
08:16.09 | kuru | webdaemon, yeah that's how I wrote the iptables script |
08:16.17 | kuru | webdaemon, now that I look at it ;) |
08:16.37 | kuru | Haven't touched it since $Id: start-router,v 1.1 2002/09/09 06:56:59 elzubeir Exp $ |
08:16.53 | webdaemon | <PROTECTED> |
08:23.54 | kuru | I am sooooooooooo confused ;) |
08:24.00 | kuru | I have it working.. but I don't know why ;) |
08:24.20 | kuru | http://www.arabeyes.org:8180/servlet/HelloWorld and it works |
08:24.51 | kuru | inside webapps/almawja/WEB-INF/web.xml I have: |
08:24.58 | kuru | <servlet> |
08:24.58 | kuru | <PROTECTED> |
08:24.58 | kuru | <PROTECTED> |
08:24.58 | kuru | </servlet> |
08:24.58 | kuru | <servlet-mapping> |
08:24.58 | kuru | <PROTECTED> |
08:25.00 | kuru | <PROTECTED> |
08:25.02 | kuru | </servlet-mapping> |
08:25.18 | kuru | but I don't necessarily want to call it /servlet/something everytime |
08:25.50 | webdaemon | hold on ... |
08:28.36 | webdaemon | <PROTECTED> |
08:28.49 | webdaemon | <PROTECTED> |
08:29.02 | webdaemon | maybe the servlet running is example's servlet |
08:29.03 | kuru | webdaemon, yeah I just realized it is in the wrong.. everything is in the wrong spot |
08:29.07 | webdaemon | chanfe the test |
08:29.15 | kuru | I'm trying to clean up the files all over the place so I can know what's being called here ;) |
08:29.17 | webdaemon | change the text to avoid confusions |
08:29.44 | webdaemon | And access : http://www.arabeyes.org:8180/xxxxxxxxx/servlet/HelloWorld |
08:29.59 | webdaemon | where xxxxxx your webapplication |
08:50.27 | *** join/#tomcat awallace (~awallace@adsl-66-136-202-93.dsl.austtx.swbell.net) |
08:54.58 | awallace | I hava apache in front of tomcat, working fine, but now I can't get the remote host and remote ip and all that in my servlets, is there something different i need to do or should I forget about that info? |
09:17.16 | *** join/#tomcat DreamThtr (~mrichman@n00.bcrtfl01.us.wh.nameservers.net) |
09:17.44 | DreamThtr | Can someone tell my why WARs are not unpacking under 4.1.12? I just did a fresh install. |
09:17.49 | *** join/#tomcat mrichman (~mrichman@n00.bcrtfl01.us.wh.nameservers.net) |
09:25.22 | webdaemon | DreamThtr: i'm running 4112 and it works just fine |
09:25.40 | DreamThtr | hmmm i wonder what could be wrong -- i dropped the struts wars in webapps |
09:25.56 | webdaemon | try with another war |
09:26.10 | webdaemon | mmm ... hold on i check something |
09:27.04 | webdaemon | mmmm ... base configuration seems ok : |
09:27.04 | webdaemon | <Host name="localhost" debug="0" appBase="webapps" |
09:27.04 | webdaemon | <PROTECTED> |
09:27.16 | webdaemon | should work |
09:27.26 | DreamThtr | i also get this doosy on startup now: "javax.management.InstanceAlreadyExistsException: Catalina:type=Context,path=/,host=localhost,service=Tomcat-Standalone" |
09:27.40 | DreamThtr | i installed the RPMs on RH8.0 |
09:27.51 | webdaemon | Throw away RPMS |
09:27.58 | DreamThtr | doh! |
09:28.02 | webdaemon | just install from tomcat-binaries |
09:28.09 | DreamThtr | now he tells me :) |
09:28.14 | DreamThtr | then why put them up? |
09:28.34 | webdaemon | i hate those RPMS, because it's all the time better to install yourself an app |
09:28.41 | webdaemon | question of point of view |
09:28.51 | DreamThtr | where are you from? |
09:28.55 | webdaemon | france |
09:28.58 | webdaemon | why ? |
09:29.21 | DreamThtr | your english wasnt perfect -- just curious :) i understand you fine |
09:29.35 | DreamThtr | je ne comprene pas francias |
09:29.47 | DreamThtr | s/comprene/comprende |
09:29.54 | DreamThtr | ?? |
09:29.56 | webdaemon | i hope some day it'll be perfect |
09:30.07 | webdaemon | je ne comprends pas le francais ... that's the one |
09:30.07 | awallace | I hava apache in front of tomcat, working fine, but now I can't get the remote host and remote ip and all that in my servlets, is there something different i need to do or should I forget about that info? |
09:30.29 | webdaemon | DreamThtr: let me improve, what sentence was wrong ? |
09:30.36 | DreamThtr | merci beau coup |
09:30.49 | webdaemon | merci beaucoup :-) |
09:30.59 | DreamThtr | merci merci |
09:31.00 | webdaemon | de rien ! (means np) |
09:32.00 | DreamThtr | i can speak just a little -- dont ask me to spell anything |
09:32.50 | DreamThtr | unless you want to speak spanish |
09:32.58 | webdaemon | why did you say my english wasn't perfect ( although i know that fact ) |
09:33.23 | DreamThtr | "because it's all the time better to install yourself an app" |
09:33.44 | DreamThtr | always == all the time |
09:34.05 | DreamThtr | "because it's always better to install an app yourself" |
09:34.31 | webdaemon | i see ! |
09:36.06 | DreamThtr | "question point of view" -- not sure how to reword this, but i know what you meant. |
09:37.12 | webdaemon | "question de point de vue" in french :-) .... quick translation |
09:37.38 | DreamThtr | maybe you wanted to say "It depends on your p.o.v." ? |
09:37.44 | webdaemon | that's it |
09:40.02 | DreamThtr | i installed the .tar.gz instead -- it deploys the WARs now :) |
09:40.18 | webdaemon | conclusion ? |
09:40.31 | DreamThtr | the tomcat build scripts are hosed :) |
09:57.42 | *** part/#tomcat DreamThtr (~mrichman@n00.bcrtfl01.us.wh.nameservers.net) |
10:10.23 | *** join/#tomcat magia (~magia@chello062179223.chello.pl) |
10:10.33 | *** part/#tomcat magia (~magia@chello062179223.chello.pl) |
10:52.37 | kuru | dammit |
10:53.59 | kuru | <servlet><servlet-name>hell</servlet-name><servlet-class>hell</servlet-class></servlet> <servlet-mapping><servlet-name>hell</servlet-name><url-pattern>/almawja/hell</url-pattern></servlet-mapping> is what my web.xml file has inside of ../webapps/almawja/WEB-INF/web.xml |
10:54.18 | kuru | Inside webapps/almawja/WEB-INF/classes/ I have a file hell.java and hell.class |
10:54.38 | kuru | I try to hit http://www.mydomain.com/almawja/hell and I still get a 404 |
10:54.58 | kuru | why is this so complicated? |
10:57.02 | *** join/#tomcat |Spinka20 (~spinka@pm141.czestochowa.sdi.tpnet.pl) |
10:57.23 | kuru | I think I'll just go home and think about it |
11:18.15 | *** join/#tomcat ibot (ibot@rikers.org) |
11:18.15 | *** topic/#tomcat is jsp |
11:30.04 | *** join/#tomcat tang^ ([dQrME74Hf@ahgn23wky5824.ab.hsia.telus.net) |
11:46.34 | *** join/#tomcat IRCMonkey_ (~chatzilla@america.pcnet.ro) |
11:47.23 | IRCMonkey_ | w |
11:47.34 | *** join/#tomcat shinta_ (~shinta@66.97.15.2) |
11:48.20 | shinta_ | anyone what syntax is jsp?prodnum=xxx called in a jsp page? |
11:51.22 | tang^ | you mean the parameters in the query string? |
12:18.38 | shinta_ | like |
12:18.40 | shinta_ | in url |
12:18.52 | shinta_ | if its a location with .jsp?blah=xxx |
12:18.55 | shinta_ | what is that thing called? |
12:19.05 | shinta_ | i need to learn it but i dont know where to look |
12:19.15 | shinta_ | its a jsp element right |
12:20.02 | jasonb | Everything starting with and including the "?" is called the query string. |
12:20.02 | shinta_ | is it a jsp thing? |
12:20.02 | jasonb | No. |
12:20.02 | jasonb | It's a general URL thing. |
12:20.22 | jasonb | the name=value&name2=value2 stuff is a set of name and value pairs called parameters. |
12:22.56 | shinta_ | k thanks |
12:23.24 | shinta_ | what do i have to learn in jsp to parse that parameter value and utilize it? |
12:23.42 | shinta_ | say for example if the url is details.jsp?prodnum=111 |
12:23.43 | jasonb | Actually, Tomcat parses that for you. |
12:23.59 | shinta_ | jasonb:how do i use that 111 in my jsp? |
12:27.16 | tang^ | check out request.getParameter() |
12:27.22 | *** join/#tomcat sparv (~gus@draco.research.olin.edu) |
12:28.00 | shinta_ | tang^:k thanks |
12:29.02 | jasonb | shinta_: Try this: Product Number: <%= prodnum %> |
12:31.19 | *** join/#tomcat Adillondon (~user@host213-121-108-110.in-addr.btopenworld.com) |
12:32.02 | *** join/#tomcat maggie (~user@host213-121-108-110.in-addr.btopenworld.com) |
12:33.46 | maggie | hi, i just wanted to ask that why when i wrote polish web address, insted my page came your page |
12:34.30 | shinta_ | jasonb:k thanks |
12:34.53 | Adillondon | with pleasure |
12:35.06 | *** part/#tomcat Adillondon (~user@host213-121-108-110.in-addr.btopenworld.com) |
14:09.10 | *** join/#tomcat marcia (~amartaa@gwardii.BMJ.net.pl) |
14:10.10 | *** part/#tomcat marcia (~amartaa@gwardii.BMJ.net.pl) |
14:18.07 | shinta_ | if i have a jsp that uses a javabean that returns an array, how do I print out the value of the array after the jsp called the javabean? |
14:18.22 | shinta_ | within the jsp |
14:18.39 | jasonb | shinta_: You write some Java code inside the JSP that loops through the array, printing each element. |
14:19.11 | shinta_ | jasonb:ok thanks...is it better this way or use the print statements inside the javabean? |
14:19.32 | jasonb | shinta_: Depends on your goals. |
14:26.01 | TheSteve0 | shinta_: use a tag |
14:26.08 | TheSteve0 | the jstl has an iterate tag |
14:29.13 | *** join/#tomcat footek (~hiob@pa137.kedzierzyn.sdi.tpnet.pl) |
14:29.23 | jasonb | shinta_: Another thing to watch out for is creating a dependency on a large library of code just to get around writing such a small, simple block of code yourself. It may not be worth it. |
14:29.36 | footek | yo what is this tomcat ? |
14:30.12 | jasonb | footek: Heh. The funny thing is that the jakarta.apache.org/tomcat page doesn't really say. :) |
14:31.22 | footek | hmmm but i want play on net to game and they is write please install tomcat or something that |
14:31.52 | jasonb | footek: It's lots of things, including: 1) A multiplatform HTTP 1.1 web server written in Java. 2) A Java Servlet container that allows you to write and use Servlets, which are small & modular Java plugins that run in Tomcat to handle HTTP requests. |
14:33.14 | jasonb | footek: 3) A JSP server. JSPs are dynamic HTML template files that can contain code for the server to run and dynamically generate web pages. |
14:34.35 | footek | oki...then if i want play on net i must install that thing and play yes ? |
14:35.48 | footek | but i'ii normal play or i must opening that if i want open the page |
14:35.56 | footek | http://gry.radiostacja.pl/index.jsp |
14:36.10 | footek | look for this and please help me |
14:37.04 | jasonb | footek: Looks like it works to me. |
14:37.36 | footek | hmm... beacouse you have install this tomcatt yes ? |
14:38.08 | footek | oki |
14:38.40 | footek | have you page from i can downoload this page ? |
14:38.48 | footek | blahh |
14:38.56 | footek | no page or program |
14:39.55 | footek | please sayyyy i don't have a time |
14:39.59 | footek | please sayyyy i don't have a time |
14:40.35 | footek | oki |
14:40.38 | footek | i must go |
14:40.45 | footek | a wogole gada tu ktos po polsku ? :P |
15:03.05 | *** join/#tomcat ibot (ibot@rikers.org) |
15:03.05 | *** topic/#tomcat is jsp |
15:16.56 | *** join/#tomcat ibot (ibot@rikers.org) |
15:16.56 | *** topic/#tomcat is jsp |
16:03.45 | *** join/#tomcat kuru (~elzubeir@acm.csci.unt.edu) |
16:04.56 | kuru | okay, can someone please tell me what I'm missing to make my own servlets run! I've been banging my head against the wall on this for too long now! |
16:05.31 | kuru | <servlet> |
16:05.31 | kuru | <PROTECTED> |
16:05.31 | kuru | <PROTECTED> |
16:05.31 | kuru | </servlet> |
16:05.31 | kuru | <servlet-mapping> |
16:05.31 | kuru | <PROTECTED> |
16:05.33 | kuru | <PROTECTED> |
16:05.35 | kuru | </servlet-mapping> |
16:05.40 | kuru | where does it expect my files to be? |
16:10.36 | kuru | come on.. no one? |
16:29.06 | *** join/#tomcat anduril1 (~chatzilla@lnk-65-28-188-220.neb.rr.com) |
16:29.13 | kuru | no one is here. |
16:39.09 | *** join/#tomcat inconspicuous (~inconspic@stinkymonkey.cc.columbia.edu) |
16:48.55 | lalle | How to disable Dirctory Lising in 4.1.12? |
16:50.09 | kuru | nothing works |
16:50.15 | kuru | this thing is too damn complicated |
16:50.18 | kuru | for no reason |
16:51.20 | lalle | kuru: You dont need a deployment descriptor in that case |
16:51.48 | lalle | kuru: Did you creat a new webapp? |
16:52.10 | kuru | lalle, yeah.. something about my descriptor is wrong |
16:52.54 | lalle | kuru: do you want your servlet to have an alias at /amawja/hell? |
16:53.13 | kuru | lalle, or whatever it really is! |
16:53.55 | lalle | Well, how does you dir-structure looks like? |
16:54.31 | kuru | lalle, webapps/almawja/WEB-INF/web.xml |
16:54.41 | kuru | lalle, webapps/almawja/WEB-INF/classes/hell.class |
16:55.05 | kuru | inside web.xml I have: <servlet> |
16:55.05 | kuru | <PROTECTED> |
16:55.05 | kuru | <PROTECTED> |
16:55.05 | kuru | </servlet> |
16:55.05 | kuru | <servlet-mapping> |
16:55.06 | kuru | <PROTECTED> |
16:55.08 | kuru | <PROTECTED> |
16:55.10 | kuru | </servlet-mapping> |
16:55.41 | kuru | I start the tomcat server.. hit http://mydomain.com:8180/almawja/hell I get 404 |
16:55.50 | lalle | And if you remove everything you have inside of web.xml,restart and tries www.myhost.com/servlets/hell.class |
16:56.41 | kuru | .class? |
16:56.47 | lalle | No |
16:56.50 | lalle | My misstake |
16:56.50 | lalle | =) |
16:57.01 | kuru | I get a 404 anyway (without .class of course) |
16:58.05 | *** join/#tomcat ibot (ibot@rikers.org) |
16:58.05 | *** topic/#tomcat is jsp |
16:58.22 | lalle | Well, a classname shoud _never_ begin with a lowercase letter |
16:58.30 | kuru | lalle, well it did |
16:59.37 | lalle | kuru: Did you remove everything in web.xml? |
16:59.52 | kuru | lalle, I 'mv web.xml web1.xml' |
17:00.27 | kuru | I then 'touch web.xml' |
17:00.27 | lalle | And restarted tomcat? |
17:01.07 | kuru | yup |
17:01.27 | kuru | I also renamed hell.java to Hell.java, upped the classname 'H', and recompiled, then restarted tomcat. |
17:01.36 | kuru | so now I have Hell.class |
17:01.49 | kuru | which is just a hello world |
17:04.40 | kuru | tough one, huh ;) |
17:13.24 | kuru | guess so.. |
17:15.59 | *** join/#tomcat seanb (~sean@66.34.231.64) |
17:16.48 | seanb | Anyone here gotten tomcat 4.1.2 to work inprocess (jni) with apache 2.0.48 ? |
17:54.35 | *** join/#tomcat kuru (elzubeir@66-169-211-190.dntn.tx.charter.com) |
17:54.45 | kuru | Are there live people in here? |
17:59.03 | *** join/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
17:59.12 | *** part/#tomcat agent29 (~tonni@pc63222.stofanet.dk) |
18:16.10 | *** join/#tomcat CoolPops (~jc__REMOV@dhcp024-209-042-101.neo.rr.com) |
18:17.41 | CoolPops | I remember reading how to run Tomcat on port 80 but now that I am ready to move my server to port 80 I cannot find the information. Does anyone know where I might have read that? I have been all over the docs on jakarta.apache.org but I am sure I am just missing something. |
18:19.46 | jasonb | CoolPops: You mean other than running it as root? |
18:28.53 | kuru | CoolPops: conf/server.xml |
18:40.51 | CoolPops | jasonb: yeah. |
18:41.11 | jasonb | CoolPops: It's funny, I can't find the docs for that either. |
18:41.18 | CoolPops | jasonb: sorry so late, my children came home and it's past their bed time (1&3y) ... had to put them to bed. |
18:41.32 | CoolPops | jasonb: hehe. at least now I don't feel so bad. |
18:42.57 | jasonb | :) |
19:12.54 | jasonb | CoolPops: http://linux.org.mt/article/tomcat-ports |
19:13.30 | jasonb | CoolPops: Kind of a hack, but it may work for you. |
19:25.37 | CoolPops | jasonb: I do use IPTables on my system. |
19:25.45 | CoolPops | jasonb: thanks for finding that for me. |
19:49.29 | jasonb | CoolPops: You're welcome. I kinda needed to know it too (for some reason I didn't think it just used IPTables..) |
20:18.17 | *** join/#tomcat savage- (ryan@sur032.louisiana.edu) |
20:32.59 | *** join/#tomcat hay (bgsmith@bc105130.bendcable.com) |
20:50.47 | *** join/#tomcat TheSteve0 (~Steve@kelev.stat.yale.edu) |
22:16.37 | *** join/#tomcat unicorn (~chatzilla@host234.FEITH.COM) |
22:21.31 | unicorn | hello |
22:25.24 | *** join/#tomcat Raboo (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
22:26.11 | *** join/#tomcat Bobbo (~chatzilla@65.218.203.77) |
22:28.41 | unicorn | Hello |
22:28.53 | Bobbo | hello |
22:29.03 | Bobbo | I've got a question |
22:29.26 | Bobbo | regarding Symlinks |
22:29.26 | unicorn | Me too. |
22:29.30 | Bobbo | heh |
22:29.36 | Bobbo | anybody here? |
22:29.38 | unicorn | Seems like no one is answering questions here. |
22:29.48 | Bobbo | (besides us) |
22:29.51 | unicorn | What's your question? |
22:30.00 | unicorn | I don't know. |
22:30.08 | Bobbo | heh |
22:30.32 | Bobbo | do you know anything about how Symlinks aren't working in 4.1.12??? |
22:30.35 | unicorn | What about symlinks? |
22:31.03 | unicorn | No. sorry. |
22:31.05 | Bobbo | they apparently have turned them off - according to the Release Notes |
22:31.13 | unicorn | I might have read about it though. |
22:31.24 | Bobbo | can turn them on, but they don't say WHERE |
22:31.53 | unicorn | Did you look into server.xml? |
22:31.54 | Bobbo | apparently there is a <allowLinking> |
22:32.11 | Bobbo | yeah |
22:32.21 | unicorn | I used it in 3.3, but not in 4.1 |
22:32.42 | Bobbo | apparently it worked until 4.0.4, then no more (automatically) |
22:33.14 | unicorn | heh |
22:33.18 | Bobbo | only breaks on symlinks outside of the web application |
22:33.26 | Bobbo | what's your question? |
22:34.04 | unicorn | Do you know why they made JDK a requirement in version 4.0 (instead of JRE)? |
22:34.30 | Bobbo | no, but I got bit by that one too |
22:34.42 | unicorn | I was able to make my application work using JRE by putting the tools.jar into tomcat |
22:34.46 | Bobbo | I'm assuming that they need it for compiler type stuff |
22:35.03 | unicorn | Well, the compiler is in tools.jar |
22:35.20 | Bobbo | huh, I just installed the SDK and it all started working like it should |
22:35.22 | unicorn | The only thing that JRE does not have is the debugger. |
22:35.29 | Bobbo | kicked myself for not reading the docs |
22:35.32 | Bobbo | there you go |
22:35.52 | Bobbo | there's probably a few other little goodies that they are using |
22:35.53 | unicorn | Well, my company needs to distribute Tomcat and java... |
22:36.13 | unicorn | Sun's JDK used to be non-distributable. |
22:36.20 | Bobbo | ah - what's Sun's take on that??? |
22:36.54 | unicorn | I looked at the license agreement for 1.3.1 and 1.4.1, they both seemed to be redistributable now. |
22:37.26 | Bobbo | we're doing the same and the legal begals didn't come out to play |
22:37.31 | unicorn | Problem is: it is not redistributable on other platforms like HP-UX and AIX |
22:37.59 | Bobbo | then you'll have to write a script to automatically download via Lynx or something like that and install via script |
22:38.45 | unicorn | I don't think that can be easily done. |
22:38.49 | Bobbo | PITA, but if the user clicks a link and it fires up |
22:38.55 | Bobbo | no, not easily |
22:39.17 | unicorn | But still pain in the B. |
22:39.18 | Bobbo | You ever install the Ximian release for Linux? |
22:39.23 | Bobbo | big time |
22:39.25 | unicorn | Nah. |
22:39.41 | Bobbo | They have a killer install |
22:39.50 | unicorn | huh |
22:39.56 | Bobbo | fires up via Lynx |
22:40.05 | Bobbo | downloads everything and away she goes |
22:40.05 | unicorn | That's cool |
22:40.13 | Bobbo | coolest thing I've ever seen |
22:40.25 | Bobbo | you should do the install just to see how it's done |
22:40.44 | Bobbo | I want to get our stuff to that level |
22:40.46 | unicorn | Yeah. may worth trying. |
22:40.50 | Bobbo | auto-mated |
22:41.00 | unicorn | he he he |
22:41.18 | Bobbo | that, or you should get hold of your Sun rep and see what he/she has to say |
22:42.03 | unicorn | Problem is: it may be SUN, IBM, or HP or even DEC Alpha |
22:42.27 | Bobbo | yeah, but Sun is holder of the license |
22:42.36 | unicorn | We were using JRE with Tomcat3.3 fine with all those platforms. |
22:42.54 | unicorn | Not the implemention of the SDK's |
22:43.17 | Bobbo | tough call - that's why we're staying only on Linux |
22:43.19 | unicorn | If only they can make things easier for us... |
22:43.39 | unicorn | Well, we have to sell our product to all kinds of customers. |
22:43.43 | Bobbo | yeah, not sure of why the change |
22:43.49 | Bobbo | I see |
22:44.16 | unicorn | I did a quick test and it seems my Tomcat is working okay with JRE |
22:44.28 | Bobbo | kewl |
22:44.36 | Bobbo | maybe your the guru now |
22:44.39 | Bobbo | heh |
22:44.52 | unicorn | Not really. |
22:45.06 | Bobbo | OK - time to head home and do more READING |
22:45.13 | Bobbo | this one has been a real pain today |
22:45.26 | unicorn | Always |
22:45.34 | Bobbo | well, good luck to you |
22:45.40 | Bobbo | thx for the input |
22:45.41 | unicorn | Thanks. Same to you. |
22:45.45 | Bobbo | bye |