1

我想从 Restcomm 源代码中建立我的开发环境,我已经下载了源代码,我已经执行了 maven 脚本,我已经下载了依赖项,并且 eclipse 项目有他的库。

我已经下载了 Mobicents Tomcat 版本,我正在将 JBoss 与 Eclipse IDE 绑定。因为我看到 libs 和 conf 与 JBoss 默认版本不同。

我可以在 Eclipse 中启动服务器,我可以看到没有错误的日志

[0m[0m12:02:33,006 INFO  [com.sun.jersey.api.core.ScanningResourceConfig]         (ServerService Thread Pool -- 17) Root resource classes found:
class org.mobicents.servlet.restcomm.http.AccountsXmlEndpoint
class org.mobicents.servlet.restcomm.http.ApplicationsJsonEndpoint
class org.mobicents.servlet.restcomm.http.UssdPushJsonEndpoint
class org.mobicents.servlet.restcomm.http.LogoutEndpoint
class org.mobicents.servlet.restcomm.http.CallsJsonEndpoint
class org.mobicents.servlet.restcomm.http.CallsXmlEndpoint
class org.mobicents.servlet.restcomm.http.TranscriptionsXmlEndpoint
class org.mobicents.servlet.restcomm.http.ClientsXmlEndpoint
class org.mobicents.servlet.restcomm.http.NotificationsJsonEndpoint
class org.mobicents.servlet.restcomm.http.GatewaysJsonEndpoint
class org.mobicents.servlet.restcomm.http.SmsMessagesXmlEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersTollFreeJsonEndpoint
class org.mobicents.servlet.restcomm.http.IncomingPhoneNumbersXmlEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersJsonEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersXmlEndpoint
class org.mobicents.servlet.restcomm.http.SmsMessagesJsonEndpoint
class org.mobicents.servlet.restcomm.http.ClientsJsonEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersTollFreeXmlEndpoint
class org.mobicents.servlet.restcomm.http.UsageXmlEndpoint
class org.mobicents.servlet.restcomm.http.IncomingPhoneNumbersJsonEndpoint
class org.mobicents.servlet.restcomm.http.NotificationsXmlEndpoint
class org.mobicents.servlet.restcomm.http.TranscriptionsJsonEndpoint
class org.mobicents.servlet.restcomm.http.UssdPushXmlEndpoint
class org.mobicents.servlet.restcomm.http.OutgoingCallerIdsJsonEndpoint
class org.mobicents.servlet.restcomm.http.OutgoingCallerIdsXmlEndpoint
class org.mobicents.servlet.restcomm.http.OutboundProxyJsonEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersMobileXmlEndpoint
class org.mobicents.servlet.restcomm.http.RecordingsJsonEndpoint
class org.mobicents.servlet.restcomm.http.AnnouncementsJsonEndpoint
class org.mobicents.servlet.restcomm.http.OutboundProxyXmlEndpoint
class org.mobicents.servlet.restcomm.http.AccountsJsonEndpoint
class org.mobicents.servlet.restcomm.http.RecordingsXmlEndpoint
class org.mobicents.servlet.restcomm.http.GatewaysXmlEndpoint
class org.mobicents.servlet.restcomm.http.AvailablePhoneNumbersMobileJsonEndpoint
class org.mobicents.servlet.restcomm.http.AnnouncementsXmlEndpoint
class org.mobicents.servlet.restcomm.http.SupservisorJsonEndpoint
class org.mobicents.servlet.restcomm.http.ApplicationsXmlEndpoint
[0m[0m12:02:33,012 INFO  [com.sun.jersey.api.core.ScanningResourceConfig] (ServerService Thread Pool -- 17) No provider classes found.
[0m[0m12:02:33,117 INFO  [com.sun.jersey.server.impl.application.WebApplicationImpl] (ServerService Thread Pool -- 17) Initiating Jersey application, version 'Jersey: 1.13 06/29/2012 05:14 PM'
[0m[0m12:02:34,549 INFO  [stdout] (ServerService Thread Pool -- 17) Vmaos!
[0m[0m12:02:34,669 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "restcomm.war" (runtime-name : "restcomm.war")
[0m[0m12:02:54,702 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found restcomm-management.war in deployment directory. To trigger deployment create a file called restcomm-management.war.dodeploy
[0m[0m12:02:59,725 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-7) JBAS015876: Starting deployment of "restcomm-management.war" (runtime-name: "restcomm-management.war")
[0m[0m12:02:59,944 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8) JBAS010403: Deploying JDBC-compliant driver class org.hsqldb.jdbc.JDBCDriver (version 2.3)
[0m[0m12:02:59,958 INFO  [org.jboss.web] (ServerService Thread Pool -- 50) JBAS018210: Register web context: /restcomm-management

但我有一些问题...

首先,在 restcomm.application 项目中,我找到了一个 Class Bootstrapper,但我看不到该类实例何时创建

其次,我在哪里可以找到,或者你能分享我从 JBoss AS 到 Restcomm 项目入口点的序列吗(我可以在 server.xml 中看到 Sip Servlet 类,还需要看到 Sip Servlet 代码,对吗?)

有了这个,我想我可以做一个跟踪来了解这个项目。

此致

4

1 回答 1

1

Restcomm 不再支持 Tomcat。最好转JBOSS

于 2016-01-06T18:21:39.330 回答