00:28.34 | *** join/#tomcat jag2kn (n=jag2kn@190.66.98.214) |
00:43.57 | *** join/#tomcat jtech (n=john@cpe-72-177-89-18.austin.res.rr.com) |
01:09.52 | *** part/#tomcat jag2kn (n=jag2kn@190.66.98.214) |
02:31.29 | *** join/#tomcat Kassah (n=kassah@67.60.47.15) |
02:36.00 | *** join/#tomcat Kronuz (n=kronuz@189.168.135.143) |
02:36.03 | Kronuz | hello |
02:36.14 | Kronuz | hey, I'm trying to change the listening port to 80 |
02:36.33 | Kronuz | but I change the server.xml and restart the daemon, but it doesn't even load it now |
02:36.38 | Kassah | using tomcat 6.0.14.0 and mod_jk 1.2.23-3 (ubuntu package) I currently have huson.domain.com but it gives me the tomcat root page, I want to be able to have it show hudson webapp at the root URL |
02:37.11 | Kronuz | do I have to do something else? |
02:39.21 | *** join/#tomcat tomasso (n=papito@201.216.202.89) |
02:39.30 | Kassah | I am using ubuntu 7.10 6-03-0ubuntu2 java6-bin/jdk/jre |
02:40.32 | *** join/#tomcat chuck (i=charlie@wikimedia/cmelbye) |
02:40.55 | chuck | hi, i just ran tomcat, how do i setup a user for Tomcat Manager |
02:53.06 | Kronuz | I checked further |
02:53.16 | chuck | okay i tried to install portletdriver and i can't even start it through the manager |
02:53.24 | Kronuz | I get an error in the logs: |
02:53.25 | Kronuz | <PROTECTED> |
02:53.31 | jasonb | chuck: Edit your conf/tomcat-users.xml file and add a <user> tag for your user, and then add a <role> tag for the "manager" role.. and make the user a member of the manager role. |
02:53.38 | Kronuz | I suppose it's 'cause it's running it as non-root |
02:53.51 | *** join/#tomcat jtech (n=john@cpe-72-177-89-18.austin.res.rr.com) |
02:53.54 | Kronuz | is there a way to make tomcat start as root and then drop the privs ? |
02:53.55 | jasonb | Kronuz: Yes. |
02:54.04 | Kronuz | (as apache does) |
02:54.11 | chuck | jasonb: yeah i fixed that, now i can't get portlet container running :-( |
02:54.13 | jasonb | Kronuz: Tomcat = Java. |
02:54.25 | Kronuz | I know |
02:54.28 | jasonb | Kronuz: Java (the binary) doesn't support doing that all by itself. |
02:54.39 | Kronuz | oh, so in short, no :P |
02:54.48 | jasonb | Kronuz: What I suggest is: run Tomcat on port 8080, then use iptables to remap port 80 to port 8080. |
02:54.56 | Kronuz | okay, I'll mangle with the kernel confs |
02:55.02 | Kronuz | yeah, I did that |
02:55.07 | Kronuz | but now I need it on port 80 |
02:55.07 | jasonb | iptables works very well for that. |
02:58.33 | chuck | jasonb: do you know why it's not starting |
02:58.58 | jasonb | chuck: What's "it"? |
03:00.06 | chuck | jasonb: portletdriver |
03:00.18 | jasonb | chuck: You haven't given us any information about what you're running, so no, I don't know. |
03:00.21 | chuck | i'll pastebin my errors from the log |
03:00.37 | chuck | http://pastebin.com/m6973c666 |
03:01.37 | Kassah | jasonb: any clue on mod_jk? or is this not the right channel for that? |
03:02.18 | jasonb | Kassah: I highly doubt that you need mod_jk. I strongly suggest you use mod_proxy instead. It's far easier to set up. |
03:02.29 | chuck | anyone know why now? |
03:03.46 | Kassah | hmm... mod_jk has worked great up till I want it to point at a specific app |
03:04.04 | jasonb | so it worked great right up until it didn't work great? :) |
03:04.16 | Kassah | well... I can access everything... it's just an annoying url |
03:04.41 | Kassah | http://hudson.domain.com/hudson... instead of being able to just do http://hudson.domain.com/ |
03:05.20 | chuck | jasonb: heh |
03:05.34 | Kassah | also... won't mod_proxy make it impossible to obtain the IP from the web app? |
03:05.47 | jasonb | Kassah: Nope. |
03:06.12 | Kassah | really? |
03:06.22 | jasonb | Really. |
03:06.36 | chuck | does *anyone* even remotely know what's wrong with portletdriver? |
03:06.46 | jasonb | Kassah: Also, you might want to see my connector benchmarks. |
03:06.51 | jasonb | ibot: tdg-benchmarks |
03:06.52 | ibot | well, tdg-benchmarks is http://www.oreilly.com/catalog/9780596101060/chapter/index.html |
03:08.47 | Kassah | hmm.. evince doesn't like the PDF =( |
03:09.01 | jasonb | evince in Fedora likes it just fine. |
03:09.08 | jasonb | Try xpdf. |
03:09.31 | Kassah | oh... the file size wasn't full... |
03:09.35 | Kassah | trying to download it again |
03:10.28 | Kassah | there we go |
03:11.51 | Kassah | oh I diddn't realize mod_proxy has AJP connectors |
03:11.56 | chuck | augh this is annoying |
03:12.10 | jasonb | Kassah: Yes, so you do not need mod_jk. |
03:12.15 | Kassah | cool |
03:13.26 | chuck | does anyone here know how to get portlets working |
03:17.59 | chuck | pleease |
03:18.20 | Kassah | chuck: read the topic... you're leaving out some pretty critical info |
03:18.44 | chuck | ava version "1.5.0_13" |
03:18.45 | chuck | Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237) |
03:18.58 | chuck | apache-tomcat-6.0.16 |
03:19.04 | chuck | mac os x leopard 10.5.2 |
03:19.09 | chuck | *10.5.1 |
03:19.40 | jasonb | chuck: Okay, now that you've finally told us what you're running.. what user is Tomcat running as? |
03:19.45 | chuck | my user |
03:19.51 | chuck | "charlie" |
03:20.56 | jasonb | chuck: Put your server.xml on pastebin so we can see it. |
03:21.11 | chuck | i didn't change anything, it's just the default, do you still need it? |
03:21.35 | Kassah | jasonb: hmm... not finding any ubuntu-server packages for mod_proxy_ajp |
03:21.53 | jasonb | Kassah: That's because it's already built into Apache httpd. |
03:22.00 | jasonb | chuck: No. |
03:22.10 | chuck | jasonb: ah, i pasted it anyways: http://pastebin.com/m79f7d390 |
03:22.32 | jasonb | chuck: You probably don't have your portal configuration correct. And, in some other log file, it's probably telling you that. |
03:23.32 | chuck | what log file? |
03:23.37 | chuck | i looked at them all in logs/ |
03:25.27 | jasonb | chuck: Also, the portlet technologies are typically quite difficult to set up and get running properly. Experienced Tomcat users tend to have a hard time doing that. |
03:26.08 | jasonb | chuck: And, lots of portlet software just doesn't work. Bugs prevent it from working even if you have it configured the way it's documented. |
03:26.34 | chuck | i haven't changed a thing, shouldn't it just work? |
03:26.51 | jasonb | "changed" ? From when to when? |
03:27.14 | jasonb | If it was working before, and it isn't now, then you did indeed change something. |
03:27.45 | chuck | i've literally unarchived tomcat, added my user, started up tomcat, deployed the portletdriver, and clicked start |
03:27.48 | chuck | and i got an error |
03:27.58 | jasonb | So the portlet software is broken then. |
03:28.10 | chuck | i'll try an older version or something |
03:32.16 | Kassah | jasonb: I'm close... |
03:41.57 | Kassah | jasonb: okay... is there a way for mod_proxy to fix all the links that have /hudson/ in them? |
03:42.53 | jasonb | You mean in HTML where it references other URIs, it says something like <a href="/hudson/something">click here</a>? |
03:43.01 | Kassah | yeah |
03:43.17 | jasonb | And, you want it to instead say <a href="/something">click here</a>? |
03:43.22 | Kassah | exactly |
03:43.53 | jasonb | That's what mod_proxy_html does. |
03:43.55 | jasonb | http://apache.webthing.com/mod_proxy_html/ |
03:44.18 | jasonb | But, why not deploy your webapp on "/" in the first place? |
03:45.09 | Kassah | there are multiple webapps in the single instance of tomcat |
03:45.32 | jasonb | Okay. I think that's also an issue if you were using mod_jk though. |
03:46.50 | Kassah | oh? |
04:13.09 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
04:20.07 | *** join/#tomcat Zack1403 (n=Zack1403@71-222-117-182.ptld.qwest.net) |
04:31.04 | *** join/#tomcat acidjnk (i=acid@p5B3F35A4.dip0.t-ipconnect.de) |
04:36.59 | *** part/#tomcat Kronuz (n=kronuz@189.168.135.143) |
04:42.11 | Kassah | jasonb: all set =) thanks! |
04:42.16 | *** part/#tomcat Kassah (n=kassah@67.60.47.15) |
04:59.12 | *** join/#tomcat Jed_84 (i=ABCDEF@201-213-239-182.net.prima.net.ar) |
04:59.17 | Jed_84 | hello everyone |
05:00.02 | Jed_84 | I installed apache tomcat 6.0.16 on my fedora 8 system directly from the tomcat.apache.org binaries |
05:00.13 | Jed_84 | i'm using sun jvm 1.6.0 update 4 |
05:00.56 | Jed_84 | everything in this installation is fine - currently I'm running tomcat with a small test web application deployed |
05:01.10 | Jed_84 | there is only one thing left to do: configure tomcat for running when the system boots up |
05:01.22 | jasonb | You need an init script for it. |
05:01.27 | Jed_84 | i don't want to write an entry in the /etc/rc.local file |
05:01.39 | Jed_84 | yeah, I need an init script. I could craft one by hand |
05:01.54 | Jed_84 | but maybe there is an "official" way for doing it |
05:02.01 | jasonb | This is where my init script comes in.. it's part of my Tomcat 6 RPM package, though. It's very easy to install -- one file, one command. |
05:02.06 | Jed_84 | what's the right thing to do in this case? |
05:02.17 | Jed_84 | tomcat 6 rpm? |
05:02.20 | Jed_84 | where can I get it? |
05:02.39 | Jed_84 | i simply uncompressed the binary .tar.gz from the tomcat website under my /opt directory |
05:02.48 | Jed_84 | and then ran startup.sh by hand |
05:02.55 | lyken | use jason's rpm much better solution |
05:03.04 | Jed_84 | ok guys |
05:03.11 | jasonb | http://www.webdroid.org:8080/archives/tomcat-package/tomcat-6.0.16-0.noarch.rpm |
05:03.14 | Jed_84 | where is that rpm? |
05:03.15 | Jed_84 | oh |
05:03.19 | Jed_84 | thanks |
05:03.19 | jasonb | There. :) |
05:03.24 | jasonb | You're welcome. |
05:03.59 | jasonb | Here's the readme: |
05:04.02 | jasonb | http://www.webdroid.org:8080/repo/viewcvs.cgi/tomcat-package/trunk/README.txt?rev=98&view=markup |
05:04.19 | Jed_84 | jasob, my boss told me to document everything (so he can fire me after installing everything and hire a freelancer when needed :P) |
05:04.29 | jasonb | heh! |
05:04.30 | lyken | lol |
05:04.31 | Jed_84 | yes, that's what I was about to ask you |
05:04.35 | lyken | i document everything |
05:04.41 | jasonb | I'm faster than your questions.. :) |
05:04.45 | lyken | so when i come back to the job after weeks on other projects i know what the hell is going on |
05:05.09 | Jed_84 | I need to put links to everything in the company's internal wiki |
05:05.32 | Jed_84 | yeah, documenting everything is good |
05:05.39 | *** join/#tomcat tomasso (n=papito@201.216.202.89) |
05:05.44 | jasonb | I document things so that when Western Digital hard drives fail, I have a way of rebuilding the system and getting it working the same again. :) |
05:06.02 | Jed_84 | as long as there is some kind of "strategy" for having everything decently kept somewhere |
05:06.26 | lyken | LOL jason |
05:06.32 | Jed_84 | oh, it seems my company wasn't the only one with bad experiences regarding to wd hds |
05:06.38 | jasonb | Jed_84: Add a link to our new book Tomcat: The Definitive Guide, 2nd Edition (O'Reilly), since this RPM is fully documented there. |
05:06.50 | Jed_84 | cool |
05:06.54 | Jed_84 | i must buy that book |
05:07.01 | jasonb | It has lots of answers. |
05:07.16 | Jed_84 | (jasonb thinks: music for my ears) |
05:07.18 | Jed_84 | hehe |
05:07.20 | jasonb | lyken: Can you tell I've seen too many hd failures from that certain vendor? :) |
05:07.33 | lyken | i have failures from al of them |
05:07.37 | lyken | its not the vendor |
05:07.42 | lyken | its the batch and the model |
05:07.45 | jasonb | We've probably had this conversation before. |
05:07.49 | lyken | probably :) |
05:08.55 | Jed_84 | jasonb, your link looks pretty much like a temporal address |
05:09.05 | Jed_84 | do you have plans for putting the rpm somewhere else? |
05:09.40 | lyken | webdroid aint going nowhere |
05:09.53 | Jed_84 | oh |
05:09.55 | Jed_84 | why? :| |
05:10.02 | jasonb | Jed_84: Well, the RPMs themselves will probably always go in http://www.webdroid.org:8080/archives/tomcat-package (or at least for a very long time). The readme may change with version.. |
05:10.03 | lyken | cause its published in books |
05:10.21 | lyken | jasonb: although iw as considering throwing up a mirror on one of my webservers |
05:10.26 | lyken | 'tomcatrpms.org' |
05:11.01 | Jed_84 | that would be great |
05:11.14 | Jed_84 | and having links from tomcat.apache.org to that site would be even better |
05:11.16 | jasonb | lyken: Recently I've begun collaborating a little with the jpackage guys. It turns out they also have a Tomcat 6 RPM, one that is very well hidden! But, they're interested in collaborating together, in general. |
05:11.50 | jasonb | Jed_84: The Apache Software Foundation probably isn't interested in linking to our sites.. not even when it makes it easier for people to use Tomcat. |
05:12.07 | Jed_84 | I don't know why, but for some reason I rejected the idea of using the jpackage.org packages :/ |
05:12.18 | Jed_84 | uhm |
05:12.28 | jasonb | Jed_84: No solid reason? You can't think of any? |
05:12.29 | Jed_84 | why do they have that attitude towards you? |
05:12.45 | Jed_84 | jasonb, nope. just a stupid gut feeling :P |
05:13.21 | jasonb | lyken: But, it would indeed be nice to have a mirror up for these Tomcat RPMs. My machine here sometimes reboots and I can't get to it for like a day or something to make it work again sometimes. |
05:13.48 | lyken | jasonb: okies |
05:13.53 | lyken | ill throw it up next week |
05:14.02 | lyken | and you can rsynch it up |
05:14.36 | Jed_84 | oh that sucks, you are using your own computer as the server for hosting these files |
05:14.40 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-79-177-108-202.red.bezeqint.net) |
05:14.43 | jasonb | lyken: Okay. That would be great. |
05:14.50 | Jed_84 | it's a shame you don't get any support from the apache fundation |
05:14.58 | Jed_84 | you even wrote a book about their software :/ |
05:15.04 | jasonb | Jed_84: Nah, we get lots of support from them.. they develop Tomcat! :) |
05:15.15 | jasonb | Jed_84: I'm not asking them for anything more. |
05:15.29 | jasonb | Jed_84: I'm happy to host it on my machine. |
05:15.42 | jasonb | (as I have for a long time now) |
05:16.18 | jasonb | lyken: Anyway, the jpackage guys still want to rebuild from source, and I'm not surprised about that.. the distros probably would demand that, and lots of users want it that way. |
05:16.48 | Jed_84 | guys, my internet connection is working like crap right now |
05:16.54 | jasonb | lyken: And, they mostly reject the idea of relocatable RPMs, the reason being they've heard from the distro maintainers that they'll reject any RPMs that are written to be relocatable. |
05:16.58 | Jed_84 | I'm from argentina, and all my friends from here have exactly the same problems |
05:17.00 | jasonb | Jed_84: That's alright. |
05:17.08 | Jed_84 | do you have the same problems? |
05:17.15 | Jed_84 | like stupid timeouts |
05:17.18 | Jed_84 | even google times out sometimes |
05:17.24 | Jed_84 | :| |
05:18.07 | jasonb | lyken: Some of the other features my RPM has, they either don't think it's very important, or they solved the problem some other way (who knows which way is better.. but it's worth examining now) |
05:19.19 | jasonb | lyken: So, we've at least concluded that my RPM is for a different purpose (not for distros, really), and theirs must be built from source, and we want to collaborate more and think up new features/solutions together. |
05:31.55 | *** join/#tomcat ABCDEF_ (i=ABCDEF@201-213-239-182.net.prima.net.ar) |
05:32.16 | lyken | jasonb: *nods*, screw those guys then, ill host it :) |
05:32.27 | lyken | ive got 9TB of monthly bandwidth on one of our servers |
05:38.36 | jasonb | lyken: It would indeed help to have my RPMs hosted better, and I've even been thinking about writing a web page or two for it *shock* |
05:38.53 | lyken | yeah i can slap something up for it |
05:39.04 | lyken | including a buy this book link |
05:39.05 | lyken | hehe |
05:39.47 | jasonb | lyken: But, I'm enthusiastic about collaborating with the jpackage guys. They have huge constraints to work with, trying to please the distro maintainers, and I don't blame them for working within those constraints. |
05:40.19 | jasonb | lyken: Yeah, I was thinking there could be a picture of the book on the page, and they could click to get it. :) |
05:40.42 | jasonb | lyken: But, that's not really my motivation for writing the web page(s) for it. |
05:41.18 | jasonb | lyken: My main motivation being that my RPM has features that the other Tomcat RPMs don't, and without showing actual usage examples of how to make use of the features, nobody would know how. |
05:41.39 | jasonb | lyken: This stuff was somewhat out of scope for the Tomcat book, but makes sense to put on a web page. |
05:42.55 | *** join/#tomcat rambo123 (n=rocky@59.94.103.208) |
05:43.27 | ABCDEF_ | oh damn it I can't even visit google |
05:43.31 | ABCDEF_ | my connection sucks |
05:43.33 | ABCDEF_ | wow look at my nick |
05:43.46 | Jed_84 | this is ridiculous |
05:47.03 | *** join/#tomcat rambo124 (n=rocky@59.94.100.210) |
06:10.11 | *** join/#tomcat Infinito_ (n=argos@201-10-156-220.gnace701.dsl.brasiltelecom.net.br) |
06:10.39 | *** part/#tomcat Infinito_ (n=argos@201-10-156-220.gnace701.dsl.brasiltelecom.net.br) |
06:47.35 | *** join/#tomcat fyrestrtr (n=burhan@pdpc/supporter/student/fyrestrtr) |
06:48.06 | fyrestrtr | how can I change the verbosity of stdout log for Tomcat 5.5? |
07:12.14 | *** join/#tomcat zuch (n=manu@knowyourraga.com) |
07:14.20 | zuch | hi! how can i force a particular mime type to launch a save/open dialog instead of opening in another window? Is it possible to do that just by changing tomcat configuration? |
07:54.35 | zuch | i'm sorry for not reading the guidelines my tomcat version is 5.5.23, OS is winxp... |
08:13.02 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
08:36.36 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
08:36.56 | Mauriez | morny |
08:38.28 | kjkoster5489 | morning |
08:41.25 | Jed_84 | jasonb, are you still there? |
09:06.53 | *** join/#tomcat kjkoster5489_ (n=kjkoster@a1190.upc-a.chello.nl) |
09:07.56 | *** join/#tomcat tijn (n=tijn@77.222.64.84) |
09:09.29 | tijn | morning |
09:10.04 | tijn | kjkoster5489, are you there? :) |
09:20.38 | *** join/#tomcat npm (n=npm@cpe-75-83-171-237.socal.res.rr.com) |
09:37.02 | *** part/#tomcat zuch (n=manu@knowyourraga.com) |
09:47.59 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
09:51.08 | tijn | wb |
09:52.28 | *** join/#tomcat lwolf (n=lonewolf@pro75-4-82-238-201-235.fbx.proxad.net) |
09:55.00 | lwolf | hi, i've got tomcat 5.0.30, java 1.5.0_10 on a Debian 4.0 Etch, i'm working with /etc/tomcat5/policy.d contents (tomcat security policies), and i'm almost done. I've written a security policy for cocoon, and now, i just need to know how to apply it only to cocoon ? |
09:55.14 | lwolf | can somebody here give me the syntax ? |
09:56.30 | lwolf | hum, nevermind.. find by myself.. (should have grep before :() |
09:56.36 | lwolf | sorry for the inconvenience |
09:59.28 | kjkoster5489 | tijn: yes I am. |
09:59.43 | tijn | ok :) how was your weekend? |
10:00.07 | kjkoster5489 | Cool. Worked on a new project and walked in the woods too. |
10:00.14 | kjkoster5489 | How was yours? |
10:00.25 | tijn | also nice been painting my house :) |
10:01.08 | tijn | what project are you working on? |
10:01.45 | kjkoster5489 | I'm planning to make jvm monitoring a service on the 'net. |
10:01.54 | kjkoster5489 | Free too, if I can find a way to make it pay. :) |
10:02.01 | tijn | nice |
10:02.08 | kjkoster5489 | Would you pay for it? |
10:02.17 | kjkoster5489 | Just curious, since you are the target audience. |
10:02.29 | tijn | hmm well i;am more of a in house person |
10:02.37 | kjkoster5489 | :-) |
10:02.43 | tijn | i want all me apps/servers/tools in house :) |
10:03.08 | kjkoster5489 | Well, I see services like watchmouse and siteangel. |
10:03.11 | kjkoster5489 | Onestat. |
10:03.21 | tijn | but i bet an 2.0 ict manager thinks it's a good idea |
10:03.29 | kjkoster5489 | They are out-of-house and the seem to doing ok. |
10:03.42 | kjkoster5489 | He's the guy who pays the bills after all. |
10:03.45 | kjkoster5489 | :) |
10:03.46 | tijn | yep |
10:04.03 | kjkoster5489 | I'm curious, any interesting graphs to look at? |
10:04.11 | tijn | yes! :) |
10:04.27 | tijn | 10 feb the server peaked |
10:04.36 | tijn | wait let me get the graph ;) |
10:04.41 | tijn | zapcat is great! |
10:04.44 | kjkoster5489 | Thanks. |
10:04.47 | tijn | http://imagebin.ca/view/6xvQ8Yo3.html |
10:05.22 | kjkoster5489 | Could you paste a week overview? |
10:05.45 | kjkoster5489 | What happens at your site at 4:00h? |
10:06.05 | kjkoster5489 | Backups? Batches? |
10:06.42 | tijn | http://imagebin.ca/view/CbTX0AE.html |
10:07.19 | tijn | well, i'am looking into that i found a couple of thins |
10:07.26 | tijn | syslog was restarted |
10:07.30 | tijn | syslogd* |
10:07.36 | kjkoster5489 | Well, that is a thread leak if I ever saw one. |
10:07.53 | tijn | memory is all good |
10:07.57 | tijn | no peaks etc |
10:08.02 | tijn | only threads |
10:08.21 | kjkoster5489 | Are you using a syslogd appender in log4j? Or do you otherwise log to syslog frmm the app? |
10:08.26 | kjkoster5489 | s/frmm/from/ |
10:08.52 | tijn | we log to syslog |
10:08.56 | kjkoster5489 | ibot: why yes, I did. Thank you. |
10:08.57 | ibot | why not? |
10:09.07 | tijn | i dont know how btw, let me ask |
10:09.12 | kjkoster5489 | :) |
10:10.08 | tijn | yes we are using an syslogd appender in log4j |
10:10.20 | kjkoster5489 | Interesting. |
10:10.34 | kjkoster5489 | Might be worth reviewing that code. |
10:11.04 | tijn | but this machine is cl3-star-java, the other is an replica |
10:11.06 | tijn | brb ups guy |
10:14.16 | tijn | cl1-star-java ,this one had no problems this weekend |
10:14.28 | tijn | and has the exact same config |
10:14.31 | tijn | (cluster) |
10:16.52 | tijn | also i found something in the tomcat log during this time but i cant make much sense of it :D http://filebin.ca/yevkxr/tomcat.log |
10:20.05 | kjkoster5489 | The exception is something with Java server faces, which is a web-UI toolkit. |
10:20.18 | kjkoster5489 | The devs should answer that one for you. |
10:20.31 | kjkoster5489 | As for the cluster: it could be a timing issue. |
10:20.32 | tijn | ok, *sent mail* ;) |
10:20.41 | tijn | i just checked the ntp config |
10:21.06 | tijn | all servers use the same time server which is (surprise) in house ;) |
10:21.09 | kjkoster5489 | You could perhaps reproduce this on the test machine by putting it under load, and while it is logging various things restarting syslog. |
10:21.22 | tijn | good point! |
10:21.39 | tijn | ok, going to stress test :) |
10:21.40 | tijn | brb |
10:22.26 | kjkoster5489 | If it is indeed syslog/log4j related, you will have to fix log4j to deal more gracefully with dead syslof daemons. I'm sure the community will be thankful for that. |
10:22.39 | kjkoster5489 | s/syslof/syslog |
10:22.51 | tijn | ok |
10:23.00 | tijn | going to test that right now :) |
10:23.34 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
10:27.28 | *** join/#tomcat MicW (n=michael@dslb-088-074-148-213.pools.arcor-ip.net) |
10:27.34 | MicW | hi |
10:28.16 | MicW | i tried to use a wildcard in a host alias (*.myhost.com) without success. should this be possible with tomcat? if not, which component do i need to change to support it? |
10:41.46 | *** join/#tomcat kjkoster5489_ (n=kjkoster@a1190.upc-a.chello.nl) |
10:47.00 | *** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl) |
10:47.51 | tijn | kjkoster5489, It worked! |
10:48.08 | tijn | i did a little load test, and restarted syslogd |
10:48.14 | kjkoster5489 | I keep dropping off of the net. |
10:48.23 | tijn | same pattern as cl3-star-java |
10:48.28 | kjkoster5489 | Ah, and that caused the server to die? |
10:48.29 | kjkoster5489 | Cool. |
10:48.35 | tijn | 160 threads |
10:48.58 | tijn | :) |
10:49.08 | kjkoster5489 | What you can do to isolate this to log4j's syslog appender is to change the syslog appender to a file appender and repeat the excesise. |
10:49.11 | kjkoster5489 | Cool, |
10:49.23 | kjkoster5489 | I love it when a plan comes together. |
10:49.28 | tijn | :+) |
10:49.48 | tijn | showed the nice graphs to the devs ;) |
10:49.51 | tijn | impressive :D |
10:50.28 | tijn | i pitty the fool who messes up logging, i do fool :) |
10:51.03 | kjkoster5489 | What did the devs say about the graphs? |
10:51.10 | tijn | nice and clear :) |
10:51.26 | tijn | and really usefull :D |
10:51.32 | tijn | ow, brb |
10:51.34 | tijn | :S |
11:18.29 | kjkoster5489 | tijn: http://issues.apache.org/bugzilla/show_bug.cgi?id=37282 |
11:18.44 | kjkoster5489 | Dunno if it's related. |
11:21.20 | tijn | hmm |
11:21.41 | tijn | interesting |
11:21.55 | kjkoster5489 | Maybe check your log4j version? |
11:23.10 | tijn | yes, will do that, ill attach this info to the mail which is going to the devs :) |
11:23.24 | *** join/#tomcat Sebboh (n=hobbes@ip68-96-139-5.om.om.cox.net) |
11:28.40 | Sebboh | tomcat 6.0.14, java 1.6.0, Debian Linux. Can I deploy two versions of the same context to compare them? Like, just change the name of the war but leave all the classes named the same? Will the right ones be loaded? |
11:52.35 | kjkoster5489 | Sebboh: probably yes. |
11:55.08 | Sebboh | Hi kjkoster5489. What's it depend on? :) |
11:56.08 | kjkoster5489 | Some applications may have dependencies on Tomcat itself, or be programmed to depend on specific directory structures. |
11:56.26 | kjkoster5489 | Just try it and see. |
11:57.42 | *** join/#tomcat jstephan (n=jstephan@vpndfki-2.net.uni-saarland.de) |
11:58.44 | Sebboh | Well of course directory structure and database problems arising from this are "my" problem. :) Uh, how can I try and see? Oh, I'm sure that both contexts will run. Just dunno of they are going to both use the first one's classes. |
12:03.23 | kjkoster5489 | They will each load their own classes. Each context has its own class loader. |
12:03.37 | Sebboh | :) Excellent. |
12:04.40 | Sebboh | Now, to figure out why ant produces different output when I build on machine A vs machine B, then I'll test as you suggested! |
12:08.50 | deebo | have you set a destionation jdk |
12:08.50 | deebo | or wth was it called :) |
12:13.25 | kjkoster5489 | JAVA_HOME? |
12:15.35 | deebo | no imean you can generate 1.5 code with 1.6 compiler |
12:17.25 | Sebboh | I still think that doing so is perfectly reasonable. ;P But, deebo, you mean to say, can you use a 1.6 compiler to generate classes that will run on a 1.5 virtual machine? Is that the question? As I understand it, |
12:17.51 | Sebboh | you CAN do that, but only if you don't use any 1.6 features in your source code. |
12:18.23 | Sebboh | So, imagine that the source code itself has a version number, which is determined by the features you use when you wrote it. |
12:19.27 | Sebboh | so, you can use a 1.6 compiler to make 1.5 classes out of 1.5 source. ..But you gain nothing, see? Might as well use a 1.5 compiler, if you have 1.5 source. |
12:20.00 | deebo | ant has a was just trying to offer an explanation to your ant issue :) |
12:20.34 | Sebboh | Oh hehe. lol. Thanks! |
12:20.40 | deebo | i used to work in a project that had to use 1.2 code but generated the classes with a 1.5 compiler |
12:20.59 | deebo | oh -ant has a |
12:21.13 | deebo | unfinished sentance before a massive cough attack |
12:26.31 | *** join/#tomcat bucifer (n=bustuila@beenzsoftware.ro) |
12:28.12 | bucifer | hello... I've just tried running tomcat 6.0.16, using java 1.6.0_04 on windows xp |
12:28.32 | bucifer | and saw some warnings... |
12:28.47 | bucifer | <PROTECTED> |
12:28.55 | bucifer | The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored. |
12:29.14 | bucifer | these are the ones from the examples |
12:29.26 | bucifer | the same thing happens with my application |
12:29.55 | bucifer | is this a bug? should I create an issue in bugzilla? |
12:30.15 | bucifer | when running 6.0.14, I don't get these warnings... |
12:30.16 | Sebboh | you can use something like http://www.pastebin.ca in case there's more to show us. I get those warnings, too, and I don't know what they mean, but my application seems to work. I've been meaning to ask this question you just asked. ;) |
12:30.37 | Sebboh | oh, I get those on 6.0.14 ... |
12:30.55 | bucifer | well, I don't think there is more to show... |
12:31.05 | bucifer | the rest of the messages seem normal... |
12:31.26 | Sebboh | right, sorry, I was typing that before you finished. |
12:32.05 | bucifer | I've searched bugzilla, and I didn't find any(open) bug regarding this... |
13:19.49 | *** join/#tomcat Brandano (i=975004a5@gateway/web/ajax/mibbit.com/x-471e587c6a680d9a) |
13:23.27 | Brandano | hem, ok, just to abide by the rules... Tomcat 5.5.25, JRE1.5.0_12 and Win2003 Server. Is it possible to set up a webapp to reside outside the webapps base path? I mean actua phisical path? |
13:23.46 | Brandano | and what directory separator should I use on win32? |
13:58.24 | *** join/#tomcat matt7676 (n=matt@popper.yospace.com) |
14:03.25 | *** join/#tomcat jstephan (n=jstephan@p5B327F9B.dip.t-dialin.net) |
14:04.30 | *** join/#tomcat jtech (n=john@out.austinlogistics.com) |
14:04.32 | *** join/#tomcat keith80403 (n=keith804@71-208-224-99.hlrn.qwest.net) |
14:04.58 | *** join/#tomcat linuxfreck (n=freck@pD9ED2DDC.dip0.t-ipconnect.de) |
14:26.02 | MHSL | Brandano, yes you can, you can simply use / |
14:27.47 | *** join/#tomcat Mauriez (i=maui@xs2.xs4all.nl) |
14:28.20 | kjkoster5489 | Brandano: create a context file. |
14:30.58 | *** join/#tomcat shishirmk (n=shishir@122.167.193.246) |
14:31.14 | shishirmk | can any1 help me find out if my comp is now a server |
14:32.18 | kjkoster5489 | connect to the server port that you expect Tomcat at using a browser. |
14:32.54 | shishirmk | my problem is this |
14:33.06 | shishirmk | i type in localhost |
14:33.10 | shishirmk | tomcat works |
14:33.46 | shishirmk | i asked my router to repeat what it gets on port 80 to the computer connected to it |
14:34.17 | shishirmk | but when i try i pinging myself with the routers external ip i have 110 error |
14:34.20 | shishirmk | from proxies |
14:34.29 | shishirmk | i hope you got the problem |
14:34.46 | raar | your ip:80 doesn't take me to a website, if that's what you'd like us to test |
14:34.58 | raar | I'm guessing there is something wrong with your port forwarding rules |
14:35.20 | shishirmk | ya i am testing that |
14:35.26 | shishirmk | well why is it happeneing? |
14:35.36 | shishirmk | i mean my portforwarding is proper |
14:35.45 | shishirmk | it worked last time on ubuntu |
14:36.04 | shishirmk | but then i used only apache2 |
14:36.15 | shishirmk | now i have installed apache-tomcat-6 |
14:36.36 | shishirmk | and i have configured tomcat to listen to port 80 |
14:37.01 | linuxfreck | does it work locally after you changed it to port 80? |
14:37.20 | shishirmk | yep it does |
14:37.26 | shishirmk | on my localhost |
14:38.42 | linuxfreck | and netstat -ltp shows java/tomcat listening on *:www ? |
14:39.02 | shishirmk | sorry what is that command? |
14:39.03 | Brandano | kjkoster5489: yep, dug a bit around and found out how. Trouble is that everyone on the web writes documentation for the "current" version of tomcat, never considering tat today's current version will be tomorrow's old |
14:39.51 | Brandano | Right now my issue is that I get a SaxParseException for my context file, even though it seems valid XML. I must be doing something stupid |
14:40.47 | shishirmk | http://www.pastebin.ca/899893 |
14:40.59 | shishirmk | this is the output for that netstat command |
14:41.42 | shishirmk | awaiting a reply |
14:41.52 | linuxfreck | is that all? |
14:44.33 | linuxfreck | well, tomcat is shown as listening on all interfaces. you most likely have a problem with your firewall or port forwarding |
14:44.34 | Brandano | QED, I wasn't closing the <Context> section properly. Thanks for your patience |
14:44.35 | shishirmk | yeo |
14:44.37 | shishirmk | yep |
14:44.56 | shishirmk | what do you reckon i should do |
14:47.05 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
14:47.12 | shishirmk | Apache requires you to forward the TCP(80,443) ports. |
14:47.18 | shishirmk | is this a concern? |
14:47.35 | linuxfreck | first of all try whether you can reach tomcat from another box on your local network to rule out firewalls on your local boy |
14:47.37 | linuxfreck | box* |
14:47.51 | shishirmk | how do i do that i am on ubuntu |
14:48.04 | linuxfreck | connect another computer to your lan |
14:48.18 | shishirmk | well is there no other way? |
14:48.24 | linuxfreck | use that to check whether you can connect to your first box |
14:48.27 | linuxfreck | well |
14:48.38 | shishirmk | bcoz i dont have another comp |
14:48.44 | linuxfreck | you can also check your router first |
14:49.04 | shishirmk | i am setting up tomcat to test servlets on my personal comp |
14:50.34 | linuxfreck | you can run "tcpdump port 80" as root on your ubuntu box, and have somebody else connect from outside to port 80 |
14:50.40 | shishirmk | hello |
14:50.44 | linuxfreck | if you see packets arriving, there is a local firewall |
14:50.50 | shishirmk | i think i got my culprit |
14:50.53 | shishirmk | just a sec |
14:50.59 | Brandano | I am sure that Ubuntu has some sort of graphical interface for the firewal settings. Firestarter or something similar |
14:52.24 | shishirmk | can you try now what you see on my comp? |
14:53.02 | shishirmk | 122.167.193.246 |
14:53.41 | linuxfreck | shishirmk: it still hangs here |
14:58.05 | *** join/#tomcat shishirmk (n=shishir@122.167.193.246) |
14:58.14 | shishirmk | hi |
14:58.36 | shishirmk | i made a manual config for my lan and i have added this servers and all tat |
14:58.55 | shishirmk | this is how i did it last time |
14:59.26 | shishirmk | can any1 tell me how to add this tomcat to startup? |
14:59.49 | shishirmk | is it enough is i add these startup.sh and shutdown.sh to /etc/init.d? |
15:00.16 | Brandano | should be... I guess it's in the docs, though |
15:00.35 | shishirmk | how do you guys do it? |
15:01.25 | Brandano | last time I had to do it was on Fedora and was still Tomcat 4. Just added the entries to the init.d IIRC |
15:01.34 | linuxfreck | shishirmk: it's not enough to put them into init.d, you also need links in rc*.d |
15:01.38 | shishirmk | http://122.167.193.246 |
15:01.46 | linuxfreck | shishirmk: and you shouldn't run tomcat as root |
15:02.03 | shishirmk | this is my ip i think its working used proxies to confirm |
15:02.07 | Brandano | yep, I gave Tomcat its own user |
15:02.25 | shishirmk | why?? |
15:02.25 | linuxfreck | shishirmk: that url gives the tomcat default page for me now |
15:02.45 | shishirmk | yep |
15:02.48 | shishirmk | thats what i wanted |
15:03.01 | linuxfreck | shishirmk: so that people hacking tomcat or one of the servlets running there can't hack your server |
15:03.04 | shishirmk | bcoz it gives me the same thing when i use localhost |
15:03.12 | Brandano | same here. But it also links to the examples, I'd lock the access to those |
15:03.13 | linuxfreck | shishirmk: security problems in web applications are quite common |
15:03.23 | shishirmk | ok can you guide me on how to add this to startup? |
15:03.40 | shishirmk | well i am just a student so ok next time i wont do that |
15:04.50 | shishirmk | linuxfreck: give me some tutorial or something to add this tomcat to startup please |
15:05.31 | linuxfreck | shishirmk: I guess you could recycle the script that ubuntu supplies with its tomcat-5 package |
15:05.48 | Brandano | shishirmk: that's more an Ubuntu related item than a Tomcat issue |
15:06.37 | shishirmk | oh ok |
15:06.49 | shishirmk | http://www.howtogeek.com/howto/linux/installing-tomcat-6-on-ubuntu/ |
15:06.55 | shishirmk | will this tutorial work?? |
15:08.50 | linuxfreck | well it should work, it'll run tomcat as root though |
15:10.15 | shishirmk | that is if i login as root? |
15:12.27 | linuxfreck | shishirmk: no, the init scripts run tomcat when you boot, no login required |
15:12.48 | shishirmk | oh... but still it will work right? |
15:13.03 | linuxfreck | yes |
15:13.03 | Sebboh | I'd say modify the tomcat5 script. That's a very good idea, linuxfreck, and I think that I'll do it, too. :) |
15:13.07 | Sebboh | I'm on Debian.. |
15:13.22 | linuxfreck | but it will run with root privileges, and that is discouraged |
15:13.50 | linuxfreck | there is the jsvc program, that allows you to drop those privs and still run tomcat on port 80, but that is somewhat advanced |
15:14.00 | shishirmk | well i have to restart and test if things work |
15:14.45 | *** part/#tomcat shishirmk (n=shishir@122.167.193.246) |
15:18.42 | *** join/#tomcat shishirmk (n=shishir@122.167.193.246) |
15:18.55 | shishirmk | ya startup thing is working |
15:19.31 | *** join/#tomcat jrsharp_ (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net) |
15:20.22 | Sebboh | jsvc? What the hell? Why should something special be required? Hmm, if I wanted to run something on a port <= 1024, but not as root.. Well, I don't know how to do that. But I imagine that I could take a look at the apache startup scripts and find out. Surely the JVM executable doesn't need to do anything, surely there is some unix tool to manipulate the UID of a process.. |
15:20.58 | *** join/#tomcat mans_ (n=mans@213.185.29.22) |
15:21.08 | mans_ | hello friends, i call you from sweden |
15:21.13 | Sebboh | I mean just making the startup script suid nobody would make it fail to open port 80, eh? |
15:21.16 | Sebboh | hi mans_. |
15:21.20 | linuxfreck | Sebboh: apache httpd does exactly the same thing as jsvc does |
15:21.31 | mans_ | hello Sebboh, how you doin..? |
15:21.42 | mans_ | i'm having problems with jdbc and tomcat, anybody got that one right? |
15:21.44 | linuxfreck | Sebboh: and an external tool can't alter the uid of a process afaik |
15:21.46 | mans_ | i'm using linux |
15:22.21 | mans_ | linuxfreck, and linux? |
15:22.40 | Sebboh | Weird. You'd think they'd come up with some wrapper to allow the --well, inetd, for one.. ;P But some wrapper to open the port for the app, as root, and then run the app, as nobody, but hand it an already opened port. |
15:22.55 | linuxfreck | well, yes, but there is no difference whether you use it in windows, linux or solaris |
15:23.05 | mans_ | there seems to be |
15:23.22 | mans_ | on windows all i have to do is install tomcat and the run the apps and it works out of the box |
15:23.33 | mans_ | on linux tomcat won't find my jdbc driver |
15:23.52 | linuxfreck | Sebboh: jsvc _is_ the wrapper you just described :) |
15:24.02 | linuxfreck | mans_: which error message do you get? |
15:24.05 | linuxfreck | oh |
15:24.10 | linuxfreck | sorry |
15:24.33 | linuxfreck | get the driver and put it into the common/lib/ directory of tomcat |
15:25.48 | mans_ | already done |
15:26.06 | mans_ | i get a java.lang.NullPointerException |
15:26.13 | linuxfreck | ok |
15:26.43 | linuxfreck | can you paste the entire stacktrace into http://rafb.net/paste |
15:26.49 | Sebboh | linuxfreck: but it's java specific. :) An application-level solution for an os-level problem. Eww, eww. Makes me fret and whine. ;) |
15:27.25 | *** join/#tomcat crYpe (i=crYpe@noxfire.org) |
15:28.05 | mans_ | the drivers is in common/lib and i have also tried in the web-info catalogue.. the paste: http://rafb.net/p/Dx6OQw14.html |
15:28.57 | linuxfreck | whats' in mando.DatabaseManager.executeQuery(DatabaseManager.java:30)? |
15:30.46 | Brandano | I eventually had to specify the entire TNS format connection string to get a connection working. Then again I didn't have a nullpointer exception |
15:32.13 | Sebboh | Oracle releases different classes of their driver... different JDBC levels. So it's possible to have the driver.. connect, and work.. and not get your null pointer until five minutes into runtime when you try some method that maps to some more advanced type of JDBC junk. |
15:32.53 | Sebboh | like connection pooling. :) |
15:33.16 | linuxfreck | oracle is teh sux anyway :p |
15:34.47 | *** join/#tomcat matt7676 (n=matt@popper.yospace.com) |
15:34.54 | mans_ | linuxfreck, http://rafb.net/p/Rb1Ni821.html |
15:34.55 | Sebboh | Tell that to the DoD... :/ They are probably the only reason Oracle is afloat. Some sales rep must have given some general a-- wait, is this a family channel?-- a few years ago. |
15:35.50 | Brandano | Most families manage a Tomcat server, I guess |
15:35.51 | linuxfreck | the dod is on oracle? I'd half expected that they're on ibm db2 |
15:36.02 | linuxfreck | heh |
15:36.19 | Brandano | I'd half expected them to be on Access |
15:36.26 | linuxfreck | it's already late in, uh, russia, too |
15:36.44 | Sebboh | Both of those exist in great quantities.=P |
15:37.07 | Brandano | Anyone got a good link to the proper way to set up an AJP13 lisener for the isapi_redirect.dll? |
15:37.10 | Sebboh | Finally fortran is falling out of popularity, though. |
15:38.04 | Sebboh | Brandano: got all the source or do you have to hex edit object files? :D |
15:38.33 | mans_ | when you used tomcat and jdbc did you have to create a jndi or did you solve it without jndi configuration? |
15:38.44 | Brandano | Personally I rather dislike Java as well, but maybe I shouldn't say it here... Way better than Cobol anyway |
15:40.21 | linuxfreck | Brandano: what do you prefer then? |
15:40.24 | Sebboh | mans_ I dunno what your project is, but, I'm using hibernate, and other than putting the connect string for my database into an xml file, I haven't worried about the database since. In fact, I can switch RDBMS (vendors, not instances!) without any code changes. Might be worth your while. |
16:09.30 | *** join/#tomcat ibot (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
16:09.30 | *** topic/#tomcat is Stable versions: 6.0.16, 5.5.26 and 4.1.36. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org:8080/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. |
16:09.31 | Brandano | or about the 5.x syntax, for that matter, or the 4.x... |
16:09.41 | *** part/#tomcat rconnell (n=rconnell@143-195-0-72-tgs.3menatwork.com) |
16:13.01 | bucifer | so.. what do you know? |
16:13.05 | bucifer | 3.x? |
16:13.29 | bucifer | I did check it... the listeners are declared only once... |
16:16.58 | Brandano | in every included config file? |
16:17.18 | bucifer | I've downloaded the tomcat distribution |
16:17.21 | bucifer | and started tomcat |
16:17.32 | bucifer | so only the default webapps are there.. |
16:17.50 | Brandano | Ah, you mean on the default install, then? In that case then probably it's bug |
16:18.09 | bucifer | after this test, I've tested with my own app |
16:18.25 | bucifer | which works fine in 6.0.14 and prints the same warnings in 6.0.16 |
16:18.39 | bucifer | ok then... I'll create an issue in bugzilla |
16:18.58 | Brandano | but the default setup doesn't print th warnings? |
16:19.11 | Brandano | then it's somehow linked to your app |
16:19.41 | Brandano | something amiss in WEB-INF is my guess |
16:27.42 | shishirmk | what development environment do you guys use for servlets? |
16:31.00 | Brandano | Scite and JavaC |
16:32.04 | Brandano | Tried NetBeans in the past, but was to much of a memory hog for the machines I had at the time. Probably would work better now |
16:34.18 | shishirmk | well i think i will use javac |
16:35.42 | *** join/#tomcat chrisjw (n=funny@82-71-87-173.dsl.in-addr.zen.co.uk) |
16:35.47 | *** join/#tomcat Quiddity (n=steve@ng1.cptxoffice.net) |
16:35.55 | bucifer | Brandano: I said it does |
16:35.55 | Brandano | it works, but you must learn to read the compile errors |
16:36.42 | bucifer | thank you for your help |
16:36.44 | bucifer | bye |
16:39.16 | shishirmk | where should i add those servlets i write in the webapps/examples/we-inf/claasses/ |
16:39.42 | Brandano | time to go. Bye everyone |
16:40.10 | shishirmk | i mean i should a write a entry into web-inf/web.xml file |
16:40.23 | shishirmk | wht entry is tht |
16:49.25 | *** join/#tomcat heze (i=heze@pdpc/supporter/active/heze) |
16:49.53 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
16:50.59 | heze | Hi, I've got a tomcat (atlassian standalone jira) accepting connections but immediately closing connecting on any request. access log says error 400 but I've no idea why. What should I look for? |
16:52.08 | linuxfreck | heze: error messages in the error log |
16:53.32 | heze | catalina.out looks just fine compared to a working previous version of jira on the same box. what log file should I be looking at? |
16:58.52 | heze | i guess i'm way too noob with tomcat to try to debug it, and will instead just reinstall and get it right next time ;) |
17:00.10 | heze | sorry for wasting your irc client's buffer ;) i'll try to come up with better questions in the future. |
17:06.54 | *** join/#tomcat Zack1403 (n=Zack1403@64.122.14.80) |
17:25.36 | *** part/#tomcat matt7676 (n=matt@popper.yospace.com) |
17:32.44 | *** join/#tomcat jrsharp_ (n=jrsharp@c-68-63-241-169.hsd1.tn.comcast.net) |
17:38.29 | *** join/#tomcat jrsharp- (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net) |
17:40.33 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:43.39 | randrew | heze: check host and context mappings. tomcat will return 400 for a request that doesn't map to a servlet context. |
17:47.41 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
17:56.00 | *** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org) |
18:09.38 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
18:24.03 | *** part/#tomcat shishirmk (n=shishir@122.167.193.246) |
19:04.48 | *** join/#tomcat jardin (n=jardin@77.192.23.52) |
19:04.54 | jardin | Hi |
19:04.56 | jardin | I've a probleù |
19:04.59 | jardin | problem* |
19:05.28 | jardin`french | i must rebuild/reinstall tomcat-6 if I want use it |
19:05.44 | linuxfreck | jardin`french: why? |
19:05.54 | jardin`french | i don't know lol |
19:06.09 | jardin`french | if i reinstall not i can't use it... |
19:06.15 | linuxfreck | why do you think that you have to reinstall tomcat? |
19:06.16 | jardin`french | bad connexion... |
19:06.41 | jardin`french | because when i reinstall it, it's ok |
19:08.05 | jardin`french | my problem is : when a start my computer, i make "/etc/init.d/tomcat-6 start" and the server is not enable... i can't use it. So i make a reinstall and the server is ok after |
19:08.17 | jardin`french | do you understand ? :s |
19:08.28 | jardin`french | when i start* |
19:09.04 | kjkoster5489 | Why does it not start from /etc/initd? |
19:10.17 | jardin`french | it's start but it does not work |
19:10.17 | kjkoster5489 | So you see the process running with top? |
19:11.12 | jardin`french | they don't have |
19:11.25 | kjkoster5489 | ? |
19:11.35 | kjkoster5489 | I don't understand. |
19:11.37 | jardin`french | any process |
19:11.42 | jardin`french | not process |
19:11.49 | jardin`french | d you understand ? :D |
19:11.53 | jardin`french | do* |
19:11.53 | kjkoster5489 | So when you reboot there is no Tomcat process? |
19:12.02 | jardin`french | yes :) |
19:12.19 | kjkoster5489 | You said earlier "it start but does not work" |
19:12.30 | kjkoster5489 | So that's not right, it does not start. |
19:12.34 | jardin`french | if i reinstall tomcat and remake /etc/init.d/tomcat-6 restart, tomcat is work |
19:12.37 | jardin`french | hum |
19:12.57 | jardin`french | desktop ~ # /etc/init.d/tomcat-6 restart * Stopping Tomcat ... [ ok ] * Starting Tomcat ... |
19:13.02 | jardin`french | ok |
19:13.08 | jardin`french | i've make restart |
19:16.48 | jardin`french | but tomcat is not in process list |
19:16.48 | jasonb | That looks gentooish. |
19:16.48 | jardin`french | yes i'm with gentoo |
19:16.48 | kjkoster5489 | What reason does Tomcat give in the logs? |
19:16.48 | jardin`french | i look |
19:16.48 | jardin`french | which log ? |
19:16.48 | jardin`french | oh i have |
19:16.48 | jardin`french | manager.2008-02-11.log is empty |
19:16.48 | jardin`french | host-manager.2008-02-11.log too |
19:16.48 | jardin`french | admin.2008-02-11.log too |
19:18.26 | jardin`french | http://pastebin.com/m73b4f18 |
19:18.29 | jardin`french | look this |
19:18.49 | jardin`french | Démarrage = starting in french |
19:20.29 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
19:22.36 | linuxfreck | jardin`french: that's a typical log that would result from a normal tomcat start and stop. seems like these come from a manual start of tomcat. check whether you find logs in /var/log |
19:23.08 | jardin`french | :s |
19:23.24 | jardin`french | i don't understand why it does not work... |
19:23.32 | jardin`french | it's anormal |
19:23.45 | linuxfreck | me too. but that's what logs are for, no? |
19:37.24 | jardin`french | i've reinstall tomcat-6 and no i've a process into the list |
19:37.27 | jardin`french | (top) |
19:37.43 | *** part/#tomcat heze (i=heze@pdpc/supporter/active/heze) |
19:38.47 | linuxfreck | jardin`french: well, that's no long-term solution. find the log files that tomcat generates. then we can see why tomcat doesn't start a second time |
19:42.03 | jardin`french | ok i must help a friend with his wifi |
19:42.14 | jardin`french | i come back after |
19:42.58 | linuxfreck | ... |
19:43.19 | linuxfreck | gentoo... and I thought debian had a crappy tomcat package... |
19:48.08 | *** join/#tomcat gregor_k (n=a@stgt-4dbdbbcc.pool.einsundeins.de) |
19:58.10 | jardin`away | gentoo is good for games ^^ |
19:59.11 | jardin`away | and i prefer to ubuntu... i try debian one day |
20:05.51 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:26.40 | *** join/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU) |
20:28.39 | *** part/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU) |
20:38.43 | *** join/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU) |
20:41.41 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:42.13 | *** join/#tomcat nven (n=nvenkate@122.164.21.130) |
20:43.16 | nven | my tomcat version is 3.0.16 |
20:43.26 | nven | sorry 6.0.16 |
20:43.47 | nven | i have created single server... |
20:43.58 | *** part/#tomcat tomisina (n=tomisina@CMU-218271.WV.CC.CMU.EDU) |
20:44.01 | nven | to create multile instances |
20:44.09 | nven | wat should i do |
20:47.28 | *** join/#tomcat geek_cl (n=geek@Beholder.sodexhopass.cl) |
20:47.40 | geek_cl | hi guys, i try this, http://pastebin.es/2059 |
20:49.04 | linuxfreck | geek_cl: what does that mean? El mapeo de Servlet especifica un nombre de servlet desconocido invoker |
20:49.39 | geek_cl | the mapping of the servlent specified a name of a servlet unknow invoker |
20:49.49 | geek_cl | "something like this" |
20:50.11 | linuxfreck | ok, how old is that web application? |
20:50.44 | geek_cl | ufff pretty |
20:50.59 | geek_cl | my question is about line 82 |
20:51.04 | linuxfreck | but you most likely have to enable the invoker servlet as told in http://tomcat.apache.org/tomcat-6.0-doc/RELEASE-NOTES.txt |
20:51.08 | geek_cl | where i define the jndi? |
20:51.18 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
20:53.19 | linuxfreck | geek_cl: jndi is just a generic path scheme for java, the error is caused by the invoker servlet |
20:54.07 | linuxfreck | line 81 says that there was an issue while reading the web.xml file at jndi:/localhost/emprendepass/WEB-INF/web.xml |
20:54.23 | geek_cl | yeah... the invoker was commented |
21:01.20 | geek_cl | linuxfreck: thanks , now work |
21:01.50 | linuxfreck | np |
21:05.23 | newpers | i'm using environment entries to define a jndi resource. if the Environment enrty is defined in context.xml, then it applies to all applications and tomcat needs to be restarted for the change to take effect, right? |
21:05.40 | newpers | what if it's defined in WEB-INF/web.xml? can it be changed on the fly? or does tomcat need to be restarted each time? |
21:06.58 | linuxfreck | you have to restart the context, i.e. the web application |
21:07.59 | newpers | linuxfreck: thanks :) |
21:23.19 | *** join/#tomcat jrsharp- (n=jrsharp@c-68-52-226-233.hsd1.tn.comcast.net) |
22:26.08 | *** join/#tomcat ox1 (i=trallall@bas-flu-bbcs-dynip-205-152.vtx.ch) |
22:34.53 | *** join/#tomcat andyt_ (n=andyt@THOMPSON.ADMIN.SCPS.NYU.EDU) |
23:13.41 | *** join/#tomcat ABCDEF (i=ABCDEF@201-213-239-182.net.prima.net.ar) |
23:16.14 | MHSL | <newpers> i'm using environment entries to define a jndi resource. if the Environment enrty is defined in context.xml, then it applies to all applications and tomcat needs to be restarted for the change to take effect, right? -> create a context file for your own web app |
23:16.51 | MHSL | <newpers> what if it's defined in WEB-INF/web.xml? can it be changed on the fly? -> yes you can, as long as you set reloadable to true in your context, you don't need to restart tomcat |
23:17.05 | MHSL | tomcat will automatically reload the context for you |
23:20.49 | *** join/#tomcat ABCDEF_ (i=ABCDEF@201-213-239-182.net.prima.net.ar) |
23:31.43 | *** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr) |
23:38.25 | *** join/#tomcat Jed_84 (i=ABCDEF@201-213-239-182.net.prima.net.ar) |