Re: configuration files for war deployments

2005-08-27 Thread Patrick Lacson
jdbc config options, common file system info, http urls for external sites, things of that nature. we have a complex multitenant system that needs to be configured by our sysadmins. granted this app is hosted and not deployed at customers, but currently we are hosting it on tomcat and later

Re: Cluster tcpThreadCount

2005-08-27 Thread Peter Rossbach
Hey Randy, tcpThreadCount is the number of parallel NIO receiver threads. Every tomcat cluster node with pooled mode has 25 sender threads (Default). Normally two receiver thread per backup node are calc. More recevier worker means that you produce more load for replication at backup! At

Re: Manager webapp and virtual hosts

2005-08-27 Thread Mahesh S Kudva
This setup has been tested on Apache2+JBoss+mod_jk-1.2.14_for MacOSX. And am sure it will work on other platforms as well. This setup also handles Apache related webapps.. Make the required entries in the DNS webapp.war: Extract the war file using zip and rename the folder with .war

request.getServletPath() changes during request lifecycle, BUG or Specified behaviour ?

2005-08-27 Thread Darryl L. Miles
At the start of my HttpServlet class code: request.getServletPath() = /myServlet But then my HttpServlet code runs a MVC pattern and decides to forward off to a JSP page /someDir/myPage.jsp so inside any tag's inside that JSP page now get: request.getServletPath() = /someDir/myPage.jsp

RE: Cluster tcpThreadCount

2005-08-27 Thread Randy Paries
Thanks for the response. What version was fastasyncqueue implemented? I am still running jakarta-tomcat-5.0 There are so many different values Is this a good default to start with (from the doc page)?? Sender className=org.apache.catalina.cluster.tcp.ReplicationTransmitter

Re: Cluster tcpThreadCount

2005-08-27 Thread Peter Rossbach
Hey, Use the 5.5.9 with cluster fix pack for fastasyncqueue cluster mode. Yes, you can use the default config, but change the ackTimeout to 45000 when you have heavy load and big session replicated messages. At 5.5.11 I have change a lot inside the cluster implementation, but this version

Re: request.getServletPath() changes during request lifecycle, BUG or Specified behaviour ?

2005-08-27 Thread Hassan Schroeder
Darryl L. Miles wrote: At the start of my HttpServlet class code: request.getServletPath() = /myServlet But then my HttpServlet code runs a MVC pattern and decides to forward off to a JSP page /someDir/myPage.jsp so inside any tag's inside that JSP page now get: request.getServletPath() =

JAVA_HOME beginner

2005-08-27 Thread ganesan malairaja
i am using win XP. tomcat 5.0.xx and jdk1.4_02 i tried running several jsp pages ..it resturns this errors Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK how do i over come this ..pls help thx

Re: JAVA_HOME beginner

2005-08-27 Thread Anto Paul
Did you set JAVA_HOME environment variable. It should point to the JDK installation directory for eg. c:\j2sdk1.4.2_02. Try setting it in startup.bat as the first line. On 8/27/05, ganesan malairaja [EMAIL PROTECTED] wrote: i am using win XP. tomcat 5.0.xx and jdk1.4_02 i tried running

Re: JAVA_HOME beginner

2005-08-27 Thread Brian Cook
Did you download the windows installer for Tomcat5.x? Or just Tomcat in a zip file. If you did not get the installer you need to manually set JAVA_HOME. Or go back and download the acuall windows installer, which of the two will be much eaier. I am not sure about XP. In Win2k you 1.

Re: invalidate session after calling listeners

2005-08-27 Thread Hassan Schroeder
Franklin Phan wrote: I'm trying to code a method to clean up specifically named files inside a working dir (in Windows XP) whenever the session times out. Rather than a global listener approach, why not just add an instance of your listener *to each session*? When the session ends and that

Re: configuration files for war deployments

2005-08-27 Thread QM
On Fri, Aug 26, 2005 at 11:47:54PM -0700, Patrick Lacson wrote: : jdbc config options, common file system info, http urls for external : sites, things of that nature. we have a complex multitenant system : that needs to be configured by our sysadmins. What about having separate config files that

configure tomcat

2005-08-27 Thread Joshua Pereira
hello im a beginer . im using windows XP, tomcat 5.0.28, MySql 4.1 Can anyone tell me what version of JDK should i use and how do i configure my tomcat. can anyone show me an example configuration for windows XP . Thanks in advance..

Re: configure tomcat

2005-08-27 Thread Brian Cook
Tomcat 5.x requires JDK 1.4.2 or newer. I would get 1.5.4 or what ever the newest JDK is. Especially if you will be doing any GUI development. You do not need to configure anything in Tomcat if you are ok with its default values. If you want to make any changes to Tomcat you can do so by

response.sendError() problem on Tomcat 5.5.9

2005-08-27 Thread Garret Wilson
In MyHTTPServlet.service() (extends HttpServlet.service()), I catch an exception and try to send back an error, like this: catch(final MissingResourceException missingResourceException) { response.sendError(404);//send back a 500 Internal Server Error } This code gets called, and I've

RE: JAVA_HOME beginner

2005-08-27 Thread Bill Clemmons
Hey Scott-- The website seems to be password protected. I get a password screen and can't get past it. Bill -Original Message- From: Anto Paul [mailto:[EMAIL PROTECTED] Sent: Sat 8/27/2005 8:07 AM To: Tomcat Users List Cc:

RE: JAVA_HOME beginner-APOLOGIES

2005-08-27 Thread Bill Clemmons
My apologies to [EMAIL PROTECTED] MSOutlook. Obviously this went to the wrong place. Sigh . . . it's awfully late. Bill -Original Message- From: Bill Clemmons Sent: Sat 8/27/2005 6:26 PM To: Tomcat Users List Cc: Subject:RE: JAVA_HOME beginner Hey Scott-- The