Try this. Change the ldap host name within ldap_identify-config.xml as follows:
<option>
| <name>host</name>
| <value>${ldap.host:defaultldaphost}</value>
| </option>
where 'defaultldaphost' is your current ldap host's name. This name will be
used if you do not set the ldap.host system property. Then when you want to use the other
LDAP host, run JBossAS as follows:
run -Dldap.host=otherldaphost
where 'otherldaphost' is the name of the other LDAP host.
Caveat: the above suggestion is based on the assumption that the ldap configuration file
handles system property expansion like the other JBossAS configuration files do; I have
not actually tried this.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177180#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...