2014-12-05 89 views
1

我尝试启动Mobicents USSD Gateway。眼下的问题是以下几点: JBoss是尝试部署模块部署他的依赖,因此返回错误之前:在Mobicents JAIN SLEE中部署订单

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 

I`ve试图依赖关系成立的部署单元服务-DU-1.0.0- SNAPSHOT.jar通过的jboss-deployement-structure.xml:

<?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> 

但是这一次,他将继续尝试先安装服务-DU,然后报告缺少的依存关系,然后succussfully安装依赖,然后试图安装服务-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) 

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

回答

0

这不会是一个真正的答案......但有人会觉得它很有用。

我和那些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来测试它,所以它有用。 现在我们必须编写一些开发...

对于这个错误,什么可以暗示......我仍然没有答案。 无论如何,如果我终于猜测如何修复它,我会更新这段文字。

只是最后的评论... 要建立这种动员解决方案,这是一个真正的痛苦。 原指令DeployUSSDGWFromTrunk失败。 我无法让它运行,它花了我们(一个伴侣和我)大约一个星期,使它编译和运行,阅读许多谷歌组帖子,并通过POM的更改随机东西

最后我们运行了,但我仍然有这种感觉,它不是一个很好的开发基地。

+0

谢谢你的帮助。我已经解决了我的问题,不幸的是我已经不记得如何。对不起,不能投票,没有足够的代表。 – user3177112 2015-03-05 14:53:14