Код:
/bg_installer.sh killhash m9
10-04/13:21:06 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@47315d34] to java:comp/env/mq/connectionFactory
10-04/13:21:06 INFO [main] DefaultServerSetup - Init DB connection pools
10-04/13:21:06 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
10-04/13:21:06 INFO [main] DefaultServerSetup - Init trash pools..
mq 10-04/13:21:06 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory...
mq 10-04/13:21:06 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport.
mq 10-04/13:21:06 DEBUG [EventProcessor-init] FailoverTransport - Started.
mq 10-04/13:21:06 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task
mq 10-04/13:21:06 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616]
mq 10-04/13:21:06 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616
mq 10-04/13:21:06 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 10-04/13:21:06 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 10-04/13:21:06 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 10-04/13:21:06 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 10-04/13:21:06 DEBUG [ActiveMQ Task] FailoverTransport - Connection established
mq 10-04/13:21:06 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616
10-04/13:21:07 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@710ca208 to BG.Event.ru.bitel.bgbilling.kernel.event.events.ModuleConfigModifiedEvent
Hash killing for m9 finished!
10-04/13:21:17 INFO [Thread-3] EventProcessor - Shutdown EventProcessor...
10-04/13:21:17 DEBUG [Thread-3] ActiveMQMessageConsumer - remove: ID:fessae-desktop-33762-1317709266736-0:1:1:1, lastDeliveredSequenceId:0
fessae-desktop BGBillingServer # ./bg_installer.sh inet_5.2_50
inet_5.2_507.zip inet_5.2_508.zip
fessae-desktop BGBillingServer # ./bg_installer.sh inet_5.2_508.zip!
10-04/13:21:38 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@79de256f] to java:comp/env/mq/connectionFactory
10-04/13:21:38 INFO [main] DefaultServerSetup - Init DB connection pools
10-04/13:21:38 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
10-04/13:21:38 INFO [main] DefaultServerSetup - Init trash pools..
mq 10-04/13:21:38 INFO [EventProcessor-init] EventProcessor - Init EventProcessor MQ connection factory...
mq 10-04/13:21:38 DEBUG [EventProcessor-init] FailoverTransport - Reconnect was triggered but transport is not started yet. Wait for start to connect the transport.
mq 10-04/13:21:38 DEBUG [EventProcessor-init] FailoverTransport - Started.
mq 10-04/13:21:38 DEBUG [EventProcessor-init] FailoverTransport - Waking up reconnect task
mq 10-04/13:21:38 DEBUG [ActiveMQ Task] FailoverTransport - urlList connectionList:[nio://127.0.0.1:61616]
mq 10-04/13:21:38 DEBUG [ActiveMQ Task] FailoverTransport - Attempting connect to: nio://127.0.0.1:61616
mq 10-04/13:21:38 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 10-04/13:21:38 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 10-04/13:21:38 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 10-04/13:21:38 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 10-04/13:21:38 DEBUG [ActiveMQ Task] FailoverTransport - Connection established
mq 10-04/13:21:38 INFO [ActiveMQ Task] FailoverTransport - Successfully connected to nio://127.0.0.1:61616
10-04/13:21:39 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@79b66b06 to BG.Event.ru.bitel.bgbilling.kernel.event.events.ModuleConfigModifiedEvent
Module: inet already installed. Reinstalling....
Data extract finished...
Extract data => OK
Database updated...
Install ticket inserted..
Base update => OK
Reinit module instanses
Module Instance init => OK
Executing call AddSchedulerTasks; param: inet.sc
Scheduled class ru.bitel.bgbilling.modules.inet.api.server.bean.InetServPeriodManager already exists!
Result => true
Executing call PutFile; param: inet.xml:actions
Result => true
Executing call PutFile; param: ru:dyn
Result => true
Execute calls => OK
File's copy finished...
File copy => OK
Remove libs => OK
Module inet was successfull installed!
Please, restart BGBilling server.
10-04/13:21:49 INFO [Thread-3] EventProcessor - Shutdown EventProcessor...
10-04/13:21:49 DEBUG [Thread-3] ActiveMQMessageConsumer - remove: ID:fessae-desktop-52317-1317709298614-0:1:1:1, lastDeliveredSequenceId:0
Код:
# mysql -e "describe inet_device_10;" -u root -p bgbilling
Enter password:
+--------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+--------------+--------------+------+-----+---------+----------------+
| id | int(11) | NO | PRI | NULL | auto_increment |
| entityId | int(11) | NO | | NULL | |
| parentId | int(11) | NO | | NULL | |
| deviceTypeId | int(11) | NO | | NULL | |
| title | varchar(250) | NO | | NULL | |
| identifier | varchar(150) | NO | | NULL | |
| host | varchar(150) | NO | | NULL | |
| username | varchar(100) | NO | | NULL | |
| password | varchar(100) | NO | | NULL | |
| secret | varchar(100) | NO | | NULL | |
| config | text | NO | | NULL | |
| comment | text | NO | | NULL | |
+--------------+--------------+------+-----+---------+----------------+