Тестирую модуль Card для продажи WiFi.
По инструкции загрузил карты, передал дилеру. Пытаюсь через веб-интерфейс активировать карту- происходит ошибка.
В server.error.log:
Код:
05-21/10:51:09 INFO ["http-bio-/0.0.0.0-8080"-exec-3] LoggingPrintStream - <?xml version="1.0" encoding="UTF-8"?><data action="ContractConfirm" activate="WiFi" activateType="1" mid="2" module="voiceip" rand="869564" status="ok" xslt="card_create_contract.xsl"><errors/><confirm/><params login="1" tariff="20" useTariff="1"/><tariffs><tariff id="20" title="wifi-512"/></tariffs></data>
05-21/10:51:14 INFO ["http-bio-/0.0.0.0-8080"-exec-8] CommonKernelEventProcessor - Process event cid:0; event:Event[ru.bitel.bgbilling.kernel.event.events.system.ContractCreateEvent] moduleId: 0; pluginId: no; cid: 0; scid: -1; userId: 0; timestamp: 1369093874499
05-21/10:51:14 ERROR ["http-bio-/0.0.0.0-8080"-exec-8] ActionBase - ru.bitel.bgbilling.common.BGException: ? ??????? ???????? ??????????? ?????????? ??????? ?????? inet!
ru.bitel.bgbilling.common.BGException: ru.bitel.bgbilling.common.BGException: ? ??????? ???????? ??????????? ?????????? ??????? ?????? inet!
at bitel.billing.server.card.action.pub.ActionCreateContract.createContact(ActionCreateContract.java:567)
at bitel.billing.server.card.action.pub.ActionCreateContract.confirm(ActionCreateContract.java:216)
at bitel.billing.server.card.action.pub.ActionCreateContract.doAction(ActionCreateContract.java:154)
at bitel.billing.server.PublicExecuter.doModule(PublicExecuter.java:136)
at bitel.billing.server.PublicExecuter.doPost(PublicExecuter.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at bitel.billing.server.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at bitel.billing.server.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: ru.bitel.bgbilling.common.BGException: ? ??????? ???????? ??????????? ?????????? ??????? ?????? inet!
at bitel.billing.server.contract.bean.ContractManager.createFromPattern(ContractManager.java:170)
at bitel.billing.server.card.action.pub.ActionCreateContract.createContact(ActionCreateContract.java:562)
... 28 more
mid модуля Inet = 1, mid модуля Card = 2.
Конфигурация модуля Card:
Код:
#Тип активации с кодом 1 (activateType=1)
#название
activate.login.service.1.title=WiFi
#услуги карточки, с которыми возможна активация, через запятую, 0 - все
activate.login.service.1.sids=0
#код модуля
activate.login.service.1.mid=1
#список возможных тарифов, коды через запятую
activate.login.service.1.tariffs=20
В чём может быть проблема?