SHARE
TWEET

Untitled

a guest Oct 12th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 18:50:36,325 WARN  [com.sirmaenterprise.sep.jms.impl.receiver.BlockingMessageReceiverChannel] (JMSReaderThread-6) Failed to accept message from java:/jms.queue.CompletedOCRQueue: com.sirma.itt.seip.exception.RollbackedRuntimeException: com.sirma.itt.seip.security.exception.SecurityException: Cannot access system database via tenant datasource!
  2.     at com.sirmaenterprise.sep.jms.impl.MethodMessageConsumer.accept(MethodMessageConsumer.java:54)
  3.     at com.sirmaenterprise.sep.jms.impl.receiver.BlockingMessageReceiverChannel.lambda$onMessage$0(BlockingMessageReceiverChannel.java:96)
  4.     at com.sirmaenterprise.sep.jms.impl.receiver.MessageReceiverStore$DestinationReceiverSession.handleMessage(MessageReceiverStore.java:158)
  5.     at com.sirmaenterprise.sep.jms.impl.receiver.MessageReceiverStore$DestinationReceiverSession.readMessageInternal(MessageReceiverStore.java:148)
  6.     at com.sirmaenterprise.sep.jms.impl.receiver.MessageReceiverStore$DestinationReceiverSession.lambda$fetchMessage$1(MessageReceiverStore.java:129)
  7.     at com.sirma.itt.seip.tx.JtaTransactionSupport.invokeInNewTx(JtaTransactionSupport.java:152)
  8.     at com.sirma.itt.seip.tx.JtaTransactionSupport$Proxy$_$$_WeldSubclass.invokeInNewTx$$super(Unknown Source)
  9.     at sun.reflect.GeneratedMethodAccessor646.invoke(Unknown Source)
  10.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  11.     at java.lang.reflect.Method.invoke(Method.java:498)
  12.     at org.jboss.weld.interceptor.proxy.TerminalAroundInvokeInvocationContext.proceedInternal(TerminalAroundInvokeInvocationContext.java:49)
  13.     at org.jboss.weld.interceptor.proxy.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:77)
  14.     at com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorBase.invokeInOurTx(TransactionalInterceptorBase.java:92)
  15.     at com.arjuna.ats.jta.cdi.transactional.TransactionalInterceptorRequiresNew.intercept(TransactionalInterceptorRequiresNew.java:59)
  16.     at sun.reflect.GeneratedMethodAccessor624.invoke(Unknown Source)
  17.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  18.     at java.lang.reflect.Method.invoke(Method.java:498)
  19.     at org.jboss.weld.interceptor.reader.SimpleInterceptorInvocation$SimpleMethodInvocation.invoke(SimpleInterceptorInvocation.java:74)
  20.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeAroundInvoke(InterceptorMethodHandler.java:84)
  21.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.executeInterception(InterceptorMethodHandler.java:72)
  22.     at org.jboss.weld.interceptor.proxy.InterceptorMethodHandler.invoke(InterceptorMethodHandler.java:56)
  23.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:79)
  24.     at org.jboss.weld.bean.proxy.CombinedInterceptorAndDecoratorStackMethodHandler.invoke(CombinedInterceptorAndDecoratorStackMethodHandler.java:68)
  25.     at com.sirma.itt.seip.tx.JtaTransactionSupport$Proxy$_$$_WeldSubclass.invokeInNewTx(Unknown Source)
  26.     at com.sirma.itt.seip.tx.JtaTransactionSupport$Proxy$_$$_WeldClientProxy.invokeInNewTx(Unknown Source)
  27.     at com.sirma.itt.seip.tx.TransactionSupportProxy.invokeInNewTx(TransactionSupportProxy.java:123)
  28.     at com.sirmaenterprise.sep.jms.impl.receiver.MessageReceiverStore$DestinationReceiverSession.fetchMessage(MessageReceiverStore.java:129)
  29.     at com.sirmaenterprise.sep.jms.impl.receiver.MessageReceiverStore$DestinationReceiverSession.waitMessage(MessageReceiverStore.java:123)
  30.     at com.sirmaenterprise.sep.jms.impl.receiver.BlockingMessageReceiverChannel.run(BlockingMessageReceiverChannel.java:74)
  31.     at java.lang.Thread.run(Thread.java:745)
  32. Caused by: com.sirma.itt.seip.security.exception.SecurityException: Cannot access system database via tenant datasource!
  33.     at com.sirma.itt.seip.tenant.db.DefaultSecurityContextTenantIdentifierResolver.resolveCurrentTenantIdentifier(DefaultSecurityContextTenantIdentifierResolver.java:20)
  34.     at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.<init>(SessionFactoryImpl.java:1572)
  35.     at org.hibernate.internal.SessionFactoryImpl.withOptions(SessionFactoryImpl.java:1019)
  36.     at org.hibernate.jpa.internal.EntityManagerImpl.internalGetSession(EntityManagerImpl.java:123)
  37.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1579)
  38.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.postInit(AbstractEntityManagerImpl.java:210)
  39.     at org.hibernate.jpa.internal.EntityManagerImpl.<init>(EntityManagerImpl.java:91)
  40.     at org.hibernate.jpa.internal.EntityManagerFactoryImpl.internalCreateEntityManager(EntityManagerFactoryImpl.java:345)
  41.     at org.hibernate.jpa.internal.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:338)
  42.     at org.jboss.as.jpa.container.TransactionScopedEntityManager.createEntityManager(TransactionScopedEntityManager.java:169)
  43.     at org.jboss.as.jpa.container.TransactionScopedEntityManager.getOrCreateTransactionScopedEntityManager(TransactionScopedEntityManager.java:148)
  44.     at org.jboss.as.jpa.container.TransactionScopedEntityManager.getEntityManager(TransactionScopedEntityManager.java:80)
  45.     at org.jboss.as.jpa.container.AbstractEntityManager.createNamedQuery(AbstractEntityManager.java:375)
  46.     at com.sirma.itt.seip.db.BaseRelationalDbDao.fetchWithNamed(BaseRelationalDbDao.java:117)
  47.     at com.sirma.itt.seip.db.DbDaoImpl$Proxy$_$$_WeldSubclass.fetchWithNamed(Unknown Source)
  48.     at com.sirma.itt.seip.db.DbDaoImpl$Proxy$_$$_WeldClientProxy.fetchWithNamed(Unknown Source)
  49.     at com.sirma.sep.content.ContentEntityDao.getEntity(ContentEntityDao.java:326)
  50.     at com.sirma.sep.content.ContentEntityDao.getOrCreateEntity(ContentEntityDao.java:170)
  51.     at com.sirma.sep.content.ContentPersistProvider$ContentPersister.persist(ContentPersistProvider.java:169)
  52.     at com.sirma.sep.content.InstanceContentServiceImpl.saveContentInternal(InstanceContentServiceImpl.java:155)
  53.     at com.sirma.sep.content.InstanceContentServiceImpl.saveContent(InstanceContentServiceImpl.java:93)
  54.     at com.sirma.sep.content.InstanceContentServiceImpl$Proxy$_$$_WeldClientProxy.saveContent(Unknown Source)
  55.     at com.sirma.sep.ocr.jms.ContentOCRCompleteQueue.onContentOCRDoneMessage(ContentOCRCompleteQueue.java:83)
  56.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  57.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  58.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  59.     at java.lang.reflect.Method.invoke(Method.java:498)
  60.     at com.sirmaenterprise.sep.jms.impl.MethodMessageConsumer.accept(MethodMessageConsumer.java:51)
  61.     ... 29 more
RAW Paste Data
Top