I found the problem :

my service is deployed as a .sar file under the
server\default\deploy directory but the log shows this
:

2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.login.XMLLoginConfigImpl]
getAppConfigurationEntry(ftp),
authInfo=AppConfigurationEntry[]:
[0]
LoginModule Class:
org.jboss.security.auth.spi.UsersRolesLoginModule
ControlFlag: LoginModuleControlFlag : required
Options:
2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.spi.UsersRolesLoginModule]
initialize
2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.spi.UsersRolesLoginModule]
Properties
file=file:/C:/java/jboss/build/output/jboss-4.0.0DR3/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/users.properties
2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.spi.UsersRolesLoginModule]
Properties
file=file:/C:/java/jboss/build/output/jboss-4.0.0DR3/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/WEB-INF/classes/roles.properties
2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.spi.UsersRolesLoginModule]
login
2003-11-16 20:28:29,859 DEBUG
[org.jboss.security.auth.spi.UsersRolesLoginModule]
Bad password for username=ftp
2003-11-16 20:28:29,859 TRACE
[org.jboss.security.auth.spi.UsersRolesLoginModule]
abort

JBoss looks under the jms\jbossmq-httpil.sar directory
for the .properties files instead of the conf
directory.
I tried to change the application-policy name and
restart JBoss.

For this second try, it looks at the
jmx-console.war/WEB-INF/classes/ directory for the
.properties files.


How to tell JBoss to look at the conf directory ?

thanks,
ionel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to