Поставил по мануалу BG 8.0 с модулями npay, inet, card
Ставлю новый ЛК, всё сделал по мануалу, не запускается:
Код:
2019-06-02 13:48:49,360 WARN [org.jboss.weld.Validator] (MSC service thread 1-4) WELD-001478: Interceptor class ru.bitel.mybgbilling.kernel.ws.WSInjectInterceptor is enabled for the application and for the bean archive MyBGBilling.war/WEB-INF/classes. It will only be invoked in the @Priority part of the chain.
2019-06-02 13:48:49,361 WARN [org.jboss.weld.Validator] (MSC service thread 1-4) WELD-001478: Interceptor class ru.bitel.mybgbilling.kernel.directory.DirectoryInjectInterceptor is enabled for the application and for the bean archive MyBGBilling.war/WEB-INF/classes. It will only be invoked in the @Priority part of the chain.
2019-06-02 13:48:50,080 INFO [SessionModuleScopeExtension] (MSC service thread 1-4) afterBeanDiscovery
2019-06-02 13:48:50,141 INFO [org.jboss.weld.Bean] (MSC service thread 1-4) WELD-001571: Proxy for class MyNotificationBean created in org.jboss.weld.proxies because the class package is null.
2019-06-02 13:48:50,142 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."MyBGBilling.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyBGBilling.war".WeldStartService: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1730)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1558)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at org.jboss.as.weld.services.bootstrap.ProxyServicesImpl.getModule(ProxyServicesImpl.java:149)
at org.jboss.as.weld.services.bootstrap.ProxyServicesImpl.loadClass(ProxyServicesImpl.java:209)
at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:366)
at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.createEnhancedSubclass(SubclassedComponentInstantiator.java:113)
at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.initEnhancedSubclass(SubclassedComponentInstantiator.java:86)
at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.<init>(SubclassedComponentInstantiator.java:79)
at org.jboss.weld.injection.producer.SubclassedComponentInstantiator.forInterceptedDecoratedBean(SubclassedComponentInstantiator.java:63)
at org.jboss.weld.injection.producer.BeanInjectionTarget.initializeAfterBeanDiscovery(BeanInjectionTarget.java:121)
at org.jboss.weld.injection.producer.InjectionTargetInitializationContext.initialize(InjectionTargetInitializationContext.java:42)
at org.jboss.weld.injection.producer.InjectionTargetService.initialize(InjectionTargetService.java:63)
at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:481)
at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:86)
at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:97)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1738)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1700)
... 6 more
wildfly 16.0 final
Качал war для версии 8.0, делал sync libs
Потом сделал ещё ./mybgbilling-update.sh
Смущает, что при этом пишет, что качается 7.2:
Код:
# ./mybgbilling-update.sh
JAVA_HOME=/opt/java/jdk8
MYBGBILLING_HOME=../standalone/deployments/MyBGBilling.war
rm: невозможно удалить '../standalone/deployments/MyBGBilling.war.deployed': Нет такого файла или каталога
Starting update MyBGBilling
Downloading MyBGBilling.war from ftp://bgbilling.ru/pub/bgbilling/7.2/
Download OK
Check ZIP OK
Replace ../standalone/deployments/MyBGBilling.war/WEB-INF/lib/client.jar
Replace ../standalone/deployments/MyBGBilling.war/WEB-INF/classes/META-INF/MANIFEST.MF
Sync client libs (mybgbilling-sync-libs.sh)? [y/N] y
JAVA_HOME=/opt/java/jdk8
MYBGBILLING_HOME=../standalone/deployments/MyBGBilling.war
Starting synchronization client libs with BGBillingServer
Load configuration: ../standalone/deployments/MyBGBilling.war/WEB-INF/mybgbilling-conf.groovy
Lib path: ../standalone/deployments/MyBGBilling.war/WEB-INF/lib
Connecting to: http://127.0.0.1:8080/bgbilling/executer
jar:file:/opt/wildfly-16.0.0.Final/standalone/deployments/MyBGBilling.war/WEB-INF/lib/client.jar!/ru/bitel/bgbilling/kernel/module/common/service/ModuleService.wsdl
Loaded interface ru.bitel.bgbilling.kernel.module.common.service.ModuleService
jar:file:/opt/wildfly-16.0.0.Final/standalone/deployments/MyBGBilling.war/WEB-INF/lib/client.jar!/ru/bitel/bgbilling/kernel/admin/plugincfg/common/PlugincfgService.wsdl
Loaded interface ru.bitel.bgbilling.kernel.admin.plugincfg.common.PlugincfgService
Loaded class ru.bitel.bgbilling.kernel.admin.plugincfg.common.PluginItem
Installed modules: [client, npay, inet, card]
Download libs for: update
Extract client.jar to ../standalone/deployments/MyBGBilling.war/WEB-INF/lib
Download libs for: npay
Extract npay.jar to ../standalone/deployments/MyBGBilling.war/WEB-INF/lib
Download libs for: inet
Extract inet.jar to ../standalone/deployments/MyBGBilling.war/WEB-INF/lib
Download libs for: card
Extract card.jar to ../standalone/deployments/MyBGBilling.war/WEB-INF/lib
Try download libs for: plugins.helpdesk
Found 0 files
Try download libs for: plugins.documents
Found 0 files
Try download libs for: plugins.bonus
Found 0 files
Try download libs for: plugins.dispatch
Found 0 files
Try download libs for: update
Synchronization finished
JAVA_HOME=/opt/java/jdk8
MYBGBILLING_HOME=../standalone/deployments/MyBGBilling.war
Set MyBGBilling.war to (re)deploy
В чём может быть проблема, почему NPE?