Starting IIS 7 and JBoss AS 7 Concurrently with Windows 2008 Server

Does anyone know how to allow the launch and launch of IIS 7 and JBoss AS 7 applications on a Windows 2008 Server? I have VPS Windows 2008, I have ASP.NET websites and applications through IIS through port 80, by default. Now I want to host some JBoss Seam web applications (and RESTEasy web services) that I probably need to do on a different port (for example, 8080).

I changed the standalone.xml configuration file in JBoss AS in a stand-alone configuration folder so that the socket binding name "http" runs from port 8080. However, the server does not respond when I try to request my applications running on JBoss AS from browsers on other machines for outside the server, for example:

www.notmyrealdomain.com:8080

... does not return any response. When i use

local: 8080

... to view the server itself, I can download the web page and applications from JBoss AS in order. So, of course, there is either a Windows setup or a JBoss AS setup that needs a change to get this to work.

Any help is greatly appreciated.

+6
source share
3 answers

Finally, it turned out:

The first step is to enable inbound connections using the properties of the open Windows Firewall profile!

The second step is to edit the standalone /configuration/standalone.xml on my JBoss AS, replacing the default values ​​with these values:

<interfaces> <interface name="management"> <inet-address value="127.0.0.1"/> </interface> <interface name="public"> <any-address/> </interface> </interfaces> <socket-binding-group ...> <socket-binding name="http" port="8080"/> ... </socket-binding-group> 

The third step is to restart the server by running the standalone.bat file again.

Both IIS and JBoss AS are successfully hosting applications now, although I need to provide a port address for JBoss AS applications that are deployed, as I mentioned in my original question, for example. www.notmyrealdomain.com:8080/jboss-as-app/.

+1
source

You need to make jboss as an 7 ip instance binding that permits www.notmyrealdomain.com .

you can do this by running jboss like:

 standalone.bat -b <EXTERNALIP> 

Hi

+1
source

You can configure a subdomain, such as jboss.notmyrealdomain.com , and configure IIS to redirect to JBoss completely. This gives the advantage of using port 80 in the browser.

See http://blogs.msdn.com/b/tconte/archive/2011/03/08/configuring-an-iis-7-front-end-for-apache-tomcat-using-appcmd-exe.aspx .

+1
source

Source: https://habr.com/ru/post/916733/


All Articles