configure-ha-persistence
I want to know if this command is going to really overwirte the configuration set in the sun-web.xml. I found this command doesn't work at all or i am missing something important.
configure-ha-persistence -user admin -host localhost -port 4850 -type ha -store jdbc/cluster1-hastore 杝cope session 杅requency web-method cluster1
# 1
asadmin configure-ha-persistence will effect changes to the configuration in the domain.xml and not your application's web.xml/sun-web.xml.
asadmin configure-ha-persistence --help
will give you detailed information about this command.
Below is a snippet of the domain.xml file
<web-container-availability availability-enabled="true" http-session-store-pool-name="jdbc/hastore" persistence-frequency="web-method" persistence-scope="session" persistence-store-health-check-enabled="false" persistence-type="ha" sso-failover-enabled="false"/>
Cheers,
Vasanth