更改jboss的端口信息

1) 更改webservic的端口信息D:\jboss-new\server\default\conf\jboss-service.xml文件

<mbean code="org.jboss.web.WebService"

name="jboss:service=WebService">

<!-- The Bind address and Port -->

<attribute name="BindAddress">${jboss.bind.address}</attribute>

<attribute name="Port">8083</attribute>

<!--  The address to use for the host portion of the RMI codebase URL -->

<attribute name="Host">${java.rmi.server.hostname}</attribute>

<!-- Should non-EJB .class files be downloadable -->

<attribute name="DownloadServerClasses">true</attribute>

<!-- Should resources other than .class files be downloadable. Both

DownloadServerClasses and DownloadResources must be true for resources

to be downloadable. This is false by default because its generally a

bad idea as server configuration files that container security

information can be accessed.

-->

<attribute name="DownloadResources">false</attribute>

<!-- Use the default thread pool for dynamic class loading -->

<depends optional-attribute-name="ThreadPool"

proxy-type="attribute">jboss.system:service=ThreadPool</depends>

</mbean>

2) 更改JNDI的端口信息D:\jboss-new\server\default\conf\jboss-service.xml文件

<mbean code="org.jboss.naming.NamingService"

name="jboss:service=Naming"

xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">

<attribute name="CallByValue">false</attribute>

<attribute name="Port">1099</attribute>

<attribute name="BindAddress">${jboss.bind.address}</attribute>

<attribute name="RmiPort">1098</attribute>

</mbean>

3) 更改RMI端口信息D:\jboss-new\server\default\conf\jboss-service.xml文件

<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"

name="jboss:service=invoker,type=jrmp">

<attribute name="RMIObjectPort">4444</attribute>

<attribute name="ServerAddress">${jboss.bind.address}</attribute>

<depends>jboss:service=TransactionManager</depends>

</mbean>

<mbean code="org.jboss.invocation.pooled.server.PooledInvoker"

name="jboss:service=invoker,type=pooled">

<attribute name="ServerBindPort">4445</attribute>

<attribute name="ClientConnectAddress">${jboss.bind.address}</attribute>

<attribute name="ClientConnectPort">0</attribute>

<attribute name="ClientRetryCount">1</attribute>

<attribute name="EnableTcpNoDelay">false</attribute>

</mbean>

<attribute name="Configuration">

<invoker transport="socket">

<attribute name="serverBindPort">4446</attribute>

</invoker>

<attribute name="Configuration">

4) 更改JMS端口D:\jboss-new\server\default\deploy\jms\uil2-service.xml文件

<mbean code="org.jboss.mq.il.uil2.UILServerILService"

name="jboss.mq:service=InvocationLayer,type=UIL2">

<attribute name="ServerBindPort">8093</attribute>

</mbean>

5) 更改http端口D:\jboss-new\server\default\deploy\jboss-web.deployer下的server.xml文件

<Connector port="28080" address="0.0.0.0"

maxThreads="250" maxHttpHeaderSize="8192"

emptySessionPath="true" protocol="HTTP/1.1"

enableLookups="false" redirectPort="8443" acceptCount="100"

connectionTimeout="20000" disableUploadTimeout="true" />

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"

maxThreads="150" scheme="https" secure="true"sslProtocol="TLS" />

<Connector port="8009" address="0.0.0.0" protocol="AJP/1.3"

emptySessionPath="true" enableLookups="false" redirectPort="8443" />

6) 更改socket端口D:\jboss-new\server\default\conf\jboss-service.xml

mbean code="org.jboss.remoting.transport.Connector"

name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">

<depends>jboss.aop:service=AspectDeployer</depends>

<attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>

<attribute name="Configuration">

<handlers>

<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>

</handlers>

</attribute>

</mbean>
7)更改ejb socket端口D:\jboss-new\server\default\ deploy/ejb3.deployer\META-INF\ jboss-service.xml

<mbean code="org.jboss.remoting.transport.Connector"

name="jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3">

<depends>jboss.aop:service=AspectDeployer</depends>

<attribute name="InvokerLocator">socket://${jboss.bind.address}:3873</attribute>

<attribute name="Configuration">

<handlers>

<handler subsystem="AOP">org.jboss.aspects.remoting.AOPRemotingInvocationHandler</handler>

</handlers>

</attribute>

</mbean>

【转】同一台机器部署两个jboss方法的更多相关文章

  1. 同一机器 部署 两个 jboss

    当jboss和oracle在同一机器上时,通常oracle占用8080端口,这时只需要去修改\deploy\jbossweb-tomcat50.sar\server.xml中.当在同一台机器上运行两个 ...

  2. yabeblog.me 关于Tomcat7部署 一台机器部署两个项目,一个用域名访问,一个用IP访问

    该内容来自 http://www.yabeBlog.me,转载请说明出处. 1.使用IP访问的项目放在Tomcat7 的webapps目录下面:比如:AAA 2.使用域名访问的项目放在Tomcat7的 ...

  3. houxiurong.com 关于Tomcat7部署 一台机器部署两个项目,一个用域名访问,一个用IP访问

    该内容来自 http://houxiurong.com,转载请说明出处. 1.使用IP访问的项目放在Tomcat7 的webapps目录下面:比如:AAA 2.使用域名访问的项目放在Tomcat7的w ...

  4. 第四课 Grid Control实验 GC Agent安装(第一台机器部署) 及卸载

    3.GC Agent安装(第一台机器部署) 安装Agent 拷贝agent,现在ocm2机器上查找agent.linux  查找文件的方法: find ./ -name agent*linux 把ag ...

  5. 第四课 Grid Control实验 GC OMS安装(第二台机器部署)

    2.GC OMS安装(第二台机器部署) 1. 配置图形化 [oracle@ocm2 ~]$ xhost + access control disabled, clients can connect f ...

  6. 关于一台机器部署多个tomcat的小记

    一台机器部署多个tomcat在很多时候都是有可能的,比如说多个tomcat配合nginx负载更可能好的利用CPU,或者更新程序时做主备切换等. 1.直接下载或者复制一个已有的tomcat,第一个tom ...

  7. Nginx高级配置,同1台机器部署多个tomcat、配置多个域名,每个域名指向某一个tomcat下的项目,共用Nginx80端口访问;

    需求说明: 只有一台服务器和一个公网IP,多个项目部署在这台机器上面,且每个项目使用一个单独的域名访问,域名访问时都通过Nginx的80端口访问.(如下图所示) 配置过程: 一.tomcat的serv ...

  8. 七台机器部署Hadoop2.6.5高可用集群

    1.HA架构注意事项 两个Namenode节点在某个时间只能有一个节点正常响应客户端请求,响应请求的节点状态必须是active standby状态要能够快速无缝切换成active状态,两个NN节点必须 ...

  9. 使用Nginx实现反向代理过程(一台服务器部署两个网站)

    正向代理指的是客户端的 反向代理指的是服务端的 需要实现的反向代理: 1.首先使用SwitchHosts配置不同域名,如下:(SwitchHosts软件在上一篇博客有链接) 2.在Linux上部署两台 ...

随机推荐

  1. OpenGL光照测试

    OpenGL光照测试 花了大概半个月,研究了OpenGL的光照.请注意是固定管线渲染的光照,如果使用着色器的高手们请飘过.这个程序是通过光照对模型的照射,来研究OpenGL光照的性质.以后可以通过这个 ...

  2. List排序忽略大小写

    public List<String> sortListIgnoreCase(List<String> list) {        Collections.sort(list ...

  3. Windows性能计数器2

    判断瓶颈 Ø 判断应用程序的问题 如果系统由于应用程序代码效率低下或者系统结构设计有缺陷而导致大量的上下文切换(context switches/sec显示的上下文切换次数太高)那么就会占用大量的系统 ...

  4. CUDA Memories--CUDA记忆体(翻译+整理+测试)

    一边学习一边记录(本文中英结合,专业名词统统不翻译) 在CUDA里,host和devices有不同的记忆体空间. 首先呢,CUDA的memory有很多种类啦 1. Global memory 2. C ...

  5. 读《架构探险——从零开始写Java Web框架》

    内容提要 <架构探险--从零开始写Java Web框架>首先从一个简单的 Web 应用开始,让读者学会如何使用 IDEA.Maven.Git 等开发工具搭建 Java Web 应用:接着通 ...

  6. android手机打电话代码分析

    智能手机的打电话功能是由RIL部分来实现的,见下图: 开始分析Android源代码中的RIL部分. 又上图,以及其他相关资料,我得知在Android中有一个叫rild的守护进程.我猜测此进程与电话的拨 ...

  7. 深入了解android平台的jni---图像灰度化处理

    一.涉及到的jni编程知识 Java基本类型的数组,在JNI中都是jArray的类型格式.具体类型如下: typedef jarray jbooleanArray; typedef jarray jb ...

  8. UVA11038- How Many O&#39;s?(组合数学)

    题目链接 题意:求出在a到b之间的数中,有多少个0. 思路:组合数学问题.能够枚举每一个位置上的数i,如果i之前的数为left,后面的为right,后面有num位数.当i != 0时,将i置为0,所以 ...

  9. [原创]SSIS-WMI 数据读取器任务:监控物理磁盘空间

    背景:       随着时间的推移,我们的DW会越来越大,也就意味着磁盘空间会越来越小,那如果哪一天留意不当,就会造成磁盘空间的不足而导致ETL失败,最终影响我们的系统的数据正确性和使用,更严重的有可 ...

  10. Ubuntu下VSFTPD(四)(vsftpd其它主要设置)

    vsftpd 服务器的其它主要设置 : 1 .最大传输速率设置: 设置匿名用户的最大传输率为20Kbps,修改/etc/vsftpd/vsftpd.conf 添加语句:anon_max_rate=20 ...