irclog2html for #tomcat on 20050322

00:32.04*** part/#tomcat {eng}bar4ka (~chatzilla@200216116148.user.veloxzone.com.br)
00:34.51*** join/#tomcat ohsix_ (ohsix@bc111222.bendcable.com)
00:47.08*** join/#tomcat aiyaiyairc (aleuaooouu@c-67-161-177-74.client.comcast.net)
01:14.17*** join/#tomcat pucko_ (andreas@h47n2fls31o809.telia.com)
01:39.08*** join/#tomcat pucko (andreas@h47n2fls31o809.telia.com)
02:21.33*** join/#tomcat kurtas (~chatzilla@h0030bdc853e3.ne.client2.attbi.com)
02:23.54kurtashi all, I'm getting NoClassDefFoundError for ...ByteChunk, and I thought I'd ask about it here before filing a bug; is this the right place?
02:31.25*** part/#tomcat kurtas (~chatzilla@h0030bdc853e3.ne.client2.attbi.com)
02:31.59*** join/#tomcat simplebird (~lind@user-12ldaq6.cable.mindspring.com)
02:39.28*** join/#tomcat MarkT (~Mark@markt.user)
04:26.32*** part/#tomcat ohsix (ohsix@bc111222.bendcable.com)
04:26.46*** join/#tomcat ohsix (ohsix@bc111222.bendcable.com)
04:36.20*** join/#tomcat dustbunnyman (~sable@CPE000625a6a206-CM013349900582.cpe.net.cable.rogers.com)
04:38.42dustbunnymancan I run tomcat behind apache?  (apache as a reverse proxy)?  If so are there any good mod_rewrite instructions?  I can't get webdav to work since linked content keeps wanting to appear as appearing as /webdav/ so the rewrite on the proxy fails
04:40.35dustbunnymanI am running an old tomcat because I am on FreeBSD to which java is not friendly :-|
05:04.18*** join/#tomcat warthog9 (~warthog9@12-216-157-202.client.mchsi.com)
05:17.25*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:30.06*** join/#tomcat valmont (~chrisholl@lsanca1-ar8-4-43-220-080.lsanca1.elnk.dsl.genuity.net)
06:16.18*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
06:20.12*** join/#tomcat kool (~kamal@61.247.233.207)
06:20.49koolhello
06:25.31puffHello.
06:39.16koolhey
06:39.24koolanybdy there
06:55.40*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net)
06:56.35loquacelo$
06:57.56kooli m facing problem with servlet sessions in tomcat.. can anybdy help
07:01.52koolwhenever i restart tomcat server, all session gets destroyed... any idea
07:44.45*** join/#tomcat linuxfreck (~freck@pD9EB5460.dip0.t-ipconnect.de)
07:57.15*** join/#tomcat JackStorm (~none@ip68-11-89-95.no.no.cox.net)
08:27.52*** join/#tomcat nrz (~nrz@202.79.36.170)
08:28.44nrzjbos
08:28.49nrzjboss
08:39.10*** join/#tomcat philihp (~user@rdu163-96-081.nc.rr.com)
08:40.09koolany ideas bout servlets
08:41.15koolany ideas bout servlets
08:47.25*** join/#tomcat deeeed (~dd@m85.net195-132-129.noos.fr)
08:47.26deeeedhey
09:17.23*** join/#tomcat JackStorm (~none@ip68-11-89-95.no.no.cox.net) [NETSPLIT VICTIM]
09:17.23*** join/#tomcat valmont (~chrisholl@valmont.bronze.supporter.pdpc) [NETSPLIT VICTIM]
09:17.24*** join/#tomcat Big_Bozz (~Big_Bozz@user-2168.l5.c1.dsl.pol.co.uk) [NETSPLIT VICTIM]
09:17.24*** join/#tomcat KtK- (~krijnhoet@ktk.xs4all.nl) [NETSPLIT VICTIM]
09:17.24*** join/#tomcat frno (~frno@eject.mogul.se) [NETSPLIT VICTIM]
09:17.24*** join/#tomcat enginerd (enginerd@69.50.182.186) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat kool (~kamal@61.247.233.207) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat spencer (tspencer@adara.cs.pdx.edu) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat tang^ (~tang@S010600104b05711f.cg.shawcable.net) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat crem (~crem@epmsa005.epam.com) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat Sir_Fawnpug (~raving@cpe-24-242-126-156.sport.res.rr.com) [NETSPLIT VICTIM]
09:17.56*** join/#tomcat Raboo (rabi@212.37.0.75) [NETSPLIT VICTIM]
09:20.33koolany ideas bout servlets
09:21.02*** join/#tomcat deeeed (~dd@m85.net195-132-129.noos.fr) [NETSPLIT VICTIM]
09:22.42*** join/#tomcat eidolon (~dbs@seawall.homeport.org) [NETSPLIT VICTIM]
09:22.42*** join/#tomcat FaeLLe (~FaeLLe@join.me.fuckmicrosoft.info) [NETSPLIT VICTIM]
09:23.53*** join/#tomcat memic (~memic@chicago089.server4free.de) [NETSPLIT VICTIM]
09:31.51*** join/#tomcat noodl (hidden-use@195-97-225-122.onyx.net)
09:38.50*** join/#tomcat cutmasta (~cutmasta@62.225.134.190)
09:39.01cutmastahi
09:58.17*** join/#tomcat mdiz (user@68-185-93-131.ca.charter.com)
09:59.13mdizi have tomcat5+apache2+mod_jk working if I let tomcat handle all parts of a request for a webapp, but when I try to get apache to serve the images for the webapp, things fall apart
09:59.36mdizapache gives me a 404 because it can't find the images
09:59.44mdizso I symlink to the webapps/images dir
09:59.53mdizand then the jsp is all screwed up
10:00.06mdizany ideas/tips?
10:01.43*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net)
10:02.37loquacere
10:03.44memicwhy do u want apache server the images?
10:03.59memicserv
10:04.00mdizits faster i think
10:04.04memicno
10:04.06memicnot really
10:04.08mdizwell
10:04.14mdizI tried having tomcat do everything
10:04.17mdizand it was so slow
10:04.20mdizusing mod_jk
10:04.30mdizbut if I went to 8080
10:04.33mdizit was blazing fast
10:04.36memictried mod_proxy?
10:04.42mdizso I assume the image transfer over mod_jk was slow
10:04.47mdizno
10:05.06mdizperhaps I should?
10:05.31memicdo u have referer check @ tomcat?
10:05.46mdizi dont understand
10:06.22memicmod_proxy eats your referer means where u come from
10:06.41memicfor tomcat everyting comes from your host
10:06.53memicmod_jk keeps orgiginal host
10:07.08mdizi see - apache and tomcat are on the same machine
10:07.21mdizso I don't think this is an issue
10:07.30memicso try mod_proxy
10:07.40mdizi guess I will
10:07.44mdizi am a little dissapointed
10:07.50mdizas I wanted to use the load balancing
10:07.56mdizof mod_jk
10:08.06mdizbut I'm sure it can be hacked with mod_proxy
10:08.21memicnever tried but tell me if u know :O)
10:08.57kooli am facing problems with tomcat running as service
10:09.16koolsessions get destroyed everytime i restart the server
10:09.21koolany ideas...
10:09.51koolthings work fine when i run tomcat from command line
10:10.05koolis there any setting in tomcat
10:10.32koolto specify that session should not be destroyed on restart
10:15.21deeeedhow can i keep save the result of a query in a database ?
10:15.34deeeedfor example each time i click on a link
10:15.43deeeedthe data in the session are destroyed
10:15.49deeeedi would like to keep them alive
10:25.17*** join/#tomcat zaba (~m@wwsx24.win-screen.uni-wuerzburg.de)
10:27.20zabahi, could anyone explain it to me: while working offline i get this error: http://132.187.22.12/java/exception. but everything works till tomcat stops [even this line  image = Toolkit.getDefaultToolkit().getImage(orgImageName);]. whereas while working online the presented line throws classnot found exception. when i use getDefaultToolkit() instead it kills tomcat: roots-, now it says Mar 22, 2005 11:12:20 AM org.apache.coyote.http11.Http11Prot
10:27.20zabaocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 and hangs up
10:27.29zabaany clue?
10:29.08kooli had problems with toolkit class.. but that was when i was running code on server machine
10:29.39zabahmm, thats the case
10:29.43koolwhere we dont have any display device...
10:30.30koolactully it seems that toolkit class looks for display driver and if it doesnot find that it throws error
10:30.32zabayeah, i got this problem also, installed Xvfb
10:30.59zabaand the problem w/ display is not nore there
10:31.19zabawell, by me it coulnd connect to display 0
10:31.24*** part/#tomcat mdiz (user@68-185-93-131.ca.charter.com)
10:32.00zabaso started Xvfb on dosplay 1 and set enviroment var DISPLAY for tomcat to 1
10:32.15zaba*display
10:34.52koolsound like better solution... i ended up changing code for image handling
10:35.20zabajust thinking about it as well
10:38.26zabakool: btw, the display problem could be also solved w/ using  System.setProperty("java.awt.headless", "ture"); [at best in init()] or setting env variable CATALINA_OPTS tp "-Djava.awt.headless=true" [but it didnt worked for me]
10:40.41koolI remember that i had tried this... but it didn't worked for me as well :-)
10:40.59zabahmm, and the class works while running it from command line
10:41.33zabafsck
10:41.34koolye.. it crashes only when tomcat is running as service
10:42.00zabaoh
10:42.34kooli am facing another problem with tomcat running as service...
10:42.51koolwhenever i restart server all session gets destroyed
10:43.08koolbut when using commandline .. it works fine
10:43.18koolany ideas...
10:43.48koolare there any settings in tomcat ..
10:44.02zabawell,im nOOb, so im afraid i cant help :(
10:46.05koolnevermind ... i will look for some workaround
10:48.01zabakool: could you tell me [in few words how have you replaced Tookit]?
10:49.11koolI dont remeber it exactly... but i think i used Image and ImageIO classes to handle images in java
10:49.32koolactully i was using toolkit only for handlking images
10:49.45koolso it was no much problem
10:49.59zabayea, i need scaling them...
10:50.26koolha.. then it is the same problem
10:50.33deeeedwhat's the best way to store a resultset in a javabean ?
10:50.34zabaexactly
10:50.53zababrb
11:16.58*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net)
11:17.53loquacere
11:39.00*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
11:49.12*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
11:52.58*** join/#tomcat louis_ (~chatzilla@203.200.142.18)
12:15.08*** join/#tomcat linuxfreck (~freck@pD9EB5460.dip0.t-ipconnect.de)
12:39.59*** join/#tomcat gnozil (~gnozil-ma@211.100.11.220)
12:40.16gnozilhello,
12:40.29linuxfreckhi gnozil
12:40.50gnozilI run apache 2.0.52 with mod_jk2 connect to jboss 3.2.6 with tomcat 5.0.28
12:41.22gnozilduring our load test, we found tomcat ajp13 interface stops responding soon
12:41.51gnozilany access to apache will get a "internal server error" from tomcat
12:42.42gnozilfrom jboss jmx-console page, we found jk2_threadPool properties are very strange
12:42.55gnozilthe currentBusyThread is -1
12:42.59linuxfreckwell
12:43.08linuxfreckmod_jk2 is deprecated anyway
12:43.28linuxfreckuse the tomcat built-in webserver if you can
12:43.40linuxfreckor mod_proxy if you can't
12:44.00gnozilif we use built-in webserver, it seems ok,
12:44.15linuxfreckonly use mod_jk if you need its features
12:45.13gnozilas I think it is a tomcat's problem, do you think mod_jk or mod_proxy will work?
12:46.34linuxfreckmod_proxy uses the tomcat webserver internally
12:46.45linuxfreckmod_jk does use ajp though
12:47.18gnozilwe want to apache host the  static resources such as images, applets, etc.
12:48.03linuxfreckgnozil: that won't give you much better performance though
12:50.21gnozilin additional, we promise customer we will provide a scalable system, if we must shift to a cluster structure, a front end web server is must have
12:51.43gnozilplease give me recommend choose among mod_jk, mod_jk2, mod_proxy or mod-webapp
12:51.56linuxfrecktry mod_proxy, then mod_jk
12:52.36gnoziland I want to know, is there any difference in tomcat side if we use this proxy module?
12:52.53noodlgnozil: also, if the httpd guys ever get their act together, you'll be able to do balancing with mod_proxy in the next major version.
12:53.05gnozilif we choose mod_proxy, how about squid compare with apache?
12:53.33linuxfreckgnozil: tomcat needs to know the proxy servers hostname
12:53.39linuxfreckyou can set that somewhere in server.xml
12:54.07linuxfreckI don't have any figures on mod_proxy vs squid though
12:54.25noodllinuxfreck: do you run tomcat on port 80 and if so, how?
12:54.50linuxfreckI don't
12:54.57linuxfreckusing mod_proxy myself
12:55.11noodlcool. thanks.
12:55.11linuxfrecksince I need to support php stuff
12:55.36noodlI was just wondering about using a second ip for tomcat though.
12:56.00gnozilmaybe my above question is not clear, i mean whether I use mod_proxy or mod_jk, tomcat will use AJP13 interface to talk with apache. But I wonder if AJP13 contains bug or is not stable now
12:56.27linuxfreckgnozil: mod_proxy doesn't use ajp13, but it is considered stable
12:57.29gnozili c , mod_proxy will forward all requests to tomcat, how do I seperate static resouces from dynamic servlet and jsp?
12:57.59memicgnozil tomcat can handle static stuff also
12:58.33gnozildo you think tomcat can do well same as apache for static resources?
12:58.40memicsure.
12:59.32gnozilbut,
13:00.10linuxfreckgnozil: it can do almost as well, see http://jakarta.apache.org/tomcat/articles/performance.pdf
13:00.28linuxfreckthat was the wrong one
13:00.33linuxfreckhttp://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf
13:00.36linuxfreckthat one
13:00.53gnozilI don't know how to implement load balance or cluster if dose not use a front end web server
13:01.22gnozillinuxfreck, thanks for the link!
13:02.31linuxfreckyou can use standard web server load balancing software, or tcp nat based solutions etc...
13:03.40gnozilopen/free solution or commercial one?
13:06.57*** join/#tomcat gnozil (~gnozil-ma@211.100.11.220)
13:07.45gnozilhi, linuxfreck, I lost connection just now as I use ssh tunnel through proxy
13:08.54linuxfreckI'm planning on doing an evaluation of possible load balancing solutions for tomcat, I'm not far yet though
13:09.08linuxfrecksome days ago sombody was here using balancer.sf.net
13:09.30gnozilthanks, i will take a look too
13:11.31gnozilI read the PDF file you just recommended, but the conclustion is in two sides: standalone tomcat for normal situation
13:12.15gnozilapache+tomcat for high performance and availability requirements
13:12.39*** join/#tomcat valmont (~chrisholl@lsanca1-ar8-4-43-220-080.lsanca1.elnk.dsl.genuity.net) [NETSPLIT VICTIM]
13:12.52*** join/#tomcat enginerd (enginerd@69.50.182.186) [NETSPLIT VICTIM]
13:13.31gnozilI seek through tomcat 5 bug database, and can not find related ajp13 bugs
13:13.58*** part/#tomcat kool (~kamal@61.247.233.207)
13:14.19gnozilI want to know, if I switch to mod_jk, if tomcat still use ajp13 and related thread pool?
13:14.58linuxfreckmod_jk does use ajp13
13:16.05gnozilthank you, linuxfreck, till now, I will try follow methods: 1) use mod_jk instead of mod_jk2
13:16.37gnozil2) use mod_proxy with apache or squid backforward proxy
13:17.48gnozil3) try implement the loadbanlance with jboss's cluster without any frontend web server
13:18.16gnozilany suggestion?
13:19.22linuxfreckgnozil: sounds ok
13:19.38gnozilTO ALL: any body re-compile successfully JBoss Profiler under HPUX 11i?
13:20.03linuxfrecknoodl: sorry, the project was called "balance" not balancer
13:21.24noodlk :)
13:24.48*** join/#tomcat frno (~frno@eject.mogul.se) [NETSPLIT VICTIM]
13:26.55*** join/#tomcat gnozil (~gnozil-ma@211.100.11.220)
13:27.50gnozilhi, linuxfreck, do you have experience for ajp13 jni channel of jboss-tomcat?
13:30.08sopelhmm..
13:32.51sopeli just noticed that tomcat eats quiet a fuckton of memory.
13:32.56sopelfor it's own purposes.
13:34.36gnozilhow about socket channel? this is the typical configuration appear in many reference documents
13:37.23gnozildose tomcat provide a mbean for releasing stalled ajp13 connection?
13:38.37*** join/#tomcat Big_Bozz (~Big_Bozz@user-2168.l5.c1.dsl.pol.co.uk)
13:58.46*** join/#tomcat zaba (~m@wwsx24.win-screen.uni-wuerzburg.de)
14:03.22*** join/#tomcat pucko (andreas@h47n2fls31o809.telia.com)
14:05.48*** join/#tomcat pucko (andreas@h47n2fls31o809.telia.com)
14:14.37*** join/#tomcat Alexys (~Alexys@201.245.131.106)
14:27.02*** join/#tomcat a4akb (bbwpleaser@as13-230.qualitynet.net)
14:59.40*** join/#tomcat luuk (~Luuk@ip503cbd76.speed.planet.nl)
15:18.52*** join/#tomcat JackStorm (~none@ip68-11-89-95.no.no.cox.net)
15:20.24*** join/#tomcat KtK- (~krijnhoet@ktk.xs4all.nl)
15:25.12*** join/#tomcat warthog9 (~warthog9@165.206.219.145)
15:29.02puffMorning.
15:33.53linuxfreckhi puff
16:10.09*** join/#tomcat frosch_ (~m@wwsx24.win-screen.uni-wuerzburg.de)
16:28.58deeeedhmm in a javabean in order to stock the result a sql query
16:29.10deeeedi store them in an ArrayList of ArrayList
16:29.22deeeedbut when i want to access the second ArrayList
16:29.26deeeedi get an error
16:29.43deeeedfound   : java.lang.Object
16:29.43deeeedrequired: java.util.ArrayList
16:31.38deeeedhow can i cast an Object to an ArrayList ?
16:31.59linuxfreckArrayList foo = (ArrayList) myObject
16:32.13linuxfreckif you're using java 1.5 look into generics instead
16:32.23linuxfreckor templates or how they call it in java
16:32.52deeedi have a nullpointerexception
16:33.22linuxfreckthen you make some other mistake
16:33.41linuxfreckand it's not at the cast, since you can cast a null pointer to anything
16:36.23deeedlinuxfreck, http://rafb.net/paste/results/DU1Fl677.html
16:36.27deeedthat is the code i use
16:36.35deeedi think it's correct
16:38.40deeedany idea ?
16:39.12linuxfreckwhere does the exception occur?
16:39.31*** join/#tomcat joered (~chatter@81-208-74-182.fastres.net)
16:40.20deeedtmp = (ArrayList)stock.get(1) ;
16:41.18linuxfreckthen db.getStock() probably returns null
16:42.08deeedif i do out.println(stock)
16:42.12deeedthere are some results
16:43.16linuxfreckhmm
16:43.32linuxfreckmaybe stock.get(1) returns the null
16:44.08deeedno
16:44.39deeedout.println(stock.get(1)) --> [00011691, CO20040400104, SRT 57500/ ATELIERS VENABLOIS, JULIETTE maxi repique, ATELIERS VENABLOIS, P2935, 220, null, En cours d'impressio, semaine 47, null, V]
16:45.44linuxfreckthen that line can't cause the nullpointerexception
16:46.23eidolonhey folks, have any of you used apache Axis?  I need to tack on webservices to a couple servlets i wrote so i can call them from a Swing app...
16:46.31eidoloni'd like to do this in Plain Ol Tomcat :)
16:46.57linuxfreckwell we're running axis, but all I know is that it likes to eat your ram :/
16:47.44eidolonmmm. tasty ram.  *burp*
16:48.02eidolonany suggestions for other soap proxyies to use?
16:48.06eidoloner, proxies.  those things.
17:02.36*** join/#tomcat scorp (~sco@81-202-248-9.user.ono.com)
17:02.56*** join/#tomcat bigred (~big@nat-vlan0201.sat4.rackspace.com)
17:03.03*** join/#tomcat Azer (greg@11-55-178-69.gci.net)
17:03.14scorphi, is there someone who can help me ?
17:03.17*** part/#tomcat Azer (greg@11-55-178-69.gci.net)
17:04.09linuxfreckscorp: hi. that probably depends on your question :)
17:04.18scorplilalinux, thanks :)
17:04.27scorpI am using Apache Tomcat/4.1.30 and I cant find where to put my website, wich directory..
17:04.38scorpcan you help me ?
17:05.28linuxfreckthey usually are in the webapps/ directory
17:06.02scorpand where is webapps directory ? where i can find it ?
17:06.28linuxfreckin the directory of the tomcat installation
17:06.50bigredIs it possible to define all of my Resources in a web.xml instead of having to set them up on my Context?
17:07.36linuxfreckbigred: which resources do you mean?
17:08.13bigredlinuxfreck, i have stuff like my db pooling info setup in my <Context>
17:08.33linuxfreckok
17:08.43bigredand I want to know if I can put all of this into my web.xml instead of having to set it up in my context also
17:08.51linuxfreckthis is where that stuff belongs conceptionally
17:09.24linuxfreckso if your environment changes, all you have to adjust is the context, and you can leave your .war archive alone
17:09.43linuxfreckyou could hack the stuff into the .war archive, but I don't know an easy way
17:10.01bigredlinuxfreck, but it does not allow me to unzip a fresh tomcat install, drop in my war and run
17:10.16bigredbecause i need to configure my context
17:10.41linuxfrecktrue
17:10.58lilalinuxlinuxfreck: I got so many highlights for linuxfreck by now, I stopped counting :)
17:11.20linuxfreckyea, life sucks :)
17:11.30lilalinuxI think about setting up an autoresponder :)
17:12.13linuxfreckheh
17:13.25scorplinuxfreck, i put my webpage where you have told me (webapps) and doesnt work.. do you have any other ideea ?
17:13.51scorpin webapps I have ROOT directory, do I have to put there my webpage ?
17:14.23linuxfreckscorp: you can either do that, or define a context in your server.xml
17:15.03scorpand where i can find the server.xml ?
17:15.47linuxfreckit's in the conf/ dir of tomcat
17:16.04scorpoh, i find it
17:16.23scorpbut, my php running and my php files doesnt work, do you have any ideea ?
17:16.45linuxfrecktomcat doesn't do php
17:17.25linuxfreckyou may be able to make it work using cgi, but you may want to use the apache web server instead
17:24.01*** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net)
17:25.29scorpusing cgi ????
17:25.56scorpit is to complicate for me
17:26.03scorpwith simple apache it works ?
17:26.10linuxfreckwhy do you want to run tomcat anyway?
17:26.24eidolonscorp, if you have php apps also, you probably want to have an apache server as the front end, not using tomcat's internal webserver.
17:26.29eidolonuse apache plus mod_jk
17:26.40eidolontomcat's purpose is running servlets.
17:26.53eidolonif youire not running servlets, you shouldn't be using tomcat :)
17:27.00scorpok, so do i have to download apache simple, right ?
17:27.17eidolonit depends, i'll reiterate waht linuxfreck said.  waht are you trying to do?
17:28.04scorpmy website is in php
17:28.09scorpand i want to run it lol
17:28.24linuxfreckyou don't want tomcat then
17:28.34scorpso, i have to download simple apache, right ?
17:28.37linuxfrecksince tomcat is for java servlets
17:28.43scorpi seee
17:28.46linuxfreckyes, and php
17:29.07scorpand if i download simple apache and runing it, it will be some conflicts if it runs tomcat and this other apache ?
17:29.42linuxfreckyou can run tomcat and apache in parallel, even in the default configuration
17:29.48scorpi see
17:30.04scorpand when i have donwloaded apache and instaled, where i have to put my webpage ?
17:30.10scorpin wich directory ? do you know ?
17:31.09linuxfreckwherever the DocumentRoot directive of apache is set to
17:31.26linuxfreckthis is going quite offtopic now though
17:31.35scorpok man, thank you very much
17:32.23linuxfrecknp
17:32.46eidolonfwee.
17:32.55linuxfreckn00bs...
17:32.58eidolonquite.
17:33.41eidolondunno.  is that common?
17:33.57eidolon(goal today: get tomcat connected up with netbeans and import my projects into it, and get Axis working with tomcat)
17:34.32linuxfreckwe had another php guy here yesterday
17:34.37linuxfreckhave fun :)
17:35.12eidoloneh.  working on convincing a Windows shop not to port to .NET.
17:35.19eidolonthat means they need pretty interfaces and easy dev environments.
17:44.46*** join/#tomcat noxexplorer (Mirouf@d83-177-224-161.cust.tele2.fr)
17:44.54noxexplorerhello everybody
17:46.03eidolon'lo.
17:46.44noxexplorerI am a beginner in Web Apps and i have a problem with Tomcat with Windows
17:47.55*** join/#tomcat alx_ (~alx@213-140-17-111.fastres.net)
17:49.13eidolonnoxexplorer: a hint.  State the problem, don't wait for folks to draw it out of you :)
17:50.09noxexplorerthe service starts but when i type localhost:8080 in my browser nothing happens
17:50.36eidolonnothing happens, or you get a warning or an error?
17:51.02noxexplorerthe page is inaccessible
17:52.12noxexplorerand the service seems tushutdown automatically
17:53.14eidolonthen it's not starting :)
17:53.34eidolonunder windows, i'm not sure where the tomcat error log is.
17:53.34eidolonbut you need to see why tomcat is failing.
17:53.57noxexplorerbut if the port is busy it would'nt start no ?
17:54.55eidolonsure, but that's only if something else is on the port.
17:54.59eidolondo you have something on it?
17:55.08noxexploreroki i see its because i HAVE JDK 1.4.2
17:55.35eidolonthat shouldn't make a difference.
17:55.58noxexplorerbut
17:56.06linuxfrecktomcat 5.5 doesn't work with 1.4 out of the box
17:56.13noxexploreri havve the message
17:56.14noxexplorerThis release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page.
17:56.24eidolonoh.
17:56.49eidolondbs@hunter:~$ java -version
17:56.49eidolonjava version "1.4.2_07"
17:56.59noxexplorerlol
17:57.44noxexplorerthx a lot
18:03.43*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
18:04.07*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
18:20.13*** join/#tomcat majic (~majic@24-49-51-247.chvlva.adelphia.net)
18:20.59eidolonnetbeans is asking about 2 different webapp structures.  Java Blueprints and Jakarta... i'm assuming i want to use jakarta, since i'm using tomcat, yes?
18:21.02eidolonor does it really matter?
18:21.39linuxfreckimo tomcat should work with both
18:22.12eidolonmmokee... but we -may- be deploying to some other persons servlet environment, like jboss or websphere or some such...
18:23.08linuxfreckwell I don't know netbeans, but I think those are only 2 different ways how your directories are organized
18:23.19eidolon*nod*
18:23.42linuxfreckand both ways should work with any container that implements the servlet specs
18:23.46eidolonk
18:24.08linuxfreckyou may want to try both and see which one you like better
18:24.49eidoloni'd just like to get it working first :)  i have been using eclipse, but i have to get a stronger handle on moving webapps around, and my employers are going to be using netbeans.  so the goal is to move the entire project into netbeans, really get a grip on directory structures and deployment, then document it.
18:25.30linuxfreckk
18:31.42eidolon<-- schmart.
18:45.39eidolonwhen configuring a Context, there's 2 settings.  theres docBase and workDir  ... when netbeans 'built' this sample app, it actually generated a war file... but looking at the generated trees, i see in my project a dir called 'web' with subdirs META-INF and WEB-INF
18:45.54eidolonis that META-INF and WEB-INF directory my docBase or my workDir?
18:47.15linuxfreckneither
18:47.25linuxfreckthe parent dir of web-inf is your workDir
18:47.30linuxfreckoops
18:47.39linuxfreck<PROTECTED>
18:47.43eidolonheh.  okay.
18:47.45eidolon*changes*
18:47.47eidolonwhat is workDir?
18:47.59linuxfreckthe workDir is where tomcat stores compiled jsp pages and other temporary files
18:48.16eidolonokay, i could probably leave the undefined, and it'll pick something?
18:48.22linuxfreckyes
18:48.23eidolonk
18:48.47linuxfreckit will be in $CATALINA_HOME/work/<context name> then
18:48.51eidolonINFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].StandardContext[/Arete]
18:48.52eidolonhmm.
18:48.59eidolonit -didnt- do that before.
18:49.20eidolondbs@hunter:~/src/arete$ find . -name web.xml -print
18:49.20eidolon./Arete/web/WEB-INF/web.xml
18:49.20eidolon./Arete/build/web/WEB-INF/web.xml
18:49.38eidolonright now i have docRoot set to .../Arete/
18:50.16linuxfreck./Arete/build/web/ is your workdir
18:50.33linuxfrecksince it's the the parent dir of WEB-INF
18:50.46eidolonhm.
18:50.52eidolonyeah, but i have 2 web-inf's.
18:51.30linuxfreckbah
18:51.38eidolon:)
18:51.38linuxfrecks/workdir/docbase/
18:51.42eidolonoh oh.
18:51.54linuxfreckthe workdir is the one for temp files ...
18:53.21eidolon<PROTECTED>
18:53.21eidolon<PROTECTED>
18:53.21eidolon<PROTECTED>
18:53.55eidolondbs@hunter:~/src/arete/Arete/build/web$ ls -l
18:53.55eidolontotal 12
18:53.55eidolon-rw-r--r--  1 dbs dbs  996 2005-03-22 13:40 index.jsp
18:53.55eidolondrwxr-xr-x  2 dbs dbs 4096 2005-03-22 13:40 META-INF
18:53.55eidolondrwxr-xr-x  3 dbs dbs 4096 2005-03-22 13:40 WEB-INF
18:54.02linuxfreckhmm
18:54.04eidolonlooks right.
18:54.14linuxfreckdoes accessing index.jsp directly work?
18:54.39eidolonoops oops
18:54.59eidolonsorry, i still had localhost:8080/Arete/web/index.jsp in the browser.
18:55.05eidolonnow it's working :)
18:55.07linuxfreck:)
18:55.33eidolondynamic compiling is working too.  just made a change in netbeans and it changed immediately.
18:56.31linuxfreckhave fun :)
18:56.34eidoloneh.  it's not that big.
18:56.39eidolonnext i need to learn is how to deploy war files.
18:56.46eidolonsince i'll need to deploy axis to this.
18:57.35linuxfreckyou copy them into the webapps folder
18:57.36linuxfreckdone
18:57.45eidolonwhat webapps folder?  :)
18:57.54eidolonowait
18:57.56eidolonthat webapps folder.
18:57.59eidolon~/tomcat/webapps/
18:58.00linuxfreck$CATALINA_HOME/webapps :)
18:58.08eidolonyea yea.  hey, i'm slow today :)
18:58.27linuxfreckheh
18:58.50linuxfreckthat method works if autodeploy is enabled and you don't have to configure the context
18:59.26eidolonactually, next thing i need to do is noodle web.xml for the servlets i'm importing.  one thing at a time :)
18:59.51eidolonHOLY SHIT
18:59.59eidolonnetbeans has an xml context editor for web.xml
19:00.02eidolond00d.
19:02.16eidolonit's pretty sexy.
19:02.22eidoloni haven't edited it yet, but stay tuned :)
19:02.27jasonbheh.
19:02.38jasonbYou've got a servlet 2.3 web.xml?
19:02.54jasonb(with a DTD instead of schema?)
19:03.32eidoloni just shut down netbeans so i can import my servlets.  stand by.
19:04.34*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
19:07.52eidolonaww.  and when you wizard to 'add a new servlet', it automatically updates web.xml for you.  how sweet!
19:11.51majiceidolon, which version of NB's are you using? I fell in love with 4.1beta
19:12.12eidolon4.1b
19:12.13eidolonyeah
19:15.24*** part/#tomcat JackStorm (~none@ip68-11-89-95.no.no.cox.net)
19:16.39*** join/#tomcat bigred (~big@nat-vlan0201.sat4.rackspace.com)
19:16.57*** join/#tomcat deeeed (~dd@m85.net195-132-129.noos.fr)
19:20.52eidolonAIEEE!
19:20.54eidolonnetbeans NPE'ed!
19:21.44linuxfrecknpe?
19:22.07eidolonnull pointer exception
19:22.41eidolonrestart seems to have fixed it, but ow.
19:22.42linuxfreckah ok
19:23.58jasonbeidolon: Well, it *is* a beta.  :)
19:24.13eidolonheh
19:41.47*** join/#tomcat bastin (~bastin@201.137.177.137)
19:47.39eidolonhah.  all jsps and servlets working after editing in netbeans.  excelllllllent.
19:47.45eidolonimport complete!  time to hit the shower.
19:48.20jasonbVery cool.
19:48.33jasonbSounds like Gosling's been hard at work.
20:04.11puffGosling?
20:13.18eidolongosling's the architect of java.
20:18.49*** join/#tomcat Sou|cutter (~soul@soulcutter.user)
20:40.30*** join/#tomcat ohsix (ohsix@bc111222.bendcable.com)
20:41.58*** join/#tomcat puff (puff@66.45.34.102)
20:56.57*** join/#tomcat valmont (~chrisholl@ppp-69-237-24-52.dsl.irvnca.pacbell.net)
21:04.49*** join/#tomcat valmont_ (~chrisholl@germany.pspdev.pas.earthlink.net)
21:47.51*** join/#tomcat Kasica (~Kasica@bex141.neoplus.adsl.tpnet.pl)
21:47.54Kasicahi
21:48.01Kasicai have added user with role : standard
21:48.07Kasicaand he can not list host servlets
21:48.14Kasica<PROTECTED>
21:48.20Kasicahow to allow him to list em
21:49.18Kasicaanyone
21:57.28Kasicahere
22:04.21linuxfreckthere are 38 other people here :) but they either sleep or don't know the answer...
22:05.33Sou|cutterI think the user has to be a member of the 'manager' role to use the manager app
22:06.03KasicaSou|cutter but adding it, that person will have access to /manager/html
22:06.07Kasicaand other runned
22:06.08KasicaSERVLETS
22:06.23Kasicaothers serlvets ran by others users
22:07.39Sou|cutterKasica: Indeed.  I don't know that the manager has a more complicated authentication scheme than that, though.  Basically you might want to customize the manager app to allow for the limited use you want
22:08.02KasicaSou|cutter how can I do that
22:08.05Sou|cutterDon't take my word as gospel, though
22:10.13Kasicawhere can  i limit that permissions ? adding a specifed role in tomcat-users.xml?
22:12.19loquace++
22:13.52Kasicahm
22:14.22*** join/#tomcat warthog9 (~warthog9@165.206.219.155)
22:22.11*** join/#tomcat zaba (~m@wwsx24.win-screen.uni-wuerzburg.de)
22:37.50Kasicazaba kum kum
22:39.01zabacze Kasica
22:39.03zaba;)
22:39.50Kasicado you speak polish , zaba?
22:40.14zabaKasica, yeah, its my native lang.
22:40.47Kasicagreat
22:40.54Kasicazaba znasz sie cos na tomcacie?
22:41.11Kasicamam problem z manager/list , dostaje perm denied , rola standard dla usera
22:41.33zabaKasica, mam z nim tylko problemy. ale generalnie jestem noob :/
22:41.55eidolonwhile this is all fascinating, since only you two can possibly benefit from anything you say, can you take it to msgs?
22:42.08Kasicayeah, sorry
22:42.18Kasicahehe
22:42.51Kasicaeidolon i have problems with /manager/list , i got perm denied on user who has standard role
22:42.54Kasicaany clues?
22:43.09Kasicahe can install ,uninstall servlet
22:43.13Kasicabut can not list em
22:44.30eidolonnope, never done it.
22:44.51Kasicak
22:54.48deeeedwhat's the best lib to generate a pdf from java ?
23:09.15*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
23:09.39*** join/#tomcat Ramonskie (~ramonskie@ramonskie.xs4all.nl)
23:09.59Ramonskiehow can i install tomcat under debian sarge
23:12.35deeeedapt-get install tomcat4
23:13.03Ramonskiedoesnt work
23:13.19Ramonskiealready tried that i think i dont have the right source
23:13.23deeeedmaybe it's not on sarge
23:13.26Ramonskie:(
23:13.35deeeedinstall from the source.
23:14.11Ramonskieis there an site that tells me how to do that its my first time i just want to learn about tomcat and install some chatrooms or something
23:14.16Ramonskieunder apache
23:14.41eidoloni'm running sarge.
23:14.53eidoloni just downloaded it from jakarta.apache.org and followed the directions.
23:14.56eidolonyou'll just need a jvm.
23:15.08majic(offtopic) does anyone happen to know if there is a key-combo you can hit to redeploy a project quickly in NetBeans 4.1beta?
23:15.33Ramonskiek
23:15.38Ramonskieim gonna try
23:17.01eidolonf11 is build
23:17.13eidolonnot sure about deploy. :)  i have my Context pointing to my build dir :)
23:18.56eidolonalso, anyone know of a VSS plugin for netbeans?  
23:20.26majicyeah if you right click on the project in the projects tab there is a selection for redeploy with no key combo, so I have to do 3 steps to test my project after a small change. Build, right click on project and then hit redeploy. I wish there was a Build->Deploy step that would be all encompassing =)
23:23.09eidolonyeah, but if you set up a local Context, you never need to deploy.
23:24.01majichmm, why didn't I think of that?
23:24.02majicha
23:24.37eidolon8)
23:29.37majichmm, I created a new context and restarted tomcat but it doesn't seem to do what you say when I rebuild
23:32.29majiceidolon, do I just point that local context to the apps dir?
23:33.02Ramonskieeidolon: can you help me setup tomcat
23:33.11Ramonskiei cant figure it out i feel real dumb
23:33.11eidolonwell, no, because the apps dir is for deployed .war files.
23:33.56eidolonyou want to point it at your top-level dir... in netbeans, i have my [project]/build/web dir
23:34.17eidolonramon: follow the directions on jakarta.apache.org.
23:34.38majicoops, you misunderstood me
23:34.51majicI'm saying do I point my new local context to the project dir
23:34.57majicwhich I did
23:35.10majicand set it's reloadable property to true
23:35.28majicbut it does not automatically reload, I have to redeploy the project to see changes
23:35.36Ramonskiei go there but where is the help then humph i thinks its just to late i quess its 0:35 here
23:37.18eidolonhmm
23:37.24eidolonyou're not specifying the correct to level then, magic.
23:37.36eidolontop level, rather.
23:38.06majic<PROTECTED>
23:38.19eidolonhttp://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html
23:38.23eidolon(that's for ramonskie)
23:38.37eidolonthe path to project is not correct.
23:38.58majicso that doesn't go in docBase?
23:39.02eidolonyou want the dire that has WEB-INF and META-INF in it.
23:39.08eidolonthat's docBase
23:39.10eidolonhere's mine:
23:39.25eidolonalso, make sure you restart tomcat after changing server.xml :)
23:39.32majicyeah I know
23:39.39eidolon<PROTECTED>
23:39.40eidolon<PROTECTED>
23:39.40eidolon<PROTECTED>
23:39.49eidolon'Arete' is my project.
23:39.56majicAh, ok
23:40.51eidolon(note i just got tihs working about 5 hours ago, so i can hardly say i'm an expert)
23:42.29*** join/#tomcat loz-- (~loz--@81-179-73-222.dsl.pipex.com)
23:47.36*** part/#tomcat majic (~majic@24-49-51-247.chvlva.adelphia.net)
23:53.19*** join/#tomcat majic (~majic@24-49-51-247.chvlva.adelphia.net)
23:55.10Ramonskiehumm i c that i need to install jd2k
23:55.11Ramonskie:S
23:55.35Ramonskieil do that tomorow maby thx eidolon for the site
23:56.02*** join/#tomcat {aaron} (none@cpe-24-59-120-255.twcny.res.rr.com)
23:56.07{aaron}hi guys, i see tomcat includes commons upload
23:56.15{aaron}is there a Tomcat API to this, or should I just use it directly?
23:56.54majiceidolon, thanks that worked!
23:57.00eidolon8)
23:58.42puff{aaron}: I doubt it.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.