-
1. Re: login-config.xml not found error on JBoss AS 7 startup
jaysensharma Dec 19, 2014 2:20 AM (in response to valsaraj007)1 of 1 people found this helpful"login-config.xml" file is not used in JBossAS7 though look like something is triggering this WARNING which is strange.. did you try setting the following kind of system property:
<system-properties> <property name="java.security.auth.login.config" value="${jboss.server.config.dir}/login-config.xml"/> </system-properties>
Refer to like [1] for similar kind of discussion : Re: JBoss AS 7 is still trying to locate login-config.xml
NOTE: Above can be just a workaround but it looks like something is explicitly trying to invoke this login-config.xml... in case of above thread it was Spring framewrok [
org.springframework.security.authentication.jaas.JaasAuthenticationProvider
] so can you check or paste the complete log.Looks like it is coming from Picketbox: picketbox/XMLLoginConfigImpl.java at 4.0.7.Final · picketbox/picketbox · GitHub
-
2. Re: login-config.xml not found error on JBoss AS 7 startup
valsaraj007 Dec 19, 2014 3:15 AM (in response to jaysensharma)It is not in my system-properties but I suspect the third party jars that used for authentication part. Let me check.
As per Re: JBoss AS 7 is still trying to locate login-config.xml, I can use login-config like this:
<system-properties>
<property name="java.security.auth.login.config" value="/Applications/Extensis/Universal Type Server/applications/jboss/standalone/configuration/login-config.xml"/>
</system-properties>
So there is no need to configure security-domains?