このセクションでは、WildFly に WAR ファイルをデプロイする手順の例を示します。新しいバージョンの SOAtest/Virtualize Server にアップデートする方法については「WildFly にデプロイされた SOAtest/Virtualize Server のアップグレード」を参照してください。
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: /. |
10 MB より大きいテストがある場合、POST サイズの上限を増やすため、<WILDFLY_HOME>/standalone/configuration/standalone.xml ファイルに max-post-size
属性を 追加する必要があります。次のサンプルは、HTTP および HTTPS の両方にこの属性を追加する方法を表しています。
<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> |