Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .09 17:29:07.301 TRACE [LoyPluginEmulator] getUrlProperty: the "secondary.calc.url" is not set
- 03.09 17:29:07.302 TRACE [LoyPluginEmulator] leaving readProperties(IntegrationProperties, Logger). The result is: LoyPluginEmulatorProperties{primaryCalcUrl=http://127.0.0.1:10065/loy-plugin-processing/emulator/process, secondaryCalcUrl=null, feedbackUrl=http://127.0.0.1:10065/loy-plugin-processing/emulator/feedback, connectionTimeout=1000, readTimeout=1000, cardProcessingId='null', dontSendChequeWithSoftNotDiscountablePosition=false}; it took 2 [ms]
- 03.09 17:29:07.343 TRACE [LoyPluginEmulator] entering makeCalcCalls(List, EmulatorReceipt). The arguments are: urls: [http://127.0.0.1:10065/loy-plugin-processing/emulator/process], emulatorReceipt: emul-receipt [card: emul-card [no: "1510003"; available: 1234567; to-write-off: null]; positions: [emul-pos [no: 1; marking: "00818"; qnty: 1000; sum: 10757; min-sum: 0; discountable: true]]]
- 03.09 17:29:08.367 ERROR [LoyPluginEmulator] makeCalcCalls() failed
- java.net.SocketTimeoutException: Read timed out
- at java.net.SocketInputStream.socketRead0(Native Method)
- at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
- at java.net.SocketInputStream.read(SocketInputStream.java:170)
- at java.net.SocketInputStream.read(SocketInputStream.java:141)
- at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
- at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
- at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
- at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
- at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
- at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
- at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
- at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
- at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
- at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
- at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
- at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
- at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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)
- 03.09 17:29:08.369 ERROR [LoyPluginEmulator] makeCalcCalls: exception caught!
- java.net.SocketTimeoutException: Read timed out
- at java.net.SocketInputStream.socketRead0(Native Method)
- at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
- at java.net.SocketInputStream.read(SocketInputStream.java:170)
- at java.net.SocketInputStream.read(SocketInputStream.java:141)
- at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
- at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
- at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
- at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
- at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
- at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
- at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
- at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
- at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
- at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
- at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
- at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
- at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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)
- 03.09 17:29:08.374 WARN [LoyPluginEmulator] leaving makeCalcCalls(List, EmulatorReceipt). NO CONNECTION; it took 1030 [ms]
- 03.09 17:29:08.374 ERROR [LoyPluginEmulator] doDiscount: exception caught!
- java.net.SocketTimeoutException: Read timed out
- at java.net.SocketInputStream.socketRead0(Native Method)
- at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
- at java.net.SocketInputStream.read(SocketInputStream.java:170)
- at java.net.SocketInputStream.read(SocketInputStream.java:141)
- at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
- at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
- at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
- at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
- at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
- at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
- at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
- at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
- at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
- at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
- at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
- at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
- at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
- at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
- at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
- at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
- at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- 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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement