1

我正在尝试启动 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-deployement-structure.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)

我想这是一个部署顺序问题,但也许我错了,它有些不同。谁能帮我这个?

4

1 回答 1

0

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

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

11:21:26,288 INFO [UssdPropertiesManagement](主要)从 /home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_ussdproperties.xml 加载 USSD 属性 11:21:26,295 INFO [ShortCodeRoutingRuleManagement](主要)从 /home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml 加载短代码路由规则配置 11:21:26,295 WARN [ShortCodeRoutingRuleManagement] (main) 未能加载短代码路由规则配置文件。/home/ericsson/jboss-5.1.0.GA/server/default/data/UssdManagement_scroutingrule.xml(没有这样的文件或目录) 11:21:26,302 INFO [UssdManagement](主要)启动 UssdManagement 11:21:26,332 INFO [ ShellServer] (main) 启动 SS7 管理 shell 环境 11:21:26,350 INFO [ShellServer] (main) ShellExecutor 在 /127.0.0.1:3435 11:21:26 监听,

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

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

只是最后的评论......要构建这个 mobicents 解决方案,真的很痛苦。DeployUSSDGWFromTrunk 中的原始说明失败。 我无法让它运行,我们(我和一个伙伴)花了大约一周的时间让它编译和运行,阅读了许多谷歌群组的帖子,并通过 pom更改随机的东西。

最后我们让它运行起来了,但我仍然觉得它不是一个很好的开发基础。

于 2015-02-17T18:50:39.590 回答