![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
You can build an enterprise archive file using a TIBCO BusinessEvents Studio dialog, and also using a command-line utility (see Building an Enterprise Archive (EAR File) at the Command Line for details).
For deployment using TIBCO Administrator, the configuration Name field value must match the project name The project does not deploy if they are different. The actual EAR file name, however, can differ from the configuration name.Do not store the EAR file in a project folder Doing so includes the prior EAR file when you build the EAR file again, needlessly increasing the size.Modifying Ignored Resources List Certain files (and folder names) are excluded from the EAR. To maintain the list of exclusions, in TIBCO BusinessEvents Studio, select Window > Preferences > TIBCO BusinessEvents > Code Generation >Ignored Resources. See Setting Preferences for more on this topic.To change the default EAR file encoding, define a global variable named MessageEncoding and set its value to the desired encoding. For example, UTF-8.For deployment options see Chapter 5, Deploying and Managing Engines with MM and Chapter 8, Deploying With TIBCO Administrator in TIBCO BusinessEvents Administration. For testing purposes, you may find it useful to refer to the section Starting a TIBCO BusinessEvents Engine at the Command Line in TIBCO BusinessEvents Administration.
1. In TIBCO BusinessEvents Studio, select the menu Window > Preferences to open the Preferences dialog.
2. Select TIBCO BusinessEvents > Code Generation on the left panel and then set the Compilation Mode to File System.When using the Studio Tools utility to build an EAR file, set the option -lc to use the file-system based legacy compiler.
When building an EAR file in memory for a large project, the JVM may run out of PermGenSpace and/or heap space. In such cases, edit the BE-HOME/studio/eclipse/studio.ini and BE-HOME/studio/bin/studio-tools.tra file to set appropriate values for the JVM settings. By default the heap size is set to -XX:MaxPermSize=256m.
1. In BusinessEvents Studio Explorer, highlight the project name, then from the top menus select Project > Build Enterprise Archive.
2.
3. Click Apply to save the configuration details.
4. Click OK to build the archive.
Note For deployment using TIBCO Administrator, the configuration Name field value must match the project name. The project does not deploy if they are different. The actual EAR file name, however, can differ from the configuration name.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |