Я работаю над многопоточным приложением java, которое вызывает функцию менеджера сохранения сущностей, основанную на hibernate, иногда я получаю это исключение, я запутался, если это проблема соединения с базой данных oracle или что-то не так происходит
Это мои логи:
org.springframework.transaction.support.TransactionTemplate:167Application exception overridden by rollback exception
javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not execute query
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) ~[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) ~[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.jpa.internal.QueryImpl.getSingleResult(QueryImpl.java:524) ~[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final]
at com.mysema.query.jpa.impl.AbstractJPAQuery.getSingleResult(AbstractJPAQuery.java:218) ~[querydsl-jpa-3.4.3.jar:na]
at com.mysema.query.jpa.impl.AbstractJPAQuery.uniqueResult(AbstractJPAQuery.java:289) ~[querydsl-jpa-3.4.3.jar:na]
at com.mysema.query.jpa.impl.AbstractJPAQuery.uniqueResult(AbstractJPAQuery.java:281) ~[querydsl-jpa-3.4.3.jar:na]
at com.errabi.glsid.ordering.selection.OriginalOrderReadService.findOriginalOrder(OriginalOrderReadService.java:28) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.ordering.selection.OriginalOrderReadService$$FastClassBySpringCGLIB$$e5122c6f.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.ordering.selection.OriginalOrderReadService$$EnhancerBySpringCGLIB$$dbfe24d9.findOriginalOrder(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.OrderToOriginalOrderStatePropagator.getParent(OrderToOriginalOrderStatePropagator.java:18) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.OrderToOriginalOrderStatePropagator.getParent(OrderToOriginalOrderStatePropagator.java:10) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ChildToParentStatePropagator.progateState(ChildToParentStatePropagator.java:29) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToPropagatingState(StateServiceImpl.java:179) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToPropagatingState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ChildToParentStatePropagator.propagateStateToParent(ChildToParentStatePropagator.java:57) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ChildToParentStatePropagator.progateState(ChildToParentStatePropagator.java:33) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToPropagatingState(StateServiceImpl.java:179) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToPropagatingState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ChildToParentStatePropagator.propagateStateToParent(ChildToParentStatePropagator.java:57) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ChildToParentStatePropagator.progateState(ChildToParentStatePropagator.java:33) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToPropagatingState(StateServiceImpl.java:179) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToPropagatingState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ParentToChildStatePropagator.propagateStateToChildren(ParentToChildStatePropagator.java:53) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.ParentToChildStatePropagator.progateState(ParentToChildStatePropagator.java:33) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:205) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:288) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.SimpleStatePropagator.progateState(SimpleStatePropagator.java:29) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:205) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:288) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.SimpleStatePropagator.progateState(SimpleStatePropagator.java:29) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.propagations.StatePropagator.onStateChange(StatePropagator.java:39) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.sendStateChangeEvent(StateServiceImpl.java:262) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:223) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:205) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:288) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl.changeToState(StateServiceImpl.java:193) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.state.StateServiceImpl$$FastClassBySpringCGLIB$$fd888a01.invoke(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.state.StateServiceImpl$$EnhancerBySpringCGLIB$$deb2b22b.changeToState(<generated>) ~[spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.SourceProcess.onSuccess(SourceProcess.java:31) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.SourceProcess.onSuccess(SourceProcess.java:16) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.SingleItemProcess.processItem(SingleItemProcess.java:93) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.SingleItemProcess.doHandleChunk(SingleItemProcess.java:70) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.ChunkedProcess$HandleChunkTransactionCallback.doInTransaction(ChunkedProcess.java:85) ~[classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.ChunkedProcess$HandleChunkTransactionCallback.doInTransaction(ChunkedProcess.java:74) ~[classes/:2.2.1.1-GoLiveRelease]
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.core.process.batch.ChunkedProcess.handleChunk(ChunkedProcess.java:62) [classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.ChunkedProcess.handleChunksInSequence(ChunkedProcess.java:55) [classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.ChunkedProcess.run(ChunkedProcess.java:45) [classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.batch.ChunkedProcess$$FastClassBySpringCGLIB$$3757f576.invoke(<generated>) [spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) [spring-core-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:717) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:98) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:266) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95) [spring-tx-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653) [spring-aop-4.1.0.RELEASE.jar:4.1.0.RELEASE]
at com.errabi.glsid.distribution.shipping.ShippingProcess$$EnhancerBySpringCGLIB$$3349e906.run(<generated>) [spring-core-4.1.0.RELEASE.jar:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.core.process.ProcessLauncher.run(ProcessLauncher.java:40) [classes/:2.2.1.1-GoLiveRelease]
at com.errabi.glsid.distribution.shipping.ShippingService$1.run(ShippingService.java:70) [classes/:2.2.1.1-GoLiveRelease]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [na:1.8.0_151]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_151]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_151]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_151]
Caused by: org.hibernate.exception.JDBCConnectionException: could not execute query
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:132) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.doList(Loader.java:2556) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.doList(Loader.java:2539) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2369) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.list(Loader.java:2364) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:496) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:387) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:231) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1264) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573) ~[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.jpa.internal.QueryImpl.getSingleResult(QueryImpl.java:495) ~[hibernate-entitymanager-4.3.6.Final.jar:4.3.6.Final]
... 140 common frames omitted
Caused by: java.sql.SQLRecoverableException: IO Error: Unexpected packet
at oracle.jdbc.driver.T4CConnection.getChars(T4CConnection.java:3028) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.sql.CLOB.getChars(CLOB.java:402) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.sql.CLOB.getSubString(CLOB.java:274) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CClobAccessor.getString(T4CClobAccessor.java:476) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:1251) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:494) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getString(DelegatingResultSet.java:266) ~[tomcat-dbcp.jar:8.0.28]
at org.apache.tomcat.dbcp.dbcp2.DelegatingResultSet.getString(DelegatingResultSet.java:266) ~[tomcat-dbcp.jar:8.0.28]
at org.hibernate.type.descriptor.sql.VarcharTypeDescriptor$2.doExtract(VarcharTypeDescriptor.java:74) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.type.descriptor.sql.BasicExtractor.extract(BasicExtractor.java:64) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:267) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:263) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.type.AbstractStandardBasicType.nullSafeGet(AbstractStandardBasicType.java:253) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.type.AbstractStandardBasicType.hydrate(AbstractStandardBasicType.java:338) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2969) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1695) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1627) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.getRow(Loader.java:1514) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:725) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.processResultSet(Loader.java:952) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.doQuery(Loader.java:920) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:354) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
at org.hibernate.loader.Loader.doList(Loader.java:2553) ~[hibernate-core-4.3.6.Final.jar:4.3.6.Final]
... 150 common frames omitted
Caused by: oracle.net.ns.NetException: Unexpected packet
at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:252) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.net.ns.NetInputStream.read(NetInputStream.java:175) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.net.ns.NetInputStream.read(NetInputStream.java:100) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.net.ns.NetInputStream.read(NetInputStream.java:85) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:122) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:78) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1179) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1155) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:279) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4C8TTIClob.read(T4C8TTIClob.java:240) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
at oracle.jdbc.driver.T4CConnection.getChars(T4CConnection.java:3015) ~[ojdbc6-11.2.0.1.0.jar:11.2.0.1.0]
Любой имеет представление о том, что является источником этого исключения: Причина: oracle.net.ns.NetException: Неожиданный пакет