Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Failed to load users/passwords/role files

 
Dean Morton
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While the JBoss application is running a series of queries against SQL Server via JDBC a FileNotFoundException is thrown with the message "Failed to load users/passwords/role files
java.io.FileNotFoundException: C:\...\users.properties (The system cannot find the file specified)" . Why would it be attempting to do authentication in this context (does it verify on every connection to the database)?
Thanks for any help.
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A wild guess here is that you've got the "other" realm set up by default in login-config.xml and that it is being used by default because you haven't specified a security-domain in your jboss-ejb.xml. And the wild guess goes on to speculate that when there is no security domain specified, this default UsersRolesLoginModule tries to look up 'anonymous' in the file name mentioned.
 
Everybody's invited. Except this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!