Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jdeveloper JSF: works on integrated weblogic but not on remote weblogic

916518Feb 9 2012 — edited Apr 7 2012
I have a simple JSF application (just printing Hello World). When I deploy it through Jdeveloper to the integrated weblogic server it works fine. However, it fails to deploy to a remote standalone weblogic server it fails with this error in the logs

+<Feb 9, 2012 11:01:55 AM EST> <Warning> <oracle.adf.share.config.ADFConfigFactory> <BEA-000000> <Resource META-INF/adf-config.xml not found on the classpath.>+
+<Feb 9, 2012 11:01:55 AM EST> <Warning> <oracle.adf.share.config.ADFConfigFactory> <BEA-000000> <A default implementation of ADFConfig is being created for application. This can lead to unexpected results in some cases. Please add a basic META-INF/adf-config.xml to your classpath to avoid functional errors.>+
+<Feb 9, 2012 11:02:37 AM EST> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1+
java.lang.NoClassDefFoundError: oracle/adf/model/RegionBinding
+ at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.getLifecycleContext(ADFPhaseListener.java:168)+
+ at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:131)+


Steps:

1. I installed JDeveloper 11gR2 (11.1.2.1.0) studio.
2. After installation, I configured a weblogic server domain by running MW_HOME/wlserver_10.3/common/bin/config.sh.
I selected the following products to include in the domain - Oracle JRF WebServices Asynchronous services, Oracle JRF - 11.1.1.0, Weblogic Advanced Web Services JAX-RPC, and Weblogic advanced web services for JAX-WS.
3. Create a JSF hello world app in jdeveloper and deploy to Integrated weblogic server. It works.
4. Now deploy the same JSF hello world app from jDeveloper to a Remote/standalone weblogic server. It fails.

It is the same application source code and also, the weblogic standalone domain was created from the same jDeveloper installation. I also verified that the deployed libs in the two weblogic servers are identical.

Appreciate any help, inputs.
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2012
Added on Feb 9 2012
2 comments
915 views