MDS-00168 error in Webcenter/ADF

W.Zh Feb 2014
Issue:

For web center or ADF portal project, sometimes you see some pic or css or static file not not been load successfully when the page rendering, so just part or a page without style is displayed on browser.This issue happens especially after a redeploy, but not all the time.   When you go to WLS server log, you can see some thing like this:

oracle.mds.exception.MDSRuntimeException: MDS-00168: MDS object oracle.mds.core.MDSInstance@17ce029 is being used after it or its MDSInstance or PManager has been released.

This is caused by a oracle bug of 9034287, even they claim they have fixed that.

Solution:

Add a filter to web.xml to solve this:

<filter>     <filter-name>ServletADFContextFilter</filter-name>     <filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>   </filter>   <!-- ... -->   <filter-mapping>     <filter-name>ServletADFContextFilter</filter-name>     <url-pattern>/*</url-pattern>     <dispatcher>REQUEST</dispatcher>     <dispatcher>FORWARD</dispatcher>   </filter-mapping>


Reference:

https://community.oracle.com/thread/1054259

https://community.oracle.com/message/4221494#4221494

http://my-java-planet.blogspot.com/2013/10/webcenter-portal-mds-error-mds-00168.html

Advertisements