118 total views, 3 views today

401 Unauthorized Error When invoking a BPM Process Human Task when SSL and Load Balancer turned On

I have been working on an Oracle BPM process with Human Task as an initiator deployed in a BPM cluster. The  SSL ports are enabled, and Load balancer pointed to the SSL ports. When I invoke the BPM process though individual server with-out SSL ports, the process invoked well and I could enter data in my Human Task and could complete the process. But If I invoke the same process though individual server with SSL port or via the Load balancer the Human Task throughs 401 Unauthorized Exception.

I didn’t have any clue how to resolve it, and I did plenty of time troubleshooting my code and SSL configurations on my WebLogic server, but nothing helped.

Finally, I found the below JVM parameter from Oracle DOC that did the wonder.

-Dweblogic.wsee.useRequestHost=true

Fix:

1. Open the <DOMAIN_HOME>\bin\startWeblogic.cmd (.sh on Linux) and add the above parameter in JAVA_OPTIONS as like below

 

030517_1601_401Unauthor1 401 Unauthorized Error when invoking BPM Process Human Task when SSL and Load balancer turned on

 

2. Add the JVM option in SERVER_START parameter of all SOA SERVERS 

 

030517_1601_401Unauthor2 401 Unauthorized Error when invoking BPM Process Human Task when SSL and Load balancer turned on

 

3. That’s it. Restart the Admin and Managed servers and test the Human Task again.

govindan 401 Unauthorized Error when invoking BPM Process Human Task when SSL and Load balancer turned on
Connect me

Govind

Thank you for visiting my personal blog. Myself Govindan, Software Developer by profession since 2006 and hence I started this blog early in 2016 and ever since I've been writing about technologies experienced and learnings of everyday life.

The views expressed on this blog are my personal views and do not necessarily reflect the views of my employer.

Please feeling free to reach me on any comments and feedbacks you have. Would be more than glad to listen and reply 🙂
govindan 401 Unauthorized Error when invoking BPM Process Human Task when SSL and Load balancer turned on
Connect me
By | 2017-03-05T11:18:48+00:00 March 5th, 2017|Categories: BPM, WebLogic|Tags: , |0 Comments
Like us on Facebook.
Connect!