Maybe one of these days I'll finally understand classpath! :) It was as
simple as putting catalina.jar in my WEB-INF\lib folder. Doh. Sorry all.

-----Original Message-----
From: Barnett, Brian W.
To: 'Tomcat Users List '
Sent: 9/23/2005 9:23 PM
Subject: Problem with RealmBase and digested passwords

Hello,
I'm trying to get my passwords digested, and I think I'm nearly there. I
ran
the command line utility to calculate a digested password and then put
it in
an existing user's record using MySQL Query Browser. I then logged in as
that user and everything was fine. So, Tomcat is authenticating with
digested passwords just great.

The problem is that when I add a new user through the web app, it errors
out
with this message:

java.lang.NoClassDefFoundError: org/apache/catalina/realm/RealmBase

when I try to calc the digested version of the password prior to storing
the
new user to the database. I suspect it's a classpath issue but I'm not
sure
what to do. The class compiles fine in Eclipse. I added
$CATALINA_HOME/server/lib/catalina.jar to my classpath in Eclipse. Do I
need
to do something else? Any help would be greatly appreciated.

(Using Tomcat 5.0.28)

TIA,
Brian Barnett

************************************************************************
**** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
************************************************************************
****

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to