Meaningless Drivel is fun!*
The moose likes JNLP and Web Start and the fly likes javax.security.auth.login.LoginException: No LoginModules configured 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 » Java » JNLP and Web Start
Bookmark "javax.security.auth.login.LoginException: No LoginModules configured" Watch "javax.security.auth.login.LoginException: No LoginModules configured" New topic
Author

javax.security.auth.login.LoginException: No LoginModules configured

Saravanakumar Jeyavel
Greenhorn

Joined: Aug 20, 2012
Posts: 6
Hello ,

i am using jnlp to launch my application. recently updated to java 7. it was working fine, but since updated to java 7 i am getting the error javax.security.auth.login.LoginException: No LoginModules configured webutc though all the jars are being signed correctly. Below is my jnlp file


I am using jboss 7 and the login.config.xml contains the webutc info as below.


i have been trying to solve this issue past 2 days. i really appreciate if someone suggest me how to fix this issue.

Thanks

Garfield Logan
Greenhorn

Joined: Feb 20, 2014
Posts: 1
Did you solve the problem?

I found this bug that seems related with the problem. It has a workaround, but I did not understand where I must put the code. Can anyone help?

http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8017776
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Welcome to Ranch!

I believe that the initPreLoader fix actually needs to be applied to JDK sources, so this isn't a workaround. However, the quickAndDirtyFixForProblemWithWebStartInJava7u25 method seems promising, I'd try to call it at the beginning of the main method of the program. But I'm just guessing.
 
 
subject: javax.security.auth.login.LoginException: No LoginModules configured
 
Similar Threads
find out the variables' value in the jnlp file
Doesn't work properly of my JNLP webstart
Use Eclipse to run JNLP
How to un jnlp app offline?
Use Java web start to start application on the command line by the file name