Tuesday 26 July 2011

Sunone configuration with weblogic


Step 1). Create a Webserver running on port 8081 using the Admin Console of SunOne. Step 2). Copy over the plugin present in the following directory C:\bea103\wlserver_10.3\server\plugin\win\32\proxy61.dll To the Sun One Installation Directory C:\Sun\WebServer6.1\plugins\lib Step 3). Load the plugins by adding the following lines in magnus.conf present in C:\Sun\WebServer6.1\https-testserver\config magnus.conf Init fn=”load-modules” funcs=”wl_proxy,wl_init” shlib=”C:/Sun/WebServer6.1/plugins/lib/ proxy61.dll” To forward request to a Standalone Server add the following lines to obj.conf file present in the following directory C:\Sun\WebServer6.1\https-testserver\config obj.conf Service fn=”wl_proxy” WebLogicHost=localhost WebLogicPort=7001 WLLogFile=”C:/Sun/ WebServer6.1/https-testserver/logs/proxy.log” Debug=ALL DebugConfigInfo=ON To forward request to a CLuster we need to add the following in the bj.conf file Service fn=”wl_proxy” WebLogicCluster=”localhost:7001,localhost:7003? WLLogFile=”C:/ Sun/WebServer6.1/https-testserver/logs/proxy.log” Debug=ALL DebugConfigInfo=ON To configure SSL Between SunOne Webserver and Weblogic Server, add the following in the obj.conf file Service fn=”wl_proxy” WebLogicHost=localhost WebLogicPort=7001 WLLogFile=”C:/ Sun/WebServer6.1/https-testserver/logs/proxy.log” Debug=ALL DebugConfigInfo=ON SecureProxy=ON TrustedCAFile=”C:/Sun/WebServer6.1/https-testserver/rootCA.pem” RequireSSLHostMatch=false where rootCA.pem is the root certificate of Weblogic Server. Step 4). Start the test server using startsvr.bat present in C:\Sun\WebServer6.1\https-testserver Step 5). Acess the Weblogic Console using the following url http://localhost:8081/console/

No comments:

Post a Comment