Renaming a VTA

When multiple VTA configurations are deployed on the same application server, each VTA must have a unique JNDI name. You can use a script to change the JNDI name of a VTA by generating a new EAR file in the /opt/UMC/conf/vta directory based on the renaming rules specified in the /opt/UMC/conf/vta/rules.xml file.

To rename a VTA, specify the absolute path of the EAR file by executing the rename command in the /opt/UMC/conf/vta folder:

./rename <earFilePathName> [<rulesFilePathName>]

where <earFilePathName> is the absolute pathname of the EAR file that you want to rename, and <rulesFilePathName> is the absolute pathname of the renaming rules file.

You must specify <rulesFilePathName> if you change the default location from the /opt/UMC/conf/vta file or you are using a different rules file. By default, the renaming rules rename the Quota VTA called quotavta.ear to bucketvta.ear.

cd /opt/UMC/conf/vta
./rename /opt/UMC/conf/vta/quotavta.ear