我使用SpagoBI studio创建了我的模板,然后在SpagoBI服务器上手动部署了它。 它只包含一个详细信息面板,我将数据集配置为每5秒刷新
问题是刷新无效!
我更改了数据库中的值,但是在pannel上它没有刷新!
这是我的模板
{
"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
任何想法可能导致控制台没有刷新,以及如何解决它?
答案 0 :(得分:1)
请看看: https://www.spagoworld.org/jforum/posts/list/3761.page
SpagoBI 5.1中的错误阻碍了控制台无法正确刷新: https://spagobi.eng.it/jira/browse/SPAGOBI-2191
此致
的Davide