我正在使用WildFly 10.1.0设置JBPM 6.5和Kie-Server,当使用数据库模式帐户时,一切都很好,但是当我更改为另一个帐户(使用select,insert,update delete privilege)时,找不到表启动时抛出错误,
虽然我已经在jbpm-console.war \ WEB-INF \ classes \ META-INF \ persistence.xml中设置了default_schema:
和-Dorg.kie.server.persistence.schema = jbpmdev
JBPM是否只能使用架构所有者帐户运行?
我通过设置登录触发器或在数据库端创建同义词来找到解决方法,但看起来不正常,任何人都可以在不使用架构所有者帐户的情况下设置JBPM?
以下是错误:
2017-07-17 12:15:40,588 ERROR [org.dashbuilder.dataprovider.sql.JDBCUtils] (default task-24) SELECT * FROM (SELECT * FROM PROCESSINSTANCELOG) WHERE ROWNUM <= 1
...
Caused by: Error : 942, Position : 318, Sql = SELECT * FROM (SELECT * FROM (SELECT T.ACTIVATIONTIME, T.ACTUALOWNER, T.CREATEDBY, T.CREATEDON, T.DEPLOYMENTID, T.DESCRIPTION, T.DUEDATE, T.NAME, T.PARENTID, T.PRIORITY, T.PROCESSID, T.PROCESSINSTANCEID, T.PROCESSSESSIONID, T.STATUS, T.TASKID, T.WORKITEMID, OE.ID FROM AUDITTASKIMPL T, PEOPLEASSIGNMENTS_POTOWNERS PO, ORGANIZATIONALENTITY OE WHERE T.TASKID = PO.TASK_ID AND PO.ENTITY_ID = OE.ID) "dbSQL") WHERE ROWNUM <= 1, OriginalSql = SELECT * FROM (SELECT * FROM (SELECT T.ACTIVATIONTIME, T.ACTUALOWNER, T.CREATEDBY, T.CREATEDON, T.DEPLOYMENTID, T.DESCRIPTION, T.DUEDATE, T.NAME, T.PARENTID, T.PRIORITY, T.PROCESSID, T.PROCESSINSTANCEID, T.PROCESSSESSIONID, T.STATUS, T.TASKID, T.WORKITEMID, OE.ID FROM AUDITTASKIMPL T, PEOPLEASSIGNMENTS_POTOWNERS PO, ORGANIZATIONALENTITY OE WHERE T.TASKID = PO.TASK_ID AND PO.ENTITY_ID = OE.ID) "dbSQL") WHERE ROWNUM <= 1, Error Msg = ORA-00942: table or view does not exist