02.03.2017 08:40
nik_ll
 
Привет! Может кто подскажет куда копать.
Есть центрум в который загружено 80000 карт (к половине привязаны клиенты).
К центруму напрямую привязаны кассы. На кассы почему-то грузится разное количество карт, и никогда они не загружаются все целиком. В логе cards.log на кассе масса такого:
01.03 22:20:12 ERROR [CardsFilesReader2] failed to PERSIST cards from file-catalog [file-id: 974439, file-url:
01.03 22:20:12 ERROR [CardsFilesReader2] the error stack trace is:
org.hibernate.TransactionException: nested transactions not supported
at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:154)
at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1471)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:356)
at com.sun.proxy.$Proxy36.beginTransaction(Unknown Source)
at ru.crystals.pos.cards.service.CardsServiceImpl.execNativeSQL(CardsServiceImpl.java:1519)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.persistCards(CardsFilesReader2.java:249)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.importCardCatalogs(CardsFilesReader2.java:548)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.run(CardsFilesReader2.java:881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
 at org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:154)
at org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1471)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hibernate.context.internal.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:356)
at com.sun.proxy.$Proxy36.beginTransaction(Unknown Source)
at ru.crystals.pos.cards.service.CardsServiceImpl.execNativeSQL(CardsServiceImpl.java:1519)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.persistCards(CardsFilesReader2.java:249)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.importCardCatalogs(CardsFilesReader2.java:548)
at ru.crystals.pos.cards.filetransport.CardsFilesReader2.run(CardsFilesReader2.java:881)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
01.03 22:20:23 ERROR [CardsFilesReader2] failed to PERSIST cards from file-catalog [file-id: 974460, file-url:
01.03 22:20:23 ERROR [CardsFilesReader2] the error stack trace is:
org.hibernate.TransactionException: nested transactions not supported
03.03.2017 07:32
TANGOR
 
Аувас версии касс и центрума совпадают?
03.03.2017 09:13
nik_ll
 
Совпадают. 28.1
5 касс и на каждой разное количество не принятых карт. И не могу понять почему. Они не бракуются, в reject из нет. Просто не принимаются...

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.