IRC log for #tomcat on 20070501

00:17.31*** join/#tomcat etaylor (n=chatzill@p78-70.acedsl.com)
00:18.20pfnjasonb oh yeah, my screenshot thing kinda works in linux... I installed gimp and tried it out... except java encodes the file in some format that doesn't work...
00:18.24pfngo figure eh
00:19.26jasonbJava encodes it?  When?
00:20.27pfnwhen?  when you paste it into the applet
00:20.52jasonbAnd Java encodes it into something that Java can't understand?  :)
00:21.19jasonbI guess that's a bug you haven't chased down yet.
00:21.30pfnno, it encodes it into something that most jpeg viewers can't understand
00:21.37pfnwrong colormode setting or something
00:21.46pfnlooks like it's saved as cmyk instead of rgb, or something similar
00:21.48jasonbOkay, so your code can fix it before the viewer gets it, right?
00:22.01pfnyeah, I think I've encountered this before
00:22.05pfnI just don't recall the fix  ;-)
00:22.20jasonbAt least you know where it's going wrong.  That's good.
00:23.07pfnyou know what's sad?  it seems linux is ahead of the game with respect to mac
00:23.12pfnosx doesn't support images on the clipboard at all
00:23.28pfnat least from one user that tried to test it for me
00:27.27sgodselljava usually encodes it into png
00:28.39jasonbpfn: I find that hard to believe, but OSX is weird.  :)
00:30.15jasonbpfn: I suppose they may have decided against storing images in the clipboard because mac people love to work on really huge images, and not care about what computing resources are affected by that.  They probably decided not to allow graphics users to bring down the OS by putting huge images into RAM like that.. or something.
00:33.08pfnjasonb I mean for java... I don't know about osx itself
00:33.28pfnsgodsell, and no, that's not true
00:40.08pfnjasonb alrighty, it works now... now to find an application on linux that streamlines copying an image to clipboard, instead of having to load gimp... heh
00:40.19pfnhttp://www.hanhuy.com/screenshot/new
00:41.21jasonbcool.
00:41.44pfnhaving to load gimp is lame
00:41.46jasonbI tried copying images with nautilus before.  Maybe it would work now.
00:42.02pfnI don't think that works
00:42.19pfnnautilus exports copies as file copies (unless nautilus has image copy support)
00:42.27jasonbWhen you have an image in the nautilus window and you select it and hit ctrl-C?
00:42.37pfnmy applet is purely working off of clipboard image data
00:42.42pfnthat results in a file copy
00:42.47jasonboh.
00:42.58jasonbCan't you make your applet receive the copy as well?
00:44.15pfnyeah, I can
00:44.41jasonbI think it would work with a lot more programs if it could do that.
00:45.00jasonbIn fact, you might already have most of the code.  :)
00:45.17pfnI do have most of the code already, from my cms/ria project
00:45.35pfnthis thing just came up from a small need to paste screenshots of error dialogs, etc. from time to time
00:47.20jasonbYeah.
00:47.30jasonbBut, it does seem like a cool idea.
00:47.42jasonbWe have plenty of ways of pasting text, but not images really.
00:47.52pfnI'll think about enhancing dnd/file-copy support when I get around to it
00:55.14*** join/#tomcat schtinky (n=cyrus@74-131-121-26.dhcp.insightbb.com)
00:55.27caverdudemy tomcat 5 book says I must install jsse
00:55.41caverdudemaybe this changed in tomcat 6 though
00:56.58jasonbIt was the case for older JVMs.
00:56.59schtinkyapache-tomcat-5.5.20, fedora 6, kernel 2.6.18 stock, jdk1.5.0_09: need to have tomcat start automatically as "user" on boot, but haven't been able to do that. It always seems to know that it's the "root" user who has started it when put in bootup scripts. Can someone suggest a simple solution?
00:57.23caverdudejasonb: ah I see
00:57.26pfnyour bootup scripts need to su to the correct user
00:57.35pfnjava 1.4 and earlier may require jsse
00:58.08jasonbschtinky: The simple solution is to install my Tomcat 5.5 RPM, it does exactly what you want.
00:58.28jasonbpfn: I think it was 1.3 and earlier.
00:58.46pfnhmm, maybe that's it
00:58.51jasonbcaverdude: Which old crusty Tomcat book do you have?
01:11.42caverdudejasonb I have yours and Pro Apache tomcat 5/5.5
01:12.29jasonbcaverdude: Okay.  :)  Our new one will be out within a short number of months.
01:13.43caverdudecool
01:14.41jasonbI'm working on the last chapter now.
01:16.21jasonbWelp, I'm heading home.  TTYL guys.
01:16.36caverdudetake it easy
01:21.15schtinkyjasonb: I installed the rpm and rebooted, but tomcat did not start
01:21.59schtinkyjasonb: nevermind I need to engage the service first
01:22.05schtinkyjasonb: trying again right now
01:25.49*** join/#tomcat RProgrammer (n=RProgram@WPNT834.dsl.gcectelecom.com)
01:26.47RProgrammerWhat is the best way to hide JSP from external requests, but use it for the view in a servlet-front MVC setup?
01:26.49*** join/#tomcat compair1 (i=ariel@gateway/tor/x-326f1cd92b5be0eb)
01:31.16schtinkyjasonb: where is the tomcat root directory after installing the RPM?
01:31.35*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-46-161.w83-114.abo.wanadoo.fr)
01:32.18schtinkyjasonb: n/m I found it
01:37.46pfnRProgrammer, WEB-INF
01:39.03RProgrammerSo the servlet just forwards to, say "/WEB-INF/jsp/theView.jsp" ?
01:39.58pfnyes
01:40.25RProgrammerAnd, how popular would you say Stripes is?
01:51.04RProgrammerThat popular huh?
01:53.58lykenlol
01:56.20evoshI hope jason covers SSL throughly in his book.
02:02.54lykenyes he does
02:03.06lykenits pretty cake when you get into it
02:04.28RProgrammerHow does tomcat handle multipart file uploads?
02:04.43RProgrammerIf the file starts being uploaded before the request?
02:04.45lykenhowever you write it too :)
02:05.18RProgrammerBut without the request how can you write it too?
02:05.53lykeni mean the upload is handled how you write the upload script :/
02:05.59lyken'method' ..
02:06.11RProgrammerIs there any default?
02:06.35lykenjust use this
02:06.36lykenhttp://www.oop-reserch.com/
02:09.18RProgrammerI take it those are two different projects?
02:19.28pfnhuh?  upload is never occurring before the request
02:24.55evoshThis uploading is a fishy business.
03:30.38jwisherhey, what do you think the best way to run tomcat on port 80 is? i have read several methods, setting uid to 0 with a script, using ipchains/ipfw, just running as root... are there any others and which is best?
03:31.33lykendepends on how busy the box is
03:31.52lykenyou can build it into an app that can be run as root
03:31.58lykenyou can use connectors
03:32.00lykenyou can use the firewall
03:32.05jwishersupposing it is very busy?
03:55.52caverdudeMandrive 2007, Tomcat 6.0.7 Jdk 1.6  any reason I can't symlink to a .jar file under /lib in my tomcat intalation/
03:56.23caverdudeeh
04:21.06lykenwhy would you symlink?
04:21.30lykenjwisher: depends on your needs, i can suggest benchmarking the different methods and finding the best for your use case
04:41.28*** join/#tomcat jasonb (i=noneoyer@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
05:44.11caverdudeI'm going crazy
05:44.19caverdudea few weeks ago I run the manager app
05:44.20caverdudenow I can't
05:44.24caverdudeits not even in the install
05:44.32caverdudeor the archive file I downloaded
05:44.37caverdudebut it was a few weeks ago
05:53.18jasonbHow are you checking to see if it's in there?
05:54.14caverdudemaybe I need to use localhost
05:54.19caverdudeinstead of my domain name
05:55.29caverdudewell that takes me to a blank page
05:55.32caverdudehrm
05:56.16jasonbWhich URL are you trying?
05:56.41caverdudehttp://localhost/manager/html
05:57.09jasonbOkay, and what are the settings on the localhost <Host> in server.xml?
05:59.32caverdudelet me check
05:59.58caverdudeit looks normal
06:00.37caverdude<host name="localhost"
06:00.43caverdudeshould I change that to my domain?
06:01.27jasonbno
06:01.57jasonbI suggest reading the docs on the <Host> element and set the deployment attributes to do what you're trying to do.
06:04.36caverdudeoh wait
06:04.40caverdudeI edited the wrong xml
06:04.42lykenlol
06:04.43caverdudeyes I did change the host
06:07.30caverdudehehe I accidentally removed the default <host
06:09.01caverdudethanks jasonb for nudging me in the correct direction
06:11.19jasonbcaverdude: You're welcome.
06:16.46caverdudenow I have a webapp that is not deploying, must be some errors
06:18.48*** join/#tomcat stork (n=sh2-136@storkey.plus.com)
06:50.20lykenheh
06:52.14caverdudeok its working now
06:52.23caverdudei created a database with hypersonic sql
06:52.34caverdudeI'm trying to figure out what the db file is called
06:53.25caverdudeI have db1.hsql.1ck? that sound like the db file?
06:56.51lykenno idea i only use postgres
06:58.00caverdudeit apears to be binary
06:58.08caverdudethe last time I used this, it made db1.hsql.data
06:58.15caverdudebut no maybe its lck
06:58.28lykeni dunno checks the hypersonic website
07:02.02*** join/#tomcat jjchen (n=jjchen@61.171.134.113)
07:18.05*** join/#tomcat msupino (n=msupino@62.90.54.48)
07:19.55msupinoHi, i am running tomcat 5.5.12 on windows 2003, jdp 1.5.0p3 , and for some reason, tomcat returns "HTTP/1.1 400 Bad Request" on HTTP/1.0 requests, i have another server, with same settings which answers correctly, any idea ?
07:20.04msupinojdp = jdk
08:22.12*** join/#tomcat pucko (n=andreas@81-234-246-21-o933.tbon.telia.com)
08:50.21caverdudeanyone here familiar with hypersonic sql?
08:51.26caverdudeI made a database with a servlet called "database.hsql" and I can only see 3 files  database.hsql.lck  database.hsql.properties  database.hsql.log    but shouldnt I see a database.hsql.data?
09:23.42*** join/#tomcat gregor_k (n=a@p54A199B2.dip0.t-ipconnect.de)
09:27.59dmiles_afkwhen i start tomcat from eclipse .. my webapps directory is not applicable?
09:28.08lykenwho knows
09:28.15lykenthats an eclipse problem, not tomcat
09:29.10dmiles_afkprobably .. if one runs tomcat from javaw i wonder how they set up the location of webapps
09:32.41lykeneh?
09:35.43dmiles_afkits ok.. i am looking it up
09:35.53lykenif you want to run tomcat stand alone
09:35.59lykenyou will have webapps within the tomcat install tree
09:36.07lykenunless you specify otherwise in the server.xml
09:37.12*** join/#tomcat adeeln (i=adeel@c-67-187-165-216.hsd1.ca.comcast.net)
09:37.15dmiles_afkthats why i thought eclipse shouldnt have "changed" the defaults from server.xml
09:39.32dmiles_afki guess the idea is that the IDE spawns a spceial littl eserver for your project .. and only exports the "project" .. so once i get the project right i'll just copy it later to the real tomcat webserver dirrecotry
09:39.44lykenthat is correct
09:39.50lykenit runs its own copy i believe
09:39.55lykenand wehn you're done
09:40.07lykenyou can export the war or the webapp and distribute it
09:43.27dmiles_afkif i have a .war and a dirrectory.. and i am adding files into the unwared/  .. if i delete the unwared.war file.. will it delete everything?
09:44.12lykeni dont know to be honest, ive never used eclipse
09:44.26lykena war is just a compressed version of the unwarred i think..
09:44.30dmiles_afkbasically should i stop tomcat. move the .war waya .. then restart tomcat
09:44.45dmiles_afk+?  oh this is not eclipse dependant
09:45.02lykenif you're just using tomcat stand alone without any of the other stuff
09:45.06lykenand you have a .war file
09:45.18lykenyou can uncompress the war and deploy the directory it creates inside of WEBAPPS
09:46.02lykenif you undeploy the war file it will remove it
09:46.07dmiles_afkright . litterally JSPWiki.war.. i noticed it will unzip when tomcat starts.. whne i move/dlete the JSPWiki.war .. tomcat "deletes" the JSPWiki/
09:46.16lykenyer
09:46.22dmiles_afkok yeah .. "undeployed" :(
09:46.48lykenid suggest manually uncompressing the war file into the webapps manually
09:46.57lykenyou'll get more output to the logs and stuff for tracing of errors
09:47.09lykenwar files are good if you need a single file for distribution
09:47.16dmiles_afkso this case tomcat wont try to manage the dirrectory?
09:48.01dmiles_afkok good.. becasue its a wiki that stores files in the webapp dirrectory ;P they havent been important but it has deleted them a few times
09:48.12lykenyou can still access it via the manager app
09:48.25lykenbut unless you undeploy the uncompressed version
09:48.28lykentomcat wont touch it
09:48.50lykenundeploy i believe by default is remove from filesystem also..
09:49.29lykenthe wiki app should let you store those uploaded files outside of the app tree
09:49.36lykenim sure there is config settings that'd allow this
09:49.44lykenand just symlink it back in
09:49.52lykeni assume linux/unix os here
09:50.06dmiles_afkthat'll work
09:50.31lykeni wrote a media archiving manager in java/jsp/servlets
09:50.47lykenand all the media (8TB) sat on a disk array that was accessed using symlinks
09:52.34dmiles_afknice.. yeah.. i need to abstract out the jspwiki filesystem .. they made it easy.. i also use jamwiki which stores each file as a sql blob.. but whats nice is i can use the wiki to edit it's own .jsp files
09:53.00lykenyer
09:53.04dmiles_afk(so thats why been choosing the real filesystem)
09:53.09lykeninternal template and engine editors can be fun
09:55.07dmiles_afkwell creating a .aiml bot editing site.. that the chatbots suck off a .jsp for their runtime content.. the idea is the .jsp can serve out "smart" question/answering
09:55.31lykenarh
09:55.35dmiles_afkhehe
09:55.37lykeni really dont like those 'chat bots'
09:55.38lykenheh
09:56.07lykenthe system im developing atm has IM features in it though
09:56.09dmiles_afki used to be a real ai programmer for a living.. i cant stand those bots but the customer likes them
09:56.37lykenarh
09:56.44lykenyer i did a lot of research in GA's and SVMs
09:57.05dmiles_afkSVM=?
09:57.14lykensupport vector machines
09:57.46dmiles_afkah.. yeah .. lots of SVM ;P.. well in NL
09:58.00lykenyer
09:58.25lykeni worked with Joachim Diederich
09:58.49dmiles_afkspeaking which in about 2 weeks cyc (expert system) is goign to be releasing a java port
09:59.10lykencools
09:59.14lykeni havent touched AI stuff in about 6 years
09:59.59lykenthese days its mostly evil evil customer driven webapps
10:00.27lykenalthough i got some cool social networking stuff happening which keeps me happy
10:03.33lykenhe was one of the most informed lecturers ive ever had
10:04.21lykenwe worked on a undergrad project working with deutsche wella media research group
10:07.20dmiles_afkdid you create rule learning things?
10:08.41lykenmy section
10:09.00lykenused an automatic speech recognition library from the university of missippi
10:09.02dmiles_afkyeag
10:09.23lykento attempt automatically transscribe english and mandarin chinese news reports
10:09.33lyken(very high error rate) however
10:09.34adeelni'm running tomcat 5.5.2/jdk 1.6/gentoo (but with a normal tomcat install) and i keep getting the following error: 'Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception:'
10:09.56lykenand from that transcription to topic detection and search on those topics for display in the news feed as it was happneing
10:10.51lykenusing topic mapping and a few other things to have micro and macro topic areas available for 'detailed' inforamtion regarding a news report
10:11.12lykensay a news story on the war in iraq, then links would show up about war, iraq, yadda
10:11.25lykenadeeln: how did you install it
10:11.35dmiles_afkat least you can listen out "topic words"
10:13.01lykenyer
10:13.09adeelnlyken: it came bundled with the webapp i'm trying to get working
10:13.13lykenthat was my part of the system
10:13.38lykenthere was also emotional ranking and automatic text to speech with emotional inclines in the voices
10:13.58lykenand also relevant ranking system scored by the user
10:14.02lykenadeeln: wot app?
10:14.18adeelnlyken: alfresco
10:14.55adeelni'm using mysql-connector-java-5.0.3-bin.jar as the connector
10:18.34lykenoh that application
10:18.38lyken*shakes fist at it*
10:18.47lykeni had my research co-ordinator walk in last week and say
10:18.51lyken'install alfresco'
10:18.58lykenafter an hour of research i walked into his office
10:19.00adeelnit was working when i used their HSQL dbase
10:19.01lyken'NO'
10:19.03lykenand wlaked out
10:19.03adeelnhahah
10:19.24adeelnit shouldn't be that hard to get working though
10:19.35adeelnget their war, and deploy it...at least that's what i gather
10:19.51lykenlet me rtfm real quick
10:20.00adeelnrtfm?
10:20.15lykenread the f#$king manual
10:20.21adeelnhahah
10:20.51adeelntheir manual says it should be easy to get it working with mysql, but for the life of me, i don't know what the hell is wrong
10:21.17lykenyer well ill follow their 'isntall' and see if its broken :)
10:21.40adeelnis there a way to test the mysql jdbc connector?
10:21.55lykenheaps of ways
10:22.02adeelnwhat's the simplest?
10:22.04lykenso you did a quick install ?
10:22.13lykenwith hsql ?
10:22.19lykennow changing it to mysql ?
10:22.54adeelni did the advanced install method
10:23.17adeelncould it be that i need to use jdk 1.5?
10:23.20adeelnand not jdk 1.6?
10:23.28lyken1.6 should work
10:23.55lykeni love how they only show postgres and oracle examples
10:23.59lykentake that mysql !
10:24.07adeelnhahah
10:24.13lykeni hate that db
10:24.22lykenbut that isnt helping you :)
10:24.24adeelni'm not a fan of it either
10:24.26adeelnbut whatever
10:24.32adeelni don't want 4 different databases
10:25.47lykenso you have tomcat installed
10:25.56lykenand the mysql connector in common/lib ?
10:25.59adeelnyep
10:28.05lykengoogle is my friend :)
10:28.10lykeni think i might have found the problem and solution
10:28.41adeelninteresting...i've been reading something off their wiki/forums and it doesn't really seem to work
10:28.44adeelncan you send me the link?
10:29.20lykenhttp://forums.alfresco.com/viewtopic.php?p=8143&sid=855354697836e2fdd65cb74cf944178a
10:29.25lykenon their damn forums !
10:30.44*** join/#tomcat Hugh (n=Hugh@puma.mxtelecom.com)
10:30.45adeelnits a similar problem...but there's no solution
10:31.08lykenheh
10:31.44lykendid you try rebooting?
10:32.30adeelni think i know what the problem is
10:32.40*** part/#tomcat Hugh (n=Hugh@puma.mxtelecom.com)
10:32.43adeelnthe webapp didn't load the mysql connector from common/lib
10:35.43lykenokies lemme dig up some msyql test code
10:36.13adeelneven copying over the connector to the webapp didn't help
10:39.32lykenadeeln: try some of this code to see if tomcat is working properly
10:39.36lykenhttp://www.java2s.com/Code/Java/Database-SQL-JDBC/JDBCSimpleConnection.htm
10:40.38adeelnlyken: you'll need to help me with compiling and getting the code to run
10:40.44adeelnjava isn't my strong suite
10:41.09lykenarh, admin thrown in the deepend?
10:41.13lykenlolz
10:41.17adeelnalways
10:42.31lykenhttp://www.kitebird.com/articles/jdbc.html
10:42.37lykenthats even got how to compile instructions ;)
10:43.29lykenoh wait
10:43.33lykenthat'll be stand alone
10:48.18lykengive me a moment adeeln im writing you a quick JSP test file
10:49.32adeelnsure, thanks
10:53.16lykeni assume you can make a quick database in mysql? :)
10:53.33adeelnyeah i can
10:54.04lykenokies
10:54.28lykencreate a db called testdb make a table called mytable and put say a simple text field and some data in it of some sort
10:55.02lykencall the field myfield
10:55.38adeelnsure
10:56.33lykenhttp://rafb.net/p/dKRCe780.html
10:56.40lykencopy that code save it as mysqltest.jsp or something
10:56.45lykencahnge the username and password if needed
10:56.54lykenand load that up in the webapps tree somewhere
11:02.37adeelntrying it now
11:03.39adeelni get a 404 error
11:03.47lykenwhere did you put the file?
11:03.50adeelnThe requested resource (/test.jsp) is not available
11:03.58lykenin tomcat/WEBAPPS/testapp/test.jsp ?
11:04.14adeelnnope, just webapps/test.jsp
11:04.18lykenyer
11:04.19lykenthat wont work
11:04.22lykenneed to create a sub dir
11:04.26lykenfor a webapplication instance
11:04.29adeelnmoving it now
11:08.10adeelnnope, nothing
11:09.16adeelnalright, i think i'm just going to default it
11:09.18adeelnand see if it works
11:09.20lykenokies
11:09.30adeelnand maybe worry about the mysql later on
11:09.35lykenhehe
11:11.27*** join/#tomcat kou_note (n=chocoa@host86-138-213-139.range86-138.btcentralplus.com)
11:25.02*** join/#tomcat WhoDey (n=what@204.8.10.118)
11:29.15*** join/#tomcat LongBeach (n=mike@AFontenayssB-152-1-46-161.w83-114.abo.wanadoo.fr)
11:30.12*** join/#tomcat kousuke (n=kikuchi@221x251x19x21.ap221.ftth.ucom.ne.jp)
11:57.06dmiles_afkwhy would http://m.y.i.p:8080/manager/html be 404?
11:58.30lykencause its not installed/
11:59.51dmiles_afkis /admin pART of 6.0? bc it's working
12:32.08Hattoriwhat's the best heap snapshot analyzer?
12:32.40Hattoriis there anything that find differences from 2 snapshot and tell which instances grow etc?
12:34.43lykendmiles_afk: not sure
12:50.11*** join/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca)
14:00.18*** join/#tomcat awelynant (n=cskinfil@208.65.172.147)
14:04.01jasonbHattori: The NetBeans Profiler, or Yourkit.
14:13.07Hattoriyourjavakit?
14:13.34Hattoriyourkit java profiler i mean
14:34.12*** join/#tomcat randrew (n=raj@dolmen.cc.columbia.edu)
14:36.38*** join/#tomcat a4akb (n=Akbara@62.215.156.215)
14:36.57a4akbjasonb hi
14:45.19*** join/#tomcat a4akb (n=Akbara@62.215.156.215)
14:47.56Hattoriwhat is live option for jmap?
14:48.13Hattori"If the live suboption is specified, only live objects are counted."
14:48.29Hattoriit means those objects that can't be garbage collected?
14:52.47*** join/#tomcat roue (n=roue@afterthought.ACS.Carleton.edu)
14:59.28*** join/#tomcat GoTIniya (n=sladur_2@82.103.85.58)
15:29.49*** join/#tomcat aluchko (n=aluchko@S01060002724eb0b7.ed.shawcable.net)
15:32.51*** join/#tomcat cowboyway (i=LinuxDev@AC85B698.ipt.aol.com)
16:05.22*** join/#tomcat qbert (n=qbert@cpe-68-206-121-134.stx.res.rr.com)
16:18.40*** join/#tomcat awelynant (n=cskinfil@208.65.172.147)
16:20.17*** join/#tomcat jwisher_ (n=jwisher@87-194-191-78.bethere.co.uk)
16:27.43qbertanyone thats using tomcat 5.5 can you paste your <Context for your connection pool ?  I keep getting org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null']
16:33.20Hattorii have this in context.xml: http://paste.uni.cc/15025
16:34.18Hattoridid u put jdbc drivers in common/lib ?
16:35.48Hattoriand web.xml add this: http://paste.uni.cc/15028
16:38.14Hattorithat's to connect to mysql db
16:43.36*** join/#tomcat jwisher (n=jwisher@87-194-191-78.bethere.co.uk)
16:47.12qbertdoes it matter where those go in the server.xml file ?
16:47.24qbertoh they go in context not server ?
16:48.24Hattorii created a context.xml file
16:48.30Hattorii didn't put in server.xml
16:49.23Hattoricontext.xml goes under META-INF dir of your webapp
16:58.02qbertHattori, that got it :) , strangely though when I put almost the exact same thing in server.xml it didnt work
17:02.24Hattoriyep i spent some days on that too =\
17:02.35Hattorii read almost all google, two times.
17:02.45Hattori;}
17:07.14falloutqbert:  my guess is you had some other problem.  shouldn't make much of a difference where you configure your context provided it is in one of the appropriate places.
17:07.18falloutserver.xml should work just fine.
17:12.51Hattoriyep but seems to be more difficult
17:13.09Hattoriand having each webapps context file separate sounds better, isn't it?
17:13.48falloutit's not at all.
17:13.51fallouter
17:14.03falloutit may be better depending on your situtation.. it's not any more difficult.
17:15.59pfnit isn't any more difficult
17:16.04pfnit's actually much easier that they're separate
17:16.53qberthey pfn
17:17.43Hattoriya well it's like to have 2 class on same file or write classes on separate files
17:18.06Hattoriyou don't have to follow one way to get it working, u follow what u like.
17:18.49Hattoripfn: wasn't a gc problem.. did u say that? ;}
17:18.54pfnyes
17:19.02Hattorieheh
17:19.15Hattoriare u in mood for some lame java questions?
17:19.21pfnjust ask
17:19.36Hattorii'm afraid to post them in the other channel, Mx* will eat me :)
17:19.47pfntry ##java
17:20.20Hattorioh, nice
17:20.53Hattorii posted them in sun forums, so are easier to be read, if u want to have a look i can paste u
17:26.11*** join/#tomcat pappy-_ (n=alex@dslb-084-059-016-089.pools.arcor-ip.net)
17:47.02*** join/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca)
17:47.16*** part/#tomcat poguy (i=oa@cc-18.erin.utoronto.ca)
18:22.00*** join/#tomcat Jay (n=Jay@66-17-52-1.biz.snlo.arrival.net)
18:22.31Jaywhen i access http://localhost:8080/, i get the tomcat start page, where is this access logged?
18:28.27falloutby default, there isn't access logging.
18:29.13falloutthese docs are for 5.0, but it should get you started:
18:29.14fallouthttp://tomcat.apache.org/tomcat-5.0-doc/config/valve.html
18:52.39*** join/#tomcat Ionel (n=chatzill@ionel.blueintel.ro)
18:55.25*** join/#tomcat adaro (n=jboss@ip3e83566f.speed.planet.nl)
19:06.09*** part/#tomcat vinse (n=vinse@208.253.223.146)
19:09.33a4akblyken: you there?
20:12.47*** part/#tomcat a4akb (n=Akbara@62.215.156.215)
20:36.05*** join/#tomcat stork (n=sh2-136@storkey.plus.com)
20:38.24*** join/#tomcat |ntruder (n=cocaine@86-107-51-28.Asconet.ro)
21:13.22*** join/#tomcat quotemstr_ (n=quotemst@64.61.107.66)
21:21.46quotemstr_How can I give each user a webapps directory with UserConfig?
21:44.36*** join/#tomcat wimpies (n=u19809@cable-195-162-216-93.upc.chello.be)
21:44.55wimpiesanybody here that can help with security issues >
21:56.48*** join/#tomcat dvayanu (n=another@ppp-82-135-83-45.dynamic.mnet-online.de)
22:07.21*** join/#tomcat Hattorii (n=ciccio@host174-154-dynamic.14-87-r.retail.telecomitalia.it)
22:23.04wimpiesAnybody ?
22:23.21*** join/#tomcat adeeln (i=adeel@c-67-187-165-216.hsd1.ca.comcast.net)
22:27.38pfnread the topic
22:29.38wimpiesSorry.  I get access denied (java.util.PropertyPermission rfcyber.home write) but AFAIK the catalina.out contains good grants for this property. I run 5.5 under ubuntu with sun's jre 1.5.0-11
23:03.57*** join/#tomcat Hattorii (i=darkrad@host214-165-dynamic.8-87-r.retail.telecomitalia.it)
23:05.53dmiles_afkwith <param-name>listings</param-name><param-value>true</param-value>  .. how can i make it also expose the WEB-INF dirrecory?
23:06.19dmiles_afki supposed i can "type
23:06.32dmiles_afkit in" :) but want a link in dirrecotyr view
23:21.11*** join/#tomcat map7 (n=map7@teksup41.lnk.telstra.net)
23:21.12*** join/#tomcat Hattori (i=darkrad@host131-165-dynamic.8-87-r.retail.telecomitalia.it)
23:27.17*** join/#tomcat schtinky (n=cyrus@74-131-121-26.dhcp.insightbb.com)
23:41.36schtinkyhow do I allow access to a java web application (specifically my SOAP services) to ONLY one ip address (blocking all others)? Which file to I hack into?

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