IRC log for #tomcat on 20090119

01:03.05*** join/#tomcat kanai (n=kanai@124.32.114.226)
01:34.45*** join/#tomcat keith80403 (n=keith804@71-208-237-158.hlrn.qwest.net)
01:56.30*** join/#tomcat bgardner87 (n=chatzill@74-132-154-157.dhcp.insightbb.com)
02:15.38*** join/#tomcat milesd (n=milesd@c-76-115-60-92.hsd1.or.comcast.net)
02:16.01milesdHi, everybody. What do I need to do to deploy a JSP page?
02:16.21milesdTomcat is picking up html pages just fine from the root of each project page
02:16.28milesdbut not JSP pages, it's giving me 404s
02:17.33milesddo I need to add something to my web.xml?
02:20.07milesdI'm using Java 1.6.0_06 with WinXP and Tomcat 6.0.16
02:38.24*** join/#tomcat harpoon_ (n=harpoon@p5082C202.dip.t-dialin.net)
02:47.50*** join/#tomcat ibot (i=ibot@rikers.org)
02:47.50*** topic/#tomcat is Topic for #tomcat is: Stable versions: 6.0.18, 5.5.26 and 4.1.37. Newbies use the official binary from tomcat.apache.org, or an RPM package from http://www.webdroid.org/archives/tomcat-package. Check your Tomcat logs before you ask for an answer. SLOW MOTION CHANNEL (we all have jobs & kids): Ask your question, including your TC, Java, & OS versions, then wait; check back often for answers...
04:04.37jasonbmilesd: Nope, you don't need to add anything to your web.xml to serve JSP pages.  Tomcat serves them by default.
04:35.55*** join/#tomcat karstensrage (n=karstens@c-24-23-190-107.hsd1.ca.comcast.net)
04:48.31*** join/#tomcat acidjnk (i=acid@pD950AB5B.dip0.t-ipconnect.de)
05:00.35*** join/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
05:30.46*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
06:16.34*** join/#tomcat pfn (n=pfnguyen@hanhuy.com)
06:29.53*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-23d42d44d9468e93)
07:05.51*** join/#tomcat kanai_ (n=kanai@124.32.114.226)
07:47.56*** join/#tomcat loddafnir (n=mike@electra.aic.at)
08:51.01*** join/#tomcat dvayanu (n=another@ppp-88-217-53-157.dynamic.mnet-online.de)
09:02.31*** join/#tomcat kanai (n=kanai@124.32.114.226)
09:15.51*** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net)
09:35.38*** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net)
09:55.37*** join/#tomcat dsoto (n=Darryl@71.5.21.113.ptr.us.xo.net)
11:48.30*** join/#tomcat nixblicker (n=nixblick@dslb-088-074-063-173.pools.arcor-ip.net)
12:20.21*** join/#tomcat MidWay_ (n=argh@119.15.101.82)
12:22.06MidWay_Howdys, brand new install, Win2k3(R2,32bit), IIS6.0, JRE6u11, Tomcat 6.0.18.
12:22.32MidWay_Where can I get a copy of isapi_redirect.dll as per http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html, it's unhelpfully vague.
12:26.27MidWay_Wait, re-re-re-read the blurb above and looked at the wrong browser tab and now it makes sense. >_<
12:55.02*** part/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
13:40.44*** join/#tomcat bhushanvmishra (n=bhushanv@202.46.197.70)
13:41.49bhushanvmishrai want to deploy .net application on tomcat i am using tomcat 5.5 how can i do that?
13:43.03dvayanuget the proper tool, like iis?
13:43.13dvayanuand remember that .net is not java?
13:43.14dvayanu:-)
13:50.10*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
13:54.57*** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70)
14:05.30*** join/#tomcat echolot (n=daniel@datastoreonline.de)
14:09.31bhushanvmishraiis has certain limitations hence i need tomcat to handle .net applications
15:13.35*** join/#tomcat harpoon (n=harpoon@p5082C202.dip.t-dialin.net)
15:53.09*** join/#tomcat slap_stick (n=jon@neptune.jwilford.co.uk)
15:55.51*** join/#tomcat slobber (n=slapt_st@5ac583eb.bb.sky.com)
15:56.19slobberhey guys i am trying to use shared.loader i have my catalina base, in there i have the catalina.properties file in the conf of the catalina base /usr/share/app
15:56.52slobbernow i have defined shared.loader in catalina.properties to be /usr/share/app/conf as there is a config file there that the app requires, but it appears it isn't using that path as when the app starts it errors
15:57.09slobbersaying file not found even though the file is in that path
15:57.24slobberit is searching in the standard class path only anyone got any idea why.
15:58.20slobberthis is tomcat6-6.0.8-6.2 , java 1.6
15:58.35slobbercentos 5.2
16:04.58*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
16:14.39*** join/#tomcat Elvanor (n=elvanor@gentoo/developer/elvanor)
16:30.51*** join/#tomcat freezey (i=hidden-u@gw.mypublisher.com)
16:31.43freezeycurrently i have apache running 512 threads at a time... is their a way to tell in the workers.properties file to only accept 200 connections and the keep the others queued?
16:48.15freezeytypically what would yo set your connection_pool_size to?
16:50.14*** join/#tomcat Alvo (n=owe@d035148.adsl.hansenet.de)
16:51.13Alvohi, i'd like to sue log4j.xml as config, it works when i include it in war under "WEB_INF/classes/log4j.xml"
16:51.32Alvobut i'd like to have it under tomcat/conf
16:51.42Alvohow could you accomplish that?
16:52.09slobberyou could use -Dlog4j.configuration=/path/to/conf/log4j.properties
16:52.50Alvoslobber: ok thanks but i'd like to sue log4j.xml
16:53.08Alvoslobber: can i tweak log4j.properties to refer to xml?
16:53.15slobberi've no idea
17:11.00*** part/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net)
17:14.16ElvanorHello, some time ago jasonb told me that the SingleSignOnValve could be used to make sessions valid accross domains, but I dont see how
17:14.43ElvanorMy problem is this one, I have host1.mydomain.com, host2.mydomain.com, and I would like to share the session cookier across
17:16.35ElvanorIt seems to me SingleSignOnValve is to share sessions accross webapps. My problem is different, I have only one webapp but several hosts.
17:23.38milesdjasonb, wow, sorry for the lag. Yesterday you told me that tomcat serves jsp pages by itself. Where do I need to put them and what's the URL I need to access them relative to that place?
17:25.28milesdElvanor, can your web apps communicate with each other?
17:26.12milesdElvanor, if I had an authenticated token that I got from one server and I tried to use it on the other server, could the second server contact the first and transfer state information when it realizes it doesn't have my token?
17:33.17Elvanorhmmm
17:33.29ElvanorI have a single webapp as I said
17:34.08ElvanorWhat I want is extremely simple, I just want that Tomcat send the session cookie with a domain path of .mydomain.com
17:34.26Elvanorinstead of with an empty domain path which restricts it to the host setting the cookie
17:37.30*** join/#tomcat internat1 (n=nf@123-243-184-161.static.tpgi.com.au)
17:42.25milesdElvanor, actually, what you want is extremely complex. You want to run a state-full session across a stateless protocol between two hosts
18:01.24*** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at)
18:10.13Elvanormilesd: ?
18:10.49Elvanorthis is very simple, Jetty can do it with a simple configuration file
18:11.37Elvanor<Put name="org.mortbay.jetty.servlet.SessionDomain">.mydomain.net</Put>
18:11.49Elvanor(this is how it is done in Jetty)
18:13.13*** join/#tomcat hukketto (n=a@78.13.54.216)
18:30.56Elvanorhttp://mail-archives.apache.org/mod_mbox/tomcat-users/200802.mbox/%3CA36B3560-9874-470E-8AF6-87ABB0B1FED7@ggerard.com%3E
18:31.10ElvanorIt looks like it's impossible right now (by pure configuration)
18:31.15Elvanorjasonb: any help?
18:40.02*** join/#tomcat Aaronluke (n=Aaronluk@unaffiliated/aaronluke)
18:44.48*** join/#tomcat shaggyoaf (n=dmiles@70.90.131.254)
18:45.58shaggyoafDoes anybody know where I need to put a JSP file or what I need to do to it to get Tomcat 6.0.16 to serve it?
18:46.13shaggyoafand what URL I need to use relative to the place I put the jsp file?
18:50.12Elvanorshaggyoaf: not sure, I think that's somewhere in WEB-INF though
18:50.21Elvanorbut I dont use jsps
18:52.23shaggyoafElvanor, yeah, I don't either
18:52.27shaggyoafhence my problem :)
18:52.46shaggyoafgoogle doesn't seem to know how to deploy them
18:52.50shaggyoafI'd hoped this room might
18:52.59shaggyoafI just ported a code sample from one version of my library to another
18:53.25shaggyoafand I'm 99% sure it's right, but I want to smoke-test it
18:56.36*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
19:00.05Elvanorshaggyoaf: read the Tomcat docs, I am sure it's there
19:01.51shaggyoafElvanor, yeah, there's a lot in the docs about how to write a jsp file
19:02.07shaggyoafand what all the little <%. ... %> directives mean
19:02.14shaggyoafbut I've yet to see anything about deployment
19:02.48kjkoster5489shaggyoaf: I missed your question, what are you trying to do?
19:03.31shaggyoafkjkoster5489, just trying to deploy a jsp file and get tomcat to display it
19:03.48kjkoster5489What webapp are you using?
19:03.49shaggyoafkjkoster5489, where do I need to put it?
19:03.58kjkoster5489In a web app. :)
19:04.03shaggyoafkjkoster5489, ok
19:04.12shaggyoafkjkoster5489, I have a webapp with some unrelated servlets I could use
19:04.29kjkoster5489You could do that, just to test.
19:04.36shaggyoafyeah, that's all I want
19:04.44shaggyoafthis is just a code-sample to show people how to use my library
19:04.45kjkoster5489Once you get the hang of it, you can make your own webapp.
19:04.55kjkoster5489Sure.
19:04.57shaggyoafall I need to know is that it works
19:05.09kjkoster5489You can even use the ROOT or examples webapps.
19:05.16shaggyoafso I have a webapp in ${tomcat_home}/webapps/sample
19:05.18*** join/#tomcat trifon (n=chatzill@79-100-45-247.btc-net.bg)
19:05.31shaggyoafand it's got a WEB-INF with a web.xml and a classes directory
19:05.35shaggyoafthe servlet is working
19:05.36kjkoster5489Just don't suggest people use those webapps in production.
19:05.43shaggyoafwhere do I put the JSP file...?
19:06.09kjkoster5489In the webapp folder, i.e. ${tomcat}/webapps/sample
19:06.49shaggyoafkjkoster5489, ok, I tried that. then I pointed the web-browser at localhost:8080/sample/jspSample.jsp
19:06.51shaggyoafand I got a 404
19:07.18kjkoster5489And your file is called jspSample.jsp?
19:07.25shaggyoafyep
19:07.35kjkoster5489Case sensitively correct?
19:07.43shaggyoafI believe so, let me double-check
19:07.54kjkoster5489This is not Ubuntu perchance?
19:09.44shaggyoafkjkoster5489, no, it's WinXP
19:09.52shaggyoafbecause my IT dept. hates me
19:10.15kjkoster5489*cough*dual boot*cough*
19:10.23kjkoster5489*cough*vmware*cough*
19:10.35shaggyoaf*cough*it'll get me fired*cough*
19:10.37shaggyoaf:P
19:11.23kjkoster5489Makes me glad I can work on my own laptop.
19:11.51kjkoster5489Anyway, you should not get a 404.
19:12.17kjkoster5489Are you sure it is not one of those "I am IE and I can make your errors look nice"--pages?
19:12.29shaggyoafkjkoster5489, no, it's coming out of tomcat
19:12.46kjkoster5489Then why are you asking in this channel then. :)
19:12.50kjkoster5489Proxy settings?
19:12.52shaggyoafkjkoster5489, this tomcat instance has been strange for me for a number of other reasons, I'm thinking maybe I'll just kill it and reinstall
19:13.06kjkoster5489Don't "install'.
19:13.17shaggyoafwell, yes
19:13.21shaggyoafyou know what I mean :P
19:13.25kjkoster5489Just unzip the core .zip from tomcat.apache.org and use bin/startup.cat
19:13.35shaggyoafkjkoster5489, thanks for th ehelp, at least it confirms that I'm doing the right thing
19:13.40kjkoster5489Well, you don't have to remove the old one.
19:13.53kjkoster5489Just create a new one.
19:14.45kjkoster5489Here is some advise on how to find out who is replying to your requests: http://java-monitor.com/forum/showthread.php?t=22
19:15.04shaggyoafhuh
19:15.06*** join/#tomcat jasonb (n=jasonb@75.144.23.117)
19:15.06shaggyoafcool, thanks
19:16.06kjkoster5489I'm just not very fond of the "if it does not work--reinstall" solution.
19:23.32*** join/#tomcat bizboo (n=bizboo@meu77-1-82-241-107-111.fbx.proxad.net)
19:28.29*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
19:29.01*** join/#tomcat trifon_ (n=chatzill@79-100-45-44.btc-net.bg)
19:35.53*** join/#tomcat dvayanu (n=another@ppp-88-217-53-157.dynamic.mnet-online.de)
19:42.17*** join/#tomcat yassine (n=yassine@unaffiliated/yassine)
19:49.02*** join/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
20:07.37*** join/#tomcat Gurraka (n=ASugg774@90-224-37-73-no61.tbcn.telia.com)
20:20.39kjkoster5489Gurraka!
20:20.49kjkoster5489How is the performance?
20:24.06*** part/#tomcat bender183 (n=OWinNOW@unaffiliated/bender183)
20:35.49*** join/#tomcat trifon (n=chatzill@79-100-38-190.btc-net.bg)
20:46.37*** join/#tomcat bindaas (n=chatzill@122.160.42.236)
21:15.57GurrakaPerformance is amazing!
21:55.21*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
22:03.42*** join/#tomcat clajo04_ (n=clajo04_@cpe-67-243-136-111.nyc.res.rr.com)
22:24.28*** join/#tomcat dvayanu (n=another@ppp-88-217-53-157.dynamic.mnet-online.de)
23:26.35*** join/#tomcat yassine_ (n=yassine@p5B376E6F.dip.t-dialin.net)
23:52.15*** join/#tomcat Internat (n=nf@123-243-184-161.static.tpgi.com.au)
23:55.17*** join/#tomcat hukketto (n=a@78.15.10.227)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.