IRC log for #tomcat on 20080128

00:10.35*** join/#tomcat vershun_ (n=vershun@ucb-np1-61.colorado.edu)
00:14.08vershun_Has anyone seen this error before (Tomcat 5.5, Debian Etch, Java 1.5)?  javax.servlet.ServletException: access denied (java.io.FilePermission ???en_US.save.dir???testfile.txt write)
01:18.47*** join/#tomcat Goosemoose (n=me@pool-71-104-118-75.lsanca.dsl-w.verizon.net)
01:20.55GoosemooseTo make tomcat respond to multiple sites on one server to I just need to add multiple virtual host entries in the server.xml file, or is there something else that has to be done?
01:42.45Goosemoosewow, quiet place
01:53.38*** join/#tomcat rev (n=rev|x@75-163-30-228.dlth.qwest.net)
01:54.10revahoy! why pro/cons with going over x86_64 vs i686 linux install on an intel core/xeon multi-core CPU? e.g. java performance better or worse (from some backasswards reason) on the 64 bit distros?
02:07.14jasonbrev: Ahoy.  :)  It really depends on a number of factors, but what I've found are two good reasons for using 64-bit Linux as opposed to 32-bit: 1) There is no more memory limit of 4GB.  The limit is far higher, however this is only helpful if your machine really has more ram than that, and you actually can make use of that much ram.  2) CPU context switches are faster in 64-bit mode, so in theory, performance can be better, and I think it is, though I don'
02:07.14jasonbt have benchmarks to that affect, nor do I know how much faster it is.
02:08.07jasonbrev: The CPU context switching thing is helpful when your JVM runs lots of threads concurrently, doing work, which is exactly what Tomcat does if your web site is a medium to high traffic web site.
03:46.21*** join/#tomcat wltjr (n=wltjr@gentoo/developer/wltjr)
04:01.06*** join/#tomcat Jed_84 (i=ABCDEF@201-213-239-182.net.prima.net.ar)
04:01.10Jed_84hello everyone
04:01.22Jed_84I'm having problems deploying a web app I developed in netbeans
04:01.28Jed_84this is what the catalina log says:
04:01.35Jed_84java.security.AccessControlException: access denied (java.io.FilePermission /WEB-INF/classes/logging.properties read)
04:01.48Jed_84I tried to google it but couldn't find a way to fix this
04:02.01Jed_84maybe you know how to fix it
04:02.03Jed_84any ideas?
04:02.43*** join/#tomcat acidjnk (i=acid@p5B3F38DB.dip0.t-ipconnect.de)
04:10.02*** join/#tomcat massiverobot (n=dillera@c-68-81-156-103.hsd1.pa.comcast.net)
04:59.32*** join/#tomcat acidjnk (i=acid@p5B3F32E3.dip0.t-ipconnect.de)
05:25.00*** join/#tomcat aravi (n=aravi@60-242-137-108.static.tpgi.com.au)
05:38.26*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-93deee62682d47cf)
05:39.04*** join/#tomcat albert_kam (n=albert_k@222.124.39.108)
08:42.32*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-97c32b4df7b82dcb)
08:49.04*** join/#tomcat alk^ttn (n=cc@87-194-94-237.bethere.co.uk)
08:53.33*** join/#tomcat kjkoster5489 (n=kjkoster@a1190.upc-a.chello.nl)
09:13.29*** join/#tomcat VyNiL (i=nicolas@88.193.189.19)
09:14.29VyNiLhello,
09:14.53VyNiLis there a way to specify where tomcat should search for the WEB-INF dir?
09:15.17VyNiLto use each app dir instead of the tomcat root
09:21.32VyNiLi am getting a java file not found exception because it is looking into TOMCAT_HOME/WEB-INF instead of TOMCAT_HOME/webapps/myapp/WEB-INF
10:35.01*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-5ce624c20c78f4a0)
11:51.00*** join/#tomcat vikumar (n=Vimal@nat/redhat-in/x-e25777459296b4b4)
12:36.33*** join/#tomcat tengil (i=tengil@c-b0c6e255.041-56-73746f39.cust.bredbandsbolaget.se)
12:37.41tengili have a servlet that tries to save a file with swedish characters to an ext3 filesystem in linux. it uses utf-8. the filenames with sweidhs characters gets messed up. any idea what i must do to fix this
12:44.02*** join/#tomcat mip (i=mip@53-152-22-rev.nemi-networks.co.uk)
12:44.14mipHello all
12:45.01mipIm using Tomcat 5.5 on RHEL4 with 1.5.0_09-b03
12:45.12deebotengil: does your locale match
12:45.20mipI'm using that standard tar ball download
12:45.40tengildeebo: locale on linux is utf-8 yeah...
12:45.43miprunning startup.sh uses Java in client mode
12:46.00mipwhat do I need to change for it to use server mode?
13:00.28mipanyone?
13:01.52*** join/#tomcat Nicke (n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se)
13:13.15kjkoster5489mip: JAVA_OPTS="-server"
13:13.21kjkoster5489mip: export JAVA_OPTS
13:13.25kjkoster5489then start tomcat.
13:13.40kjkoster5489Or edit the startup script to pick the right compiler.
13:14.13kjkoster5489Never understood why Tomcat's default start script starts with -client and not -server.
13:21.32tengildeebo: i just checked and if i just create a java class and run it outside tomcat in can create a file with that name
13:35.27*** join/#tomcat Michael_Konikoff (n=chatzill@fl-71-52-17-243.dhcp.embarqhsd.net)
13:57.29deebotengil: maybe your tomcat isnt setup properly and uses some other charset internally
13:59.37tengiljava_opts and catalina_opts both has -Dfile.encoding=UTF-8 what else do i need to set?
14:06.57mipthanks kjkoster548
14:07.02mipmuch appreciated
14:15.40kjkoster5489mip: hapy to help.
14:15.43kjkoster5489happy
14:18.02mipalso, what's the best way to start tomcat on boot up?
14:18.17mipthere doesn't seem to be an init script included in the tarball
14:24.19kjkoster5489mip: what os?
14:24.26mipRHEL 4
14:24.56kjkoster5489I just wrote a short init script that I placed in /usr/local/etc/rc.d
14:25.02kjkoster5489I'm on FreeBSD by the way
14:25.12kjkoster5489Just copy an init script that's short and use that.
14:53.45mipok, thanks kjkoster5489
15:05.56*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
16:11.14*** join/#tomcat odin_ (n=dlm@host86-128-146-232.range86-128.btcentralplus.com)
16:13.42*** join/#tomcat ^Quiddity (n=steve@ng1.cptxoffice.net)
16:36.48*** join/#tomcat prgrmr (n=prgrmr@bzq-79-176-128-233.red.bezeqint.net)
16:59.01*** join/#tomcat acidjnk (i=acid@p5B3F0C07.dip0.t-ipconnect.de)
17:06.42*** join/#tomcat Beber (n=Beber@scuderia.internet-fr.net)
17:06.44BeberHi,
17:06.57BeberI've got issue with tomcat and gzip compress
17:07.06Beberhow could I disable that features ?
17:18.44*** join/#tomcat AlexWorX (n=alexworx@port-87-234-51-211.static.qsc.de)
17:22.31*** join/#tomcat prgrmr (n=prgrmr@bzq-79-180-15-7.red.bezeqint.net)
17:44.35*** join/#tomcat mascix_ (n=opera@88.248.140.104)
17:45.20*** part/#tomcat mascix_ (n=opera@88.248.140.104)
17:46.10randrewBeber: conf/web.xml
17:58.57*** join/#tomcat Saille (n=Saille@p57B8B5BA.dip0.t-ipconnect.de)
18:08.07*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.mn.comcast.net)
18:08.52SailleHi, my OS: Kubuntu 7.10, my tomcat: 5.5.25 and my java: 6.03 i've this problem: if i click at "reload" it would not reload, but if i include the whole project again, tomcat reconize the changes. why doesnt work the "reload" button?
18:10.41Saillelast week the reload button worked perfect, i had make no changes on tomcat, java or so just some updates for the os
18:21.57koffTC 5.5.17, jre1.5.0_06, WinXP SP2
18:21.59koffI've configured my host with an extended JDBCRealm that supports password encryption. Can my protected web application access the realm object?
18:22.00koffFor example, I have a User class, and would like to have this method
18:22.02koffsetPassword(String password) {this.password = MyJDBCRealm.encrypt(password);}
18:22.03koff"How can I access members of a custom Realm or Principal" http://wiki.apache.org/tomcat/HowTo#head-cb66e750a22dea34b56f508dd675ed3c2e2e221a is what I'm after, but I don't know how to get the Realm. Any help?
18:23.09*** join/#tomcat smccl (n=smccl@63.161.118.147)
18:39.33pfnkoff, why do you need access to the realm?
18:41.16pfnaccessing members of the principal is easy
18:41.22pfnyou have no easy means to access the realm
18:41.30pfndon't put encrypt() in the Realm
18:41.37pfnput it in the principal
18:46.56koffok, makes sense. I will try that. Thanks!
18:47.19*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.mn.comcast.net)
18:48.21*** join/#tomcat Saille (n=Saille@p57B8B5BA.dip0.t-ipconnect.de)
18:57.41*** join/#tomcat chatuser (n=chatuser@bas13-toronto12-1167983665.dsl.bell.ca)
18:58.54SailleHi, my OS: Kubuntu 7.10, my tomcat: 5.5.25 and my java: 6.03 i've this problem: if i click at "reload" it would not reload, but if i include the whole project again, tomcat reconize the changes. why doesnt work the "reload" button?
19:00.21*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.mn.comcast.net)
19:28.36*** join/#tomcat bertrand (n=Beber@scuderia.internet-fr.net)
19:30.02*** join/#tomcat kjkoster5489 (n=kjkoster@kjkoster.org)
19:35.16*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.pa.comcast.net)
20:00.07*** join/#tomcat chrismon (i=chrismon@about/philosophy/chrismon)
20:07.08*** join/#tomcat ABCDEF (i=ABCDEF@201-213-239-182.net.prima.net.ar)
20:14.24*** part/#tomcat Saille (n=Saille@p57B8B5BA.dip0.t-ipconnect.de)
20:15.37*** join/#tomcat tomisina (n=tomisina@c-24-3-194-97.hsd1.pa.comcast.net)
20:57.08*** join/#tomcat pl2 (n=plb@vpn-43.cs.tamu.edu)
20:58.15pl2I'm having problems locating documentation on configuring BaseDirContext inside the <Context> element
20:58.35pl2does anyone know where I can find documentation on it?
20:59.55pl2er... BaseDirContext
21:08.58*** part/#tomcat pl2 (n=plb@vpn-43.cs.tamu.edu)
21:25.32*** join/#tomcat devel_ (n=devel@81.161.188.175)
21:55.57*** part/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
22:31.53*** join/#tomcat ox1 (i=trallall@zue-tix-bbcs-dynip-169-201.vtx.ch)
22:32.58*** join/#tomcat jkl (n=jkl@200.119.3.204)
22:34.49jklI had apache 2.2.6 with tomcat 5.5 (with jk module) works fine.. now I need to configure Apache 2.2.6 with tomcat 4, It doesnt work.. my question is: Should it works (the configuration) in the apache 2.2.6 (jk.conf) way.. or should I configured the module in the old tomcat4 way?
22:36.47chrismonwhat are you configured it for?
22:37.00chrismonyou want to access tomcat via port 80?
22:37.33jklyes.. I mean.. I just need to configure Apache 2.2.6 with tomcat 4.
22:38.24jklBut.. before the configuration (apache 2.0... with tomcat 4) was a little bit, longer.. now is just to configure jk.conf, workers.properties.. done.
22:39.18jklSo, my question is... should the "new" configuration (jk.conf, workers.. ) works with tomcat 4.
22:39.42jklOr.. should I use the "last" configuration..?
22:45.03jklchrismon, ideas?
22:45.28jklandyt, is it possible?
22:59.16jkl:(
22:59.49jklso.. nobody know if Apache 2.2.6 and Tomcat 4 are compatibles with the jk module?
22:59.54chrismonhow you configured them is really irrespective
23:00.05chrismonof one another, that is
23:00.12chrismonyou have tomcat run on whatever port you want
23:00.24chrismonand then you setup apache to connect as it would to any service on any other port, right?

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