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> (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> org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(User
>> sRolesLoginModule.java:212)
>>         at
>>
CCS> org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRole
>> sLoginModule.java:193)
>>         at
>>
CCS> org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRol
>> esLoginModule.java:95)
>>         at java.lang.reflect.Method.invoke(Native
>> Method)
>>         at
>>
CCS> javax.security.auth.login.LoginContext.invoke(LoginContext.java:582)
>>         at
>>
CCS> javax.security.auth.login.LoginContext.access$000(LoginContext.java:1
>> 25)
>>         at
>>
CCS> javax.security.auth.login.LoginContext$3.run(LoginContext.java:531)
>>         at
>> java.security.AccessController.doPrivileged(Native
>> Method)
>>         at
>>
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> _______________________________________________________________
>> 
>> 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> 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> 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

Reply via email to