IRC log for #tomcat on 20081121

00:45.16*** join/#tomcat roadt (n=roadt@61.191.27.34)
00:55.54*** join/#tomcat karstensrage (n=karstens@76.21.8.74)
01:14.13*** join/#tomcat kanai (n=kanai@124.32.114.226)
01:45.46*** join/#tomcat smkeesle (n=smkeesle@h43.147.40.69.dynamic.ip.windstream.net)
01:48.08smkeesletrying to understand how to front tomcat 5.5.27 with Apache/2.2.3 (CentOS) w/ mod_proxy.
01:53.56smkeesleI added a proxyport to my tomcat server.xml file:
01:53.57smkeesle<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->    <Connector port="8080" maxHttpHeaderSize="8192"               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"               enableLookups="false" redirectPort="8443" acceptCount="100"               connectionTimeout="20000" disableUploadTimeout="true"               proxyPort="80" proxyName="osp.threecanoes.com"/>
01:54.59smkeesleand added and added proxy directives to my apache conf;
01:55.00smkeesle<VirtualHost *:80>
01:55.01smkeesle<PROTECTED>
01:55.01smkeesle<PROTECTED>
01:55.01smkeesle<PROTECTED>
01:55.01smkeesle<PROTECTED>
01:55.02smkeesle<PROTECTED>
01:55.04smkeesle</VirtualHost>
01:56.01smkeesleyes...grr
01:59.00smkeesleport 8080 on all of that...not 8089
01:59.14smkeesleapache error_log:
01:59.14smkeesle[Thu Nov 20 20:58:31 2008] [error] [client 66.90.118.110] client denied by server configuration: proxy:http://localhost:8080/, referer: http://osp.threecanoes.com/
02:47.37*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
03:37.22*** join/#tomcat gantu (n=gantu@89.237.242.202)
03:49.15*** join/#tomcat MHSL (i=Linux@cm23.eta6.maxonline.com.sg) [NETSPLIT VICTIM]
03:49.15*** join/#tomcat Mage_ (n=julien@rivendell.vub.ac.be) [NETSPLIT VICTIM]
03:49.15*** join/#tomcat skoude (n=skoude@195.74.17.190) [NETSPLIT VICTIM]
03:49.49*** join/#tomcat jasonb_ (n=jasonb@adsl-99-188-165-230.dsl.pltn13.sbcglobal.net)
03:51.44*** join/#tomcat Hellaenergy_ (n=Hellaene@c-75-72-181-160.hsd1.mn.comcast.net)
04:18.16*** join/#tomcat acidjnk (i=acid@pD950A0EA.dip0.t-ipconnect.de)
04:37.05*** part/#tomcat jebblue (n=jebblue@cpe-70-113-74-190.austin.res.rr.com)
05:42.09*** join/#tomcat bindaas (n=chatzill@59.94.103.69)
05:51.04*** join/#tomcat dvayanu (n=another@ppp-88-217-62-158.dynamic.mnet-online.de)
06:00.21*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
06:58.58*** join/#tomcat gantu (n=gantu@89.237.242.202)
08:00.41*** join/#tomcat jfclere (n=jfclere@57.79.66.141)
08:08.18*** join/#tomcat bartlm (n=bartlm+@p54918DBA.dip0.t-ipconnect.de)
08:08.24bartlmHi there
08:10.53bartlmAnybody can help me out with my first steps using tomcat?
08:18.55*** join/#tomcat bindaas (n=chatzill@59.94.103.69)
08:19.52bartlmHi to everybody
08:22.07bartlmIf im trying to call my test.jsp in my browser, i cant see nothing. No error, just a plain white page
08:22.25bartlmAnybody got any hint where i could start looking?
08:36.51bartlmNobody on who can help me out?
09:27.22*** join/#tomcat a4akba (n=chatzill@78.89.206.97)
10:02.06*** join/#tomcat gantu (n=gantu@89.237.242.202)
10:24.17*** join/#tomcat SpunkMeYeR (n=asd@203.128.89.44)
10:32.29SpunkMeYeRhi all
10:32.35SpunkMeYeRi'm using tomcat 5
10:32.59SpunkMeYeRjava version jdk-6u7-linux-i586
10:33.05SpunkMeYeROS centos 5.2
10:33.18SpunkMeYeRi having problem start up tomcat5 service
10:33.57SpunkMeYeRthis is the message when i try to startup tomcat5
10:33.58SpunkMeYeRlock file found but no process running for pid 11542
10:34.06SpunkMeYeRany suggestion ?
10:39.24SpunkMeYeRkindly check this too for more information : http://pastebin.com/m7f8461bc
10:41.10deeboyou ahve a lock file but no process
10:41.48SpunkMeYeRhow to make things correct deebo?
10:44.38deebodelete the lock file?
10:45.32SpunkMeYeRwell, i'm new to java.. could you tell me where is the lock file?
10:45.43deeboprobably under /tmp/
10:46.05deeboits nto java specific, its a way daemon processes can be "monitored"
10:47.21SpunkMeYeRwell.. there is alot of file in /tmp/ im not sure what file to delete
10:53.56gantudeebo: according to your error you path to java is not set correctly
10:55.11gantuSpunkMeYeR: according to your error you path to java is not set correctly
10:56.13SpunkMeYeRok, gantu... how can i fix it??
10:56.39SpunkMeYeRthis is my JAVA_HOME directory : /usr/java/default
10:57.02SpunkMeYeRbut i cannot find my CATALINA_HOME directory, is that a problem?
10:57.07gantucould you paste into pastebin your tomcat file which is /etc/init.d/
10:57.31SpunkMeYeRok... wait a sec.
11:02.19SpunkMeYeRdone.. this is the link : http://pastebin.com/m25eb004d
11:05.57bartlmHi there
11:06.07SpunkMeYeRhi bartlm
11:06.08bartlmIm using tomcat 6.0.18
11:06.34bartlmAnd looking for a very simple way to test if things are all setup properly
11:06.52bartlmIf im doing a file test.jsp which is like
11:07.05bartlm<%= new java.util.Date() %>
11:07.13bartlmWhat should happen?
11:07.52bartlmIf i call this page in my browser...
11:08.16bartlmMy screen shows exactly the command above...
11:08.48bartlmIve set JAVA_HOME to sun-jdk-1.5.0.16
11:09.46*** join/#tomcat gantu (n=gantu@89.237.242.202)
11:09.49bartlmCould anybody please give me any hint where i can start looking whats wrong?
11:12.13gantuSpunkMeyer: Non of your $JAVA_HOME and $CATALINA_HOME is not set in ypur script
11:12.56gantuSpunkMeyer: did you set those things on your .bashrc or /etc/profile ?
11:14.07SpunkMeYeRno gantu..
11:17.12SpunkMeYeRgantu, could you check this site : http://metanav.uninett.no/installingoncentos5
11:17.34SpunkMeYeRall configuration is in that link
11:18.28bartlmseems like <% ... %> is completly ignored
11:19.57bartlmReally nobody got any hint?
11:20.40SpunkMeYeRi'm sorry bartlm, but i cannot help you
11:21.49bartlmbut <%= new java.util.Date() %> should display the current date, right?
11:24.29SpunkMeYeRdid you already try a different kind of format??
11:25.54*** join/#tomcat cancerbero_sgx (n=chatzill@r200-125-1-16-dialup.adsl.anteldata.net.uy)
11:27.17bartlmjust went to the tutorials i found.
11:27.22bartlmwhat format could i use?
11:27.34gantunow SpunkMeYer: you must set all these things manually then
11:28.52*** join/#tomcat bindaas (n=chatzill@59.94.106.152)
11:30.20SpunkMeYeRso gantu, i just need add $JAVA_HOME and $CATALINA_HOME in /etc/init.d/tomcat5
11:30.20SpunkMeYeRis that what you mean?
11:30.30SpunkMeYeRif i do : echo $CATALINA_HOME , the result is empty
11:30.42SpunkMeYeRwhat is that mean gantu??
11:30.48gantuso it means it is nor set
11:31.02gantuwhich user is running tomcat
11:31.27MHSL<bartlm> My screen shows exactly the command above... -> are you sure you're sending your request to tomcat instead of apache?
11:31.39ganturoot or any other user?
11:31.59SpunkMeYeRroot
11:32.07bartlmwell apache is installed with mod_proxy_ajp
11:32.16bartlmand should pass the page to tomcat
11:32.37MHSLbartlm, it doesnt seem to do that
11:32.56MHSLbartlm, since as you said above that you got <%= new java.util.Date() %> printed out instead of the actual result
11:33.16bartlmMHSL, yes thats what i got
11:33.16gantuit is not recommended but anyway try to this than
11:33.32gantuopen /etc/profile
11:33.36bartlmlets continue this in about an hour
11:33.44bartlmafk for now
11:33.46MHSLbartlm, post your mod_proxy_ajp configuration
11:34.13SpunkMeYeRok, gantu.. what should i do next?
11:34.43gantuadd at the end of this file following lines
11:36.17gantu<PROTECTED>
11:36.31gantuCATALINA_HOME=<tomcat location>
11:36.54SpunkMeYeRis that all gantu??
11:37.28gantuexport $PATH:$JAVA_HOME:$CATALINA_HOME
11:38.11*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
11:39.17SpunkMeYeRok.. i already add it
11:39.37SpunkMeYeRbut when i try to restart tomcat5, there is some error show up
11:40.21gantuwait a minute
11:40.29SpunkMeYeRok gantu
11:40.49gantuecho $JAVA_HOME and $CATALINA_HOME ? what it is showing?>
11:41.10SpunkMeYeR/usr/java/default and
11:41.40SpunkMeYeR$CATALINE_HOME is not listed
11:44.02gantuSpunkMeYer: remove everything which you hav written into /etc/profile
11:44.15gantutry this script
11:44.36SpunkMeYeRdone removing...
11:47.11gantuhttp://pastebin.com/d64912a11
11:47.31SpunkMeYeRchecking now..
11:47.50gantuinto your /etc/init.d/tomcat5 script you must write these things
11:48.26gantuchange your java path and tomcat paths into the paths which are in your workstation
11:48.30gantuis it clear?
11:49.10SpunkMeYeRok.. i'm checking on it
11:49.13SpunkMeYeRthanks gantu..
11:50.13gantuand check this http://linux-sxs.org/internet_serving/c140.html
11:50.39gantu;no probs
11:56.08*** join/#tomcat Numerajos (n=Topito@212.64.176.54)
11:57.19NumerajosGreetings... I'm trying to use valves only for an application... I'm trying to add this: <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="93.*"/> in the file /usr/share/tomcat5/webapps/jsp-examples/META-INF/context.xml
11:57.41Numerajosbut ips from 93.* can still access to jsp-examples
11:57.46Numerajoswhat am I doing wrong?
12:00.02NumerajosUsing tomcat 5.5.26 on Linux machine
12:02.03Numerajosno ideas? :)
12:02.22SpunkMeYeRgantu..
12:02.54SpunkMeYeRi script i found startup.sh and shutdown.sh
12:03.14SpunkMeYeRi try to locate that in my machine, but nothing found
12:04.18gantuSpunkMeYeR; keep it simple
12:05.13gantuIs java and tomcat installed on your machine?
12:05.22SpunkMeYeRyes..
12:06.42*** join/#tomcat Shema (n=chatzill@161.Red-213-96-174.staticIP.rima-tde.net)
12:06.46gantuthan there is only one thing to do it is to set your JAVA_HOME and CATALINA_HOME into your environments thats' all
12:07.56*** join/#tomcat Shema (n=chatzill@161.Red-213-96-174.staticIP.rima-tde.net)
12:09.13*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
12:15.46SpunkMeYeRthanks again gantu.. i got a go..
12:25.48*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
12:38.44bartlmMHSL, Im back now
12:39.04bartlmLooking for the mod_proxy_ajp config
12:42.11*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
13:14.34*** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net)
13:23.43*** join/#tomcat Hellaenergy_ (n=Hellaene@c-75-72-181-160.hsd1.mn.comcast.net)
13:32.46*** join/#tomcat apelW (n=metaltux@62.209.163.98)
13:33.44*** join/#tomcat apelW (n=metaltux@62.209.163.98)
13:45.16*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
13:53.21*** join/#tomcat tom17bombadil (n=tom@T1f9c.t.pppool.de)
14:03.56*** join/#tomcat jfclere (n=jfclere@57.79.66.141)
14:13.19bartlmMHSL, are you still on?
14:17.56bartlmOr anybody else who can help with mod_proxy_ajp?
14:54.48*** join/#tomcat cynicaljoy (n=cynicalj@li46-91.members.linode.com)
14:59.43cynicaljoyI just just installed tomcat5.5 on debian and no matter what I go to on htp://localhost:8180/ all I get is a white page: Tomcat 5.5-20, JRE 6, debian etch
15:02.15MHSLbartlm, post your config
15:02.27MHSLcynicaljoy, where did you get tomcat?
15:14.22cynicaljoyMHSL: I used apt
15:15.32MHSLcynicaljoy, if you're a newbie, use the binary package from tomcat website instead
15:20.10cynicaljoyI read the topic, I want to use the package management that I have. It is compiled fine, the server starts/stops fine, everything seems to be configured correctly with the exception of the white pages. The odd thing is that I don't see any output in the catalina.out
15:20.14*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
15:23.01*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
15:26.48MHSLcynicaljoy, ok, just make sure you have ROOT webapp
15:27.19MHSLobviously it's not configured correctly, because you got a blank page when you tried to access the default webapp
15:28.04cynicaljoydoh! thanks MHSL
15:28.10MHSLok
15:51.45*** join/#tomcat jasonb (n=jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
16:12.12*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-e1b32d6349fa2c2e)
16:22.33*** part/#tomcat _sho_ (n=eclark28@204.153.78.227)
16:25.34*** join/#tomcat bindaas (n=chatzill@59.94.104.29)
17:15.08*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
18:14.32*** join/#tomcat tom17bombadil (n=tom@T1f9c.t.pppool.de)
18:27.56*** join/#tomcat gwtUser (n=chatzill@wsip-68-14-222-17.ph.ph.cox.net)
18:43.35*** join/#tomcat a4akba (n=chatzill@78.89.206.97)
19:35.40*** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
19:42.15*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70)
19:50.14*** join/#tomcat da_krowa (n=Miranda@chello089077099221.chello.pl)
20:37.51vitanHi guys...I am running tomcat6.0.18 java1.6 on winxp.... I setup a tomcat cluster with two nodes ( tomcat1 and tomcat 2)...there is a Hardware load balancer before them... it looks like sessions are getting replicated but when I bring down one of the tomcats the other one kicks out the user and does not serve that session...any Idea why this is happening...thanks for your help
20:39.04vitanAlso, I am monitoring tomcats with JCONSOLE and it looks like the sessions are getting replicated...So, I have no clue why the other tomcat is kicking out the user...Any help is appreciated...thanks
21:04.34*** join/#tomcat jebblue (n=jebblue@cpe-70-113-74-190.austin.res.rr.com)
21:13.54*** join/#tomcat roue (n=roue@75-134-153-46.dhcp.roch.mn.charter.com)
21:25.54*** join/#tomcat aFlag (n=r00t@189.107.137.13)
21:27.11aFlagI think I read somewhere that you can somehow pass some config options to the servlet when you're to deploy it, where can I read about that stuff?
22:09.26*** part/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu)
22:10.33*** join/#tomcat Walex (n=Walex@82-69-39-138.dsl.in-addr.zen.co.uk)
22:17.29*** join/#tomcat Internat (n=nf@114.72.231.90)
22:21.27aFlagok, I think I found it. But the way I found it you have to do put the init parameters inside <servlet></servlet> tags. How do I do that for JSP files?
22:51.22aFlagI found instructions on the web to do something like this: http://rafb.net/p/uGe8rA16.html but the mapping makes tomcat unable to load the application. The manager says: FAIL - Encountered exception java.lang.IllegalStateException: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/brh] has not been started
22:55.04*** join/#tomcat internat1 (n=nf@114.72.173.28)
23:16.51*** part/#tomcat jebblue (n=jebblue@cpe-70-113-74-190.austin.res.rr.com)
23:21.57*** join/#tomcat ibot (i=ibot@rikers.org)
23:21.57*** topic/#tomcat is Topic for #tomcat is: Stable versions: 6.0.18, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers...
23:54.08*** join/#tomcat dvayanu (n=another@p54BEC1B8.dip.t-dialin.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.