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.24 | Falkom | hi all |
00:43.30 | Falkom | can you help me,please? |
00:43.31 | Falkom | hi reynir |
00:43.52 | jasonb | Falkom: Can you help me? |
00:44.00 | jasonb | Falkom: :) |
00:44.12 | Falkom | I am newbie |
00:44.24 | jasonb | Falkom: Aren't we all? |
00:44.24 | Falkom | but you ask and if I can help you... |
00:44.31 | Falkom | sorry? |
00:44.48 | jasonb | Falkom: Okay. What's the square root of 4096?? |
00:45.40 | Falkom | 64 |
00:45.58 | jasonb | Oh.. cool.. Okay, so what's yer question? :) |
00:47.10 | Falkom | I have 45 virtual web servers in my tomcat 4.0.6 under linux |
00:47.22 | jasonb | damn! |
00:47.32 | Falkom | and my problem |
00:47.33 | jasonb | How come you have so few?? |
00:47.37 | Falkom | I think It's the code |
00:47.41 | jasonb | :) |
00:47.46 | Falkom | and my problem is |
00:48.02 | Falkom | in any hours, the ram is out it's full |
00:48.16 | Falkom | do you know how separate all proccess |
00:48.18 | Falkom | ? |
00:49.03 | jasonb | Well, I don't understand your problem, nor your question. |
00:49.24 | Falkom | sorry My English is bad |
00:49.30 | Falkom | I have apache |
00:49.33 | Falkom | and tomcat |
00:49.40 | Falkom | and I connect all with ajp13 connect |
00:49.41 | Falkom | ok? |
00:50.37 | jasonb | ok. |
00:50.43 | Falkom | and I have 45 projects |
00:50.50 | Falkom | 45 virtual hosts |
00:51.04 | jasonb | Ok.. An Apache virtual host, or a Tomcat virtual host, or both? |
00:51.06 | Falkom | and I think any programmer has writed bad code |
00:51.13 | Falkom | both of they |
00:51.17 | jasonb | ok. |
00:52.02 | Falkom | My problem is my server has 1.5 GB |
00:52.09 | jasonb | So 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.22 | jasonb | Of course it's going to run out of memory.. you have 45 web sites running on it! |
00:52.46 | Falkom | but the server has 1.5 GB of RAM? |
00:53.01 | jasonb | What tells you that that amount of RAM is enough? |
00:53.32 | Falkom | I htink so |
00:53.46 | jasonb | But why? |
00:54.35 | Falkom | because my isp has a less memory and runs good |
00:54.54 | jasonb | Do they run at least 45 web sites on both Apache httpd and Tomcat? |
00:55.01 | Falkom | yeah |
00:55.03 | jasonb | (and are the web sites the same ones?) |
00:55.27 | jasonb | Not all web sites are the same.. some web sites take up more resources (like RAM) than others do. |
00:55.39 | Falkom | yes I think so but |
00:55.50 | Falkom | I revise with top and free and ps aux and I dont see anything strange |
00:58.21 | jasonb | I 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.04 | jasonb | An 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.35 | Falkom | jasonb I remove more of middle of webs |
00:59.38 | Falkom | and 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.42 | destr0 | <mbox:viewMsg attribute="subject" /> |
07:41.14 | destr0 | anyone 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.54 | holymanjay | Hi ppl... =) |
14:27.15 | holymanjay | is it ok if I ask a question? |
14:27.40 | holymanjay | which 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.44 | damouse | can anyone help me with my tomcat problem :( |
16:52.13 | damouse | <IfModule mod_jk.c> |
16:52.15 | damouse | # The following line is for apacheconfig - DO NOT REMOVE! |
16:52.15 | damouse | JkWorkersFile /etc/tomcat/jk/workers.properties |
16:52.15 | damouse | JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " |
16:52.15 | damouse | JkLogFile /etc/apache/logs/mod_jk.log |
16:52.16 | damouse | JkLogLevel info |
16:52.18 | damouse | Include /var/lib/tomcat/conf/mod_jk.conf |
16:52.21 | damouse | JkMount /*.jsp ajp13 |
16:52.23 | damouse | </IfModule> |
16:52.26 | damouse | whats wrong :( |
17:11.53 | *** join/#tomcat destr0 (~duke@msp-65-29-38-209.mn.rr.com) |
17:12.06 | destr0 | morning folks |
17:12.58 | destr0 | if 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.55 | tang^ | 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.44 | Falkom | hi all |
17:42.50 | Falkom | please can you help me, please? |
17:51.22 | destr0 | with what |
17:51.55 | destr0 | tang^: you think they should fall under the same session? |
17:52.21 | Falkom | I have 45 virtual hosts |
17:52.51 | Falkom | and I dont know what, my system opens a lot of file and the memory is fulling |
17:52.58 | Falkom | do you know why? |
17:53.08 | destr0 | no but I can help you. |
17:53.30 | destr0 | Hold on I'll give you an email address to have your customers sign up with me. :) |
17:54.30 | tang^ | destr0: I think so, but I refuse to write framed pages so I cannot answer definitively |
17:55.11 | destr0 | what's your beef with framed pages? |
17:55.50 | tang^ | navigation |
17:56.29 | tang^ | I've use back on my browser a lot and many framed sites seem to screw that up |
17:56.40 | tang^ | that and refreshing a page |
17:57.54 | destr0 | good points. |
18:26.02 | *** join/#tomcat Hellaenergy (~Hellaener@hellaweb.com) |
18:26.36 | Hellaenergy | howdy everyone |
18:26.39 | JakWORK | hey |
18:26.40 | Falkom | hi |
18:26.48 | Hellaenergy | What are you all up to? |
18:26.54 | Falkom | good an doyu |
18:27.15 | tang^ | hey |
18:28.20 | Hellaenergy | any of you guys tried 4.1.18 yet? |
18:28.51 | Falkom | no sorry |
18:28.55 | tang^ | yes |
18:29.00 | Hellaenergy | How is it? |
18:29.13 | tang^ | haven't had any issues with it |
18:29.21 | Hellaenergy | Thats always good |
18:29.25 | tang^ | fixed some problems I was having with 4.1.12 at the time |
18:29.41 | Hellaenergy | Any of you seen that Struts book published by O'reilly? |
18:29.51 | JakWORK | Struts <shudder> |
18:29.55 | tang^ | not yet |
18:30.08 | Hellaenergy | JakWORK: you don't use struts then? |
18:30.12 | JakWORK | erm |
18:30.19 | JakWORK | I don't even really know what it does :-P |
18:30.20 | Hellaenergy | erm? |
18:30.32 | JakWORK | but it's the thing that makes restarting tomcat here take ~4 minutes! |
18:30.40 | tang^ | most people shuddering at struts do use it |
18:30.40 | JakWORK | someone decided to use it in some project or other! |
18:30.50 | tang^ | that's no good |
18:30.58 | Hellaenergy | I don't use struts either |
18:31.09 | Hellaenergy | don't really understand them |
18:31.14 | Hellaenergy | never tried :) |
18:31.20 | tang^ | sounds like there's a few over in #java that do and hate it |
18:31.24 | Hellaenergy | struts == tag libs? |
18:31.41 | Falkom | anybody users tomcat and apache? |
18:31.52 | Hellaenergy | of course |
18:31.53 | JakWORK | yes |
18:31.54 | tang^ | Falkom: sorta |
18:32.02 | Falkom | ajp? |
18:32.04 | JakWORK | with mod_webapp (I seem to be the only person in the world doing so) |
18:32.23 | Falkom | and is it easy? |
18:32.33 | tang^ | I had jk2 working a while ago... took it off during one upgrade and haven't bothered putting it back in |
18:33.05 | JakWORK | not 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.16 | Hellaenergy | I couldn't get jk2 w/4.1.12 and Apache 2.0.43 working for the life of me. |
18:33.52 | tang^ | hmm, I'm a little behind (2.0.39) |
18:34.11 | Hellaenergy | tang^: you should really update your apache version |
18:34.19 | tang^ | yeah I know |
18:34.35 | tang^ | I was planning on phasing out apache for tomcat (really low traffic site) |
18:34.42 | Hellaenergy | its too unstable |
18:34.45 | jkk | any tomcat developers around? |
18:35.47 | Hellaenergy | jkk: they come in here occasionally |
18:35.49 | tang^ | 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.34 | Hellaenergy | yup that is a problem |
18:36.37 | jkk | Hellaenergy: 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.06 | Hellaenergy | jkk: I can't answer that |
18:37.37 | jkk | Hellaenergy: what if I gave you a dollar? |
18:38.00 | JakWORK | ooh /me checks stats... 12 million hits through mod_webapp.... not bad :-P |
18:38.52 | Hellaenergy | JakWORK: what is your site? |
18:39.01 | Hellaenergy | if you don't mind saying |
18:39.32 | JakWORK | I work for an SMS messaging company... so most of that is people requesting an SMS to be sent |
18:39.45 | Hellaenergy | cool |
18:39.55 | Hellaenergy | what state |
18:40.36 | Hellaenergy | tomcat is good for mobile pages? |
18:40.43 | JakWORK | so 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.44 | Hellaenergy | why tomcat then? |
18:41.04 | Hellaenergy | because you can? |
18:41.11 | JakWORK | http:///www.wapmx.com/ -- most of the requests are http://www.wapmx.com/index.jsp?m=tech/http |
18:41.25 | JakWORK | you mean why use HTTP? |
18:42.43 | Hellaenergy | :) |
18:45.44 | Hellaenergy | JakWORK: looks like you have a pretty fun product to work with |
18:46.58 | JakWORK | yeah... is good fun... database stuff kinda fun too.... LOADS of transactions :-) |
18:48.45 | Hellaenergy | I have never heard someone say database stuff was fun :) |
18:50.36 | JakWORK | you've not played with enough databases :P |
18:56.55 | Falkom | dear 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.25 | Falkom | mod_webapp or ajp? |
19:01.03 | Hellaenergy | I have never used mod_webapp |
19:01.06 | Hellaenergy | ajp then |
19:01.21 | Hellaenergy | 4.1.18 w/ apache 1.3.27 |
19:01.29 | Hellaenergy | is what I would do |
19:02.26 | Falkom | and how many webs do you have=? |
19:03.21 | Hellaenergy | two small ones :) |
19:03.28 | Hellaenergy | one production |
19:04.30 | Falkom | do you know how calculate the memory using each virtual host? |
19:06.07 | Hellaenergy | no |
19:06.49 | Falkom | I am sorry. I have problems and when I have problems, I am very nervous |
19:07.47 | Hellaenergy | understandable; I've been there. |
19:07.58 | Hellaenergy | what is your problem? |
19:08.31 | Falkom | I have 45 virtual hosts |
19:08.44 | Falkom | and the apache or tomcat is failure |
19:08.57 | Hellaenergy | Falkom: read this http://w6.metronet.com/~wjm/tomcat/2000/Sep/msg00636.html |
19:09.11 | Hellaenergy | You don't know which one? |
19:09.17 | Hellaenergy | look in the error logs |
19:09.43 | Falkom | I see and nothing |
19:09.48 | Falkom | I see catalina.out |
19:10.18 | Hellaenergy | ouch |
19:10.40 | *** join/#tomcat OKnight (OKnight@0-1pool207-39.nas2.new-york2.ny.us.da.qwest.net) |
19:10.58 | OKnight | hello |
19:11.08 | Hellaenergy | hi |
19:11.20 | Falkom | hi |
19:12.31 | OKnight | I 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.47 | Falkom | yeah,, I think so |
19:13.14 | OKnight | what do I change to make this possible |
19:13.45 | Hellaenergy | server.xml |
19:14.29 | OKnight | what property do I have to change in server.xml |
19:15.20 | Hellaenergy | search for localhost and change that to the hostname you want |
19:16.07 | OKnight | when 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.27 | Falkom | yeah |
19:16.40 | *** join/#tomcat jkk (www@dyn-mcb-168-100.dyn.columbia.edu) |
19:16.46 | Hellaenergy | yes that is what tomcat-connectors or for :) |
19:16.52 | Hellaenergy | apache->tomcat |
19:17.02 | Hellaenergy | ibot: tomcat-connectors |
19:17.04 | | Hellaenergy: i haven't a clue |
19:17.10 | Hellaenergy | ibot: tomcat connectors |
19:17.12 | | Hellaenergy: I'm not sure, is it larger than a breadbox? |
19:17.27 | Hellaenergy | ibot: where is mod_mk |
19:17.29 | | Hellaenergy: what are you talking about? |
19:17.30 | Hellaenergy | ibot: where is mod_jk |
19:17.36 | | rumour has it, mod_jk is at http://www.johnturner.com/howto/apache1-tomcat404-howto.html |
19:18.34 | OKnight | Is 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.34 | OKnight | ? |
19:20.00 | Hellaenergy | yeah you could change the port that tomcat listens on. |
19:20.03 | Hellaenergy | to 80 |
19:20.31 | OKnight | ! |
19:21.26 | OKnight | that would conflict with my Apache install, but I'm having enough trouble with mod_jk |
19:21.42 | Hellaenergy | yup and yup |
19:23.03 | Falkom | 4[OKnight4] do you uses mod_jk? |
19:24.34 | OKnight | I'm trying to use mod_jk |
19:24.48 | *** join/#tomcat pvdh (AC14C83B@193.196.41.250) |
19:25.09 | pvdh | Hi all, anybody running tomcat4 on debian? |
19:25.13 | OKnight | the ports are simply not communicating correctly, and I followed every tutorial online to the T |
19:25.40 | Hellaenergy | pvdh: yes |
19:25.43 | OKnight | I changed tomcat to listen to port 80 |
19:26.37 | pvdh | Hellaenergy: I'm trying to run the debian-tomcat4-packages, but without success. Do you use the debs or how did you install? |
19:26.37 | OKnight | I 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.06 | Hellaenergy | the tomcat binary on the http://jakarta.apache.org/tomcat site |
19:27.12 | Hellaenergy | not the debs |
19:27.16 | OKnight | no I done away with port 8080 |
19:27.30 | Hellaenergy | although I know people who have used the debs with success |
19:27.32 | OKnight | now I'm going to change "localhost" |
19:28.22 | pvdh | Hellaenergy: the debs are definitly annoying. :-( |
19:28.32 | Hellaenergy | whats wrong |
19:28.41 | Hellaenergy | have you tried talking on #debian |
19:28.57 | Hellaenergy | the maintainer of those debs is sometimes there |
19:29.39 | pvdh | Hellaenergy : 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.09 | pvdh | Hellaenergy: in tomcat3 I had per-webapp-logs, but don't know how to enable them with tomcat4. |
19:30.27 | jkk | pvdh: yeah I was wondering the exact same thing |
19:30.44 | jkk | makes no sense that all logging goes straight to the tomcat standard logs.. |
19:31.01 | Hellaenergy | I believe you specify that in the server.xml under the specific app |
19:32.04 | pvdh | jkk: I'd be happy about that, if there was enough logging-information. However, no errors are logged. |
19:32.23 | jkk | Hellaenergy: it is possible to do so, though? |
19:32.49 | Hellaenergy | http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html |
19:32.52 | jkk | Hellaenergy: what if you're using the manager app to install apps and you don't have a context section in server.xml? |
19:33.09 | Hellaenergy | jkk: what do you mean? |
19:34.07 | jkk | Hellaenergy: I install my app through through the manager webapp... |
19:35.31 | Hellaenergy | http://jakarta.apache.org/log4j/docs/ |
19:36.42 | OKnight | Is mod_webapp easier to configure than mod_jk? |
19:36.44 | OKnight | ? |
19:36.54 | Hellaenergy | Never used it |
19:36.55 | *** join/#tomcat MooseMorals (osric@pc-80-194-95-144-ny.blueyonder.co.uk) |
19:37.18 | Hellaenergy | MooseMorals: are you Canadian? |
19:37.18 | MooseMorals | Can tomcat be used as a mail server? |
19:37.28 | Hellaenergy | no |
19:38.04 | jkk | there's no real reason it couldn't... i never understood why they didn't integrate james with tomcat |
19:38.10 | MooseMorals | Why not? Is it just no-one has writen the servlet, or is it something more fundermental |
19:38.13 | MooseMorals | ah... |
19:38.46 | jkk | MooseMorals: Jakarta has a mail server, James, which lets you write Mailets (Servlets for email) |
19:39.01 | MooseMorals | Sweet! |
19:39.07 | pvdh | OKnight : AFAIK mod_webapp is prefered on debian, but unfortunately I couldn't manage that. However, I had little problems wit mod_jk |
19:39.16 | Hellaenergy | MooseMorals: I though you where asking if it was built to be a mail server |
19:39.37 | MooseMorals | One more question before i go - I know that jakata is java based, but is there anything like mod_perl support? |
19:39.49 | Hellaenergy | no |
19:40.23 | MooseMorals | Hellaenergy: Nope, I know its 'sold' as a webserver, but I thought it was a more generic server framework (inetd++ maybe :-) |
19:41.21 | Hellaenergy | http is it's strong point :) |
19:42.52 | MooseMorals | Well, thanks for the answers :-) |
19:42.54 | *** part/#tomcat MooseMorals (osric@pc-80-194-95-144-ny.blueyonder.co.uk) |
19:48.14 | OKnight | Thank 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.51 | pvdh | I 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.05 | pvdh_ | It's driving me mad. :-( "The requested resource (/Beraterpool/servlet/mytestservlet) is not available." Any ideas? |
20:12.43 | Hellaenergy | is it in the right place? |
20:12.57 | Hellaenergy | the servlet that is |
20:15.31 | pvdh_ | if the structure has not been changed from tomcat3 to tomcat4 everything should be fine |
20:15.55 | pvdh_ | webapps/Application/WEB-INF/classes/Package/class |
20:16.49 | Hellaenergy | sounds like your on the right track |
20:17.20 | Hellaenergy | does the classpath need to point to it? |
20:18.50 | pvdh_ | well, by following this hierarchy it should not be nessessary to set the classpath. At least it was not in tomcat3 |
20:19.06 | Hellaenergy | k |
20:24.14 | pvdh_ | very strange |
20:24.37 | Hellaenergy | tomcat is really a sysadmins nightmare |
20:27.52 | pvdh_ | definitly. and in all related apache-java-projects I just hate the documentation. |
20:30.40 | Hellaenergy | once you get it going though its powerful, very powerful. |
20:36.10 | pvdh_ | 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.24 | pvdh_ | seems to have changed a little bit, though |
20:43.14 | pvdh_ | 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.26 | pvdh | Situation improving. I get error-messages. :-) |
21:22.33 | pvdh | Hmmmmm, 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.45 | pvdh | Hmmmm, seems that security-optinons prevent loading thar jar-file. But that should be disabled.... |
21:55.10 | pvdh | anybody online? |
22:08.02 | pvdh | Problem 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.26 | jkk | anybody awake? |
23:11.46 | *** join/#tomcat pvdh (AC14C83B@nat-wohnheime.rz.uni-karlsruhe.de) |
23:12.07 | pvdh | Hi all, tomcat4 is now (mostly) working. :-) |
23:12.29 | pvdh | Can 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.48 | pvdh_ | anybody online? |