我最近在sip servlet上工作,发现RestComm是一个很好的sip servlet,现在我想知道更多关于它的词,所以我开始自己配置jboss。
我在这次旅程中找到了有趣且有用的东西,比如mobicents-dar.properties,这有助于我了解容器工作的主要部分。
我看到this回答,并且知道这很难,但是知道这部分对我来说非常重要。
但我无法为sip servlet容器完全配置jBoss。 我这样做:
首先我在RestComm jBoss的模块目录中找到这两个目录并将它们插入到我原来的jBoss中
mobicents
scannotation
然后我发现独立/配置目录中的这三个文件也复制它们
dars/mobicents-dar.properties
mss-sip-stack.properties
standalone-sip.xml
然后启动jboss whit this命令
./standalone.sh -c standalone-sip.xml
但是当在5080上启动jBoss连接器时,....无法启动(在consol中没有它们的日志,但是当启动这样的RestComm二进制日志时)
这条线在我原来的Jboss中看不到
20:24:00,280 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-5) Sip Connector started on ip address: 127.0.0.1, port 5082, transport ws, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,280 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-4) Sip Connector started on ip address: 127.0.0.1, port 5081, transport tls, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,281 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-8) Sip Connector started on ip address: 127.0.0.1, port 5080, transport tcp, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,281 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-3) Sip Connector started on ip address: 127.0.0.1, port 5080, transport udp, useStun false, stunAddress null, stunPort : -1, useStaticAddress: false, staticServerAddress null, staticServerPort -1
20:24:00,282 INFO [org.mobicents.servlet.sip.undertow.SipProtocolHandler] (MSC service thread 1-7) Sip Connector started on ip address: 127.0.0.1, port 5083, transport wss, useS
答案 0 :(得分:0)
当你可以使用已经与JBoss集成的二进制文件时,为什么要自己重建它?