Showing posts with label ADF Weblogic Domain. Show all posts
Showing posts with label ADF Weblogic Domain. Show all posts

Friday, November 9, 2012

Resolve: java.lang.AssertionError: CurrencyKey not preserved error for ADF web application

Hi, I used to dvt:hierarchyViewer component into fragment page. then I depoyed adf web application to IntegratedWeblogicServer(Default Domain) . It's okey. but deploy to custom weblogic domain (You can read here about ADF application deployment to custom weblogic domain) following error:
I resolved the error by follow step.
1. open setDomainEnv.cmpd(Windows) or setDomainEnv.sh(Linux).
2. -da:org.apache.myfaces.trinidad.component.UIXCollection add to setDomainEnv.sh like a follow pic.

3. execute setDomainEnv.sh
4. restart weblogic domain.

well done :)

thanks juddi

Sunday, November 27, 2011

ADF application deployment to custom weblogic domain

few days ago, I had problems for adf web application deployment to weblogic custom domain.
today is, I will post about the web deploy to custom domain.

There are some some useful posts:
http://blogs.oracle.com/shay/entry/common_pitfalls_when_deploying
http://radalcove.com/blog/?p=34
http://www.oracle.com/webfolder/technetwork/jdeveloper/howto/11114/managedserver/wlsadfms.html
http://chrismuir.sys-con.com/node/952411/mobile
http://technology.amis.nl/blog/6167/deploying-and-running-adf-11g-applications-on-weblogic-11g



If below error occurs while deploying the error fixed by follow steps

1. Caused by: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter
See server logs or server console for more details.

----check ADF Web Runtime

2. Caused by: java.lang.ClassNotFoundException: oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack
See server logs or server console for more details.

----check BC4J Runtime

3. Caused by: java.lang.ClassNotFoundException: oracle.jsp.runtimev2.JspServlet
See server logs or server console for more details.

----
ojsp.jar: copy ojsp.jar file to domain lib directory and restart domain



4.Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
See server logs or server console for more details.

----ADF Common Web Runtime



go to Project properties->deployments->Edit->WEB-INF/lib->contributors on left tab panel then check libraries.

okey ,now deployment success finished. The application worked normal. but showed up warning message on admin consle and UI.



I added to the groovy-all jar file to the CLASSPATH in setDomainEnv.sh.