00:08.50 | tony | ls |
00:08.54 | tony | whoops, sorry |
00:10.54 | *** join/#tomcat `drek___ (~drek@hub.cbc.ca) |
00:22.19 | jasonb | tony: Yeah, like forever aparently. :) |
00:26.28 | tony | jasonb , I just 'apt-get innstalled' tomcat, and it works great |
00:26.49 | tony | but you do have a point |
00:39.47 | tony | yep, works great |
00:39.49 | tony | far out |
00:41.15 | *** join/#tomcat Archeron (archeron@archeron.wavefire.com) |
00:44.32 | *** join/#tomcat mod_cure (~Cure@cs666863-15.austin.rr.com) |
00:49.33 | jasonb | tony: Which version of tomcat would "tomcat" be? |
00:49.52 | jasonb | tony: And what if the version that maps to "tomcat" is the wrong version for most users? |
00:51.50 | tony | good point |
01:44.06 | tony | so, I've added a user with the correct groups to tomcat-users.xml, but am still not able to log into the admin or management web apps, what am I missing? |
01:45.26 | jasonb | tony: http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html |
01:46.18 | tony | thanks |
01:50.46 | jasonb | np. |
02:18.44 | tony | in admin.xml, can I add a range to allow? |
02:18.56 | tony | 0/24, etc |
02:40.38 | *** join/#tomcat tang^ (~tang@d142-173-196-96.abhsia.telus.net) |
03:01.39 | jasonb | tony: I don't think so. |
03:01.52 | jasonb | tony: You mean a range of IP addresses to allow to use the Admin webapp? |
03:05.32 | tony | jasonb , yeah, that was my question |
03:05.50 | tony | allow="1.2.3.0/24" |
03:05.54 | tony | ? |
03:05.57 | jasonb | tony: I don't think the Admin webapp has any instrumentation to do that, but the RemoteAddrValve does. |
03:06.45 | jasonb | tony: see this page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html |
03:07.15 | jasonb | tony: Scroll down to the section labeled "Remote Address Filter". |
03:07.20 | tony | cool |
03:13.36 | *** join/#tomcat tang^ (~tang@d142-173-196-96.abhsia.telus.net) |
03:16.27 | *** join/#tomcat tang^ (~tang@d142-173-196-96.abhsia.telus.net) |
04:08.09 | *** join/#tomcat Snaffu (~MonkeyPox@maxtnt05-363.phlpa.fast.net) |
04:50.49 | *** join/#tomcat mod_cure (~Cure@cs666863-15.austin.rr.com) |
05:24.46 | *** join/#tomcat Archeroff (~wade@h24-70-238-85.ok.shawcable.net) |
05:26.25 | Archeroff | hello everyone... |
05:32.15 | Archeroff | I am following some examples in a book and just cannot seem to get things working here. Any pointers would be appreciated. |
05:33.01 | Archeroff | I have a directory called "test" under %TOMCAT_HOME/webapps... the same dir that contains the examples dir in the default installation. |
05:34.04 | Archeroff | under test, there is also WEB-INF and WEB-INF/classes |
05:35.18 | Archeroff | classes contains both a .java file and the compiled TestingServlet.class |
05:35.51 | Archeroff | there is also a web.xml deployment descriptor in WEB-INF |
05:36.40 | Archeroff | But no matter what, I get only a 404 error trying to access port :8080/test/servlet/TestingServlet |
05:37.49 | Archeroff | but :8080/examples/servlet/HelloWorldExample works fine. |
05:37.59 | Archeroff | Is there something else I need to configure? |
05:38.38 | Archeroff | I have restarted tomcat several times to no avail. I can't even find where the 404 error is being logged. |
05:39.05 | Archeroff | Thanks in advance for any responces... I shall check back in a few hours. |
05:46.33 | *** join/#tomcat XvFrt (~dugan@roc-66-66-32-51.rochester.rr.com) |
05:59.15 | *** join/#tomcat XvFrt (~XvFrT@roc-66-66-32-51.rochester.rr.com) |
06:12.09 | *** join/#tomcat redrunne1 (~redrunner@p508450F9.dip.t-dialin.net) |
06:13.29 | *** join/#tomcat jasonb (mdkuser@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:20.35 | *** join/#tomcat tony (~tony@adsl-67-118-242-129.dsl.pltn13.pacbell.net) |
07:34.16 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) |
07:50.56 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) |
08:03.31 | *** join/#tomcat linked (dealt@202.90.141.134) |
08:03.42 | linked | greetings! |
08:03.50 | linked | im installing tomcat on RH 9, i created user tomcat with /sbin/nologin as shell |
08:03.58 | linked | <PROTECTED> |
08:04.05 | linked | anyone? |
08:31.46 | *** join/#tomcat `drek___ (~drek@hub.cbc.ca) |
09:04.25 | *** join/#tomcat carl0s (~chatzilla@abpcl18.cern.ch) |
09:41.12 | *** join/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) |
09:43.09 | *** join/#tomcat linked (dealt@202.90.141.134) |
09:43.14 | linked | hi! |
09:43.22 | solus | hello |
09:43.34 | linked | is it really necessary to build mod_jk with --apxs? |
09:43.46 | quasi | linked: yes |
09:44.14 | linked | i cant find apxs on my RH9 |
09:45.01 | linked | even if i install an rpm mod_jk? |
09:50.31 | quasi | isn't there an apache devel package in deadrat^Wredhat? |
09:51.39 | brnx | who should compile the binaries which could be found at http://sunsite.cnlab-switch.ch/www/mirror/apache/dist/jakarta/tomcat-connectors/jk2/binaries/win32/ ? |
09:53.55 | quasi | judging by the path, it is most likely something mirrored off apache.org |
09:57.01 | linked | quasi: i just installed httpd-devel |
09:59.17 | quasi | now you should have apxs |
10:03.14 | brnx | quasi, yes I paste an url from a mirror the real question is who should compile the binaries dist for jakarta project ? |
10:06.38 | linked | quasi:thanks! |
10:12.34 | quasi | brnx: one of the committers on the tomcat project would have to do it before it can be distributed from apache.org |
10:13.03 | quasi | brnx: but there is no "should" here - it is a voluntary operation |
10:30.17 | solus | The classpath used when compiling jsp should be the one set in conf.d/tomcat right? |
10:44.08 | brnx | quasi, so in fact I'm looking for a win32 binary of the mod_jk2 for an availabale apache version (which is actually not the case) so who have I to contact to signal the pb and to "motivate" him/someone to compile it (cause I'm actually not able to do it myself) |
10:45.11 | quasi | brnx: try one of the mailing lists |
11:26.18 | brnx | why can't I post to tomcat-dev mailing list (<tomcat-dev-digest@jakarta.apache.org>: |
11:26.18 | brnx | ezmlm-manage: fatal: I don't accept messages at this address (inlocal and/or inhost don't match) (#5.1.1)) |
11:26.56 | quasi | don't post to the digest list |
11:29.09 | brnx | ok |
11:34.20 | quasi | just remove -digest and it should be fine |
11:57.22 | *** join/#tomcat Ocean (~ocean@61.17.31.2) |
11:58.36 | Ocean | how to usebean in JSp |
11:59.08 | Ocean | I always find class not found exception when using beans |
12:03.36 | Ocean | any body there |
12:03.41 | Ocean | hello!!!! |
12:03.48 | Ocean | hello |
12:05.30 | Ocean | hello |
12:05.47 | Ocean | pastebot |
12:45.15 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) |
13:05.58 | *** join/#tomcat _Paco (~switch@62-43-32-158.user.ono.com) |
13:06.11 | _Paco | Hello! |
13:08.12 | _Paco | I have a problem with WEB-INF/classes in Tomcat 5. Could anybody help me (only a minute), please? |
13:09.34 | _Paco | I've compiled a class and I've placed it in $TOMCAT_HOME/webapps/myapp/WEB-INF/classes |
13:09.55 | _Paco | Then I've writen a simple JSP that uses this class. |
13:10.04 | _Paco | I get a compilation error (ClassNotFound). |
13:10.27 | _Paco | Should I do something special to get it working? |
13:11.30 | _Paco | I've tried it using a package (and placing the class in a directory structure) and withouy package. |
13:34.03 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-051.arcor-ip.net) |
14:08.41 | *** join/#tomcat jasonc (~jacorley@g5bang.csc.ncsu.edu) |
14:14.12 | *** join/#tomcat skor (~skor@200.116.19.60) |
14:14.32 | skor | good morning |
14:16.31 | *** join/#tomcat PapaSuchtTochter (~mail@ACB8C70E.ipt.aol.com) |
14:48.33 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
14:49.32 | *** join/#tomcat mod_cure (~Cure@cs666863-15.austin.rr.com) |
15:09.41 | *** join/#tomcat cilquirm (~cilq@65.246.162.129) |
15:10.44 | cilquirm | is the use of the jsp 1.2 standard taglibs not supported in a jsp 2.0 container? |
15:43.08 | *** join/#tomcat lunch (~lunch@199.106.212.137) |
15:45.09 | Archeron | I am following some examples in a book and just cannot seem to get things working here. Any pointers would be appreciated. |
15:45.13 | Archeron | I have a directory called "test" under %TOMCAT_HOME/webapps... the same dir that contains the examples dir in the default installation. |
15:45.19 | Archeron | under test, there is also WEB-INF and WEB-INF/classes |
15:45.26 | Archeron | classes contains both a .java file and the compiled TestingServlet.class |
15:45.35 | Archeron | there is also a web.xml deployment descriptor in WEB-INF |
15:45.42 | Archeron | But no matter what, I get only a 404 error trying to access port :8080/test/servlet/TestingServlet |
15:45.50 | Archeron | but :8080/examples/servlet/HelloWorldExample works fine. |
15:45.55 | Archeron | Is there something else I need to configure? |
15:45.59 | Archeron | I have restarted tomcat several times to no avail. I can't even find where the 404 error is being logged. |
15:47.20 | lunch | what is in your web.xml file? |
15:47.23 | Archeron | if it makes any difference, this is an install straight out of the tarball jakarta-tomcat-4.1.29.tar.gz on FreeBSD |
15:47.46 | Archeron | lunch: not much... I will paste the two lines |
15:48.10 | Archeron | <PROTECTED> |
15:48.10 | Archeron | <PROTECTED> |
15:48.40 | Archeron | wrapped in the usual stuff... <webapp><servlet>... |
15:49.14 | Archeron | http://arch.wavefire.com:8080/test/web.xml |
15:49.27 | lunch | try :8080/test/servlet/Testing |
15:49.44 | Archeron | 404 |
15:50.00 | Archeron | that is the confusing bit... |
15:50.34 | Archeron | I can copy the web.xml into the webapp root, and see it fine with the URL I just pasted... |
15:51.07 | Archeron | but it seems to not recognise the servlet virtual directory for this particular dir |
15:52.15 | lunch | check in the logs directory under TOMCAT_HOME |
15:53.42 | lunch | the other piece of advice I can give you is to create a servlet-mapping in the web.xml file as well |
15:54.09 | Archeron | ok... I zonked all the logs (cat /dev/null > logfile) once the s3erver was running, and none of them appear to log anything related to my requests for /test |
15:54.46 | Archeron | the log localhost_examples.... grows as I make requests to the examples dir. |
15:55.04 | randrew | Archeron: <servlet-mapping> |
15:55.04 | randrew | <PROTECTED> |
15:55.04 | randrew | <PROTECTED> |
15:55.04 | randrew | <PROTECTED> |
15:55.19 | Archeron | thank you :) |
15:55.40 | Archeron | that goes inside <webapp> or inside <servlet>? |
15:56.17 | lunch | after <servlet> |
15:56.37 | randrew | right, inside <web-app> after <servlet> |
15:56.47 | Archeron | now, should I be required to restart tomcat after adding something like this? |
15:57.32 | lunch | I think so |
15:57.59 | randrew | Ideally no, but take one thing at a time, do the restart for a thorough test |
15:58.55 | Archeron | hmm |
15:58.57 | Archeron | no luck |
15:59.31 | lunch | :/ |
15:59.32 | Archeron | is there some server configuration file where I need to specify which contents of the webapps dir are actually web apps? |
15:59.45 | lunch | tomcat resolves that automatically |
15:59.54 | randrew | check logs & file permissions |
16:00.18 | Archeron | well... logs are giving me nothing... |
16:00.50 | Archeron | and all my permissions seem to be on track. |
16:02.23 | Archeron | I see that the conf/server.xml contains a block: |
16:02.32 | Archeron | <Context path="/examples" docBase="examples" debug="0" |
16:02.32 | Archeron | <PROTECTED> |
16:02.46 | randrew | Is your class in a package? |
16:02.59 | Archeron | maybe i need to define such a context for test. |
16:03.05 | Archeron | in a jar you mean? |
16:03.16 | Archeron | it is just a plain .class file... |
16:03.25 | randrew | java version? |
16:03.35 | Archeron | 1.4.2 |
16:04.06 | Archeron | http://arch.wavefire.com:8080/test/TestingServlet.java |
16:06.44 | lunch | I almost forgot what I originally came in here for |
16:08.02 | lunch | I upgraded to Tomcat 5, and now some of my jsps throw compile time exceptions on some of my jsp:useBean tags |
16:08.39 | lunch | I looked in the code that Tomcat is generating and the problem seems to be in how tomcat is generating the code |
16:08.47 | lunch | specifically speaking if I do something like this |
16:09.06 | randrew | Archeron: appBase + autoDeploy settings in conf/server.xml should cause subdirectories of appBase to work automatically |
16:09.22 | Archeron | I will check into that. |
16:09.51 | Archeron | does my .class file need to be executable? |
16:10.23 | lunch | <jsp:useBean property="l" class="java.util.List"/> |
16:11.05 | Archeron | hmm |
16:11.10 | randrew | Archeron in your web.xml file, the proper root tag is <web-app> with the dash. |
16:11.18 | Archeron | randrew: mine looks like:<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> |
16:11.19 | lunch | it will throw a compile time exception when I go to the jsp because the code is written so that if there isn't a property "l" it will try to instantiate l = new java.util.List() |
16:11.45 | lunch | brb |
16:12.46 | Archeron | randrew: do I need to create a different <Host...> tag if I am not accessing this via localhost? |
16:12.46 | randrew | I think you just need to fix web.xml. |
16:13.08 | randrew | Archeron: the other examaples are working |
16:13.13 | Archeron | how's that look? |
16:13.18 | Archeron | the examples work fine. |
16:13.29 | Archeron | http://arch.wavefire.com:8080/test/web.xml |
16:13.34 | *** join/#tomcat IRCMonkey (~chatzilla@nbmsolicitors-2.dsl.easynet.co.uk) |
16:13.37 | randrew | Archeron: http://arch.wavefire.com:8080/test/Testing |
16:13.51 | Archeron | ahh |
16:14.29 | Archeron | so what about this /test/servlet virtual dir that I see references to? |
16:14.43 | Archeron | thanks a lot by the way. |
16:15.12 | randrew | You want the default servlet disabled for security reasons. : ) |
16:16.12 | Archeron | heh |
16:16.40 | Archeron | the user this runs as has extremely limited priveliges |
16:16.44 | randrew | Archeron: you also always want to put any class you create in a package. |
16:16.54 | Archeron | since I have no clue about tomcat security yet. :) |
16:17.24 | Archeron | inside a package? this is the .war deal? |
16:19.55 | randrew | For example in your servlet, at line 1 say: 'package org.me.testing;' and then in the servlet mapping the full name of the class is 'org.me.testing.TestingServlet' |
16:20.22 | randrew | It's not .war related, just regular Java. |
16:22.37 | Archeron | so the .class file becomes a package? |
16:24.14 | Archeron | hmm |
16:24.18 | Archeron | check this out: |
16:24.20 | Archeron | http://arch.wavefire.com:8080/test/Testing |
16:25.08 | Archeron | ah... |
16:25.11 | Archeron | nm... typo |
16:27.52 | Archeron | hmm |
16:28.03 | Archeron | something is not working with that. |
16:29.06 | Archeron | I keep getting a 503. |
16:41.27 | *** join/#tomcat MattK10 (~mkurjano@lawn-199-77-204-60.lawn.gatech.edu) |
17:02.27 | *** join/#tomcat BMania (~chatzilla@65.118.213.17) |
17:23.19 | Archeron | randrew: do you have a second to take a look at something? |
17:24.03 | Archeron | http://arch.wavefire.com:8080/test/web.xml and http://arch.wavefire.com:8080/test/TestingServlet.java are set up to use packages as you suggested... |
17:24.31 | Archeron | but http://arch.wavefire.com:8080/test/Testing keeps getting a 503. |
17:24.51 | Archeron | did I set up this package deal wrong? |
17:25.47 | Archeron | the xml and java files are of course just copies of the real versions in WEB-INF and WEB-INF/classes respectively. |
18:08.49 | brnx | I'm trying to cross compile a win32 mod_jk2 for apache 2.0.48 from solaris and can't understand why the configure abort |
18:09.19 | brnx | the msg is : can't locate path/to/Apache2 |
18:09.57 | brnx | but the path is ok |
18:10.46 | brnx | an idea ? |
18:15.00 | Archeron | permissions? |
18:22.15 | brnx | no |
18:22.28 | brnx | or maybe |
18:22.50 | brnx | no |
18:23.36 | brnx | I used to compile it for unix with this configuration command : |
18:24.03 | brnx | ./configure --apxs2=/path/to/apsx2 |
18:24.25 | brnx | but in win32 binaries there is no apsx2 |
18:24.43 | brnx | so I'm trying this : |
18:25.36 | brnx | ./configure --host=i686-mingw32msvc --with-apache2="/path/to/apache" |
18:26.15 | brnx | and I can't understand what's wrong with that |
18:27.13 | Archeron | I can honestly say I have never cross-compiled anything... |
18:28.45 | brnx | it's the first time that I'm doing this :) |
18:30.11 | brnx | cross compiling "hello world" was easy but mod_jk2 seems to be more complicated |
18:32.06 | *** join/#tomcat IRCMonkey (~chatzilla@141.70.120.102) |
18:33.02 | IRCMonkey | adsf |
18:48.56 | *** join/#tomcat jasonb (~jasonb@dsl017-050-098.sfo4.dsl.speakeasy.net) |
18:59.35 | *** join/#tomcat MattK10 (~mkurjano@r73h117.res.gatech.edu) |
19:03.31 | MattK10 | Hello |
19:04.32 | MattK10 | Just wondering how many of you guys use Mac OS X for workstations and how many of you use the XServe servers? |
19:08.41 | Archeron | not i |
19:14.27 | jasonc | I don't have an xserve but I do use os x as a workstation |
19:18.22 | *** join/#tomcat kowey (~kowey@puddle.loria.fr) |
19:19.17 | MattK10 | jasonc, what do you think about it? |
19:20.29 | kowey | hi room... |
19:20.50 | jasonc | MattK10: I like it, otherwise I wouldn't have requested it for a workstation ;) |
19:21.37 | MattK10 | jason, some people don't get to request their workstation :) Does it serve well as a development environment...fast, stable, etc |
19:23.18 | kowey | i have a servlet which is returning an empty enumeration on getInitParameterNames() one one platform, and which is doing the right thing on another |
19:23.33 | kowey | any tips on how i could begin figuring out why? |
19:23.37 | jasonc | MattK10: I'm a sysadmin, not a developer, but it works extremely well for my purposes |
19:24.01 | MattK10 | jasonc, alrighty, thanks for the help |
19:25.59 | jasonc | np |
19:31.37 | *** join/#tomcat Beettlle (cdelgado@cselab6-14.unl.edu) |
19:31.56 | Beettlle | I'm having issues getting tomcat to work with apache/jk... |
19:34.00 | Beettlle | I can get the static HTML pages that are in the examples-servlets directory of Tomcat5 to owkr fine, but when I click on the link to see the applet I get a 400 error from tomcat. |
19:34.07 | Beettlle | Any help would be apreceated |
20:25.00 | randrew | Archeron: hi, I was away. One final step to putting class in package is that the directory structure under WEB-INF/classes/ must correspond to the package name. Your class should be WEB-INF/classes/org/me/testing/TestingServlet.class |
20:51.32 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
20:53.17 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-038-051.arcor-ip.net) |
21:06.59 | Archeron | randrew: ahh... I see... thank you. |
21:07.48 | *** join/#tomcat joered (~chatter@81.208.60.200) |
21:32.37 | *** join/#tomcat schlumpf2 (~vx_schlum@dsl-213-023-048-236.arcor-ip.net) |
21:46.14 | *** join/#tomcat YourNick (~suzibunny@host01.hopster.vivi2.kapper.net) |
22:02.57 | Archeron | randrew: I seem to be getting the same problem... |
22:04.35 | *** join/#tomcat mnemonic (lypehokxf3@213.214.40.49) |
22:06.28 | *** join/#tomcat MattK10 (~mkurjano@lawn-199-77-204-60.lawn.gatech.edu) |
22:50.43 | *** join/#tomcat MattK10 (~mkurjano@lawn-199-77-204-60.lawn.gatech.edu) |
23:53.39 | *** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |