Exception loading custom Realm

2005-10-10 Thread Surya Mishra
Hi, I created my own realm by extending UserDatabaseRealm. But when I start the tomcat server, I get the following exception. If I use UserDatabaseRealm, everything works fine. That means Tomcat can and does load the UserDatabaseRealm class without any problem. java.lang.NoClassDefFoundError:

Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
Where did you put the classes? They have to go in either common/lib, or server/lib. Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: Hi, I created my own realm by extending UserDatabaseRealm. But when I start the tomcat server, I get the following exception. If I use

Re: Exception loading custom Realm

2005-10-10 Thread Surya Mishra
common/lib But it doesn't have problem loading my custom realm. The problem is actually in loading the UserDatabaseRealm: java.lang.NoClassDefFoundError: org/apache/catalina/realm/UserDatabaseRealm Thanks -Surya On 10/10/05, Larry Meadors [EMAIL PROTECTED] wrote: Where did you put the

Re: Exception loading custom Realm

2005-10-10 Thread Larry Meadors
Are both classes loaded by the same classloader? Larry On 10/10/05, Surya Mishra [EMAIL PROTECTED] wrote: common/lib But it doesn't have problem loading my custom realm. The problem is actually in loading the UserDatabaseRealm: java.lang.NoClassDefFoundError: