0
サーバ上のIPアドレスではなく、別名をバインドしてアプリケーションを実行しようとしています。だから私は代わりに172.19.20.xxx:8555/helloworld私は下の私のプロジェクトでのjboss-web.xmlの追加のhelloworld.businessname.com:8555/helloworldに私のアプリにアクセスしたいWEB-INFJBoss 7仮想ホストのページが見つかりません
<jboss-web>
<virtual-host>helloworld.businessname.com</virtual-host>
</jboss-web>
私はそれが見つからない言うhelloworld.businessname.com:8555/に行くとき、私は私のstandalone.xml
<subsystem xmlns="urn:jboss:domain:web:1.1" native="false" default-virtual-server="default-host">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<connector name="https" protocol="HTTP/1.1" scheme="https" socket- binding="https" enable-lookups="false" secure="true">
</connector>
<virtual-server name="default-host" enable-welcome-root="true">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
<virtual-server name="helloworld.businessname.com" default-web-module="helloworld">
<alias name="helloworld.businessname.com"/>
</virtual-server>
で仮想ホストのタグを編集しました。
私はそれを感謝します。
<jboss-web>
<context-root>/</context-root>
<virtual-host>helloworld.businessname.com</virtual-host>
</jboss-web>
セットのhostsファイル: