How to customize Actuate BIRT iHub error messages on a Windows system
Use the location of your own Actuate Information Console installation if it differs from the location used in this example.
1 Extract the contents of <context root>\WEB-INF\lib\resources.jar into a temporary directory.
1 Open a command window.
2 Back up your resources file:
cd "C:\Program Files\Actuate\iPortal2\iportal\WEB-INF\lib"
copy com.actuate.resources.jar com.actuate.resources.jar.original
3 Extract the resource file’s contents:
mkdir C:\ap
cd C:\ap
jar -xf "C:\Program Files\Actuate\iPortal2\iportal\WEB-INF\lib\com.actuate.resources.jar"
4 Leave the command window open.
2 Navigate to com\actuate\reportcast\resources and make a backup copy of ErrorMessages.properties:
cd com\actuate\reportcast\resources
copy ErrorMessages.properties ErrorMessagesOrig.properties
3 In a text editor that supports UTF-8 encoding, edit C:\ap\com\actuate\reportcast\resources\ErrorMessages.properties to add your custom error messages in the following format:
<Errorcode>=Example of a message with no variables.
<Errorcode>=Example of a message with a variable {0}.
<Errorcode>=Message with three variables {0}, {1} and {2}.
where <Errorcode> is the Actuate error number or constant of the message being customized.
4 Save and close the file.
5 Rebuild the resources.jar file with your customized ErrorMessages.properties file:
jar -cf resources.jar *
move resources.jar "C:\Program Files\Actuate\iPortal2\iportal\WEB-INF\lib\com.actuate.resources.jar"