прописал путь на JDK7 в setenv.sh только для TVAccess и TVAccounting - ошибки ушли.
Создал тариф с базовым пакетом в виде опции и доп.пакетами в качестве продуктов тв-модуля.
Клиент создается и переносится в портал с базовым пакетом, но при активации доп.пакета - он прописывается со статусом "отключен" в биллинге и в портал - не передается.
лог из TVAccess all.log:
Код:
mq 05-30/10:51:12 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Caught event: Event[ru.bitel.oss.systems.inventory.product.common.event.ProductModifiedEvent] moduleId: 10; pluginId: no; cid: 18540; scid: -1; userId: -1; timestamp: 1496130672758
connection 05-30/10:51:12 INFO [sa-p-7-t-52] OrderManagerSet - Connecting to device
connection 05-30/10:51:12 INFO [sa-p-7-t-52] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 10; pluginId: no; cid: 18540; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=18540-4, productSpecId=18, period=30.05.2017 10:51:12-/30.05.2017 10:51:11, activationModeId=17, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=18540-4, productSpecId=18, period=30.05.2017 10:51:12-/30.05.2017 10:51:11, activationModeId=17, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=0, serviceEntryList=[]]; timestamp: 1496130672776
connection 05-30/10:51:12 INFO [sa-p-7-t-52] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@6b9b28bc
connection 05-30/10:51:12 INFO [sa-p-7-t-52] OrderManagerDeviceWorker - Processing deviceId:2; command ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@6b9b28bc
connection 05-30/10:51:12 INFO [sa-p-7-t-52] OrderManagerSet - Invoking productsModify
connection 05-30/10:51:12 INFO [sa-p-7-t-52] LifeStreamOrderManager - Product (option): [b]наименование базового пакета[/b]
connection 05-30/10:51:12 INFO [sa-p-7-t-52] JsonClient - get: https://ххххх/subscriptions
connection 05-30/10:51:13 INFO [sa-p-7-t-52] JsonClient - << [{"id": "102"}]
connection 05-30/10:51:13 INFO [sa-p-7-t-52] LifeStreamOrderManager - Current serviceIds: [102], need serviceIds: [102]
connection 05-30/10:51:13 INFO [sa-p-7-t-52] OrderManagerDeviceWorker - Process event type[2] result=true
connection 05-30/10:51:13 INFO [sa-p-7-t-52] OrderManagerDeviceWorker - Changing TvAccount:4 products state
mq 05-30/10:51:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.tv.access.event.TvProductsDeviceStateModifiedEvent] moduleId: 10; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 2; tvAccountId: 4; state: 0; productEntryList: [ProductEntry [productId=8, productSpecId=18, deviceState=0, serviceEntryList=[]]]; timestamp: 1496130673411
connection 05-30/10:51:18 INFO [sa-p-7-t-52] OrderManagerSet - Disconnecting from device