Захотел на тестовом проверить
проблему СкубаНа виртуальной машине уже был поднят сервер, но без модуля NPAY.
Установил модуль - но в планировщике нет задач модуля NPAY
Еще раз переустанавливал модуль - задачи так и не появились.
Код:
[root@bg BGBillingServer]# ./bg_installer.sh killhash 0
......
Hash killing for 0 finished!
03-06/15:30:57 INFO [Thread-3] EventProcessor - Shutdown EventProcessor...
03-06/15:30:57 DEBUG [Thread-3] ActiveMQMessageConsumer - remove: ID:bg.local-39018-1331033447173-0:1:2:1, lastDeliveredSequenceId:0
Код:
[root@bg BGBillingServer]# ./bg_installer.sh killhash m1
......
Hash killing for m1 finished!
03-06/15:31:13 INFO [Thread-3] EventProcessor - Shutdown EventProcessor...
03-06/15:31:13 DEBUG [Thread-3] ActiveMQMessageConsumer - remove: ID:bg.local-35400-1331033462457-0:1:2:1, lastDeliveredSequenceId:0
Код:
[root@bg BGBillingServer]# ./bg_installer.sh npay_5.2_166.zip!
03-06/15:31:18 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@1662dc8] to java:comp/env/mq/connectionFactory
03-06/15:31:18 INFO [main] DefaultServerSetup - Init DB connection pools
03-06/15:31:18 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
03-06/15:31:18 INFO [main] DefaultServerSetup - Init trash pools..
mq 03-06/15:31:18 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory...
mq 03-06/15:31:18 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport.
mq 03-06/15:31:19 DEBUG [EventProcessor-init] FailoverTransport - Started.
mq 03-06/15:31:19 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task
mq 03-06/15:31:19 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616?socketBufferSize=1000000]
mq 03-06/15:31:19 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616?socketBufferSize=1000000
mq 03-06/15:31:19 DEBUG [ActiveMQ Task] WireFormatNegotiator - Sending: WireFormatInfo { version=6, properties={CacheSize=1024, CacheEnabled=true, SizePrefixDisabled=false, MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
mq 03-06/15:31:19 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - Received WireFormat: WireFormatInfo { version=6, properties={CacheSize=1024, CacheEnabled=true, SizePrefixDisabled=false, MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
mq 03-06/15:31:19 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 before negotiation: OpenWireFormat{version=6, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false}
mq 03-06/15:31:19 DEBUG [ActiveMQ NIO Worker] WireFormatNegotiator - tcp:///127.0.0.1:61616 after negotiation: OpenWireFormat{version=6, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false}
mq 03-06/15:31:19 DEBUG [ActiveMQ Task] FailoverTransport - Connection established
mq 03-06/15:31:19 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616?socketBufferSize=1000000
03-06/15:31:20 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@5ddb6e to BG.Event.ru.bitel.bgbilling.kernel.event.events.ModuleConfigModifiedEvent
Module: npay already installed. Reinstalling....
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
REINIT module => 1
(1050) Table 'npay_service_object_1' already exists
(1060) Duplicate column name 'col'
(1060) Duplicate column name 'id'
(1068) Multiple primary key defined
(1060) Duplicate column name 'cid'
(1061) Duplicate key name 'cid'
(1061) Duplicate key name 'oid'
(1060) Duplicate column name 'sid'
(1060) Duplicate column name 'date1'
(1060) Duplicate column name 'date2'
(1060) Duplicate column name 'emid'
(1060) Duplicate column name 'eid'
(1060) Duplicate column name 'comment'
Module Instance init => OK
Executing call PutFile; param: npay.xml:actions
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module npay was successfull installed!
Please, restart BGBilling server.
03-06/15:31:30 INFO [Thread-3] EventProcessor - Shutdown EventProcessor...
03-06/15:31:30 DEBUG [Thread-3] ActiveMQMessageConsumer - remove: ID:bg.local-53467-1331033479423-0:1:2:1, lastDeliveredSequenceId:0
[root@bg BGBillingServer]# ./server_stop.sh
OK stopping..
[root@bg BGBillingServer]# ./server_start.sh
[root@bg BGBillingServer]# ./scheduler_stop.sh
Sending 'stop' on 127.0.0.1:9066
Result: ok
[root@bg BGBillingServer]# ./scheduler_start.sh
Вложение:
2012-03-06_153755.png [ 19.88 КБ | Просмотров: 1935 ]
Код:
Информация о версии:
Клиент: вер. 5.2 сборка 927 от 06.03.2012 12:51:11
os: Windows 7; java: Java HotSpot(TM) 64-Bit Server VM, v.1.6.0_30
Сервер: вер. 5.2 сборка 1083 от 06.03.2012 12:50:39
os: Linux; java: Java HotSpot(TM) Client VM, v.1.6.0_31
npay вер. 5.2 сборка 166 от 06.03.2012 13:59:49
ru.bitel.bgbilling.plugins.cashcheck вер. 5.2 сборка 98 от 03.03.2012 13:10:55