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 wrote: > 2011/7/14 Mark Thomas : > > 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 > >

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 Java VM arguments programmatically in Tomcat

2011-06-30 Thread Anand HS
les R < 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 u

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 the

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

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

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 - 1

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 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 Application . The

Re: Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
e under work folder 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 > > >

Re: Tomcat cleaning up work folder by itself

2010-02-01 Thread Anand HS
dar...@unisys.com> wrote: > > From: Anand HS [mailto:anan...@gmail.com] > > Subject: Re: Tomcat cleaning up work folder by itself > > > > My context is located under /conf/Catalina/ > > abc-web/ROOT.xml > > In which case the docBase attribute is not allowed, unless

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 > &g

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 a

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 ob

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 weba

Re: A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Anand HS
Thanks Andre and Tim for the quick response. I do not have an apache server right now. So URL Rewrite tool seems like a good solution. However, I understand that the URL rewrite mechanism ends up losing any parameters when a HTTP POST request is sent to my domain resource. While I am right now down

A question about redirecton from users.mydomain.com to mydomain.com/users

2009-03-03 Thread Anand HS
Hi, I have a requirement where I need to configure my Tomcat server to accept any requests to users.mydomain.com and internally see what the value of 'users ' is and then serve the content from that user subdirectory on www.mydomain.com. For eg, if the URL is johndoe.mydomain.com my tomcat should

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 wrote: > Hi, Thanks for the info about the transport-guarantee. > I did try to use it

Re: A question about excluding URL patterns from filters

2009-02-05 Thread Anand HS
com> wrote: > > From: Anand HS [mailto:anan...@gmail.com] > > Subject: A question about excluding URL patterns from filters > > > > I have a filter that takes all requests that try to hit http and > > redirects them through https. > > Why are you using a filter

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. - SecuredChannelFilter com.psi.servlet.filter.SecuredChannelFilter SecuredChannelFilter * Now, I have a requirement to exclude only *.xsl from this f

Re: What exactly happens when I configure a different host

2008-12-04 Thread Anand HS
, 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 , we have to have

Re: What exactly happens when I configure a different host

2008-12-03 Thread Anand HS
, 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 Name and defaultHost back to > > localhost and the error vanishes. > > Howe

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
Yes. I changed the Name and 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] >

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
R < [EMAIL PROTECTED]> wrote: > > 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 - > > > > > > action > > com.psi.servlet.Log4jInitializer

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
harles 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/web.xml at all? > &g

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

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. > > > > > > directory="\\10.168.48.254 > \web_app_logs\QA1\Logs\SDQA1-WEB\TO

Re: What exactly happens when I configure a different host

2008-12-01 Thread Anand HS
Thats exactly what I have. Here is the server.xml configuration - Cheers- Anand On Mon, Dec 1, 2008 at 1:42 PM, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Anan

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 in