How to generate and deploy a LiveView 10.x fragment with the .lvconf files generated from TIBCO BusinessEvents
book
Article ID: KB0082189
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
5.5.0
Description
By defining a LiveView Agent class, you will get Liveview files generated at the location specified in the Output Directory. How to generate and deploy a LiveView 10.x fragment with these .lvconf files generated from TIBCO BusinessEvents?
Environment
All supported platforms
Resolution
To generate and deploy a LiveView 10.x fragment with these .lvconf files generated from TIBCO BusinessEvents, you will need to start with a LiveView Fragment. In the StreamBase 10 Studio:
Create a new project in StreamBase 10 studio of type LiveView fragment
Import all .lvconf files generated from BE in the Output Directory defined in the CDD file into the LiveView Fragment created
To deploy a LiveView fragment on the command line with epadmin, you must encapsulate the fragment into a StreamBase Application archive, then install and start a node to contain the application archive with the epadmin command. The process requires the following steps: In the StreamBase 10 Studio:
Create a fragment archive file for the LiveView fragment you have created
Create a new, spearate project in StreamBase Studio of type StreamBase Application
Add the fragment archive created in step 1 as a Maven dependency for the StreamBase application project
Create an application archive file for the StreamBase Application project
At the StreamBase 10 command prompt:
Navigate to the target subfolder of your StreamBase Application project. For example:
Windows:
cd "\Users\sbuser\Documents\StreamBase Studio 10.2 Workspace"
cd your_project\target
Install a node containing the application archive file, using epadmin install node command, For example:
epadmin install node application={path the application.zip file} nodename=A.yourapp nodedirectory={path to a temporary directory for logs}
Start the node, thereby starting the fragment running, using epadmin start node, For example:
epadmin servicename=A.yourapp start node
Check the log files located at {nodedirectory}/A.yourapp/logs/*.log file and look for "All tables have been loaded. LiveView is ready to accept client connections." This indicates the server is up and ready to accept client connections.
Issue/Introduction
How to generate and deploy a LiveView 10.x fragment with the .lvconf files generated from TIBCO BusinessEvents