最近新项目上线,本人部署过程中总结了以下几点比较关键的地方,看是否对大家有用处
服务器改成支持外网访问
在standalone.xml文件中找到
<interface name="public">
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
</interface>
在这个下面加入
<interface name="any">
<any-ipv4-address/>
</interface>
另外把1改成2
1 <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
2 <socket-binding-group name="standard-sockets" default-interface="any" port-offset="${jboss.socket.binding.port-offset:0}">
访问端口的更改
<socket-binding name="http" port="${jboss.http.port:80}"/>
改为可以修改JSP页面不用重启
<servlet-container name="default">
<jsp-config development="true"/>
</servlet-container>
<jsp-config development="true"/>
</servlet-container>
部署的程序不用wildfly内置CXF包
在应用的WEB-INF目录下面增加该文件:jboss-deployment-structure.xml
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<!-- exclude-subsystem prevents a subsystems deployment unit processors running on a deployment -->
<!-- which gives basically the same effect as removing the subsystem, but it only affects single deployment -->
<exclude-subsystems>
<subsystem name="webservices" />
</exclude-subsystems>
</deployment>
</jboss-deployment-structure>
<deployment>
<!-- exclude-subsystem prevents a subsystems deployment unit processors running on a deployment -->
<!-- which gives basically the same effect as removing the subsystem, but it only affects single deployment -->
<exclude-subsystems>
<subsystem name="webservices" />
</exclude-subsystems>
</deployment>
</jboss-deployment-structure>
相关推荐
NULL 博文链接:https://lindows.iteye.com/blog/234603
weblogic 8.1部署应用程序(图解)
We will then develop object-relational mapping with Hibernate 4, build and package the application with Maven, and then deploy it in WildFly 8.1, followed by a demonstration of the use of Facelets in...
Moving on from that, we will create an Ajax application in the Eclipse IDE, compile and package it using Maven, and run the web application on WildFly 8.1 with a MySQL database. In the final leg of ...
Moving on from that, we will create an Ajax application in the Eclipse IDE, compile and package it using Maven, and run the web application on WildFly 8.1 with a MySQL database. In the final leg of ...
weblogic8.1部署 1.数据源的连接配置 2.项目部署发布
这是一个Weblogic8.1的应用部署的应用部署文档,里面详细介绍了部署步骤。图形文字结合说明,有需要的同学可以下载。
Win8.1部署 .NET Framework 3.5 安装方式.docx
首先, JSRC是在上编写的,因此从您的 AS 中排除 WildFly 的 JSR 311 实现并将其替换为 Jersey 实现是非常重要的。 WildFly Deployment Structure Descriptor的正确排除可以通过以下方式完成: < jboss> ...
weblogic8.1 JNDI ORACLE 配置 部署
装完Win8.1的首要事项.docx
1_泛微E8替换成致远V8.1SP2的注意事项.xlsx
Windows 8.1 商店应用越狱管理工具
Weblogic 8.1安装手册pdf 详细介绍了Weblogic 8.1安装步骤。
离线部署。本文推荐网友“归途”制作的一款小工具(下载:Win8.1 Apps应用部署v1.8)。
Windows 8.1 ADK,是windows 8.1 部署工具。
5、支持windows 8(最多只能部署25款软件,只能安装appx包)/8.1(没有听到部署限制的消息,经测试 至少能部署30款以上!)如果是封装到映像中最多只能设置24个应用程序。支持脱机系统映像中的应用程序 的部署和卸载...
利用weblogic8.1设置简单代理转发功能注意事项1.1版.pdf
个人整理的开源mpp数据库greenplum最新版本的安装、部署详细过程。