server.xml, Realms, and WARs

2002-07-11 Thread Mark Shaw
I don't think my problem has a solution, but let me ask anyway: I have a web-app that I deploy as a WAR, and this web-app uses its own Realm implementation. In my server.xml I specify the host's realm to use my realm so that my web-app can be dynamically deployed (I don't define a context entry

RE: server.xml, Realms, and WARs

2002-07-11 Thread Mark Shaw
to locate it (although it's in my web-app/lib). Any ideas? -Mark -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:27 PM To: Tomcat Users List Subject: Re: server.xml, Realms, and WARs On Thu, 11 Jul 2002, Mark Shaw wrote: Date

RE: [offtopic] IDE for Tomcat?

2002-06-13 Thread Mark Shaw
If you haven't used IDEA from IntelliJ please give it a shot. It's truly amazing (BTW, I don't work for them), providing a great set of refactoring capabilities combined with a very useable interface. And it's written in Java, which is very inspiring. -Original Message- From: Joel

OT: Tomcat Wiki

2002-04-17 Thread Mark Shaw
I was looking for a Wiki (http://c2.com/cgi/wiki?WikiWikiWeb http://c2.com/cgi/wiki?WikiWikiWeb ) to allow our developers to easily collaborate and I found an excellent and simple implementation of a servlet-based Wiki on SourceForge called VeryQuickWiki:

Design question: common/lib -- WEB-INF/lib

2002-04-05 Thread Mark Shaw
I have a design question I'm guessing someone has already tackled: Description: I'm developing an application that runs within Tomcat. All the JARs for that application are in it's webapp/WEB-INF/lib, except for a few classes that implement a Realm which referenced in server.xml. Because

RE: Design question: common/lib -- WEB-INF/lib

2002-04-05 Thread Mark Shaw
ClassLoader webappLoader = Thread.currentThread().getContextClassLoader(); Class webappClass = webappLoader.loadClass(com.mycompany.MyClass); This works because the container (Tomcat in this case) always sets the thread context class loader to the one for the webapp being executed on the

RE: Design question: common/lib -- WEB-INF/lib

2002-04-05 Thread Mark Shaw
Craig, nevermind, it's because I was still casting the object using an interface that wasn't in my common/lib. -Original Message- From: Mark Shaw [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 4:24 PM To: 'Tomcat Users List' Subject: RE: Design question: common/lib -- WEB-INF

RE: Kinda not topical

2002-03-31 Thread Mark Shaw
Vladimir I've been using IDEA from IntelliJ (www.intellij.com) for awhile and it's very nice. It's designed to truly enhance the server-side developer's daily experience with great re-factoring and search features. It's also fairy simple to use and navigate unlike all the bloated EJB based

BASIC Authentication Question

2002-03-06 Thread Mark Shaw
I'm hoping someone can shed some light on a particular behavior I'm experiencing with BASIC authentication and session cookies: I've set up my servlet to use BASIC authentication and I'm my own very simple realm implementation: protected String getPassword(String username) { return tomcat; }

RequestDumperValve help

2002-02-28 Thread Mark Shaw
? Thanks for any help on this, -Mark Shaw

Extending Standard Context

2002-01-03 Thread Mark Shaw
my own thread, is this a horrible idea? Does anyone have a better way of managing server components within Tomcat? Thanks for your help, -Mark Shaw [EMAIL PROTECTED]

General question regarding Tomcat 4.0 Tyrex 0.9.7.0

2001-12-18 Thread Mark Shaw
I'm curious if anyone is successfully using Tomcat 4.0 w/ Tyrex 0.9.7.0 as their transaction engine in their production system. I'm interested to know if this is a viable and well-used configuration or if it's only nominally supported (which the lack of Tyrex developer activity seems to