Live Datamart New and Noteworthy

This topic summarizes the history of significant changes in TIBCO Live Datamart and TIBCO LiveView Desktop as of release 2.1.2.

For installation and compatibility information for the current release, see the Installation Guide.

New in Live Datamart 2.1.2

The TIBCO® Live Datamart product family incorporates the following component products:

  • TIBCO® Live Datamart Server (also called LiveView Server; the two terms are used interchangeably)

  • Extensions for TIBCO StreamBase® Studio to help configure, build, test, and deploy LiveView applications

  • TIBCO LiveView™ Web

  • TIBCO LiveView™ Desktop

  • TIBCO LiveView™ Desktop Workspace Manager

This page lists the new and noteworthy features of TIBCO Live Datamart 2.1.2 and its component products in the following sections:

LiveView New Features and Updates
Compatibility Concerns for LiveView 2.1.x

See Fixed in LiveView 2.1.2 for a list of issues resolved in this release.

LiveView New Features and Updates

LiveView Server Updated

LiveView Server now supports queries sent using the POST method as well as the existing GET method. Query requests sent with GET have the query text as part of the URI, but those sent with POST carry the query text in the POST data. If keeping table and column names private is important, then connecting to LiveView Server with a secure connection (HTTPS) will now keep these names secure.

lv-client Command Updates

Several subcommands were added to or updated in the lv-client command:

  • listalertaction is a new command that lists the actions on a specified rule, including the details for each action.

  • deletealertaction is a new command that deletes alert actions.

  • addalertaction was updated to accept the arguments --oscommand (to run arbitrary commands) and --javacommand (to run arbitrary Java code). Note that the ability to run these arguments is disabled by default.

  • addalertaction --sendtuple was updated to accept name:value pairs as arguments, which allows you to specify the fields and values of the tuple to send.

  • starttable and droptable both include a new [--wait waitTime] option to specify a number of seconds to wait for the command to return. While the wait period is counting down, these commands report on the success of the operation.

  • listrules now displays the owner of each alert rule listed.

  • addalertrule now includes an optional --owner argument. Previously, the owner defaulted to lvuser. Now, if no owner is specified, the rule defaults to the operating system current user that invoked the lv-client command. However, usernames specified with --owner are not checked for validity with LiveView Server.

Enhanced Thread Naming

All LiveView threads created both on the server and client are now given descriptive names to aid in diagnosing issues.

Support for Newer Datawatch Designer Workspaces

TIBCO LiveView Desktop 2.1.2 now includes support for workbooks configured with Datawatch Designer 13.5.

.NET API Updates
  • The LiveView .NET Client API now includes facilities to create and manipulate Alerts on the server. See ILiveViewConnection.AlertManager and IAlertManager in the API documentation for details.

  • StreamBase.LiveView.API.QueryConfig now has a new boolean property called IncludeInternalFields (default = false) which, when true, causes Live Datamart-internal fields such as CQSInternalID to be included in tuples returned by the query.

  • Support for adding and removing tables was added, along with related updates to table publishing. See the API documentation for StreamBase.LiveView.API.ITablePublisher.

Java API Updates

The following classes were updated to support Java.io.Closeable:

  • com.streambase.liveview.client.Query

  • com.streambase.liveview.client.TablePublisher

  • com.streambase.liveview.client.LiveViewConnection

  • com.streambase.liveview.client.SnapshotResult

Atmosphere JavaScript Library Updated

The Atmosphere JavaScript framework was upgraded on the server side of LiveView Server to version 2.4.1.4. On the client side, TIBCO recommends upgrading to the latest JavaScript client libraries to accompany this upgrade.

Starting with Live Datamart 2.1.2, we are deprecating the JQuery version of Atmosphere (jquery.atmosphere.js) in favor of the pure JavaScript version, atmosphere.js. References to the JQuery version are still supported, but we strongly recommend locating and replacing all <script> references like the following in your LiveView JavaScript API code:

<script src="http://localhost:10080/lv/api/lib/jquery.atmosphere.min.js"/>

Change such lines to reference the following URI instead:

http://localhost:10080/lv/api/lib/atmosphere.js

In production environments, use the minified version of this library to save bandwidth:

http://localhost:10080/lv/api/lib/atmosphere.min.js
Query Adapter Change

The LiveView Query adapter has a new option, Include input tuple in output, to include the tuple received on its QueryIn input stream with every result set output.

Compatibility Concerns for LiveView 2.1.x

LiveView Server 2.1.x is expected to be compatible with all client applications built with the LiveView Client API, versions 1.6.x, 2.0.x, and 2.1.x.

  • This applies to all LiveView clients, including lv-client, TIBCO LiveView Desktop, and any custom clients you have built with the LiveView Client API.

  • In general, queries made from any version client to any version LiveView Server are expected to return results the same way.

  • Queries that include calculated columns can only be honored by LiveView Server 2.1.x.

  • Clients connecting to a 2.1.x LiveView Server can only take advantage of features supported by the client's underlying Client API. For example, clients built with the 1.6.x and 2.0.x API cannot dynamically add or remove tables, despite that support being in the 2.1.x Server.

  • In the other direction, clients built with the 2.1.x Client API can connect to and query LiveView Servers 1.6.x and 2.0.x, but those clients can only request services appropriate for those older servers.

With restrictions, a services-only server deployed from a 2.1.x installation can interact with full LiveView Servers from 1.6.x, 2.0.x, and 2.1.x. The restriction is that dynamic aggregation queries are only supported on 2.0.x and 2.1.x full servers.

In the other direction, services-only servers deployed from 1.6.x or 2.0.0 through 2.0.4 installations cannot interact with LiveView 2.1.x full servers. However, services-only servers from a 2.0.5 or later installation can interact with a 2.1.x full server.

New in Live Datamart 2.1.1

The TIBCO Live Datamart product family incorporates the following component products:

  • TIBCO LiveView Server

  • TIBCO StreamBase® Studio extensions to help configure, build, test, and deploy Live Datamart applications

  • TIBCO LiveView Web™

  • TIBCO LiveView Desktop™

  • TIBCO LiveView Desktop™ Workspace Manager

This page lists the new and noteworthy features of TIBCO Live Datamart 2.1.1 and its component products.

See Fixed in LiveView 2.1.1 for a list of issues resolved in this release.

LiveView New Features and Updates

Author-time Aggregation Tables Behavior Change

Starting with release 2.1.1, author-time aggregation tables configured with case-insensitive string primary keys now always result in the case-insensitive string appearing in lowercase. In previous releases, case-insensitive primary key fields did not always appear in lowercase. An additional change is that the case sensitivity of the primary keys of an author-time aggregation table must match the case sensitivity of the corresponding base table.

New Table Name Alias and Predicate Filters Added

Starting with this release, you can define aliases for local or remote data tables, and can assign predicate filters to local or remote tables such that a filtered table alias serves as a read-only view of the data that matches the filter predicate for that table.

For example, for an ItemSales table, you can specify both US and UK views of the ItemSales table and show only the location-specific view to appropriate audiences. Table updates are still made only to the underlying data table, with those changes immediately reflected in all filtered alias tables.

Both table name aliases and filtered table aliases are now illustrated in the updated LiveView Services-Only sample. These features are discussed on a new page of the LiveView Administration Guide.

LiveView Wizards Now in Studio's File Menu

Wizards that add LiveView table processing functionality were added as part of the LiveView Project Viewer added in release 2.1.0. As of 2.1.1, Studio's FileNew menu has entries to initiate all six wizards.

Ability to Exclude Cipher Protocols and Suites

LiveView administrators can now manage the exclusion of SSL protocols and cipher suites by using two new system properties, as discussed in Server Configuration in the LiveView Administration Guide. This feature is important in view of the Chrome browser's new default restrictions on connecting to servers that use the DHE cipher suite or older SSL protocols. Administrators can exclude those suites and protocols from the embedded Jetty server in the LiveView server, which allows default-configured recent Chrome and Firefox browser versions to connect to LiveView resources.

System Table Updates

The LVSessionQueries system table gained new fields in release 2.1.0 to accommodate new features. As of release 2.1.1, the new Predicate column was renamed the PredicateExpression column to avoid rare cases of reserved word conflicts.

New Apache Kafka Recovery Sample

This release includes a new sample that illustrates using an Apache Kafka message broker as a fault-tolerant platform for LiveView servers. This sample is similar to the samples that illustrate fault tolerance using the TIBCO EMS and TIBCO FTL platforms that were included with release 2.1.0, and which were updated and simplified for release 2.1.1.

Publisher Project Wizard Supports Kafka Message Bus

The LiveView Publisher wizard now offers to configure a publisher application that uses an Apache Kafka message bus, in addition to the TIBCO EMS, TIBCO FTL, and StreamBase Feed Simulation options already offered. The wizard also offers a support recovery option that uses the new Apache Kafka Recovery sample as a basis for a fault-tolerant message bus.

lv-client clear Command Added

The lv-client clear command was added to accept a comma-separated list of tables from which to clear all or specified row data.

LiveView .NET Client API Updates

The LiveView .NET Client API's LiveViewException class and its subclasses now have a Code property that allows access to each exception's error code.

New in Live Datamart 2.1.0

This page lists the new and noteworthy features of TIBCO Live Datamart 2.1.0 and its component products in the following sections:

Packaging Changes
LiveView New Features
LiveView Sample and Documentation Updates

See Fixed in LiveView 2.1 for a list of issues resolved in this release.

Packaging Changes

Two members of the Live Datamart family have new product names starting with release 2.1.0:

  • TIBCO StreamBase® LiveView Desktop is now TIBCO LiveView Desktop™

  • TIBCO StreamBase® LiveView Desktop Workspace Manager is now TIBCO LiveView Desktop™ Workspace Manager

LiveView New Features

New LiveView Project Viewer

The new LiveView Project Viewer presents a visual overview of a LiveView project, clarifying the relationships between the various components and providing easy access to the configuration information underlying each piece. The Viewer helps you navigate through and understand the components that make up a LiveView project.

Since the Project Viewer is a StreamBase Studio view, the new features are described in the StreamBase documentation at LiveView Project Viewer.

New LiveView Helper Wizards

Accompanying the new Project Viewer is a set of six new wizards that walk you through the steps to add components to a LiveView project. The new wizards help you add a new Data Table, Data Source, Publisher, Transform, Aggregation, and Preprocessor. The wizards are described on the same LiveView Project Viewer page.

New Calculated Columns Support

Starting with release 2.1.0, Live Datamart supports the use of StreamBase expression language expressions as part of the selection criteria for any column. Such calculated columns can be the result of simple arithmetic expressions, or formatting expressions, or complex combinations of expressions.

  • LiveView Desktop supports calculated column expressions in the Select portion of queries, and helps you validate your expressions while writing them.

  • The Hello LiveView sample has a new Calculated Column tab in its default workspace that shows two grid views that illustrate this feature. The first grid shows three columns whose definitions are:

    transactionTime, 
    format("{0}_{1}",transactionID, Item) as afterTransactionForProduct, 
    quantityRemaining*lastSoldPrice as remainingValueOnHand
    

    The second grid view shows five columns defined as:

    format_time(transactionTime, "yyyy-mm-dd HH:mm:ss ") as currentTime, 
    Item as item, 
    quantityRemaining<50 as quantityBelowThreshold, 
    lastSoldPrice as price,
    quantityRemaining*lastSoldPrice as inventoryOnHandValue
    
  • You can use almost any function in the expression language, except for certain blacklisted functions that would throw an exception or cause system instability if used in a LiveView Server context. The list of blacklisted functions is defined in a system property liveview.calccolumn.blacklist whose default value is getNodeName,getTableSize,getParallelRoot,getPath, getContainer,calljava,sleep. If your site maintains a number of custom functions that should not be called within LiveView, you can set this property, appending your function names to the default list.

  • LiveView administrators using the LiveView Authentication features can restrict the use of calculated columns by username using the table:ccquery:table-name permission string. See LiveView Permissions.

New Support for Dynamically Dropping and Restarting Data Tables

This release supports adding a new Data Table to a project while the Server is running, dropping a running Data Table (which deletes all table data and removes it from the system), and starting or restarting a dropped Data Table.

You can perform these actions with the following new lv-client commands: createtable, droptable, starttable. See the lv-client reference page for details. You can also perform these actions from various context menu items in the new LiveView Project Viewer. Finally, you can perform these actions using the Java Client API in your custom client applications. See the LiveView Client API JavaDoc and look for the TableManager interface in com.streambase.liveview.client.

Developers using these features must monitor table state changes reported in certain LiveView system tables. This is discussed in a new page, Creating, Starting, and Dropping Data Tables in the LiveView Development Guide.

New Support for Terminating Queries, Sessions, and Publishers

This release allows LiveView administrators to terminate any queries, table publishers, or entire client sessions. Queries, publishers, or entire sessions can be terminated by using their unique IDs or with predicate based filters that can terminate from zero to many queries, publishers, or sessions, depending on the filter match.

The rights to terminate these processes can be controlled to the username level if you are using LiveView Authentication features. To perform these actions, use the new kill* commands of lv-client.

To kill a hung query, first obtain its query ID (QID) and session ID (SID) by examining the LVSessionQueries system table in LiveView Desktop or with lv-client "select * from LVSessionQueries". Then use the SID and QID as arguments for the lv-client killquery command. To kill sessions or publishers, obtain IDs from the LVSessions or LVSessionPublishers tables, respectively.

Improved Startup Times

The startup time for new or changed LiveView projects was reduced. Certain test cases at TIBCO StreamBase saw startup times about 40% of the time for the same project in the previous release. Of course, startup times for your projects depend on many factors, so you may not see the 40% improvement of our test case. But in general, LiveView Server starts faster.

New Aggregate Functions

Five new aggregate functions can be used with dynamic or author-time aggregate queries on LiveView tables:

Updates for System Table Schemas

The schemas for the LVTables and LVSessionQueries system tables were updated to support the ability to kill queries and sessions. In particular, the LVSessionQueries table's Query field was replaced with TableName, Projection, and Predicate fields; and its SnapTuplesPerSec field was removed. See the newly updated LiveView System Tables page for reference.

Platform Changes
  • The LiveView Java Client API now requires a minimum of Oracle JDK 7 to create client applications. The recommended JDK version is the JDK 8 shipped with StreamBase and Live Datamart, as described on the Supported Platforms page. JDK 6 is no longer supported for building LiveView client applications.

  • LiveView Server automatically uses an installation of Azul Zing JDKs 7 and 8 installed in default locations on the machine hosting the server.

  • The following LiveView Client API methods were announced as deprecated as of release 2.0.4, and are removed as of this 2.1.0 release:

    LiveViewConnection.saveQuery()
    LiveViewConnection.getQueries()
    LiveViewConnection.deleteQuery()

LiveView Sample and Documentation Updates

This release includes the following updates and new features for LiveView samples and documentation.

New Fault Tolerant Recovery Using the EMS Bus Sample

This new LiveView sample demonstrates LiveView recovering from a service interruption using TIBCO EMS as the publishing bus. The LiveView Orders table is configured to use persistence and it has a publisher interface with an EMS message bus subscriber that is configured with a durable subscription. After LiveView service interruption and restart, LiveView recovers from disk almost all of the rows that were in the Orders table at the time of the interruption.

New Fault Tolerant Recovery Using the FTL Bus Sample

This sample is much like the EMS sample above, except it demonstrates LiveView recovery using TIBCO FTL as the publishing bus.

New Field Rules Sample

This new sample is a version of the Hello LiveView sample that demonstrates a number of field rule definitions. Search for "field rules" in the Load StreamBase Samples dialog.

LiveView System Tables Page Updated

The LiveView System Tables page was updated and corrected. The page now shows each system table without the internal only fields, which is the new default output of lv-client listtable table-name. You can append -a to such commands to view a system table's fields including the internal only fields.

New in Live Datamart 2.0.5

The TIBCO Live Datamart product family incorporates the following component products:

  • TIBCO LiveView Server

  • Extensions for TIBCO StreamBase® Studio to help configure, build, test, and deploy Live Datamart applications

  • TIBCO StreamBase® LiveView Desktop

  • TIBCO StreamBase® LiveView Desktop Workspace Manager

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. Live Datamart 2.0.5 inherits all new features and updates from the LiveView 1.6.x release branch through 1.6.5.

See Fixed in Live Datamart 2.0.5 for issues resolved in this release.

LiveView Platform Updates

Installation Slowness on Mac OS X Resolved

In previous releases, on any Mac with OS X Yosemite or later, double-clicking one of the DMG distribution files that contains StreamBase plus Live Datamart, or LiveView Desktop, could start a spinning beach ball timeout period that could last for many minutes. An alternate installation method was described in the Installation Guide.

Starting with release 7.5.5, TIBCO StreamBase DMG files now have a workaround for the Apple bug that was creating this situation. Thus, this issue is now completely resolved, and no longer requires the alternate installation method.

LiveView General Updates

Compatibility Issues

Services-only servers deployed from 1.6.5 and earlier, or from 2.0.0 through 2.0.4 installations cannot interact with LiveView 2.1.x full servers. However, services-only servers from a 1.6.6 or later installation, or a 2.0.5 or later installation, can interact with a 2.1.x full server.

LiveView Query Adapter Updates

StreamBase EventFlow modules from StreamBase 7.5.4 or earlier that incorporate a LiveView Query adapter cannot send a query to a LiveView 2.1.x server if the query contains a calculated column. However, such modules from StreamBase 7.5.5 and later can successfully send calculated column queries to a LiveView 2.1.x server.

New LVConf Parameters for ActiveSpaces Connections

This release supports a new parameter, default-query-limit-override, that can be added to an LVconf that defines a TIBCO ActiveSpaces external data provider. Such LVconfs also now support parameters that support ActiveSpaces authentication. These new parameters are illustrated in the ActiveSpaces Metaspace LiveView sample.

New Field Rules Sample

A new field rules sample is a version of the Hello LiveView sample that demonstrates a number of field rule definitions. Search for "field rules" in the Load StreamBase Samples dialog.

New Fault Tolerant Recovery Using the EMS Bus Sample

This new LiveView sample illustrates LiveView recovering from a service interruption using TIBCO EMS as the publishing bus. The LiveView Orders table is configured to use persistence and it has a publisher interface with an EMS message bus subscriber that is configured with a durable subscription. After LiveView service interruption and restart, LiveView recovers from disk almost all of the rows that were in the Orders table at the time of the interruption.

New Fault Tolerant Recovery Using the FTL Bus Sample

This sample is much like the EMS sample above, except it demonstrates LiveView recovery using TIBCO FTL as the publishing bus.

LiveView Client API Updates

LiveView Java Client API Updates

In the LiveView Java Client API, most of the QueryConfig setter methods return this, but a few of them returned void. As of this release, all QueryConfig setter methods now return this, which allows all methods to be chained.

LiveView JavaScript Client API Updates

The LiveView JavaScript Client API was updated to support deleting table rows. There is a new API function deleteRows(tableName, predicate, settings). In addition, queries against LiveView data tables from a JavaScript client now support the following syntax when run from LIveView.connection.execute:

DELETE tableName
DELETE FROM tableName [WHERE ...]

New in Live Datamart 2.0.4

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. Live Datamart 2.0.4 inherits all new features and updates from the LiveView 1.6.x release branch through 1.6.5.

See Fixed in Live Datamart 2.0.4 for issues resolved in this release.

LiveView Desktop Features

Logback Logging Ability Added

LiveView Desktop now keeps log files that preserve information about session connections and other events. Desktop end-users do not normally need to interact with these log files, but TIBCO Support or your site's LiveView Server Support Team might ask you to retrieve and send a log file.

LiveView Server Features

SnapshotQueryListener Configurable Queue Size

The SnapshotQueryListener can now have its system wide data queue capacity changed by setting liveview.client.snapshotquerylistener.default.capacity=nnn, where nnn is an integer number of bytes. Individual SnapshotQueryListeners can have their data queue capacity set with a new constructor parameter.

LiveView Command-Line Client Features

Updates for lv-client listtable

The lv-client listtable command has several improvements in this release:

  • The output now lines up in columns.

  • Internal fields such as CQSInternalID are no longer shown by default. Use the new -a option to restore internal fields to the output.

  • When specifying a table name (lv-client listtable TableName), the table's primary key and any secondary keys are now shown by default.

LiveView Client API Updates

Certain LiveViewConnection Methods Deprecated

The following methods are deprecated as of release 2.0.4 and are expected to be removed in the next minor release of Live Datamart:

LiveViewConnection.saveQuery()
LiveViewConnection.getQueries()
LiveViewConnection.deleteQuery()
URL Changed for Embedded JavaScript API Documentation

In addition to the full JavaScript Client API Documentation incorporated into the Live Datamart documentation set, JavaScript Client API documentation is also embedded in every running LiveView Server. Starting with this release, the relative URL for the embedded JavaScript Client API documentation is deprecated at its old address of /lv-web/api and is now available on /lv/api. For example: http://localhost:10080/lv/api

New in Live Datamart 2.0.3

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. Live Datamart 2.0.3 inherits all new features and updates from the LiveView 1.6.x release branch through 1.6.4.

See Fixed in Live Datamart 2.0.3 for issues resolved in this release.

LiveView Desktop Features

LiveView Desktop Now Based on Eclipse 4.4

TIBCO StreamBase LiveView Desktop was rewritten to use Eclipse 4.4 as its base, the same Eclipse base as StreamBase Studio. In general, this change is expected to be transparent to end-users, and LiveView Desktop connects to a LiveView Server instance and displays both textual and graphical views of LiveView tables just as before. However, several important behavior changes follow from this update, as noted in the following points.

LiveView Desktop's Workspace Format Updated

The file format in which LiveView Desktop stores its workspaces has changed. LiveView Desktop handles this change as follows:

  • When Desktop 2.0.3 or later is asked to load a local or server-hosted workspace that was saved in the old workspace format, Desktop notifies the user that it must convert the workspace format, then does so.

  • If the same old-format workspace is loaded again, Desktop 2.0.3+ prompts for permission to re-convert it to the new format.

  • Once locally-saved workspaces are updated, they open without prompts for re-conversion.

  • However, server-based workspaces are not automatically re-saved back to the server in the new format. To avoid continual re-conversion of server-based Desktop workspaces, ask your site's LiveView administrator to upload converted workspaces to LiveView Server using LiveView Desktop Workspace Manager 2.0.3 or later.

  • If LiveView Desktop 2.0.2 or earlier encounters a local or server-hosted workspace that has been upgraded to the new format, Desktop reports this condition as an error. You can save old and new format workspaces in separate locations for use by Desktop versions before and after 2.0.3.

  • All server-hosted LiveView Desktop workspaces provided with LiveView samples have been upgraded to the new format.

LiveView Desktop Version Number

As seen in the previous entry, knowing the version number of LiveView Desktop becomes important after workspaces begin to be converted at your site. The three-digit release number of LiveView Desktop 2.0.3 and later now shows in the Desktop window's title bar. This is true even for the Connection dialog, before connecting to LiveView Server has succeeded. By contrast, LiveView Desktop versions 2.0.2 and earlier do not provide version information until connected to the server.

New Save All Now Menu Item

LiveView Desktop's Perspective menu now has a Save All Now item. Selecting this causes Desktop to walk through all perspectives and windows in the currently open Desktop workspace to save each perspective and view's current state as part of the workspace. Use this feature to manually save LiveView Desktop's current state before making large changes, such as adding a new chart or view. To provide end-users with maximum flexibility, there is no related auto-save feature.

New Workspace Location Menu Item

Because of the workspace changes described above, you may need to know the directory location where Desktop saves workspaces locally. The path to this workspace directory was always shown in Desktop's Connection dialog, but Desktop 2.0.3 and later now shows the workspace directory path on demand by invoking FileAbout Workspace.

LiveView Desktop on Mac OS X No Longer Requires Apple Java 6

Because Desktop is now based on Eclipse 4.4, an installation of LiveView Desktop on Mac OS X no longer requires you to download and install Apple Java 6. On all platforms, including OS X, LiveView Desktop includes the same JRE release that is bundled in JDK form with StreamBase Studio. As of Desktop 2.0.3, the bundled JRE version is 1.7.0_U79.

LiveView Server Features

Compressed LiveView Traffic Streams Now Supported

Release 2.0.0 brought support for compression of non-streaming traffic between a LiveView Server and client, and new Java and .NET methods were made available to enable this feature in your client code. Starting with the current 2.0.3 release, compression is also available, and is the new default behavior, for streaming traffic as well.

LiveView Command-Line Client Features

Improvements for lv-client delete Syntax

The syntax of the lv-client delete command was changed to more closely resemble standard SQL. As such, it now interprets a FROM token as in this example:

lv-client delete [from] TableName [predicate-clause]

For backwards compatibility, the FROM keyword can be omitted, but it may be required in future releases.

New lv-store-vacuum Command

A new command-line utility, lv-store-vacuum, scans a LiveView table's persistence log directory and consolidates all row entries into a temporary log file that preserves only the most recent state of each row. The command then moves the just-read log files to a backup directory, and renames the temporary log so that it will be used automatically if LiveView Server must begin an automated recovery procedure. This feature and the new command are described in a new section of the EventFlow Publish Applications page, Periodic Compression of Recovery Files.

LiveView Client API Sample Updates

Reworked JavaScript Dashboard Sample Illustrates Best Practices

This release includes a complete rewrite of the Dashboard sample included as one of the four web apps in the lv-javascript sample package. The new sample now serves as a model of best practices for customers writing web apps that display information from LiveView Server, using the LiveView JavaScript API. The new Dashboard sample uses MVx architecture, reusable visualizations, and a LiveView Query Service that manages queries and shares a common connection to the server. The sample allows users to define what gets displayed in the dashboard via a JavaScript object that serves as the model for the application. The chart visualization is based on a generic Highcharts.js wrapper that can be configured to display most Highcharts.js chart types.

To see the sample in action, load the Creating web applications with JavaScript sample in Studio, start LiveView Server against that project folder, then connect a web browser to http://localhost:10080/dashboard.

New in Live Datamart 2.0.2

The TIBCO Live Datamart product family incorporates the following component products:

  • TIBCO LiveView Server

  • Extensions for TIBCO StreamBase® Studio to help configure, build, test, and deploy LiveView applications

  • TIBCO StreamBase® LiveView Desktop

  • TIBCO StreamBase® LiveView Desktop Workspace Manager

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. LiveView 2.0.2 inherits all new features and updates from the LiveView 1.6.x release branch through 1.6.4.

See Fixed in Live Datamart 2.0.2 for an issue resolved in this release.

Studio LiveView Support Features

LVconf Editor Extended to Support Imported Schemas

The Schema tab of the LiveView Configuration Editor for Data Tables was updated to support a mix of locally defined fields with fields imported from an EventFlow file or from a StreamBase interface file. Imported fields are read-only and are marked with a small triangle symbol.

LVconf Editor Field Rules Support Extended

The Field Rules tab of the LiveView Configuration Editor for Data Tables was extended with drop-down boxes to simplify choosing relevant field or variable names. The tab now supports the creation of new variables for use in the table's insert-update rules.

LVconf Editor Now Highlights Tabs with User Content

The LiveView Configuration Editor now bolds the titles of tabs that contain user-defined content, which echos the same feature in the EventFlow Editor.

LVconf Editor Extended with Read-Only XInclude Support

In previous releases, the LiveView Configuration Editor did not support opening lvconf files that contained valid XInclude directives, directing you instead to use the text-based LiveView Configuration File Editor. This release loosens the restriction somewhat, allowing you to open and view such files in the LiveView Configuration Editor. This makes it possible to see the complete context of a configuration across all of the files that comprise it. However, the LVconf Editor opens such files in read-only mode, and you cannot save any changes made to the configuration in this mode.

LiveView Server Features

Author-Time Aggregation Tables Can Rename Fields

Starting with release 2.0.2, you can perform simple field renaming when defining an author-time aggregation table. This adds to author-time aggregation tables the similar feature previously available in the deprecated static aggregation tables.

Consider the following author-time aggregation table definition:

<data-table  id="NewAggRemapKeys">
  <fields>
    <field ignore-case="true" type="string" name="RemappedString1"/>
    <field type="bool" name="bool1" />
    <field ignore-case="true" type="string" name="string2"/>
    <field type="long" name="SumCount"/>
    <field type="int" name="GroupCount"/>
  </fields>
  <primary-key>
    <field ref="RemappedString1"/>
    <field ref="bool1"/>
  </primary-key>
  <data-sources>
    <data-source>
      <aggregation table-ref="AllTypesSnapConcurrency4">
        <query>
          <projection>
            string1 as RemappedString1, bool1,
            sum(Count) as SumCount,
            lastval(string2) as string2, 
            count() as GroupCount,
          </projection>
        </query>
      </aggregation>
    </data-source>
  </data-sources>
</data-table>

Notice that the table defines the field RemappedString1, which field is also one of the fields in the Primary Key. This field does not appear in the base table, but the query includes string1 as RemappedString1 as part of the projection, and string1 DOES appear in the base table. The system will now correctly construct the group-by portion of the query to include string1 instead of RemappedString1.

LiveView Desktop Features

Support for Adding Newlines in Query Edit Fields

LiveView Desktop previously supported adding newlines to format queries in the Query Edit field only when content was pasted into the Query Edit field. This release adds support for using Shift-Enter to format queries with newlines while editing a query.

LiveView Client API Features

JavaScript API Now Uses ECMA Standard Timestamps

The string that the LiveView JavaScript API returns for a timestamp field was updated to conform to the format required by the ECMA Specification. In particular, the API was returning date and time strings separated by a space, but are now separated with an uppercase T.

New in Live Datamart 2.0.1

The TIBCO Live Datamart product family incorporates the following component products:

  • TIBCO LiveView Server

  • Extensions for TIBCO StreamBase® Studio to help configure, build, test, and deploy LiveView applications

  • TIBCO StreamBase® LiveView Desktop

  • TIBCO StreamBase® LiveView Desktop Workspace Manager

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. LiveView 2.0.1 inherits all new features and updates from the LiveView 1.6.x release branch through 1.6.3.

See Fixed in LiveView 1.6 for issues resolved in this release.

LiveView Server Features

Behavior Change: Transform Interface Updated

The user-defined Transform interface was changed in LiveView 2.0.1 to include the "Old" tuple values associated with an event. The transform interface's DataIn schema now has an additional field name name Old, which is of type tuple and has the same schema as the new tuple fields.

To upgrade, you must regenerate the interface files for your transform applications and change the DataIn schema of your existing transform applications to match the new SourceTableNameTransformOut named schema. Use either the new StreamBaseGenerate LiveView Interfaces menu described below, or the lv-server generate command to regenerate your interface files.

LiveView Server's lv-web Web App Updated

When LiveView Server is started, it launches a Jetty service that hosts the new JavaScript API as well as a default web app accessible on http://hostname/lv-web. For LiveView 2.0.1, this web application was restyled and updated to take advantage of the new JavaScript API, and now has new functionality added. The three parts of the lv-web application are:

  • Monitor LiveView displays a set of tables (navigated via tabs) that display information on LiveView internals and status.

  • Manage Alert Rules provides an interface to create, edit, and delete the alert rules running on the LiveView server.

  • Run Queries provides an interface that allows users to view what tables are available, to see the schema information for a selected table, and to run queries. Queries are manually entered into a text box. Query results are displayed in a live-updating table.

Multiple Projections Now Allowed in Author-Time Aggregation

Author-time aggregation table configuration now allows multiple <projection></projection> and <predicate></predicate> elements. This allows multiple <?xinclude> statements to be used to build up the projection and predicate expressions.

Studio LiveView Support Features

New Interface Generation Features

A new menu option provides the ability to generate StreamBase interfaces as well as schemas for all defined extensions in a LiveView project, such as EventFlow modules that provide a Data Source, Publisher, Preprocessor, or Transform for a LiveView data table. Select any LiveView project in the Package Explorer view, right-click, and select StreamBaseGenerate LiveView Interfaces. The previously existing StreamBaseGenerate LiveView Schemas menu option generates or re-generates only the schemas for all LiveView data tables in the project. See Generating Interfaces for further information.

The lvserver generate command now has an --all option that serves the same function on the command line, to generate all interface files needed by the specified LiveView project.

LiveView Desktop Features

Alert Rules Now Support Aggregate Functions

When creating an alert rule in LiveView Desktop, you can now specify the use of one of the LiveView aggregate functions. The Aggregate Condition field in the Alert Rule configuration dialog should be an expression that evaluates to a boolean value, such as sum(Volume) > 1000. The Advanced Alerting sample was updated to demonstrate this new feature.

New Notification When Limit Reached

When a query reaches a limit specified in the query with --limit, LiveView Desktop now reports the limit reached condition with a yellow tip bar at the top of table views, or change in the description bar for chart views. In previous releases, Desktop reported limit reached conditions with a an error dialog.

Workspace Related Permission Checking Updated

Workspace-related permission checking was enhanced in two dimensions:

  • Read access (list and download access) to Desktop workspaces can now be controled with the new get action. For example, to allow users with the LVUser role to list or download all workspaces available on the server, specify: role.LVUser = workspace:get, ...

  • All types of workspace access (read, write, delete) can now be restricted to a set of named workspaces. For example, to allow users with the LVUser role to list of download a specific workspace from the server, specify: role.LVUser = workspace:get:LVUserWorkpace, ...

    To allow all operations for a specific workspace: role.LVUser = workspace:*:LVUserWorkpace, ...

See LiveView Permissions for further information.

DataWatch Library Updated

LiveView Desktop charting was upgraded to use the DataWatch (formerly Panopticon) library version 12.4.3.

LiveView Adapter Features

LiveView Adapters Now Share Server Connection By Default

All LiveView adapters (Query, Publish, Ready, and Delete) in the same container now share a LiveView Server connection by default. Previously, each adapter had its own independent LiveView connection. If you need an individual adapter to have its own connection, clear the Share LiveView Connection check box in the Properties view that adapter instance.

LiveView Publish Adapter Updated

The LiveView Publish adapter now has a configurable delete field. Leaving this field blank disallows deletions from that adapter instance.

The Publish adapter also has a new passthrough that passes the input tuple to its output without change.

LiveView Client API Features

Updates to the .NET Client API

The .NET version of the LiveView Client API was updated to support the high availability feature called Multiconnect capability that was added to the Java Client API in LiveView 2.0.0. With this feature, clients can specify multiple LiveView Server URIs and configure how these connections should be handled. The .NET Client API also now supports the new getSendTupleInfo and sendTupleAction APIs.

The LiveView Java Client API sample was updated with a new sample, MultiConnect.java, that illustrates that new feature.

Log Appenders Available in the Client API

Two log appenders are now available in the LiveViewClient package:

com.streambase.liveview.loggers.LiveViewAppender
com.streambase.liveview.loggers.LiveViewLog4jAppender

The first is an SLF4J logback appender and the second is a Log4j appender. These appenders can be configured to send log events from any Java program using either Logback or Log4j to a LiveView Table.

Query to Return Indexed Fields Added to Client API

The LiveView Java Client API now has a getIndices method to return a list of the indexed fields for a LiveView table.

Determine User Permissions Added to Client API

The LiveView Java Client API now has checkPermission and checkPermissions methods to determine whether the current authenticated user is entitled to perform a requested action.

LiveView Documentation Updates

This release includes the following updates for the LiveView documentation.

Standalone Help Viewer Removed

The standalone Help Viewer on Windows and the sbhelp utility on Linux and OS X were removed from the StreamBase distribution. The move to Eclipse 4.4 as a base for StreamBase Studio caused complications that were solved for Studio, but could not be resolved for the Help Viewer. Instead, use the the help system invokable from StreamBase Studio's HelpHelp Contents menu, which provides the identical content as the standalone Help Viewer. You can also see the Eclipse Help format documentation on docs.streambase.com, and the website format documentation locally installed as part of Studio, or on docs.tibco.com. See Using the Help System for details.

LiveView System Tables Page Updated

The LiveView System Tables Page in the LiveView Administration Guide was extended and updated to match current versions of the system tables.

Requirement for Interface Files Documented

The EventFlow Applications for LiveView page of the LiveView Development Guide has a new section, Generating Interfaces, on the requirement to use StreamBase interface files when adding EventFlow modules to a LiveView project, and describes three ways to generate the interfaces. The lv-server reference page was reworked to expand and clarify the generate subcommand for generating interfaces.

LiveView Server System Configuration Page Updated

A new first section of the LiveView Server System Configuration page discusses project-specific configuration files.

New in Live Datamart 2.0.0

This page lists the new and noteworthy features of TIBCO Live Datamart 2.0.0 and its component products in the following sections:

Integration of StreamBase and LiveView
LiveView Server and Configuration Features
LiveView Client API Features
Compatibility Concerns for LiveView 2.0.x
LiveView Sample and Documentation Updates

See Fixed in LiveView 2.0 for a list of issues resolved in this release.

Integration of StreamBase and Live Datamart

StreamBase and Live Datamart Are Now Integrated

TIBCO Live Datamart 2.0.x is now automatically installed as part of TIBCO StreamBase® 7.5.x. As before, TIBCO Live Datamart is separately licensed. However, you no longer need to download and run a separate LiveView installer to access LiveView features.

  • On Microsoft Windows platforms, TIBCO Live Datamart 2.0.x is installed only as part of the 64-bit edition of StreamBase 7.5.x, and not as part of the 32-bit edition.

  • The integrated Live Datamart components include TIBCO LiveView Server, the Studio extensions to support LiveView projects, all LiveView samples, and fully integrated documentation.

  • As before, LiveView Desktop 2.0.x is still separately licensed and still has an independent installer.

  • As before, LiveView Desktop Workspace Manager 2.0.x is included with your LiveView Desktop license, and has a separate installer available the LiveView Desktop download site.

  • For further details on the new and updated features of TIBCO StreamBase, see the separate New and Noteworthy for the StreamBase product family.

New Default and Recommended Installation Locations
  • To better integrate with other TIBCO product families, and to help customers organize multiple TIBCO products on the same system, the combined release of StreamBase 7.5.x and LiveView 2.0.x has new default and recommended installation directories:

    WindowsC:\TIBCO\sb-cep\n.m
    Linux and Solaris/opt/tibco/sb-cep/n.m
    Mac OS X — No default. The recommended location is /Users/username/Applications/TIBCO StreamBase n.m.x

    where n.m and n.m.x represent the current release numbers.

  • TIBCO StreamBase® LiveView Desktop 2.0's new default and recommended installation locations are:

    WindowsC:\TIBCO\sb-cep\n.m\liveview\desktop
    Linux and Solaris/opt/tibco/sb-cep/n.m/liveview/desktop
    Mac OS X — No default. The recommended location is /Users/username/Applications/TIBCO StreamBase LiveView Desktop n.m.x
  • TIBCO StreamBase® LiveView Desktop Workspace Manager 2.0 also has new default and recommended installation locations, described in Default Installation Directories.

New Independent Installation Page for LiveView Desktop

Starting with this release, TIBCO StreamBase LiveView Desktop has its own installation instruction page, independent of the base kit's instructions. See Installing LiveView Desktop.

Java Requirements for LiveView Desktop on Mac OS X

On Windows and Linux, TIBCO StreamBase LiveView Desktop 2.0.x installs a private copy of an Oracle Java JRE, release 1.7.0_u71, under the liveview home directory, and always runs with that JRE. This is true whether LiveView Desktop is installed on a machine with no other StreamBase software, or is installed under STREAMBASE_HOME/liveview. On these platforms, LiveView Desktop's JRE is independent of the TIBCO StreamBase JDK, if present.

However, on Macintosh OS X, LiveView Desktop requires Apple Java 1.6.x, which you must install separately from the Desktop installation. Apple Java is no longer included in OS X by default, and it is automatically uninstalled when you upgrade from one OS X version to the next. You must download and install the latest Apple Java from Apple's Support site.

You can have a version of Oracle Java 7 installed on OS X alongside Apple Java 6. LiveView Desktop looks only for Java 6, and fails to start if not found.

LiveView Server and Configuration Features

New Forms-Based Visual LVconf Editor

This release of StreamBase Studio introduces a new forms-based visual editor for LiveView configuration files, called lvconf files. The visual editor reads and stores the same XML format as before, but greatly improves and accelerates your ability to create and maintain lvconf files without constant reference to the XSD specification. Each lvconf type has its own form; when creating a new lvconf file, you specify the lvconf type, which determines the form to use.

Every field has pop-up help text when you hover the pointer in or over each field. This is the same help text found in the lvconf XSD specification.

The valid features for each lvconf type are organized into tabs along the bottom of the visual editor window. The last tab for each form provides a Source view, which allows you to view and edit the underlying XML file you are editing. Edits made in the Source view are immediately reflected on other tabs, and vice versa. However, the Source view is not itself a validating XML editor, but relies on the various forms tabs to validate the lvconf file being edited.

The menu selection to create a new lvconf file was rebranded. Use FileNewTIBCO LiveView Configuration File to create a new lvconf file. The visual editor is now the default editor for new and existing lvconf files.

New Visual Lvconf Editor Does Not Support Xinclude

The new visual lvconf editor does not support Xincluded files and certain other advanced features of lvconf files. In particular, if any lvconf file in your existing projects includes XML comments in <!-- --> blocks, such comments are not preserved when the lvconf file is opened and saved in the visual editor.

For features not supported by the visual lvconf edtor, the text-based validating XML editor is still available. Other than Xincludes and comments, any feature valid in the XML of an lvconf file that is entered with the text-based XML editor is preserved on re-opening the file in the visual editor. You can also edit advanced features using the Source tab of the visual editor.

To access the validating text-based XML editor directly, select an lvconf file in the Package Explorer view, right-click, and select Open WithLiveView Confguration XML Editor.

Improved Dynamic Aggregation Performance

LiveView 2.0 made internal changes to the way ad-hoc aggregation queries from LiveView clients are calculated. Higher performance is achieved by compiling more optimized code and sharing internal state in the form of generated data classes. No change is necessary for existing aggregation queries to take advantage of the new performance; they will automatically be faster and take fewer resources when run against LiveView 2.0 Servers. This higher performance approach is also used for the new author-time aggregation tables described next.

New Author-Time Aggregation Tables

This release introduces a new way to provide LiveView data tables with the aggregated results of data published to another LiveView table. We are naming the new feature author-time aggregation, because its aggregate and predicate expressions are written in a table's lvconf file and cannot be changed once the LiveView Server is running. The LiveView table with the aggregate results is called the aggregate table, while the LiveView table used as a source is called the base table.

One of the advantages of author-time aggregation is that it uses the same projections you use in dynamic aggregation, and in the projection portion of queries entered into LiveView Desktop or lv-client. This allows you to develop a projection using ad hoc queries in Desktop or lv-client, and then copy the tested, working projection to the visual lvconf editor to create an author-time aggregation table.

Another advantage of author-time aggregation over static aggregation is that you can now specify time-based predicates such as when ArrivalTime between now()-minutes(10) and now(), and thus aggregate over a time period. This was not possible with static aggregation.

To specify an author-time aggregation table as a data source for a LiveView data table, use FileNewTIBCO LiveView Configuration File to create a new Data Table. Then, use the Data Sources tab in the visual editor, and select the Aggregation check box. In the Table Reference field, specify the name on an existing LiveView base data table already configured in the current project, then specify the Projection and Predicate portions of a LiveQL query that will select from the specified base table and emit a stream of aggregated results.

Static Aggregation Deprecated

The static aggregation feature of previous releases that uses a selection of static aggregation functions, is superceded by the new author-time aggregation described in the previous item. Static aggregation is still supported by LiveView Server and all existing static aggregations continue to work as before. However, because author-time aggregation offers comparable functionality with immensely more flexibility, the former static aggregation feature is now deprecated and is expected to be removed in a future release. Consider migrating your LiveView projects to use author-time aggregation.

New Aggregate Functions

This release adds the following LiveView aggregate functions that can be used in the projections of both ad hoc LiveQL queries and author-time aggregate tables:

slope()
intercept()
covariance()
covariancep()
correlation_coefficient()
correlation_coefficientp()
unique()
joinlist()

The first six functions are the slope() family of related aggregate functions already existing in the StreamBase expression languge, but newly available for LiveView aggregation.

The aggregate version of the unique() function was newly added to the StreamBase expression language in this release, primarily for use in LiveView aggregations. unique() returns a list, and LiveView columns cannot currently be sourced from a list. Thus, to use unique() as part of an author-time aggregation projection, you must wrap unique() with joinlist(), as in the folowing example usable with the Hello LiveView sample. joinlist() is an alias newly added in this release for both simple and aggregate versions of the join() function. It is used in author-time aggregation projections in its aggregate form.

select joinlist(",", unique(Severity, 5)) as SeverityList from LVAlerts
Changes for the LiveView Server Ready Message

When starting LiveView Server, the ready to accept message on the console is now bracketed by blank lines to make it easier to find in a long log history. If you have custom log-parsing code that looks for the ready to accept message, you may need to adjust that code for the new format of the message:

...
timestamp INFO  LVInfoQuery - { 'ItemsSales'::SnapQueryMarker }(tupleid=0 ...
timestamp INFO { Server Started } -

*** All tables have been loaded. LiveView is ready to accept client connections. *** 

timestamp INFO  LVInfoQuery - { 'ItemsSales'::Original Query }"{""CQSConnectionID"": ...
...
LiveView Command-Line Utilities Now In STREAMBASE_HOME/bin

The lv-client and lv-server commands are now installed in STREAMBASE_HOME/bin, and are thus always on the PATH when you open a StreamBase Command Prompt on Windows, or when you use an OS X, Linux, or Solaris terminal configured with sb-config --env. There is no longer a need to prefix these command names with liveview\tools to run them.

Reference pages for these commands are now found in the StreamBase Command Reference, with links to the same pages in the former LiveView Command Reference. On the well-configured OS X, Linux, or Solaris systems, man lv-client and man lv-server show syntax references at the shell prompt.

LiveView Client API Features

New JavaScript Client API

This release includes an entirely new JavaScript Client API. The new API focuses on simplicity, conformity to common JavaScript patterns, compatibility with modern JavaScript frameworks, and detailed documentation. Many of the extraneous features included with the old API were removed in an effort to allow API users to take more control and have more freedom to manipulate and display LiveView data in a way that best suits their needs.

The new JavaScript Client API supercedes and replaces the first-generation JavaScript API. The first-generation API is no longer supported by the current LiveView Server, and customers must migrate any existing web-based LiveView client applications to the new API in order to run them on LiveView 2.0.x servers. Full JavaScript Client API Documentation is incorporated into the LiveView documentation set, as well as an introduction to using the API.

Java Client API Enhancements

The LiveView Java Client API in previous releases had an undocumented API to manage LiveView Alerts that was not exposed to customers. That API is still not exposed, but is nonetheless now deprecated. Replacing it is a new, cleaner public API whose starting point is LiveViewConnection.getAlertManager(), which returns an instance of com.streambase.liveview.client.alert.AlertManager. This offers a set of operations and classes for creating, deleting, and interrogating the server about the Alerts it has.

The Java Client API now also supports automatic failover and reconnection to members of a cluster of LiveView servers. This release introduces a new multi-connection configuration object, MultiConnectionConfig, with which clients can connect and re-connect to one of several LiveView Servers in a high availability cluster configuration.

Finally, there are two new methods that allow clients to trigger actions on the server. Look in the JavaDoc for getSendTupleInfo and sendTupleAction.

These features are documented in the LiveView Java Client API Javadoc, which is now combined with classes from the StreamBase Client API to make a single Javadoc set with interdependent cross-reference links to each API's features.

Compatibility Concerns for LiveView 2.0.x

Compatibility of LiveView Desktop Versions

TIBCO StreamBase® LiveView Desktop versions can connect to various LiveView server versions as shown in the following table:

  LiveView Server Version
LiveView Desktop Version ⇓ 2.0.x 1.6.x 1.5.x
2.0.x Supported Supported Mostly supported
1.6.x Supported Supported Mostly supported
1.5.x Not supported Supported Mostly supported

In all cases, LiveView Desktop is restricted to the capabilities of the connected server. That is, each Desktop version can connect to and display results that are consistent with the capabilities of each server release.

  • About Mostly Supported. LiveView servers before release 1.5.7 cannot provide content assistance for aggregate functions. This is only a reporting issue; the aggregate functions themselves are fully supported.

  • About Not Supported. Limitations in the LiveView Client API for release 1.5.7 and earlier prevent LiveView Desktop 1.5.x from connecting to LiveView 2.0.x servers. The only known solution is to upgrade your installations of LiveView Desktop 1.5.x to a newer release before connecting them to 2.0.x servers.

Compatibility of LiveView Client API Versions

Client applications built with the LiveView Client API, including lv-client and any custom applications you have built, are compatible with LiveView Server versions as shown in the following table:

  LiveView Server Version
LiveView Client API Version ⇓ 2.0.x 1.6.x 1.5.x
2.0.x Supported Supported Supported
1.6.x Supported Supported Supported
1.5.x Partially supported Supported Supported
  • About Partially Supported. Client applications built with the LiveView Client API for release 1.5.7 and earlier can successfully connect to and return results from LiveView 2.0.x servers, but only with severe restrictions on their capabilities:

    • LiveView 1.5.7 and earlier clients cannot delete rows from a LiveView 2.0-hosted data table.

    • LiveView 1.5.7 and earlier clients cannot access applications hosted on a LiveView 2.0 services-only server.

    • In general, LiveView 1.5.7 and earlier clients see LiveView 2.0 servers as if they have only the capabilities of LiveView 1.3 servers.

CQSDataUpdatePredicate Field Deprecated

In TIBCO LiveView releases 1.6.x and 2.0.x, in the DataIn input stream used for populating a data table, the internal use of the field CQSDataUpdatePredicate is now deprecated. Always set this field to null when sending tuples to the DataIn input port.

CQSDelete Field Added

Starting with TIBCO LiveView 1.6.0, the DataIn input stream has a boolean field named CQSDelete that, when set to true, deletes any row with exactly matching primary key fields. If you have existing generated transform, preprocessor, or publisher EventFlow applications from a pre-1.6.0 release, use the interface generator to update your application schemas. See the lv-server reference page for information on using the interface generator.

LiveView Sample and Documentation Updates

This release includes the following updates and new features for LiveView demos, samples, and documentation.

New LiveView Demo in StreamBase Studio

The SB Demo perspective in StreamBase Studio now includes a demonstration of LiveView that shows LiveView Desktop connecting to a recorded simulation of the stream emitted by Wikipedia that records each edit made to each page of the English Wikipedia. Instructions are provided to convert the demo to use live data from Wikipdeia.

New Samples for the New JavaScript API

The new JavaScript Client API is illustrated in the Creating web applications with JavaScript sample shipped with LiveView. Load this sample in StreamBase Studio and follow the instructions in its README.txt file.

Sample READMEs Clarified

The README.txt files for most LiveView samples were edited for clarity and to show current command lines for invoking the lv-client and lv-server commands.

LiveView Documentation Home Page Reorganized

The home page for the LiveView documentation set was reorganized using the same ordering used on the StreamBase home page. The order of rows reading down the home page's table now mirrors the order of the navigation menu across the top of the non-Eclipse format of the set. Text on the home page was edited for clarity.

LiveView and StreamBase Documentation Combined

As reported on the TIBCO StreamBase 7.5.0 New and Noteworthy page, the LiveView and StreamBase documentation sets were combined such that it is easy to switch back and forth between them. The combining of the doc sets has the following features reported on the StreamBase 7.5.0 page:

LiveView Documentation Pages Rewritten

Many pages in the LiveView documentation set were renamed, reorganized, and rewritten. Please bear with us as this undertaking continues over the next few releases. In particular, see:

New Features and Updates in Live Datamart 1.6.6

The TIBCO Live Datamart product family incorporates the following component products:

  • TIBCO LiveView Server

  • Extensions for TIBCO StreamBase® Studio to help configure, build, test, and deploy LiveView applications

  • TIBCO LiveView Desktop

  • TIBCO LiveView Desktop Workspace Manager

TIBCO Live Datamart 1.6.6 is a service pack release that corrects the issues listed in Fixed in Live Datamart 1.6.6. No new features were added.

LiveView General Updates

Compatibility Issues

Services-only servers deployed from 1.6.5 and earlier, or from 2.0.0 through 2.0.4 installations cannot interact with LiveView 2.1.x full servers. However, services-only servers from a 1.6.6 or later installation, or a 2.0.5 or later installation, can interact with a 2.1.x full server.

Compatibility Concerns for LiveView 1.6.x

  • LiveView 1.6.x requires StreamBase 7.4.0 or later.

  • LiveView 1.6.x is only compatible with 64-bit TIBCO StreamBase. If you have been using 32-bit StreamBase, upgrade to the 64-bit version. You cannot install LiveView 1.6.x on any machine that does not have 64-bit StreamBase installed.

  • Starting with LiveView 1.6.0, the DataIn input stream used for populating a data table has a boolean field named CQSDelete that, when set to true, deletes a row with exactly matching primary key fields. If you have existing generated transform, preprocessor, or publisher EventFlow applications, use the interface generator to update your application schemas. See the lv-server reference page for information on using the interface generator.

  • LiveView Desktop 1.6.x can connect to and display valid results from a LiveView 1.5.x server. However, 1.5.x servers from releases before 1.5.7 cannot provide content assistance for aggregate functions. This is a reporting issue only; the aggregate functions themselves are fully supported in this combination.

New Features and Updates in Live Datamart 1.6.5

TIBCO Live Datamart 1.6.5 is a service pack release that corrects the issues listed in Fixed in Live Datamart 1.6.5. No new features were added.

Live Datamart 1.6.5 inherits all new features and updates on the LiveView 1.5.x release branch through 1.5.7.

New Features and Updates in Live Datamart 1.6.4

This page lists new and noteworthy features in TIBCO® Live Datamart and TIBCO StreamBase® LiveView Desktop. Live Datamart 1.6.4 inherits all new features and updates on the LiveView 1.5.x release branch through 1.5.7.

See Fixed in LiveView 1.6 for issues resolved in this release.

Studio LiveView Support Features

Behavior Change: lv-systemdata Folder Visible By Default

When StreamBase Studio 7.4.4 or later is used with a new workspace, LiveView project folders, including LiveView sample project folders, now show the lv-systemdata folder by default. This folder contains a database file that contains data automatically loaded into LiveView Server at each launch, including information such as LiveView Server alert rules and LiveView Desktop workspaces. The folder is now visible by default so that customers with version control integrated into Studio can check in this folder as part of each LiveView project folder check-in.

You can disable the visibility of this folder for all projects in the workspace by invoking the system menu in the Package Explorer view (the down-pointing triangle icon), and selecting Filters. In the resulting dialog, select the check box for TIBCO LiveView Server System Database Folder.

LiveView Desktop Features

Open URL Table Action Now Remembers Last URL on Restart

Table Actions you can configure in LiveView Desktop include an Open URL in Browser action. In previous releases, when this action was configured, and LiveView Desktop was stopped and restarted, the last seen URL was not refreshed. Starting with this release, such URLs are remembered between LiveView Desktop sessions and automatically re-opened. However, be aware that the underlying data on the referenced URL may have changed, which may have invalidated a parameterized URL. On Desktop restart, make sure any reopened URLs are still valid for your use case.

DataWatch Library Updated

LiveView Desktop charting was upgraded to use the DataWatch (formerly Panopticon) library version 12.4.3.

LiveView Documentation Updates

New OS X Installation Instructions

This release includes new OS X installation instructions for the base StreamBase kit and its Live Datamart add-on package, and for LiveView Desktop, including special instructions to work around an issue when installing on OS X 10.10 Yosemite.

New Features and Updates in LiveView 1.6.3

This page lists new and noteworthy features in TIBCO StreamBase® LiveView Datamart and TIBCO StreamBase® LiveView Desktop. LiveView 1.6.3 inherits all new features and updates from the LiveView 1.5.x release branch through 1.5.7.

See Fixed in LiveView 1.6 for issues resolved in this release.

LiveView Server Features

Behavior Change: Unspecified Variables Now Prefixed with input.

This release includes a behavior change made to avoid an error message that could be seen when LiveView was compiling an application: compilation error in <field-rules>: the field "current" is not available from any stream. As of release 1.6.3, table column variables with no explicitly specified namespace are considered to be prefixed with input.

Custom ID Generation and Primary Key Now Allowed Together

In previous releases, the lvconf configuration file could specify either a primary key or the generation of custom IDs. This restriction was lifted such that both features can now be used in the same lvconf specification.

New Mixed-Mode ID Generation Option

This release includes support for a new mixed mode method of generating the unique row IDs used internally by LiveView Server. Mixed mode ID generation is an advanced feature that combines aspects of the previously available ID generation methods. Contact TIBCO LiveView Support for details on using this feature.

LiveView Desktop Features

DataWatch Library Updated

LiveView Desktop charting was upgraded to use the DataWatch (formerly Panopticon) library version 12.4.2.

LiveView Tool Features

New Command-Line Option for lv-client

The lv-client command now accepts a -p option with which you can specify the TCP port on which the LiveView Data Mart server of interest is running on localhost.

New Features and Updates in LiveView 1.6.2

This page lists new and noteworthy features in TIBCO StreamBase LiveView® Data Mart and TIBCO StreamBase LiveView® Desktop. LiveView 1.6.2 inherits all new features and updates on the LiveView 1.5.x release branch through 1.5.7.

See Fixed in LiveView 1.6 for issues resolved in this release.

LiveView Server Features

New Support for Adding HTTP Access Control Headers

This release adds support for adding CORS access control headers to the response messages sent by the LiveView web server. These access control headers allow the use of resources from another website, such as a third-party JavaScript library, to be securely used. This support takes the form of two Java system properties, one for requested files with the .json extension, and another for files with the .xml extension. Note that .json files served by LiveView might contain either JSON data or XML data; by contrast, .xml files contain only XML data. Set the system property appropriate for the extension of the file requested, not its contents. The two new system properties are:

liveview.response.header.json
liveview.response.header.xml

You can specify either property with the -D option for the Java command that starts LiveView Server, or with the <sysproperty> element in your project's sbd.sbconf file. Both properties take a sequence of one or more CORS headers that LiveView is to prepend to all service calls that end with .json or .xml, respectively. Enter your arguments as a sequence of colon-delimited header-value pairs, where each pair is delimited by a comma. That is, enter header1 : value1 , header2 : value2, and so on. White space around the delimiters is optional, but can be clarifying.

The following example shows the use of this feature in a <sysproperty> element:

<sysproperty name="liveview.response.header.json"
   value="Access-Control-Allow-Origin: * , 
   Access-Control-Allow-Credentials: true" />
LiveView JavaScript Sample Updated

The LiveView sample provided as lv-sample-javascript now demonstrates an additional new feature in the dashboard display, a horizon chart powered by the Cubism.js library from Square, Inc.

Updates to LiveView Contributed Directories

LiveView 1.6.2 adds a web front end to the contrib-query-summary project that provides a visual representation of the query performance statistics gathered by that project. To see this feature, run that project as a StreamBase LiveView Project, then open a web browser on http://localhost:10080/jsapisample.

LiveView Desktop Features

New Predefined Conditional Format Strings

This release adds a set of predefined condition format strings for the Edit Conditional Formatting Rule dialog, described in the new LiveView Desktop Conditional Formatting page in the LiveView Desktop User's Guide.

When you specify formatting for numeric values, you can still directly enter a formatting string that follows the java.text.DecimalFormat standard. But starting with release 1.6.2, format string fields also serve as drop-down lists that offer a selection of predefined formats, such as ###,##0 and $###,##0. See the LiveView Desktop Conditional Formatting page for the complete list.

The list provides currency format strings for dollars, pounds, yen, as well as providing a placeholder symbol (¤) that is automatically replaced with the currency symbol for the current locale.

If you are formatting a timestamp field, the drop-down offers you a selection of format strings that use the syntax of the java.text.SimpleDateFormat standard, including HH:mm:ss.SSS and yy/dd/MM HH:mm:ss. Again, see the LiveView Desktop Conditional Formatting page for the complete list.

You can select any suggested format, then edit it to your needs in the format string field. Select the Edit Recommendations link in any drop-down list to open a dialog that lets you reorder the list to put your favorites at the top, or to add your own entries.

The same Edit Recommendations dialogs, and same drop-down list functionality, are shared by the LiveView Desktop Preferences dialog, when setting the default formatting strings for all numeric and timestamp types. Any format strings or reordering of the list persists and is visible both to conditional formatting dialogs and to the Preferences dialog. Your customized set of formatting strings is stored in the current Desktop workspace.

New Auto-Reconnect to Failover LiveView Server

You can now configure LiveView Desktop to automatically reconnect to one or more failover servers in the event the primary LiveView Server becomes unavailable. The failover LiveView servers must be running a compatible LiveView release and have a substantially similar LiveView application, with the same tables, table names, and schemas.

Connecting to a failover server is not attempted unless your initial connection to your primary server succeeds. That is, you must be connected at least once to your primary server before the failover mechanism becomes available. The new Automatically Reconnecting to LiveView Server page in the LiveView Desktop User's Guide describes this new feature in detail.

New Full Row Coloring Option for Conditional Formatting

Previous releases of LiveView Desktop allowed you to set both text color and background color for individual cells based on matches of a conditional formatting specification. This release adds the ability to set text and background colors for an entire row. The Edit Conditional Formatting Rule dialog now has an Apply to control with Cell and Row options. When you select Row, only the two color formatting options are available.

As before, to avoid formatting conflicts when two different format conditions apply to the same row or field, use the Up and Down buttons in the Edit Conditional Formatting Rule dialog to organize the rules. The following algorithm is used to determine which rules win if there is a conflict:

  • The list of rules is scanned top to bottom for rules that apply to rows. Rules scanned last (at the bottom of the dialog) win if there is a conflict between two or more rules.

  • The list is scanned again top to bottom for rules that apply to cells. Again, last-scanned rules at the bottom win.

This rule scanning order allows you to add different color settings for a cell that matches a condition, and also for the row that contains that cell when matching the same condition. Set the row rule first, then the cell rule for the same condition. This is useful for tables with wide schemas, where a portion of the table is always offscreen in LiveView Desktop's grid view. In such cases, a color-change alert might be missed if a cell is colorized offscreen. When you color the entire row, perhaps with a background color, it serves as a reminder to scroll left or right to locate the cell or cells that caused that row to change.

Conditional Formatting Comparison Options Updated

The drop-down list of comparison options in the Edit Conditional Formatting Rule dialog now includes both is equal to or greater than and is equal to or less than.

New Menu Option to Open Error Log View

LiveView Desktop now has a menu option, WindowShow Error Log View.

New Time Series Charting View

This release adds a new chart type to the Configure Charting View, a time series scatter plot where the size of the dots representing data points can themselves be sized based on values in another plot axis. For example, a stock symbol's price over time can be shown with each dot representing a stock symbol, and the size of the dot representing the volume of trades at each time point. This new feature is implemented as a new option in the Size/Height control group in the Configure Charting view, Timeseries Scatter Plot Dot-size Field. This new option is only active when the selected Visualization method is Timeseries Scatter Plot.

Send Tuple View Now Shows Stream Sub-fields

In previous LiveView Desktop releases, when you used New Send Tuple View to connect to a LiveView Server table configured with fields of type tuple that contained sub-fields, the resulting Send view showed only the top-level tuple field names, and none of their sub-fields. This required you to send a tuple to such fields using StreamBase tuple notation as used with the sbc command. Starting with LiveView 1.6.2, the Send Tuple view shows a flattened view of such a table's sub-fields.

New Features and Updates in LiveView 1.6.1

This page lists new and noteworthy features in TIBCO StreamBase LiveView® Data Mart and TIBCO StreamBase LiveView® Desktop.

See Fixed in LiveView 1.6 for issues resolved in this release.

LiveView Server Features

Use StreamBase Tables as a Backend for LiveView

Federated LiveView server instances can now pass through StreamBase Query tables as their own. This means that any LiveView server instance (either full or services only) can be configured to exchange data and queries with a StreamBase Query Table in a running StreamBase application. See Using LiveView as a Front-End for more information.

LiveView Configuration File Wizard Can Import Schemas

The LiveView Configuration File wizard now has an option to import a named schema with the import-schema tag.

Updates to LiveView Contributed Directories

LiveView 1.6 adds additional useful configuration files to the lv-contrib directory. The directory previously contained the following:

  • lv-contrib-server-log: a configured LiveView table that shows each line of output from the LiveView Server as it occurs. This table makes remote monitoring easy.

  • lv-contrib-profile-log: a LiveView table and supporting Event Flow applications that let you monitor all StreamBase Server performance metrics.

The following was added in LiveView 1.6:

  • lv-contrib-query-summary: a LiveView table and preprocessor that provide a real-time summary of performance information about running queries.

Support for Stepped Linegraph in LiveView Desktop Charting

LiveView Desktop charting view now allows the stepped linegraph option.

Improvements to Advanced Alerting Sample

The Advanced Alerting sample, lv-sample-alerting, now includes a configured Send Tuple alert action that can optionally forward alerts to TIBCO Enterprise Message Server™, Twitter, or TIBCO Rendezvous®. See the sample's README for full information.

Improvements to JavaScript Sample

The JavaScript API sample, lv-sample-javascript, now has an iPad browser UI in addition to the existing UI. See the sample's README for full information.

New Features and Updates in LiveView 1.6.0

This page lists new and noteworthy features in TIBCO StreamBase LiveView® Data Mart and TIBCO StreamBase LiveView® Desktop.

See Fixed in LiveView 1.6 for issues resolved in this release.

TIBCO StreamBase LiveView was rebranded to TIBCO StreamBase LiveView® Data Mart.

LiveView Server Features

Federated LiveView Systems and Foreign Tables

A LiveView server instance can now stand in front of multiple other LiveView instances, present their tables as its own and send and receive data from those tables.

LiveView server can stand in front of multiple back ends. In addition to the previously released JDBC capability, LiveView 1.6 can view spaces and metaspaces with TIBCO ActiveSpaces 2.1.2 HF 14.

See Using LiveView as a Front-End for important information on ActiveSpaces usage.

New Dynamic Aggregation Functions

The following aggreation functions are now supported in LiveView dynamic (query-based) aggregation:

Import Schema Tag for LiveView Configuration files

You can now reference any existing named schema to any lvconf file using the import-schema element. See Configure a LiveView Data Table for an example of how to use of the import-schema element.

Authentication and Authorization

LiveView can now be configured to verify the identity of clients (authentication) and ensure that authenticated clients have permission to access the requested LiveView resources (authorization).

Updates to DataIn and DataOut Stream Schemas

LiveView data-table internal fields have changed. A table's source data-stream, DataOut, now contains a CQSDelete field for improved row delete capabilities.

Option to Choose SSL Port for LiveView Authentication.

StreamBase Studio allows you to choose which port the LiveView services layer listens on so that LiveView can be configured to listen to an SSL port.

Set Quiescent Period After Alert Action Execution

Alerts now have a configurable option where after alert action execution, subsequent alert action executions are suppressed for a given period of time.

Snapshot Queries with Limits Throw Exception at Limit

In previous releases, SNAPSHOT queries that reached a configured limit would terminate without an error. Now, when a SNAPSHOT query with a configured row limit reaches the limit, LiveView server will return a SNAPSHOT_OVER_LIMIT error.

Snapshot Concurrency Option Added to Table Space Options

In lvconf files, a new attribute of the root element for all table types, snapshot-concurrency, lets you set the number of tasks such as table scans that can run simultaneously for that table. You can also specify this setting in a Table Space type table, then specify that Table Space in a <table-space-ref> element in the lvconf for other tables in your project.

Custom ID Generation Option Added to Table Configuration Options

A new option in lvconf files, custom-id-generation, lets you create a custom value for a table field that is assigned to every row.

Start LiveView Server in Service-Only Mode

You can now start LiveView server in services-only mode. This option will not start the data layer and so will allow the server instance to start faster.

LiveView Desktop Features

Create Table Action that Runs Other Table Actions

You can now create a table action that consists of executing one or more other table actions. See Execute Multiple Table Actions for more information.

In addition, you can now copy table actions into other table actions. The Table Action configuration dialog now offers a Copy From option that lets you select from all available configured actions.

Delete Rows Alert Action Enabled by Default

In previous releases, the alert action for deleting table rows was disabled by default. The Delete Rows action is now enabled by default.

Default Query Row Limit in Desktop Changed

In earlier versions of LiveView the default row limit for queries was 10000. The default row limit for queries issued from LiveView Desktop is now 2000.

Chart Names Improved

The names of chart types as displayed in the drop-down window for charting configuration are updated to be more descriptive. See LiveView Desktop Charting View for more information on LiveView charting options.

LiveView Sample and Documentation Updates

LiveView product samples and documentation are improved and expanded. New samples are:

  • lv-sample-auth: Authentication and authorization.

  • lv-sample-services-only: Start LiveView server in services-only mode.

  • lv-sample-desktop-custom-view: Create custom views in LiveView Desktop.

  • lv-sample-activespaces: Use ActiveSpaces as a LiveView Backend

  • lv-sample-custom-id-generation: Generate custom ID for use as a table's primary key.

Samples that have been significantly improved are:

  • lv-sample-helloliveview: Hello LiveView.

  • lv-sample-javascript: Demonstrate the LiveView JavaScript API.

New documentation:

  • LiveQL: LiveView Query Language Reference