my dog learned polymorphism*
The moose likes Tomcat and the fly likes Tomcat: Placing own Realm class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat: Placing own Realm class" Watch "Tomcat: Placing own Realm class" New topic
Author

Tomcat: Placing own Realm class

chris Jun
Greenhorn

Joined: Apr 15, 2004
Posts: 1
--------------------------------------------------------------------------------
Hi.
For my web application I made my own Realm class.
I also defined it in server.xml in the Tomcat config.
Now everything works fine and I can use my own realm implementation for login forms.
But the thing is, I had to place the jar with the Realm class in the /server/lib directory.
I like to put the jar in the WEB-INF/lib directory of my web application, just like the rest of my jar files.
But then Tomcat can't find my Realm class that I defined in the server.xml.
Has anyone got a solution for me how to config Tomcat so I can put the Realm class in the directory of my web app?
thanks, bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat: Placing own Realm class
 
Similar Threads
can WebLogic 6.0 use a JDBC realm?
Define new tomcat webapp location?
Exception: com.microsoft.jdbc
Tomcat Custom Realm
Can I use JDBC realm in WebLogic?