1. While creating the domain using "config.sh" you will get an option to set up "weblogic server as webserver". This option is enabled only on condition "cluster must be created, and few managed servers needs to assigned to cluster". For example if we create 3 managed servers and we assign 2 managed to cluster then "Http Proxt screen" would be enabled where remaining server can be set up as "http proxy webserver".
2. Below is the lengthy procedure. Since the code contains "<" and ">" characters which the blog will interpret as http code, I am posting the the image of "web.xml" and "weblogic.xml". Please click on the image to see the details.
a. Create a standalone weblogic server.b. We need to create a dummy war lets assume the name is "vasProxy.war", which just contains below "web.xml" adn "weblogic.xml".
c. Once you had created "web.xml" and "weblogic.xml" in above directory, create war file. Go into "vasProxy" directory and execute "jar xvf vasProxy.war *". Deploy this "vasProxy.war" file to "http proxy server".
d. Testing :-
lets assume that you had deployed an application called "vas" on to two managed servers. And when you hit the url http://localhost:7005/vas or http://localhost:7007/vas it displays a jsp page.
Once the above set up is done and you have installed proxy server as mentioned above, then if you hit the url http://proxyserverip:proxyserverport/vas, the request would be handled by either first managed server or second managed server.
Thanks.
Vijay Bheemineni.
Thanks.
Vijay Bheemineni.
0 comments:
Post a Comment