Oracle Tutorials

Screenshot of an ADF 11g View Object with View Criteria

How to unapply a View Criteria programmatically from a View Object in ADF?

Yesterday, I shared a quick tip on how to apply a ViewCriteria in your ADF Controller project. ( www.cedricleruth.com/how-to-apply-a-viewcriteria-programmatically-in-adf/ ) And if you’re using this snippet, you may also need to remove this ViewCriteria from the ViewObject programmatically. A typical use case is a toggle button on top of an ADF table to only display

How to unapply a View Criteria programmatically from a View Object in ADF? Read More »

ERROR: No Java EE modules detected in EAR archive. Deployment aborted. in ADF

[03:58:41 PM] Deployment cancelled. [03:58:41 PM] —- Deployment incomplete —-. [03:58:41 PM] == ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler) This error occurs when you first try to deploy your application in Oracle ADF. To fix it do as follow: Go to the Application properties Go to Deployment Select

ERROR: No Java EE modules detected in EAR archive. Deployment aborted. in ADF Read More »

java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward in ADF

This kind of java.lang.IllegalStateException exception are triggered when some Java code is executed after a forward(), sendRedirect() or sendError(). You can refer to this StackOverflow thread to learn more about how to avoid this in Java: here I’ve encountered this error in ADF a couple of time when you use a forward(), sendRedirect() or sendError()

java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward in ADF Read More »

Screenshot of the ADF images repository on windows

How to use internal ADF icons

If you don’t want to import your own icons as a resource into ADF you can use the internal ones without having to manually add them to your project. You can find them by unzipping the adf-richclient-impl jar file from your JDeveloper installation path. For example on a 11g installation : MW_HOME_INSTALL_PATH\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar Once unzipped, you’ll

How to use internal ADF icons Read More »

How to fix BEA-141281 – unable to get file lock and BEA-310006 The persistent store encountered a fatal error in Weblogic?

Server locks can occur in WebLogic when a server crash due to a nasty network or data storage issue. Once those locks are there the servers will fail to restart with a BEA-141281 or BEA-310006 error. Here is how to remove those locks and clear the cache to successfully restart your WebLogic server : View

How to fix BEA-141281 – unable to get file lock and BEA-310006 The persistent store encountered a fatal error in Weblogic? Read More »

Scroll to Top