Re: apache + mod_jk + two tomcat instance configuration

2008-05-31 Thread Johnny Kewl
Jiansen... you actually have stuff configure that you dont need like worker.worker001.lbfactor=1 you not load balancing and DocumentRoot /usr/servers/apache-tomcat-6.0.16/webapps/www.domain1.com you dont have to help JK find the webapps I found an article for you http://laxmangunjikar.word

Re: apache + mod_jk + two tomcat instance configuration

2008-05-31 Thread Johnny Kewl
- Original Message - From: "Jiansen Niu" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, June 01, 2008 2:58 AM Subject: Re: apache + mod_jk + two tomcat instance configuration Hi John, Thanks for the comments. I did what you told me, but it does not work. here is what I

Re: apache + mod_jk + two tomcat instance configuration

2008-05-31 Thread Jiansen Niu
Hi John, Thanks for the comments. I did what you told me, but it does not work. here is what I did: workers.properties: workers.java_home=/usr/lib/jdk1.6.0_04 #List workers worker.list=worker001,worker002 #Define worker001 worker.worker001.port=8009 worker.worker001.host=localhost worker.worker0

Re: log4j problem

2008-05-31 Thread Martin
Hi John- set your log4j.properties rootLogger to be OFF log4j.rootLogger=OFF, logfile options are change your level to ALL The ALL has the lowest possible rank and is intended to turn on all logging. DEBUG The DEBUG Level designates fine-grained informational events th

RE: welcome file problem

2008-05-31 Thread Martin Gainty
Hi John you dont need the leading prefix / use index.html HTHMartin__ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Se

RE: Virtual Hosting with Auto Deploy

2008-05-31 Thread Caldarale, Charles R
> From: Vin Miller [mailto:[EMAIL PROTECTED] > Subject: Re: Virtual Hosting with Auto Deploy > > I've tried a bunch of different configurations and it seems > that nothing will result in the war files being unpacked. Permissions problem? Does the uid Tomcat is running under have full access to a

log4j problem

2008-05-31 Thread John Pedersen
Hi, I'm still trying to fix the problem with the welcome file not working, but my logging going wrong has trumped that little problem. I had it working fine using log4j - here's my properties file: log4j.rootLogger=info, logfile log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.append

Re: welcome file problem

2008-05-31 Thread Hassan Schroeder
On Sat, May 31, 2008 at 9:28 AM, John Pedersen <[EMAIL PROTECTED]> wrote: > I am having difficulties getting the welcome file to work. > >/index.htm > It's a file name, /not/ a url pattern -- remove the / from /index.htm Besides that, index.htm is already in the default web.xml (a

Re: giving default write permission to tomcat created files on linux

2008-05-31 Thread Konstantin Kolinko
umask worked for me. May be you are applying it in a wrong place. 2008/5/31 dexter.deepak <[EMAIL PROTECTED]>: > > i am running a shell script through a jsp to modify the contents of the > existing files creatd by the the tomcat server. i tried 'umask' , but it > only gives me the default permis

welcome file problem

2008-05-31 Thread John Pedersen
Hi, I am having difficulties getting the welcome file to work. the url: http://website/index.htm works fine, but http://website leads to a 404 - *The requested resource (/) is not available.* >From my web.xml: ... /index.htm java.lang.Exception /erro

Re: Virtual Hosting with Auto Deploy

2008-05-31 Thread Vin Miller
>Post the fragment for one site, and the matching context.xml, and > describe where you put it (as above). www.tennisladderpro.com War file: /home/tlp/public_html/ROOT.war Context: In war (required by Netbeans): META-INF/context.html I also tried putting contexts in the following places

Re: Avoid ajp13 listens on official IP (should only use localhost)

2008-05-31 Thread Mark Thomas
Marcel Ruff wrote: Dear tomcat team, how can i avoid that ajp13 listens on the official server IP 8009/tcp open ajp13 It should for security reasons only listen on localhost. http://tomcat.apache.org/tomcat-6.0-doc/config/ajp.html You want the address parameter. Mark --

STEPS TO RUN SERVLETS IN TOMCAT 6.0

2008-05-31 Thread kiran kumar
HI SIR/MADAM, THIS IS KIRAN KUMAR.K (B.TECH(INFORMATION TECHNOLOGY) ).I AM DOING A PROJECT WHICH NEEDS THE SERVLETS TO BE INCLUDED IN THAT PROJECT.BUT WHEN I AM REQUESTING THE FILE FROM THE TOMCAT(ie http://localhost:8080/my working directory/my file name) Regarding this please

Re: apache + mod_jk + two tomcat instance configuration

2008-05-31 Thread Johnny Kewl
- Original Message - From: "Jiansen Niu" <[EMAIL PROTECTED]> To: Sent: Saturday, May 31, 2008 8:35 AM Subject: apache + mod_jk + two tomcat instance configuration I have apache2.0 as front end web server, using mod_jk and tomcat 6.0.16 serve Java web applications. Now, I have couple

Avoid ajp13 listens on official IP (should only use localhost)

2008-05-31 Thread Marcel Ruff
Dear tomcat team, how can i avoid that ajp13 listens on the official server IP 8009/tcp open ajp13 It should for security reasons only listen on localhost. I have apache-tomcat-6.0.16 with mod_jk1.2.21 and apache 2.2.4 on OpenSuse 10.3 Here is my configuration: server.xml: workers.propert

giving default write permission to tomcat created files on linux

2008-05-31 Thread dexter.deepak
i am running a shell script through a jsp to modify the contents of the existing files creatd by the the tomcat server. i tried 'umask' , but it only gives me the default permission to the login shells and not granting these permissions to tomcat user. what should i do ? please reply..its urgent.

Tomcat sporadically hangs(long)

2008-05-31 Thread Lars Bo Hansen
Hi, We've been having this issue with tomcat that sporadically hangs once in a while (startet happening just after an apache was put up front, so I'm not quite sure if this is the correct list) Symptoms: Sporadically, Tomcat will hang on a request to a servlet. It will hang for exactly 5 minutes

Re: Virtual Hosting with Auto Deploy

2008-05-31 Thread Pid
Vin Miller wrote: Hello, I have searched the internet extensively and have not been able to find an answer to my problem. I have a Virtual Private Server hosting account pre configured with Tomcat 5.5.26. My goal is to have multiple domain names, each with their own java app, served by this on