下载地址
http://www.jboss.org/jbossas/downloads/
解压到
C:\Java\jboss-as-7.1.1.Final
添加环境变量
JBOSS_HOME:C:\Java\jboss-as-7.1.1.Final
进入bin目录
standalone.bat启动服务器
浏览器运行
http://localhost:8080/
下的standalone.xml文件
<interface name="unsecure">
<!--
~ Used for IIOP sockets in the standard configuration.
~ To secure JacORB you need to setup SSL
-->
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
将127.0.0.1改为外网地址
http://www.jboss.org/jbossas/downloads/
解压到
C:\Java\jboss-as-7.1.1.Final
添加环境变量
JBOSS_HOME:C:\Java\jboss-as-7.1.1.Final
进入bin目录
standalone.bat启动服务器
浏览器运行
http://localhost:8080/
#把待布署的war放到C:\Java\jboss-as-7.1.1.Final\standalone目录下
学得不如人家改的快,应该是放到C:\Java\jboss-as-7.1.1.Final\standalone\deployments
下的standalone.xml文件
<interface name="unsecure">
<!--
~ Used for IIOP sockets in the standard configuration.
~ To secure JacORB you need to setup SSL
-->
<inet-address value="${jboss.bind.address.unsecure:127.0.0.1}"/>
</interface>
将127.0.0.1改为外网地址