Configuring Web Applications for the VTA
To configure Web applications for the VTA:
- If you have not already done so, create a folder for the VTA on a host, and copy the EAR file for the VTA from the webapp folder on the application library CD to the VTA folder.
mkdir vtacp /cdrom/cdrom0/webapp/quotavta.ear vta- From the EAR file, extract the file <vtaName>CustCare.war into the folder you created in Step 1.
cd vtajar xvf quotavta.ear quotaCustCare.war- From the file <vtaName>CustCare.war, extract the file CONSTANTS.incl.
jar xvf quotaCustCare.war CONSTANTS.incl- Edit the properties in the file CONSTANTS.incl.
See Properties for VTA Portals for a description of the properties in the CONSTANTS.incl file.
- Replace the file CONSTANTS.incl into the file <vtaName>CustCare.war.
jar uvf quotaCustCare.war CONSTANTS.incl- Replace the file <vtaName>CustCare.war into the EAR file.
jar uvf quotavta.ear quotaCustCare.warProperties for VTA Portals
This section describes the properties in the CONSTANTS.incl file.
PERIODIC_QUOTA
- Quota initially deposited into a subscriber's periodic account when the subscriber activates the account through the subscriber portal. This value must match the value that the administrator specifies when replenishing periodic accounts. (See Replenishing Periodic Accounts).
- Value—Integer in the range 1-9223372036854775807 followed by the letter L or calculation in Java code
- Default—5000000000L
SUBSCRIBER_ACTIVATE_DESCRIPTION
- Description recorded for a balance change in the periodic account when the subscriber activates the account through the subscriber portal. This description records the change in the account status; however, the actual change in the balance is zero.
- Value—Text string
- Default—Activated by subscriber
PERIODIC_QUOTA_INITIAL_TOP_UP_DESCRIPTION
- Description recorded for a balance change in the periodic account when the subscriber activates the account through the subscriber's portal. This change in the balance is the value of the PERIODIC_QUOTA property.
- Value—Text string
- Default—Periodic replenishment to 5,000 MB
SUBSCRIBER_DEACTIVATE_DESCRIPTION
- Description for a balance change in the periodic account when the subscriber deactivates the account through the subscriber's portal. This description records the change in the account status; however, the actual change in the balance is zero. When the periodic account is inactive but the balance is nonzero, the VTA continues to use the account until the administrator invalidates inactive accounts through the administrator's portal.
- Value—Text string
- Default—Deactivated by subscriber
PERIODIC_QUOTA_INACTIVE_TOP_UP_DESCRIPTION
- Description for a balance change in inactive periodic accounts when the administrator replenishes periodic accounts through the administrator's portal. This action sets the balance of inactive periodic accounts to zero.
- Value—Text string
- Default—Expiration of deactivated periodic account's balance
SUBSCRIBER_PURCHASE_DESCRIPTION
- Description recorded for a balance change in the bought account when the subscriber buys bandwidth through the subscriber portal.
- Value—Text string
- Default—Subscriber purchased bandwidth
NIC_PROXY_NAMESPACE
- Namespace of the NIC proxy. This NIC proxy maps the subscriber's IP address to the identifier that the VTA uses as the key to the subscriber's records in the VTA database. See Using NICs with the VTA for information about how to configure the NIC proxy that this configuration property identifies.
- Value—Path, relative to the root of the static configuration properties, that defines where the NIC proxy configuration is stored.
- Guidelines—If you are using the accounting ID to identify the SAE that manages a subscriber, set this property to /NicProxies/AcctIdToSaeNicProxy
- Default—/NicProxies/IpToIdNicProxy
BOUGHT_QUOTA_ACCOUNT_NAME
- Name of account that stores bought quota.
- Value—Text string
- Guidelines—If you change this value from the default, you must also update the sample Quota VTA configuration to use the same account names and statuses.
- Default—BoughtQuota
PERIODIC_QUOTA_ACCOUNT_NAME
- Name of account that stores periodic quota.
- Value—Text string
- Guidelines—If you change this value from the default, you must also update the sample Quota VTA configuration to use the same account names and statuses.
- Default—PeriodicQuota
ACTIVE_STATUS
- Status string.
- Value—Text string
- Guidelines—If you change this value from the default, you must also update the sample Quota VTA configuration to use the same account names and statuses.
- Default—Active
INACTIVE_STATUS
- Status string.
- Value—Text string
- Guidelines—If you change this value from the default, you must also update the sample Quota VTA configuration to use the same account names and statuses.
- Default—Inactive
SSPORTAL_SIGNIN_URL