Set up multiple Tomcat Services with Shared tomcat

2011-07-13 Thread Anand HS
Hi, I have a set up where there are multiple catalina bases. All share a single tomcat parent. In this set up, can i still set up tomcat as service such that there is one service for each base. ? I am using the Tomcat 7.0.16 if thats important. Thanks, Anand

Re: Set up multiple Tomcat Services with Shared tomcat

2011-07-13 Thread Anand HS
Thanks Mark and Konstantin for tips. On Wed, Jul 13, 2011 at 5:16 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2011/7/14 Mark Thomas ma...@apache.org: On 13/07/2011 22:46, Anand HS wrote: Hi, I have a set up where there are multiple catalina bases. All share a single tomcat

Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
Hello Everyone. ! I would like to set JVM arguments like Xmx, Xms etc programmatically and provide it to Tomcat at start up. I am aware of doing this by editing for eg, catalina.bat or introducing setenv.bat , but I was keen on exploring any other ways tomcat provides in which I can override

Re: Set Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Set Java VM arguments programmatically in Tomcat I would like to set JVM arguments like Xmx, Xms etc programmatically and provide it to Tomcat at start up. Not quite sure what you mean by programmatically here

Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Anand HS
Hi, We plan to use tomcat to let users download static content ( media, executables etc.. ). I was curious to know if any one has attempted it before and if so, the settings that we need to make to tomcat configurations to make it optimally serve static content. Thanks, Anand

Re: Optimal Settings to use Tomcat as a HTTP File Server

2011-06-09 Thread Anand HS
Thanks Charles and Sriram for your inputs. Since my requirement is to just serve static content, I will consider apache httpd for it. Thanks.! Anand On Thu, Jun 9, 2011 at 10:48 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: Optimal

Installing auto updates for my webapp hosted on Tomcat

2010-04-20 Thread Anand HS
Hi, I have a webapplication deployed in tomcat and have been asked to develop an auto updater that can grab a new update and apply the updates to my webapp. I want to ask the community to see if there are 'hooks' tomcat provides to achieve this. In essence here is what Im expecting to achieve -

Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
Hi , I am facing a wierd problem that I would need help on. Here is my set up - 1. I have a exploded war file inside a folder abc-web and my context.xml points to this folder as docBase. 2. abc-web has abc-ejb.jar as a dependent library and this jar is at abc-web\WEB-INF\lib. 3. abc-ejb.jar has

Re: Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
On Mon, Feb 1, 2010 at 2:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Tomcat cleaning up work folder by itself 1. I have a exploded war file inside a folder abc-web and my context.xml points to this folder as docBase

Re: Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
prefix=localhost_access_log. suffix=.txt pattern=common / /Host /Engine /Service /Server On Mon, Feb 1, 2010 at 2:55 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Re: Tomcat cleaning up work folder by itself My

Re: Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
being deleted. ) . Am i Close. ? Thanks, Anand On Mon, Feb 1, 2010 at 3:28 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: Re: Tomcat cleaning up work folder by itself My webapp ( abc-web ) is located outside the Tomcat

More details required about using cacheMaxSize and cachingAllowed

2010-02-01 Thread Anand HS
Hi, Im trying to understand the significance of using the cache based attributes inside the Context element of Tomcat configuration. My current understanding cacheMaxSize specifies the maximum amount of static resources that can be cached in work folder for a particular Host, and Web

catalina - when to use start and run

2009-10-15 Thread Anand HS
Hi, I use tomcat 6.0.16 and when evaluating different start up options , I came across the fact that you can start tomcat by either catalina start or catalina run. using start spawned the server start up in a new console where as run started in the same console. Other than this is there any

How to make Deployed WebApps read-write enabled

2009-03-23 Thread Anand HS
Hi, I use tomcat 6.0.18 on windows 2003 server and have a web-app deployed. Even though the permissions on the deployed webapp folder has read-write, everytime i access tomcat , it is making the folder readonly. There is some code in the application that writes some temporary files into the my

A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
Hi, I have a filter that takes all requests that try to hit http and redirects them through https. Here is the web.xml configuration for that. - filter filter-nameSecuredChannelFilter/filter-name filter-classcom.psi.servlet.filter.SecuredChannelFilter/filter-class /filter filter-mapping

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
to be happening. Is my configuraiton missing something. ? BTW, i use tomcat 6.0.18. Thanks, Anand On Fri, Feb 6, 2009 at 11:31 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Anand HS [mailto:anan...@gmail.com] Subject: A question about excluding URL patterns from filters I

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
I think I was doing a mistake in the url-pattern. giving the correct URL pattern did the trick. Thanks for the tip on transport-guarantee Chuck. Thanks, Anand On Fri, Feb 6, 2009 at 12:11 PM, Anand HS anan...@gmail.com wrote: Hi, Thanks for the info about the transport-guarantee. I did try

Re: What exactly happens when I configure a different host

2008-12-04 Thread Anand HS
:13 AM, André Warnier [EMAIL PROTECTED] wrote: Caldarale, Charles R wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Does that mean when we change the Host, we have to have a handler added in logging.properties as well

Re: What exactly happens when I configure a different host

2008-12-03 Thread Anand HS
, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host I changed the Host Name and Engine defaultHost back to localhost and the error vanishes. However, it re appears when I give a different

What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
Hi, I am trying to deploy a simple war file into a freshly downloaded tomcat 6.0.18. I noticed a strange behavior when I tried to configure a virtual host by changing the Host Name in server.xml from the default localhost to mydomain.com. The strange behavior goes like this 1. the web.xml

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
. suffix=.txt pattern=common / /Context /Host /Engine /Service Cheers- Anand On Mon, Dec 1, 2008 at 1:42 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: What exactly happens when I

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Thats exactly what I have. Good. Context path= docBase=admin-web Valve className=org.apache.catalina.valves.AccessLogValve directory=\\10.168.48.254 \web_app_logs

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
Thanks, Anand On Mon, Dec 1, 2008 at 5:42 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host java.lang.ClassNotFoundException: com.psi.servlet.Log4jInitializerServlet So where

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
/mime-mapping /web-app On Mon, Dec 1, 2008 at 7:33 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host The thing is this servlet is not present at all. Have you modified conf

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Here is the web.xml from my webapp - servlet servlet-nameaction/servlet-name servlet-classcom.psi.servlet.Log4jInitializerServlet/servlet-class init-param param

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
Yes. I changed the Host Name and Engine defaultHost back to localhost and the error vanishes. However, it re appears when I give a different name than localhost. On Mon, Dec 1, 2008 at 10:14 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject