Цитата: Mtirt ➤ Что в логах Модуля контроля цен?
В логах сервера?
В логах сервера ничего плохого не пишется, вот лог модуля контроля цен
22.06.2015 11:58:45,921 [28196] WARN CSmPriceCheckerApp::MainForService - Service starting -> try to start working threads
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::MainForService - Command line arguments: Arg( 0 ) = <Sm.PriceChecker.Server>
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::MainForService - Current settings. Dump:
[CMainSetts]
DataSourceDir = D:\cassa\pricecheck
CheckDirTimeout = 30
Action_UPC_A = 0
Action_UPC_E = 0
RoundScale = 2
RoundType = 0
Quantity = 2
DiscountType = 5
[CLogSettings]
LogLevel = 2
LogPath = D:\cassa\pricecheck
FileName = PriceChecker.log
[CDBSettings]
Server =
Port = 3050
Login = SYSDBA
Password(length) = 9
Connection count = 3
DatabaseName = C:\SM2000\Bin\SmPriceChecker.fdb
[CNetSettings]
SelectTimeout = 30
[CShtrichSettings]
DiscontCardDiscount = %NAME\nЦена:%PRICERUBр. ДК:%DISCPERCENT%%
GroupDiscount = %NAME\nЦена:%PRICERUBр. Скидка:%DISCPERCENT%%
Error = Штриховой код товара\n не зарегистрирован.
Scale = %NAME\nвес: %SCALE %MEASURE\n Сумма: %SUMр.
Standart = %NAME\n Цена: %PRICERUBр
ServerPort = 2004
ClientPort = 1002
ShowTimeout = 1500
ShowResponseDelay = 1500
Display = Готов к работе
Wait = Чтение данных...
[CShuttleSettings]
DiscontCardDiscount = \x1b\x2e\x30\x1b\x42\x30\x1b\x27\x30\x30%NAME\x1b\x27\x30\x31%NAME1\x1b\x27\x30\x32Цена: %PRICERUB р. \x1b\x42\x31\x1b\x2e\x37С ДК: %DISCPRICE р.
GroupDiscount = \x1b\x2e\x30\x1b\x42\x30\x1b\x27\x30\x30%NAME\x1b\x27\x30\x31%NAME1\x1b\x27\x30\x32Цена: %PRICERUB р. \x1b\x42\x31\x1b\x2e\x37Со ск.: %DISCPRICE
Error = \x1b\x2e\x30\x1b\x42\x30\x1b\x27\x30\x30Извините, штриховой\x1b\x27\x30\x31код товара не\x1b\x27\x30\x32зарегистрирован.
Scale = \x1b\x2e\x30\x1b\x42\x30\x1b\x27\x30\x30%NAME\x1b\x27\x30\x31цена: %PRICERUB р. за %MEASURE\x1b\x27\x30\x32вес: %SCALE %MEASURE\x1b\x42\x31\x1b\x2e\x37Сумма: %SUM р.
Standart = \x1b\x2e\x30\x1b\x42\x30\x1b\x27\x30\x30%NAME \x1b\x27\x30\x31%NAME1\x1b\x42\x31\x1b\x2e\x37Цена: %PRICERUB р.
ServerPort = 9101
[CBeetleSettings]
DiscontCardDiscount = %NAME
%NAME1
%NAME2
Цена:%PRICERUBр. ДК:%DISCPERCENT%%
GroupDiscount = %NAME
%NAME1
%NAME2
Цена:%PRICERUBр. Скидка:%DISCPERCENT%%
Error = Штриховой код товара
не зарегистрирован.
Scale = %NAME
Вес: %SCALE %MEASURE
Цена: %PRICERUBр.
Сумма: %SUMр.
Standart = %NAME
%NAME1
%NAME2
Цена: %PRICERUBр
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start data loading thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Creating event object
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Event object created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Creating thread object
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Thread object created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Try to run thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDataLoader::Start - Done. Thread id = 28348
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Data loading thread started
22.06.2015 11:58:45,921 [28348] WARN sm2000::CDataLoader::Run - Data loader thread started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start Shtrich scroll thread
22.06.2015 11:58:45,921 [28348] DEBUG sm2000::CDataLoader::Run - Work in directory = <D:\cassa\pricecheck\> with timeout = 30 second
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CScrollableThread::Start - Try to create thread
22.06.2015 11:58:45,921 [28348] WARN sm2000::CDataLoader::Run - Try to load information about articles from directory = <D:\cassa\pricecheck\>
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CScrollableThread::Start - Thread 18956 is started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Shtrich scroll thread started
22.06.2015 11:58:45,921 [18956] DEBUG sm2000::CScrollableThread::Run - Worker thread started
22.06.2015 11:58:45,921 [28348] WARN sm2000::CDataLoader::Run - May be data exchange catalog unavailable or no data in catalog.
Details: can't capture "D:\cassa\pricecheck\DataReady.flg" file.
Error: Can't open file = <D:\cassa\pricecheck\DataBusy.flg>, reason = <Файл D:\cassa\pricecheck\DataBusy.flg не найден.>, cause_code = 2, IO_code = 2
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start Shuttle sender thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to create CThread
22.06.2015 11:58:45,921 [28348] WARN sm2000::CDataLoader::Run - May be data exchange catalog unavailable or no data in catalog. Data exchange directory = <D:\cassa\pricecheck\>
22.06.2015 11:58:45,921 [18956] DEBUG sm2000::CScrollableThread::Run - Select timeout is 100 msec
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to run thread
22.06.2015 11:58:45,921 [28348] DEBUG sm2000::CDataLoader::IsStopped - Wait for event 30000 msec
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Thread id = 20116 is running
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Shuttle sender thread started
22.06.2015 11:58:45,921 [20116] DEBUG sm2000::CSenderThread::Run - Working thread is running
22.06.2015 11:58:45,921 [20116] DEBUG sm2000::CSenderThread::Run - Select interval is 30 msec
22.06.2015 11:58:45,921 [20116] DEBUG sm2000::CSenderThread::Run - Pool size = 0
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start Shtrich sender thread
22.06.2015 11:58:45,921 [20116] DEBUG sm2000::CSenderThread::Run - Try to get element from queue
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to create CThread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to run thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Thread id = 25036 is running
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CShtrichSender::OnStart - Try to prepare ReadyToWork template. Template = < Готов к работе>
22.06.2015 11:58:45,921 [25036] DEBUG sm2000::CSenderThread::Run - Working thread is running
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Shtrich sender thread started
22.06.2015 11:58:45,921 [25036] DEBUG sm2000::CSenderThread::Run - Select interval is 30 msec
22.06.2015 11:58:45,921 [25036] DEBUG sm2000::CSenderThread::Run - Pool size = 0
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start Beetle sender thread
22.06.2015 11:58:45,921 [25036] DEBUG sm2000::CSenderThread::Run - Try to get element from queue
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to create CThread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Try to run thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CSenderThread::Start - Thread id = 20044 is running
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Beetle sender thread started
22.06.2015 11:58:45,921 [20044] DEBUG sm2000::CSenderThread::Run - Working thread is running
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start db search thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDbThread::Start - Try to create Thread pool
22.06.2015 11:58:45,921 [20044] DEBUG sm2000::CSenderThread::Run - Select interval is 30 msec
22.06.2015 11:58:45,921 [20044] DEBUG sm2000::CSenderThread::Run - Pool size = 0
22.06.2015 11:58:45,921 [20044] DEBUG sm2000::CSenderThread::Run - Try to get element from queue
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CDbThread::Start - Thread pool created
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - db search thread started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start receiver thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Start - Starting Receiving thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Stop - Try to clear elements in queue
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Stop - There are 0 elements in queue
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Stop - Queue elements is cleared
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Stop - Try to clear inner map, size = 0
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Stop - Inner map is cleared
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Start - Try to create CThread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Start - Created
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Start - Try to run thread
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CReceiverThread::Start - Thread id = 23136 is running
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Receiver thread started
22.06.2015 11:58:45,921 [23136] DEBUG sm2000::CReceiverThread::Run - Thread is started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start server socket thread
22.06.2015 11:58:45,921 [23136] DEBUG sm2000::CReceiverThread::Run - Select timeout = 30
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Settings(0) = <, DeviceType = <Shtrich>, port = <2004>, server = <NULL>>
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Try to create server socket for settings with index = 0
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Server socket created TCP port=2004
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Settings(1) = <, DeviceType = <Shuttle>, port = <9101>, server = <NULL>>
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Try to create server socket for settings with index = 1
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Server socket created TCP port=9101
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Settings(2) = <, DeviceType = <Unknown, value = 3>, port = <63407>, server = <NULL>>
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Try to create server socket for settings with index = 2
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - Server socket created TCP port=63407
22.06.2015 11:58:45,921 [28196] DEBUG sm2000::CServerSocket::Start - New thread started, id = 20468
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Server socket thread started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - Try to start watching on settings changes in registry
22.06.2015 11:58:45,921 [20468] DEBUG sm2000::CServerSocket::Run - Thread started
22.06.2015 11:58:45,921 [28196] DEBUG CSmPriceCheckerApp::StartThreads - done
22.06.2015 11:58:45,921 [28196] WARN CSmPriceCheckerApp::MainForService - Service started
22.06.2015 11:58:45,921 [20468] DEBUG sm2000::CServerSocket::Run - Select timeout = 30 msec