Good afternoon,
We are currently looking at upgrading our Tomcat 4.1.24 installation to
5.0.19. I've installed a test environment to see what sort of migration
issues there will be, and so far I've only encountered one.
Under 4.1.24, we have a Host entry in server.xml that looks like this:
Host
.
But you can't just put context XML files in the host's appBase.
Yoav Shapira
Millennium Research Informatics
-Original Message-
From: John H [mailto:[EMAIL PROTECTED]
Sent: Monday, April 12, 2004 2:42 PM
To: [EMAIL PROTECTED]
Subject: Tomcat 5 and Context Descriptors
Good afternoon,
We
HI all,
He have implemented our own realm and principal buy extending
org.apache.catalina.realm.RealmBase and GenericPrincipal.
(Using TC5.0.19 on Solaris and Windows. Realm defined in Context.)
By doing this, however, we've got ourselves into sort of a catch 22 in terms of
classloading.
implement another subclass of
java.security.Principal, and have that class loaded in the common
classloader.
Benjamin J. Armintor
Systems Analyst
ITS-Systems: Mainframe Group
University of Texas - Austin
tele: (512) 232-6562
email: [EMAIL PROTECTED]
-Original Message-
From: John H [mailto:[EMAIL
We do this using apache's rewrite module. in httpd.conf:
IfModule !mod_rewrite.c
LoadModule rewrite_module modules/mod_rewrite.so
/IfModule
VirtualHost *
ServerName a.mycom.com
RewriteEngine On
RewriteRule ^/$ /a [R,L]
/VirtualHost
from there, mod_jk takes over and maps the
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, April 15, 2004 2:55 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a classloader
question
John H wrote:
HI all,
He have implemented our own realm and principal buy extending
- Original Message -
From: Jeanfrancois Arcand [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, April 16, 2004 5:52 PM
Subject: Re: Extending GenericPrincipal/RealmBase: Essentially a classloader
question
Have you tried the privileged attribute in context.xml
Using Tomcat 4.1.24. I know I can set override=true on a context to override
settings in my Default Context. This appears, however, to be an all-or-none
proposition.
Setup 1 (override = false):
default context
environment name=test value=ON .../
environment name=anothertest value=ON.../
I hate to open a can of worms, but I see no other choice. Something needs to
be done about features that appear and disappear seemingly randomly between
versions.
Here are a few examples. Despite what the documentation says (which may or
may not be accurate), these features really worked, and now