Friday, September 16, 2011

JDeveloper 11g: Error Finding SOA configured servers to deploy archive

While deploying a SOA composite in the SOA server, sometime the following error is encountered.

"Error finding SOA configured servers to deploy archive. Deployment cannot continue. java.lang.NullPointerException".

At first instinct, re-visiting the 'App Server Connection' and running the server connection tests in JDeveloper did not reveal any issues and all the test results were successful.

On closer observation, we can notice that proxy server settings are turned on in JDeveloper which is causing the issue during the actual SOA deployment. Disable the proxy settings Tools -> Preferences -> Web Browser and Proxy -> Uncheck 'Use HTTP Proxy Server' option.

Restart JDeveloper and deploy the SOA composite. Voila, it got deployed this time perfectly.

Tuesday, September 6, 2011

Oracle WebCenter 11g Frame Busting

While trying to add a webpage portlet in Oracle WebCenter 11g either as a portlet or as a simple webpage hosted in the server, most of the times we encounter the following error;

"WARNING: Unable to load content in a frame. Frame content will load at the top level."

This is an obvious issue of iframe busting where the ADF layout of the webpage is unable to fit itself within the portlet container and hence is complaining. To overcome this issue, we need to add few lines of code to the web.xml file of the ADF project and redeploy the webpage.

Under the <web-app> root element of the web.xml, add the following <context-param> ;


And there we go, WebCenter portal doesn't complain anymore on loading the webpage.