[jboss-user] [JNDI/Naming/Network] - Re: look Database not effect (Urgent). Please!

changemylife do-not-reply at jboss.com
Fri Feb 9 21:47:44 EST 2007


   Hi!
   Previous, I tested the UsersRolesLoginModule inside the jboss.xml. I also <security-domain>java:/jaas/DB-Domian</security-domain> but not effect. Then, I try used DB-Domain, all things ok.
   Now, I also by your way is <security-domain>java:/jaas/DB-Domian</security-domain> and <security-domain>DB-Domain</security-domain> but not effect !
   I don't use web server. I write a simple bean and deploy it on the "Violon"(hostname) machine. And write the client on the "abc" machine. I am using Eclipse to edit my project. When I use Eclipse to packing my bean to .jar file. Have two cases:
   1. File ejb-jar.xml inside META-INF, two files "jboss.xml" and "login-config.xml" outside META-INF. Any informations (username and passwd) that I enter can able call any method on the my bean.
   2. Three file: "ejb-jar.xml", "jboss.xml" and "login.config.xml" inside META-INF, I received some messages:
anonymous wrote : Exception in thread "main" javax.ejb.EJBAccessException: Authentication failure
.....
anonymous wrote : Caused by: javax.security.auth.login.LoginException: Missing users.properties file.
....
althought I entered username and passwd correct with my database (Users and Roles tables).
have any ideals ? Thanks. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4013995#4013995

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4013995



More information about the jboss-user mailing list