If you are an existing On Premise Clarity PPM customer and run the Japsersoft audit reports they fail in Jaspersoft Server with Microsoft SQL Server.
Steps to reproduce:
- Login to Jaspersoft console
- Go to Public Folder and run the Audit reports
Expected Results:
The Audit report works with supported Microsoft SQL Server database server.
Actual Results:
The Audit report is giving an error:
Caused by: com.jaspersoft.commons.dataset.DataSetException: exception fetching f
rom cache
at com.jaspersoft.commons.datarator.BaseDataSetCacheImpl.getWorkingDataS
et(BaseDataSetCacheImpl.java:287)
at com.jaspersoft.commons.semantic.dsimpl.memory.MemoryDataSet.getWorkin
gDataSet(MemoryDataSet.java:108)
... 207 more
Caused by: com.jaspersoft.commons.dataset.DataSetException: exception fetching d
ata
at com.jaspersoft.commons.datarator.CachedData.fetchData(CachedData.java
:252)
at com.jaspersoft.commons.datarator.BaseDataSetCacheImpl.getWorkingDataS
et(BaseDataSetCacheImpl.java:283)
... 208 more
Caused by: com.jaspersoft.commons.dataset.DataSetException: Exception calling JR
DataSource.next() for query select top 200001 "jiauditevent"."resource_type" as
"jiauditevent_resource_type"
from "dbo"."JIAuditEvent" "jiauditevent"
left outer join "dbo"."JITenant" "jitenant" on (("jiauditevent"."tenant_id" = "j
itenant"."tenantId"))
where ((("jiauditevent"."resource_uri" is null) or "jiauditevent"."resource_uri"
like '/' + '%' or "jiauditevent"."resource_uri" like '/public/%') and (("jiaudi
tevent"."resource_uri" is null) or not (case when (("jiauditevent"."resource_uri
" is null)) then (null) else ('/' + substring("jiauditevent"."resource_uri", (le
n('/') + 1), case when ((len("jiauditevent"."resource_uri") - (len('/') + 1)) <
0) then (0) else (len("jiauditevent"."resource_uri") - (len('/') + 1)) end)) end
like '/temp/%')) and (("jiauditevent"."tenant_id" is null) or "jitenant"."tenan