aspose file tools
The moose likes JBoss and the fly likes Failed to load users/passwords/role files Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Failed to load users/passwords/role files" Watch "Failed to load users/passwords/role files" New topic
Author

Failed to load users/passwords/role files

Dean Morton
Greenhorn

Joined: Mar 16, 2004
Posts: 2
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

Joined: Oct 09, 2001
Posts: 564
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.


I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Failed to load users/passwords/role files
 
Similar Threads
JAAS Implementation with JBOSS
invoker-mbean missing
JAAS login error: Failed to load users/passwords/role files
How to use isUserInRole
Failed to load users/passwords/role files