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.37 | Dony | Guys.. 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.15 | Dony | hello?? |
00:42.30 | Dony | Is this channel related to Tomcat webserver?? |
00:42.37 | Dony | Or some thing else? |
00:43.17 | DominicB_ | put it into webapps/ROOT/ if it is just a single document |
00:45.46 | Dony | after putting that file there, do I need restart the server? |
00:47.19 | DominicB_ | I don't know. Try it ;) |
00:48.19 | Dony | that'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.55 | DominicB_ | well I suggested to try accessing the file before restarting the server ;) |
00:50.10 | Dony | didn't work.. |
00:50.38 | Dony | so..any options without restartig it.. like sending some Sigal to that process? |
00:50.43 | Dony | signal |
00:52.28 | loquace | ++ |
00:52.35 | DominicB_ | http://localhost:8080/manager/html/reload?path=/ |
00:52.50 | DominicB_ | this reloads the root context |
00:56.26 | DominicB_ | 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.13 | Dony | I tried that URL ..but nothing happens.. I did use the IP address in place of localhost. |
01:01.06 | Dony | Never mind.. I did restart the Catalina after asking the folks here and it works.. Thanks |
01:01.16 | DominicB_ | np |
01:13.30 | Dony | I 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.37 | Dony | I mean it's a plain text file.. |
01:16.23 | DominicB_ | maybe it is a mime encoding problem |
01:16.43 | sund | no, thats the way it supposed to display text |
01:17.05 | sund | html format is not same as your regular ascii file |
01:17.56 | Dony | not 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.29 | Dony | "linux ks=http://...../ks.cfg" |
01:19.06 | sund | you 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.24 | Dony | The 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.56 | DominicB_ | I guess it is a better idea to change the mime encoding |
01:22.10 | sund | that would be same isnt it when you put that on an apache..text are just displayed without any formatting? |
01:22.12 | DominicB_ | http://www.germanxml.de/install/cocoon/files/tomcat_web.html has examples |
01:22.33 | Dony | They 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.13 | sund | thats how my tomcat displays text file, no translation of linefeed |
01:23.34 | sund | so you need convert the file |
01:24.09 | Dony | What if I configure httpd and try access via URL, does it display the file with no NewLines? |
01:24.24 | DominicB_ | Dony: maybe you don't need to change anything |
01:24.34 | Dony | Yes.. |
01:24.38 | DominicB_ | I mean, you want this kickstart to read the files. not your browser |
01:25.09 | DominicB_ | you can try fetching the file with wget and see, whether the line encodings are as you want them to be |
01:25.29 | Dony | I 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.59 | Dony | I want the Anaconda install program to read this File.. |
01:27.16 | Dony | Dominic.. you are just smart!! I tried wget and it wroked fine.. |
01:27.34 | Dony | worked fine! |
01:27.38 | DominicB_ | cool |
01:28.15 | Dony | I rarely see the web experts have other domain expertise too.. |
01:28.29 | Dony | you 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.55 | WarCAT | how 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.11 | elah | Howdy. 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.19 | elah | Any ideas why? |
03:52.54 | elah | I'm using the jsp usebean tag, when I take that out, the page runs fine. |
04:01.00 | elah | Any 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.12 | loquace | lo |
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.53 | graham | are many people here using tomcat's clustering in production environments? |
11:36.29 | graham | i'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.48 | dunc_ | 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.35 | Jrz | Hi |
13:13.33 | Jrz | I 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.08 | Jrz | I'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.38 | Jrz | is everyone sleeping or soemthing |
13:20.53 | a4akb | yes |
13:20.55 | dunc_ | me too |
13:20.57 | a4akb | dont u know its weekend |
13:21.00 | dunc_ | :) |
13:21.41 | Jrz | If 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.12 | Jrz | a4akb, are you in asia? |
13:23.52 | Jrz | basically, 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.34 | a4akb | Jrz: 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.45 | Griffjon | Anyone 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.54 | Griffjon | everything 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.05 | Griffjon | If 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.22 | harpoon | hi |
17:25.45 | superx | re |
17:31.52 | *** join/#tomcat superx (~pulahti@seneca.hut.fi) |
17:32.05 | superx | join #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.01 | beron | hi, 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.24 | InsomniaCity | Hi, 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.02 | majic | I 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.20 | majic | version 5.5.7 |
22:14.02 | _zao_ | majic: he tells you where he tried to find setclasspath |
22:14.25 | majic | haha, yes the startup script was looking in the exact path where setclasspath lives |
22:15.51 | majic | if I run setclasspath.sh manually it tells me there is no BASEDIR defined |
22:16.32 | majic | the 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.16 | InsomniaCity | majic: 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.46 | majic | the RUNNING.TXT has barely anything in it. I've done everything it's said to do. |
22:23.50 | majic | InsomniaCity, welcome to IRC |
22:24.00 | sockmonk | did you define BASEDIR? |
22:24.17 | majic | the RUNNING.TXT does not say to define BASEDIR |
22:24.28 | sockmonk | it won't matter if startup.sh and setclasspath.sh are in the same dir if "." isn't in your PATH |
22:24.43 | majic | . is in my path |
22:24.53 | InsomniaCity | majic: lol, no, I'm not new to IRC... just this channel. |
22:24.54 | sockmonk | disclaimer: I know less than you do about tomcat; just making observations based in *nix |
22:25.48 | majic | InsomniaCity, I wasn't implying you were new |
22:26.12 | InsomniaCity | oooh... Ive got another question. Lets see if it gets answered.... |
22:26.45 | InsomniaCity | Why 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.18 | Jrz | InsomniaCity, are they the .java linenumbers? |
22:30.17 | InsomniaCity | oh! it turns it into Java before it compiles it doesn't it! |
22:30.42 | Jrz | yep.. but I'd sure like a JSP interpreter |
22:30.57 | InsomniaCity | Well.. I'm using the MyEclipse Workbench in Eclipse... |
22:31.03 | InsomniaCity | that would be a useful feature |
22:31.11 | Jrz | yes, but I mean on the server :) |
22:31.30 | Jrz | that 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.50 | majic | is there anything obscure you have to do to run Tomcat that is not listed in the RUNNING.txt file? |
22:46.15 | majic | I usually have the problems that nobody has ever encountered before =) |
22:49.00 | Jrz | what errors do you get, majic |
22:49.10 | majic | it says it can't find setclasspath.sh |
22:49.19 | majic | when I run startup.sh |
22:49.30 | Jrz | how do you run startup? |
22:49.42 | majic | just as the RUNNING.txt file describes |
22:49.53 | Jrz | hehe |
22:49.53 | majic | <PROTECTED> |
22:50.14 | majic | <PROTECTED> |
22:50.20 | majic | the jakarta bin dir is in my path |
22:50.48 | majic | I have j2sdk 1.5.0_01 installed |
22:54.26 | majic | maybe I got a bad download |
22:55.23 | majic | this is what I get when running startup.sh Cannot find .:/opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh |
22:55.33 | Jrz | ah.. |
22:55.43 | Jrz | check the +x bits maybe |
22:56.01 | *** join/#tomcat Chocolate_Thunda (type_Misma@cpc2-hitc3-3-0-cust216.lutn.cable.ntl.com) |
22:56.17 | majic | yeah I did that =) |
22:56.20 | majic | same result |
22:56.26 | borourke | ls /opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh |
22:56.32 | majic | it's there |
22:56.34 | majic | I can run it manually |
22:56.40 | AndHeSays | spelling problems? :) |
22:56.58 | majic | when I do an ls I get: /opt/jakarta-tomcat-5.5.7/bin/setclasspath.sh |
22:57.14 | Chocolate_Thunda | hi |
22:58.11 | Jrz | majic, so it is runnable? (+x bit set) ? are you running tomcat as a seperate user? |
22:58.22 | majic | it's runnable |
22:58.24 | Jrz | chown -R xxxx:yyyyy your tomcat |
22:58.26 | majic | I'm trying as root |
22:58.28 | Jrz | o |
22:58.31 | Chocolate_Thunda | ive 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.34 | majic | I tried it as a normal user |
22:58.49 | Chocolate_Thunda | but now when i compile i get FAIL - Invalid context path null was specified |
22:58.52 | Jrz | setclasspath.sh does not have a magic cookie here |
22:58.55 | borourke | echo $CATALINA_HOME |
22:59.13 | borourke | make sure there's no .: in front of the path |
22:59.13 | majic | borourke, .:/opt/jakarta-tomcat-5.5.7 |
22:59.28 | borourke | yeah. set CATALINA_HOME=/opt/jakarta-tomcat-5.5.7 |
22:59.40 | AndHeSays | export CATALINA_HOME |
23:00.03 | Jrz | emm why is .: in front of your var? |
23:00.44 | Jrz | it should set CATALINA_HOME when it's not set |
23:00.52 | Chocolate_Thunda | can anyone help please? |
23:00.57 | borourke | if that's explicitly said, it's a typo. The : is used to separate different elements of your PATH and CLASSPATH variables. |
23:00.58 | Jrz | # Only set CATALINA_HOME if not already set |
23:00.58 | Jrz | [ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." ; pwd` |
23:01.24 | AndHeSays | Chocolate_Thunda: you need to set a context path |
23:01.29 | Jrz | the symbolic name "$CATALINA_HOME" is used to refer to the full pathname of the release directory. |
23:01.33 | Chocolate_Thunda | in netbeans? |
23:01.54 | AndHeSays | Chocolate_Thunda: in tomcat |
23:01.59 | Chocolate_Thunda | im a bit new to apache - im trying to wean myself off MS |
23:02.19 | AndHeSays | Chocolate_Thunda: if you're using netbeans to drive tomcat from apache, you might need to check with a netbeans group |
23:02.26 | Jrz | Chocolate_Thunda, personally I like eclipse and intellij edea more than netbeans... |
23:02.32 | Jrz | edea = idea |
23:02.38 | majic | ok the "." in my CATALINA_HOME dir was doing it |
23:02.44 | Chocolate_Thunda | how do i set the context path in tomcat? |
23:02.44 | AndHeSays | from IDE i meant |
23:03.09 | Chocolate_Thunda | through the manager thing? |
23:03.46 | AndHeSays | that too |
23:03.52 | AndHeSays | dunno how you deploy your app |
23:04.27 | Chocolate_Thunda | netbeans does all the work but it only like the version it was bundled with it seems |
23:04.41 | Jrz | tomcat 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.42 | Chocolate_Thunda | which is a shame cos im a sucker for updates :) |
23:05.32 | Chocolate_Thunda | im sick of .NET so I am trying to get back to Java but its been a while |
23:05.48 | Jrz | basically I'd like to have X-virtualhosts, every virtualhost has a "shared/li&classes" dir, and every vhost has yyy webapps |
23:05.58 | majic | I appreciate the help guys! |
23:06.10 | Jrz | ok |
23:06.10 | majic | it's working now, it was the stupid '.' I put in my path |
23:07.06 | Chocolate_Thunda | /server irc.freenode.net |
23:28.12 | loquace | what is the default user for tomcat administration and manager ? |
23:28.44 | loquace | is it admin? |
23:31.00 | Jrz | You must add it manually |
23:31.08 | Jrz | in tomcat-users.xml for security reasons |
23:31.44 | loquace | hooo |
23:31.45 | loquace | yes |
23:31.50 | loquace | I can remember now |
23:31.53 | loquace | thx |
23:32.13 | loquace | you know, I started to learn java and tomcat and everything few years ago |
23:32.20 | loquace | but things come and go |
23:32.22 | loquace | :) |
23:32.34 | loquace | business and cusstomers too |
23:32.49 | Jrz | hehe |
23:32.53 | loquace | Jrz, |
23:33.02 | loquace | what can you advice as a start for me |
23:33.14 | loquace | I am already a web developper |
23:33.19 | Jrz | what do you mean? |
23:33.23 | loquace | I use OO |
23:33.32 | loquace | object programing |
23:33.44 | loquace | I use php, apache etc |
23:33.53 | loquace | but I d like to go further with java |
23:34.03 | loquace | I have a big big book |
23:34.12 | loquace | I jave netbean installed |
23:34.17 | loquace | Ihave |
23:34.55 | loquace | do you think that I should start by a standard app ? |
23:35.01 | loquace | with swing etc |
23:35.01 | Jrz | I think first JSP, then try some servlets, after that do some jdbc... after that, ejb/hibernate/spring stuff is fun.. |
23:35.19 | Jrz | if you're going to create webapps, there's no need to learn swing |
23:35.27 | loquace | no no |
23:35.42 | loquace | for web app I use php but I coul also learn jsp of course |
23:36.02 | loquace | I'd like to learn how to make mobile phone app for exemple |
23:36.08 | Jrz | by creating simple stuff in JSP, you'll also learn the java libraries (java.lang/util/io) |
23:36.09 | Jrz | ah right |
23:36.27 | loquace | hum ok |
23:36.34 | Jrz | I don't know if netbeans comes with nice stuff for j2me (java mobile) |
23:36.40 | Jrz | I use eclipse + eclipseme |
23:36.56 | loquace | so as I already now many many about databases I will for sure, try to connect with db's :) |
23:37.07 | loquace | hum ok |
23:37.16 | loquace | I heard about eclipse |
23:37.33 | Jrz | You should read some tutorials about midp / j2me then... |
23:37.34 | loquace | I think that netbean will be a good start |
23:37.46 | loquace | midp ? |
23:38.03 | Jrz | tastes differ :) I used to do stuff in Visual J++, because there was no ide I liked :D |
23:38.19 | loquace | od course |
23:38.30 | loquace | no I mean that it may be a good start to learn |
23:38.35 | loquace | staing by jsp etc |
23:38.55 | loquace | and then if I need to change to go further, I will |
23:39.05 | loquace | staing /starting |
23:39.19 | Jrz | I 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.21 | loquace | I tested Jbuilder too |
23:39.37 | loquace | hum ok |
23:39.55 | loquace | I think that I will begin by getting forms info :)) |
23:40.02 | loquace | that will help :) |
23:40.06 | loquace | lol |
23:41.09 | loquace | ok thank you Jrz |
23:41.12 | loquace | :) |
23:41.54 | Jrz | np |
23:41.56 | Jrz | have fun :D |
23:42.19 | Jrz | WTK (for mobile java) comes with some sample code |
23:42.45 | Jrz | The nokia SDK is maybe better.. Also Sony ericsson's sdk is nice.. |
23:45.04 | Chocolate_Thunda | thank you i will try |
23:45.10 | loquace | humm oki |
23:45.19 | loquace | i will start smaller |
23:45.22 | loquace | :) |