irclog2html for #tomcat on 20030506

00:14.24*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
00:25.08*** join/#tomcat ccali_ (~ccali@pool-151-197-23-21.phil.east.verizon.net)
00:25.16ccali_I am getting this exception when trying to establish a connection pool:  Naming Exception: javax.naming.NameNotFoundException: No object bound for java:comp/env
00:26.13ccali_<PROTECTED>
00:27.12heapscommon problem on tomcat..setting up datasource
00:27.27*** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net)
00:27.57*** join/#tomcat find_me (~find_me@ACC37299.ipt.aol.com)
00:28.06ccali_heaps: you know the cure?
00:28.08heapsokay lay out what you did or did not do :)
00:28.14ccali_ok
00:28.19ccali_What I did:
00:28.44ccali_added the datasource to the conf file
00:29.19heapswhich one? i can not read minds, crystal ball is in the shop
00:29.22ccali_and tried to do this..
00:29.23ccali_<PROTECTED>
00:29.23ccali_<PROTECTED>
00:29.23ccali_<PROTECTED>
00:29.34ccali_server.conf
00:29.50heapsno such thing i know of
00:29.58heapsserver.conf
00:30.01ccali_hehe hang on too many things going on
00:30.05ccali_i'm talking out my ass
00:32.31johnjohn7are you using the commons pool with jndi?
00:32.43ccali_server.xml
00:33.12ccali_johnjohn7: are those the libraries that aren't included in the releases
00:33.42johnjohn7those referring to....
00:34.00johnjohn7commons is not included with tomcat if commons is what you referred to.
00:34.31ccali_right,
00:34.33ccali_I don't use it
00:34.42ccali_I should though
00:34.46johnjohn7what type is "pool"
00:34.54ccali_DataSource
00:35.18johnjohn7DataSource is an interface for myriad types of "data sources". any particular impl?
00:36.02ccali_no, and really I can't find any docs on that
00:36.07ccali_are there vendor impls?
00:36.16johnjohn7iirc.... heheh
00:36.17heapsjohnjohn7: which version of tomcat are you on that you say commons are not included?
00:36.28johnjohn74.0x
00:36.42johnjohn7actually, some commons libs are. just not jakarta pool.
00:36.45ccali_is commons a jakarta specific thing?
00:36.48heapsi see a commons-dbcp.jar on 4.1.18
00:36.55johnjohn7yes. 4.1.x has them.
00:36.58*** join/#tomcat GodFodder (~rcc@pcp02876841pcs.watrfd01.mi.comcast.net)
00:37.10johnjohn74.0.6 is what I use....
00:38.06johnjohn7dbcp is the "pooling technology" referred to....yes, it is
00:38.44ccali_what if I then want to switch the app to resin, what pooling technologies are available for other containers?
00:39.51heapswhat do people in #resin told you?
00:40.09johnjohn7you can just stick dbcp on Resin.
00:40.28johnjohn7dbcp isn't dependant on tomcat....(nor vice versa)
00:41.15ccali_there actually is no #resin
00:41.19ccali_which i'm so disappointed about
00:41.23johnjohn7or, you can use jboss....it uses an mbean that you configure with your database via a service and configure in xml.
00:41.26ccali_I just am the only one in there :)
00:41.31johnjohn7it contains a pool of its own.
00:41.48ccali_where can I get jboss
00:41.51johnjohn7we are lucky to be chatting here actually.
00:42.10johnjohn7well there is a #jboss.
00:42.16ccali_and where can I get jbcp
00:42.20johnjohn7probably www.jboss.org
00:42.25heapsis commons a combo of different jars like jndi+naming-common+naming-resources?
00:42.34johnjohn7dbcp is in jakarta.apache.org ...look at commons.
00:42.42johnjohn7yes.
00:42.49johnjohn7->heaps.: yes
00:43.02ccali_once I get dbcp's jar file in the tomcat lib directory, should my code work?
00:43.13heapsokay ..i was guessing, from the different libs i see on the different tomcat versions i have
00:43.14ccali_isn't comp/env always bound to something
00:43.23johnjohn7but not those jars like naming. I think there is object pool, a command interpreter, util (datastructures) etc.
00:43.39johnjohn7also, an xml "digester"
00:43.47johnjohn7is in commons
00:44.00heapsspeaking of digester are you familiar with its usage?
00:44.11johnjohn7yes.
00:44.29heapsdarn guy that has an article on onjava.com is so pompous
00:44.32johnjohn7digester is nice. as xml is read, you can create domain objects.
00:44.45johnjohn7i don't read onjava
00:44.57johnjohn7I don't like arrogance.
00:45.08heapsanyhow, is there something on digester i can configure to indicate which descriptor its failing on?
00:45.35heapssome onjava articles are okay
00:45.43johnjohn7especially vain and nescient arrogance.
00:46.06heaps:)
00:46.12ccali_should I get DBCP as well as pool?
00:46.14johnjohn7heaps: you can probably log it.
00:46.43johnjohn7prolly yes ccali
00:46.55heapsjohnjohn7: i see it on the loggers if they fail, but sometimes i modify several web.xml and cant tell from the logs which failed
00:46.58johnjohn7I think there is one more you might want.
00:47.30ccali_how must I then modify my code?
00:47.39ccali_what impl of DataSource should pool be, etc.
00:48.16johnjohn7ccali: the docs might help. you could use jndi if your container supports it or use the pool as a driver.
00:48.30johnjohn7BasicDataSource?
00:48.30heapsother than it says digester failed during parsing..most i came across with are struts related failures
00:48.48johnjohn7oh, struts. ok.
00:49.16heapsone seems to constantly modify configs when working with struts
00:49.24johnjohn7it is hard to find xml errors in a big xml file.
00:50.02johnjohn7heaps. that is a big pain. I use a database to softhold my forwards...I made my own impl of a command pattern. You could try webwork. (opensymphony.com)
00:50.03heapsright, i was hoping there something you know of on Digester that can be configured to give an easy clue
00:50.38johnjohn7hm. try setting the debug of digester all the way down to 1 or 0 (DEBUG), I believe it uses log4j there.
00:50.46johnjohn7or INFO
00:51.04heapsi haft to successfully get the webwork samples to work first. i failed miserably so far on different containers/web servers
00:51.44heapsi would think webwork would be an easy install, but so far i have not been successful
00:51.46johnjohn7heaps: I can't, OTOMH, remember how to intercept the exception or get the event handler that gives you failure...
00:52.31heapsjohnjohn7: not that important right now, but if you do remember it or have it noted on your notebook please pass it along
00:52.37johnjohn7heaps....it is also kind of messy with xml or properties, I got it to install finally. What worked was reinstalling my container then putting everything back in for some reason.
00:53.15johnjohn7with webwork. but....it does work. there is a jar, which if dropped, "should" work. if it doesn't ...probably jdom.jar or some other xml hell issue.
00:53.27heapsbe right back in a few... a visitor is at the door ..sorry
01:08.15*** join/#tomcat find_me (find_me@ACC5AD05.ipt.aol.com)
01:25.56heapsam back..
01:29.17*** join/#tomcat johnjohn7 (~johnjohn@cpe-24-221-228-20.tx.sprintbbd.net)
02:07.48*** part/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
02:38.45*** join/#tomcat find_me (find_me@ACC4635F.ipt.aol.com)
02:49.13*** join/#tomcat blur_ (www@dyn-mcb-168-104.dyn.columbia.edu)
03:26.18*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
03:52.07*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
03:56.40*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
03:57.49heapsanyone knows how to get this webwork working? i thought it would be just as easy as dropping the webwork.war to tomcat or resin but its not working for me
03:58.29jasonbWhat's webwork?
03:58.46heapssupposedly comparable to struts
03:59.01jasonbAnd if it doesn't work on Tomcat, what servlet container does the author say to use it on?
03:59.16jasonbheaps: Why not just use Struts?  :)
03:59.34heapsjust trying things out :)
03:59.42jasonbahh.
04:00.07jasonbHow does Tomcat choke on it?
04:00.55heapsi cant recall what the error was..hang a few and let me see if i can launch it
04:01.39jasonbAlso, which OS/Version, JDK/Version, and Tomcat/Version are you using for this?
04:02.03heapsam on jdk 1.4.0_01  linux 4.1.18
04:03.20heapsthats tomcat :) ..hehe
04:04.20heapsit was choking on log4j  i would think this is in included in the war file..probably not
04:06.20heapsyep that was it..gesh i just never took the time to put a log4j.jar there
04:06.43jasonbIt's always the exact error message that's important.
04:07.31heapsshoot, same set-up on resin was choking on jsp
04:09.46heapswhy were you not surprised? you know their developers?
04:09.55jasonbSomewhat, yeah.
04:10.40heapsi see, people that you would put your betting againts them huh? :)
04:10.48heapsbetting money..
04:11.20jasonbWell, for some things, yes.  Not all, though.
04:12.02heapsi was just kidding..i think people that contribute to these open source projects are talented
04:13.43jasonbHeh!  Well, they are.  But, in case you hadn't realized, Resin isn't open source software.
04:16.10heapsright, how easy for me to forget..thats why its the last in the list of servers i test with :)
04:21.03*** join/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net)
04:39.46*** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-038-062.arcor-ip.net)
04:53.24*** part/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)
05:55.01*** part/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net)
05:55.46*** join/#tomcat Gnug225 (Gnug225@24.236.252.191.gha.mi.chartermi.net)
06:08.52*** join/#tomcat Pointy_Work (~Pointwood@fw.agropark.dk)
06:08.54Pointy_Workjoin #java
06:35.08*** join/#tomcat Gnug225 (Gnug225@24.236.252.213.gha.mi.chartermi.net)
07:05.20*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
07:10.07*** join/#tomcat Adelheit (~none@80.146.165.65)
07:27.46*** join/#tomcat MaxeyPad (~gimp@12-222-193-248.client.insightBB.com)
07:30.21*** join/#tomcat CSMan (~csman@h24-78-187-137.vn.shawcable.net)
07:30.25CSManhi there
07:31.43MaxeyPadhi, i'm new to tomcat, I'm trying to get it installed actually.  I installed java at /usr/local/j2sdk1.4.1_02, set JAVA_HOME = /usr/local/j2sdk1.4.1_02, unpacked tomcat into /usr/local/jakarta-tomcat-4.1.24, set catalina_home = /usr/local/jakarta-tomcat-4.1.24, when I run the startup script in $catalina/bin/startup.sh i just get this output
07:31.46MaxeyPadhi
07:31.47MaxeyPadls
07:32.02MaxeyPadUsing CATALINA_BASE:   /usr/local/jakarta-tomcat-4.1.24
07:32.02MaxeyPadUsing CATALINA_HOME:   /usr/local/jakarta-tomcat-4.1.24
07:32.02MaxeyPadUsing CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.1.24/temp
07:32.03MaxeyPadUsing JAVA_HOME:       /usr/local/j2sdk1.4.1_02/
07:32.07MaxeyPadand it does nothing
07:32.37MaxeyPadI don't see any processes running anyway
07:32.53jasonbWhat happens when you do "which java" ?
07:33.19*** join/#tomcat KarolR (~nobody@c169248.adsl.hansenet.de)
07:33.43CSManMaxeyPad: have you tried opening this in your browser? http://localhost:8080 '
07:34.32MaxeyPadwhen i do "which java" i get an error...
07:34.35MaxeyPadie not in path
07:34.46MaxeyPadshoudl I just symlink the java binary into the path?
07:35.34jasonbMaxeyPad: Just do: set PATH=$JAVA_HOME:$PATH ; export PATH
07:35.47jasonbMaxeyPad: Then try "which java" again.
07:35.59jasonbwoops.. wait
07:36.12jasonbMaxeyPad: set PATH=$JAVA_HOME/bin:$PATH ; export PATH
07:36.29CSManMaxeyPad: nice web =)
07:36.54CSManjasonb: so he's not using bash?
07:36.54MaxeyPadno java in path
07:36.58MaxeyPadi'm using bash yes
07:37.24CSManMaxeyPad: what do you get when http://localhost:8080
07:37.27jasonbCSMan: In case he wasn't using bash, I put the export in a separate command.
07:37.41CSManjasonb: i do it directly =)
07:37.56jasonbCSMan: You know what shell you run though.  I don't know which shell he runs.
07:38.06CSManjasonb: he just said. =)
07:38.17jasonbCSMan: Yeah, *after* I gave him the command to run.
07:38.29MaxeyPadi get nothing when i try to hit the page.
07:38.35CSManok...
07:38.41MaxeyPadwhen I nmap tha tport isn't open either
07:38.43CSManMaxeyPad: what happens when you enter java
07:39.06CSManMaxeyPad: nmap behind the router?
07:39.07jasonbMaxeyPad: Did you set PATH like I said above?
07:39.43MaxeyPadnmap on the local box
07:39.44CSManactually he only needs JAVA_HOME
07:40.44jasonbCSMan: He needs to be able to test that Java works properly so to eliminate that as part of the trouble.
07:40.57jasonbMaxeyPad: ??
07:41.03CSManMaxeyPad: are you running tomcat from root?
07:41.30MaxeyPadok i think i fixed it
07:41.34MaxeyPadi'm running java from root
07:41.39CSManoh ok
07:41.58CSManafter you finish i'd like to expose my issue =)
07:41.58jasonbMaxeyPad: What did you do to fix it?
07:41.58MaxeyPadwhen i type which java now I get
07:42.09jasonbMaxeyPad: Do "java -version"
07:42.10MaxeyPadI get /usr/local/j2sdk1.4.1_02/bin/java
07:42.20CSManMaxeyPad: good =)
07:42.32MaxeyPadwhen i do "java -version" i get Killed
07:42.40jasonbNeat.
07:42.47jasonbYou get killed?
07:42.57CSMankilled? =P
07:42.59MaxeyPadi get the output to the console "Killed"
07:43.05CSManwtf?
07:43.14CSMannever seen that b4
07:43.15jasonbMaxeyPad: What OS/Version are you running?
07:43.17MaxeyPadI know thats really fucked up
07:43.22MaxeyPadits Redhat Linux 8.0
07:43.28jasonbCSMan: See why I wanted him to do this??
07:43.36CSManjasonb: 104
07:43.47MaxeyPadits a crazy error
07:43.50jasonbMaxeyPad: Do: strace java -version
07:43.58jasonbCSMan: 104?
07:44.03MaxeyPadi get all kinds of shit jasonb
07:44.11CSManjasonb: 10 4 (understood)
07:44.14jasonbMaxeyPad: Yeah, show us the last few lines.
07:44.24MaxeyPadsched_getscheduler(0x138a)              = 0
07:44.24MaxeyPadsched_getparam(0x138a, 0x5cb42b58)      = 0
07:44.24MaxeyPadold_mmap(0x4000, 40960, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4000
07:44.24MaxeyPadsigaltstack({ss_sp=0x4000, ss_flags=0, ss_size=40960}, NULL) = 0
07:44.25MaxeyPadrt_sigprocmask(SIG_UNBLOCK, [HUP INT QUIT USR2 TERM CHLD], NULL, 8) = 0
07:44.27MaxeyPad+++ killed by SIGKILL +++
07:44.40*** join/#tomcat ps (~user@195.58.110.203)
07:44.54MaxeyPadwhen i do set|grep JAVA i get this output
07:45.00MaxeyPadJAVADIR=/usr/local/j2sdk1.4.1_02/
07:45.01MaxeyPadJAVA_HOME=/usr/local/j2sdk1.4.1_02/
07:45.11jasonbMaxeyPad: That seems okay.
07:45.26jasonbMaxeyPad: So does this machine run other applications okay?
07:45.43MaxeyPadyes, it runs normal apache with modssl, openssh
07:45.56jasonbMaxeyPad: Anything bigger?
07:46.03MaxeyPadno its a brand new server
07:46.08jasonbMaxeyPad: How much ram does it have?
07:46.17MaxeyPadit has 1 gig of ram
07:46.28CSManMaxeyPad: did you test the ram with memtest86?
07:46.42MaxeyPadno...
07:46.49MaxeyPadthats just the output during boot
07:47.17MaxeyPadshould I try reinstalling java?
07:47.40*** join/#tomcat thebiMbo (~thebiMbo@212.97.41.22)
07:47.42thebiMbohi
07:47.48KarolRhi
07:47.57jasonbMaxeyPad: Do this and give us the output: cat /proc/meminfo | head -5
07:48.19MaxeyPad<PROTECTED>
07:48.19MaxeyPadMem:  793624576 747835392 45789184        0 96038912 532946944
07:48.19MaxeyPadSwap: 1311842304        0 1311842304
07:48.19MaxeyPadMemTotal:       775024 kB
07:48.20MaxeyPadMemFree:         44716 kB
07:48.40thebiMbois really neede jdk to run tomcat ? is not enough the jre distrib ?
07:49.25CSManthebiMbo: it needs jdk to compile servlets i think
07:49.33CSManthebiMbo: i mean to compile jsps
07:49.57thebiMbooh... i haven't thought about that
07:50.20jasonbMaxeyPad: Can you again do this and paste in lots of the end of the output to http://www.hellaweb.com:8888/ ?  strace java -version
07:50.41KarolRbimbo, you need javac for JSPs, Jasper (Tomcat's JSP engine) converts JSPs to servlet source code and compiles them to classes.
07:51.13jasonbThere's a way to use jikes to compile the JSPs, but I forget how to tell Tomcat to use that instead of javac.
07:51.22CSManwell, meanwhile i guess i can expose my issue:
07:51.27jasonb:)
07:51.40thebiMbomy issue was to not use jdk but smaller jre
07:51.49KarolRyes... I haven't used jikes. Would be interesting to try.
07:52.02CSMani'm using apache ProxyPass to connect to tomcat but when i click on a servlet link i get a null pointer exception
07:52.24jasonbthebiMbo: You can use just the JRE if you don't use JSP.  If you do use JSP, research how to use jikes, but then you have to deploy both the JRE and jikes.. but that's not such a big deal since jikes isn't real big.
07:52.31thebiMbothis sohuold be valid for all of the servlet/jsp container out there... right ?
07:53.00jasonbCSMan: What's ProxyPass?  An Apache module?  What does it do?
07:53.02thebiMbojasonb: i don't use jsp... there's a way to tell that to tomcat ?
07:53.09jasonbthebiMbo: Not necessarily.
07:53.28hellabot"maxeypad" pasted [root@episcopal local]# strace at http://www.hellaweb.com:8888/27
07:53.37CSManjasonb: ProxyPass is a directive in mod_proxy that allows a user access a web server located in the intranet =)
07:53.40jasonbthebiMbo: If you don't use JSP, then Tomcat won't bother trying to use javac.. so you'd just be fine without any special config for that.
07:54.03thebiMbojasonb: if i point JAVA_HOME to the root of my jre distrib it complaints about "incorrect JAVA_HOME" ...
07:54.11CSManthebiMbo: and the difference is justa few megs in your hard drive =)
07:54.11thebiMbowhen i try to start it
07:54.20MaxeyPaddo you guys think I should just try reinstalling java
07:54.37CSManMaxeyPad: i'd do that, if it doesn't work, i'd go for memtest86
07:54.53thebiMboCSMan: maybe your right... its not a big deal... :/
07:54.53MaxeyPadthanks guys for the help :)
07:54.58KarolRjasonb / bimbo: Tomcat might try including tools.jar (also containing javac)
07:55.08KarolRafaik, there is no tools.jar in jre
07:55.26CSManso everybody here is using connectors to attach tomcat to apache?
07:55.27thebiMboKarolR: you're right
07:55.36CSMannobody using ProxyPass?
07:55.42thebiMboCSMan: i'm using directly tomcat ...
07:56.58MaxeyPadconnectors?
07:57.08MaxeyPadcould you point me to a really really newbie installation guide for tomcat
07:58.30KarolRibot: jk
07:58.31bugger all, i dunno, KarolR
07:58.36jasonbMaxeyPad: Unfortunately, there really isn't one..  except for books.  I co-authored Tomcat: The Definitive Guide (O'Reilly), which will be out next month..
07:58.42KarolRibot: jk_mod
07:58.42KarolR: parse error: dunno what the heck you're talking about
07:58.50KarolR[ibot] jk_mod
07:59.00KarolRdammit, how was is again :o)
07:59.07MaxeyPadjasonb: i have tomcat kickstart in front of me
07:59.07KarolRibot: mod_jk
07:59.11[mod_jk] at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/doc/jk/aphowto.html
07:59.12MaxeyPadI tried following their steps
07:59.15KarolRthere we go
07:59.26jasonbMaxeyPad: And?  What did you think?  :)
07:59.36KarolRmaxeypad: see the above link.
07:59.51MaxeyPadi'd rather use perl :)
07:59.56KarolRouch, perl.
07:59.59KarolR*g*
08:00.00KarolR:o)
08:00.09MaxeyPadbut this book seems kind of unclear
08:00.23MaxeyPadfor someone who knows jack about tomcat, it doesn't seem to cover what I want
08:00.25jasonbMaxeyPad: Our book has very clear, exact, very easy to follow instructions on how to set up Tomcat in lots of different ways.
08:00.31thebiMbothanks to all ...
08:00.35thebiMbobye
08:00.37KarolRbye
08:00.59MaxeyPadspecifically what i'm trying to achieve is an installation of tomcat that will allow me to use reddot
08:01.07KarolRmaxeypad, I have the Wrox: Professional Apache Tomcat book. It's great.
08:01.08jasonbMaxeyPad: I spent *months* making sure the O'Reilly one was clear and easy to understand/follow.
08:01.10KarolRI recommend it.
08:01.27jasonbKarolR: I've heard lots of people say that that book is factually incorrect all over the place.
08:01.33MaxeyPadjasonb: i'll recommend it to my java dev guys then
08:01.37*** part/#tomcat thebiMbo (~thebiMbo@212.97.41.22)
08:02.00KarolRjasonb - that might be right. I just covered those pieces that I needed, such as httpd integration
08:02.01jasonbWhat is reddot?
08:02.06KarolRI=it
08:02.16MaxeyPadReddot is an ASP implementation that ties in with tomcat
08:02.35MaxeyPadatleast thats how I understand it to be
08:02.36MaxeyPadhttp://www.reddot.com/
08:03.11jasonbKarolR: Yeah, it's a big book, with lots of authors, so I had high expectations for it, but aparently none of them were given sufficient time to make sure the book was factually correct.  Many have complained about it.
08:03.58KarolRjasonb, I'm looking forward to the O'Reilly book. I'm an O'Reilly fan you know. But Wrox has put out some good books, too. Especially their J2EE bibles. ;)
08:04.40KarolRbut Wrox is going down as I heard, this will push all readers to O'Reilly I guess.
08:05.33MaxeyPadI'm a huge fan of o-reilly, I own almost 20 o-reilly titles
08:05.46jasonbKarolR: Yeah, I've read some decent wrox books too, along with some not so decent ones.  But, I think every last O'Reilly book I've had a look at has been excellent..  I suppose they may write a bad-ish one now and then, but usually their books seem highly polished.
08:06.16jasonbI was shocked when I found out that Wrox was going out of business.. I'm still a little dazed by the thought.
08:06.17KarolRjasonb, I absolutelly agree. I love O'Reilly books. Their style/content is just excellent.
08:06.42KarolRthey got aquired by Willey's
08:07.05KarolRjasonb, so you're coauthoring
08:07.06KarolR?
08:07.27jasonbYeah, Tomcat: The Definitive Guide is by me and Ian Darwin.
08:07.46jasonbhttp://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358
08:07.56jasonbhttp://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188
08:08.16KarolRgreat
08:08.57jasonbAmazon's page is out of date.. the book is actually 336 pages (from what I understand), and they say it's 188 pages.  :)
08:09.21psHi
08:09.25jasonbHi
08:09.30KarolRyeah yeah. You always double it to push the price alright. :-P
08:09.40MaxeyPada good book on iptables needs to come from o-reilly
08:09.44psI have a problem with Tomcat and Client Authenticatin
08:09.56jasonbMaxeyPad: There's some good HOWTOs out there about iptables.
08:09.56psAuthentication that is.
08:10.04MaxeyPadyeh, i know
08:10.11MaxeyPadit would be nice to have a desktop ref though
08:10.22MaxeyPadactually more security titles is what i'd love to see
08:10.46*** join/#tomcat fox__ (fox@debian.as)
08:10.48jasonbMaxeyPad: Our Tomcat book has a looong chapter on Tomcat security.. more than 45 pages I believe.
08:10.59psSomeone here that has got Client Authentication with certificate to work?
08:11.21ps...with tomcat. Seems to be hard to find info about it.
08:11.21jasonbps: Yes, but it's extremely tough to do..
08:11.42MaxeyPadnice jasonb
08:11.43jasonbps: Our book has the only successfully followable docs on how to do that, as far as I know.
08:12.00jasonbps: It's not an easy thing to set up at all.
08:12.01MaxeyPadwell i just reinstalled java and I get the same thing
08:12.01psoh really!?
08:12.16pswhere can i find this book of yours?
08:12.41jasonbhttp://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358
08:12.48jasonbhttp://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188
08:13.31MaxeyPadjasonb, I just reinstalled tomcat
08:13.34MaxeyPaderr java
08:13.38jasonbMaxeyPad: Does this machine currently run a busy server?  Like, could there be too many files open on this box while you try running Java?
08:13.48MaxeyPadit runs nothing basically
08:13.59MaxeyPadapache with 0 threads active and ssh
08:14.00MaxeyPadnothing else
08:15.03MaxeyPadI redownloaded and reinstalled java
08:15.10MaxeyPadbut when do java -version I get
08:15.11pshm okej.. well the thing is, i have a deadline on monday and i really need to get it working soon, is there maybe a howto or you can give som good advice?
08:15.15MaxeyPad"killed"
08:15.50jasonbMaxeyPad: How many CPUs does this machine have?
08:15.59MaxeyPad1 cpu
08:17.45jasonbMaxeyPad: Is this stock RH 8?  How did you install it?  Server pkg set?  Client pkg set?  Custom pkg set?  Any mods after the install?
08:19.10MaxeyPadits a server install
08:19.22MaxeyPadI built a custom apache from source with mod_ssl
08:19.30MaxeyPadand I updated openssh
08:19.32MaxeyPadand openssl
08:19.33MaxeyPadbut thats it
08:22.00jasonbCan you stop Apache, do a ps to make sure all Apache httpd processes are down, then try Java again?
08:24.06MaxeyPadi killled apache
08:24.10MaxeyPadsame thing from java
08:24.25MaxeyPadwhat environment variables does java rely on
08:26.01jasonbNot many.
08:26.29jasonbDid you compile your own kernel on this box, or are you using the stock RH 8 kernel binary?
08:28.24MaxeyPadcustom kernel
08:28.28jasonbMaxeyPad: I don't think environment variables have anything to do with your problem at this point.
08:28.28MaxeyPadwith GRSecurity
08:28.36jasonbMaxeyPad: Ahhh.. you didn't tell me about your custom kernel.
08:29.17MaxeyPadsorry :)
08:29.26MaxeyPadI can reboot it tomorrow
08:29.30MaxeyPadand use the stock one
08:29.32MaxeyPadsee if that helps
08:29.57jasonbThat could be your problem.
08:30.12jasonbI don't want to be too quick to blame your kernel, since it may not be the problem.. but, it could be.
08:30.19MaxeyPadits possible
08:30.21MaxeyPadi'll try it
08:31.10jasonbCool.
08:31.29jasonbIt's a very strange problem that I've basically never seen.. and I'd guess it's something deep.
08:32.04jasonbIt could be some other things too, but to guess at what other things would be grasping at straws.. You're better off trying the stock kernel next.
08:32.15MaxeyPadyeh
08:32.31MaxeyPadI had several install attempts at tomcat
08:32.40MaxeyPadso the whole install may not be very clean
08:34.23jasonbWell, it's probably useable..  But something you did prior to that isn't.  :)
08:35.13jasonbMaxeyPad: Another thing you could try is: run other, large applications.. like maybe something like OpenOffice or Mozilla or something else that's real big.
08:35.24jasonbIf one of those crashes the same way, then you know it's not just Java.
08:36.04jasonbThe problem is: if they don't crash the same way, you don't know for sure that it's just a Java problem.
08:36.40jasonbAlso, it could be a threading issue.. so if you turn off native threads in the JVM and it works, then you know it's the threading..  
08:45.04jasonbHmm, they might have nuked that.
08:45.35jasonbYou can play with the options shown on this page: http://java.sun.com/docs/hotspot/threads/threads.html
08:46.13jasonbIt says nothing about what's available on Linux, so it's possible that none of the options shown will do anything.. but you can try.
09:03.28CSManMaxeyPad: install??? you just unzip the tar.gz
09:03.35*** join/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr)
09:03.40*** part/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr)
09:03.41CSManand sh the script =o
09:03.43*** join/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr)
09:03.47FuryForceHi all
09:04.08FuryForcehas anyone ever successfully built the mod_jk module for apache
09:04.15CSManFuryForce: =D
09:04.31FuryForcethats the tomcat_connector thingy
09:04.32FuryForce:o)
09:04.33CSManFuryForce: what ver of apache?
09:05.02FuryForceactually im trying to get tomcat working witrh Apache
09:05.14FuryForceso I won't be needing to add a :8080
09:05.17CSManFuryForce: answer =P
09:05.20FuryForcefor my java pages
09:05.34FuryForceohh sorry
09:05.37FuryForceahh 2.0.45
09:05.54CSMandid jakarta-tomcat-connectors
09:06.06FuryForce...
09:06.08CSMans/did/get
09:06.18FuryForcei did
09:06.31FuryForceand when I try compiling them the make "screws up"
09:06.47CSMandid you run the build.sh script?
09:06.51FuryForceindeed
09:07.01FuryForceyup did that It had a complaint
09:07.08CSManwhat was it
09:07.11FuryForceconfigur.in ACC....something something
09:07.26FuryForcewhen I tried comiling from the
09:07.32FuryForcenative2 dir and not native
09:07.40FuryForcethings went a bit more smoothly
09:07.52FuryForceand it even said to me -with-apxs2
09:07.57FuryForceand not just --with-apxs
09:08.13CSManso you tried with --with-apxs2?
09:08.13FuryForcebut at the end the make didn't get through
09:08.19FuryForceyup
09:08.31CSManhmmmm...
09:08.35CSManlemme check mine
09:08.35FuryForceactually I know for the version of Apache 2.X.X we need to use apxs2
09:09.13CSManFuryForce: yeah
09:09.22FuryForce:o)
09:09.38FuryForceok if you don't mind ill try doing it all over again and i ll tell you the output ok?
09:10.31FuryForcebtw
09:10.37FuryForcewhich ones should i take
09:10.38FuryForcehttp://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.1/src/
09:10.42FuryForcethis one or this one
09:10.54FuryForcehttp://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-4/source/
09:11.04FuryForcei mean
09:11.16CSManwell, i got the whole jakarta-tomcat-connectors-4.1.24
09:11.23FuryForcehttp://mir2.ovh.net/ftp.apache.org/dist/jakarta/tomcat-4/source/tomcat-connectors-4.1.24-src.tar.gz
09:11.36FuryForceok so it works for you I guess
09:11.45CSManyeh
09:11.47FuryForceok ill take the same then and try
09:11.47FuryForceok
09:12.38FuryForceso first of all this is where I am :
09:12.39FuryForce/usr/src/jakarta-tomcat-connectors-4.1.24-src/jk/native
09:12.49FuryForceI believe that this is the place to be...
09:13.04CSManok
09:13.08FuryForcegood
09:13.30FuryForcenow I believe i must do a little chmod on build.sh to have it running
09:13.48FuryForceand then a little ./build.sh to have the magic start
09:14.13CSManyeah
09:14.46FuryForceok after the ./....
09:14.54FuryForceI get some output and at the end I have:
09:14.54FuryForceconfigure.in:24: AC_PROG_CPP was called before AC_PROG_CC
09:15.13FuryForceand this makes feel like : :o/
09:15.29FuryForce:oO < arf arf arf
09:15.30CSManFuryForce: yeah, i'm trying to remember how i did it
09:15.52FuryForceI remember succeding in doing it once a long long time ago in a galaxy far far away
09:16.05FuryForceand it seems so fat that I believe it was in another life
09:16.27CSManlol
09:17.26FuryForceCounter Strike Man help
09:18.01FuryForceCall your mojo and find the solution :o)
09:18.12CSManFuryForce: try with the 2 version
09:18.17CSMannative2
09:21.03FuryForceok
09:21.07FuryForcelet me try that
09:21.12FuryForcebut basically whats the version
09:21.23FuryForcearf what the purpose of native and native2
09:21.35FuryForcethe 2 any relation with apache 2
09:21.39FuryForceor apxs2
09:21.39FuryForce??
09:22.03CSMandifferent stuff mebe
09:22.41FuryForceok I didn't get the error
09:22.48FuryForceafter the ./build.....
09:22.52FuryForcelike I said earlier
09:22.55FuryForceok now ill do the
09:23.06FuryForce./configure --with-apxs2=/usr/.....
09:23.27CSMank
09:24.53FuryForceok the configure seem to go all well
09:24.58FuryForcenow for the make
09:25.00CSManmake
09:25.33FuryForcegotta a big BADA BOOM
09:25.41CSManheheh... me too
09:25.58FuryForcemake[1]: /usr/local/apache2/build/libtool: Command not found
09:25.58FuryForcemake[1]: *** [../../../build/jk2/apache2/jk_channel.lo] Error 127
09:25.58FuryForcemake[1]: Leaving directory `/usr/src/jakarta-tomcat-connectors-4.1.24-src/jk/native2/server/apache2'
09:25.58FuryForcemake: *** [jk2-build] Error 1
09:26.13FuryForcei must highlight the fact that i do have libtool installed
09:26.26CSManyeah, i got it installed previously
09:26.41FuryForceNow isn't this bad
09:28.16CSMani think it has something to do with APR
09:29.09CSManFuryForce: make clean; make
09:29.13CSMan=D
09:29.29CSManoh yeah =P
09:30.14CSMan"Rockin (gun recoil)"    --Duke Nukem.
09:30.29FuryForce...
09:30.35FuryForceand what should i do?
09:30.39FuryForce:o)
09:30.52FuryForcewhats APR?
09:31.09CSMannm about APR
09:31.17CSManjust make clean;make
09:31.41FuryForceit still screwing up
09:31.59FuryForce:o(
09:32.09CSManwhat do you get
09:32.13CSMansame errors?
09:32.18FuryForcesame thing as above
09:32.19FuryForceyup
09:32.21CSManok
09:32.33FuryForceMakes me wanna ARF ARF and a little ARF ARF
09:32.49FuryForce:o[
09:33.14CSManwell, you don't have /usr/local/apache2/build/libtool =)
09:34.37FuryForcehmmm let me check
09:35.39FuryForceactually I don't even have the build dir
09:35.41FuryForce:o)
09:36.25FuryForceI don't know why but I ahve right now the theme of smallville ringing in my head
09:36.27FuryForce:o)
09:36.29CSManFuryForce: check in /usr/lib/apache2
09:36.36KharpeeTbye
09:37.17FuryForcewell don't have it their
09:37.27FuryForcearf there I mean
09:38.07CSManwhere is your apache dir then???
09:38.16FuryForcedo u have the build dir?
09:38.23CSManyeah
09:38.24FuryForce/usr/local/apace2
09:38.40FuryForceapache2
09:38.45CSMantry installing apache-devel or something of that nature
09:38.54FuryForcehmmm
09:39.12FuryForcewell if i do that with my debian i guess it install me
09:39.16FuryForceApache too
09:39.31FuryForceso I ll have to versions of Apache running that would be bad
09:39.32CSManoh.. debian =P
09:39.36FuryForce:o)
09:39.45CSManlocate libtool
09:39.49FuryForceok
09:40.21FuryForcedone
09:40.31FuryForceMy apache2 sources seem to have a libtool
09:40.53CSManhmmmmmmm......
09:41.08CSMancheck the stuff you can attach with ./configure --help
09:41.14FuryForcemaybe its my apache thats not well installed
09:41.30FuryForcewell you attach alot of stuff
09:41.33CSManyeah, you can specify your apache path in configure
09:41.53FuryForceyeah but I left the default which is /usr/local/apache2
09:42.28CSManFuryForce: the problem is that the dir you specify doesn't have build
09:42.42CSManso yeah, might need to reinstall apache
09:42.56CSMancuz the script looks for the build folder in your apache path
09:45.07FuryForceyup possible, but the problem I just can't seem to find the option that will create this dir
09:45.15FuryForceor is it always created
09:45.21FuryForceno matter what do you know?
09:47.11FuryForcebrb, I'll try asking the local linux guru here
09:47.14FuryForce:o)
09:47.15FuryForcebrb
09:50.45KarolRHi, any Jakarta Commons DIGESTER users here? I need some advice.
10:14.27FuryForceCSMan im back
10:14.33FuryForceare u still there
10:16.20CSManyeah
10:16.26CSManwhat's up
10:18.51*** join/#tomcat a4akb (akb@as12-236.qualitynet.net)
10:19.04a4akb.
10:19.12a4akbgood crowd today.
10:21.43FuryForcewell
10:21.53a4akbhi ff
10:21.54FuryForceThe guru has me even more confised
10:21.58CSManlol
10:22.09FuryForce:o)
10:22.20a4akbwhich guru
10:22.23CSMani'd just try to get that dir in my apache installation
10:22.41FuryForceok I just realised that I didn't have any build.properties file in native2 when configuring
10:23.04FuryForceyeah but I just don't see how to get it there
10:23.13FuryForcea4 my local guru
10:23.45FuryForceI mean, I can't just make up a : mkdir build and ad libtool in it?
10:24.10CSMandon't think so...
10:24.40FuryForceyeah guess not
10:27.08CSMani don't know how you install apps in debian
10:27.18CSMani guess you use those .deb packages
10:29.50FuryForceyeah but then it would be too easy and plus I can't use the Debian way cause it'll install a 1.3.X version of apache
10:31.33FuryForceok I have to go and eat
10:31.39FuryForcethanks for your help CS
10:31.42FuryForceappreciated that
10:31.56FuryForcehave fun and may the force be with you :o)
10:32.04FuryForceBye All
10:32.22FuryForceLong live linux (even if sometimes it screws)
10:32.31*** part/#tomcat FuryForce (1000@openfury.math-info.univ-paris5.fr)
11:02.48*** join/#tomcat svingen (~svingen@ti132110a080-1243.bb.online.no)
11:07.40*** join/#tomcat n0ir (~vol@66-208-246-178.ubr04b.flint01.mi.hfc.comcastbusiness.net)
11:16.14svingenhey i try to reload a folder and only get this error "Message: FAIL - Application at context path /svingen could not "
11:16.24svingenis it not normal to get the hole error?
12:09.47*** join/#tomcat xcanuckx (~xcanuckx@217.69.228.185)
12:10.07xcanuckxhi, is any fimiliar with mod_jk2
12:37.39*** join/#tomcat KarolR (~nobody@c169248.adsl.hansenet.de)
12:58.40*** join/#tomcat juzam_ (~stewy@CPE-203-51-96-127.nsw.bigpond.net.au)
12:58.45juzam_hello! can someone help me run cgi scripts from tomcat? I've uncommented the appropriate lines in web.xml...
12:58.50*** join/#tomcat {aaron} (blah@aeolus.cit.cornell.edu)
12:59.41{aaron}anybody run into: "The output format must have a '{http://xml.apache.org/xslt}content-handler' property!" when using Xalan with tomcat under 1.4?
12:59.43juzam_and followed the directions in the tutorial
13:11.28juzam_{aaron}: hmm maybe everyones sleeping...
13:16.14*** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net)
13:19.03*** join/#tomcat n0ir_ (~vol@pcp02400027pcs.flint01.mi.comcast.net)
13:23.29KarolRsorry I never used Xalan.
13:34.11*** part/#tomcat juzam_ (~stewy@CPE-203-51-96-127.nsw.bigpond.net.au)
13:57.46psjasonb: I will not get the book in time (deadline of school project) can you give me some pointers?
14:08.59*** join/#tomcat vktr (~chatzilla@213.149.47.2)
14:36.07*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
15:08.13*** join/#tomcat CSMan (~csman@24.85.180.193)
15:30.14*** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-038-062.arcor-ip.net)
16:10.26*** join/#tomcat nDuff (~ccd@libra.siliconmetrics.com)
16:11.42nDuffAnyone suggest a good log analysis tool? I'd like to be mailed a list of stack traces with how often each occured, maybe at what times... will write a tool if need be, but twould be nice to reuse someone else's code.
16:19.46fox__jasonb: I'm also interested in the question ps asked.. if you can arange something
16:22.00jasonbhmm.. well, there might be commercial tools that do this.  I haven't done much searching for this kind of thing (including OSS projects to do it), so it's possible that there is one out there somewhere.  Do lots of google, sourceforge, and freshmeat searches.
16:23.28jasonbTomcat doesn't keep stack traces separate from other logs -- they're put right in the log file along with whatever else is there.  So, separating them out wouldn't be real easy.  Plus, doing some analysis of the stack traces might also be pretty tough.
16:24.21jasonbAlso, since Tomcat rolls the log files, keeping up with the changes would be a little tough too.
16:28.08jasonbYou might be able to hack your way into getting exception stack traces in email, only for your own setup..  anything beyond that would be much harder, I think.
16:30.10*** join/#tomcat a4akb (akb@as5-219.qualitynet.net)
16:30.34a4akb8 YELLO YELLO SOS YELLOW YELLOW
16:30.38a4akb:/
16:30.47a4akb8 YELLO YELLO SOS YELLOW YELLOW
16:31.08a4akbjasonb are u here?
16:33.56{aaron}boy that is anoyying
16:34.16a4akb;)
16:34.35a4akbat least caught someone's eye and u typed to break the monologous silence
16:35.53a4akb8 YELLO YELLO SOS YELLOW YELLOW
16:39.39a4akb{aaron}
17:34.46CSManhello
17:45.40*** join/#tomcat mr__t__ (~mr_t__@207.91.35.34)
17:45.47*** part/#tomcat mr__t__ (~mr_t__@207.91.35.34)
17:47.24*** join/#tomcat vx`schlumpf (~vx_schlum@dsl-213-023-041-205.arcor-ip.net)
17:52.04*** join/#tomcat a4akb (akb@as20-98.qualitynet.net)
17:52.28CSManwhat is this message trying to tell me? "Accept invalid cookie path=/mywebapp as a prefix of '/mytomcat'? (n)" ?
18:00.17{aaron}you issued the cookie for the wrong path? i dunno
18:00.30{aaron}did you have one context issue a cookie, then stop tomcat, rename it, and then restart maybe?
18:00.48{aaron}where is that message coming from anyway?
18:02.08CSMan{aaron}: i'm using ProxyPass to access tomcat
18:02.37CSMan{aaron}: how do i configure cookie paths? will this affect the regular :8080 access?
18:03.12CSMan{aaron}: it's coming from lynx, and after a create a session any session.getAttribute("something") will throw a null pointer
18:03.17CSManexception
18:03.42CSManit's like it didn't create the session
18:05.04{aaron}gah, i have no idea
18:05.39{aaron}is your proxy rewriting paths or anything?
18:07.39CSMan{aaron}: i guess, i'm using ProxyPass /mytomcat/ http://tomcat:8080/mywebapp/
18:07.51{aaron}well, that would probably do it
18:10.27CSMan{aaron}: do you know howto set cookie paths?
18:10.44{aaron}cookie.setPath()
18:10.57{aaron}no guarantee it will work if you give it an obviously bogus path
18:11.47CSManyeah :|
18:14.49*** join/#tomcat DrOszi__ (~droszi@193.110.60.203)
18:15.14*** part/#tomcat DrOszi__ (~droszi@193.110.60.203)
18:17.05*** part/#tomcat a4akb (akb@as20-98.qualitynet.net)
18:40.14*** join/#tomcat a4akb (akb@as12-140.qualitynet.net)
18:40.15*** join/#tomcat n0ir (~vol@65.162.94.30)
18:41.15*** part/#tomcat a4akb (akb@as12-140.qualitynet.net)
19:44.45*** join/#tomcat jasonb (~jasonb@nat1.sp.collab.net)
19:46.15CSManwhat a freakin' hard time
19:46.49CSManso, if anybody here is succesfully using tomcat thru Apache's proxy using ProxyPass, please let me know
19:52.09*** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com)
19:52.55*** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com)
19:53.55CSManyeah, tomcat's administration app doesn't even work well
19:54.04CSManso, i guess almost nobody has being succesful with this.
19:54.36CSMani'll stick to jk2 for now... dunno how'd be when the intranet server app is ready =(
20:02.11*** join/#tomcat gnr (~chatzilla@ADSL160-26.advancedsl.com.ar)
20:02.20gnrhi!
20:02.50gnranybody here?
20:05.22gnrppl, i have a pretty simple question, but is taking me too much time to answer
20:06.00CSMangnr: just ask =)
20:06.08gnri have a java bean in a jsp app
20:06.15gnrbut i can't find the damn class
20:06.20gnrshouldn't it go in the WEB-INF/classes ?
20:06.47Hellaenergygnr: If you are using the invoker :)
20:07.05gnrinvoker servlet ?
20:07.19gnri was using the jsp:useBean tag
20:07.25gnrcouldnt find it
20:07.30gnrso i tryed a simple
20:07.36gnr@ import
20:07.43gnrand even then i can't find it
20:08.08gnrwith package or without it
20:08.09gnr=(
20:08.54gnr<%@ page import="abean" %>
20:08.55Hellaenergygnr: Sorry I didn't read your question right
20:09.04Hellaenergyyes it should go in classes
20:09.54gnrim using tomcat 4.1.24
20:09.59Hellaenergygnr: Look at the web.xml DTD if in doubt
20:10.06gnrshould i change something in the web.xml ?
20:10.23HellaenergyIts looking that way but I don't know.
20:10.59gnrthe web.xml doesn't have anything useful
20:11.03gnrjust the dtd
20:11.06gnrwebapp
20:11.08gnrdescription
20:11.23gnrshould i map the bean or something ?
20:11.44gnri can't find anywhere documentation of something like this
20:12.00gnr=(
20:12.57gnribrb
20:13.22Hellaenergythe DTD reference should be at the top of your web.xml
20:24.54*** join/#tomcat JamesInSD (~chatzilla@host-182-198-220-24.midco.net)
20:24.58JamesInSDhey peoples
20:25.54*** join/#tomcat Gnug225 (Gnug225@24.236.252.190.gha.mi.chartermi.net)
20:26.07Hellaenergyanyone ever generated this one before? java.lang.OutOfMemoryError
20:26.11iannino
20:26.14iannismoeone hacked your JVM
20:26.16ianniand added that
20:26.19ianniyou're the first
20:26.22JamesInSDany one here use tomcat LE?
20:27.04Hellaenergyianni: Gee thanks for the not smart ass comment :)
20:27.23JamesInSDheh
20:28.51*** join/#tomcat lonux (~larsotto@24.ppp1-3.gk.tiscali.no)
20:43.10*** join/#tomcat Xeonel (~xeonel@gw01.secure-net.ro)
20:43.29XeonelI've got a problem with porting a tomcat 3.2.3 app to tomcat 4.1
20:44.02Xeonelthe context is initialised... but I still recive a 404 tomcat error, and the logs show no errors....
20:44.42Xeonelanyone?
20:49.22nDuffHellaenergy: well, yer question *did* kinda' merit it :)
20:49.53nDuffHellaenergy: try adding a -Xmx flag
20:50.05nDuff...to your java command line.
20:56.09HellaenergynDuff: I know :) thanks for the tip.
21:13.35fox__Hellaenergy: set CATALINA_OPTS to "-server Xmx256m -Xms64m      (or something "better)
21:18.16Hellaenergyfox__: Good Idea, do you know what the default is?
21:20.50fox__no .. i think 64 max and 32 min
21:20.55fox__but I'm not sure =/
21:21.30Hellaenergyfox__: Thanks
21:21.51*** join/#tomcat n0ir (~vol@pcp02400027pcs.flint01.mi.comcast.net)
21:27.27fox__I would like help with client certificate authentication and tomcat but the only way to read something about it on how to get it working is to get the book jasonb recommended =(
21:28.00Hellaenergyfox__: We will all be happy when jasonb's book hit the market :)
21:32.23fox__that book isbn he posted seems to be out
21:32.48fox__10:11|<jasonb> http://www.amazon.com/exec/obidos/ASIN/0596003188/104-4566466-3606358
21:32.53fox__10:11|<jasonb> http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?isbn=0596003188
21:35.23Hellaenergynice
21:35.36fox__but on a swedish webshop it says that it isn't released
21:36.06fox__Hellaenergy: the thing is we have a deadline and we will not get the book in time =((
21:36.21Hellaenergywow for once she put an animal on the cover that relates to the name.
21:39.05Hellaenergywow that book isn't even on oreilly's site
21:40.21fox__noop
21:44.22*** mode/#tomcat [+o Hellaenergy] by ChanServ
21:45.57*** topic/#tomcat by Hellaenergy -> Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com:8888/ . Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; Preorder Tomcat - The Definitive Guide here: http://www.amazon.com/exec/obidos/ASIN/0596003188/104-1524330-7681537
21:51.34*** topic/#tomcat by Hellaenergy -> Tomcat Servlet Container Discussion; The Tomcat project is located at http://jakarta.apache.org/tomcat ; If you would like to paste some code or configs for others to see please use http://www.hellaweb.com:8888/ . Servlet JSP Javadocs http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html ; Preorder - Tomcat: The Definitive Guide here: http://www.amazon.com/exec/obidos/ASIN/0596003188/104-1524330-7681537
21:55.32*** part/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com)
21:55.35*** join/#tomcat Hellaenergy (~Hellaener@mail.ubiqinc.com)
22:16.26jasonbYeah, the book isn't quite out yet.
22:16.39jasonbIt'll be out in early June.. just in time for JavaOne (hopefully).
22:17.25jasonbI just received the very first QC preview of the second half of the book, nearly ready to print, and it looks pretty spiffy.
22:17.30Hellaenergyjasonb: Congrats you deserve it ;)
22:18.22jasonbHellaenergy: Thanks.. I sure hope you guys can get some solid answers from the book.  I wrote it while thinking of you guys, and trying to help as much as I knew how in the time allowed to me by O'Reilly.
22:19.12Hellaenergyjasonb: I'm sure it will
22:19.59*** join/#tomcat Chancer (~ask@a66b91n112client151.hawaii.rr.com)
22:23.44*** join/#tomcat Spline (~dj_aia@anja.isisnetworks.net)
22:24.01fox__jasonb: but I need the answers from the book yesterday ;)
22:24.31Splinebuy safari!
22:24.37SplineI bet it will be on there before its at borders
22:25.37jasonbIt isn't in Safari yet, but I sure hope it is soon.
22:27.43jasonbfox__: You need info about CLIENT-CERT only?
22:28.15fox__yes
22:28.51fox__I've put two guys in my project on it and they worked for several days with no luck =/
22:30.00jasonbfox__: Yeah, it's *very* tough to do, with lots of potential pittfalls.  It took me many days of straight hacking to get it to work so that I could document it for the book.
22:30.37*** join/#tomcat bugfixer (~bugfixer@42gis175.gulftel.com)
22:31.17fox__tls encryption and all that works perfectly but the authentication bit is no workie.. I've heard many angry outburst in the project room sofar ... "Tomcatjävel" as they say in swedish ;)
22:32.33jasonbhehe!
22:32.42jasonbSo what was the problem you were having, exactly?
22:32.56jasonbI may be able to get you from where it broke to where it works..
22:33.02jasonb(no guarantees, though)
22:34.00fox__let me check . just a sec
22:34.35jasonbTake yer time.  :)
22:34.59fox__tomcat just closes the connection as if it doesn't accepts the certificate
22:35.20jasonbfox__: did you turn on the JSSE debugging?
22:35.30fox__It's past midnight here and I still try to solve work issues...
22:35.31jasonbWhat about the Tomcat logs?  Does it say anything in there?
22:35.56fox__I'm at home so I can't check the logs right now but I will do it first thing in the morning
22:36.03jasonbahh.
22:36.34fox__if I only had my ssh-tunnel up right now to bypass the firewall ;)
22:36.41fox__then I could check ;)
22:37.17jasonbOh well.  Get some sleep.
22:37.37Splinefox: justpaste your private key, we'll take care of getting those logs :)
22:38.38fox__Spline: hehe you wouldn't even have fun with a self-signed cert on a maching behind double firewalls (firewall and NAT)
22:39.41fox__todays issue was getting SOAP over SMTP working... that was fun ;)
22:39.46Splineoh cool
22:39.48Splineusing axis?
22:39.58fox__noop
22:40.34fox__We're developing a Webservice-gateway
22:42.34Splineso you actually did your own SOAP engine?  Or just translating SMTP to HTTP somehow?
22:44.26fox__yes ... consumer can send soap over smtp to the gateway which forwards it to a provider over http for instance and then get the result back over smtp
22:47.07Splinehow is the routing done?
22:50.52fox__In what sense?
22:51.08fox__if you have severla providers for one service for example?
22:51.24fox__round robin och weighted random
22:51.40fox__and whatever routing algorithm you want to implement ;)
22:54.37SplineNo No
22:54.49Splinelower level, I want to hit server X with a SOAP request
22:54.55SplineI have to send you an email that gets to server x
22:55.19fox__you expose services on the gateway that maps to a provider ...
22:55.59Splineso it isnt double blind.. arbitrary clients cant hit arbitrary servers
22:57.05fox__I don't follow... you always go thru the gateway which determines if you are allowed to use a sertain service
22:57.39Splineare you making a service or a product?
22:57.55fox__a "product"
22:58.10SplineOh
22:58.28SplineAnd it will require configuration for web services to get mapped to mail addresses?
22:58.39SplineWhat about UDDI lookup?
23:00.16fox__Spline: sortof .. the smtp support is only an extra feature .. mostly it's http traffic
23:00.46Splineyou implementing stateful SOAP inspection?  That would be cool...
23:00.58SplineIP range X can access service Y, but not service XXX
23:01.22Splinebbl, cooking
23:01.42fox__it would be cool yes but our "product" is not intended for internet webservices in that way
23:02.05fox__it's for managing internal webservices with a set of users
23:04.05fox__internal in that sense it's within a company infrastucture
23:05.00fox__basically to add security/load-balancing aspects to a webservice that exists today without those features
23:33.57*** join/#tomcat heaps (eapolo01@hills.ccsf.cc.ca.us)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.