我使用 SpagoBI studio 创建了我的模板,然后我在 SpagoBI 服务器上手动部署了它。它仅包含一个详细信息面板,我将数据集配置为每 5 秒刷新一次
问题是刷新不起作用!
我更改了数据库上的值,但在面板上它没有刷新!
这是我的模板
{
"datasets" : [ {
"id" : "mongoLastValues",
"label" : "mongoLastValues",
"refreshTime" : 5,
"memoryPagination" : true,
"rowsLimit" : 15
} ],
"detailPanel" : {
"pages" : [ {
"title" : "Page Title",
"table" : {
"dataset" : "mongoLastValues",
"datasetLabels" : "mongoLastValues",
"columnId" : "_id",
"columnConfig" : {
"_id" : {
"header" : "_id",
"type" : "string",
"headerType" : "static"
},
"recvTime" : {
"header" : "recvTime",
"type" : "string",
"headerType" : "static"
},
"attrType" : {
"header" : "attrType",
"type" : "string",
"headerType" : "static"
},
"attrName" : {
"header" : "attrName",
"type" : "string",
"headerType" : "static"
},
"attrValue" : {
"header" : "attrValue",
"type" : "string",
"headerType" : "static"
}
},
"filterBar" : {
"type" : "custom",
"refreshDataAfterAction" : false
}
}
} ]
}
}
在我的日志中,我发现了多个错误:
it.eng.spagobi.engines.console.services.ServiceExceptionAction.logError: The error full stack trace is:
it.eng.spagobi.utilities.engines.SpagoBIEngineServiceException: An unpredicted error occurred while executing GET_CONSOLE_DATA_ACTION service.
The root cause of the error is: java.util.ConcurrentModificationException
另一个:
04 sept. 2015 15:11:22,868 ERROR it.eng.spagobi.engines.commonj.services.StartWorkAction.service:98 - could not retrieve user id
任何想法可能导致控制台未刷新以及如何修复它?