码迷,mamicode.com
首页 > 其他好文 > 详细

jboss 安装

时间:2014-09-29 20:40:21      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:default   server   源文件   local   

unzip jboss-5.1.0.GA-jdk6.zip
mv jboss-5.1.0.GA jboss
配置多个实例修改端口
/usr/local/jboss/server/default 这个目录可以复制,作为多个实例 的
/usr/local/jboss/server/default/conf/bindingservice.beans/META-INF

源文件:       <constructor>
         <!-- The name of the set of bindings to use for this server -->
         <parameter>${jboss.service.binding.set:ports-default}</parameter>
        
修改为:        <constructor>
         <!-- The name of the set of bindings to use for this server -->
         <parameter>${jboss.service.binding.set:ports-01}</parameter>


修改Ip  
/usr/local/jboss/server/node1/deploy/jbossweb.sar/server.xml

原文件:    <Service name="jboss.web">

      <!-- A HTTP/1.1 Connector on port 8080 -->
      <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
               connectionTimeout="20000" redirectPort="8443" />

      <!-- Add this option to the connector to avoid problems with
          .NET clients that don‘t implement HTTP/1.1 correctly
         restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
      -->

      <!-- A AJP 1.3 Connector on port 8009 -->
      <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
         redirectPort="8443" />

 
修改为 :    <Service name="jboss.web">

      <!-- A HTTP/1.1 Connector on port 8080 -->
      <Connector protocol="HTTP/1.1" port="8787" address="0.0.0.0"
               connectionTimeout="20000" redirectPort="8443" />

      <!-- Add this option to the connector to avoid problems with
          .NET clients that don‘t implement HTTP/1.1 correctly
         restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*$"
      -->

      <!-- A AJP 1.3 Connector on port 8009 -->
      <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
         redirectPort="8443" />
 
 
 
 ./run.sh -c default -b 192.168.0.139 &
 

jboss 安装

标签:default   server   源文件   local   

原文地址:http://6850242.blog.51cto.com/6840242/1559428

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!