gpt4 book ai didi

java - Mobicents JAIN SLEE 中的部署顺序

转载 作者:太空宇宙 更新时间:2023-11-04 14:19:49 29 4
gpt4 key购买 nike

我正在尝试启动 Mobicents USSD 网关。现在问题如下:Jboss 正在尝试在部署其依赖项之前部署模块,因此返回错误:

SLEE DUs not deployed, due to missing dependencies:
file:/mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/deploy/mobicents-ussd-gateway/services-DU-1.0.0-SNAPSHOT.jar/
Missing Dependencies:
EventTypeID[name=ss7.map.DIALOG_REQUEST,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_DELIMITER,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.REJECT_COMPONENT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_PROVIDERABORT,vendor=org.mobicents,version=1.0]
ResourceAdaptorTypeID[name=MAPResourceAdaptorType,vendor=org.mobicents,version=2.0]
EventTypeID[name=ss7.map.service.suplementary.PROCESS_UNSTRUCTURED_SS_REQUEST,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_TIMEOUT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_REJECT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_CLOSE,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.service.suplementary.UNSTRUCTURED_SS_RESPONSE,vendor=org.mobicents,version=1.0]
LibraryID[name=library-map,vendor=library-map,version=2.0]
EventTypeID[name=ss7.map.DIALOG_NOTICE,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.ERROR_COMPONENT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_USERABORT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.INVOKE_TIMEOUT,vendor=org.mobicents,version=1.0]
EventTypeID[name=ss7.map.DIALOG_ACCEPT,vendor=org.mobicents,version=1.0]
MAPRA

我尝试通过 jboss-deployment-struct.xml 设置部署单元 services-DU-1.0.0-SNAPSHOT.jar 的依赖关系:

<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="mobicents-slee-ra-jdbc-DU-1.0.0.FINAL.jar" />
<module name="mobicents-slee-ra-map-du-2.8.0-SNAPSHOT.jar" />
</dependencies>
</deployment>
</jboss-deployment-structure>

但是这次他继续尝试先安装services-DU,然后报告缺少依赖项,然后成功安装依赖项,然后再次尝试安装services-DU并抛出异常:

2014-12-05 07:19:24,826 ERROR [org.mobicents.slee.container.deployment.jboss.DeploymentManager] (main) Failure invoking 'InstallDeployableUnitAction[file:/mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/deploy/mobicents-ussd-gateway/services-DU-1.0.0-SNAPSHOT.jar/]
javax.slee.management.DeploymentException: Failure encountered during deploy process.
at org.mobicents.slee.container.management.jmx.DeploymentMBeanImpl.install(DeploymentMBeanImpl.java:340)
at org.mobicents.slee.container.deployment.jboss.action.InstallDeployableUnitAction.invoke(InstallDeployableUnitAction.java:41)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.sciAction(DeploymentManager.java:316)
at org.mobicents.slee.container.deployment.jboss.DeploymentManager.installDeployableUnit(DeploymentManager.java:181)
at org.mobicents.slee.container.deployment.jboss.SLEESubDeployer.start(SLEESubDeployer.java:281)

我认为这是一个部署顺序问题,但也许我错了,而且情况有所不同。谁能帮我解决这个问题吗?

最佳答案

这不会是一个真正的答案......但有人可能会发现它有用。

我在使用 jBoss 部署日志时遇到了完全相同的问题。我不知道如何解决它,但至少在我的情况下,jBoss 继续记录消息,最后启动 UssdGateway。这些错误之后有一些日志:

11:21:26,288 INFO [UssdPropertiesManagement] (main) Loading USSD Properties from /home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_ussdproperties.xml 11:21:26,295 INFO [ShortCodeRoutingRuleManagement] (main) Loading short code routig rule configuration from /home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml 11:21:26,295 WARN [ShortCodeRoutingRuleManagement] (main) Failed to load the short code routig rule configuration file. /home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml (No such file or directory) 11:21:26,302 INFO [UssdManagement] (main) Started UssdManagement 11:21:26,332 INFO [ShellServer] (main) Starting SS7 management shell environment 11:21:26,350 INFO [ShellServer] (main) ShellExecutor listening at /127.0.0.1:3435 11:21:26,510 INFO [Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 11:21:26,549 INFO [AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 11:21:26,566 INFO [ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:7s:690ms

网关是有用的,因为我能够使用 SS7 模拟器对其进行测试,并且 TestServlet 已实例化。事实上,我能够使用真实的 HLR 对其进行测试,所以它确实有效。现在我们必须在其之上编写一些开发代码......

对于这个错误,以及可能意味着什么......我仍然没有答案。无论如何,如果我最终猜出如何解决它,我会更新此文本。

最后的评论...构建这个 mobicents 解决方案确实很痛苦。原始说明在DeployUSSDGWFromTrunk 失败。我无法让它运行,我们(一个 friend 和我)花了大约一周的时间才编译和运行它,阅读了许多谷歌小组的帖子,并通过 pom 更改随机内容 .

终于运行起来了,但我仍然感觉这不是一个很好的开发基础。

关于java - Mobicents JAIN SLEE 中的部署顺序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27320086/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com