00:52.16 | *** join/#tomcat acidjnk (i=acid@pD950A53E.dip0.t-ipconnect.de) |
00:52.35 | *** join/#tomcat hikoz (n=hikoz@27.183.244.43.ap.yournet.ne.jp) |
00:58.37 | *** join/#tomcat kanai (n=kanai@124.32.114.226) |
01:22.46 | *** join/#tomcat arricherekk (n=Owner@99-195-233-237.dyn.centurytel.net) |
01:27.07 | arricherekk | MHSL, are you around? I've done more googling and realized that I'm missing the LogFactory class. I downloaded commons logging like you instructed me to, and put it in my Catalina_Home\common\lib directory. I'm still getting the same error. |
01:46.05 | *** join/#tomcat arricherekk1 (n=Owner@99-195-233-237.dyn.centurytel.net) |
02:23.12 | *** join/#tomcat alex_ (n=alex@c-71-202-178-158.hsd1.ca.comcast.net) |
02:24.24 | alex_ | ok. i just installed ubuntu and downloaded the apache tar.gz deployer. what do i do next to install tomcat? |
02:25.51 | alex_ | ok n/m |
03:05.21 | *** join/#tomcat Afterlawl (n=Afterlaw@79-75-16-243.dynamic.dsl.as9105.com) |
03:23.29 | *** part/#tomcat arricherekk1 (n=Owner@99-195-233-237.dyn.centurytel.net) |
03:58.30 | *** join/#tomcat |matteo| (n=kvirc@host231-113-dynamic.7-87-r.retail.telecomitalia.it) |
03:58.33 | |matteo| | hi all |
03:58.45 | |matteo| | i need to expose my tomcat server to the outside |
03:59.02 | |matteo| | so I have configured my web server to proxy requests to it |
03:59.21 | |matteo| | i map the /jsp url so I proxy it to tomcat |
03:59.40 | |matteo| | but then tomcat needs to remove the trailing /jsp/ from URLs |
03:59.52 | |matteo| | my web server isn't apache, it can't rewrite URLs |
04:00.12 | |matteo| | can tomcat strip the trailing /jsp before to handle any request? |
05:21.46 | *** join/#tomcat shashi_ (n=shashi@203.196.160.178) |
05:54.03 | *** join/#tomcat bindaas (n=chatzill@122.160.42.236) |
06:04.33 | *** join/#tomcat relachs (n=relachs@f049093126.adsl.alicedsl.de) |
07:10.36 | *** join/#tomcat kjkoster5489 (n=kjkoster@unl201395.nl.customer.alter.net) |
07:35.24 | *** join/#tomcat dvayanu (n=another@ppp-93-104-44-34.dynamic.mnet-online.de) |
07:44.49 | *** join/#tomcat frippz (n=frippz@213.115.122.30) |
09:14.19 | *** join/#tomcat dvayanu (n=another@host-62-245-224-138.customer.m-online.net) |
09:44.59 | *** join/#tomcat Raidwen (n=Raidwen@ip4569.vpn.aber.ac.uk) |
10:09.45 | *** join/#tomcat frippz (n=frippz@213.115.122.30) |
10:50.40 | *** join/#tomcat shashi_ (n=shashi@122.181.1.158) |
11:02.21 | *** join/#tomcat MHSL (i=Linux@116.88.6.18) |
11:40.04 | *** join/#tomcat shashi_ (n=shashi@122.181.1.158) |
11:50.29 | *** join/#tomcat kjkoster5489 (n=kjkoster@193.79.224.62) |
12:00.57 | *** join/#tomcat shashi (n=shashi@125.16.213.6) |
12:04.21 | *** join/#tomcat nixblicker (n=nixblick@dslb-088-072-199-100.pools.arcor-ip.net) |
12:05.42 | *** join/#tomcat dpawson (n=dpawson@dpawson.gotadsl.co.uk) |
12:13.39 | *** join/#tomcat bindaas (n=chatzill@122.160.42.236) |
12:45.36 | *** join/#tomcat matteo (n=kvirc@openwrt/developer/matteo) |
12:45.39 | matteo | hi people? |
12:45.43 | matteo | oops |
12:45.44 | matteo | hi people! |
12:48.13 | matteo | I want to add a prefix to all my tomcat URLs |
12:48.31 | matteo | eg http://site/ => http://site/jsp/ |
12:48.42 | matteo | eg http://site/app1/ => http://site/jsp/app1/ |
12:48.55 | matteo | can I do it without url rewriting on the proxy? |
12:51.27 | kjkoster5489 | You can perhaps use a servlet filter, or use Apache httpd. :) |
12:58.14 | matteo | yes I can |
12:58.19 | matteo | but my frontend is very simple |
12:58.40 | matteo | it's lighttpd, it can't rewrite urls and proxy altogether |
12:58.58 | matteo | with apache i will ProxyPass and use the ajp connector |
13:02.07 | *** join/#tomcat loddafnir (n=mike@electra.aic.at) |
13:05.59 | *** join/#tomcat trifon (n=chatzill@79.100.219.195) |
13:08.57 | *** join/#tomcat acidjnk (i=acid@pD950AD6C.dip0.t-ipconnect.de) |
13:14.43 | *** join/#tomcat randrew (n=raj@dyn-128-59-53-242.dyn.columbia.edu) |
14:26.27 | *** join/#tomcat localt (n=chatzill@c-98-221-250-160.hsd1.nj.comcast.net) |
14:28.29 | localt | Hello, this might be the wrong place to ask this question, so please redirect me to the right channel if you think it's appropriate... I would like to have 2 "sites", the front site, using http and a web application using https requiring a login. The login screen is on the http site, BUT I want to send the login credentials over https to the second application... Can this be done safely? |
14:33.02 | MHSL | that sounds fine |
14:33.31 | localt | MHSL: Is it safe? Also, how do I do that, just put https:// redirect on the submit action? |
14:33.33 | MHSL | you can simply submit the login credentials through https |
14:34.15 | MHSL | if you just want to protect the login credentials, that should be enough, but of course your subsequent requests will not be safe |
14:34.27 | localt | And what if it's on a different sub-domain, lets say hosting the front page on GoDaddy or something and sending the https request to members.domain.com? |
14:34.40 | MHSL | doesnt really matter |
14:35.05 | localt | Actually, after the login is completed, a new window is opened using https redirect |
14:35.29 | localt | Thank you very much, I will start implementing the split today! |
14:36.15 | *** join/#tomcat dvayanu_ (n=another@host-62-245-224-138.customer.m-online.net) |
14:42.08 | *** join/#tomcat chouchou (n=chatzill@adsl1132.4u.com.gh) |
14:48.06 | *** join/#tomcat pirx_ (n=akol@mlmfw1.tactel.se) |
14:54.01 | pirx_ | hi! how can i query tomcat which contexts are currently running? |
14:54.17 | localt | another quick question, how do I auto start on boot using 'tomcat' account, not the root account? I'm using Ubuntu Linux |
14:56.17 | MHSL | pirx_, servletContext.getContextPath() |
14:56.45 | MHSL | localt, either create your own tomcat startup script or use jsvc |
14:58.11 | localt | MHSL: I have my own script on /etc/init.d , I guess I'm asking how to get that script to execute tomcat with the tomcat account (sudo ?!) |
14:58.52 | MHSL | either that or su |
14:59.00 | MHSL | su to tomcat |
14:59.51 | localt | Thanks! |
15:01.30 | *** join/#tomcat joe_sam (n=j@86.122.93.252) |
15:01.48 | pirx_ | MHSL: i mean asking the tomcat server from the shell in a linux system for the set of contexts that it is currently running |
15:01.55 | joe_sam | how can i find which threads tomcat has opened? |
15:05.30 | *** join/#tomcat Afterlawl (n=Afterlaw@79-75-16-243.dynamic.dsl.as9105.com) |
15:05.56 | *** join/#tomcat aNOOBisa (n=aNOOBisa@157.161.150.161) |
15:06.59 | MHSL | pirx_, you can try to use jmx |
15:07.20 | aNOOBisa | I am running Tomcat5.5.27 on debian etch and it opens a lot of processes each with its own pid, usually I have only one pid and one process, this is very unusual behaviour, does anyone know what is going on? |
15:08.33 | MHSL | aNOOBisa, which kernel version? |
15:11.24 | aNOOBisa | 2.6.18.8 |
15:11.30 | aNOOBisa | its a xen vm though |
15:11.55 | aNOOBisa | MHSL its 2.6.18.8-xen |
15:18.09 | aNOOBisa | I have Apache Tomcat/5.5.27 Java 1.5.0_14-b03 and kernel 2.6.18.8-xen on two machines, one is i386 the other is amd64 the issue only appears to be on the i386 vm |
15:38.15 | *** join/#tomcat nixblicker (n=nixblick@dslb-088-072-199-100.pools.arcor-ip.net) |
16:02.57 | *** part/#tomcat aNOOBisa (n=aNOOBisa@157.161.150.161) |
16:16.49 | *** join/#tomcat relachs (n=relachs@f055130015.adsl.alicedsl.de) |
16:19.04 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
16:20.48 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-23d87c07a9ca79d3) |
17:35.56 | *** join/#tomcat dogmeat (n=Bob@unaffiliated/dogmeat) |
17:39.36 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
17:44.40 | *** join/#tomcat lawnchair (i=xksshm@asdf.lawnchair.net) |
17:47.38 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:51.59 | *** part/#tomcat lawnchair (i=xksshm@asdf.lawnchair.net) |
18:04.36 | *** join/#tomcat lawnchair (i=xksshm@asdf.lawnchair.net) |
18:04.53 | lawnchair | i've noticed that tomcat does not support get requests only GET requests in the http servlet |
18:04.57 | lawnchair | is there any way to add "get" |
18:05.03 | lawnchair | or make it not case sensitive |
18:05.14 | lawnchair | or add a method... |
18:05.19 | lawnchair | id hate to edit the source |
18:08.21 | jasonb | takes a random look at his book's amazon sales rank today, after not looking for months, and finds it #1 on the Apache books chart! |
18:10.22 | *** join/#tomcat Vanuatoo (n=Vanuatoo@92.54.192.70) |
18:21.55 | jasonb | lawnchair: GET request mapped to what? |
18:22.10 | lawnchair | what |
18:22.13 | lawnchair | i just mean .... |
18:22.24 | lawnchair | GET /index.html works where as get /index.html does not |
18:22.35 | jasonb | A servlet can support more request methods by implementing service() to handle it. |
18:22.56 | jasonb | Okay, so you're wondering about requests that are mapped to the DefaultServlet. |
18:22.57 | lawnchair | reports back 501 rfc 2068 method not supported etc |
18:23.02 | lawnchair | i suppose |
18:23.06 | lawnchair | i just want to support get /index.html |
18:23.16 | lawnchair | because some external clients are sending us "get" not "GET" |
18:23.21 | jasonb | Well, you may need to modify the DefaultServlet source then. |
18:23.21 | lawnchair | id like to be able to support that |
18:23.24 | lawnchair | nod |
18:23.30 | jasonb | But, that's just one servlet. |
18:23.37 | jasonb | It happens to be a servlet that is bundled as part of Tomcat. |
18:23.49 | jasonb | But, your webapp can map those requests to any default servlet it wants to. |
18:24.01 | jasonb | Your webapp can bundle a modified DefaultServlet, for example. |
18:24.11 | *** join/#tomcat nixblicker (n=nixblick@dslb-088-072-199-100.pools.arcor-ip.net) |
18:24.31 | lawnchair | hmm, so can i dump something somewhere without modifyign the source |
18:25.19 | lawnchair | sorry im new to tomcat... any details would be great |
18:25.44 | jasonb | Download the Tomcat source code bundle. In there, do a search for DefaultServlet.java. |
18:25.52 | lawnchair | got it |
18:26.00 | jasonb | Edit that file and change the service() method to handle your "get" method. |
18:26.39 | jasonb | Then, recompile DefaultServlet.java.. and bundle your class of it in your webapp. |
18:26.50 | lawnchair | gotcha |
18:26.50 | lawnchair | alright, that sounds easy enough |
18:26.54 | lawnchair | thanks for the help |
18:26.56 | jasonb | Then, find the DefaultServlet mapping in Tomcat's conf/web.xml directory, and copy that and put it in your own web.xml and modify it however you like. |
18:27.02 | lawnchair | nods |
18:27.05 | lawnchair | i see |
18:27.09 | jasonb | You're quite welcome. |
18:27.38 | jasonb | Oh, and you may want to comment out the DefaultServlet mapping in Tomcat's conf/web.xml file. |
18:27.43 | lawnchair | alright |
18:43.54 | *** join/#tomcat acidjnk (i=acid@pD950AD6C.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
18:46.15 | *** join/#tomcat bindaas (n=chatzill@122.160.42.236) |
18:51.53 | *** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl) |
19:02.00 | *** join/#tomcat acidjnk (i=acid@pD950AD6C.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
19:07.35 | *** join/#tomcat tom17bombadil_ (n=tom@BAAc20a.baa.pppool.de) |
19:17.58 | *** join/#tomcat acidjnk (i=acid@pD950AD6C.dip0.t-ipconnect.de) [NETSPLIT VICTIM] |
19:19.05 | *** join/#tomcat bindaas (n=chatzill@122.160.42.236) |
19:38.03 | *** join/#tomcat tom17bombadil_ (n=tom@BAAef62.baa.pppool.de) |
19:43.25 | *** join/#tomcat npm (n=NielsMay@cpe-75-83-171-237.socal.res.rr.com) |
19:55.41 | *** join/#tomcat dvayanu (n=another@ppp-93-104-44-34.dynamic.mnet-online.de) |
20:11.57 | *** join/#tomcat tom17bombadil__ (n=tom@BAE66ca.bae.pppool.de) |
20:24.37 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
20:25.00 | *** join/#tomcat acidjnk (i=acid@pD950AD6C.dip0.t-ipconnect.de) |
20:28.35 | *** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-bd4442d174ab404b) |
20:36.00 | *** join/#tomcat tom17bombadil_ (n=tom@BAAe81b.baa.pppool.de) |
20:41.56 | *** join/#tomcat trifon_ (n=chatzill@83.228.98.153) |
20:46.58 | *** join/#tomcat loddafnir (n=mike@chello080108111137.5.11.univie.teleweb.at) |
20:50.30 | *** join/#tomcat tom17bombadil (n=tom@BAAf0ab.baa.pppool.de) |
21:13.30 | *** join/#tomcat da_krowa (i=Miranda@chello089076117162.chello.pl) |
21:20.22 | *** join/#tomcat tom17bombadil (n=tom@BAAf0c5.baa.pppool.de) |
21:37.30 | *** part/#tomcat relachs (n=relachs@f055130015.adsl.alicedsl.de) |
21:50.52 | *** part/#tomcat lawnchair (i=xksshm@asdf.lawnchair.net) |
22:33.16 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
23:22.19 | *** join/#tomcat vikumar_ (n=Vimal@59.160.127.177) |
23:24.06 | *** join/#tomcat Afterlawl_ (n=Afterlaw@79-75-16-243.dynamic.dsl.as9105.com) |