Hi Vince,
The description of xml-file-path in the add-resources man page says "
The path to the XML file containing the resource(s) to be created. The
XML file must reside in the <install-dir>/domains/domain1/config
directory. If you specify a relative path or simply provide the name of
the XML file, this command will prepend
<install-dir>/domains/domain1/config to this operand."
I tried the command with the relative path to a (non-existent) xml file.
As specified in this description. the command did prepend
<install-dir>/domains/domain1/config.
asadmin> add-resources --user admin --port 4848 chin.xml
Please enter the admin password>
Operation 'createResource' failed in 'resources' Config Mbean.
Target exception message:
/home/cs194067/SUNWappserver/domains/domain1/config/chin.xml (No such
file or directory)
CLI137 Command add-resources failed.
Thanks,
Chinmayee