Tomcat 5 and Context Descriptors

2004-04-12 Thread John H
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

Re: Tomcat 5 and Context Descriptors

2004-04-12 Thread John H
. 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

Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-15 Thread John H
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.

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-15 Thread John H
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

Re: context/domain mapping issues

2004-04-16 Thread John H
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

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-16 Thread John H
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

Re: Extending GenericPrincipal/RealmBase: Essentially a classloader question

2004-04-19 Thread John H
- 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

Context override=true: All or none?

2004-04-21 Thread John H
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.../

A word of caution upgrading Tomcat

2004-04-23 Thread John H
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