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.08 | smkeesle | trying to understand how to front tomcat 5.5.27 with Apache/2.2.3 (CentOS) w/ mod_proxy. |
01:53.56 | smkeesle | I added a proxyport to my tomcat server.xml file: |
01:53.57 | smkeesle | <!-- 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.59 | smkeesle | and added and added proxy directives to my apache conf; |
01:55.00 | smkeesle | <VirtualHost *:80> |
01:55.01 | smkeesle | <PROTECTED> |
01:55.01 | smkeesle | <PROTECTED> |
01:55.01 | smkeesle | <PROTECTED> |
01:55.01 | smkeesle | <PROTECTED> |
01:55.02 | smkeesle | <PROTECTED> |
01:55.04 | smkeesle | </VirtualHost> |
01:56.01 | smkeesle | yes...grr |
01:59.00 | smkeesle | port 8080 on all of that...not 8089 |
01:59.14 | smkeesle | apache error_log: |
01:59.14 | smkeesle | [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.24 | bartlm | Hi there |
08:10.53 | bartlm | Anybody can help me out with my first steps using tomcat? |
08:18.55 | *** join/#tomcat bindaas (n=chatzill@59.94.103.69) |
08:19.52 | bartlm | Hi to everybody |
08:22.07 | bartlm | If im trying to call my test.jsp in my browser, i cant see nothing. No error, just a plain white page |
08:22.25 | bartlm | Anybody got any hint where i could start looking? |
08:36.51 | bartlm | Nobody 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.29 | SpunkMeYeR | hi all |
10:32.35 | SpunkMeYeR | i'm using tomcat 5 |
10:32.59 | SpunkMeYeR | java version jdk-6u7-linux-i586 |
10:33.05 | SpunkMeYeR | OS centos 5.2 |
10:33.18 | SpunkMeYeR | i having problem start up tomcat5 service |
10:33.57 | SpunkMeYeR | this is the message when i try to startup tomcat5 |
10:33.58 | SpunkMeYeR | lock file found but no process running for pid 11542 |
10:34.06 | SpunkMeYeR | any suggestion ? |
10:39.24 | SpunkMeYeR | kindly check this too for more information : http://pastebin.com/m7f8461bc |
10:41.10 | deebo | you ahve a lock file but no process |
10:41.48 | SpunkMeYeR | how to make things correct deebo? |
10:44.38 | deebo | delete the lock file? |
10:45.32 | SpunkMeYeR | well, i'm new to java.. could you tell me where is the lock file? |
10:45.43 | deebo | probably under /tmp/ |
10:46.05 | deebo | its nto java specific, its a way daemon processes can be "monitored" |
10:47.21 | SpunkMeYeR | well.. there is alot of file in /tmp/ im not sure what file to delete |
10:53.56 | gantu | deebo: according to your error you path to java is not set correctly |
10:55.11 | gantu | SpunkMeYeR: according to your error you path to java is not set correctly |
10:56.13 | SpunkMeYeR | ok, gantu... how can i fix it?? |
10:56.39 | SpunkMeYeR | this is my JAVA_HOME directory : /usr/java/default |
10:57.02 | SpunkMeYeR | but i cannot find my CATALINA_HOME directory, is that a problem? |
10:57.07 | gantu | could you paste into pastebin your tomcat file which is /etc/init.d/ |
10:57.31 | SpunkMeYeR | ok... wait a sec. |
11:02.19 | SpunkMeYeR | done.. this is the link : http://pastebin.com/m25eb004d |
11:05.57 | bartlm | Hi there |
11:06.07 | SpunkMeYeR | hi bartlm |
11:06.08 | bartlm | Im using tomcat 6.0.18 |
11:06.34 | bartlm | And looking for a very simple way to test if things are all setup properly |
11:06.52 | bartlm | If im doing a file test.jsp which is like |
11:07.05 | bartlm | <%= new java.util.Date() %> |
11:07.13 | bartlm | What should happen? |
11:07.52 | bartlm | If i call this page in my browser... |
11:08.16 | bartlm | My screen shows exactly the command above... |
11:08.48 | bartlm | Ive set JAVA_HOME to sun-jdk-1.5.0.16 |
11:09.46 | *** join/#tomcat gantu (n=gantu@89.237.242.202) |
11:09.49 | bartlm | Could anybody please give me any hint where i can start looking whats wrong? |
11:12.13 | gantu | SpunkMeyer: Non of your $JAVA_HOME and $CATALINA_HOME is not set in ypur script |
11:12.56 | gantu | SpunkMeyer: did you set those things on your .bashrc or /etc/profile ? |
11:14.07 | SpunkMeYeR | no gantu.. |
11:17.12 | SpunkMeYeR | gantu, could you check this site : http://metanav.uninett.no/installingoncentos5 |
11:17.34 | SpunkMeYeR | all configuration is in that link |
11:18.28 | bartlm | seems like <% ... %> is completly ignored |
11:19.57 | bartlm | Really nobody got any hint? |
11:20.40 | SpunkMeYeR | i'm sorry bartlm, but i cannot help you |
11:21.49 | bartlm | but <%= new java.util.Date() %> should display the current date, right? |
11:24.29 | SpunkMeYeR | did 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.17 | bartlm | just went to the tutorials i found. |
11:27.22 | bartlm | what format could i use? |
11:27.34 | gantu | now SpunkMeYer: you must set all these things manually then |
11:28.52 | *** join/#tomcat bindaas (n=chatzill@59.94.106.152) |
11:30.20 | SpunkMeYeR | so gantu, i just need add $JAVA_HOME and $CATALINA_HOME in /etc/init.d/tomcat5 |
11:30.20 | SpunkMeYeR | is that what you mean? |
11:30.30 | SpunkMeYeR | if i do : echo $CATALINA_HOME , the result is empty |
11:30.42 | SpunkMeYeR | what is that mean gantu?? |
11:30.48 | gantu | so it means it is nor set |
11:31.02 | gantu | which user is running tomcat |
11:31.27 | MHSL | <bartlm> My screen shows exactly the command above... -> are you sure you're sending your request to tomcat instead of apache? |
11:31.39 | gantu | root or any other user? |
11:31.59 | SpunkMeYeR | root |
11:32.07 | bartlm | well apache is installed with mod_proxy_ajp |
11:32.16 | bartlm | and should pass the page to tomcat |
11:32.37 | MHSL | bartlm, it doesnt seem to do that |
11:32.56 | MHSL | bartlm, since as you said above that you got <%= new java.util.Date() %> printed out instead of the actual result |
11:33.16 | bartlm | MHSL, yes thats what i got |
11:33.16 | gantu | it is not recommended but anyway try to this than |
11:33.32 | gantu | open /etc/profile |
11:33.36 | bartlm | lets continue this in about an hour |
11:33.44 | bartlm | afk for now |
11:33.46 | MHSL | bartlm, post your mod_proxy_ajp configuration |
11:34.13 | SpunkMeYeR | ok, gantu.. what should i do next? |
11:34.43 | gantu | add at the end of this file following lines |
11:36.17 | gantu | <PROTECTED> |
11:36.31 | gantu | CATALINA_HOME=<tomcat location> |
11:36.54 | SpunkMeYeR | is that all gantu?? |
11:37.28 | gantu | export $PATH:$JAVA_HOME:$CATALINA_HOME |
11:38.11 | *** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net) |
11:39.17 | SpunkMeYeR | ok.. i already add it |
11:39.37 | SpunkMeYeR | but when i try to restart tomcat5, there is some error show up |
11:40.21 | gantu | wait a minute |
11:40.29 | SpunkMeYeR | ok gantu |
11:40.49 | gantu | echo $JAVA_HOME and $CATALINA_HOME ? what it is showing?> |
11:41.10 | SpunkMeYeR | /usr/java/default and |
11:41.40 | SpunkMeYeR | $CATALINE_HOME is not listed |
11:44.02 | gantu | SpunkMeYer: remove everything which you hav written into /etc/profile |
11:44.15 | gantu | try this script |
11:44.36 | SpunkMeYeR | done removing... |
11:47.11 | gantu | http://pastebin.com/d64912a11 |
11:47.31 | SpunkMeYeR | checking now.. |
11:47.50 | gantu | into your /etc/init.d/tomcat5 script you must write these things |
11:48.26 | gantu | change your java path and tomcat paths into the paths which are in your workstation |
11:48.30 | gantu | is it clear? |
11:49.10 | SpunkMeYeR | ok.. i'm checking on it |
11:49.13 | SpunkMeYeR | thanks gantu.. |
11:50.13 | gantu | and check this http://linux-sxs.org/internet_serving/c140.html |
11:50.39 | gantu | ;no probs |
11:56.08 | *** join/#tomcat Numerajos (n=Topito@212.64.176.54) |
11:57.19 | Numerajos | Greetings... 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.41 | Numerajos | but ips from 93.* can still access to jsp-examples |
11:57.46 | Numerajos | what am I doing wrong? |
12:00.02 | Numerajos | Using tomcat 5.5.26 on Linux machine |
12:02.03 | Numerajos | no ideas? :) |
12:02.22 | SpunkMeYeR | gantu.. |
12:02.54 | SpunkMeYeR | i script i found startup.sh and shutdown.sh |
12:03.14 | SpunkMeYeR | i try to locate that in my machine, but nothing found |
12:04.18 | gantu | SpunkMeYeR; keep it simple |
12:05.13 | gantu | Is java and tomcat installed on your machine? |
12:05.22 | SpunkMeYeR | yes.. |
12:06.42 | *** join/#tomcat Shema (n=chatzill@161.Red-213-96-174.staticIP.rima-tde.net) |
12:06.46 | gantu | than 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.46 | SpunkMeYeR | thanks again gantu.. i got a go.. |
12:25.48 | *** join/#tomcat Orphis (n=quassel@belgarath.moomoocamp.net) |
12:38.44 | bartlm | MHSL, Im back now |
12:39.04 | bartlm | Looking 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.19 | bartlm | MHSL, are you still on? |
14:17.56 | bartlm | Or anybody else who can help with mod_proxy_ajp? |
14:54.48 | *** join/#tomcat cynicaljoy (n=cynicalj@li46-91.members.linode.com) |
14:59.43 | cynicaljoy | I 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.15 | MHSL | bartlm, post your config |
15:02.27 | MHSL | cynicaljoy, where did you get tomcat? |
15:14.22 | cynicaljoy | MHSL: I used apt |
15:15.32 | MHSL | cynicaljoy, if you're a newbie, use the binary package from tomcat website instead |
15:20.10 | cynicaljoy | I 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.48 | MHSL | cynicaljoy, ok, just make sure you have ROOT webapp |
15:27.19 | MHSL | obviously it's not configured correctly, because you got a blank page when you tried to access the default webapp |
15:28.04 | cynicaljoy | doh! thanks MHSL |
15:28.10 | MHSL | ok |
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.51 | vitan | Hi 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.04 | vitan | Also, 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.11 | aFlag | I 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.27 | aFlag | ok, 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.22 | aFlag | I 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) |