[jboss-dev-forums] [JBoss AS7 Development] - System Property is not resolved in standalone.xml

Alvar Hanso do-not-reply at jboss.com
Wed Oct 26 06:08:26 EDT 2011


Alvar Hanso [http://community.jboss.org/people/alvar_hanso] created the discussion

"System Property is not resolved in standalone.xml"

To view the discussion, visit: http://community.jboss.org/message/633640#633640

--------------------------------------------------------------
I am setting a system property in standalone.xml:

| <property name="security.login.module"  | value="ch.abraxas.base.jboss.LDAPLoginModule"/> |

I try to use it like this:
<login-module code="${security.login.module}" flag="required">

But when I log into the application I get this error:

ERROR [org.jboss.security.authentication.JBossCachedAuthenticationManager] (http--127.0.0.1-9090-1) Login failure: javax.security.auth.login.LoginException: Die Anmeldemodulklasse kann nicht gefunden werden: ${security.login.module} from [Module "deployment.base-test-ear.ear.base-csm-impl-web-1.0.1-SNAPSHOT.war:main" from Service Module Loader]

It seems that the system property is not resolved. But in the JBoss web administration console I can see this system property and its value.

What is wrong?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/633640#633640]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20111026/848b89c3/attachment.html 


More information about the jboss-dev-forums mailing list