IRC log for #tomcat on 20070726

00:08.29*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
00:18.10*** join/#tomcat Owner_ (n=Owner@68-114-199-54.dhcp.clma.mo.charter.com)
01:09.24*** join/#tomcat RichiH_ (i=richih@freenode/staff/richih)
01:36.10*** join/#tomcat columbo (n=Miranda@pool-71-104-45-67.lsanca.dsl-w.verizon.net)
01:57.28*** join/#tomcat michael (n=michael@72.165.82.2)
02:43.55*** join/#tomcat josh3006 (n=Miranda@60.51.250.118)
02:46.05josh3006I have create my own generic framework and would like to make it as a jar file and deploy into <lib> folder. does anyone know how to do this ???
02:46.45shakhmatistummm jar -cvf ...
02:46.47shakhmatist??
02:47.26shakhmatistinfact do a ant task to do the jar and deploy it to the lib of the war
02:50.19josh3006hm.. ok.. sound feasible and easy with ant
03:00.28*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
03:14.37*** join/#tomcat RichiH_ (i=richih@freenode/staff/richih)
03:20.58josh3006ibot are u ok ?
03:21.19shakhmatistjosh3006, that's a bot
03:21.55josh3006okay :)
03:23.17lykenlol
03:41.30*** join/#tomcat codeshepherd (n=codeshep@61.8.208.15)
04:40.09*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
04:41.55*** join/#tomcat AzMoo[w] (n=mmagin@unaffiliated/azmoo)
04:46.47*** join/#tomcat acidjnk (i=acid@p5B06BC6D.dip0.t-ipconnect.de)
04:54.30*** join/#tomcat Oval_ (n=fridrik@213.176.151.102)
04:59.13*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
05:18.38*** join/#tomcat jasonb_ (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:33.01*** join/#tomcat RichiH_ (i=richih@freenode/staff/richih)
05:33.19*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-60-77.w82-121.abo.wanadoo.fr)
05:50.15*** join/#tomcat memic (n=memic@timeoutd.org) [NETSPLIT VICTIM]
05:56.15*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
06:29.39*** join/#tomcat RichiH_ (i=richih@freenode/staff/richih)
06:38.02*** join/#tomcat vinse (n=vinse@208.253.223.146)
07:11.19*** join/#tomcat Internat85 (i=biteme2@c210-49-250-210.ipswc1.qld.optusnet.com.au)
07:26.20*** join/#tomcat fix_ (n=fix@cable-87-244-191-178.upc.chello.be)
07:45.55*** join/#tomcat josh3006 (n=Miranda@60.51.250.118)
07:53.21josh3006any easy and efficient java obfuscation ?
07:54.09*** join/#tomcat evosh (n=jixjax@user-1121071.dsl.mindspring.com)
07:55.14grg-hi
07:55.30grg-import 3rd party ssl cert is hard a bit :>
07:58.02*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
08:11.54*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
08:15.46deebojosh3006: not like obfuscation is gonna stop anyone :)
08:35.59*** join/#tomcat Internat85 (i=biteme2@c210-49-250-210.ipswc1.qld.optusnet.com.au)
08:36.23*** join/#tomcat thnee (i=thnee@tower.fukt.bsnet.se)
08:51.44thneeim getting some exception, probably java.lang.OutOfMemoryError: PermGen space with the message "Java heap space" all of a sudden, i tried adding -server -XX:MaxPermSize=256M to JAVA_OPTS in catalina.sh but this didnt help, any ideas? (im on OS X with tomcat 5.5.17 and java 1.5.0_07)
08:53.18deeboexport CATALINA_OPTS="-server -Xmx256M -Xms256M -XX:MaxPermSize=192M -Dcom.sun.management.jmxremote"
08:53.23deebothats how i run my dev tomcat
08:53.45deebomaybe you just have a memory leak
08:56.12thneeum maybe
09:16.05*** join/#tomcat joered (n=chatter@85-18-136-70.fastres.net)
09:24.22*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
09:45.33*** join/#tomcat dvayanu (n=lrosenbe@tal2.friendscout24.de)
10:51.13*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
10:53.20deeboanyone knwo how multipart file post works?
10:53.27deeboif i post 0 files theres no fileparams
10:53.47deeboif i post on file ,theres one param like "file" (html input field name)
10:53.59deeboif i post 2 files, theres three params "file" "file1" "file2"
10:55.31deebooh apparently "file" is null if theres file1 and file2 present
11:17.27*** join/#tomcat codeshepherd (n=codeshep@203.123.12.140)
11:18.33*** join/#tomcat a4akb (n=a4akb@62.215.156.215)
11:19.33a4akbyo
11:36.17*** join/#tomcat jenner (i=jenner@debian/developer/jenner)
11:36.29jennerheya
11:37.14jennerguys, is there a way to change the default URL encoding from latin1 to UTF8?
11:43.06*** join/#tomcat Thingol79 (n=thingol@r4bz56.net.upc.cz)
11:48.14*** part/#tomcat jenner (i=jenner@debian/developer/jenner)
11:48.55*** join/#tomcat putzel (n=burps@89-202-221-213-pool.cable.fcom.ch)
11:48.58deebojenner, add URIEncoding=UTF-8 to your connector
11:50.40*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
11:52.25a4akbRichiH: Nice to meet ibot's supreme master.
11:54.59*** join/#tomcat codeshepherd (n=codeshep@203.123.12.140)
12:15.06thneedeebo: apparently there was a bug in hibernate which leaked memory
12:15.22thneefyi
12:26.55*** join/#tomcat rpikalo (n=rpikalo@194.106.105.71)
12:34.37*** part/#tomcat rpikalo (n=rpikalo@194.106.105.71)
12:34.43*** join/#tomcat rpikalo (n=rpikalo@194.106.105.71)
12:40.04*** part/#tomcat rpikalo (n=rpikalo@194.106.105.71)
13:11.56*** join/#tomcat RichiH (i=richih@freenode/staff/richih)
13:33.21*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
13:36.08*** join/#tomcat michael (n=michael@72.165.82.2)
14:02.25*** join/#tomcat awelynant (n=cskinfil@208.65.172.147)
14:11.54*** join/#tomcat codeshepherd (n=codeshep@bb219-75-6-14.singnet.com.sg)
14:23.18*** join/#tomcat fenris (n=fenris@brunhild.throughput.de)
14:23.19fenrishi
14:28.46*** join/#tomcat kab (n=abarrera@148.229.1.11)
14:30.34fenrisi have a problem with deploying a web app... i have the war inside the webapps dir, and also the expanded directory... but the webapp does not appear in the webinterface and is not reachable via http
14:31.29fenristouch-ing the war does not do anything, and deploying the war again via the webinterface does not work because he says the war already exists
14:32.16fenristomcat version is 5.5.9 with java 1.5 on solaris 5.9
14:32.33*** join/#tomcat Thorn (n=Thorn@unaffiliated/thorn)
14:43.33*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
15:03.09rrvaon tomcat 4.1.24 java 1.4.1_04, what could be a problem with jsp pages not being recompiled on deploy? d
15:03.41rrvafenris: you must add the context to conf
15:04.48rrvafenris: create <yourcontext>.xml in /conf/Catalina/localhost
15:06.06fenrisrrva: don't have the permission to do that
15:07.13fenrisi tried to do it via the manager webinterface, but all i get are "invalid context path specified" messages
15:18.36rrvafenris: get someone to set up the context for you
15:19.24fenrisrrva: i tried to contact our administrator, but i cant reach him... thats why im asking here :)
15:19.47rrvaa new context can be configured in server.xml or in conf/Catalina
15:20.05rrvaif it is a new context, you need to write a change there
15:30.24fenrisrrva: as i said, i dont have permissions to change anything in the config directory
15:37.55a4akbhomies
15:58.48*** join/#tomcat codeshepherd (n=codeshep@bb219-75-6-14.singnet.com.sg)
16:02.09*** join/#tomcat Oval (n=fridrik@213-176-151-102.in.is)
16:09.42*** join/#tomcat Oval (n=fridrik@213-176-151-102.in.is)
16:14.43*** join/#tomcat Oval (n=fridrik@213-176-151-102.in.is)
16:32.25*** part/#tomcat fenris (n=fenris@brunhild.throughput.de)
16:40.39*** join/#tomcat chrismon (i=chrismon@about/philosophy/chrismon)
16:41.06chrismonI'm trying to create multiple security constraints for multiple users
16:41.21chrismonand it seems I ended up locking all users out of various part of the app
16:41.55chrismoni cannot seem to find definitive docs for useing security-constrints in web.xml
16:47.55chrismonhrm so its seems the constraints are on a "deny, allow" basis (as opposed ot "allow, deny"
16:48.33chrismonso if you configure a constraint for a user to have access to /xyz, that user has access and everyone else is closed off
16:48.49chrismonso... if you configure for one, you must configured for all... ?
16:51.33randrewrrva: If the cached java files generated from the jsp are newer than the jsp, then the jsp processing doesn't occur. You can purge the generated java files from tomcat's work directory. your versions are scary old.
17:13.41*** join/#tomcat karstensrage (n=karstens@75.55.199.5)
17:17.22*** join/#tomcat mark3l (n=marcello@rev-200-40-119-222.netgate.com.uy)
17:21.38chrismonok i've got the scope of my issue
17:22.00chrismonweb.xml security constraints constrian paths
17:22.04chrismoni want to constrin users
17:22.25chrismonbut i cannot seem to find a way to do this
17:22.43chrismoni.e. a certain users is constrained to access only certain paths
17:23.05chrismonwhile other (or unspecified_ users have access to another set (or all) paths
17:25.39deebobasic authentication or tomcats own system?
17:25.56chrismontomcat's
17:26.05chrismontomcat-users.xml + web.xml
17:26.43chrismoni thought maybe I could devise an allow,deny policy putting a constraint for "/*" for all users
17:27.08chrismonbut if I have another constraint for things within/underr that path, the more specific constraint takes precedence
17:27.59chrismonhmm i think I've got it
17:28.15chrismonadd all global roles to "/*"
17:28.34chrismonand then at all usrs w/ access to specific onstraints
17:29.03chrismonso if I want usr X to only be able to access /xfiles (heh)
17:29.27chrismonI put all roles but X in /*, and all roles (including X) in /xfiles
17:29.38chrismon(in meaning, within the constraint section specifying those paths)
17:30.42chrismonhmmm it seems to be working
17:30.47chrismonseems to be ugly too :)
17:41.18chrismonhmm i'm not sure how it applies the rules
17:41.53chrismonapply last match?, apply first deny? apply first allow?
18:14.02*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
18:22.24randrewchrismon: the 2.4 spec contains an example. anything earlier is spectacularly lame wrt security constraints.
18:25.39*** join/#tomcat michael (n=michael@72.165.82.2)
18:45.57*** join/#tomcat Taggert (n=John@neodymium.rhsmith.umd.edu)
19:53.34kabcan I have regexp in <url-pattern> </url-pattern> in my web.xml?
19:54.15kabfor example to filter all the files that's begin with "icon"
20:06.03*** join/#tomcat Internat (i=biteme2@c210-49-250-210.ipswc1.qld.optusnet.com.au)
20:27.14*** join/#tomcat michael (n=michael@72.165.82.2)
20:27.52*** join/#tomcat MitchM (n=MitchM@unaffiliated/MitchM)
20:28.47MitchMI'm having a problem serving jsp files with Apache -> Tomcat
20:29.21MitchMI'm using 2.2 with mod_proxy.c and i get sent to the right place with a index.jsp but it comes across as html
20:29.24MitchM:S
21:09.47*** join/#tomcat filthbag (n=toby@email2http.com)
21:11.36*** part/#tomcat filthbag (n=toby@email2http.com)
21:26.10*** join/#tomcat dvayanu (n=another@ppp-82-135-68-145.dynamic.mnet-online.de)
21:36.02*** join/#tomcat victori (n=victori@adsl-67-119-150-206.dsl.lsan03.pacbell.net)
21:36.07victorihmm
21:55.22*** join/#tomcat seevash (n=jixjax@user-1121o0u.dialup.mindspring.com)
22:42.11*** join/#tomcat Owner_ (n=Owner@68-114-199-54.dhcp.clma.mo.charter.com)
23:29.21*** join/#tomcat mrpoundsign (n=chatzill@92dhcp179.chordiant.com)
23:32.05mrpoundsignTomcat 6.0.13, Windows XP, Java 1.6.0_01-b06, hello. :) quick question... it seems we need to restart tomcat on every method change in our dev environment (using MyEclipse) -- does anyone know any way around this? Is there a quicker method than a complete server restart
23:32.57mrpoundsignor is that S.O.P. or Java development?
23:38.57pfntomcat supports hot-reload
23:39.23pfnenable it in the context configuration and you'll only need to restart tomcat every 50-300 or so times you reload
23:39.29pfn(memory leak issues if any)
23:48.59mrpoundsignpfn: thanks. in the tomcat config?
23:49.40pfnyes
23:50.06mrpoundsignpfn: hmm, can't seem to find that option....
23:50.16pfnit's a context option
23:50.28pfnso you set the value on the context
23:50.43pfnhttp://tomcat.apache.org/tomcat-6.0-doc/config/index.html
23:50.52mrpoundsignpfn: aah, ok, I have no idea how to do that. :) I am just learning this stuff now.
23:51.26mrpoundsigncool, so in the config file? I can try to figure it out. :)
23:53.12mrpoundsignis it just antiResourceLocking ? that's the only reference to hot deployment I could find. :)
23:55.06pfnreloadable
23:56.56*** join/#tomcat Owner_ (n=Owner@68-114-199-54.dhcp.clma.mo.charter.com)

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