01:17.27 | Hellaenergy | solus: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/catalina/docs/api/org/apache/catalina/Session.html |
01:21.52 | *** join/#tomcat Mr_Light (~Pingme@ip3e831196.speed.planet.nl) |
01:22.47 | Mr_Light | ello |
01:23.18 | Mr_Light | anyone awake? |
01:23.26 | Hellaenergy | solus: Checking that the authenticated principle or their associated role has the privilages to do the work requested. Often enforced using Access Controll Lists (ACLs) or Resource Access Control (RAC) |
01:23.35 | Hellaenergy | Hi Mr_Light |
01:23.44 | Mr_Light | well simple question. |
01:23.49 | Hellaenergy | k |
01:24.00 | Mr_Light | as ports less than or equal to 1024 require superuser |
01:24.00 | Mr_Light | <PROTECTED> |
01:24.16 | Hellaenergy | ya |
01:24.25 | Mr_Light | what are you sepose to run on 80 then a normal apache and the n your mod_jk stuff or? |
01:25.19 | Mr_Light | with howto's on older versions they just change the port from 8080 to 80. |
01:25.26 | Hellaenergy | There is always one root process that spawns the nobody processes ;) |
01:25.45 | Hellaenergy | mod_jk is an apache module |
01:25.52 | Hellaenergy | so it runs as apache's user |
01:26.18 | Mr_Light | to link up tomcat and an a other webserver thingy. if I read it correctly. |
01:26.19 | Hellaenergy | httpd.conf has a section to specifiy which user to run as |
01:27.00 | Mr_Light | but next to tomcat 4.1 am I seppose to install/run a normal apache? |
01:27.01 | Hellaenergy | with mod_jk Tomcat stays listening on 8080 and AJP 8009 |
01:27.22 | Hellaenergy | not nessisarly |
01:27.36 | Hellaenergy | You can run Tomcat as a HTTP server as well |
01:27.56 | Hellaenergy | all you have to do then is have it listen on port 80 |
01:28.05 | Mr_Light | what is the "cleanest"/"elegant" way? |
01:28.34 | Mr_Light | I figured useing tomcat. |
01:28.50 | Mr_Light | but wenn I simply alter the port I can't connect. |
01:29.05 | Hellaenergy | http://jakarta.apache.org/tomcat/faq/performance.html |
01:29.19 | Hellaenergy | run it in a chrooted env |
01:30.17 | Hellaenergy | http://www.oreilly.com/catalog/tomcat/chapter/ch06.pdf |
01:30.31 | Hellaenergy | If your using linux look for jbchroot |
01:30.58 | Mr_Light | thats one nice aswer to a faq =) |
01:30.59 | Hellaenergy | Jason Brittain altered the BSD chroot to work under linux |
01:31.50 | *** part/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
01:32.00 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
01:32.07 | Mr_Light | reading material, thx |
01:32.49 | Hellaenergy | http://examples.oreilly.com/tomcat/tomcatbook-examples-1.0.zip |
01:32.58 | Hellaenergy | I think it might be in there |
01:33.18 | Hellaenergy | Ya it tis |
01:33.47 | Hellaenergy | Well gotta go |
01:33.52 | Hellaenergy | good luck |
01:34.03 | Mr_Light | well thank you a lot. |
01:34.07 | Hellaenergy | np |
01:34.15 | Mr_Light | I'll be reading :p |
01:34.27 | Hellaenergy | Thats always a good thing |
02:04.10 | *** join/#tomcat weisoft (~weisoft20@202.108.235.18) |
02:07.51 | weisoft | !list |
02:07.58 | weisoft | list |
02:09.30 | Mr_Light | !list |
02:24.20 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
02:27.00 | *** join/#tomcat heaps (~hjkij@5-pool1.ras10.capax.alerondial.net) |
02:27.16 | heaps | hi |
02:27.55 | heaps | anyone knows if all .xml files under WEB-INF/ are auto read by Digester? |
03:11.43 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
03:45.38 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
03:47.10 | *** join/#tomcat heapss (~hjkij@165-pool1.ras10.capax.alerondial.net) |
03:51.22 | heapss | hello |
03:58.26 | heapss | Spline: hi are you awake? |
04:07.19 | Spline | nope |
04:07.22 | Spline | going back on vpn |
04:07.23 | Spline | bbiaf |
04:07.42 | heapss | ok |
04:20.56 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
04:39.28 | *** part/#tomcat heapss (~hjkij@165-pool1.ras10.capax.alerondial.net) |
04:48.39 | *** join/#tomcat yo (yo@168.187.87.82) |
04:48.58 | yo | Hello all. |
04:49.01 | yo | anyone here? |
04:49.47 | Spline | nobody here but us chickens |
04:49.59 | yo | yo Spline wazza! |
04:50.08 | Spline | cluck cluck cluck |
04:50.10 | yo | yo daddy yo! |
04:50.19 | yo | B-) |
04:50.25 | yo | ltnc |
04:50.38 | yo | guess me? |
04:51.29 | yo | ? |
04:52.16 | yo | :/ |
04:52.24 | yo | hrmm |
04:54.22 | Spline | so switch your nick back! |
04:54.40 | yo | :D |
04:55.15 | Spline | oh now I recognize you! |
04:55.23 | switchmynick | ty? |
04:55.50 | Spline | whats ltnc? |
04:55.55 | amnotachick | synchronous nick |
04:56.08 | syncnick | l=long |
04:56.09 | Spline | you at work? |
04:56.13 | syncnick | t=time |
04:56.16 | Spline | time no c |
04:56.17 | Spline | gothca |
04:56.17 | syncnick | n=no |
04:56.24 | syncnick | c=see |
04:56.36 | syncnick | yo daddy! who da man yo da man! |
04:56.56 | syncnick | spline so wise |
04:58.06 | Spline | not wise enough to figure out how to get my struts 1.1 app to deploy on websphere 4, it seems |
04:58.25 | redwineCOspline | hmmm |
04:58.39 | Spline | hmmm |
04:59.07 | redwineCOspline | man it took me almost two weeks to figure out how to configure tomcat on a stupid win xp sys.. |
04:59.51 | Spline | fdisk, mke2fs, emerge system! |
05:03.20 | redwineCOspline | :? |
05:05.01 | pluto | Spline r u familiar wif win environment? |
05:10.37 | pluto | yo? |
05:11.13 | pluto | oy |
05:11.21 | pluto | http://www-106.ibm.com/developerworks/offers/linux-speed-start/?S_TACT=103AMW01&S_CMP=sslx03tile |
05:11.41 | Spline | yea I use it here and there |
05:12.01 | pluto | cool |
07:07.43 | *** join/#tomcat bolsh (~David@apollo.phenix.fr) |
07:12.38 | *** join/#tomcat Adelheit (~none@80.146.165.65) |
07:41.02 | *** part/#tomcat Spliner (yo@168.187.87.82) |
08:09.30 | *** join/#tomcat fireangel (~fireangel@turtle.cowmeuh.net) |
08:15.46 | *** join/#tomcat fireangel (~fireangel@turtle.cowmeuh.net) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat bolsh (~David@apollo.phenix.fr) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
08:15.46 | *** join/#tomcat Mr_Light (~Pingme@ip3e831196.speed.planet.nl) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat hellabot (~hellabot@hellaweb.com) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat joe (~jsauer@ip66-107-33-195.z33-107-66.customer.algx.net) [NETSPLIT VICTIM] |
08:15.46 | *** join/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat dsp_ (~dsp@bhnb.net.nz) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat jim25 (~jim@211.162.45.41) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat lv8pv (lv8pv@lv8pv.com) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat Raboo_ (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat fox__ (fox@debian.as) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat tang^ (~krachyn@d142-173-196-96.abhsia.telus.net) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat copter (copter@desteem.org) [NETSPLIT VICTIM] |
08:15.47 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.214.gha.mi.chartermi.net) [NETSPLIT VICTIM] |
08:15.52 | *** part/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
09:15.31 | *** join/#tomcat Spliner (yo@168.187.87.82) |
09:15.57 | Spliner | anyone used the netBeanIDE |
09:21.49 | Spliner | ZZzzZZzzzzZZZZZZzzzzzz |
09:22.09 | *** part/#tomcat Spliner (yo@168.187.87.82) |
09:37.20 | *** join/#tomcat fireangel (~fireangel@turtle.cowmeuh.net) |
10:58.26 | *** join/#tomcat IRCMonkey_ (~chatzilla@host-83b19a3a.ita.sonera.fi) |
11:17.32 | bolsh | Hi |
11:17.40 | bolsh | Any mod_jk people around? |
11:17.54 | bolsh | I think the 1.2.5 release for Apache 1.3.28 had a build problem |
11:18.41 | bolsh | It seems that some/all symbols are not exported from the dll. |
11:54.27 | *** join/#tomcat bolsh (~David@apollo.phenix.fr) [NETSPLIT VICTIM] |
11:54.27 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) |
11:54.27 | *** join/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat dsp_ (~dsp@bhnb.net.nz) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat jim25 (~jim@211.162.45.41) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat copter (copter@desteem.org) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat tang^ (~krachyn@d142-173-196-96.abhsia.telus.net) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat fox__ (fox@debian.as) [NETSPLIT VICTIM] |
11:54.28 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
11:54.29 | *** join/#tomcat Raboo_ (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
11:54.29 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
11:54.29 | *** join/#tomcat lv8pv (lv8pv@lv8pv.com) [NETSPLIT VICTIM] |
11:55.36 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.214.gha.mi.chartermi.net) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.214.gha.mi.chartermi.net) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat bolsh (~David@apollo.phenix.fr) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat jim25 (~jim@211.162.45.41) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat copter (copter@desteem.org) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat tang^ (~krachyn@d142-173-196-96.abhsia.telus.net) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat PW_Wrk (~Pointwood@62.243.38.210) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat fox__ (fox@debian.as) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat inconspi1uous (~inconspic@stinkymonkey.cc.columbia.edu) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat Raboo_ (rabi@nikson.dataphone.se) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat kylev_ (~kylev@darth.beeker.net) [NETSPLIT VICTIM] |
11:57.51 | *** join/#tomcat lv8pv (lv8pv@lv8pv.com) [NETSPLIT VICTIM] |
12:25.17 | *** join/#tomcat TTT (~TTT@193.219.160.115) |
12:25.37 | TTT | hi, quick question, how do i make some path under my context password protected (basic auth)? |
12:25.51 | TTT | couldn't find that in tomcat docs, they aren't so easy... |
12:26.16 | TTT | with <realm ...> ? |
12:35.17 | TTT | ok, i found how to specify usernames/password with <realm> tag |
12:35.17 | TTT | but how do i specify the fact that some specific role is needed? |
12:35.35 | *** join/#tomcat TTT (~TTT@193.219.160.115) [NETSPLIT VICTIM] |
12:35.35 | *** join/#tomcat Gnug225 (Gnug225@24.236.252.214.gha.mi.chartermi.net) [NETSPLIT VICTIM] |
12:39.21 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-051-016.arcor-ip.net) |
12:54.31 | TTT | when i added memmoryrealm to my context |
12:54.49 | TTT | tomcat started choking with exception that jdk1.4 log doesn't implement some log interface |
12:54.58 | TTT | is this a known bug? |
13:10.16 | *** join/#tomcat Rexomaximus (~rasmus@212.130.14.131) |
13:11.32 | Rexomaximus | ANyone tried installing Xform 0.3 on Tomcat? |
14:02.19 | solus | im trying to make a BASIC login constraint on html files in a directory |
14:02.50 | solus | and it works, the first time, but if you type the wrong user/pass, it doesn't give you another chance |
14:03.22 | solus | it only says "access to the requested resource has been denied" |
14:03.41 | solus | and no prompt will pop up again |
14:23.51 | *** join/#tomcat schlumpf2 (~vx_schlum@dsl-213-023-051-016.arcor-ip.net) |
14:27.35 | Rexomaximus | :p |
14:27.37 | Rexomaximus | ops |
14:29.41 | *** join/#tomcat IRCMonkey_ (~chatzilla@AMontpellier-205-1-18-189.w81-50.abo.wanadoo.fr) |
14:32.43 | IRCMonkey_ | i'd need help from a tomcat guru |
14:33.03 | IRCMonkey_ | my server keeps freezing |
14:33.22 | IRCMonkey_ | Is there anyone here ? |
14:39.04 | solus | no |
14:42.55 | *** join/#tomcat mod_cure (~Cure@cs666863-15.austin.rr.com) |
14:51.13 | *** join/#tomcat lavik (~lavik@c510087BD.inet.catch.no) |
14:52.41 | *** join/#tomcat lavik (~lavik@c510087BD.inet.catch.no) |
14:53.11 | *** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu) |
14:57.12 | IRCMonkey_ | I can't have relevant information from catalina.out or any other logs to explain why my tomcat 5 server freezes |
14:57.28 | IRCMonkey_ | i'ts not crashing, it's just not answering |
14:57.59 | solus | i have form login, and a <form-error-page> error.jsp, how do I find out what errors have occured? |
15:07.23 | *** join/#tomcat zike (~zike@144.124.240.27) |
15:22.00 | *** join/#tomcat [^SebaS^] (~chatzilla@200.114.135.220) |
15:41.50 | *** join/#tomcat PufPufPaz (~nigelp@pool-162-84-194-20.ny5030.east.verizon.net) |
15:43.27 | PufPufPaz | Ques: I'm using Tomcat 5, when i uncomment the servlet-mapping for servlet invoker i get a lot of errors and the server would not start properly |
15:43.33 | *** join/#tomcat zike|away (~zike@pantpc0104.pant.aber.ac.uk) |
15:49.46 | *** join/#tomcat fireangel (~fireangel@turtle.cowmeuh.net) |
16:20.13 | *** join/#tomcat heaps (~hjkij@90-pool1.ras10.capax.alerondial.net) |
16:31.06 | *** join/#tomcat JakWORK (1000@radar.wapmx.com) |
16:33.43 | *** join/#tomcat massimo (~massimo@62-101-126-203.fastres.net) |
16:41.37 | massimo | java.sql.SQLException: Invalid authorization specification, message from server: "Access denied for user: 'massimo@localhost' (Using password: YES)" is there anyone that can help me? I use tomcat and mysql |
16:43.58 | massimo | java.sql.SQLException: Server configuration denies access to data source.. |
16:45.02 | heaps | can you try loggin on from command line rather than from tomcat? |
16:47.37 | *** join/#tomcat schlumpf (~vx_schlum@dsl-213-023-051-016.arcor-ip.net) |
16:49.04 | *** join/#tomcat fireangel (~fireangel@turtle.cowmeuh.net) |
16:49.21 | heaps | you ask and dont respond..geesh |
17:09.23 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
17:12.36 | *** part/#tomcat heaps (~hjkij@90-pool1.ras10.capax.alerondial.net) |
17:13.56 | *** join/#tomcat schlumpf2 (~vx_schlum@dsl-213-023-039-092.arcor-ip.net) |
17:30.22 | *** join/#tomcat schlumpf3 (~vx_schlum@dsl-213-023-039-088.arcor-ip.net) |
17:34.46 | *** join/#tomcat heaps (~hjkij@126-pool1.ras10.capax.alerondial.net) |
18:03.32 | *** join/#tomcat Mythril (~anynomous@ti200720a080-0003.bb.online.no) |
18:04.01 | Mythril | hey... can I ask a question about setting up tomcat to send e-mails? |
18:04.46 | Hellaenergy | sure |
18:04.48 | Hellaenergy | ask |
18:05.22 | Mythril | well, for some reason tomcat returns an exception saying that it fails to connect to localhost for sending e-mail. even when the e-mail server isn't set to localhost in server.xml |
18:06.21 | Mythril | so apparently the mail/Session parameter in server.xml seems to be ignored |
18:06.40 | Mythril | even though I'm using code pasted from examples from internet. |
18:09.33 | Hellaenergy | How are you altering the server.xml? |
18:10.17 | Mythril | you mean, what lines have I put into it? |
18:10.51 | Hellaenergy | No, have you been using the Admin tool? |
18:11.10 | Hellaenergy | Also I think you might want to look in your web.xml |
18:11.13 | Mythril | no, just editing it with plain text. although I tried with the admin tool too, though it didn't help much |
18:11.57 | Hellaenergy | I am going to try it too :) |
18:12.03 | Mythril | I did change web.xml too |
18:12.05 | Hellaenergy | Tomcat 5.0.12 though |
18:12.06 | Mythril | like the examples said |
18:12.17 | Mythril | oh, okay. 4.something here |
18:12.29 | Mythril | 4.1.27 |
18:12.42 | Hellaenergy | Didn't your read the topic :) |
18:12.47 | Hellaenergy | For the good of man :) |
18:12.52 | Mythril | meh. ^^; |
18:13.01 | Mythril | but this is a school project |
18:13.10 | Mythril | and the teacher is using 4.x something |
18:13.18 | Hellaenergy | I'm just playing |
18:13.22 | Mythril | heh |
18:13.30 | Mythril | I wish things would just work. :( |
18:13.42 | Hellaenergy | did you look at the jsp example? |
18:13.56 | Mythril | I used my teacher's example |
18:14.06 | Mythril | then I found another site which used the same example as he did. so it should be right. |
18:14.16 | Mythril | not using jsp, just servlets |
18:18.25 | Mythril | oh, and don't mail.jar come with tomcat? |
18:20.35 | Hellaenergy | I don't think so |
18:20.39 | Hellaenergy | Is it in your classpath? |
18:20.55 | Mythril | it does compile |
18:21.07 | Hellaenergy | Thats good |
18:21.10 | Mythril | it comes with the exception when I try to send the mail. because it doesn't send |
18:22.09 | Hellaenergy | paste your code http://www.hellaweb.com/hellabot/ |
18:22.41 | Mythril | erh, all of it? |
18:22.52 | Hellaenergy | the relavent code |
18:23.27 | heaps | the <Resource> part |
18:23.43 | hellabot | "Mythril" pasted "The part which gets the mail session thingy" at http://www.hellaweb.com/hellabot/310 |
18:24.00 | Mythril | huh, neat. :P |
18:24.16 | Hellaenergy | what up heaps :) |
18:24.37 | heaps | not much..trying to play around with this jpetstore and cant get it to work |
18:24.50 | Hellaenergy | I like that flash front end |
18:25.06 | heaps | it cant find the Oracle driver even though i have it on both common/lib and jpetstore/WEB-INf/lib |
18:25.27 | Hellaenergy | If you have it in too many places thats not good either |
18:25.34 | Hellaenergy | make sure its only in one common |
18:25.37 | hellabot | "Mythril" pasted "The <resource> part" at http://www.hellaweb.com/hellabot/311 |
18:26.08 | heaps | i'll try putting it in one place this time.. |
18:26.18 | Hellaenergy | mail.smtp.host |
18:26.23 | Hellaenergy | put your host there |
18:26.42 | Hellaenergy | err.. |
18:26.43 | Mythril | I did. but no matter what I put there, tomcat just tries to connect to localhost |
18:27.08 | Hellaenergy | can you resolve nexus.iu.hio.no from that box? |
18:27.15 | Mythril | could it be the firewall...? no... it can't be that... it wouldn't redirect to localhost... |
18:27.16 | PufPufPaz | Hi new to Tomcat, using Tomcat 5.0, when i uncomment the invoker mappings i get the i get a lot of errors and the server would not start |
18:27.41 | Hellaenergy | PufPufPaz: Where did you uncomment them from? |
18:27.44 | Mythril | I can ping nexus |
18:28.13 | Hellaenergy | Mythril: Is there a web.xml in your WEB-INF? |
18:28.38 | Mythril | although it isn't the mail server I use. but even when I put my mailserver in, it still tries to connect to localhost, so it doesn't matter much. and yes, there is web.xml, and it does have the <resource-ref>-part |
18:28.40 | PufPufPaz | Hellaenergy: from Tomcat5.0/conf/web.xml |
18:29.18 | Hellaenergy | PufPufPaz: Try doing it from a webapp web.xml instead |
18:29.24 | Hellaenergy | remember to recomment it |
18:30.09 | PufPufPaz | Hellaenergy: like from ROOT/WEB-INF/web.xml |
18:30.32 | Hellaenergy | PufPufPaz: Na make your own webapp |
18:30.44 | Hellaenergy | but ya |
18:30.51 | PufPufPaz | Hellaenergy: i'll try, i'm following this tutorial here |
18:31.04 | Hellaenergy | PufPufPaz: I am just guessing btw |
18:31.10 | PufPufPaz | np |
18:31.19 | Mythril | can't be a good tutorial if it just makes tomcat give you errors. ;P |
18:31.33 | PufPufPaz | lol |
18:31.51 | PufPufPaz | everything else worked except that, after i back traced |
18:33.03 | Hellaenergy | Mythril: Try println'in the host |
18:33.16 | Mythril | actually, I did. it showed localhost. |
18:33.26 | Mythril | ut.println( økt.getProperty("mail.smtp.host") ); |
18:33.28 | Mythril | gave localhost |
18:33.37 | Hellaenergy | Mythril: There is a servlet example in the java-mail demo |
18:33.38 | Mythril | (with økt being the gotten session) |
18:33.59 | Mythril | well, I haven't tried it, but I'd be willing to bet it tries to connect to localhost too. ^^; |
18:34.14 | Mythril | since I changed server.xml, and forgot to backup it |
18:34.31 | Mythril | although even without changing it, it probably still pointed to localhost. *shrugs* |
18:35.11 | Mythril | this is so stupid. :( |
18:37.07 | heaps | Mythrill: am guessing you have another smtp server on your localhost? what if you turn that off? |
18:38.03 | Mythril | huh? but, but, I'm on windows, I don't think it should have that. and it shouldn't redirect another mail server towards localhost in any case. |
18:38.16 | Mythril | another url towards localhost, I mean |
18:38.32 | Mythril | maybe I'll try and reinstall tomcat... |
18:38.33 | Mythril | -.-; |
18:38.36 | heaps | its a tuff one, |
18:38.39 | Mythril | yeah |
18:42.15 | Mythril | 2 hours of this. :'( |
18:43.32 | heaps | Mythril: you are doing this from a servlet? |
18:43.48 | Mythril | yup |
18:43.49 | jim25 | PufPufPaz: I just uncommented the invoker servlet (in conf/web.xml) - seems to work in Tomcat 5.0.9 |
18:43.58 | PufPufPaz | Hellaenergy: still getting errors, going to search aroung the some more, i'm learning so i'm doing a lot of examples, and i have to edit the web.xml for each example servlet |
18:44.53 | PufPufPaz | jim25: the one with /servlet/* |
18:44.54 | Hellaenergy | jim25: When did 5.0.9 come out :) |
18:44.57 | heaps | Mythril: can you get the config object on your init() and do this smtpServer = config.getInitParameter("smtpServer"); and print this out to see if you get localhost still |
18:45.28 | Mythril | I'll try that later. right now I reinstalled, so I'm going to see if the examples and stuff work |
18:45.53 | jim25 | Hellaenergy: I think I've had 5.0.9 since late September |
18:46.03 | Hellaenergy | oh nevermind |
18:46.24 | Hellaenergy | they are on 12 now ya know |
18:46.33 | PufPufPaz | i have 5.0.12 |
18:48.54 | *** join/#tomcat jasonb (~jasonb@67.124.81.122) |
18:48.58 | Hellaenergy | did they change the name of the javx.servlet package for 5.0.X? |
18:49.59 | PufPufPaz | Hellaenergy: lol the tutorial wasn't specific enough, it only listed 1 block to uncomment there are 2 blocks, in different parts of the file. i uncommented both and the errors are gone, now to see if it works |
18:50.17 | Hellaenergy | PufPufPaz: Good stuff :) |
18:50.26 | Mythril | YES |
18:50.31 | Hellaenergy | PufPufPaz: BTW if you can avoid using the invoker ;) |
18:50.32 | Mythril | reinstall apparently worked |
18:50.48 | Mythril | why must things pain so much... >.< |
18:50.54 | PufPufPaz | Hellaenergy: yeh i read that too, its only for testing |
18:51.03 | Hellaenergy | Good stuff |
18:51.07 | Mythril | NO |
18:51.18 | Mythril | oh well |
18:51.20 | Hellaenergy | where can I get the servlet.jar for the 2.4 api? |
18:51.23 | Mythril | thanks for all the help, still |
18:51.27 | Hellaenergy | np |
18:51.30 | Mythril | :) |
18:51.59 | PufPufPaz | Hellaenergy: thanks a lot, i'll be hear a lot as the semester progresses |
18:52.03 | PufPufPaz | *here |
18:52.07 | heaps | Mythril: re-installing fixed it? |
18:52.20 | Mythril | yeah. I'm not sure why |
18:52.22 | Hellaenergy | The more the merrier |
18:52.29 | Mythril | no wait, the example worked |
18:52.35 | Mythril | I haven't tested my own code yet |
18:52.42 | Mythril | I guess I should do that before celebrating |
18:53.34 | Hellaenergy | damit 2.4 is in the J2EE SDK |
18:54.14 | heaps | arrgh..this jpetstore is not working..it cant find the OracleDriver, i put either on common/lib or WEB-INF/lib |
18:56.32 | PufPufPaz | Ok i'm going to attempt to make my own webapp |
18:56.40 | PufPufPaz | ROOT is getting crowded |
18:56.52 | Mythril | uh. |
18:56.58 | Mythril | it's better if you do not use ROOT |
18:57.07 | Mythril | but I guess you can just for practicing |
18:58.39 | heaps | hmmm i wonder if ibatis uses its own classloader for SimpleDataSource.class |
18:59.24 | Mythril | HULK SMASH |
19:01.14 | *** join/#tomcat ilTizio (foobar@adsl203-149-051.mclink.it) |
19:03.26 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
19:10.29 | Mythril | it just doesn't work. I don't get it. *cries* |
19:10.58 | heaps | what gets printed on that config within init() ? |
19:11.32 | Mythril | oh yeah. forgot to try that. |
19:11.37 | Mythril | I'll try |
19:13.48 | davi | From where must I download classes12.zip, etc to access an Oracle data base? |
19:14.21 | heaps | tried otn? |
19:16.00 | davi | otn? |
19:16.13 | davi | heaps: what is that? |
19:16.22 | heaps | oracle's tech network |
19:16.49 | heaps | did you install oracle db yourself? |
19:16.55 | heaps | it should be part of the install |
19:17.09 | davi | yes I have installed it |
19:17.16 | davi | myself |
19:17.21 | heaps | then it should be on the cd |
19:17.59 | davi | So, are the files already here? |
19:18.12 | davi | ok |
19:18.14 | davi | thanks |
19:18.22 | heaps | should be, do a find / -name classes12.zip |
19:18.34 | davi | thank you very much, heaps |
19:18.41 | heaps | np |
19:19.11 | heaps | now if i can only make the petstore find my classes12.zip i have put in WEB-INF/lib :) |
19:20.00 | Mythril | well that's great |
19:20.06 | Mythril | System.out.println( "Mail session is: "+config.getInitParameter("mail/Session") ); |
19:20.08 | Mythril | gives null |
19:20.26 | davi | heaps: What about /server/lib/ ? |
19:20.31 | Mythril | hm |
19:20.36 | Mythril | that wasn't what I was supposed to put in |
19:20.49 | heaps | davi: i tried to put em in all 3 places one at atime..and still cant find it |
19:21.18 | heaps | MyThril: smtpServer = config.getInitParameter("smtpServer"); |
19:21.33 | Mythril | changing it now |
19:21.37 | Hellaenergy | heaps: Don't put so many in |
19:21.59 | Hellaenergy | Just use one in common/lib |
19:22.08 | heaps | Hella: no i have it only in one place at a time, i tried 3 places though one at a time |
19:22.09 | Hellaenergy | and restart tomcat |
19:22.35 | Hellaenergy | oh ok |
19:22.49 | heaps | i have restarted tomcat too, i suspect that the SimpleDataSource uses the WebAppClassloader and it is not finding it |
19:22.53 | davi | heaps: I have got a similar error. I fixed it renaming the .zip to .jar It was a bug on SKD 1.4.1. It did not find the .zip :P |
19:23.26 | heaps | davi: oh yeah, it has that issue for a while, i forgot about it..let me rename it.. |
19:23.42 | Mythril | still gives null |
19:23.46 | Mythril | :/ |
19:23.48 | davi | heaps: report please |
19:24.06 | heaps | davi: ill let you know in a few |
19:27.09 | heaps | davi: yep it worked..daym i forgot about that zip to jar thingy |
19:27.55 | Hellaenergy | :) |
19:29.19 | davi | heaps: cool |
19:40.32 | Mythril | well, it still gives null |
19:40.35 | Mythril | but I got it to work |
19:50.33 | *** part/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) |
19:51.09 | *** join/#tomcat solus (~martin@as1-2-3.sgp.lk.bonet.se) |
19:52.38 | solus | hello |
19:53.04 | heaps | hello |
19:54.06 | solus | im trying to get a form login on my webapp, and i specified an error page, but, in that error page, how do I retrieve the error information? |
19:55.52 | heaps | are you using a framework like struts? |
19:55.58 | solus | no |
19:56.35 | solus | should I ? |
19:57.03 | heaps | not really |
19:59.07 | solus | so do you know how I can find out what error caused the login page to forward to my error page? |
19:59.53 | heaps | i dont know it off hand, i have to look at my book |
20:00.46 | heaps | are you using basic authentication? |
20:01.31 | solus | no, form |
20:01.36 | solus | what book is that? |
20:01.59 | heaps | inside servlets by callaway |
20:03.13 | solus | i need to get myself a book |
20:03.31 | solus | does it cover jsp to? taglibs, beans and stuff? |
20:03.50 | heaps | look in google for something like basicauthentication and authorization header |
20:04.04 | heaps | yeah it does cover those you mentioned |
20:04.28 | heaps | go see his site, www.insideservlets.com |
20:23.55 | PufPufPaz | Hellaenergy: got my testing app dir setup and working, now to learn java and about jsp and servlets |
20:24.05 | PufPufPaz | Hellaenergy: thanks for the help |
20:24.08 | Hellaenergy | np |
20:24.11 | Hellaenergy | Have fun |
20:32.30 | *** join/#tomcat schlumpf2 (~vx_schlum@dsl-213-023-039-088.arcor-ip.net) |
20:32.40 | *** part/#tomcat ilTizio (foobar@adsl203-149-051.mclink.it) |
20:36.36 | *** join/#tomcat BMania (~chatzilla@65.118.213.22) |
20:57.49 | *** join/#tomcat schlumpf2 (~vx_schlum@dsl-213-023-039-088.arcor-ip.net) |
21:06.21 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
21:53.47 | *** join/#tomcat Spline (~dj_aia@wsip-68-99-67-114.ok.ok.cox.net) |
23:09.56 | *** join/#tomcat awallace (~aw@adsl-66-136-203-156.dsl.austtx.swbell.net) |
23:46.10 | *** join/#tomcat Rush0 (~admin@CPE0080c8b4e801-CM000a73996355.cpe.net.cable.rogers.com) |
23:46.17 | Rush0 | hey, anyone here? |
23:46.40 | Rush0 | i need some help configuring tomcat |