Tuesday, March 17, 2015

WebCenter (ADF) & Weblogic

WebCenter (ADF) & Weblogic





One of the challenge which I met by one of our customer was the problem with ADF application & Weblogic. 


Different types of errors like JBO-25009 can not create an object of type .... & JBO-26041: failed to post data during insert or


JBO-29114 ADFContext is not setup to process messages for this exception. Use the exception stack trace and error code to investigate the root cause of this exception. Root cause error code is JBO-29000. Error message parameters are


{0=java.sql.SQLException, 1=Protocol violation: [0]}
 This a well known error in Weblogic. WLS has a feature enabled by default in its JDBC Data SOurce That Wraps JDBC data types and which interferes with some LOB type handling in ADF; some issues in passivation for 10g ADF and other LOB interaction from the Entity Objects .


Solution:


Only from WLS 10.3.4 & late you can enable & disable this feature.


 login on WL console -> Services -> Data Sources-> (data Source Name)-> Connection Pool->


Advanced.
under Advanced check out Wrap Data Types.
By checking out Wrap Data Types this feature will be disabled.
Restart of the data source is needed but I prefer to restart Managed Server

No comments:

Post a Comment