Showing posts with label OSB Https invocation. Show all posts
Showing posts with label OSB Https invocation. Show all posts

Friday, 4 October 2013

OSB Message Report : The server encountered an unexpected condition which prevented it from fulfilling the request.

ISSUE: osbconsole>Operations > Message Reports

console exception

Unable to retrieve OSB reporting data on osb console:


Message : The server encountered an unexpected condition which prevented it from fulfilling the request.

Possible cause:

· By default, the Oracle Service Bus JMS reporting provider is deployed in an Oracle Service Bus domain. The reporting provider uses a database to persist reporting data. This is specified under the DataSource wlsbjmsrpDataSource

· Check whether the Datasource os properly targeted to a running server/Adminserver.

· Use the Testing Tab to check whether the database connection specified by dataSource.



In case the test fails:

· Navigate to Weblogic console path for wlsbjmsrpDataSource

· Home >Summary of Servers >Summary of JDBC Data Sources >wlsbjmsrpDataSource

· Manually bounce the instances of this datasource using Shut down followed by Start



Ensure the start is complete and test the data source connection: Once test is successful..



Check the Reports on osb console by Navigating to Operations > Message Reports..You should be able to find the Summary of Message Report screen coming up now.



RIJOY

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