Meine Anwendung läuft gut mit dieser URL: http://localhost:8291/projectName/index.html.Wie Projektname in URL in Jboss entfernen?
Aber ich möchte mein Projekt mit http://localhost:8291 ausführen.
Ich habe versucht, folgende Konfigurationsänderungen in standalone.xml
Datei in jboss-as-7.1.1.Final\standalone\configuration\standalone.xml
<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false">
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<virtual-server name="default-host" enable-welcome-root="false">
<alias name="localhost"/>
<alias name="example.com"/>
</virtual-server>
</subsystem>
Aber es funktioniert nicht.