Hello Chan, I guess putting them to ejb-jar only should work, as classes in ejb-jar are available from war. Otherwise you can put them to WEB-INF/classes
alex Tuesday, June 11, 2002, 5:21:17 PM, you wrote: CCS> Hi Alex CCS> I have placed the users.properties and CCS> roles.properties in war and ejb-jar main, meta-inf and CCS> web-inf directories but I still get the same error. CCS> Regards and have a nice day. CCS> Cheers CCS> Chee Siong CCS> --- Alex Loubyansky <[EMAIL PROTECTED]> wrote: >> Hello Chan, >> >> AFAIK, META-INF isn't in classpath. Move the files >> to war or ejb-jar >> files. >> >> alex >> >> Tuesday, June 11, 2002, 3:35:46 PM, you wrote: >> >> CCS> Hi all >> >> CCS> I have included both roles.properties and >> CCS> users.properties in the ear META-INF directory >> but I >> CCS> still get property file users.properties not >> found >> CCS> error. >> >> CCS> Anyone knows how to fix this ? >> >> CCS> Cheers >> CCS> Chee Siong >> >> CCS> --- Chan Chee Siong <[EMAIL PROTECTED]> wrote: >> >> Hi all >> >> >> >> Currently, I�m doing an urgent migration of >> my >> >> project my ear from jboss-2.4.4 (bundled with >> tomcat >> >> 3.2.3) to jboss-2.4.6 (bundled with tomcat >> 4.0.3). >> >> >> >> I was able to access the first login jsp >> page but >> >> upon entering the login button, I have this >> >> �[UsersRolesLoginModule] Failed to load >> >> users/passwords� exception thrown. I understand >> >> that >> >> there is a reply to this in JBoss�s forum >> >> >> CCS> >> CCS> (http://jboss.org/forums/thread.jsp?forum=66&thread=13365) >> >> but unfortunately I cannot access to it as there >> are >> >> some maintenance efforts going on at the JBoss�s >> >> forum >> >> site. >> >> >> >> For those who know the resolution, I would >> deeply >> >> appreciate for an email on this issue. >> >> >> >> Regards and have a nice day. >> >> >> >> >> >> Cheers, >> >> CS >> >> >> >> [INFO,XAPoolDataSource] Creating XA Pool >> >> [ERROR,UsersRolesLoginModule] Failed to load >> >> users/passwords/role files >> >> java.io.IOException: Properties file >> >> users.properties >> >> not found >> >> at >> >> >> CCS> >> CCS> org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(User >> >> sRolesLoginModule.java:212) >> >> at >> >> >> CCS> >> CCS> org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRole >> >> sLoginModule.java:193) >> >> at >> >> >> CCS> >> CCS> org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRol >> >> esLoginModule.java:95) >> >> at java.lang.reflect.Method.invoke(Native >> >> Method) >> >> at >> >> >> CCS> >> CCS> javax.security.auth.login.LoginContext.invoke(LoginContext.java:582) >> >> at >> >> >> CCS> >> CCS> javax.security.auth.login.LoginContext.access$000(LoginContext.java:1 >> >> 25) >> >> at >> >> >> CCS> >> CCS> javax.security.auth.login.LoginContext$3.run(LoginContext.java:531) >> >> at >> >> >> java.security.AccessController.doPrivileged(Native >> >> Method) >> >> at >> >> >> CCS> >> CCS> javax.security.auth.login.LoginContext.invokeModule(LoginContext.java >> >> :528) >> >> >> >> >> >> >> __________________________________________________ >> >> Do You Yahoo!? >> >> Yahoo! - Official partner of 2002 FIFA World Cup >> >> http://fifaworldcup.yahoo.com >> >> >> >> >> CCS> >> CCS> _______________________________________________________________ >> >> >> >> Don't miss the 2002 Sprint PCS Application >> >> Developer's Conference >> >> August 25-28 in Las Vegas -- >> >> http://devcon.sprintpcs.com/adp/index.cfm >> >> >> >> _______________________________________________ >> >> JBoss-user mailing list >> >> [EMAIL PROTECTED] >> >> >> CCS> >> CCS> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> >> CCS> >> __________________________________________________ >> CCS> Do You Yahoo!? >> CCS> Yahoo! - Official partner of 2002 FIFA World >> Cup >> CCS> http://fifaworldcup.yahoo.com >> >> CCS> >> CCS> _______________________________________________________________ >> >> CCS> Don't miss the 2002 Sprint PCS Application >> Developer's Conference >> CCS> August 25-28 in Las Vegas - >> CCS> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink >> >> CCS> _______________________________________________ >> CCS> JBoss-user mailing list >> CCS> [EMAIL PROTECTED] >> CCS> >> CCS> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> -- >> Best regards, >> Alex Loubyansky >> >> CCS> __________________________________________________ CCS> Do You Yahoo!? CCS> Yahoo! - Official partner of 2002 FIFA World Cup CCS> http://fifaworldcup.yahoo.com CCS> _______________________________________________________________ CCS> Don't miss the 2002 Sprint PCS Application Developer's Conference CCS> August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink CCS> _______________________________________________ CCS> JBoss-user mailing list CCS> [EMAIL PROTECTED] CCS> https://lists.sourceforge.net/lists/listinfo/jboss-user -- Best regards, Alex Loubyansky _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
