00:29.22 | *** join/#tomcat odin_ (n=dlm@host86-128-201-214.range86-128.btcentralplus.com) |
02:16.56 | *** join/#tomcat Magdin (n=adjioev@203.176.96.250) |
02:23.20 | Magdin | Hi everyone |
02:23.40 | Magdin | I'm using Server version: Apache Tomcat/5.5 |
02:23.41 | Magdin | Server built: Jan 16 2007 12:52:43 |
02:23.41 | Magdin | Server number: 5.5.20.0 |
02:23.41 | Magdin | OS Name: Linux |
02:23.41 | Magdin | OS Version: 2.6.20-16-generic |
02:23.41 | Magdin | Architecture: i386 |
02:23.43 | Magdin | JVM Version: 1.5.0_11-b03 |
02:23.45 | Magdin | JVM Vendor: Sun Microsystems Inc. |
02:25.10 | Magdin | I got question about ldap realm, as soon as I add ldap auth into server.xml I'm not able to access manager page, i.e memoryrealm doesn't work anymore. Does it mean that i can use only one realm at one time? |
02:27.00 | Magdin | Let me know if you need LDAP realm tag to be posted. Thank you. |
03:00.53 | *** join/#tomcat acidjnk (i=acid@p5B3EB2B7.dip0.t-ipconnect.de) |
03:59.24 | *** join/#tomcat acidjnk (i=acid@p5B3EAB04.dip0.t-ipconnect.de) |
04:32.09 | *** join/#tomcat compair124 (i=compair1@gateway/tor/x-4ae7a0c3e3dcf77d) |
04:57.44 | pfn | Magdin, well, you can't define two realms in a given scope |
04:58.01 | pfn | Magdin, that is, if you want to enable memoryrealm for the manager app, you need to define it in the manager app's context |
04:58.24 | pfn | if you want to enable ldap realm for only your particular app, why don't you add the realm entry within that context's tags |
05:12.03 | Magdin | well i was thinking to keep my admin profile at memoryrealm and have my application users at LDAP. |
05:13.09 | Magdin | i didn't know that you can define realm inside the context. Thanks a lot for advise. |
05:42.18 | *** join/#tomcat dvayanu (n=another@ppp-82-135-4-136.dynamic.mnet-online.de) |
05:42.25 | *** join/#tomcat dvayanu (n=another@ppp-82-135-4-136.dynamic.mnet-online.de) |
06:01.10 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
07:12.50 | *** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net) |
07:14.35 | *** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-12-54.telkomadsl.co.za) |
07:31.17 | *** join/#tomcat gregor_k (n=a@p54A180B1.dip0.t-ipconnect.de) |
07:46.47 | *** join/#tomcat fix (n=fix@86.39.154.74) |
07:53.32 | *** join/#tomcat Venca (n=chatzill@195.113.192.114) |
08:03.15 | Venca | hi! can anyone help me with sessions problem, pls? my systems info are at http://pastebin.com/m44b37203 and http://pastebin.com/m56712b13 |
08:04.12 | Venca | config files are almost identical, but on "virtual-tomcat" at alfresco machine server doesn't open session |
08:04.47 | spuz | is there a log of this channel stored somewhere? |
08:05.49 | spuz | or can someone give me the logs from friday if they keep them locally? |
08:10.46 | *** join/#tomcat rambo123 (n=robin@59.94.97.0) |
08:26.48 | jasonb | http://ibot.rikers.org/%23tomcat/ |
08:56.28 | lyken | yo |
09:00.53 | spuz | cheers jasonb |
09:42.31 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
09:46.11 | spuz | hey, does anyone know why when I try to access, for example index.jsp on my tomcat server through Eclipse, it actually requests index.faces instead? |
10:45.37 | lyken | i don't use exclipse so can't give you any tips |
10:46.14 | *** join/#tomcat InsolitWork (n=daniel@213.22.190.104) |
10:47.50 | InsolitWork | hi all! I want to set up a DataSource in Tomcat, adding a Resource and ResourceParams element to server.xml. My question is, shall I put inside Service element or Global Naming Resources... or inside any of those |
10:51.31 | minerale | how can I read a init-param placed on the web.xml file ? |
10:51.37 | minerale | (not from a servlet, but from a jsp page) |
11:10.05 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
11:11.42 | *** join/#tomcat CrummyGummy (n=CrummyGu@dsl-242-12-54.telkomadsl.co.za) |
11:13.20 | *** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com) |
11:19.45 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
11:41.28 | *** join/#tomcat donaldo_ (n=donny@70.20.110.33) |
11:47.36 | *** join/#tomcat bobbytek1 (n=bob@70.51.120.152) |
12:53.20 | *** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu) |
13:08.15 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
13:42.29 | *** join/#tomcat spuz (n=chatzill@217.33.98.4) |
13:56.52 | *** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se) |
14:03.43 | *** join/#tomcat kab (n=abarrera@nat.ti.uach.mx) |
14:04.54 | *** join/#tomcat chrisjw (n=porsche@82-71-87-169.dsl.in-addr.zen.co.uk) |
14:15.53 | *** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net) |
14:27.55 | *** join/#tomcat rambo123 (n=robin@59.96.162.129) |
14:28.57 | *** join/#tomcat compair124 (i=compair1@gateway/tor/x-ed00610e8530d868) |
14:32.43 | *** join/#tomcat acidjnk (i=acid@p5B3EAB04.dip0.t-ipconnect.de) |
15:00.35 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
15:21.56 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
15:34.27 | *** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu) |
15:37.49 | *** join/#tomcat godot73 (n=godot73@bas-flu-bbcs-dynip-218-128.vtx.ch) |
15:42.51 | *** part/#tomcat godot73 (n=godot73@bas-flu-bbcs-dynip-218-128.vtx.ch) |
15:58.31 | *** join/#tomcat largos (n=rcreswic@dsl081-014-025.sea1.dsl.speakeasy.net) |
16:01.28 | *** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de) |
16:05.23 | largos | I need some pointers on shutting tomcat down (tomcata 5.5.<I'm not sure how to findout>, Gentoo w/ 2.6.14, java 1.5.0) |
16:05.56 | largos | I've issued the os's /etc/init.d/tomcat55 stop, but there are still a lot of processes running, and using the port (8080) |
16:06.26 | largos | The only service tomcat makes use of (that I'm aware of) is postgresql, which I've also shut down |
16:07.32 | largos | The processes that seem to be using 8080 were started like this: /opt/jdk1.5.0_11/bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/tomcat_5.5/conf/logging.properties -Djava.endorsed.dirs=/opt/tomcat_5.5/common/endorsed -classpath :/opt/tomcat_5.5/bin/bootstrap.jar (from ps -ef, if that helps) |
16:08.04 | largos | ...I say "seem to" because lsof isn't installed <sigh> |
16:08.39 | largos | and the processes aren't responding to SIG_INT |
16:09.32 | *** join/#tomcat diLLec (n=dillec@dillec.biz) |
16:10.08 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
16:17.30 | *** part/#tomcat locoo (n=locoo@200.57.212.174) |
16:34.12 | *** join/#tomcat jasonb (n=jasonb@75.144.23.117) |
17:04.11 | *** part/#tomcat largos (n=rcreswic@dsl081-014-025.sea1.dsl.speakeasy.net) |
17:07.25 | *** join/#tomcat ampex (n=ampex@65.44.172.250) |
17:08.12 | ampex | Is there a best practice for allowing tomcat to listen on seperate ports and serving up a different application for each? |
17:08.19 | ampex | Do I need Apache as a front end, or can Tomcat do it alone? |
17:09.57 | ampex | Tomcat 6.0.14 :) |
17:19.58 | *** join/#tomcat newpers (n=newpers@unaffiliated/newpers) |
17:21.06 | newpers | i'm using struts + tomcat5. is there a way to make url requests case insensitive. this is causing problems when users try to recall urls from memory, but can't remember the case of the paths |
17:21.52 | arthomps_ | yes - as long as you aren't using windows on your servers. |
17:22.08 | newpers | unfortunately, i am not |
17:22.23 | newpers | so i'm out of luck, then? |
17:22.51 | newpers | oh... sorry, i'm not using windows |
17:23.05 | arthomps_ | http://tomcat.apache.org/tomcat-5.0-doc/config/context.html |
17:23.06 | newpers | arthomps_: what's the solution? Context caseSensitive="false"? |
17:23.26 | arthomps_ | nono - if you aren't using windows - you're fine. but there are security issues if you are. |
17:23.35 | arthomps_ | and yeah |
17:23.42 | arthomps_ | caseSensitive="false" |
17:23.48 | newpers | arthomps_: i've tried that |
17:24.08 | newpers | and it doesn't seem to work. /usr/share/tomcat5/conf/context.xml? |
17:24.20 | newpers | or is there another contxt file that i need to change |
17:25.11 | newpers | I get invalid path errors |
17:25.14 | arthomps_ | not sure how you deployed. but if you just have the default vhost. it would be tomcat/conf/Catalina/localhost/ROOT.xml |
17:25.15 | newpers | if i change the case |
17:25.37 | newpers | thanks |
17:26.19 | arthomps_ | and i'd check it with a simple helloworld type app first. then deal with struts. |
17:27.00 | arthomps_ | or undeploy your app and make sure /MAnaGer/HtmL resolves |
17:27.32 | newpers | ok, that's a good idea... i tried ROOT.xml, but i can't seem to get it working either |
17:29.44 | *** join/#tomcat kab (n=abarrera@nat.ti.uach.mx) |
17:32.49 | newpers | yeah, i can't get that working either |
17:32.55 | newpers | hmm... |
17:41.41 | *** join/#tomcat jkew_ (n=jkew@207-170-200-18.static.twtelecom.net) |
18:32.15 | *** join/#tomcat jkew (n=jkew@207-170-200-18.static.twtelecom.net) |
18:34.15 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-82-81-196-98.cablep.bezeqint.net) |
18:37.02 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-82-81-196-98.cablep.bezeqint.net) |
18:41.50 | *** join/#tomcat bobbytek2 (n=bob@bas3-toronto01-1177778328.dsl.bell.ca) |
18:49.01 | *** join/#tomcat kiubuntu (n=kiubuntu@124.7.90.182) |
18:52.30 | *** join/#tomcat kiubuntu (n=kiran@124.7.90.182) |
18:56.26 | kiubuntu | tomcat 5.5 java 6 update 2 , fedora 6 and mac os x. I have a war file called rezoomexNew. when i deploy it on windows xp it creates folder with same name and im done. Now on fedora, a new folder called 'rezoomex3810' in user's home directory gets created and tomcat serves from there. There is also one more folder in webapps having same name as default war. plz edxplain me this behaviour on fedora linux. |
18:58.45 | *** join/#tomcat largos (n=rcreswic@dsl081-014-025.sea1.dsl.speakeasy.net) |
19:03.12 | ampex | kiubuntu: did you install tomcat using a fedora package? |
19:03.35 | ampex | kiubuntu: if so, I'm assuming that it's been modified by the package maintainers to produce this behavior |
19:03.43 | kiubuntu | ampex: no i used gz from apache |
19:04.51 | ampex | hmmm, strange |
19:05.17 | kiubuntu | actually it created separate directory in user's home other than a foler with same name as that of war file and no such behaviour is shown on my mac os x |
19:06.24 | ampex | do you have a "deploy.home" specified in your configuration file? |
19:06.43 | ampex | maybe you need a tomcat_home environment variable? |
19:07.58 | kiubuntu | no . and tomcat_home... i thought there is no need to set it up . actuallly it serves all the pages pretty well from that newly created folder in usr home direcotry on fedora. but it does not happen on mac |
19:08.16 | ampex | kiubuntu: what directory are you in when you start tomcat? |
19:08.47 | kiubuntu | bin directory of tomcat5.5 |
19:09.32 | ampex | what user are you running it as? |
19:11.31 | kiubuntu | root |
19:13.14 | pfn | tomcat packages appear to all suck... |
19:13.53 | largos | pfn: similar feelings over here... |
19:14.11 | largos | tomcat doesn't seem to be reliably releasing resources when I tell it to stop |
19:14.39 | largos | (tc 5.5.20, java 1.5, ubuntu 7.04) |
19:14.52 | largos | most of the time, on a restart it complains about ports being in use |
19:19.04 | kiubuntu | g2g |
19:19.16 | largos | how can I figure out what app has a given port open? (specifically 8082..) |
19:19.27 | kiubuntu | thnx ampex |
19:19.39 | largos | lsof doesn't seem to be listing it, but it does show up in netstat -vat |
19:33.11 | pfn | tomcat packages |
19:33.15 | pfn | largos, netstat -anp |
19:33.20 | pfn | netstat -anp | grep 8082 |
19:35.37 | pfn | anyway, usually it'd be apache that's not releasing the port |
19:36.26 | pfn | httpd, that is |
19:36.29 | pfn | if you're using jk |
19:36.31 | pfn | <PROTECTED> |
19:37.03 | pfn | and tomcat packages on various linux distributions is what I say sucks |
19:37.08 | pfn | the tomcat binary tarball isn't bad |
19:37.52 | largos | pfn: ah, thanks |
19:38.06 | largos | turned out to be an ancient install of xsp2 |
19:38.53 | largos | trying to figure out why my apache proxy -> tomcat isn't working now... |
19:41.31 | pfn | that's what your logs are for |
19:41.44 | largos | yeah, looks like an apache permissions issue. |
19:47.08 | *** join/#tomcat prgrmr (n=prgrmr@bzq-79-180-83-196.red.bezeqint.net) |
19:57.44 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
20:06.40 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-79-180-17-176.red.bezeqint.net) |
20:43.58 | *** join/#tomcat vershun (n=asdf@c-67-176-59-213.hsd1.co.comcast.net) |
20:45.08 | vershun | Is there a good article or tutorial for getting started with making webpages using Tomcat? I'm finding a lot of information on jsp and java but not much on where to actually put the files so they show up correctly |
20:45.33 | *** join/#tomcat prgrmr__ (n=prgrmr@bzq-79-178-4-183.red.bezeqint.net) |
20:45.55 | largos | vershun: search for directions on creating war's |
20:46.34 | largos | (there are probably better ways, but I figured it out by tearing apart example servlets and building war files) |
20:49.31 | *** join/#tomcat prgrmr (n=prgrmr@bzq-82-81-209-228.cablep.bezeqint.net) |
20:50.03 | vershun | OK thanks |
20:50.37 | largos | vershun: once you have a working war, you can just drop it in the tomcat webapps directory and tomcat should load it automatically (and a note will appear in the catalina.out log) |
20:54.46 | *** join/#tomcat [algo] (n=ilia@195.87.229.42) |
21:01.32 | *** join/#tomcat bobbytek1 (n=bob@CPE001c1023c189-CM001225701e68.cpe.net.cable.rogers.com) |
21:04.37 | pfn | google servlet war tutorial |
21:04.41 | pfn | bound to be something out there |
21:07.34 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-79-178-13-29.red.bezeqint.net) |
21:09.13 | *** join/#tomcat chrisjw (i=unknown@82-71-87-169.dsl.in-addr.zen.co.uk) |
21:16.35 | *** join/#tomcat prgrmr__ (n=prgrmr@bzq-79-178-44-192.red.bezeqint.net) |
21:23.53 | *** join/#tomcat prgrmr__ (n=prgrmr@bzq-79-182-139-116.red.bezeqint.net) |
21:45.10 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-82-81-87-135.red.bezeqint.net) |
21:48.57 | *** join/#tomcat prgrmr_ (n=prgrmr@bzq-82-81-100-204.red.bezeqint.net) |
22:09.05 | *** join/#tomcat juc0 (n=hoze@cpc2-port4-0-0-cust981.cos2.cable.ntl.com) |
22:23.58 | largos | I'm setting up workers with mod_jk, and while I got one working, I'd like to map subdomains to different tomcat servlets |
22:24.42 | largos | is it possible to bind a given worker to a path (or servlet?) so worker1 maps all it's requests to a specific tomcat context? (eg: servlet1) |
22:57.04 | pfn | why use mod_jk? |
22:57.09 | pfn | if httpd 2.2 use mod_proxy_ajp |
22:57.12 | pfn | it's a simpler model |
22:57.18 | pfn | largos no |
22:57.23 | pfn | use mod_rewrite |
22:57.27 | pfn | and mod_html if you need to fix links |
22:58.23 | jasonb | Yeah, what pfn said! :) |
22:58.59 | jasonb | And, if you don't believe us, check what the book Tomcat: The Definitive Guide (2nd Edition) says. |
22:59.12 | pfn | heh, nice plug |
22:59.25 | jasonb | It's out like.. uhh.. today? Hmm, not quite today. |
23:00.38 | jasonb | from Amazon: "Publisher: O'Reilly Media, Inc.; 2 edition (October 15, 2007)" |
23:01.13 | jasonb | That's like, today. :) |
23:01.23 | jasonb | Good thing I'm done.. |
23:02.29 | largos | hehe |
23:03.03 | largos | yeah, I had another cup of coffee, did a better google search, and copy and pasted the rewrite rule that makes it all work :) |
23:06.48 | largos | well, almost. If I use a redirect rule, it works, but the url isn't as clean as I'd like |
23:07.06 | largos | but if I use a Proxy rule, tomcat doesn't seem to get the redirected url |
23:08.41 | largos | (I'm using the rule: RewriteRule ^/$ /myServlet/ [P] ) |
23:47.40 | pfn | largos, it's [PT] isn't it |
23:48.42 | pfn | use RewriteRule ^/$ /myServlet/ [PT] |
23:48.50 | pfn | P is the wrong way |
23:50.03 | largos | hm.. I'll give [PT] a shot |
23:51.17 | largos | T just forces the mimetype |
23:56.23 | pfn | no, it doesn't |
23:56.27 | pfn | PT != P,T |
23:56.33 | pfn | they're very different things |
23:56.48 | largos | huh, ok |
23:57.07 | largos | I tried PT and it seemed to behave just like P |
23:57.31 | largos | I think the problem with P is that it only redirects the first request (for the root) |
23:57.56 | largos | so I tried RewriteRule ^/(.*)$ /myServlet/$1 [P] |
23:58.14 | largos | but that recurses for some reason |
23:58.47 | largos | (it eventually blows a stack, essentially, and complains about the url /myServlet/myServlet/myServlet/...... ) |