Advertisement
fedorm

Untitled

Sep 3rd, 2019
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 13.97 KB | None | 0 0
  1. .09 17:29:07.301 TRACE [LoyPluginEmulator] getUrlProperty: the "secondary.calc.url" is not set
  2. 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]
  3. 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]]]
  4. 03.09 17:29:08.367 ERROR [LoyPluginEmulator] makeCalcCalls() failed
  5. java.net.SocketTimeoutException: Read timed out
  6.     at java.net.SocketInputStream.socketRead0(Native Method)
  7.     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  8.     at java.net.SocketInputStream.read(SocketInputStream.java:170)
  9.     at java.net.SocketInputStream.read(SocketInputStream.java:141)
  10.     at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
  11.     at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
  12.     at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
  13.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
  14.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
  15.     at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
  16.     at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
  17.     at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
  18.     at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
  19.     at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
  20.     at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
  21.     at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
  22.     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
  23.     at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
  24.     at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
  25.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
  26.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
  27.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
  28.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
  29.     at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
  30.     at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
  31.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
  32.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
  33.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
  34.     at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
  35.     at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
  36.     at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
  37.     at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
  38.     at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
  39.     at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
  40.     at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
  41.     at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
  42.     at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
  43.     at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
  44.     at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
  45.     at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
  46.     at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
  47.     at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
  48.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  49.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  50.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  51.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  52.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  53.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  54.     at java.lang.Thread.run(Thread.java:745)
  55. 03.09 17:29:08.369 ERROR [LoyPluginEmulator] makeCalcCalls: exception caught!
  56. java.net.SocketTimeoutException: Read timed out
  57.     at java.net.SocketInputStream.socketRead0(Native Method)
  58.     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  59.     at java.net.SocketInputStream.read(SocketInputStream.java:170)
  60.     at java.net.SocketInputStream.read(SocketInputStream.java:141)
  61.     at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
  62.     at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
  63.     at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
  64.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
  65.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
  66.     at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
  67.     at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
  68.     at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
  69.     at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
  70.     at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
  71.     at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
  72.     at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
  73.     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
  74.     at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
  75.     at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
  76.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
  77.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
  78.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
  79.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
  80.     at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
  81.     at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
  82.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
  83.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
  84.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
  85.     at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
  86.     at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
  87.     at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
  88.     at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
  89.     at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
  90.     at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
  91.     at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
  92.     at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
  93.     at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
  94.     at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
  95.     at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
  96.     at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
  97.     at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
  98.     at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
  99.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  100.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  101.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  102.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  103.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  104.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  105.     at java.lang.Thread.run(Thread.java:745)
  106. 03.09 17:29:08.374 WARN  [LoyPluginEmulator] leaving makeCalcCalls(List, EmulatorReceipt). NO CONNECTION; it took 1030 [ms]
  107. 03.09 17:29:08.374 ERROR [LoyPluginEmulator] doDiscount: exception caught!
  108. java.net.SocketTimeoutException: Read timed out
  109.     at java.net.SocketInputStream.socketRead0(Native Method)
  110.     at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
  111.     at java.net.SocketInputStream.read(SocketInputStream.java:170)
  112.     at java.net.SocketInputStream.read(SocketInputStream.java:141)
  113.     at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
  114.     at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
  115.     at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
  116.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
  117.     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
  118.     at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)
  119.     at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)
  120.     at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:165)
  121.     at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)
  122.     at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
  123.     at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
  124.     at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
  125.     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
  126.     at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
  127.     at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
  128.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
  129.     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
  130.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.makeCalcCalls(LoyPluginEmulator.java:242)
  131.     at ru.crystals.emulator.loy.plugin.LoyPluginEmulator.doDiscount(LoyPluginEmulator.java:115)
  132.     at ru.crystals.pos.loyal.SetApiPluginLoyProvider.process(SetApiPluginLoyProvider.java:168)
  133.     at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:125)
  134.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.calcDiscounts(LoyalServiceImpl.java:801)
  135.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doLoyalty(LoyalServiceImpl.java:730)
  136.     at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:842)
  137.     at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:162)
  138.     at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3872)
  139.     at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenario(TechProcessImpl.java:3442)
  140.     at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenario(CheckContainer.java:1542)
  141.     at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1514)
  142.     at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1411)
  143.     at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:813)
  144.     at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:604)
  145.     at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:4479)
  146.     at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:167)
  147.     at ru.crystals.pos.CashEventSource.process(CashEventSource.java:140)
  148.     at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:120)
  149.     at ru.crystals.pos.CashEventSource.run(CashEventSource.java:103)
  150.     at ru.crystals.pos.InternalCashPoolExecutorImpl.lambda$submit$2(InternalCashPoolExecutorImpl.java:118)
  151.     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  152.     at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  153.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
  154.     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  155.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  156.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  157.     at java.lang.Thread.run(Thread.java:745)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement