01:02.05 | *** join/#tomcat FreemaniaX (~Freemania@68.55.101.112) |
01:12.55 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
01:18.37 | *** join/#tomcat wass3r (wasser@astound-66-216-228-200.mn.astound.net) |
01:31.51 | *** join/#tomcat FreemaniaX (~Freemania@pcp0011117215pcs.elkrdg01.md.comcast.net) |
01:38.17 | *** part/#tomcat jhight (~josh@adsl-69-208-240-173.dsl.lgtpmi.ameritech.net) |
01:52.17 | *** join/#tomcat Bludlust (~bludlust@MTL-ppp-146778.qc.sympatico.ca) |
01:52.51 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
01:53.07 | Bludlust | do any of you know a good tutorial on how to setup different instances of tomcat on the same binary installation ? |
02:01.33 | *** join/#tomcat jhight (~jhight@adsl-69-208-240-173.dsl.lgtpmi.ameritech.net) |
02:17.51 | *** join/#tomcat kiorky_ (~kiorky@cryptelium.net) |
03:37.36 | *** join/#tomcat wass3r (wasser@astound-66-216-228-200.mn.astound.net) |
06:56.47 | *** join/#tomcat Valentin- (~jhiemer@62.40.10.39) |
06:56.56 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
06:57.39 | *** join/#tomcat joered (~chatter@213-140-6-118.fastres.net) |
07:01.52 | *** join/#tomcat harpoon (~harpoon@x53.vpn.hrz.tu-darmstadt.de) |
07:21.16 | *** join/#tomcat ohsix (ohsix@bc111222.bendcable.com) |
07:22.23 | *** join/#tomcat TheCraig (user@ec237-126-dhcp.colorado.edu) |
07:24.33 | TheCraig | Hey! |
07:24.44 | TheCraig | ANY TOMCAT EXPERTS AWAKE? |
07:24.51 | TheCraig | I could REALLY use some help!! |
07:32.46 | harpoon | Ask your question |
07:33.12 | harpoon | if anyone awake who is able to help , he will do |
07:33.18 | Valentin- | hehe |
07:33.25 | TheCraig | I've been successfully running tomcat on port 80/443 for a few weeks |
07:33.29 | TheCraig | using the jsvc script. |
07:33.34 | harpoon | if not, he will not |
07:33.41 | TheCraig | after restarting tomcat today |
07:34.10 | TheCraig | I've been getting plenty of errors about not being able to bind to 80. |
07:34.16 | TheCraig | This happens when I run the my tomcat5.sh script to lcaunch using jsvc. |
07:34.22 | TheCraig | and when I try to run as root. |
07:34.55 | TheCraig | netstat -lturn shows no other programs listening to port 80 or 443. |
07:35.19 | TheCraig | err, netstat -ltun, I mean. |
07:35.40 | harpoon | first it is a very stupid idea to run a webserver as root |
07:36.01 | TheCraig | I know. |
07:36.34 | TheCraig | I have to demo the project I've been working on tomorrow (later today, really). So, if that worked I would take the risk. :) |
07:38.36 | TheCraig | any other suggestions? |
07:41.21 | Valentin- | does anybody of you know any good wakeonlan tools for windows? |
08:40.25 | *** join/#tomcat loquace (~seb@aqu33-1-82-233-55-6.fbx.proxad.net) |
08:41.25 | loquace | lo |
08:41.35 | TheCraig | hey |
09:29.37 | *** join/#tomcat Beaky (~chatzilla@ncg-adsl.demon.co.uk) |
10:20.43 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
11:38.33 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
11:48.33 | *** join/#tomcat pucko_ (andreas@h56n2fls35o809.telia.com) |
11:53.19 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
12:26.14 | *** join/#tomcat timmeh (~tim@213-84-81-125.adsl.xs4all.nl) |
12:29.24 | *** join/#tomcat harpoon (stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
12:43.00 | *** join/#tomcat morgoth (ident@p50877F86.dip.t-dialin.net) |
12:43.01 | morgoth | hi |
12:43.41 | morgoth_ | Description The requested resource (/) is not available. |
12:43.47 | morgoth_ | which i get for all ressources. |
12:45.04 | morgoth_ | the web.xml of the application is correct, it has permissions to access the (custom) webapps directory |
12:52.47 | *** join/#tomcat Big_Bozz (~Big_Bozz@user-903.l6.c5.dsl.pol.co.uk) |
13:09.42 | *** join/#tomcat voidptr (ms@irc.dominance.net) |
13:10.08 | voidptr | Hi, does anyone here know what problems can occur with using a database as backend for tomcat authentication realm |
13:11.11 | voidptr | I've mentioned the problem I am encountering here: voidptr.sboost.org/tomcat-db.txt |
13:31.32 | *** join/#tomcat iq (~iq@70-59-167-100.omah.qwest.net) |
13:35.12 | *** join/#tomcat morgoth__ (ident@p50875EC1.dip.t-dialin.net) |
13:48.01 | *** join/#tomcat assdebuger (~assdebuge@200.162.38.66) |
14:00.38 | *** join/#tomcat joered (~chatter@213-140-6-118.fastres.net) |
14:25.43 | jasonb | voidptr: Configure your MySQL to output more verbose logs and see what it's saying about these authentication connections. You'll likely see what the problem is. |
14:44.45 | assdebuger | I'm getting some timeout problems with mod_jk 1.2.8 and tomcat |
14:45.12 | assdebuger | I got the timeout and connection settings to a low value, but it is starting a lot of connections with localhost. |
14:45.27 | assdebuger | And tomcat start slowing down the things to a state that can't serve any page. |
15:23.34 | *** join/#tomcat cilquirm (~Soda@65.246.162.129) |
15:26.05 | *** part/#tomcat bpalmer (~user@bpalmer.devel.sxemacs) |
15:55.41 | *** join/#tomcat HughWork__ (~Hugh@chinook.mxtelecom.com) |
16:01.18 | *** join/#tomcat Alexys (~Alexys@201.245.131.106) |
16:10.56 | *** join/#tomcat Valentin- (~jhiemer@pD9EA9E0B.dip0.t-ipconnect.de) |
16:29.26 | *** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
16:51.16 | *** join/#tomcat a4akb (a4akb@as35-b225.qualitynet.net) |
16:58.20 | *** join/#tomcat linuxfreck (~freck@fry.fmi.uni-passau.de) |
17:01.15 | *** join/#tomcat jasonb (noneoyerbi@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
17:24.10 | *** join/#tomcat FreemaniaPrime (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
18:00.32 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
18:26.33 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
18:35.47 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
18:37.55 | *** join/#tomcat Tilos (~tilos@c213-89-229-118.cm-upc.chello.se) |
18:40.13 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
19:11.39 | *** join/#tomcat FreemaniaX (~Freemania@ip67-153-106-58.z106-153-67.customer.algx.net) |
19:34.21 | *** join/#tomcat Valentin- (~jhiemer@pD9EA9A0B.dip0.t-ipconnect.de) |
19:54.03 | *** join/#tomcat russt (~rusty@c-24-8-7-236.hsd1.co.comcast.net) |
19:55.45 | russt | I have war file that I've loaded in to a context, but the catalina.out kssps telling me: "INFO: Missing application web.xml..." There is in fact a web.xml file inside the .war, inside the WEB-INF subdirectory. Any ideas on what the problem might be? |
20:22.14 | *** part/#tomcat iq (~iq@70-59-167-100.omah.qwest.net) |
20:25.28 | jasonb | ruust: What version of Tomcat, where did you get it, and how did you install it? |
20:26.04 | russt | jasonb, 5.5, from the Tomcat website, and I followed the procedures outlined on the website. |
20:26.16 | russt | jasonb, interestingly, if I unpack the war file, it works fine. |
20:26.23 | jasonb | russt: 5.5.what? |
20:26.48 | jasonb | russt: Which OS brand & version are you running this on? |
20:27.06 | russt | jasonb, Fedora core 1 |
20:27.19 | russt | jasonb, there is no dot after 5.5 |
20:27.41 | jasonb | russt: Yes, there is. |
20:27.41 | russt | jasonb, the release notes says 5.5, and that's it. |
20:28.03 | jasonb | russt: So what is the filename of the archive file you downloaded from the Tomcat web site? |
20:28.28 | russt | jasonb, oh sorry - it's 5.5.7 |
20:30.36 | jasonb | russt: You should not use 5.5.7. It had bugs, and quite possibly this is one of them. You should install 5.5.9 and continue. |
20:30.52 | russt | jasonb, ok, I will certainly do that. |
20:31.10 | Valentin- | jasonb: why does my log4jinit servlet not load, although it is registered with load-on-startup 1 in my web.xml? |
20:31.44 | jasonb | Valentin-: What do your logs say about it? |
20:32.49 | Valentin- | sec. wc |
20:34.29 | Valentin- | okay back |
20:37.40 | *** join/#tomcat Big_Bozz (~Big_Bozz@user-903.l6.c5.dsl.pol.co.uk) |
20:49.10 | russt | jasonb, I get the same error with 5.5.9. Not a showstopper right now, because I can just use the unpacked war. |
21:00.34 | jasonb | russt: Strange. |
21:01.07 | jasonb | russt: In the INFO message, does it specifically name your webapp? |
21:01.16 | jasonb | russt: Can you paste the full INFO line in here? |
21:01.34 | russt | jasonb, yes |
21:02.55 | russt | INFO: Missing application web.xml, using defaults only StandardEngine[Catalina].StandardHost[localhost].standardContext[/TestApp] |
21:06.48 | jasonb | russt: Is the part that says "StandardEngine ..." on the next line? Or, is it on the same text line as the INFO? |
21:07.48 | loquace | ++ all* |
21:08.02 | russt | jasonb, it looks like they're on separate lines, but I assumed because that was wrapping in the console. |
21:10.50 | jasonb | russt: This part matters. So, please figure that out. |
21:11.23 | russt | jasonb, I had to type it because it's on a different screen. I will log on to IRC from the other box and paste it. |
21:12.16 | jasonb | russt: I don't want you to paste it, I want you to figure out if it's only one line as opposed to two different lines / log messages. |
21:12.18 | *** join/#tomcat russt_ (~jheffner@c-24-8-7-236.hsd1.co.comcast.net) |
21:16.41 | russt | jasonb, it's definitely one line |
21:18.39 | jasonb | russt: Okay. |
21:19.30 | jasonb | russt: So what's the order of things you're doing here? 1) deploy the war file somehow? 2) start Tomcat, 3) see this message in the log file? |
21:21.11 | russt | jasonb, maybe I should ask - other than copying the war file to the context location, and making sure there's an accompanying Context definition under the conf/Catalina/localhost directory, is there something I'm doing incorrectly? |
21:22.19 | jasonb | russt: That's how it's supposed to work, however since it's not, you're likely doing something wrong. Can you use a paste server to paste in your context xml fragment file, and also your server.xml? |
21:22.40 | russt | jasonb, yes |
21:30.03 | russt | jasonb, there's nothing special about the server.xml file - it's exactly what comes with a new install. Do you still want be to paste all 378 lines of it? |
21:30.33 | jasonb | russt: If you changed anything at all in that file, yes, I want you to paste it into a paste server (not into this channel). |
21:30.43 | russt | jasonb, I haven't touched a thing. |
21:31.01 | russt | jasonb, it hasn't been modiifed |
21:31.13 | jasonb | russt: Okay. Then just your context xml fragment file. |
21:31.54 | russt_ | http://www.pastebin.com/276375 |
21:33.47 | *** join/#tomcat beron (~musrat@64-121-41-8.c3-0.dlcy-ubr1.sfrn-dlcy.ca.cable.rcn.com) |
21:35.13 | linuxfreck | russt: I think you need to specify the .war file in the docBase attribute |
21:35.28 | russt | linuxfreck, hm ok |
21:43.33 | *** join/#tomcat kiorky (~kiorky@cryptelium.net) |
21:43.41 | russt | linuxfreck, it doesn't seem to make any difference. |
21:55.53 | jasonb | russt: Can you paste your new one now? |
21:56.30 | russt | jasonb, yes |
22:00.10 | russt_ | jasonb: http://www.pastebin.com/276384 |
22:01.38 | beron | that dont look right..where do you have this context.xml installed at? |
22:02.10 | russt | beron, at /usr/local/tomcat/conf/Catalina/localhost/ |
22:03.31 | beron | which tomcat version? |
22:03.42 | russt | 5.5.9 |
22:06.55 | beron | oh..am not familiar with the latest version. but in the older version, I dont think you can have a docBase set to a war file |
22:07.34 | russt | beron, well, originally I just had the directoy without the war file, and then someone here told me that I should include it. |
22:07.40 | jasonb | russt: The $CATALINA_BASE/webapps dir is the place where Tomcat looks to find webapps that it will autodeploy for you. So, it's looking in your webapps/ dir and finding a dir named "TestApp", and it's attempting to deploy the contents of that directory as webapp content. But, the actual war file is in there.. that's wrong. |
22:07.49 | beron | what are you deploying? a war file? |
22:07.58 | jasonb | russt: Your war file should reside immediately inside the webapps/ dir. |
22:08.21 | jasonb | russt: So, cd webapps ; mv TestApp/* .; rmdir TestApp |
22:08.36 | jasonb | russt: Then restart your Tomcat. |
22:08.57 | russt | jasonb, ok - do I still need to specify a path= in the Context? |
22:10.08 | jasonb | russt: Well, leave that alone for the moment. |
22:10.17 | jasonb | russt: I think it may be okay like it is. |
22:11.16 | beron | jasonb: does the META-INF/context.xml inside the war file takes precedenced? |
22:17.51 | russt | jasonb, that appears to have solved the problem. I really appreciate your patience and helpfulness :) |
22:18.42 | jasonb | russt: No problem. I'm glad it works now. |
22:19.35 | jasonb | beron: You should never configure Tomcat to have both a conf/Catalina/host/somecontext.xml *and* a META-INF/context.xml. You should just have one or the other. In the case where you accidentally have both, I'm not real sure what it'll do. |
22:20.48 | russt | seems like if you wanted it to be self-contained, it would be better in META-INF. |
22:30.50 | *** join/#tomcat puff (puff@66.45.34.102) |
22:31.32 | puff | Evening... i'm trying to get tomcat working on a new server, getting: java.sql.SQLException: Cannot connect to MySQL server on localhost:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.lang.NumberFormatException) |
22:32.29 | puff | mysqld is running, listening on port 3306. I can telnet to port 3306 locally and from a nearby machine. I can get in via mysql command line client from the same machine. |
22:36.54 | jasonb | puff: Show me your telnet command. |
22:39.36 | puff | telnet localhost 3306 |
22:40.35 | jasonb | puff: And what happens when you do that? |
22:40.38 | puff | http://pastebin.com/276401 |
22:43.51 | jasonb | puff: Okay, now paste in the config(s) that tell Tomcat where to connect to MySQL. |
22:56.19 | puff | Damn, slow network. |
22:56.27 | puff | http://pastebin.com/276409 |
22:56.37 | puff | This network response time is taking me back to the eighties. |
22:58.16 | jasonb | puff: Which version of Tomcat? |
22:59.06 | puff | 4.1.30 |
23:00.30 | jasonb | puff: With just the fragments of the configs you show, it looks fine to me. You might try turning up the verbosity of your mysql server and see what it's saying. |
23:03.53 | puff | Hm, skip_networking is set to off, so that's not the problem. |
23:06.24 | puff | Where else in the configs would it show up? |
23:08.57 | jasonb | What's "it"? |
23:09.59 | puff | mysql :-) |
23:10.49 | jasonb | So if you're asking "Where else in the configs would mysql show up?" I'm guessing you're asking about the Tomcat configs, and my answer would be: nowhere, probably. But, what I'm talking about is the MySQL logs, not the Tomcat logs. |
23:10.56 | puff | Ah. |
23:11.14 | puff | Yeah, I'm still verifying that the password is what I think it is. |
23:11.30 | puff | Everybody's swearing up and down that a) it worked yesterday, b) nothing changed since yesterday. |
23:11.40 | puff | Obviously these are mutually exclusive propositions. |
23:16.22 | jasonb | heh. Yup. |
23:16.32 | jasonb | Maybe it's the weather. :) |
23:19.31 | puff | Sunspots, must be. |
23:20.10 | puff | That reminds me of this: http://www.cs.wisc.edu/~ballard/bofh/bofhserver.pl |
23:21.35 | puff | bofh irc-bot. |
23:22.31 | jasonb | heh.. yeah, that bofhserver is cool. Reminds me of another page that generates marketing hype.. |
23:24.10 | jasonb | http://www.lyra.org/phrase.cgi |
23:29.01 | puff | Classic. |
23:45.01 | Hellaenergy | That rocks :) |
23:48.49 | jasonb | :) |
23:49.21 | jasonb | And here I thought it took an insane person to come up with those. |