File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JConsole Exception - unable to find LoginModule

Rajesh Seth
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have created a Custom Login Module and trying to access MBeans using JConsole(Remote) authenticated from LoginModule. I am using Tomcat server and Login Module jar file is present in classpath. It is throwing Exception - java.lang.SecurityException: Authentication failed! unable to find LoginModule. If I place the Login Module jar in jre/lib/ext it works fine. Is there anyway I can have it working placed in Tomcat only and not in jre/lib/ext folder?

Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic