irclog2html for #tomcat on 20030105

00:42.23*** join/#tomcat jasonb (~jasonb@adsl-66-124-73-250.dsl.sntc01.pacbell.net)
00:43.19*** join/#tomcat Falkom (~EMACS-MOL@213-96-137-248.uc.nombres.ttd.es)
00:43.24Falkomhi all
00:43.30Falkomcan you help me,please?
00:43.31Falkomhi reynir
00:43.52jasonbFalkom: Can you help me?
00:44.00jasonbFalkom: :)
00:44.12FalkomI am newbie
00:44.24jasonbFalkom: Aren't we all?
00:44.24Falkombut you ask and if I can help you...
00:44.31Falkomsorry?
00:44.48jasonbFalkom: Okay.  What's the square root of 4096??
00:45.40Falkom64
00:45.58jasonbOh.. cool..  Okay, so what's yer question? :)
00:47.10FalkomI have 45 virtual web servers in my tomcat 4.0.6 under linux
00:47.22jasonbdamn!
00:47.32Falkomand my problem
00:47.33jasonbHow come you have so few??
00:47.37FalkomI think It's the code
00:47.41jasonb:)
00:47.46Falkomand my problem is
00:48.02Falkomin any hours, the ram is out it's full
00:48.16Falkomdo you know how separate all proccess
00:48.18Falkom?
00:49.03jasonbWell, I don't understand your problem, nor your question.
00:49.24Falkomsorry My English is bad
00:49.30FalkomI have apache
00:49.33Falkomand tomcat
00:49.40Falkomand I connect all with ajp13 connect
00:49.41Falkomok?
00:50.37jasonbok.
00:50.43Falkomand I have 45 projects
00:50.50Falkom45 virtual hosts
00:51.04jasonbOk..  An Apache virtual host, or a Tomcat virtual host, or both?
00:51.06Falkomand I think any programmer has writed bad code
00:51.13Falkomboth of they
00:51.17jasonbok.
00:52.02FalkomMy problem is my server has 1.5 GB
00:52.09jasonbSo each vhost has a webapp, and what you're saying is that you have all of this on one server computer which is now out of memory?
00:52.22jasonbOf course it's going to run out of memory.. you have 45 web sites running on it!
00:52.46Falkombut the server has 1.5 GB of RAM?
00:53.01jasonbWhat tells you that that amount of RAM is enough?
00:53.32FalkomI htink so
00:53.46jasonbBut why?
00:54.35Falkombecause my isp has a less memory and runs good
00:54.54jasonbDo they run at least 45 web sites on both Apache httpd and Tomcat?
00:55.01Falkomyeah
00:55.03jasonb(and are the web sites the same ones?)
00:55.27jasonbNot all web sites are the same..  some web sites take up more resources (like RAM) than others do.
00:55.39Falkomyes I think so but
00:55.50FalkomI revise with top and free and ps aux and I dont see anything strange
00:58.21jasonbI think what I'd do is (on a separate box) load each one of the webapps in Tomcat, one at a time, and watch memory usage and find the ones that take up the most memory..  Those are the ones you should either kick off of your server or find a way to make them take less memory to do basically the same thing.
00:59.04jasonbAn alternative is to upgrade your server again to more RAM, or to get another server machine and put half the webapps on each server machine.
00:59.35Falkomjasonb I remove more of middle of webs
00:59.38Falkomand nothing
05:29.41*** join/#tomcat snuz (~hito@ppp-209-232-55-253.dialup.snfc21.pacbell.net)
05:31.25*** part/#tomcat snuz (~hito@ppp-209-232-55-253.dialup.snfc21.pacbell.net)
07:40.14*** join/#tomcat destr0 (~duke@msp-65-29-38-209.mn.rr.com)
07:40.42destr0<mbox:viewMsg attribute="subject" />
07:41.14destr0anyone here have experience printing out a mail message to a JSP page?
09:53.00*** join/#tomcat jkk (www@dyn-mcb-168-100.dyn.columbia.edu)
12:04.19*** join/#tomcat DrClaus (~chatzilla@212.105.208.198)
14:26.14*** join/#tomcat holymanjay (~steve@210.50.16.215)
14:26.54holymanjayHi ppl... =)
14:27.15holymanjayis it ok if I ask a question?  
14:27.40holymanjaywhich Tomcat version should I install?  Tomcat 4.1 or 5?
14:28.19*** part/#tomcat holymanjay (~steve@210.50.16.215)
15:23.06*** join/#tomcat hlob (~scr19100@rciplx10.cip.uni-regensburg.de)
16:51.23*** join/#tomcat damouse (~damouse@m494-mp1.cvx2-b.nth.dial.ntli.net)
16:51.44damousecan anyone help me with my tomcat problem  :(
16:52.13damouse<IfModule mod_jk.c>
16:52.15damouse# The following line is for apacheconfig - DO NOT REMOVE!
16:52.15damouseJkWorkersFile /etc/tomcat/jk/workers.properties
16:52.15damouseJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
16:52.15damouseJkLogFile     /etc/apache/logs/mod_jk.log
16:52.16damouseJkLogLevel    info
16:52.18damouseInclude /var/lib/tomcat/conf/mod_jk.conf
16:52.21damouseJkMount /*.jsp ajp13
16:52.23damouse</IfModule>
16:52.26damousewhats wrong :(
17:11.53*** join/#tomcat destr0 (~duke@msp-65-29-38-209.mn.rr.com)
17:12.06destr0morning folks
17:12.58destr0if I have a page that uses frames, the documents in each frame are going to create two different session objects are they not?
17:24.55tang^they shouldn't create new sessions
17:25.30*** part/#tomcat damouse (~damouse@m494-mp1.cvx2-b.nth.dial.ntli.net)
17:37.28*** join/#tomcat WildZeck___ (~Zeck@zeck999.net1.nerim.net)
17:42.42*** join/#tomcat Falkom (~EMACS@232.Red-80-34-62.pooles.rima-tde.net)
17:42.44Falkomhi all
17:42.50Falkomplease can you help me, please?
17:51.22destr0with what
17:51.55destr0tang^: you think they should fall under the same session?
17:52.21FalkomI have 45 virtual hosts
17:52.51Falkomand I dont know what, my system opens a lot of file and the memory is fulling
17:52.58Falkomdo you know why?
17:53.08destr0no but I can help you.
17:53.30destr0Hold on I'll give you an email address to have your customers sign up with me. :)
17:54.30tang^destr0: I think so, but I refuse to write framed pages so I cannot answer definitively
17:55.11destr0what's your beef with framed pages?
17:55.50tang^navigation
17:56.29tang^I've use back on my browser a lot and many framed sites seem to screw that up
17:56.40tang^that and refreshing a page
17:57.54destr0good points.
18:26.02*** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com)
18:26.36Hellaenergyhowdy everyone
18:26.39JakWORKhey
18:26.40Falkomhi
18:26.48HellaenergyWhat are you all up to?
18:26.54Falkomgood an doyu
18:27.15tang^hey
18:28.20Hellaenergyany of you guys tried 4.1.18 yet?
18:28.51Falkomno sorry
18:28.55tang^yes
18:29.00HellaenergyHow is it?
18:29.13tang^haven't had any issues with it
18:29.21HellaenergyThats always good
18:29.25tang^fixed some problems I was having with 4.1.12 at the time
18:29.41HellaenergyAny of you seen that Struts book published by O'reilly?
18:29.51JakWORKStruts <shudder>
18:29.55tang^not yet
18:30.08HellaenergyJakWORK: you don't use struts then?
18:30.12JakWORKerm
18:30.19JakWORKI don't even really know what it does :-P
18:30.20Hellaenergyerm?
18:30.32JakWORKbut it's the thing that makes restarting tomcat here take ~4 minutes!
18:30.40tang^most people shuddering at struts do use it
18:30.40JakWORKsomeone decided to use it in some project or other!
18:30.50tang^that's no good
18:30.58HellaenergyI don't use struts either
18:31.09Hellaenergydon't really understand them
18:31.14Hellaenergynever tried :)
18:31.20tang^sounds like there's a few over in #java that do and hate it
18:31.24Hellaenergystruts == tag libs?
18:31.41Falkomanybody users tomcat and apache?
18:31.52Hellaenergyof course
18:31.53JakWORKyes
18:31.54tang^Falkom: sorta
18:32.02Falkomajp?
18:32.04JakWORKwith mod_webapp (I seem to be the only person in the world doing so)
18:32.23Falkomand is it easy?
18:32.33tang^I had jk2 working a while ago... took it off during one upgrade and haven't bothered putting it back in
18:33.05JakWORKnot sure - I'm using some CVS version from about a year ago - it's missing some features but is fairly stable (I regularly do 40-50 requests/sec through it - with apache & tomcat on different machines)
18:33.16HellaenergyI couldn't get jk2 w/4.1.12 and Apache 2.0.43 working for the life of me.
18:33.52tang^hmm, I'm a little behind (2.0.39)
18:34.11Hellaenergytang^: you should really update your apache version
18:34.19tang^yeah I know
18:34.35tang^I was planning on phasing out apache for tomcat (really low traffic site)
18:34.42Hellaenergyits too unstable
18:34.45jkkany tomcat developers around?
18:35.47Hellaenergyjkk: they come in here occasionally
18:35.49tang^I haven't had any trouble with apache2, but again, I'm running it on a low volume site and don't use mod_perl (the biggest compatibility issue)
18:36.34Hellaenergyyup that is a problem
18:36.37jkkHellaenergy: do you know anything about ApplicationFilterChain -- Tomcat's FilterChain implementation? I'm staring at the source trying to make sense of it. Does Tomcat create a new ApplicationFilterChain for each request?
18:37.06Hellaenergyjkk: I can't answer that
18:37.37jkkHellaenergy: what if I gave you a dollar?
18:38.00JakWORKooh /me checks stats... 12 million hits through mod_webapp.... not bad :-P
18:38.52HellaenergyJakWORK: what is your site?
18:39.01Hellaenergyif you don't mind saying
18:39.32JakWORKI work for an SMS messaging company... so most of that is people requesting an SMS to be sent
18:39.45Hellaenergycool
18:39.55Hellaenergywhat state
18:40.36Hellaenergytomcat is good for mobile pages?
18:40.43JakWORKso their all fairly small requests - the servlet just RMI's to another application that does 5-7 DB queries then returns an ID that's sent back to the user - servlet takes about 15-25 ms per request
18:40.44Hellaenergywhy tomcat then?
18:41.04Hellaenergybecause you can?
18:41.11JakWORKhttp:///www.wapmx.com/ -- most of the requests are http://www.wapmx.com/index.jsp?m=tech/http
18:41.25JakWORKyou mean why use HTTP?
18:42.43Hellaenergy:)
18:45.44HellaenergyJakWORK: looks like you have a pretty fun product to work with
18:46.58JakWORKyeah... is good fun... database stuff kinda fun too.... LOADS of transactions :-)
18:48.45HellaenergyI have never heard someone say database stuff was fun :)
18:50.36JakWORKyou've not played with enough databases :P
18:56.55Falkomdear friends, can you tell me please what do you recommend me to use tomcat and apache and which versions? (It's for a lot of webs)
19:00.25Falkommod_webapp or ajp?
19:01.03HellaenergyI have never used mod_webapp
19:01.06Hellaenergyajp then
19:01.21Hellaenergy4.1.18 w/ apache 1.3.27
19:01.29Hellaenergyis what I would do
19:02.26Falkomand how many webs do you have=?
19:03.21Hellaenergytwo small ones :)
19:03.28Hellaenergyone production
19:04.30Falkomdo you know how calculate the memory using each virtual host?
19:06.07Hellaenergyno
19:06.49FalkomI am sorry. I have problems and when I have problems, I am very nervous
19:07.47Hellaenergyunderstandable; I've been there.
19:07.58Hellaenergywhat is your problem?
19:08.31FalkomI have 45 virtual hosts
19:08.44Falkomand the apache or tomcat is failure
19:08.57HellaenergyFalkom: read this http://w6.metronet.com/~wjm/tomcat/2000/Sep/msg00636.html
19:09.11HellaenergyYou don't know which one?
19:09.17Hellaenergylook in the error logs
19:09.43FalkomI see and nothing
19:09.48FalkomI see catalina.out
19:10.18Hellaenergyouch
19:10.40*** join/#tomcat OKnight (OKnight@0-1pool207-39.nas2.new-york2.ny.us.da.qwest.net)
19:10.58OKnighthello
19:11.08Hellaenergyhi
19:11.20Falkomhi
19:12.31OKnightI need some help with Tomcat 4.1  I would like to change the default domain name 'localhost:8080' to something else, and still be able to run files from webapps/ROOT directory.  Is this possiple?
19:12.47Falkomyeah,, I think so
19:13.14OKnightwhat do I change to make this possible
19:13.45Hellaenergyserver.xml
19:14.29OKnightwhat property do I have to change in server.xml
19:15.20Hellaenergysearch for localhost and change that to the hostname you want
19:16.07OKnightwhen I change 'localhost' to another name, do I still need to append ':8080'?
19:16.22*** part/#tomcat jkk (www@dyn-mcb-168-100.dyn.columbia.edu)
19:16.27Falkomyeah
19:16.40*** join/#tomcat jkk (www@dyn-mcb-168-100.dyn.columbia.edu)
19:16.46Hellaenergyyes that is what tomcat-connectors or for :)
19:16.52Hellaenergyapache->tomcat
19:17.02Hellaenergyibot: tomcat-connectors
19:17.04Hellaenergy: i haven't a clue
19:17.10Hellaenergyibot: tomcat connectors
19:17.12Hellaenergy: I'm not sure, is it larger than a breadbox?
19:17.27Hellaenergyibot: where is mod_mk
19:17.29Hellaenergy: what are you talking about?
19:17.30Hellaenergyibot: where is mod_jk
19:17.36rumour has it, mod_jk is at http://www.johnturner.com/howto/apache1-tomcat404-howto.html
19:18.34OKnightIs it at all possible to change the localhost domain name to something else, AND be able to type it in without using :8080?
19:18.34OKnight?
19:20.00Hellaenergyyeah you could change the port that tomcat listens on.
19:20.03Hellaenergyto 80
19:20.31OKnight!
19:21.26OKnightthat would conflict with my Apache install, but I'm having enough trouble with mod_jk
19:21.42Hellaenergyyup and yup
19:23.03Falkom4[OKnight4] do you uses mod_jk?
19:24.34OKnightI'm trying to use mod_jk
19:24.48*** join/#tomcat pvdh (AC14C83B@193.196.41.250)
19:25.09pvdhHi all, anybody running tomcat4 on debian?
19:25.13OKnightthe ports are simply not communicating correctly, and I followed every tutorial online to the T
19:25.40Hellaenergypvdh: yes
19:25.43OKnightI changed tomcat to listen to port 80
19:26.37pvdhHellaenergy: I'm trying to run the debian-tomcat4-packages, but without success. Do you use the debs or how did you install?
19:26.37OKnightI would like to use apache on top of tomcat, but it doesn't really matter because I'm running these servers on my laptop
19:27.06Hellaenergythe tomcat binary on the http://jakarta.apache.org/tomcat site
19:27.12Hellaenergynot the debs
19:27.16OKnightno I done away with port 8080
19:27.30Hellaenergyalthough I know people who have used the debs with success
19:27.32OKnightnow I'm going to change "localhost"
19:28.22pvdhHellaenergy: the debs are definitly annoying. :-(
19:28.32Hellaenergywhats wrong
19:28.41Hellaenergyhave you tried talking on #debian
19:28.57Hellaenergythe maintainer of those debs is sometimes there
19:29.39pvdhHellaenergy : no, I came here first. The Problem: I get a 404-error "ressource not available" but can't find any information in the log-files.
19:30.09pvdhHellaenergy: in tomcat3 I had per-webapp-logs, but don't know how to enable them with tomcat4.
19:30.27jkkpvdh: yeah I was wondering the exact same thing
19:30.44jkkmakes no sense that all logging goes straight to the tomcat standard logs..
19:31.01HellaenergyI believe you specify that in the server.xml under the specific app
19:32.04pvdhjkk: I'd be happy about that, if there was enough logging-information. However, no errors are logged.
19:32.23jkkHellaenergy: it is possible to do so, though?
19:32.49Hellaenergyhttp://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
19:32.52jkkHellaenergy: what if you're using the manager app to install apps and you don't have a context section in server.xml?
19:33.09Hellaenergyjkk: what do you mean?
19:34.07jkkHellaenergy: I install my app through through the manager webapp...
19:35.31Hellaenergyhttp://jakarta.apache.org/log4j/docs/
19:36.42OKnightIs mod_webapp easier to configure than mod_jk?
19:36.44OKnight?
19:36.54HellaenergyNever used it
19:36.55*** join/#tomcat MooseMorals (osric@pc-80-194-95-144-ny.blueyonder.co.uk)
19:37.18HellaenergyMooseMorals: are you Canadian?
19:37.18MooseMoralsCan tomcat be used as a mail server?
19:37.28Hellaenergyno
19:38.04jkkthere's no real reason it couldn't... i never understood why they didn't integrate james with tomcat
19:38.10MooseMoralsWhy not? Is it just no-one has writen the servlet, or is it something more fundermental
19:38.13MooseMoralsah...
19:38.46jkkMooseMorals: Jakarta has a mail server, James, which lets you write Mailets (Servlets for email)
19:39.01MooseMoralsSweet!
19:39.07pvdhOKnight : AFAIK mod_webapp is prefered on debian, but unfortunately I couldn't manage that. However, I had little problems wit mod_jk
19:39.16HellaenergyMooseMorals: I though you where asking if it was built to be a mail server
19:39.37MooseMoralsOne more question before i go - I know that jakata is java based, but is there anything like mod_perl support?
19:39.49Hellaenergyno
19:40.23MooseMoralsHellaenergy: Nope, I know its 'sold' as a webserver, but I thought it was a more generic server framework (inetd++ maybe :-)
19:41.21Hellaenergyhttp is it's strong point :)
19:42.52MooseMoralsWell, thanks for the answers :-)
19:42.54*** part/#tomcat MooseMorals (osric@pc-80-194-95-144-ny.blueyonder.co.uk)
19:48.14OKnightThank you all for the help.  I'm sure I'll be back soon.
19:48.41*** part/#tomcat OKnight (OKnight@0-1pool207-39.nas2.new-york2.ny.us.da.qwest.net)
19:52.51pvdhI just installed the tomcat-binaries myself and hit the same problems I had with debian.
20:11.51*** join/#tomcat pvdh_ (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
20:12.05pvdh_It's driving me mad. :-( "The requested resource (/Beraterpool/servlet/mytestservlet) is not available." Any ideas?
20:12.43Hellaenergyis it in the right place?
20:12.57Hellaenergythe servlet that is
20:15.31pvdh_if the structure has not been changed from tomcat3 to tomcat4 everything should be fine
20:15.55pvdh_webapps/Application/WEB-INF/classes/Package/class
20:16.49Hellaenergysounds like your on the right track
20:17.20Hellaenergydoes the classpath need to point to it?
20:18.50pvdh_well, by following this hierarchy it should not be nessessary to set the classpath. At least it was not in tomcat3
20:19.06Hellaenergyk
20:24.14pvdh_very strange
20:24.37Hellaenergytomcat is really a sysadmins nightmare
20:27.52pvdh_definitly. and in all related apache-java-projects I just hate the documentation.
20:30.40Hellaenergyonce you get it going though its powerful, very powerful.
20:36.10pvdh_I know. But the way is very hard and on turbine-mailinglist I have been told "we don't care about documentation, look at the code", which makes joining very, very hard.
20:36.24pvdh_seems to have changed a little bit, though
20:43.14pvdh_I'd just love to have some useful error-message. Nothing works and nothing points out why.
21:14.57*** part/#tomcat pvdh (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
21:16.05*** join/#tomcat pvdh (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
21:17.26pvdhSituation improving. I get error-messages. :-)
21:22.33pvdhHmmmmm, log says: "Deploy JAR /WEB-INF/lib/velocity-1.3-rc1.jar to /home/patrick/jakarta-tomcat-4.1.18/webapps/BP2/WEB-INF/lib/velocity-1.3-rc1.jar" but just that class is not found.
21:27.45pvdhHmmmm, seems that security-optinons prevent loading thar jar-file. But that should be disabled....
21:55.10pvdhanybody online?
22:08.02pvdhProblem start's to solve: one of my libraries seemed to cause my problems.
22:08.04*** part/#tomcat pvdh (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
23:06.26jkkanybody awake?
23:11.46*** join/#tomcat pvdh (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
23:12.07pvdhHi all, tomcat4 is now (mostly) working. :-)
23:12.29pvdhCan anybody give me hints about how and where to place configuration files?
23:20.52*** join/#tomcat Hella (~Hellaener@hellaweb.com)
23:37.12*** join/#tomcat pvdh_ (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de)
23:37.48pvdh_anybody online?

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.