irclog2html for #tomcat on 20060530

00:05.34lykenlol
00:07.13jasonbJust writing the outline for the text is like writing an outline about tax law.. where do you even begin?  :/
00:07.43lykenlol
00:08.41bertjan_ah, scripted rebuild and reload of the app.. that's nice
00:09.15bertjan_way better than manually compiling the app and restarting the whole server :)
00:09.29jasonbOh yeah.
00:09.33lykenyer :)
00:09.52jasonbThe manager webapp is there because people need it.  :)
00:11.04profpokeAnyone know if it is possible to setup Tomcat to do 302 redirects w/o use of Apache ?
00:12.06bertjan_can't you just print some header to do the redirect ?
00:12.40profpokeIt's mainly for the root / of the site to forward on to the actual app on the host ..
00:12.53profpokeBut 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.15profpokeSo I wondered if there was a config anywhere that was like Apache that might allow for easy redirects ... :o
00:13.48jasonbprofpoke: It's possible.
00:14.28jeromatronI 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.08jasonbprofpoke: 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.12jasonbjeromatron: 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.51jasonbjeromatron: Also, apache can't properly serve .jsp files, so you really should be able to map *.jsp to Tomcat.
00:17.35jeromatrontrue...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.15jeromatronit 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.18jasonbjeromatron: 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.05jasonbjeromatron: 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.13jeromatronyeah...:s
00:20.17profpokehmm..
00:20.27jasonbWell, you'll actually confuse the people more than you'll confuse the software.  :)
00:20.33jeromatron:)
00:20.47lykenheh
00:20.52jasonbTo me, that's an unworkable deployment methodology.
00:21.02profpokeI guess I can show an example link: https://sis.wtamu.edu/WebAdvisor/WebAdvisor
00:21.19profpokeWe use something from Datatel called WebAdvisor ...
00:21.27jasonbprofpoke: Why would you want your users to have to type in "WebAdvisor" twice on the same URL?
00:21.42profpokeThey seem to recommend we keep that url pattern...
00:21.51jasonbThat looks wrong.
00:22.00profpokeI don't like it, which is why I'm trying to push for a sort of redirect in the root ...
00:22.08jeromatronYeah, 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.59jasonbjeromatron: You *could* use mod_rewrite to rewrite all */php kinds of URI patterns to something else.
00:23.18jasonb(before Tomcat gets the request)
00:24.19jeromatronthat'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.28jeromatrondeployment has been crazy...
00:24.31jeromatron:)
00:26.16jasonbOn the contrary, you will ultimately be forced to split it up.
00:33.57jeromatronCool, I think I got the beginnings of it working.  Thanks for the help.
00:35.09jeromatronRe: split up: breakups are always hard... htdocs: "webapps, I feel like I don't even know you anymore"  :P
00:37.15jasonbheh
00:37.19jasonbYou're welcome.
00:37.58lykenlol
00:38.04lykeni put my apps all in one place
00:38.09lykenand 'symlink the world!'
00:38.17jasonblyken: inside apache's htdoc root though?
00:38.19lykenand rewrite the world
00:38.21lykenlol no
00:38.25lykenin /export usually:)
00:38.30jasonbGood.
00:38.44lykeni dont think ive put a webapp actually in a tomcat dir since version 4
00:39.04jasonbYeah, I use CATALINA_BASE myself.
00:39.35jasonbIt'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.37lyken:)
00:45.02profpoke=o
00:45.59lykenjasonb: read the source code, again, lol
00:46.16jeromatronhost manager, like the now separated admin webapp?
00:46.44jeromatronmanager 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.05jasonbThe admin webapp is "large" and they decided not everyone needed it , so they separated it.
00:47.10jeromatronahh
00:47.18lykenive never used the admin package
00:47.21lykenmanager is all ive required
00:47.26jasonbNow, 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.47lykenmeh
00:47.52jasonbThe manager webapp (which is different from the admin webapp), still does come with Tomcat, although it is far smaller than Admin.
00:48.06lykenif xbox360 can have a 900mb DEMO a freakin web AS can be 15mb
00:48.23jeromatronI'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.24jasonbAnd, 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.30jeromatronusually I restart tomcat
00:48.36jeromatronlol
00:48.39jeromatronno kidding...
00:48.45jeromatronw/demo
00:49.04lykenwe are on fast interent at home
00:49.17lykeni dont know how anyone could deal with downloading xbox360 demos direct to the console
00:49.25lykenid die from the painfully slow transfers
00:50.01jasonbPeople 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.05profpokejasonb: So do you think a meta-redirect is likely the best option? o_O
00:53.40yassinewell the admin applications helped me in earlier time to start into tomcat structure
00:54.03yassinebut for now im feeling better when editing my config files maually
01:01.15jasonbprofpoke: It's certainly the easiest way to make it work.
01:01.35profpokeokey-dokey
01:01.39jasonbyassine: 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.55yassineyes that helped me much
01:02.19jasonbI already knew how Tomcat worked before the Admin webapp existed.. so it didn't help me.  :)
01:02.36yassine:)
01:07.20jasonbIt looks cool though.  :)
01:09.09yassinethe admin app ?
01:09.20yassine:)
01:12.08*** join/#tomcat noob-saibot (i=poisoner@11383.unitednetworx.com)
01:21.36yassinejasonb,  its late here time for me to sleep
01:21.44yassinegood 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.49caskeyI'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.59caskeyIn 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.59jasonbcaskey: 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.44caskeyjasonb, 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.10jasonbcaskey: 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.29caskeyjasonb, 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.32caskeyjasonb, thanks for the help
04:43.22jasonbNot only that, Tomcat doesn't need Apache httpd at all.
04:44.00caskeyjasonb, that may be the case, but I need apache.  Tomcat doesn't do everything apache does (yet)
04:44.08jasonbUnless 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.21jasonbWhat features of httpd are you using that Tomcat doesn't support?
04:44.54caskeyUnified login across jsp and a number of legacy apps
04:45.52jasonbDefine "legacy apps".
04:46.17a4akbold apps?
04:46.38caskeyAutomated administration tools for managing apache
04:46.47caskeyplus other web services, perl, fcgi, cgi, etc.
04:46.54jasonbIf you didn't use apache, you wouldn't need to administer apache.  :)
04:47.11caskeyIf tomcat weren't such a pain in the ass to configure, I would consider it :-)
04:47.25jasonbWell, 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.38jasonbcaskey: It's only a pain in the absence of decent docs.
04:47.57caskeyregardless, even if tomcat achieved feature parity with apache, I probably still wouldn't use it
04:48.08jasonbLots of old timers wouldn't.
04:48.15jasonbThey just won't let go of something they already know.
04:48.31caskeyIf it ain't broke...
04:48.42jasonb(even if it meant consolidating two servers, simplifying things, and making the web sites run faster)
04:49.07caskeysometimes consolodation is a negative.  There are those of us that need the load balancing that separation of concerns gives us.
04:50.15jasonbYou can do the same with just Tomcat.  You just organize it differently.
04:50.59caskeyI find that most suggestions with variations on "you just" should be summarily ignored.
04:52.00jasonbIt's all OSS, and we're all free to use what we want.  But, beware that times change.
04:53.08caskeyYep, 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.25jasonbWell, Java's been improving for over a decade now, and still noticeably improving.
04:54.50jasonbTomcat has been improving since about 1998.. and is still improving as well.
04:55.14jasonbIMHO Tomcat is now past where I considered the 100% point was.. but, that's just my perspective.
04:55.45caskeyyep, 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.47jasonbTo me, Java's nearly at where I thought 100% was.. it's maybe 97% or something IMHO.
04:56.26jasonbNot everyone has moved on from Tomcat.  It's more heavily used today than ever.
04:56.32jasonbI'd say the same about Java.
04:56.52jasonbYes, new things have cropped up.. and I'm sure people will jump on, and follow that trail, but that's normal.
04:56.58jasonb(and good)
04:57.08caskeySure, each day there are epsilon more users than before, but that's not the same thing as what it was ca. 2000
04:57.59caskeyregardless, 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.05jasonbWell, apache has had quite a head start on Tomcat.   :)   Given that much time, Tomcat will be every bit as easy, just different.
04:59.19jasonbI agree that some things about today's apache are easier for people to deal with.
04:59.28caskeynot likely, tomcat does what it needs to do, interest won't maintain to make it do everything that apache does
04:59.32jasonbPart of that is Tomcat's lack of decent docs.
04:59.59caskeyapache lacked good docs for 3 or 4 years, tomcat is past its prime because the important stuff is already documented well enough
05:00.06caskey(past its prime for producing the needed docs)
05:00.48jasonbWell, but the code isn't frozen in time either.  :)  It will change, and the changes will invalidate what docs are written.
05:01.01jasonb(which will prompt the writing of new docs)
05:01.07caskeyPeople 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.16caskeySure, sure.
05:02.22jasonbReady 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.55caskeyTrue, 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.06jasonbSo, 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.18caskeyAnd I'd watch that whole "most widely used programming language" thing.
05:03.57caskeyfor 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.09jasonbWhen 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.35jasonbOkay..  have fun.  Again, try mod_proxy.  :)
05:04.41a4akbHail 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]tomianyone know of any adverse effects of leaving the tomcat manager app available through the internet?
06:47.55jasonbheh!
06:48.12jasonbWide open?  :)
06:49.26[a]tomiwell default yea
06:49.40jasonbdefault == no user has access.
06:50.08[a]tomioh right. sry I mean just using tomcat-users.xml
06:51.02jasonbThe stock contents of that file?  Or, an edited one with one or more user(s) enabled for the manager webapp?
06:51.43[a]tomiyes an edited one with just one user...
06:52.06[a]tomienabled only for the manager webapp that is
06:52.18jasonbWell, any malicious user would need to guess your password, and log in as you.
06:53.08[a]tomihow about search spiders, do they pose any problems??
06:53.11jasonbIf 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]tomii see.
06:53.43jasonbBut, it's still not likely to happen.
06:54.07jasonbsearch spiders only place a small load on your Tomcat.. they hit mine frequently, and don't cause any problems.
06:54.29jasonbYou 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]tomiyour manager app you mean?
06:55.02jasonbWell, the spiders can't use the manager webapp without logging in.
06:55.07[a]tomiI figure a simple robots should do the trick
06:55.32jasonbYou don't need to worry that the spiders will get into your manager webapp.  :)
06:55.56[a]tomiwell thats good to hear from you
06:56.10[a]tomihave you gotten your co-author yet?
06:56.41jasonbWell, Ian and I were always co-authors on the book.
06:57.00[a]tomicool thanks, i've got to log for a few... hope all is well  bbiaw :)
06:57.06jasonbHe'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.20jasonbOkay..  :)  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.07HandyAndEI have read about CATALINA_BASE and CATALINA_HOME
10:16.26HandyAndEbut is there a way to have everything shared (conf, lib, webapps etc) but to only start ONE of the webapps
10:16.35HandyAndE(configured through server.xml)
10:16.44HandyAndEi.e. make other webapps "dormant"
10:16.52HandyAndEwithout removing them from the webapp dir?
10:16.58HandyAndEthanks!
10:17.52HandyAndE(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.58lykenHandyAndE: hmmz
10:58.05lykenprolly possible heh
11:02.06HandyAndEmeh
11:02.21HandyAndElooked through the code and I could not determine how it decided what to load
11:02.42HandyAndEmy server.xml has "context" items to list what I want to load, but it loads all the other webapps it finds too
11:03.00lykencause autoload is on i think
11:03.13HandyAndEah!
11:03.59lykeni think, its been a whiles
11:04.00lykenheh
11:05.17HandyAndEcan't find info on "autoload"
11:06.17lykenweb.xml ?
11:06.58HandyAndE"autostart"?
11:07.14lykennot sure dude, i dont have axs to my tomcat install atm
11:07.25HandyAndEnp
11:07.34HandyAndEhmm, autostart is for servlets, not webapps
11:07.35HandyAndEhmm
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.09sven__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.39yassinehi 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.02cowboywaywhen 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.09cowboywayoops, 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.56yassinejasonb,  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.42druid-programmerJasonb: is  Java Servlet and JSP Cookbook a good book for one that is new to JSP ?
16:29.31yassinecowboyway, are you there ?
16:29.32*** join/#tomcat Fix- (n=bmonnens@d5152CD17.access.telenet.be)
16:30.37cowboywayyassine: yes i am here...was just searching for jsp info
16:30.46yassineany 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.46yassinelog4j:WARN Please initialize the log4j system properly.
16:31.29yassinei have a log4j.jar in the common/lib
16:32.54yassineany idea cowboyway ?
16:32.59cowboywayno idea
16:33.12cowboywayi am new to tomcat
16:33.35yassinenp :)
16:33.39yassinethanks
16:33.43cowboywaywelcome
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.32Broxi'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.13rabeldableanyone 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.27martindI would like to know when we can expect Tomcat 6 release. Anybody has an idea?
19:10.04randrewhmm jboss has a web server now.
19:17.17rabeldablewhere can I find out more about mod_jk, tomcat and apache caching
19:18.08HandyAndErabeldable: 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.39yassinehi 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.23leonelhello :   tomcat 5.5.17 is  servlet api 2.4 or  2.5 ??
20:38.37jasonb2.4.
20:38.44jasonb2.5 was just finalized.
20:38.47yassinehi jasonb leonel  
20:39.14jasonbTomat 6 is for Servlet 2.5, JSP 2.1.
20:39.19jasonbhi yassine.
20:42.38leonelthnaks ...
20:45.25jasonbleonel: You're welcome.
20:52.25*** join/#tomcat EatenByGrues (n=David@adsl-065-006-199-005.sip.shv.bellsouth.net)
20:53.41EatenByGruesJust 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.24jierynwhen i start tomcat, i'm getting all sorts of file not found exceptions for .class files
20:54.38jierynhow can i force tomcat to regenerate the class files?  stop/start & restart are not doing the trick
20:57.27jasonbEatenByGrues: Yes, it's possible.  It should work fine when configured to make a TCP connection to Tomcat.
20:57.39jasonbEatenByGrues: And, there may not be any great docs at this point.
20:59.51EatenByGruesjasonb: 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.33jasonbEatenByGrues: Yep.
21:00.46EatenByGruesthanks
21:01.52jierynany idea? :)
21:08.55*** join/#tomcat jeromatron (n=jeromatr@mail.rcwilley.com)
21:10.48jierynsolved the problem by chown -R tomcat:tomcat /var/run/tomcat-5
21:14.32*** join/#tomcat swente (i=q5wg7DES@unaffiliated/swente)
21:14.36swente'lo
21:21.05yassineswente,  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.05yassinelog4j:WARN Please initialize the log4j system properly.]
21:21.32swenteyassine: this error is not new, and occurs since i use tomcat
21:21.43swentes/error/warning/ :)
21:21.47yassineany idea how to acouing it ?
21:21.52yassineavoid it
21:22.03swenteprepare an adequate log4j.properties
21:22.06*** join/#tomcat putzel (n=putzel@228-236-221-213-pool.cable.lan.ch)
21:22.39yassinemhh
21:23.22yassineonly a file ?
21:23.38yassinei mean i have a logging.properties already there
21:23.48yassinebut i guess its not related to log4j
21:25.12swenteyassine: sorry, i really had to dig into it now to solve that :)
21:26.15yassinenp :)
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.33freeone3000...With the installation of mod_jk to apache, does it automatically make tomcat work with it?
21:48.04[a]tomihey guys, any reason why tomcat wouldnt auto deploy a war?
21:48.33[a]tomii've got the war inside a non default webapps directory /dunstar/webapps/pc.war to be exact...
21:49.19[a]tomiwith an appBase="/dunstar/webapps/" in server.xml
21:51.52jeromatrontomi: 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]tomito be safe 777
21:54.59[a]tomiit's ok thanks for trying i'll get this puppy going eventually :)
22:00.25jeromatronno 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]tomijeromatron: 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]tomiwhat about the <context> is that set inside the war package>
22:28.02[a]tomi<PROTECTED>
22:29.34[a]tomihello?
22:29.51jeromatronhmmm... when I put war files inside my webapps directory, it autoexplodes them.
22:30.00jeromatronI wonder - that's probably a setting in your context as well.
22:30.11jeromatronwhether it will auto-explode war files.
22:30.35[a]tomiactually I don't have a context file...
22:31.18[a]tomierr inside the war package that is.
22:32.28[a]tomiI'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.49jeromatronYou might take a look at the auto-deployment docs found here:
22:32.49jeromatronhttp://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment
22:33.02jeromatronthey might be useful for trying to get it to recognize the stuff.
22:33.34jeromatronalso, the context reference for fun:
22:33.34jeromatronhttp://tomcat.apache.org/tomcat-5.5-doc/config/context.html
22:35.00jeromatronI 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.21IndridI 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.34juliocesarhello all.  I am experiencing a little problem with Tomcat.  Can someone respond me a paar questions ?   :)
23:21.11swenteave, julio
23:21.14swentejust ask
23:21.21juliocesarave swente
23:21.33juliocesarI have a JSP script, wich I need to create a file
23:21.52juliocesarDefault Tomcat policies dont let me do it
23:22.05juliocesarwhat should i do ?
23:22.11*** part/#tomcat mruser (n=chris@user-0c9h8ev.cable.mindspring.com)
23:22.29juliocesarI 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.07juliocesarare you still here swente
23:25.09juliocesar?
23:25.25juliocesarany suggestion ?
23:25.35swentejuliocesar: yes, i'm here, but i do not know an answer
23:25.55juliocesarok  :(
23:25.56swente-- perhaps someone else does, so .. maybe someone will respond :)
23:27.10swentejuliocesar: 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.45juliocesari've worked just with jsp.  Wich is the main difference with servlets ???
23:28.24IndridAre you running tomcat on linux?  If so, are you running it as root?
23:28.45juliocesaryes
23:28.54swentejuliocesar:  i'd say .. .jsp is "output containing code", servlets is "code containing output"
23:29.42swentejuliocesar: 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.04cowboywayJasonB: Hi
23:31.05IndridIf you're running tomcat as root, then as far as the system is concerned, you should have permission to write new files.
23:31.19IndridSo, if it is tomcat restricting access, I don't have answer.
23:34.58jasonbcowboyway: Hi.
23:36.21IndridI 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.03cowboywayjasonb: i like the book.
23:40.13jieryni'm running apache+tomcat, and don't want to use .jsp or /servlet/ in the URL.. how can i avoid this please? :)
23:41.39jasonbcowboyway: Wonderful!  I hope it is helpful to you.
23:42.12jasonbcowboyway: I'd be happy to hear any criticizms, ideas, likes, dislikes, etc.
23:43.13jasonbjieryn: Nothing says you need to use /servlet/ in any URL to begin with.. and, it's also not suggested.
23:43.44jierynright - but i have serlvets handle all the setup for my JSPs
23:44.13jieryni can't figure out a way to use JK properly.. ugh
23:44.20jasonbjieryn: 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.51jasonbjieryn: Map your servlets to a different path in your webapp, something that doesn't have /servlet/ in the path.
23:45.17jasonbjieryn: The best way to use JK properly is to configure mod_proxy.  :)
23:45.24jasonbibot: mod_proxy
23:45.25iboti guess mod_proxy is at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/proxy-howto.html
23:45.54jierynjasonb: is that the correct link?
23:46.46cowboywayjasonb: i would like to make comments when i know a little more.
23:48.44jasonbcowboyway: Any time you'd like.
23:50.42*** join/#tomcat protoloco (n=pimp@201.123.165.77)
23:50.49cowboywayjasonb: 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.30protolocoHello, i have some troubles...
23:51.36cowboywayso i need to figure this stuff out :-)
23:52.10protolocoi want to install Tomcat, jakarta, etc to run JSP pages, servlets, and besides run JasperREports and Jboss software... but.. Im confused..
23:52.19protolocothat everything in Fedora Core 5
23:52.30protolocoi get dependesies problems of   CGJ
23:52.37jieryngcj?
23:53.16protolocosorry
23:53.17protolocoGCJ
23:53.25jieryngcj is the gnu java compiler
23:53.32protolocoçError: Missing Dependency: java-gcj-compat >= 1.0.31 is needed by package xalan-j2
23:53.32protolocoError: Missing Dependency: java-gcj-compat >= 1.0.31 is needed by package regexp
23:53.34jasonbcowboyway: 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.44jierynprotoloco: install gcj
23:54.33cowboywayjasonb: 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.38jasonbprotoloco: Are you in the process of installing FC5?  Or is it already installed?
23:55.21jasonbcowboyway: Online books are very cool.  Ours is also online, just as the 2nd edition will be.
23:55.29cowboywayoh cool
23:55.48protolocojasonb, installed already :S
23:56.25cowboywayjasonb: 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.42jasonbprotoloco: 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.08protolocojasonb, thanks!
23:57.21jasonbprotoloco: 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.

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.