cancel
Showing results for 
Search instead for 
Did you mean: 

Observing Protocol Exception in 5.17

sakumar1
Champ in-the-making
Champ in-the-making
Hi,

I have seen following exception one time after upgrading 5.14 to 5.17  Did any one face similar issue ?

### SQL: select * from ACT_RU_EXECUTION where ID_ = ?
### Cause: java.sql.SQLException: Protocol violation: [16, 6, 7, 0]
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database.  Cause: java.sql.SQLException: Protocol violation: [16, 6, 7, 0]
### The error may exist in org/activiti/db/mapping/entity/Execution.xml
### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.selectExecution-Inline
### The error occurred while setting parameters
### SQL: select * from ACT_RU_EXECUTION where ID_ = ?
### Cause: java.sql.SQLException: Protocol violation: [16, 6, 7, 0]
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:23) ~[mybatis-3.2.5.jar:3.2.5]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:107) ~[mybatis-3.2.5.jar:3.2.5]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:98) ~[mybatis-3.2.5.jar:3.2.5]
        at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:62) ~[mybatis-3.2.5.jar:3.2.5]
        at org.activiti.engine.impl.db.DbSqlSession.selectById(DbSqlSession.java:457) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.persistence.entity.ExecutionEntityManager.findExecutionById(ExecutionEntityManager.java:108) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.cmd.NeedsActiveExecutionCmd.execute(NeedsActiveExecutionCmd.java:43) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-5.17.0.jar:5.17.0]
        at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) ~[spring-tx-3.2.3.RELEASE.jar:3.2.3.RELEASE]
        at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) ~[activiti-engine-5.17.0.jar:5.17.0]
        at org.activiti.engine.impl.RuntimeServiceImpl.signal(RuntimeServiceImpl.java:227) ~[activiti-engine-5.17.0.jar:5.17.0]
        at com.airvana.dms.configuration.workflow.activiti.ActivitiWorkflowHelper.signalTask(ActivitiWorkflowHelper.java:127) ~[workflow-1.0.0.jar:?]
        at com.airvana.dms.configuration.workflow.activiti.ActivitiWorkflowHelper$$FastClassByCGLIB$$8083e19b.invoke(<generated>) ~[spring-core-3.2.3.RELEASE.jar:?]
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) ~[spring-core-3.2.3.RELEASE.jar:3.2.3.RELEASE]
        at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:698) ~[spring-aop-3.2.3.RELEASE.jar:3.2.3.RELEASE]

Regards,
Sakumar

3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
I haven't seen that exception in my life…

Need more info: what database? What web container?

sakumar1
Champ in-the-making
Champ in-the-making
Application using Oracle Database, deployed in Weblogic Server

jbarrez
Star Contributor
Star Contributor
Then I would look in that direction - I'm guessing some security setting on JDK/classes level that is imposed by Weblogic.