Thursday, 19 September 2013

OSB - returns java.lang.NullPointerException while using https

OSB Issue:

While invoking Services through https , returns General runtime error: java.lang.NullPointerException witherrorCode BEA-380000

Issue:











ISSUE: trying to perform Salesforce login servicehttps://www.salesforce.com


<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-380000</con:errorCode>
<con:reason>General runtime error: java.lang.NullPointerException</con:reason>
<con:location>
<con:node>RouteTo_XtraBusinessService</con:node>
<con:path>request-pipeline</con:path>
</con:location>
</con:fault>


FIX

Driven by the information on Oracle forum https://forums.oracle.com/thread/2266873,where the exception shown resembles closely with Java.lang.NullPointerException in our PROD environment(attached .jpg)

Forum briefly Says:

[OSB] "SSL renegotiation" issue during HTTPS web service invocation
After some time debugging, I have found that the origin of the NPE is the "Use JSSE SSL" that I had selected in the OSB configuration. After uncheck this option, the test goes succesfull against the simulated server.


I did a comparison between Blue –Lite and Prod on Weblogic server, to find our PROD Weblogic SSL configuration has ”Use JSSE SSL” option activated.Can we un-check this and re-try our https invocation.

Enable and Disable JSSE-Based SSL for WebLogic Server from the Administration Console

· You can enable the JSSE-based SSL implementation through the Administration Console, on the

· Environment > Servers > ServerName > Configuration > SSL > Advanced page. This affects both outbound and inbound SSL connections.

· You then need to restart SSL on the Environment > Servers > ServerName > Control > Start/Stop page.



RIJOY

Tuesday, 3 September 2013

Enabling/Disabling the interface

Fallback Rollback requirements, OSB Enabling/Disabling the interface



In case of Fallback requirements, Enabling/Disabling the interface should be pretty easy on OSB console,by using the Project Explorer:

Select your Proxy Service:

Choose the Operational settings TAB, uncheck the tick mark to Disable the State.

And you better do a testing from test console…J