File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat: Placing own Realm class

chris Jun
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic