3 Replies Latest reply: Apr 7, 2013 4:07 AM by Cuong Pham RSS

    How to register WSRP portlet producer via OHS load balancing

    Cuong Pham
      Hi everyone.
      We developed some portlets and deployed them to clustered managed servers. So, when register that portlets, I stucked on how to use Http Server with Mod_WebLogic to load-balancing/fail-over between WSRP producers ?

      For example:
      - my cluster has 4 managed servers: app1:7003, app1:7005, app1:7007, app2:7003
      - my WSRP portlet producer URLs correspond to above servers: server_name:port/bieudo-index/portlets/wsrp2?WSDL

      I set up a apache 2.2 with weblogic server module (mod_wl.so) to load balancing these WSRP producer.

      My apache running on http://loadbalancer:8888/

      This is my mod_wl.conf contents:
      <Location /bieudo-index/portlets/wsrp2>
              SetHandler weblogic-handler
              WebLogicCluster app1:7003,app1:7005,app2:7003,app1:7007
              WLProxySSL ON
              WLProxySSLPassThrough ON
      </Location>
      <Location /wsrp-tools>
              SetHandler weblogic-handler
              WebLogicCluster app1:7003,app1:7005,app2:7003,app1:7007
              WLProxySSL ON
              WLProxySSLPassThrough ON
      </Location>
      The URL that I used to register on WebCenter Portal is http://loadbalancer:8888/bieudo-index/portlets/wsrp2?WSDL
      - When I pressed the Test button, result is OK
      - When I press OK button to register, this error message occurred:
      Unable to register the producer due to an invalid WSDL URL
      Have you ever meet the same situation ? If you know the solution, please tell me.

      Any suggestion is appreciated