运行 Restcomm 在 Eclipse 上使用 JBOSS 7
Running Restcomm using JBOSS 7 at Eclipse
我想从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 引导程序,但是我看不到那个 class 实例是什么时候创建的
其次,我在哪里可以找到,或者您能否与我分享从 JBoss AS 到 Restcomm 项目入口点的顺序(我可以在 server.xml 中看到 Sip Servlet class,还需要查看 Sip Servlet 代码,对吗?)
有了这个,我想我可以追踪了解这个项目。
此致
Restcomm 不再支持 Tomcat。最好搬到JBOSS
我想从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 引导程序,但是我看不到那个 class 实例是什么时候创建的
其次,我在哪里可以找到,或者您能否与我分享从 JBoss AS 到 Restcomm 项目入口点的顺序(我可以在 server.xml 中看到 Sip Servlet class,还需要查看 Sip Servlet 代码,对吗?)
有了这个,我想我可以追踪了解这个项目。
此致
Tomcat。最好搬到JBOSS