Not able to save/apply Java code which was compiled successfully in TIBCO Designer.
book
Article ID: KB0093526
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Resolution:
With Java code in a BW processes, the user is able to compile the code successfully. However, after compiling, when trying to apply the changes on the palette, it changes the status of the palette to "not compiled". No pop up error or any other error is seen in the console log.
The cause of the problem is that the Java code does not have a "package" statement. When creating a Java code activity, BW automatically adds the package definition. If you delete the package statement, the Java code cannot be saved. Java code activity always contains a "package" definition in the first line of code.
Example:
package <package name>;
public class <class name> {
<other code>
}
Issue/Introduction
Not able to save/apply Java code which was compiled successfully in TIBCO Designer.