Hi,

Please review the changes I made for the HA-JSAS agent to address the CR 
6825447. The webrev is located at
http://cr.opensolaris.org/~sdevulap/ha-jsas_6825447/

Details of the CR:

If "Domaindir" property is not set , creation of a resource for glassfish fails.
Since it takes the pre-defined configuration path , it fails to create a 
resource with glassfish ,if we don't specify the Domaindir property. 
================================================================

clrs create -g glassfish-DAS-rg -t SUNW.jsas -p Network_resources_used=loghost 
-p Adminuser=admin -p Domain_name=domain1 -p 
Passwordfile=/global/glassfish-1/glassfish/secret -p 
Confdir_list=/global/glassfish-1/glassfish/ -y 
resource_dependencies=hasp-DAS-rs glassfish-DAS-rs

clrs:  physhost3:global - Unable to open 
</global/glassfish-1/glassfish//appserver/config/asenv.conf>: Bad file number.

clrs:  (C189917) VALIDATE on resource glassfish-DAS-rs, resource group 
glassfish-DAS-rg, exited with non-zero exit status.
clrs:  (C720144) Validation of resource glassfish-DAS-rs in resource group 
glassfish-DAS-rg on node pnass3 failed.
clrs:  (C891200) Failed to create resource "glassfish-DAS-rs".

===================================================
If we don't specify this property ,the  configuration file should be set to a 
proper path in case of glassfish.


When Domain_dir extension property is not configured by the user, it's 
value is being picked up from the asenv.conf file. The path to file 
asenv.conf has been changed in glassfish. In the previous releases, till 
Application Server 9.0, it was $INSTALL_DIR/appserver/conf/asenv.conf. 
 From the glassfish release onwards, it has been changed to 
$INSTALL_DIR/conf/asenv.conf. The fix addresses this requirement.

Please let me know your comments by the end of Thursday 9th April, 2009.

Thanks,
Swathi


Reply via email to