Re: Expression Language ${initParam.whatever} not working

2020-02-10 Thread Simon Funnell
In your web.xml you want: greeting_color green I think you have defined an initialization parameter for the servlet, not the context. On Mon, 10 Feb 2020 at 17:54, Richard Monson-Haefel wrote: > Hi, > > Tomcat version: 9.0.30 > Operating System: macOS 10.15.2 > > While I can

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 23:30, Chris Cheshire wrote: > On Thu, Aug 15, 2019 at 2:54 PM Simon Funnell > wrote: > > > > On Thu, 15 Aug 2019 at 01:00, Chris Cheshire > wrote: > > > > > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > > > wrote: >

Re: Redirecting a naked domain to sub domain

2019-08-15 Thread Simon Funnell
On Thu, 15 Aug 2019 at 01:00, Chris Cheshire wrote: > On Wed, Aug 14, 2019 at 5:18 PM Simon Funnell > wrote: > > > > On Tue, 6 Aug 2019 at 14:33, John Larsen > wrote: > > > > > I usually handle the redirect on the webserver side and set the alias &g

Re: Redirecting a naked domain to sub domain

2019-08-14 Thread Simon Funnell
t. Any help is great thanks. > > On Tue, Aug 6, 2019 at 7:11 AM Simon Funnell > wrote: > > > Hi, > > > > I was going to do a redirect at my dns provider from the naked domain to > > the www subdomain. Unfortunatly this doesn't really work if it is over >

Redirecting a naked domain to sub domain

2019-08-06 Thread Simon Funnell
Hi, I was going to do a redirect at my dns provider from the naked domain to the www subdomain. Unfortunatly this doesn't really work if it is over https so I am going to have to do the redirect at the host level. My question is, is this what the rewrite valve is for? I was going to set up two

Memory Usage

2019-04-24 Thread Simon Funnell
Hi, I am looking at running a small ecommerce site with about 40-80 users at a time on a virtual private server with 4 cores and 1GB of memory, I am planning on running apache james, mysql and tomcat on this instance. My question is will 256MB maximum heap memory with say 50 threads be enough to

OpenID

2010-10-31 Thread Simon Funnell
Hi, Are there any projects specific for Tomcat, like a Realm/Authenticator combination with appropriate licensing, that implements openid features? Regards, Simon - To unsubscribe, e-mail:

Re: How to protect the plain text username and password in the server.xml

2010-10-29 Thread Simon Funnell
It is possible to define the element as an entity in server.xml: |!ENTITY secure_resource SYSTEM http://somewhere.com/resource.xml;| and then replace the Resource element with the entity: |secure_resource Because the entity resolves to an external source, this source can be generated

Re: how can i turn off This is very likely to create a memory leak.

2010-10-28 Thread Simon Funnell
On 28/10/10 14:53, Leon Rosenberg wrote: ok, i revoke my nevermind message, even after I removed JreMemoryLeakPreventionListener I still get the warning. Even weirder: Oct 28, 2010 3:50:55 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Oct 28, 2010 3:50:55 PM

Fwd: Re: deploying as ROOT application

2010-10-26 Thread Simon Funnell
On 26/10/10 20:31, Aggarwal, Ajay wrote: Where is the official Tomcat documentation on how to make your application a ROOT application? I am using Tomcat 6.0 and can't seem to locate the section on deploying as ROOT application. -Ajay Put your application in the webapps/ROOT folder

APR Features

2010-10-19 Thread Simon Funnell
Hi, I wanted to know if it was worth using the sendfile features for small static files or is the APR already optimised for serving static content? I basically have a jsp that makes a choice between serving up a static (.html) and custom version of the page dependant on whether the user is

Confidential Login

2010-10-18 Thread Simon Funnell
Hi, I have not been able to implement the following so I was wondering if it was possible or would I need a custom Realm/Authenticator implementation? I have some content that is restricted by role but not over a secure connection, however, if a user tries to access the content and is

APR Features

2010-10-18 Thread Simon Funnell
Hi, I wanted to know if it was worth using the sendfile features for small static files or is the APR already optimised for serving static content? I basically have a jsp that makes a choice between serving up a static (.html) and custom version of the page dependant on whether the user is