BPM Worklist Problem After Setting Frontend Host and Port
JoshSep 9 2011 — edited Sep 13 2011Hi all,
I was following the EDG for SOA 11.1.1.5 and was encountering a problem with the BPM Worklist after setting the Frontend Host and Port. We have a topology that includes a load balancer that terminates SSL, two OHS instances, and two SOA instances on separate VMs. When BPM Worklist was loading, it was calling webservices internally through the load balancer, but WebLogic was expecting them as http://. It was not able to resolve the HTTPS port that was being sent from the load balancer through the 80 to 443 redirect.
What the current EDG does not tell you, is that you have to also turn on "Enable Weblogic Plug-In" for WebLogic to use the OHS plug-in. I did it at the domain level, as all traffic will go through the load balancer. This essentially tells WebLogic that all URLs are https://
Here is an exerpt from the SOA.out log file:
*************************************************************************************
...
<Sep 8, 2011 9:32:06 PM PDT> <Error> <oracle.soa.services.workflow.worklist> <BEA-000000> <<.> Service error.
Internal Error; Service error occurs in IdentityService in method lookupUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
ORABPEL-10585
Service error.
Internal Error; Service error occurs in IdentityService in method lookupUser.
Refer to the log file that is configured for oracle.soa.services.identity for more details on this error and contact Oracle Support Services
...
Caused By: javax.xml.soap.SOAPException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=UTF-8
*************************************************************************************
What it is also missing, is that you should also set the SOA Infrastructure ServerURL mbean for the load balancer, to match the frontend host and port. Do this through Fusion Middleware Contol. Otherwise, you could encounter URL mismatches.
I hope this helps someone else.
I've asked Oracle to add this to the EDG for SOA. It's in the IDM guide, but not in any other EDGs.