本章节提供了将 WAR 文件部署到 WildFly 的示例说明。有关更新到新版本的 SOAtest 和 Virtualize 服务器的说明,请查阅 升级 WildFly 部署 。
server.port.http=8080
或 server.port.https=8443
。config.properties 文件中指定的端口必须与 WildFly 配置中指定端口相匹配。[standalone@localhost:9990 /] deploy <WAR>
There are no deployments on this server. Cannot respond to this request: /. |
max-post-size
属性来增加 POST 大小限制。下面的示例演示了如何为 HTTP 和 HTTPS 添加这个属性。增加 POST 大小限制 <server name="default-server"> <http-listener name="default" max-post-size="25485760" socket-binding="http" redirect-socket="https" enable-http2="true"/> <https-listener name="https" max-post-size="25485760" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/> <host name="default-host" alias="localhost"> <location name="/" handler="welcome-content"/> <filter-ref name="server-header"/> <filter-ref name="x-powered-by-header"/> </host> </server> |