Is there a way to specify the order of results in OSLC JSON output?


Is there any way we can specify the sequence of resource attributes to appear in the JSON-formatted Get query output? We are looking for a pre-defined set of ordered resource attributes to appear in the OSLC Get query output.

You should be able to use the oslc.orderBy parameter to define the ordering of results. If you are talking about the default ordering without that parameter, then I think the query definition of the query capability should define the ordering.

[Admin: To see other related posts, use the JSON tag or OSLC tag.]

Continue reading

Why doesn’t TRIRIGA CAD Integrator complete the Sync Full process?


We’re unable to perform a Sync Full of CAD drawings if there are any people assigned to the spaces. Here’s the ci.log error:

ERROR [com.tririga.ci.sync.SyncServiceImpl](pool-1-thread-2) Sync failed.
com.tririga.ci.error.CiRuntimeException: com.tririga.ci.remote.shared.error.CiSharedException: Attach associated object could not find the association to use.

The CAD hierarchy for the custom configuration is not mapped correctly for triSubSpace. Custom business objects and forms were created for all property hierarchy items. But the existing triSubSpace CAD hierarchy node for triSubSpace was not changed. It still references “Space Mapping”, instead of “cstSpace Mapping”. This means both space mappings are part of the application definition (which have different forms). This was causing the Sync Full to fail. Updating the triSubSpace hierarchy node to point to the cstSpaceMapping will resolve this error.

[Admin: This post is related to the 09.12.16 post about a Sync failure in CI, and the 08.05.16 post about a Sync Full error in CI.]

[Admin: As a side note, with the 3.5.1 introduction of object labels and revisions, you’re not required in 3.5.1 or later to use the classic “cst” naming convention any more. For reference, here are the new naming convention best practices.]

Continue reading

How do you use the Report Run History to track performance?


In the TRIRIGA 3.5 platform release, a new feature was added allowing you to track the performance and monitor who runs queries and reports in Report Builder. A flag can be set on the report definition that will track who has run the report, and the time it took to retrieve the information from the database.

To enable report run history, open the report in the Report Manager and click “Track History” on the General tab. Note that enabling this tracking causes just a slight overhead, but it should still be used with caution. Once enabled, you will need to let your users use the system for a while, so that some data can be saved. Once a few days goes by, you can then start to analyze what is happening in your system…

  • Which reports have run the longest overall?
  • Of the reports that have run, which have the average longest runtime?
  • For the users in the system, who runs the most reports?
  • Of the users in the system, who have run the longest reports?

Continue reading

Why aren’t TRIRIGA Web Services working on WebSphere 8.5.5?


TRIRIGA Web Services (WSDL) are not working on WebSphere 8.5.5 with TRIRIGA 3.4.2. The error “IncompatibleClassChangeError” is reported. The full error message is as follows:

Caused by: java.lang.IncompatibleClassChangeError:
org.apache.neethi.AssertionBuilderFactory

TRIRIGA 3.4.2 uses the Apache Neethi 3.0.2 jar to support the web services associated with the Connector for Business Applications (CBA). However, it seems that WebSphere 8.5.5.5 uses an earlier version of Neethi internally via [WebSphere root]\AppServer\plugins\org.apache.axis2.jar. The two versions of Neethi don’t particularly care for each other and result in an “IncompatibleClassChangeError” problem… Without the TRIRIGA 3.4.2 Neethi, web services do not work. Without the org.apache.axis2.jar, the WebSphere Admin Console (and probably some other things) do not work…

Continue reading

How do you attach drawings to a floor as a child of a structure?


If I understand correctly, there isn’t a way out-of-the-box to attach a drawing to a floor record that is a child of a structure. It appears the OOB application definition does not include a CAD mapping to do this. I see an RFE suggesting this.

My question is, has anyone looked at doing this themselves without waiting for an RFE to work its way through the process? If so, what is involved and is it advisable? Our use case is that we have many smaller utility-shed-type buildings that we do not want to include in our real estate rollup reports, but we need to track square footage at a local level. So we are thinking of using the structure form for all of these small buildings.

[Admin: This post is related to the 04.05.16 post about attaching drawings to floors under structures.]

Continue reading