0

I'm running a glassfish server that handles all jsp and servlets.

Now there is a way to get it working so that you can run IIS on port 80 and glassfish on port 8080, now the problem is:

When i request http://localhost/myWebApplication it should rewrite the url and use http://localhost:8080/myWebApplication

Basically I make a request to IIS, but the response I get back must be from Glassfish.

When I request the url with port 8080 it works, because its getting it from Glassfish, but i need to go through IIS to Glassfish.

Here is a website that explains it all: http://jstoup.wordpress.com/2012/04/25/how-to-integrate-glassfish-with-iis/

but I still can't get it working.

I have got no idea how my url rewrite rules must be set up.

4

1 回答 1

1

这是您引用的博客中的詹姆斯。如果你还没有得到这个工作,你可能必须启用你的服务器场作为代理。如果您选择您的网络农场,那么中央控制台中应该有一个代理配置。您所要做的就是打开它,您应该一切顺利。如果您有任何问题,请告诉我

于 2012-10-31T13:20:39.993 回答