irclog2html for #tomcat on 20050420

00:00.03don-obut if a symlink is in ROOT.war is says that url is not available
00:01.26jasonbdon-o: Search for "symlink" on this page: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/defaultcontext.html
00:02.03don-oi see it. thx again.
00:02.06*** part/#tomcat don-o (~donp@personaltelco.net)
00:15.57*** join/#tomcat eddyMul (~emulyono@adsl-69-108-206-97.dsl.pltn13.pacbell.net)
00:18.15eddyMulhi. I'm a newbie. I am playing with the /jsp-examples JSPs. Can someone point me to what I need to do so I can "tweak" a bit of the examples, and redeploy?
00:18.59puckoafaik just edit them and run
00:19.50*** join/#tomcat ph0enix_ (~phoenix@201.3.141.233)
00:20.21eddyMulpucko, I tried, but the changes didn't take effect. I am using tomcat-5.5.9
00:21.19eddyMulI edited the samples (which I assume sits under webroot/jsp-examples)
00:22.43eddyMulpucko: and couldn't get them to recompile (I assume there's a "configuration" I need to set somewhere?)
00:26.07jasonbeddyMul: Your web browser's probably caching the old content.
00:26.44eddyMuljasonb, did the Firefox f5 refresh, too.... or did I miss anything? (I am modifying the JSP 1.2 examples)
00:42.48jasonbeddyMul: I don't know of the f5 thing.  Plus, I don't use Firefox, I use Mozilla Seamonkey (the suite).  Try holding down Shift and clicking the reload button.
00:43.34jasonbeddyMul: 5.5.9 is a good release, and it should work great.
00:45.05eddyMuljasonb, I know. And I feel bad I can't show off how good it is compared to Sun's  (boo)
00:46.11eddyMuljasonb, can I edit stuff directly in <tomcat install dir>/webapps/jsp-examples/dates/dates.jsp ?
00:46.24jasonbeddyMul: Yes.
00:46.46eddyMuljasonb, and it should "hot deploy", right?  ;)
00:46.58eddyMuljasonb, but it ain't doing the magic for me...
00:47.31jasonbeddyMul: What's in the logs?
00:49.12eddyMuljasonb, which .log should I focus on?
00:49.36jasonbAll of Tomcat's log files.
00:50.20jasonbeddyMul: I have to go pretty quick.  
00:50.22eddyMuljasonb, they mosly begin with "INFO: "
00:50.38jasonbeddyMul: Which OS brand & version are you running this on?
00:50.47eddyMulwindows xp sp 1,
00:50.53eddyMultomcat 5-5-9
00:50.58eddyMuljava 1.5.0.02
00:51.16jasonbeddyMul: Should work..
00:52.04jasonbeddyMul: Well, I'm not real sure what to tell you without spending about a half hour digging into the configs & logs.
00:53.00eddyMulthanx, man. if u gotta go, u gotta go. I'll continue the wrestle.
00:53.55jasonbeddyMul: It's supposed to reload JSPs and serve the new one to you.  You may want to try shutting Tomcat down, removing everything in $CATALINA_BASE/work/*, then restarting Tomcat.
00:54.11jasonbCheers.
00:54.28*** join/#tomcat LuciferBR (~luciferbr@200165156234.user.veloxzone.com.br)
00:54.32eddyMuljasonb, cheers
00:57.19LuciferBRHello, everyone! Quick question, I hope someone can help me: What considerations, if any, I must make before updating Tomcat?
00:58.49*** join/#tomcat beron (~musrat@64-121-41-8.c3-0.dlcy-ubr1.sfrn-dlcy.ca.cable.rcn.com)
01:07.44lyk3njason: pretty good mate
02:05.17*** join/#tomcat wass3r (wasser@astound-66-216-228-200.mn.astound.net)
02:16.23*** join/#tomcat iq (~iq@70-59-161-65.omah.qwest.net)
02:44.27*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
03:10.41*** join/#tomcat russt (~rusty@c-24-8-7-236.hsd1.co.comcast.net)
03:11.26russtany anyone tell me why, when I attempt to install an app from an ant task, I get a 401 error, but if I take the same URL and put into a browser, it completes the installation?
04:06.34bugfixer2russt: is sounds like the ant task is not passing over any authenication info
04:12.20*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
04:17.46russtbugfixer2 hm- maybe I've got it configured wrong
05:24.51*** join/#tomcat simplebird (~lind@user-12ldaq6.cable.mindspring.com)
05:33.01*** join/#tomcat kab_ (~abarrera@201.128.135.177)
05:46.36*** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net)
06:19.12*** join/#tomcat cydark (~dark@29-242-182-81.adsl-fixip.axelero.hu)
06:19.14cydarkhi all
06:19.24cydarkanyone here to help a littlebit?:)
06:20.24cydarki have this error message:
06:20.49cydarki tried to find something useful on google but nothing
06:20.50cydarkjava.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
06:38.17*** part/#tomcat kab_ (~abarrera@201.128.135.177)
07:26.47NeRMedo I need to update my conf/server.xml file if I want servlets to work with MySQL Connecter/J?
07:31.37*** join/#tomcat levon (~levon@mail.feature-it.de)
07:34.45NeRMecan anyone give me an example of a <Context> addition to server.xml?
07:36.31NeRMegod damn it my head is spinning from all this stuff :P
07:41.30NeRMeok, is <Context ...> a correct statement, or is it looking for something in place of the "..."?
07:55.06lyk3nnerme you might have to wait for a response
07:55.16lyk3npeople who could answer you arent active atm
07:55.29*** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net)
07:57.50loquacelo
07:58.31lyk3nlo
08:00.54*** join/#tomcat joered (~chatter@213-140-6-118.fastres.net)
08:01.28*** join/#tomcat harpoon (~harpoon@x1.vpn.hrz.tu-darmstadt.de)
08:49.17NeRMelyk3n: sorry mate, i'm all hyped up on the coffee
08:49.19NeRMehehe
08:53.20lyk3nit happens at this time of the morning
09:02.49*** join/#tomcat StarScream (~am@217.169.25.114)
09:03.18StarScreamdoes 5.5.9 come with the dbcp package?
09:30.56*** join/#tomcat ohsix (ohsix@bc111222.bendcable.com)
09:31.24*** join/#tomcat JeyK (user@c-67-174-156-60.hsd1.ca.comcast.net)
09:31.32*** join/#tomcat ohsix (ohsix@bc111222.bendcable.com)
09:32.46JeyKhow do i get jakarta to re-load the class file(s) on every request? it seems i have to restart the server for changes to take effect
09:38.51StarScreamJeyK: package them as war files
09:39.01StarScreamand turn on auto loading
09:40.25JeyKalright
09:40.26JeyKthanks
09:42.56*** join/#tomcat swoop_ (~no@gw.venturelab.ideon.se)
09:44.46swoop_hi I asked here yesterday but didn't get any answer.. pulling my hair here.. is there any known bugs with enabling SSL in Tomcat 5.5? has anyone here succeeded with doing that?.. I follow the very simple instructions to enable SSL but the server doesnt even seem to respond to port 8443.. normal connection works fine
09:46.02swoop_I see the <Connector ..> tag is quite different from earlier versions.. when I replace it with the one used in earlier versions it seems to connect to the port but then nothing more happends
09:57.54*** join/#tomcat luuk (~Luuk@ip503cbd76.speed.planet.nl)
10:10.57*** join/#tomcat Beets (~bjornars@193.213.208.115)
10:10.59Beetshi
10:12.09Beetscan anyone help me understand why the output from one single .jsp file in my project isn't interpreted as HTML by the browser?
10:12.20JeyKargh
10:12.21Beetsnone of the other jsp-files have that problem
10:12.33JeyKi dont understand where to put the <Context reloadable="true"> for my servlet application
10:12.55BeetsI have tried added a ContentType function, but that doens't help
10:19.11JeyKi don't see any conf/context.html for some reason. i'm on gentoo with tomcat 5.0.27
10:19.17JeyKconf/context.xml that is
10:19.28JeyKis that only 5.5?
10:24.25JeyKthis is frustrating, how the heck do i enable auto reload?
11:57.02*** join/#tomcat Anon168 (~Andres@80-28-25-134.adsl.nuria.telefonica-data.net)
12:06.46*** join/#tomcat kadams (~java_pro@adsl-217-132-138.bgk.bellsouth.net)
12:13.11*** part/#tomcat braindead_moron (~richard@gk2.bowmansystems.com)
12:20.40cydarkcan anyone help in an interesting errormessage?:)
12:20.44cydarkjava.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
13:08.17*** join/#tomcat unco (~0x0F@dsl-202-72-159-204.wa.westnet.com.au)
13:08.30uncoanyone able to give me a hand with a tomcat for NT issue?
13:12.44*** join/#tomcat shadewind (~shadewind@62.119.212.135)
13:14.56shadewindwhen developing a web application, is it good to strive for putting different things in different servlets if you know what i mean?
13:28.26*** join/#tomcat iq (~iq@70-59-160-50.omah.qwest.net)
13:42.42*** join/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
14:29.30*** join/#tomcat Twi (~Twi_Lapto@msgext.cmc.optus.net.au)
14:32.21*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
14:39.08*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
14:46.35*** join/#tomcat StarScream (~am@217.169.25.114)
14:47.36StarScreamhi, i am attempting to write my own db connection pool and i was wondering if its possible to load this class when the web-app starts up so that i can just do dbpool.getConn()
14:47.53StarScreamif so how do you tell tomcat to do it
14:59.06shadewindStarScream: you should use ServletContextListeners which you define in web.xml
14:59.58shadewindStarScream: ServletContextListeners are called when a web app is initialized and when it's destroyed
15:05.34StarScreamshadewind: cool thank you.
15:07.49*** join/#tomcat flip (flip@flip.user)
15:39.57*** join/#tomcat cydark (dark@82-131-128-93.vnet.hu)
15:39.59cydarkre
16:02.39*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:09.52*** join/#tomcat harpoon (~harpoon@x325.vpn.hrz.tu-darmstadt.de)
16:09.53thepiperis there anyway to increase the log level of catalina.out?
16:17.43*** join/#tomcat Kasica (~Kasica@bep104.neoplus.adsl.tpnet.pl)
16:17.46Kasicahi all
16:18.31Kasicasetting in server.xml
16:18.34Kasicaline :<Context path="" docBase="/home/kmalinow/domains/kmalinow.linuxpl.com/public_html" debug="0"/>
16:18.52Kasicacan i put unpacket war into this directory and servlet will work?
16:19.29*** join/#tomcat mecca (~flip@static-141-158-133-100.scr.east.verizon.net)
16:19.31Kasicabut when im installing servlet using /manager it is installed in another directory , in /usr/local/tomcat/webapps...
16:19.38Kasicahow can i understand it/
16:34.34Kasicaanyone
16:43.00randrewKasica: yes, servlets can be installed in different places
16:43.18*** join/#tomcat pyOne (~adriano@200-193-230-166.gnace7002.dsl.brasiltelecom.net.br)
16:43.29Kasicarandrew but when i unpack it in public_html
16:43.36Kasicatomcatd should be restarted?
16:43.40Kasicato load that servlet to memory
16:43.54Kasicaor this servlet has to be installed through MANAGER to make it all work
16:44.46pyOneHey guys... which version of tomcat is better to use in a Red Hat Enterprise AS 4?
16:44.47pyOneI mean... which one is better to use and install?
16:44.49randrewThere are different ways to install servlets. The behavior varies depending on the version of tomcat and settings in server.xml, but restarting should work.
16:45.55Kasicarandrew im using tomcat 4.x
16:46.00randrewKasica: i'm not aware of any reason an app would need to be installed through manager, instead of some other way
16:46.13Kasicawhare are those other ways
16:46.18Kasicawhat*
16:47.34randrewhttp://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html
16:47.53loquace++
16:48.15Kasicai can not add user to /manager/html/ because he will have access to all runned servlets
16:48.28Kasicai can add him having role standard , not manager
16:48.47Kasicaweird
16:51.51jasonbpyOne: Tomcat 5.5.9.
16:55.54pyOnejasonb: ok... and what issues do i get while installing it?
17:09.35jasonbpyOne: It should install just fine.  It's the latest stable version, and it should work well.  If you're migrating from an older Tomcat (with older configs), then you will have to hand-migrate your configs, but that's about it.
17:12.02pyOnejasonb: Thanks a lot! I'll try know...
17:14.02*** join/#tomcat shadewind (~shadewind@62.119.212.135)
17:14.03jasonbpyOne: You're welcome.
17:14.16*** join/#tomcat shadewind (~shadewind@62.119.212.135)
17:31.41*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
17:38.30*** join/#tomcat mecca (~flip@static-141-158-133-32.scr.east.verizon.net)
17:39.41*** join/#tomcat unco (~0x0F@dsl-202-72-159-204.wa.westnet.com.au)
17:40.41uncohey guys, can anyone tell me how to get a site running in tomcat to work on port 80? the default I beleive is 8080, but I'm guessing you can't run both tomcat listener and the webserver on the same port
17:42.59jasonbunco: What's a "tomcat listener" if it isn't a web server?
17:46.02uncojasonb: well I seem to get that tomcat runs off one port and IIS runs off another when using the tomcat connector
17:47.15uncolike an apache/tomcat setup, as well as an IIS setup, the IIS setup basically redirects to the tomcat
17:48.18jasonbunco: So which web server do you want to use?  IIS?  Apache HTTPD?  Or Tomcat's built-in Coyote web server?
17:49.19uncojasonb: i'm working on someone elses setup
17:49.25uncothere is apache tomcat
17:49.27uncoand IIS
17:49.31jasonbunco: The other kind of server that Tomcat implements is called the JK connector, which answers network requests from the third-party web servers.
17:49.47jasonbunco: Okay, let me rephrase: What is it that you want to do?
17:49.54uncookay
17:50.02uncoI have a virtualhost setup in IIS
17:50.08uncowith the jakarta connector
17:50.27uncobasically - how do I then get tomcat to access the files I need it to?
17:52.45uncolike I don't need to have linkage from the default website or anyhting do I/
17:54.04uncobut also, i have no idea about adding the context's and hosts to tomcat:/
17:54.05jasonbunco: Your question is not specific enough for me to know what you're asking.
17:54.14uncookay
17:54.21uncoI have a directory in x:\deply
17:54.27uncothat tomcat needs to look at
17:54.37uncohow do i get tomcat to look at that directory for a certain url
17:55.08jasonbunco: Sounds like you need to read docs.  Either the ones on jakarta.apache.org/tomcat, or a book like Tomcat: The Definitive Guide.  Both of these have lots of answers to these kinds of questions.
17:55.41uncounfortunately this is just a once off thing that I needed to get done by tomorrow heh
17:56.17uncoI just find it strange that other sites on the server are going through properly (from the IIS to the jakata directory)
17:57.34jasonbunco: Well, Tomcat/Webapps/Java isn't something you can learn in an hour or two, really.
17:58.10uncoyes, I tried to explain that heh
18:00.42cydarkhey everybody:)
18:01.00cydarki have a god damn error message and i dont know how can i resolv this:
18:01.02cydarkjava.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence.
18:01.38cydarki know this is about the charachter encoding but i dont know what couz this error
18:01.53cydarki use tomcat 5.0.30 with apache axis 1.2rc3
18:02.14cydarki got this error message when i try to work with an xml:)
18:05.31jasonbcydark: And you already asked the axis guys about it?
18:05.59cydarknot yet:)
18:06.04jasonbWell, that's step 1.
18:06.07cydarkwhere can i reach any axis guy?:)
18:06.21jasonbThe axis mailing lists might be a good start.
18:08.20russtI'm not sure if this is the best place to ask this question, but how can I have the tomcat ant task copy a recompiled class file to its context? Currentl it gives me an error that the application already exists. If I attempt to remove it first, it removes the entire context, which includes the web.xml file.
18:14.51cydarkthanx jasonb
18:14.55cydarki try that:)
18:20.07jasonbcydark: You're welcome.
18:21.34jasonbrusst: You would need to just have ant copy the resulting .class file into the dir where it would normally be deployed.  So, you first need to figure out where it should go, then you would need to change your ant build file so that it <copy>s it into place.
18:22.27russtjasonb, well, I figured part of it out. I can uninstall/install while retaining the web.xml file.
18:23.20russtjasonb, I think I'll add a new target to the build file to take care of the other part.
18:32.48*** join/#tomcat pyOne (~adriano@200-193-230-166.gnace7002.dsl.brasiltelecom.net.br)
18:33.17pyOnejasonb: how can I restart my server? I started with jsvc...
19:07.47*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
19:18.10*** join/#tomcat mkanter (~mkanter@rrcs-67-53-4-71.west.biz.rr.com)
19:20.43mkanterIt's kind of quite here, anyone got time for an Apache Web Server/Tomcat configuration question?
19:23.36*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
19:23.52mkanterHello?
20:02.53*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
20:09.02*** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net)
20:10.49*** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de)
20:32.31*** join/#tomcat IRCMonkey_ (~chatzilla@gycklare.campus.mdh.se)
20:38.22russtWhen attempting to load a class, I get an error in the log that says, "Marking servlet myservlet as unavailable". I don't know why this is happening, so I'm wondering which property I can set to have tomcat include some debugging info with this that might give me more of a clue as to what's going on.
20:44.48jasonbrusst: Your servlet reload failed for some reason, and so any servlet that needed it will be marked unavailable.
20:46.28russtjasonb, is there a way I can find out why it failed?
20:48.00jasonbrusst: Which version of Tomcat?
20:57.55russtjasonb, 5.5
21:02.59jasonbrusst: I still haven't played with the logging, but I'd suggest turning the logging all the way up.  Also, you could add "-verbose:class" to your CATALINA_OPTS and restart, and look through the verbose classloading info.
21:07.31*** join/#tomcat stow (~stows_min@206.107.215.117)
21:09.02*** part/#tomcat mkanter (~mkanter@rrcs-67-53-4-71.west.biz.rr.com)
21:18.04*** join/#tomcat a4akb (a4akb@as34-a159.qualitynet.net)
21:26.50*** part/#tomcat randrew (~raj@dolmen.cc.columbia.edu)
21:37.01*** join/#tomcat EExtasEE (EExtasEE@l02m-29-201.d4.club-internet.fr)
21:37.09EExtasEEhi
21:37.13EExtasEEanybody here?
21:37.55linuxfrecksometimes :)
21:44.12EExtasEEI have a problem using Tomcat : I sure about my tomcat-user file but I still can't use application manager because of my user/pass which are not recognized
21:45.22*** join/#tomcat kiorky (kiorky@cryptelium.net)
21:50.03jasonbEExtasEE: http://www.onjava.com/pub/a/onjava/2003/06/25/tomcat_tips.html
21:54.16a4akbibot boo
21:54.17ibota4akb, for heven's sake, don't do that!
22:11.34EExtasEEjasonb I know that
22:11.54EExtasEEIm sure my tomcat user is good
22:12.23EExtasEE<tomcat-users>
22:12.24EExtasEE<PROTECTED>
22:12.24EExtasEE<PROTECTED>
22:12.24EExtasEE<PROTECTED>
22:12.24EExtasEE<PROTECTED>
22:12.24EExtasEE</tomcat-users>
22:12.48ohsixthats a fine admin password
22:13.02EExtasEEof course :)
22:13.33EExtasEEthat's not mine
22:14.02EExtasEEI have restarted my server : no change
22:14.13EExtasEEdo I have to reinstall?
22:20.23jasonbEExtasEE: Which OS brand & version are you running this on?
22:24.03EExtasEEIm running it from netbeans
22:24.15EExtasEEunder winXP
22:26.10*** join/#tomcat kiorky (~kiorky@cryptelium.net)
22:28.15jasonbEExtasEE: Well, I don't know if 100% of the Netbeans-embedded Tomcat still works.  You should try this with a Tomcat you download and install separately.
22:35.29EExtasEEtoo late
22:35.34EExtasEEI have reinstalled
22:36.33EExtasEEthank for your help
22:43.06russtjasonb, thanks for the tip- I will try that.
22:44.38jasonbrusst: You're welcome.
23:39.32*** join/#tomcat NeRMe (~nerme@pool-70-19-17-105.ny325.east.verizon.net)

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.