irclog2html for #tomcat on 20050211

00:20.53*** join/#tomcat sund (~ray@c-24-23-201-228.client.comcast.net)
00:39.31*** join/#tomcat Dony (~cgiirc@67.19.211.218)
00:40.37DonyGuys.. Am new to Tomcat here.. I've a machine where Tomcat server is running.. I need to put a document on that machine so that I've http access via URL.. How do I configure that??
00:42.15Donyhello??
00:42.30DonyIs this channel related to Tomcat webserver??
00:42.37DonyOr some thing else?
00:43.17DominicB_put it into webapps/ROOT/ if it is just a single document
00:45.46Donyafter putting that file there, do I need restart the server?
00:47.19DominicB_I don't know. Try it ;)
00:48.19Donythat's a shared machine..folks may be using it.. So..it would be dumb to try anything without knowing it..they are called smart ass
00:48.55DominicB_well I suggested to try accessing the file before restarting the server ;)
00:50.10Donydidn't work..
00:50.38Donyso..any options without restartig it.. like sending some Sigal to that process?
00:50.43Donysignal
00:52.28loquace++
00:52.35DominicB_http://localhost:8080/manager/html/reload?path=/
00:52.50DominicB_this reloads the root context
00:56.26DominicB_if you don't want to mess with the other ppl's work, you can creat a new context for yourself as well
00:59.13DonyI tried that URL ..but nothing happens.. I did use the IP address in place of localhost.
01:01.06DonyNever mind.. I did restart the Catalina after asking the folks here and it works.. Thanks
01:01.16DominicB_np
01:13.30DonyI placed a Unix file under ROOT ..but when I accessed it via URL, it doesn't recognize NewLines.. It just seem to print continuously..
01:14.37DonyI mean it's a plain text file..
01:16.23DominicB_maybe it is a mime encoding problem
01:16.43sundno, thats the way it supposed to display text
01:17.05sundhtml format is not same as your regular ascii file
01:17.56Donynot sure if you're familar with Kickstart files in Linux.. Am trying to place this Kickstart ascii file udner this ROOT directory and trying to access from my Linux boot prompt while installing Linux..
01:18.29Dony"linux ks=http://...../ks.cfg"
01:19.06sundyou probably need to add some <html> tags on it to make it look a bit descent
01:20.20*** join/#tomcat a4akb (~chatzilla@dialpool-210-214-115-177.maa.sify.net)
01:20.24DonyThe Linux installer doesn't understand html.. It expects an ascii text config file.. Not sure when this program reads this Command text file, if it can recognize the NewLines
01:21.56DominicB_I guess it is a better idea to change the mime encoding
01:22.10sundthat would be same isnt it when you put that on an apache..text are just displayed without any formatting?
01:22.12DominicB_http://www.germanxml.de/install/cocoon/files/tomcat_web.html has examples
01:22.33DonyThey just instruct to make this command file access via http.. they've givn some brief example of setting up of httpd.conf setup and httpd method..  Am trying to replace that with Tomcat server mechanism just make it work quick..
01:23.13sundthats how my tomcat displays text file, no translation of linefeed
01:23.34sundso you need convert the file
01:24.09DonyWhat if I configure httpd and try access via URL, does it display the file with no NewLines?
01:24.24DominicB_Dony: maybe you don't need to change anything
01:24.34DonyYes..
01:24.38DominicB_I mean, you want this kickstart to read the files. not your browser
01:25.09DominicB_you can try fetching the file with wget and see, whether the line encodings are as you want them to be
01:25.29DonyI may not .. But am just trying to play safe here..as I wasted so much time burning CDs to build my Linux distro.. But this concept will save my CD buring time
01:25.59DonyI want the Anaconda install program to read this File..
01:27.16DonyDominic.. you are just smart!!   I tried wget and it wroked fine..
01:27.34Donyworked fine!
01:27.38DominicB_cool
01:28.15DonyI rarely see the web experts have other domain expertise too..
01:28.29Donyyou seem to be an allrounder!
01:58.08*** join/#tomcat imaek (~imaek@adsl-67-123-199-162.dsl.lsan03.pacbell.net)
02:40.44*** join/#tomcat WarCAT (~chatzilla@148.204.20.228)
02:40.55WarCAThow to get the context path from a jsp
02:50.27*** join/#tomcat DominicB (domi@p5082FC55.dip0.t-ipconnect.de)
03:50.50*** join/#tomcat elah (Elah@68.67.82.134)
03:52.11elahHowdy.  I'm trying to use a bean I wrote in a jsp page on Tomcat 4 and I'm getting an java.lang.NoClassDefFoundError: org/apache/jasper/runtime/JspException
03:52.19elahAny ideas why?
03:52.54elahI'm using the jsp usebean tag, when I take that out, the page runs fine.
04:01.00elahAny ideas?  I'm new to using beans, so I'm sure its a simple error :)
04:22.26*** join/#tomcat droberts (~droberts@ppp-69-208-145-117.dsl.ipltin.ameritech.net)
04:33.37*** part/#tomcat droberts (~droberts@ppp-69-208-145-117.dsl.ipltin.ameritech.net)
04:41.01*** join/#tomcat borourke (~borourke@ppp-69-208-145-117.dsl.ipltin.ameritech.net)
06:24.30*** part/#tomcat sund (~ray@c-24-23-201-228.client.comcast.net)
08:15.50*** join/#tomcat hparteep (~hparteep@102.212.244.43.ap.yournet.ne.jp)
09:10.40*** join/#tomcat ps_- (~ask@yoda.rsn.bth.se)
09:39.43*** join/#tomcat noodl (hidden-use@195-97-225-122.onyx.net)
09:45.16*** join/#tomcat loquace (~seb@l02v-26-99.d4.club-internet.fr)
09:46.12loquacelo
10:19.01*** join/#tomcat joered (~chatter@213-156-52-102.fastres.net)
11:35.04*** join/#tomcat graham (~chatzilla@host-22.webdev.cableinet.net)
11:35.53grahamare many people here using tomcat's clustering in production environments?
11:36.29grahami've having probs with a small cluster (2 nodes) and I'm beginning to wonder if the inbuilt clustering is the way to go?
12:02.04*** join/#tomcat dunc_ (~dunc@gateway.ash.thebunker.net)
12:02.48dunc_anyone here use tomcat on freebsd ?
13:01.41*** join/#tomcat levon (~levon@83.137.99.168)
13:12.19*** join/#tomcat Jrz (~no@adsl-dc-2dbea.adsl.wanadoo.nl)
13:12.35JrzHi
13:13.33JrzI have a classloader question for tomcat... There 's a shared/lib & shared/classes dir in tomcat, that's shared across all webapps, right?
13:14.08JrzI'd like to have a 'shared' directory for a virtual host.. Is this possible in tomcat like in resin?
13:14.58*** join/#tomcat a4akb (~chatzilla@dialpool-210-214-104-59.maa.sify.net)
13:18.38Jrzis everyone sleeping or soemthing
13:20.53a4akbyes
13:20.55dunc_me too
13:20.57a4akbdont u know its weekend
13:21.00dunc_:)
13:21.41JrzIf I understand correctly, tomcat has a "service"  and "connectors" to connect to a service, right? I'd like to create a socket-connector (custom protocol)
13:22.12Jrza4akb, are you in asia?
13:23.52Jrzbasically, it's a service using sockets, but also needs to run over http
13:27.15*** join/#tomcat sockmonk (~wsheldahl@wes.ihigh.com)
13:46.34a4akbJrz: Tomcat is the servlet container that is used in the official Reference Implementation for the Java Servlet and JavaServer Pages technologies.
14:40.05*** join/#tomcat road_warrior (~Mad_Max@adsl-065-013-087-022.sip.ard.bellsouth.net)
15:30.44*** join/#tomcat Jrz (~no@adsl-dc-2dbea.adsl.wanadoo.nl)
15:49.08*** join/#tomcat Griffjon (juanpablo@69.93.61.238)
15:49.16*** join/#tomcat Griffjon (juanpablo@69.93.61.238)
15:50.45GriffjonAnyone awake?  I inherited an Apache/Tomcat site, but I'm really not up on tomcat/java/etc., and am having a problem re-creating the live environment on a testing server
15:51.54Griffjoneverything seems functional (tomcat is up, apache is passing jsp requests to it via jk2), but the nav tool in the site is a jsp include that when apache gets to it, it stops cold (not the server, but the webpage)
15:53.05GriffjonIf I load the nav directly in the browser, I get a very long exception report, the gist of which seems to be that tomcat isn't seeing xalan.jar (it's in the classpath, even tho it wasn't on the functional, live environment)
15:57.12*** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net)
16:53.23*** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se)
17:13.38*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
17:14.22harpoonhi
17:25.45superxre
17:31.52*** join/#tomcat superx (~pulahti@seneca.hut.fi)
17:32.05superxjoin #sml
17:34.10*** join/#tomcat Cobweb (~rpf@c-67-173-255-109.client.comcast.net)
18:05.36*** join/#tomcat lalalux (~tv@p5089927C.dip0.t-ipconnect.de)
18:36.46*** join/#tomcat a4akb (~chatzilla@202.177.175.165)
18:44.51*** join/#tomcat _zao_ (~zao@port-195-158-171-114.dynamic.qsc.de)
18:45.44_zao_i have a page generated with utf-8 encoding. i then need to convert the whole page to iso8859-1. is there are filter for this already?
19:01.30*** join/#tomcat beron (~ray@c-24-23-201-228.client.comcast.net)
19:02.01beronhi, anyone recall how to tell tomcat serve on specific interface?
19:06.01*** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de)
19:12.13*** part/#tomcat beron (~ray@c-24-23-201-228.client.comcast.net)
19:22.29*** join/#tomcat stow (~stows_min@dialup-4.243.115.19.Dial1.SanFrancisco1.Level3.net)
19:41.05*** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
20:05.42*** join/#tomcat InsomniaCity (~ic@stuE43A.kent.ac.uk)
20:06.24InsomniaCityHi, my tomcat refuses to redirect to my error.jsp even though I have set errorPage at the top, and isErrorPage in error.jsp. How can I make this work?
21:17.23*** join/#tomcat stow_ (~stows_min@dialup-4.243.146.19.Dial1.SanFrancisco1.Level3.net)
22:00.13*** join/#tomcat majic (~majic@nc-69-69-52-5.sta.sprint-hsd.net)
22:02.02majicI read the RUNNING.TXT file that comes with Tomcat and I set the CATALINA_HOME dir to point to where I installed Tomcat but when I run startup.sh it tells me it cannot find setclasspath.sh. I also added jakarta's bin dir into my path. I'm not sure where to go next to resolve this problem.
22:02.20majicversion 5.5.7
22:14.02_zao_majic: he tells you where he tried to find setclasspath
22:14.25majichaha, yes the startup script was looking in the exact path where setclasspath lives
22:15.51majicif I run setclasspath.sh manually it tells me there is no BASEDIR defined
22:16.32majicthe jakarta bin directory is in my path so I can't figure out why the startup.sh script cannot find setclasspath.sh, it's in the same dir =)
22:21.38*** join/#tomcat Jrz (~no@adsl-dc-2dbea.adsl.wanadoo.nl)
22:22.16InsomniaCitymajic: This is supposed to be the official Tomcat channel.. but no one answers any questions. I asked a question over 2 hours ago, and still no response.
22:23.46majicthe RUNNING.TXT has barely anything in it. I've done everything it's said to do.
22:23.50majicInsomniaCity, welcome to IRC
22:24.00sockmonkdid you define BASEDIR?
22:24.17majicthe RUNNING.TXT does not say to define BASEDIR
22:24.28sockmonkit won't matter if startup.sh and setclasspath.sh are in the same dir if "." isn't in your PATH
22:24.43majic. is in my path
22:24.53InsomniaCitymajic: lol, no, I'm not new to IRC... just this channel.
22:24.54sockmonkdisclaimer: I know less than you do about tomcat; just making observations based in *nix
22:25.48majicInsomniaCity, I wasn't implying you were new
22:26.12InsomniaCityoooh... Ive got another question. Lets see if it gets answered....
22:26.45InsomniaCityWhy does Tomcat make up line numbers when it tells me an Exception has occurred in my JSP code? Sometimes it even tells me line numbers that don't exist.
22:28.18JrzInsomniaCity, are they the .java linenumbers?
22:30.17InsomniaCityoh! it turns it into Java before it compiles it doesn't it!
22:30.42Jrzyep..  but I'd sure like a JSP interpreter
22:30.57InsomniaCityWell.. I'm using the MyEclipse Workbench in Eclipse...
22:31.03InsomniaCitythat would be a useful feature
22:31.11Jrzyes, but I mean on the server :)
22:31.30Jrzthat would save compiling jsps during development, and would ease debugging
22:43.08*** join/#tomcat borourke (~borourke@ppp-69-208-145-117.dsl.ipltin.ameritech.net)
22:43.50majicis there anything obscure you have to do to run Tomcat that is not listed in the RUNNING.txt file?
22:46.15majicI usually have the problems that nobody has ever encountered before =)
22:49.00Jrzwhat errors do you get, majic
22:49.10majicit says it can't find setclasspath.sh
22:49.19majicwhen I run startup.sh
22:49.30Jrzhow do you run startup?
22:49.42majicjust as the RUNNING.txt file describes
22:49.53Jrzhehe
22:49.53majic<PROTECTED>
22:50.14majic<PROTECTED>
22:50.20majicthe jakarta bin dir is in my path
22:50.48majicI have j2sdk 1.5.0_01 installed
22:54.26majicmaybe I got a bad download
22:55.23majicthis is what I get when running startup.sh Cannot find .:/opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh
22:55.33Jrzah..
22:55.43Jrzcheck the +x bits maybe
22:56.01*** join/#tomcat Chocolate_Thunda (type_Misma@cpc2-hitc3-3-0-cust216.lutn.cable.ntl.com)
22:56.17majicyeah I did that =)
22:56.20majicsame result
22:56.26borourkels /opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh
22:56.32majicit's there
22:56.34majicI can run it manually
22:56.40AndHeSaysspelling problems? :)
22:56.58majicwhen I do an ls I get: /opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh
22:57.14Chocolate_Thundahi
22:58.11Jrzmajic, so it is runnable? (+x bit set) ? are you running tomcat as a seperate user?
22:58.22majicit's runnable
22:58.24Jrzchown -R xxxx:yyyyy your tomcat
22:58.26majicI'm trying as root
22:58.28Jrzo
22:58.31Chocolate_Thundaive been running tomcat 5.0.28 bundled with netbeans but thought i would upgrade tomcat and add the new server in the server registry
22:58.34majicI tried it as a normal user
22:58.49Chocolate_Thundabut now when i compile i get FAIL - Invalid context path null was specified
22:58.52Jrzsetclasspath.sh does not have a magic cookie here
22:58.55borourkeecho $CATALINA_HOME
22:59.13borourkemake sure there's no .: in front of the path
22:59.13majicborourke, .:/opt/jakarta-tomcat-5.5.7
22:59.28borourkeyeah. set CATALINA_HOME=/opt/jakarta-tomcat-5.5.7
22:59.40AndHeSaysexport CATALINA_HOME
23:00.03Jrzemm    why is .: in front of your var?
23:00.44Jrzit should set  CATALINA_HOME when it's not set
23:00.52Chocolate_Thundacan anyone help please?
23:00.57borourkeif that's explicitly said, it's a typo. The : is used to separate different elements of your PATH and CLASSPATH variables.
23:00.58Jrz# Only set CATALINA_HOME if not already set
23:00.58Jrz[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." ; pwd`
23:01.24AndHeSaysChocolate_Thunda: you need to set a context path
23:01.29Jrzthe symbolic name "$CATALINA_HOME" is used to refer to the full pathname of the release directory.
23:01.33Chocolate_Thundain netbeans?
23:01.54AndHeSaysChocolate_Thunda: in tomcat
23:01.59Chocolate_Thundaim a bit new to apache - im trying to wean myself off MS
23:02.19AndHeSaysChocolate_Thunda: if you're using netbeans to drive tomcat from apache, you might need to check with a netbeans group
23:02.26JrzChocolate_Thunda, personally I like eclipse and intellij edea more than netbeans...
23:02.32Jrzedea = idea
23:02.38majicok the "." in my CATALINA_HOME dir was doing it
23:02.44Chocolate_Thundahow do i set the context path in tomcat?
23:02.44AndHeSaysfrom IDE i meant
23:03.09Chocolate_Thundathrough the manager thing?
23:03.46AndHeSaysthat too
23:03.52AndHeSaysdunno how you deploy your app
23:04.27Chocolate_Thundanetbeans does all the work but it only like the version it was bundled with it seems
23:04.41Jrztomcat is nice and all, but I'm missing some classloader stuff that's available in resin. And it saves me ALOT of time.
23:04.42Chocolate_Thundawhich is a shame cos im a sucker for updates :)
23:05.32Chocolate_Thundaim sick of .NET so I am trying to get back to Java but its been a while
23:05.48Jrzbasically I'd like to have X-virtualhosts, every virtualhost has a "shared/li&classes" dir, and every vhost has yyy webapps
23:05.58majicI appreciate the help guys!
23:06.10Jrzok
23:06.10majicit's working now, it was the stupid '.' I put in my path
23:07.06Chocolate_Thunda/server irc.freenode.net
23:28.12loquacewhat is the default user for tomcat administration and manager ?
23:28.44loquaceis it admin?
23:31.00JrzYou must add it manually
23:31.08Jrzin tomcat-users.xml  for security reasons
23:31.44loquacehooo
23:31.45loquaceyes
23:31.50loquaceI can remember now
23:31.53loquacethx
23:32.13loquaceyou know, I started to learn java and tomcat and everything few years ago
23:32.20loquacebut things come and go
23:32.22loquace:)
23:32.34loquacebusiness and cusstomers too
23:32.49Jrzhehe
23:32.53loquaceJrz,
23:33.02loquacewhat can you advice as a start for me
23:33.14loquaceI am already a web developper
23:33.19Jrzwhat do you mean?
23:33.23loquaceI use OO
23:33.32loquaceobject programing
23:33.44loquaceI use php, apache etc
23:33.53loquacebut I d like to go further with java
23:34.03loquaceI have a big big book
23:34.12loquaceI jave netbean installed
23:34.17loquaceIhave
23:34.55loquacedo you think that I should start by a standard app ?
23:35.01loquacewith swing etc
23:35.01JrzI think first JSP, then try some servlets, after that  do some jdbc... after that, ejb/hibernate/spring stuff is fun..
23:35.19Jrzif you're going to create webapps, there's no need to learn swing
23:35.27loquaceno no
23:35.42loquacefor web app I use php but I coul also learn jsp of course
23:36.02loquaceI'd like to learn how to make mobile phone app for exemple
23:36.08Jrzby creating simple stuff in JSP, you'll also learn the java libraries (java.lang/util/io)
23:36.09Jrzah right
23:36.27loquacehum ok
23:36.34JrzI don't know if netbeans comes with nice stuff for j2me (java mobile)
23:36.40JrzI use eclipse + eclipseme
23:36.56loquaceso as I already now many many about databases I will for sure, try to connect with db's :)
23:37.07loquacehum ok
23:37.16loquaceI heard about eclipse
23:37.33JrzYou should read some tutorials about midp / j2me then...
23:37.34loquaceI think that netbean will be a good start
23:37.46loquacemidp ?
23:38.03Jrztastes differ :)  I used to do stuff in Visual J++, because there was no ide I liked :D
23:38.19loquaceod course
23:38.30loquaceno I mean that it may be a good start to learn
23:38.35loquacestaing by jsp etc
23:38.55loquaceand then if I need to change to go further, I will
23:39.05loquacestaing /starting
23:39.19JrzI think so, because you already know php... so you can try to convert a project to jsp, get to know about Iterators and als that stuff..
23:39.21loquaceI tested Jbuilder too
23:39.37loquacehum ok
23:39.55loquaceI think that I will begin by getting forms info :))
23:40.02loquacethat will help :)
23:40.06loquacelol
23:41.09loquaceok thank you Jrz
23:41.12loquace:)
23:41.54Jrznp
23:41.56Jrzhave fun :D
23:42.19JrzWTK (for mobile java) comes with some sample code
23:42.45JrzThe nokia SDK is maybe better.. Also Sony ericsson's sdk is nice..
23:45.04Chocolate_Thundathank you i will try
23:45.10loquacehumm oki
23:45.19loquacei will start smaller
23:45.22loquace:)

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.