Updating License Notifications
You can customize the end user license exception message as follows:
1. To add or update the custom license exception message, browse to <InS_HOME>\InS_SW\SW\Applications\Windchill.ear\src\com\ptc\sc\resource\SCLicenseRB.java
a. Add a new license exception message entry in the SCLicence.java file as shown in the following example code:
@RBEntry("License is expired .Please contact administrator.")
@RBComment("Error message given saying that License is expired .Please contact administrator.")
public static final String LICENCE_EXPIRED = "LICENCE_EXPIRED";
b. To update the license exception message entry, edit the RBEntry annotation in the SCLicence.java file as shown in the following example code:
@RBEntry("Error while fetching licence. No Such Feature Exists.")
2. To compile the added custom attribute resource, run the following command.
For Linux:
javac -d <InS_HOME>/InS_SW/SW/Applications/Windchill.ear/codebase.war/WEB-INF/classes <InS_HOME>/InS_SW/SW/Applications/Windchill.ear/src/com/ptc/sc/resource/ SCLicenseRB.java
Foe Windows:
javac -d <HOME> \SW\Applications\Windchill.ear\codebase.war\WEB-INF\classes ../src/com/ptc/sc/resource/ SCLicenseRB.java
3. Restart the PTC Arbortext Content Delivery servers.