Monday, July 4, 2011

Bounded Task Flow as ADF Library @ADF

To know how to deploy BTF as ADF library, please refer to this tutorial.

I created two different project, one producer that was deployed as ADF library and one consumer for deployed task flow, with all the default settings. Everything was smooth until running the consumer. While running i got following error:


oracle.jbo.JboException: JBO-34010: The "view/DataBindings.cpx" descriptor appears in the application classpath more than once:
 jar:file://.../JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ApplicationPack_V2.0/63ryyw/war/WEB-INF/lib/BTFADFLibrary.jar!/view/DataBindings.cpx


 file://.../JDeveloper/system11.1.1.4.37.59.23/o.j2ee/drs/ApplicationPack/ApplicationPackWebApp.war/WEB-INF/classes/view/DataBindings.cpx

The reason was same name of the packages in both the projects.  The Databinding.cpx file was under view package in both project.  Tried to change the package name from project properties -> project source path  -> Default Package option but still received the same error. I recreated the producer project with new package names and the error was resolved. Other way will be to use refactoring.


No comments:

Post a Comment