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.01 | milesd | Hi, everybody. What do I need to do to deploy a JSP page? |
02:16.21 | milesd | Tomcat is picking up html pages just fine from the root of each project page |
02:16.28 | milesd | but not JSP pages, it's giving me 404s |
02:17.33 | milesd | do I need to add something to my web.xml? |
02:20.07 | milesd | I'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.37 | jasonb | milesd: 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.06 | MidWay_ | Howdys, brand new install, Win2k3(R2,32bit), IIS6.0, JRE6u11, Tomcat 6.0.18. |
12:22.32 | MidWay_ | 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.27 | MidWay_ | 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.49 | bhushanvmishra | i want to deploy .net application on tomcat i am using tomcat 5.5 how can i do that? |
13:43.03 | dvayanu | get the proper tool, like iis? |
13:43.13 | dvayanu | and remember that .net is not java? |
13:43.14 | dvayanu | :-) |
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.31 | bhushanvmishra | iis 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.19 | slobber | hey 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.52 | slobber | now 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.09 | slobber | saying file not found even though the file is in that path |
15:57.24 | slobber | it is searching in the standard class path only anyone got any idea why. |
15:58.20 | slobber | this is tomcat6-6.0.8-6.2 , java 1.6 |
15:58.35 | slobber | centos 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.43 | freezey | currently 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.15 | freezey | typically what would yo set your connection_pool_size to? |
16:50.14 | *** join/#tomcat Alvo (n=owe@d035148.adsl.hansenet.de) |
16:51.13 | Alvo | hi, 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.32 | Alvo | but i'd like to have it under tomcat/conf |
16:51.42 | Alvo | how could you accomplish that? |
16:52.09 | slobber | you could use -Dlog4j.configuration=/path/to/conf/log4j.properties |
16:52.50 | Alvo | slobber: ok thanks but i'd like to sue log4j.xml |
16:53.08 | Alvo | slobber: can i tweak log4j.properties to refer to xml? |
16:53.15 | slobber | i've no idea |
17:11.00 | *** part/#tomcat [[thufir]] (n=thufir@S01060016ec23af88.vs.shawcable.net) |
17:14.16 | Elvanor | Hello, 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.43 | Elvanor | My problem is this one, I have host1.mydomain.com, host2.mydomain.com, and I would like to share the session cookier across |
17:16.35 | Elvanor | It seems to me SingleSignOnValve is to share sessions accross webapps. My problem is different, I have only one webapp but several hosts. |
17:23.38 | milesd | jasonb, 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.28 | milesd | Elvanor, can your web apps communicate with each other? |
17:26.12 | milesd | Elvanor, 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.17 | Elvanor | hmmm |
17:33.29 | Elvanor | I have a single webapp as I said |
17:34.08 | Elvanor | What I want is extremely simple, I just want that Tomcat send the session cookie with a domain path of .mydomain.com |
17:34.26 | Elvanor | instead 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.25 | milesd | Elvanor, 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.13 | Elvanor | milesd: ? |
18:10.49 | Elvanor | this is very simple, Jetty can do it with a simple configuration file |
18:11.37 | Elvanor | <Put name="org.mortbay.jetty.servlet.SessionDomain">.mydomain.net</Put> |
18:11.49 | Elvanor | (this is how it is done in Jetty) |
18:13.13 | *** join/#tomcat hukketto (n=a@78.13.54.216) |
18:30.56 | Elvanor | http://mail-archives.apache.org/mod_mbox/tomcat-users/200802.mbox/%3CA36B3560-9874-470E-8AF6-87ABB0B1FED7@ggerard.com%3E |
18:31.10 | Elvanor | It looks like it's impossible right now (by pure configuration) |
18:31.15 | Elvanor | jasonb: 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.58 | shaggyoaf | Does 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.13 | shaggyoaf | and what URL I need to use relative to the place I put the jsp file? |
18:50.12 | Elvanor | shaggyoaf: not sure, I think that's somewhere in WEB-INF though |
18:50.21 | Elvanor | but I dont use jsps |
18:52.23 | shaggyoaf | Elvanor, yeah, I don't either |
18:52.27 | shaggyoaf | hence my problem :) |
18:52.46 | shaggyoaf | google doesn't seem to know how to deploy them |
18:52.50 | shaggyoaf | I'd hoped this room might |
18:52.59 | shaggyoaf | I just ported a code sample from one version of my library to another |
18:53.25 | shaggyoaf | and 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.05 | Elvanor | shaggyoaf: read the Tomcat docs, I am sure it's there |
19:01.51 | shaggyoaf | Elvanor, yeah, there's a lot in the docs about how to write a jsp file |
19:02.07 | shaggyoaf | and what all the little <%. ... %> directives mean |
19:02.14 | shaggyoaf | but I've yet to see anything about deployment |
19:02.48 | kjkoster5489 | shaggyoaf: I missed your question, what are you trying to do? |
19:03.31 | shaggyoaf | kjkoster5489, just trying to deploy a jsp file and get tomcat to display it |
19:03.48 | kjkoster5489 | What webapp are you using? |
19:03.49 | shaggyoaf | kjkoster5489, where do I need to put it? |
19:03.58 | kjkoster5489 | In a web app. :) |
19:04.03 | shaggyoaf | kjkoster5489, ok |
19:04.12 | shaggyoaf | kjkoster5489, I have a webapp with some unrelated servlets I could use |
19:04.29 | kjkoster5489 | You could do that, just to test. |
19:04.36 | shaggyoaf | yeah, that's all I want |
19:04.44 | shaggyoaf | this is just a code-sample to show people how to use my library |
19:04.45 | kjkoster5489 | Once you get the hang of it, you can make your own webapp. |
19:04.55 | kjkoster5489 | Sure. |
19:04.57 | shaggyoaf | all I need to know is that it works |
19:05.09 | kjkoster5489 | You can even use the ROOT or examples webapps. |
19:05.16 | shaggyoaf | so 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.31 | shaggyoaf | and it's got a WEB-INF with a web.xml and a classes directory |
19:05.35 | shaggyoaf | the servlet is working |
19:05.36 | kjkoster5489 | Just don't suggest people use those webapps in production. |
19:05.43 | shaggyoaf | where do I put the JSP file...? |
19:06.09 | kjkoster5489 | In the webapp folder, i.e. ${tomcat}/webapps/sample |
19:06.49 | shaggyoaf | kjkoster5489, ok, I tried that. then I pointed the web-browser at localhost:8080/sample/jspSample.jsp |
19:06.51 | shaggyoaf | and I got a 404 |
19:07.18 | kjkoster5489 | And your file is called jspSample.jsp? |
19:07.25 | shaggyoaf | yep |
19:07.35 | kjkoster5489 | Case sensitively correct? |
19:07.43 | shaggyoaf | I believe so, let me double-check |
19:07.54 | kjkoster5489 | This is not Ubuntu perchance? |
19:09.44 | shaggyoaf | kjkoster5489, no, it's WinXP |
19:09.52 | shaggyoaf | because my IT dept. hates me |
19:10.15 | kjkoster5489 | *cough*dual boot*cough* |
19:10.23 | kjkoster5489 | *cough*vmware*cough* |
19:10.35 | shaggyoaf | *cough*it'll get me fired*cough* |
19:10.37 | shaggyoaf | :P |
19:11.23 | kjkoster5489 | Makes me glad I can work on my own laptop. |
19:11.51 | kjkoster5489 | Anyway, you should not get a 404. |
19:12.17 | kjkoster5489 | Are you sure it is not one of those "I am IE and I can make your errors look nice"--pages? |
19:12.29 | shaggyoaf | kjkoster5489, no, it's coming out of tomcat |
19:12.46 | kjkoster5489 | Then why are you asking in this channel then. :) |
19:12.50 | kjkoster5489 | Proxy settings? |
19:12.52 | shaggyoaf | kjkoster5489, 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.06 | kjkoster5489 | Don't "install'. |
19:13.17 | shaggyoaf | well, yes |
19:13.21 | shaggyoaf | you know what I mean :P |
19:13.25 | kjkoster5489 | Just unzip the core .zip from tomcat.apache.org and use bin/startup.cat |
19:13.35 | shaggyoaf | kjkoster5489, thanks for th ehelp, at least it confirms that I'm doing the right thing |
19:13.40 | kjkoster5489 | Well, you don't have to remove the old one. |
19:13.53 | kjkoster5489 | Just create a new one. |
19:14.45 | kjkoster5489 | Here 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.04 | shaggyoaf | huh |
19:15.06 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
19:15.06 | shaggyoaf | cool, thanks |
19:16.06 | kjkoster5489 | I'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.39 | kjkoster5489 | Gurraka! |
20:20.49 | kjkoster5489 | How 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.57 | Gurraka | Performance 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) |