Hi, all,
I'm a bit confused on how to set the URL. Let me explain...
I understand how to modify the path for deployed WAR files in the jboss-web.xml file. It seems to me that in order to get a deployed WAR to default to a URL, you would do something like this:
<jboss-web>
<context-root>/</context-root>
</jboss-web>
However, that doesn't work at all. Furthermore, I can't seem to find any information regarding this. I'm not interested in DNS mapping, I just want to be able to go to 192.168.0.101 (for example) and directly access my site on port 80. It will be internally-facing only.
I've also tried virtual host setup, but the sparse information that exists for AS 7 doesn't seem to work at all (and I'm not certain that's what I want to do anyway).
I'm a developer, not an administrator, so a lot of this is new to me. Thanks very much for your assistance.
Hi there,
you have two issues:
For some reasons the jboss-web.xml did work only, when i used EAR deployment (WAR inside an EAR).
You can change the Server-Port in the standalone.xml (<socket-binding name="http" port="8080"/>)
Best regards,
Mark