Jboss中RMI穿越防火墙,RMI有三个端口,一个name服务,一个JNp端口,一个RMIObjectPort,在jboss-service.xml中设置的端口设置对就可以了,切记要全部映射出去
<mbean code="org.jboss.naming.NamingService"
name="jboss:service=Naming"
xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
<!-- The call by value mode. true if all lookups are unmarshalled using
the caller's TCL, false if in VM lookups return the value by reference.
-->
<attribute name="CallByValue">false</attribute>
<!-- The listening port for the bootstrap JNP service. Set this to -1
to run the NamingService without the JNP invoker listening port.
-->
<attribute name="Port">1099</attribute>
<!-- The bootstrap JNP server bind address. This also sets the default
RMI service bind address. Empty == all addresses
-->
<attribute name="BindAddress">${jboss.bind.address}</attribute>
<!-- The port of the RMI naming service, 0 == anonymous -->
<attribute name="RmiPort">1098</attribute>
<!-- The RMI service bind address. Empty == all addresses
-->
<attribute name="RmiBindAddress">${jboss.bind.address}</attribute>
<!-- The thread pool service used to control the bootstrap lookups -->
<depends optional-attribute-name="LookupPool"
proxy-type="attribute">jboss.system:service=ThreadPool</depends>
</mbean>
<!-- RMI/JRMP invoker -->
<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
name="jboss:service=invoker,type=jrmp">
<attribute name="RMIObjectPort">5444</attribute>
<attribute name="ServerAddress">${jboss.bind.address}</attribute>
<!--
<attribute name="RMIClientSocketFactory">custom</attribute>
<attribute name="RMIServerSocketFactory">custom</attribute>
<attribute name="SecurityDomain">ssl-domain-name</attribute>
-->
<depends>jboss:service=TransactionManager</depends>
</mbean>
分享到:
相关推荐
JBoss Rules中,规则是如何被表示的Rules 一条规则是对商业知识的编码。... 什么是JBoss Rules? JBoss Rules的含义是什么? JBoss Rules 的前身是Codehaus的一个开源项目叫Drools。最近被纳入JBoss门下,更名为...
解决jboss中启动的优先级的问题,介绍了WEB和EJB之间的启动顺序。
因为JBoss代码遵循LGPL许可,你可以在任何商业应 用中免费使用它,而不用支付费用。JBoss是纯Java的Web应用服务器,为了保证JBoss服务器的正常运行,在安装JBoss之前首先要确保系统 已经安装了JDK。可以从...
本书的目标就是,尽快使得用户能够将J2EE 1.4应用部署并运行在JBoss 4.0.x上。
JBOSS,JBoss安装部署 JBOSS,JBoss安装部署
JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动JBoss启动 JBoss启动
在JBoss中配置多个数据库和数据源 JBoss是一款非常强大的J2EE应用程序服务器,但是这种强大的功能也带来了复杂性。本文作者Marcus Zarra分析了如何在JBoss中配置多个数据库以及数据源
Jboss get started
接下来,第4章将研究,Sun J2EE Tutorial中Duke银行应用如何在JBoss上部署。这将能够使开发者很快进入角色,即熟悉JBoss中的简单配置和部署操作。第5章,研究Web服务。本书将分两个步骤讨论。其一,如何将Duke银行...
第一章:入门 第二章:JBOSS-快速上手 第三章:关于实例应用 第四章:duke银行应用 第五章:javaee之web服务
太闲,转成pdf方便大家学习。在这里谢谢 满红江20071230。
JavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-...
jboss rules 中文用户指南,mht文件,共十章。
整理一下jboss drool5.1中文使用说明,doc格式
jboss rules 中文学习资料.chm
NULL 博文链接:https://blueprint86.iteye.com/blog/998660
Jboss中英文安装,起步指南。 JBoss_Enterprise_Application_Platform-6.4-Getting_Started_Guide-en-US JBoss_Enterprise_Application_Platform-6.4-Getting_Started_Guide-zh-CN JBoss_Enterprise_Application_...
JBOSS SEAM组件中文手册 Seam_2.0_Reference_zh_CN
jboss7以上版本发布ejb时需要的配置文件,jboss-ejb3.xml和ejb-jar.xml,缺少csdn分数所以上传,请见谅。