00:05.34 | lyken | lol |
00:07.13 | jasonb | Just writing the outline for the text is like writing an outline about tax law.. where do you even begin? :/ |
00:07.43 | lyken | lol |
00:08.41 | bertjan_ | ah, scripted rebuild and reload of the app.. that's nice |
00:09.15 | bertjan_ | way better than manually compiling the app and restarting the whole server :) |
00:09.29 | jasonb | Oh yeah. |
00:09.33 | lyken | yer :) |
00:09.52 | jasonb | The manager webapp is there because people need it. :) |
00:11.04 | profpoke | Anyone know if it is possible to setup Tomcat to do 302 redirects w/o use of Apache ? |
00:12.06 | bertjan_ | can't you just print some header to do the redirect ? |
00:12.40 | profpoke | It's mainly for the root / of the site to forward on to the actual app on the host .. |
00:12.53 | profpoke | But they won't let use use a simple html meta redirect .. |
00:13.08 | *** join/#tomcat jeromatron (n=jeromatr@71-38-254-194.slkc.qwest.net) |
00:13.15 | profpoke | So I wondered if there was a config anywhere that was like Apache that might allow for easy redirects ... :o |
00:13.48 | jasonb | profpoke: It's possible. |
00:14.28 | jeromatron | I was just wondering how people typically configure apache to serve up all of the static content and if it doesn't have something, it defers to tomcat. I have html/css/etc content both in apache and tomcat's webapps, so I can't just map *.jsp, *.do, etc. to tomcat nor can I map the whole directory. |
00:15.08 | jasonb | profpoke: You should start with telling us the details of what you're trying to do. Where is your webapp mounted in your URI space? Why wouldn't you just make your webapp's URI begin at "/"? etc.. |
00:16.12 | jasonb | jeromatron: You probably have your content too mixed between apache and Tomcat. For any directory of content, you should really *choose* either apache or Tomcat. |
00:16.51 | jasonb | jeromatron: Also, apache can't properly serve .jsp files, so you really should be able to map *.jsp to Tomcat. |
00:17.35 | jeromatron | true...they've had the webapp directly in the htdocs in the past and I'm trying to split it up. I think that might work, but what about subdirectories - we have php apps in there too, so can I do a mapping like /* worker1 and then have /blah/php/* still be handled by apache? |
00:19.15 | jeromatron | it seemed like the mapping was by default recursive is why I ask. I just want to be able to use both j2ee and php on a directory basis I guess. |
00:19.18 | jasonb | jeromatron: What I'm saying is, in one directory of content, you should not mix JSP and PHP. Also, you shouldn't have file1.html in apache's htdoc root, and then file2.html (in the same dir) only in a Tomcat webapp. You're asking for trouble if you're doing that. |
00:20.05 | jasonb | jeromatron: Also, it's almost always a bad thing to have your webapp content stored in apache's htdoc root. You'll just confuse all the software doing that. |
00:20.13 | jeromatron | yeah...:s |
00:20.17 | profpoke | hmm.. |
00:20.27 | jasonb | Well, you'll actually confuse the people more than you'll confuse the software. :) |
00:20.33 | jeromatron | :) |
00:20.47 | lyken | heh |
00:20.52 | jasonb | To me, that's an unworkable deployment methodology. |
00:21.02 | profpoke | I guess I can show an example link: https://sis.wtamu.edu/WebAdvisor/WebAdvisor |
00:21.19 | profpoke | We use something from Datatel called WebAdvisor ... |
00:21.27 | jasonb | profpoke: Why would you want your users to have to type in "WebAdvisor" twice on the same URL? |
00:21.42 | profpoke | They seem to recommend we keep that url pattern... |
00:21.51 | jasonb | That looks wrong. |
00:22.00 | profpoke | I don't like it, which is why I'm trying to push for a sort of redirect in the root ... |
00:22.08 | jeromatron | Yeah, like me ;) but I've come in after the previous people did it this way and just trying to split it up by directory. I can map the root directory to a webapp context. However if the mapping is recursive, how would I tell apache that /blah/php is really supposed to go to the php module? |
00:22.59 | jasonb | jeromatron: You *could* use mod_rewrite to rewrite all */php kinds of URI patterns to something else. |
00:23.18 | jasonb | (before Tomcat gets the request) |
00:24.19 | jeromatron | that's true...hmmm, good points about splitting it up though. I had been thinking that I wouldn't be able to split it up. However it's seeming more logical/possible. |
00:24.28 | jeromatron | deployment has been crazy... |
00:24.31 | jeromatron | :) |
00:26.16 | jasonb | On the contrary, you will ultimately be forced to split it up. |
00:33.57 | jeromatron | Cool, I think I got the beginnings of it working. Thanks for the help. |
00:35.09 | jeromatron | Re: split up: breakups are always hard... htdocs: "webapps, I feel like I don't even know you anymore" :P |
00:37.15 | jasonb | heh |
00:37.19 | jasonb | You're welcome. |
00:37.58 | lyken | lol |
00:38.04 | lyken | i put my apps all in one place |
00:38.09 | lyken | and 'symlink the world!' |
00:38.17 | jasonb | lyken: inside apache's htdoc root though? |
00:38.19 | lyken | and rewrite the world |
00:38.21 | lyken | lol no |
00:38.25 | lyken | in /export usually:) |
00:38.30 | jasonb | Good. |
00:38.44 | lyken | i dont think ive put a webapp actually in a tomcat dir since version 4 |
00:39.04 | jasonb | Yeah, I use CATALINA_BASE myself. |
00:39.35 | jasonb | It's more up-front work (if you don't just use my tomcat-package and webapp-package RPMs, that is), but the result is far nicer. |
00:40.37 | lyken | :) |
00:45.02 | profpoke | =o |
00:45.59 | lyken | jasonb: read the source code, again, lol |
00:46.16 | jeromatron | host manager, like the now separated admin webapp? |
00:46.44 | jeromatron | manager should be in the default install, but I noticed that with 5.5, you have to download the admin webapp separately...wonder why |
00:47.05 | jasonb | The admin webapp is "large" and they decided not everyone needed it , so they separated it. |
00:47.10 | jeromatron | ahh |
00:47.18 | lyken | ive never used the admin package |
00:47.21 | lyken | manager is all ive required |
00:47.26 | jasonb | Now, they wouldn't have done this if it wasn't for people whining that Tomcat had too much bloat.. The admin package isn't real big. |
00:47.47 | lyken | meh |
00:47.52 | jasonb | The manager webapp (which is different from the admin webapp), still does come with Tomcat, although it is far smaller than Admin. |
00:48.06 | lyken | if xbox360 can have a 900mb DEMO a freakin web AS can be 15mb |
00:48.23 | jeromatron | I've had kind of a hard time with the manager webapp... sometimes it reloads stuff okay, but maybe I change the app too much |
00:48.24 | jasonb | And, the *host manager* webapp is yet one more webapp that still does come with Tomcat, but has no docs yet except for Javadocs like Lyken was saying. |
00:48.30 | jeromatron | usually I restart tomcat |
00:48.36 | jeromatron | lol |
00:48.39 | jeromatron | no kidding... |
00:48.45 | jeromatron | w/demo |
00:49.04 | lyken | we are on fast interent at home |
00:49.17 | lyken | i dont know how anyone could deal with downloading xbox360 demos direct to the console |
00:49.25 | lyken | id die from the painfully slow transfers |
00:50.01 | jasonb | People were complaining to the Tomcat committers repeatedly that Tomcat was growing too large, and that it had all kinds of features that few people wanted. So, they took Admin out.. Personally, I think it was a bad idea. |
00:53.05 | profpoke | jasonb: So do you think a meta-redirect is likely the best option? o_O |
00:53.40 | yassine | well the admin applications helped me in earlier time to start into tomcat structure |
00:54.03 | yassine | but for now im feeling better when editing my config files maually |
01:01.15 | jasonb | profpoke: It's certainly the easiest way to make it work. |
01:01.35 | profpoke | okey-dokey |
01:01.39 | jasonb | yassine: Yeah, I don't change my configs with the Admin webapp either. But, lots of newbies could probably have an easier time with Tomcat by using it. |
01:01.55 | yassine | yes that helped me much |
01:02.19 | jasonb | I already knew how Tomcat worked before the Admin webapp existed.. so it didn't help me. :) |
01:02.36 | yassine | :) |
01:07.20 | jasonb | It looks cool though. :) |
01:09.09 | yassine | the admin app ? |
01:09.20 | yassine | :) |
01:12.08 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
01:21.36 | yassine | jasonb, its late here time for me to sleep |
01:21.44 | yassine | good night everyone |
01:57.34 | *** join/#tomcat bdudney (n=bdudney@c-24-9-189-43.hsd1.wa.comcast.net) |
02:19.48 | *** part/#tomcat jeromatron (n=jeromatr@71-38-254-194.slkc.qwest.net) |
02:57.46 | *** join/#tomcat [a]tomi (n=chatzill@pool-71-104-69-181.lsanca.dsl-w.verizon.net) |
04:05.28 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
04:07.25 | *** join/#tomcat caskey (n=caskey@adsl-66-159-247-125.dslextreme.com) |
04:08.49 | caskey | I've been using jk2 to connect to apache, but is it the current best-practice? The 4.1 docs lists it as deprecated, and only mod_jk (with CoyoteConnector) and mod_proxy as neither obsolete or deprecated. |
04:08.59 | caskey | In new installations, which should I be using? |
04:16.36 | *** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net) |
04:32.47 | *** join/#tomcat a4akab (i=webirc@freeforge.net) |
04:37.59 | jasonb | caskey: It's true, mod_jk2 is deprecated, which leaves mod_proxy and mod_jk. Of the two, mod_proxy is far easier to set up and use, so that's what I'm suggesting people use. |
04:39.44 | caskey | jasonb, under debian/ubuntu, they still package jk2, is there a 'special' version of mod_proxy that I should be using, or it is just a special config of the default mod_proxy that is part of the apache2 distribution? |
04:41.10 | jasonb | caskey: debian has lots of old, bad software in it. jk2 shouldn't be in there at all now. There is no special version of mod_proxy. It's whatever mod_proxy that comes with your version of httpd. Yes, there are configs that are specific to mod_proxy, just like there are configs specific to each module. |
04:42.29 | caskey | jasonb, okay, I'm cool with the configuration, my concern was that I need to build a special version of the proxy module itself. I wish there would be a big sign "apache doesn't require custom software to connect to tomcat" :-) |
04:42.32 | caskey | jasonb, thanks for the help |
04:43.22 | jasonb | Not only that, Tomcat doesn't need Apache httpd at all. |
04:44.00 | caskey | jasonb, that may be the case, but I need apache. Tomcat doesn't do everything apache does (yet) |
04:44.08 | jasonb | Unless you are using a feature of httpd that you're 100% sure that Tomcat doesn't implement, then you do not need apache httpd. |
04:44.21 | jasonb | What features of httpd are you using that Tomcat doesn't support? |
04:44.54 | caskey | Unified login across jsp and a number of legacy apps |
04:45.52 | jasonb | Define "legacy apps". |
04:46.17 | a4akb | old apps? |
04:46.38 | caskey | Automated administration tools for managing apache |
04:46.47 | caskey | plus other web services, perl, fcgi, cgi, etc. |
04:46.54 | jasonb | If you didn't use apache, you wouldn't need to administer apache. :) |
04:47.11 | caskey | If tomcat weren't such a pain in the ass to configure, I would consider it :-) |
04:47.25 | jasonb | Well, mod_perl stuff you do need apache for. fcgi is also not supported yet as far as I know, but I may be wrong about that. |
04:47.38 | jasonb | caskey: It's only a pain in the absence of decent docs. |
04:47.57 | caskey | regardless, even if tomcat achieved feature parity with apache, I probably still wouldn't use it |
04:48.08 | jasonb | Lots of old timers wouldn't. |
04:48.15 | jasonb | They just won't let go of something they already know. |
04:48.31 | caskey | If it ain't broke... |
04:48.42 | jasonb | (even if it meant consolidating two servers, simplifying things, and making the web sites run faster) |
04:49.07 | caskey | sometimes consolodation is a negative. There are those of us that need the load balancing that separation of concerns gives us. |
04:50.15 | jasonb | You can do the same with just Tomcat. You just organize it differently. |
04:50.59 | caskey | I find that most suggestions with variations on "you just" should be summarily ignored. |
04:52.00 | jasonb | It's all OSS, and we're all free to use what we want. But, beware that times change. |
04:53.08 | caskey | Yep, but the more they change, the more they stay the same. There may be 'new' ways of doing things, but in the end, they all tend to come out the same. 90% feature complete, then the pack moves on to something different. |
04:54.25 | jasonb | Well, Java's been improving for over a decade now, and still noticeably improving. |
04:54.50 | jasonb | Tomcat has been improving since about 1998.. and is still improving as well. |
04:55.14 | jasonb | IMHO Tomcat is now past where I considered the 100% point was.. but, that's just my perspective. |
04:55.45 | caskey | yep, but it's no longer the 'hot new thing', it's achieved stability and most interest has moved on to other pastures. I haven't needed anything past tomcat4 on jre1.4 |
04:55.47 | jasonb | To me, Java's nearly at where I thought 100% was.. it's maybe 97% or something IMHO. |
04:56.26 | jasonb | Not everyone has moved on from Tomcat. It's more heavily used today than ever. |
04:56.32 | jasonb | I'd say the same about Java. |
04:56.52 | jasonb | Yes, new things have cropped up.. and I'm sure people will jump on, and follow that trail, but that's normal. |
04:56.58 | jasonb | (and good) |
04:57.08 | caskey | Sure, each day there are epsilon more users than before, but that's not the same thing as what it was ca. 2000 |
04:57.59 | caskey | regardless, no app does everything and does it well, tomcat makes html very nicely, but apache does other things better, and more easily, as does perl and such. THe difference is apache is a much easier 'glue' to hold everything together with. |
04:59.05 | jasonb | Well, apache has had quite a head start on Tomcat. :) Given that much time, Tomcat will be every bit as easy, just different. |
04:59.19 | jasonb | I agree that some things about today's apache are easier for people to deal with. |
04:59.28 | caskey | not likely, tomcat does what it needs to do, interest won't maintain to make it do everything that apache does |
04:59.32 | jasonb | Part of that is Tomcat's lack of decent docs. |
04:59.59 | caskey | apache lacked good docs for 3 or 4 years, tomcat is past its prime because the important stuff is already documented well enough |
05:00.06 | caskey | (past its prime for producing the needed docs) |
05:00.48 | jasonb | Well, but the code isn't frozen in time either. :) It will change, and the changes will invalidate what docs are written. |
05:01.01 | jasonb | (which will prompt the writing of new docs) |
05:01.07 | caskey | People are no more ready to drop apache and replace with tomcat (as the primary recipient of incoming requests) than they are ready to drop Windows on the desktop in favor of Linux |
05:01.16 | caskey | Sure, sure. |
05:02.22 | jasonb | Ready or not, many people end up needing Java, or JSP, or servlets. They can try some httpd competitor technologies, and some will just use those instead, but lots of people end up having to support Java/JSP for real. Java is the most widely used programming language today. |
05:02.55 | caskey | True, and today you can slap it on behind an apache front end. Which is what I don't see changing any time soon. |
05:03.06 | jasonb | So, they'll either use a cruddy module connector and proxy all the requests, slowing them down, or they'll make Tomcat their first-contact web server. I realize a chunk will choose the former. |
05:03.18 | caskey | And I'd watch that whole "most widely used programming language" thing. |
05:03.57 | caskey | for people whom performance is a factor, they use accelerators and the like and an issue like the connector is irrelevant. Got to go though. Have a good one. |
05:04.09 | jasonb | When the O'Reilly Tomcat book strongly recommends against the Apache --> Tomcat configuration, people will either choose PHP or they'll choose to use Tomcat as the first contact web server. They can choose neither, but people tend to really listen to the suggestions in the O'Reilly books. :) |
05:04.35 | jasonb | Okay.. have fun. Again, try mod_proxy. :) |
05:04.41 | a4akb | Hail jasonb |
05:21.59 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
05:23.08 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
05:25.55 | *** join/#tomcat fix- (n=Bjorn@83-217-93-254.adsl.realdsl.be) |
05:31.03 | *** join/#tomcat olem__ (n=omay@dslb-088-072-036-071.pools.arcor-ip.net) |
05:47.44 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
06:13.21 | *** join/#tomcat Jara[zZ] (n=rimaraj@62.123.204.106) |
06:20.03 | *** join/#tomcat bertjan (i=freebase@instinct.student.utwente.nl) |
06:23.24 | *** join/#tomcat omay (n=omay@dslb-088-072-036-071.pools.arcor-ip.net) |
06:26.38 | *** join/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
06:39.06 | *** join/#tomcat icyValk77 (n=icyValk7@gateway.ash.thebunker.net) |
06:46.56 | [a]tomi | anyone know of any adverse effects of leaving the tomcat manager app available through the internet? |
06:47.55 | jasonb | heh! |
06:48.12 | jasonb | Wide open? :) |
06:49.26 | [a]tomi | well default yea |
06:49.40 | jasonb | default == no user has access. |
06:50.08 | [a]tomi | oh right. sry I mean just using tomcat-users.xml |
06:51.02 | jasonb | The stock contents of that file? Or, an edited one with one or more user(s) enabled for the manager webapp? |
06:51.43 | [a]tomi | yes an edited one with just one user... |
06:52.06 | [a]tomi | enabled only for the manager webapp that is |
06:52.18 | jasonb | Well, any malicious user would need to guess your password, and log in as you. |
06:53.08 | [a]tomi | how about search spiders, do they pose any problems?? |
06:53.11 | jasonb | If you're a bad sysadmin, they may be able to read the content of tomcat-users.xml via some other vulnerable server, and then get the login they need. |
06:53.32 | [a]tomi | i see. |
06:53.43 | jasonb | But, it's still not likely to happen. |
06:54.07 | jasonb | search spiders only place a small load on your Tomcat.. they hit mine frequently, and don't cause any problems. |
06:54.29 | jasonb | You can put a robots.txt at the root of your host's root webapp to disable them if you really want to. |
06:54.38 | [a]tomi | your manager app you mean? |
06:55.02 | jasonb | Well, the spiders can't use the manager webapp without logging in. |
06:55.07 | [a]tomi | I figure a simple robots should do the trick |
06:55.32 | jasonb | You don't need to worry that the spiders will get into your manager webapp. :) |
06:55.56 | [a]tomi | well thats good to hear from you |
06:56.10 | [a]tomi | have you gotten your co-author yet? |
06:56.41 | jasonb | Well, Ian and I were always co-authors on the book. |
06:57.00 | [a]tomi | cool thanks, i've got to log for a few... hope all is well bbiaw :) |
06:57.06 | jasonb | He's not participating in the 2nd edition rewrite, but his name will be on it anyway since he wrote a portion of the first edition. |
06:57.20 | jasonb | Okay.. :) Have fun. |
07:02.22 | *** join/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net) |
07:15.08 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
07:29.11 | *** join/#tomcat RizeNine (n=RizeNine@pool-70-106-192-176.chi.dsl-w.verizon.net) |
07:56.23 | *** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.lan.ch) |
08:07.10 | *** join/#tomcat olem__ (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
08:10.59 | *** join/#tomcat booga (n=booga@216.66.255.107) |
08:13.34 | *** join/#tomcat codejunky_ (i=apache@codejunky.org) |
08:55.46 | *** join/#tomcat omay (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
09:10.20 | *** join/#tomcat harpoon (i=stueber@ultra20.rbg.informatik.tu-darmstadt.de) |
10:15.49 | *** join/#tomcat HandyAndE (n=aje@dev.rectang.com) |
10:16.07 | HandyAndE | I have read about CATALINA_BASE and CATALINA_HOME |
10:16.26 | HandyAndE | but is there a way to have everything shared (conf, lib, webapps etc) but to only start ONE of the webapps |
10:16.35 | HandyAndE | (configured through server.xml) |
10:16.44 | HandyAndE | i.e. make other webapps "dormant" |
10:16.52 | HandyAndE | without removing them from the webapp dir? |
10:16.58 | HandyAndE | thanks! |
10:17.52 | HandyAndE | (tomcat 4.1.31 if it makes a difference - connecting to apache2 through ModJK) |
10:52.36 | *** join/#tomcat olem__ (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
10:57.58 | lyken | HandyAndE: hmmz |
10:58.05 | lyken | prolly possible heh |
11:02.06 | HandyAndE | meh |
11:02.21 | HandyAndE | looked through the code and I could not determine how it decided what to load |
11:02.42 | HandyAndE | my server.xml has "context" items to list what I want to load, but it loads all the other webapps it finds too |
11:03.00 | lyken | cause autoload is on i think |
11:03.13 | HandyAndE | ah! |
11:03.59 | lyken | i think, its been a whiles |
11:04.00 | lyken | heh |
11:05.17 | HandyAndE | can't find info on "autoload" |
11:06.17 | lyken | web.xml ? |
11:06.58 | HandyAndE | "autostart"? |
11:07.14 | lyken | not sure dude, i dont have axs to my tomcat install atm |
11:07.25 | HandyAndE | np |
11:07.34 | HandyAndE | hmm, autostart is for servlets, not webapps |
11:07.35 | HandyAndE | hmm |
11:46.35 | *** join/#tomcat cfm (n=chatzill@host217-34-51-167.in-addr.btopenworld.com) |
11:51.27 | *** join/#tomcat larryBoy (n=me@72-160-16-109.dyn.centurytel.net) |
11:56.39 | *** join/#tomcat Intrpngn (n=Intrpngn@cygnus.cygnuspub.com) |
12:17.10 | *** join/#tomcat omay (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
12:20.35 | *** part/#tomcat larryBoy (n=me@72-160-16-109.dyn.centurytel.net) |
12:31.35 | *** join/#tomcat jsisson (n=sissonj@ppp19-4.lns2.syd7.internode.on.net) |
12:31.49 | *** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.lan.ch) |
12:35.13 | *** part/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
12:40.09 | *** join/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net) |
12:51.01 | *** join/#tomcat fix-- (n=Bjorn@cable-213-132-146-249.upc.chello.be) |
12:53.09 | *** join/#tomcat fix- (n=Bjorn@83-217-93-254.adsl.realdsl.be) |
13:07.30 | *** join/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
13:27.03 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
13:30.36 | *** join/#tomcat fix- (n=Bjorn@83-217-93-254.adsl.realdsl.be) |
13:42.33 | *** join/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
13:43.16 | *** join/#tomcat yassine (n=yel@h-213.61.164.152.host.de.colt.net) |
13:50.19 | *** join/#tomcat sven__ (n=sven@goosen.demon.nl) |
13:51.09 | sven__ | hi, can anyone point me to some tutorial or docs explaining the usage of j_security_check with a database |
13:53.01 | *** join/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
13:57.42 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
14:04.39 | yassine | hi everyone |
14:06.12 | *** join/#tomcat fix- (n=Bjorn@83-217-93-254.adsl.realdsl.be) |
14:08.44 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
14:13.51 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
14:21.38 | *** part/#tomcat brenton (n=bleanhar@nat-pool-rdu.redhat.com) |
14:36.04 | *** part/#tomcat cypo (n=opera@dslb-082-083-032-112.pools.arcor-ip.net) |
14:41.51 | *** join/#tomcat olem__ (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
14:46.21 | *** join/#tomcat RizeNine (n=RizeNine@pool-70-106-192-176.chi.dsl-w.verizon.net) |
14:56.20 | *** join/#tomcat wam (n=wigwam@proxy1.msh.de) |
15:08.14 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
15:12.03 | *** join/#tomcat omay (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
15:13.57 | *** join/#tomcat cowboyway (i=LinuxDev@AC813776.ipt.aol.com) |
15:28.02 | cowboyway | when i compile mysql 5.1.9 from source do i need to specify a flag telling MySQl which storage engine to use, or do i select the one i want later when building my database ? |
15:28.09 | cowboyway | oops, sorry wrong group |
15:31.04 | *** part/#tomcat wam (n=wigwam@proxy1.msh.de) |
15:33.53 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
15:39.18 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
15:46.48 | *** join/#tomcat druid-programmer (i=LinuxDev@AC813776.ipt.aol.com) |
15:46.56 | yassine | jasonb, are you around ? |
15:56.04 | *** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net) |
16:08.05 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
16:11.39 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
16:15.42 | druid-programmer | Jasonb: is Java Servlet and JSP Cookbook a good book for one that is new to JSP ? |
16:29.31 | yassine | cowboyway, are you there ? |
16:29.32 | *** join/#tomcat Fix- (n=bmonnens@d5152CD17.access.telenet.be) |
16:30.37 | cowboyway | yassine: yes i am here...was just searching for jsp info |
16:30.46 | yassine | any one around encountered this error message with tomcat 5.5.17 guys ? : log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). |
16:30.46 | yassine | log4j:WARN Please initialize the log4j system properly. |
16:31.29 | yassine | i have a log4j.jar in the common/lib |
16:32.54 | yassine | any idea cowboyway ? |
16:32.59 | cowboyway | no idea |
16:33.12 | cowboyway | i am new to tomcat |
16:33.35 | yassine | np :) |
16:33.39 | yassine | thanks |
16:33.43 | cowboyway | welcome |
16:45.49 | *** join/#tomcat NorthDragon (n=IzhikovN@otr.nline.ru) |
16:45.56 | *** part/#tomcat NorthDragon (n=IzhikovN@otr.nline.ru) |
16:47.49 | *** join/#tomcat ohsix_ (i=ohsix@bc111222.bendcable.com) |
16:55.06 | *** join/#tomcat ohsix__ (i=ohsix@bc111222.bendcable.com) |
16:57.52 | *** join/#tomcat ohsix (i=ohsix@bc111222.bendcable.com) |
17:08.43 | *** part/#tomcat cfm (n=chatzill@host217-34-51-167.in-addr.btopenworld.com) |
17:18.13 | *** join/#tomcat valmont (n=chrishol@adsl-69-232-59-201.dsl.irvnca.pacbell.net) |
17:25.15 | *** join/#tomcat valmont_ (n=chrishol@germany.pspdev.pas.earthlink.net) |
17:39.47 | *** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com) |
17:43.49 | *** join/#tomcat cfm (n=chatzill@host217-34-51-167.in-addr.btopenworld.com) |
17:49.03 | *** part/#tomcat cfm (n=chatzill@host217-34-51-167.in-addr.btopenworld.com) |
17:58.25 | *** join/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net) |
18:12.17 | *** join/#tomcat bdudney (n=bdudney@dhcp64-134-213-106.nyrh.nyc.wayport.net) |
18:53.29 | *** join/#tomcat dreivier (n=dreivier@port-212-202-44-136.dynamic.qsc.de) |
18:55.14 | *** join/#tomcat Brox (n=peter@dslb-082-083-063-076.pools.arcor-ip.net) |
18:56.32 | Brox | i'm making a connection to a db with a servlet but after a while i tells me "can't open any more cursors"... e.g. http://pastebin.com/747383 - how can i prevent this? |
18:57.15 | *** join/#tomcat rabeldable (n=rabeldab@adsl-67-125-72-226.dsl.snfc21.pacbell.net) |
18:59.13 | rabeldable | anyone know about having a favicon.ico files and tomcat or mod_jk |
18:59.34 | *** join/#tomcat [a]tomi (n=chatzill@pool-71-104-69-181.lsanca.dsl-w.verizon.net) |
19:07.32 | *** join/#tomcat martind (n=martind@wsp05975388wss.cr.net.cable.rogers.com) |
19:08.27 | martind | I would like to know when we can expect Tomcat 6 release. Anybody has an idea? |
19:10.04 | randrew | hmm jboss has a web server now. |
19:17.17 | rabeldable | where can I find out more about mod_jk, tomcat and apache caching |
19:18.08 | HandyAndE | rabeldable: dunno - but if you find it let me know!!! |
19:21.08 | *** join/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net) |
19:22.38 | *** join/#tomcat jgoodwill (n=jgoodwil@c-67-176-115-152.hsd1.co.comcast.net) |
19:25.05 | *** join/#tomcat flexable (n=flexable@host119-45.pool8249.interbusiness.it) |
19:27.22 | *** join/#tomcat epswing (i=epswing@TOROON12-1178068039.sdsl.bell.ca) |
19:38.48 | *** join/#tomcat zyl-42411493 (n=PircBot@ns34244.ovh.net) |
19:40.55 | *** join/#tomcat golqm-noob (i=poisoner@11383.unitednetworx.com) |
19:41.56 | *** join/#tomcat olem__ (n=omay@dslb-088-072-044-163.pools.arcor-ip.net) |
20:03.46 | *** join/#tomcat FreemaniaX (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net) |
20:05.20 | *** join/#tomcat yassine (n=yassine@xdsl-213-168-120-19.netcologne.de) |
20:08.12 | *** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
20:15.39 | yassine | hi everyone |
20:18.32 | *** join/#tomcat Alconquian (n=gringo@c-24-23-87-46.hsd1.tx.comcast.net) |
20:25.23 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
20:35.56 | *** join/#tomcat leonel (n=leonel@201.123.63.194) |
20:36.23 | leonel | hello : tomcat 5.5.17 is servlet api 2.4 or 2.5 ?? |
20:38.37 | jasonb | 2.4. |
20:38.44 | jasonb | 2.5 was just finalized. |
20:38.47 | yassine | hi jasonb leonel |
20:39.14 | jasonb | Tomat 6 is for Servlet 2.5, JSP 2.1. |
20:39.19 | jasonb | hi yassine. |
20:42.38 | leonel | thnaks ... |
20:45.25 | jasonb | leonel: You're welcome. |
20:52.25 | *** join/#tomcat EatenByGrues (n=David@adsl-065-006-199-005.sip.shv.bellsouth.net) |
20:53.41 | EatenByGrues | Just to verify, is it possible to have apache running on a seperate machine from tomcat and connect them with mod_jk? If so does anyone know some good documentation on this because all I can seem to find is information on how to use the same machine for both applications. |
20:54.24 | jieryn | when i start tomcat, i'm getting all sorts of file not found exceptions for .class files |
20:54.38 | jieryn | how can i force tomcat to regenerate the class files? stop/start & restart are not doing the trick |
20:57.27 | jasonb | EatenByGrues: Yes, it's possible. It should work fine when configured to make a TCP connection to Tomcat. |
20:57.39 | jasonb | EatenByGrues: And, there may not be any great docs at this point. |
20:59.51 | EatenByGrues | jasonb: I thought so just wanted to make sure because everything I ran into (how-to documents and stuff) was about single system configurations. So really as long as the hostname is correct in the workers.properties file it should work? |
21:00.33 | jasonb | EatenByGrues: Yep. |
21:00.46 | EatenByGrues | thanks |
21:01.52 | jieryn | any idea? :) |
21:08.55 | *** join/#tomcat jeromatron (n=jeromatr@mail.rcwilley.com) |
21:10.48 | jieryn | solved the problem by chown -R tomcat:tomcat /var/run/tomcat-5 |
21:14.32 | *** join/#tomcat swente (i=q5wg7DES@unaffiliated/swente) |
21:14.36 | swente | 'lo |
21:21.05 | yassine | swente, do you happen to know why this error happens on a fresh install of 5.5.17 ? [ log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.Embedded). |
21:21.05 | yassine | log4j:WARN Please initialize the log4j system properly.] |
21:21.32 | swente | yassine: this error is not new, and occurs since i use tomcat |
21:21.43 | swente | s/error/warning/ :) |
21:21.47 | yassine | any idea how to acouing it ? |
21:21.52 | yassine | avoid it |
21:22.03 | swente | prepare an adequate log4j.properties |
21:22.06 | *** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.lan.ch) |
21:22.39 | yassine | mhh |
21:23.22 | yassine | only a file ? |
21:23.38 | yassine | i mean i have a logging.properties already there |
21:23.48 | yassine | but i guess its not related to log4j |
21:25.12 | swente | yassine: sorry, i really had to dig into it now to solve that :) |
21:26.15 | yassine | np :) |
21:40.00 | *** join/#tomcat GhettoJava (n=Freemani@ip67-153-106-58.z106-153-67.customer.algx.net) |
21:40.16 | *** join/#tomcat freeone3000 (n=james@64-193-216-210.wco.clearwire-dns.net) |
21:40.33 | freeone3000 | ...With the installation of mod_jk to apache, does it automatically make tomcat work with it? |
21:48.04 | [a]tomi | hey guys, any reason why tomcat wouldnt auto deploy a war? |
21:48.33 | [a]tomi | i've got the war inside a non default webapps directory /dunstar/webapps/pc.war to be exact... |
21:49.19 | [a]tomi | with an appBase="/dunstar/webapps/" in server.xml |
21:51.52 | jeromatron | tomi: the permissions on the war file by chance? Just a thought |
21:52.35 | *** join/#tomcat flamefew (n=flamefew@dsl081-182-155.sea1.dsl.speakeasy.net) |
21:53.40 | [a]tomi | to be safe 777 |
21:54.59 | [a]tomi | it's ok thanks for trying i'll get this puppy going eventually :) |
22:00.25 | jeromatron | no sym links in there are there tomi? I'm actually just setting the <context> attribute allowLinking to true on my local dev machine... |
22:27.03 | [a]tomi | jeromatron: no symlinks, do you think it's necessary to restart tomcat... that actually unpacked the war... from what I noticed it unpacked it after I hit the URL |
22:27.50 | [a]tomi | what about the <context> is that set inside the war package> |
22:28.02 | [a]tomi | <PROTECTED> |
22:29.34 | [a]tomi | hello? |
22:29.51 | jeromatron | hmmm... when I put war files inside my webapps directory, it autoexplodes them. |
22:30.00 | jeromatron | I wonder - that's probably a setting in your context as well. |
22:30.11 | jeromatron | whether it will auto-explode war files. |
22:30.35 | [a]tomi | actually I don't have a context file... |
22:31.18 | [a]tomi | err inside the war package that is. |
22:32.28 | [a]tomi | I'd actually like to be able to include a context file that decides what the ROOT folder will be for that individual package |
22:32.49 | jeromatron | You might take a look at the auto-deployment docs found here: |
22:32.49 | jeromatron | http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment |
22:33.02 | jeromatron | they might be useful for trying to get it to recognize the stuff. |
22:33.34 | jeromatron | also, the context reference for fun: |
22:33.34 | jeromatron | http://tomcat.apache.org/tomcat-5.5-doc/config/context.html |
22:35.00 | jeromatron | I hope that helps :-P |
22:55.18 | *** join/#tomcat jsisson (n=sissonj@218.185.73.243) |
23:01.45 | *** join/#tomcat mruser (n=chris@user-0c9h8ev.cable.mindspring.com) |
23:05.57 | *** join/#tomcat cowboyway (i=LinuxDev@AC81067B.ipt.aol.com) |
23:09.53 | *** join/#tomcat Indrid (n=Indrid@c-67-173-213-39.hsd1.tx.comcast.net) |
23:12.21 | Indrid | I have a question about using mod_proxy_ajp (apache 2.2.2), with tomcat 5.5.17, to send specific contexts to tomcat. |
23:19.50 | *** join/#tomcat juliocesar (i=julio@168.226.96.19) |
23:20.34 | juliocesar | hello all. I am experiencing a little problem with Tomcat. Can someone respond me a paar questions ? :) |
23:21.11 | swente | ave, julio |
23:21.14 | swente | just ask |
23:21.21 | juliocesar | ave swente |
23:21.33 | juliocesar | I have a JSP script, wich I need to create a file |
23:21.52 | juliocesar | Default Tomcat policies dont let me do it |
23:22.05 | juliocesar | what should i do ? |
23:22.11 | *** part/#tomcat mruser (n=chris@user-0c9h8ev.cable.mindspring.com) |
23:22.29 | juliocesar | I have a file called "catalina.policy". |
23:23.44 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
23:25.07 | juliocesar | are you still here swente |
23:25.09 | juliocesar | ? |
23:25.25 | juliocesar | any suggestion ? |
23:25.35 | swente | juliocesar: yes, i'm here, but i do not know an answer |
23:25.55 | juliocesar | ok :( |
23:25.56 | swente | -- perhaps someone else does, so .. maybe someone will respond :) |
23:27.10 | swente | juliocesar: btw, i'm not sure if tomcat "by default" restricts file-access that way [i've never tried from .jsp, only from servlets -- might be different] |
23:27.45 | juliocesar | i've worked just with jsp. Wich is the main difference with servlets ??? |
23:28.24 | Indrid | Are you running tomcat on linux? If so, are you running it as root? |
23:28.45 | juliocesar | yes |
23:28.54 | swente | juliocesar: i'd say .. .jsp is "output containing code", servlets is "code containing output" |
23:29.42 | swente | juliocesar: servlets are a layer "under" jsps. jsps are compiled, and then executed like/as servlets |
23:30.25 | *** join/#tomcat yel (n=yassine@xdsl-84-44-155-51.netcologne.de) |
23:31.04 | cowboyway | JasonB: Hi |
23:31.05 | Indrid | If you're running tomcat as root, then as far as the system is concerned, you should have permission to write new files. |
23:31.19 | Indrid | So, if it is tomcat restricting access, I don't have answer. |
23:34.58 | jasonb | cowboyway: Hi. |
23:36.21 | Indrid | I do have a question about using mod_proxy_ajp to have tomcat serve specific content (i.e. setting up a context for "/" and proxying content that matches to the app defined). If anybody has any experience with this, please help :) |
23:40.03 | cowboyway | jasonb: i like the book. |
23:40.13 | jieryn | i'm running apache+tomcat, and don't want to use .jsp or /servlet/ in the URL.. how can i avoid this please? :) |
23:41.39 | jasonb | cowboyway: Wonderful! I hope it is helpful to you. |
23:42.12 | jasonb | cowboyway: I'd be happy to hear any criticizms, ideas, likes, dislikes, etc. |
23:43.13 | jasonb | jieryn: Nothing says you need to use /servlet/ in any URL to begin with.. and, it's also not suggested. |
23:43.44 | jieryn | right - but i have serlvets handle all the setup for my JSPs |
23:44.13 | jieryn | i can't figure out a way to use JK properly.. ugh |
23:44.20 | jasonb | jieryn: To use a different file extension for your JSP pages, you can map the JSPServlet to a different file extension by editing CATALINA_HOME/conf/web.xml and searching for the JSP configuration. You can add an additional servlet-mapping element to support whatever extension you want. |
23:44.51 | jasonb | jieryn: Map your servlets to a different path in your webapp, something that doesn't have /servlet/ in the path. |
23:45.17 | jasonb | jieryn: The best way to use JK properly is to configure mod_proxy. :) |
23:45.24 | jasonb | ibot: mod_proxy |
23:45.25 | ibot | i guess mod_proxy is at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/proxy-howto.html |
23:45.54 | jieryn | jasonb: is that the correct link? |
23:46.46 | cowboyway | jasonb: i would like to make comments when i know a little more. |
23:48.44 | jasonb | cowboyway: Any time you'd like. |
23:50.42 | *** join/#tomcat protoloco (n=pimp@201.123.165.77) |
23:50.49 | cowboyway | jasonb: when i get more comfortable with tomcat and othe toher software i am using I am going to write a chapter or 2 for a guy who is writing a book on linux. |
23:51.30 | protoloco | Hello, i have some troubles... |
23:51.36 | cowboyway | so i need to figure this stuff out :-) |
23:52.10 | protoloco | i want to install Tomcat, jakarta, etc to run JSP pages, servlets, and besides run JasperREports and Jboss software... but.. Im confused.. |
23:52.19 | protoloco | that everything in Fedora Core 5 |
23:52.30 | protoloco | i get dependesies problems of CGJ |
23:52.37 | jieryn | gcj? |
23:53.16 | protoloco | sorry |
23:53.17 | protoloco | GCJ |
23:53.25 | jieryn | gcj is the gnu java compiler |
23:53.32 | protoloco | çError: Missing Dependency: java-gcj-compat >= 1.0.31 is needed by package xalan-j2 |
23:53.32 | protoloco | Error: Missing Dependency: java-gcj-compat >= 1.0.31 is needed by package regexp |
23:53.34 | jasonb | cowboyway: It takes lots of time to get to the point where you feel comfortable enough to write even a chapter of a tech book, but the amount you end up learning is worth the large amount of time you spend. |
23:53.44 | jieryn | protoloco: install gcj |
23:54.33 | cowboyway | jasonb: it will be an electronic book. a guy i know is writing most of it and i asked if could contribute some to it. |
23:54.38 | jasonb | protoloco: Are you in the process of installing FC5? Or is it already installed? |
23:55.21 | jasonb | cowboyway: Online books are very cool. Ours is also online, just as the 2nd edition will be. |
23:55.29 | cowboyway | oh cool |
23:55.48 | protoloco | jasonb, installed already :S |
23:56.25 | cowboyway | jasonb: i do have a long way to go. I think i will be able to contribute when i get this application built. I also thinki am just now getting into the fun stuff. |
23:56.42 | jasonb | protoloco: Okay, well, you can disregard the errors about the missing dependencies because fixing those will only result in a broken Java runtime anyway. So, don't bother with that. Download the Sun JDK from java.sun.com. |
23:57.08 | protoloco | jasonb, thanks! |
23:57.21 | jasonb | protoloco: And, my Tomcat 5.5 RPM package set is very easy to install (see the webdroid.org URL in the topic line) once you have a real Java VM. |