異なるコンテキスト ルートを持つ 2 つの Web サービスをデプロイすることは可能ですか? 各 Web サービスは戦争状態にあります。戦争やその他のライブラリが耳に詰め込まれています。私はそのようなことを試みています:
<modules>
<webModule>
<groupId>group</groupId>
<artifactId>war1</artifactId>
<contextRoot>/api/test</contextRoot>
</webModule>
<webModule>
<groupId>group</groupId>
<artifactId>war2</artifactId>
<contextRoot>/gateway/test/bs</contextRoot>
</webModule>
</modules>
しかし、うまくいきません。
java.lang.IllegalStateException: Context root must be the same for all deployed endpoints
JBoss 6.1を使用しています