Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
Resolution:
This is because while deploying the engine the property which is needed is not added into the <deployedengine>.tra file.
The property which you need to add in the tra file is:
"tibco.alias.<aliasname>=<path>/<jarfile/zipfile>"
There are two ways you can add this:
A) You can manually add those properties in the <deployedengine>.tra
file. The property which you will have to add is
tibco.alias.<aliasname>=<path>/<jarfile/zipfile>
so in your case the property will look like:
tibco.alias.tibco.alias.mail=<path>/mail.jar
The only issue here will be that once you undeploy/redploy you will
have to add the properties again.
B) There is another way to add this properties as well. You can use the
bwengine.xml file which can be found under
"bw/5.2/lib/com/tibco/deployment", here you can add those property. Once
you add the property here, then you will have to build the ear again.
Now when you create a application in the Administrator, click "<process
Archive>.par" link, you will see all the properties which are added in
the .xml file. Here you can change the value to give the exact path.
Now when you deploy the engine you will see all the properties in the
<deployed engine>.tra file.
Below is format to add the property in bwengine.xml file:
<property>
<name>Any Name you like</name>
<option>Property Name used in the Alias Library</option>
<default>Default Value</default>
<description>Description of the Property</description>
</property>