Refresh ADF Library Dependencies

JDeveloper 11.1.1.3.0
ADF Library Dependencies are written when we add an adf library to a project, but currently we are finding an issue where our main project is missing a ClassDef because one of its library did not refresh their ADF Lib Dependencies.
Ex.
ProjectA.jar
ProjectB.jar (uses ProjectA)
ProjectC.jar (uses ProjectB, ADF Lib. Dependencies on ProjectA)
IF a project lets say ProjectX.lib was added to ProjectA, we will need to refresh the Lib Dependencies on B and C just to make sure that C will compile correctly.
In this scenario, what is the best approach or best practice to make sure that all the dependent projects gets updated whenever a library gets added?

chk this
ADF Libraries BUG?
http://andrejusb.blogspot.com/2011/04/strange-day-adf-library-profile.html
1)what's the ADF_Library_Dependencies.library in every project e.g xModel? it contains all the dependency jars..
2)the name space url of the file is unreachable, how can i get it? http://xmlns.oracle.com/jdeveloper/110000jlibrarynode
Why do u need this..??
3) we foud it does not include all the dependent libraries, y?The entries are the dependencies of the added jar
4)Some times, it causes failure of application deployment and it workds after deletling it, y?http://adfhowto.blogspot.com/2010/10/adding-lib-jar-dependency-to-my-project.html

Similar Messages

  • Right way to manage ADF Library Dependencies

    Hi,
    I am working on an application where we are trying to components in individual Libraries for re-usability and logical grouping.
    These jar files are then imported into parent projects which can result in different levels of dependency hierarchies.
    From what I have seen there are different ways of importing components / libraries onto a project.
    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent project
    My question is:
    a> What is the difference between these three ways of importing components from one project to the other.
    b> Which is the best way for deployment and future maintenance.
    thanks
    Edited by: user595592 on Aug 12, 2011 5:18 AM

    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)This will be applicable if you have a dependiency.. ro you have an adf library reference for your project..
    datacontrol - Business components referenced in bc4j.cfg
    other datacontrlols will be defined in DataBindings.cpx file
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.This is through file connection.. This is the most prompt way of adding libraries.. to the project.. so that there wont be an absolute references..
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent projectagain same as poiint 2.. but for datacontrol..
    a> What is the difference between these three ways of importing components from one project to the other. point 1 say dependecies.. in a single applicatioon between different project.. absoultely fine..
    point 2.. will alway go with relative path.. and have an advantage of not having absolute path..
    point 3. si same as 2
    b> Which is the best way for deployment and future maintenanceI will suggest you to go for 2.. as its the standard way of adding libraries..

  • Maven and "adf library jar"

    Hi,
    I'm trying to create an "adf library jar" using maven in jdev 11gR2 : how to have the same jar with "jdev deployment" and "maven-->package" ? Is it possible?
    Thanks
    Clément

    Hi,
    In order to determine which jars are needed for ADF, you need to check the dependencies in JDeveloper and write each jar down.
    If by any chance you are using JDev 11.1.3, its the following jars:
    CONTROLLER
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-api.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar                           
    MANAGEMENT
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.management_11.1.1\adf-em-config.jar                          
    MODEL.GENERIC
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model.generic_11.1.1\bc4jdomgnrc.jar                         
    ADF.MODEL
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-client.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-controller-schema.jar                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibfilter.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar                                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmportlet.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-runtime-mbean.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-sec-idm-dc.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftags.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jhtml.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jimdomains.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jsyscat.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\datatags.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jmxdc.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jr_dav.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\oicons.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordhttp.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordim.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcs-adflib-rt.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcsrt.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar                                  
    PAGEFLOW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-dtrt.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-fwk.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-impl.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-rc.jar                      
    SECURITY
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar                    
    SHARE.CA
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar                          
    ADF.SHARE
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-wls.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar                                
    ADF.VIEW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dynamic-faces.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-changemanager-rt.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-dt-core.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-registration.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dtrt.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-share-web.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-view-databinding-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-trinidad.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\oracle-page-templates.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar                             -Anton

  • ADF 11g - Refreshing adf:Table using af:poll and ValueExpressions

    Hi,
    I am trying refresh an ADF Read-only table with the af:poll component.
    I could see the System.out message in console and Browser activity (refreshing) because of af:poll method.
    But, the values are not getting updated until I refresh the page manually and removing the "?_adf.ctrl-state=1228194074_3" part from the Browser URL.
    Please find the code which I am using:
    System.out.println("Updating table");
    FacesContext fctx = FacesContext.getCurrentInstance();
    *ValueBinding dcb = fctx.getApplication().createValueBinding("#{bindings}");*
    DCBindingContainer bindings = (DCBindingContainer)dcb.getValue(fctx);
    DCIteratorBinding dciter =bindings.findIteratorBinding("DepartmentsIterator");
    Key current_row_key = dciter.getCurrentRow().getKey();
    dciter.executeQuery();
    dciter.setCurrentRowWithKey(current_row_key.toStringFormat(true));
    Also, I could see createValueBinding / ValueBinding is deprecated and replaced by ValueExpression.
    Is this causing any issues or is there any working sample of the same in ADF 11g.
    thanks & regards,
    S.Vasanth Kumar.
    JDev Studio Edition Version 11.1.1.0.1
    Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
    Edited by: vasanth.s.kumar on May 6, 2009 10:06 PM

    Thank you for the help.
    But, I am getting NullPointerException after implementing the following code.
    RequestContext.getCurrentInstance().addPartialTarget(this.getTable1());
    RequestContext.getCurrentInstance().addPartialTarget(this.getTable2());
    +"java.lang.NullPointerException+
    +For more information, please see the server's error log for+
    +an entry beginning with: Server Exception during PPR, #4"+
    Please find the complete stack trace attached.
    Inside EmployeesBean
    Updating table
    May 6, 2009 10:34:05 PM oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #1
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1264)
         at org.apache.myfaces.trinidad.component.UIXPoll.broadcast(UIXPoll.java:98)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:640)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:275)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:102)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl._getNearestPPRTarget(RequestContextImpl.java:770)
         at org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTarget(RequestContextImpl.java:487)
         at nl.whitehorses.coherence.view.backing.EmployeesBean.refreshTable(EmployeesBean.java:105)
         at nl.whitehorses.coherence.view.backing.EmployeesBean.onPoll(EmployeesBean.java:110)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         ... 38 more
    thanks & regards,
    S.Vasanth Kumar.

  • JDeveloper 11.1.2.3, ADF Faces, JQuery Integration via ADF Library

    I cannot seem to get a consuming application to execute jquery's ready() function defined within a adflib application. Here is my setup
    directory structure of where my javascript files are:
    CommonApp
    -ViewController
    --public_html
    ---resources
    ----js
    -----jquery-1.6.2.min.js
    -----acme.js
    The above structure created by default by jdev when creating a new javascript file. Now the test code (also within CommonApp) which works looks like the following:
    test.jsf
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="test.jsf" id="d1">
            <af:group id="g1">
                <af:resource type="javascript" source="/resources/js/jquery-1.6.2.min.js"/>
                <af:resource type="javascript" source="/resources/js/acme.js"/>
            </af:group>
            <af:form id="f1">
             </af:form>
        </af:document>
    </f:view>Contents of acme.js
    $(document).ready(function () {
        // do jQuery
        alert('jquery ready called')
    });OK so far so good, test.jsf runs and an alert dialog pops up. Moving on... CommonApp is deployed as an ADF Library and consumed by a ChildApp.
    There is a single .jsf file within the ChildApp and the code is exactly identical to the above test.jsf. Upon runtime there is no alert dialog! What am I missing?

    A bit more fiddling around:
    I have added the following code to acme.js
    function test() {
        alert('test');
    }redeployed the adflib
    Within my ChildApp I have added the following code to test.jsf:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="test.jsf" id="d1">
            <af:group id="g1">
                <af:resource type="javascript" source="/resources/js/jquery-1.6.2.min.js"/>
                <af:resource type="javascript" source="/resources/js/acme.js"/>
            </af:group>
            <af:form id="f1">
                <af:commandButton text="commandButton 1" id="cb1">
                    <af:clientListener method="test" type="click"/>
                </af:commandButton>
            </af:form>
        </af:document>When the code is ran, I clicked the button and the alert dialog is invoked.
    </f:view>

  • Bug in the Refresh Music Library - N97 V21

    I wanted to add just one new song onto my N97, it was a song that I heard on the radio and liked so I purchased it on iTunes added it to a playlist and transferred it to my N97 using NMT. This all went fine until I tried refreshing the music library, no matter what I did the refresh would not find the additional song. I checked the transfer using YBrowser and sure enough the song had been transferred and the playlist had the new song added (I could even play it in the file browser) but this would not update in the music player.
    To resolve this I had to delete all 4.7GB of music off my N97 (including the playlists) using NMT then disconnect the phone and refresh the library, the music library then displayed 0 songs. Then using NMT I had to reload all of the music and refresh the library, this time it worked.
    As you can imagine deleting and reloading 4.7GB (thankfully I don't have more music on my phone) of data takes quite a bit of time, all to add just one new 8MB song. Outrageous!
    Has anyone else experienced this? 
    Nokia N97 (RM-507) v 22
    iPhone 4 (Coming Soon) - Lemon N97 - SE - Nokia 8210 - Nokia 7710 - Nokia 5100

    i have a different problem...you see when i add new songs to n97 just THIS WEEK then when i was refreshing it it seems that it can't find the new songs i've added and the refreshing never stops..i'm so worried right now..what should i do?i need a reply as soon as possible..music to me is so important you see..:smileysad:

  • JDeveloper 11.1.1.5.0 ADF Library task-flow not shown

    fyi
    Please consider the example application created using JDeveloper 11.1.1.5.0
    at http://www.consideringred.com/files/oracle/2011/TestsInADFLibraryApp-v0.01.zip
    (in the context of forum thread "JUnit test classes in ADF Library")
    At some point, working with that application in JDeveloper 11.1.1.5.0, I used the deployment profile "adflibTestsInADFLibraryApp-ViewController-dp" to create the ADF Library "adflibTestsInADFLibraryApp-ViewController.jar" wich seemed to have an issue.
    When in a File System Connection on the Resource Palette, that ADF Library did not show the task-flow(s) it contained.
    But, I can no longer reproduce this. If I now try to do the same, the ADF Library seems to be OK. The only thing I can think of that changed, is that JDeveloper has been restarted (a day later).
    Showing both ADF Libraries in File System Connections on the Resource Palette illustrates this
    at http://www.consideringred.com/files/oracle/img/2011/task-flow-not-shown-jdev111150.png
    When I looked inside the ADF Libraries, the respective "task-flow-registry.xml" files were somewhat different:
    - in the "broken" ADF Library there were lots of XML namespace declarations
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="WEB-INF/btf/browse-employees-btf.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="browse-employees-btf" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="task-flow-definition" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="true" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    <task-flow-descriptor xmlns:ns0="http://xmlns.oracle.com/adf/controller/rc" ns0:path="META-INF/adfc-config.xml" xmlns:ns1="http://xmlns.oracle.com/adf/controller/rc" ns1:id="" xmlns:ns2="http://xmlns.oracle.com/adf/controller/rc" ns2:type="" xmlns:ns3="http://xmlns.oracle.com/adf/controller/rc" ns3:uses-page-fragments="false" xmlns:ns4="http://xmlns.oracle.com/adf/controller/rc" ns4:library-internal="false" xmlns:ns5="http://xmlns.oracle.com/adf/controller/rc" ns5:train="false"/>
    </task-flow-registry>- in the "ok" ADF Library there was only one XML namespace declaration
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <task-flow-registry xmlns="http://xmlns.oracle.com/adf/controller/rc">
       <task-flow-descriptor path="WEB-INF/btf/browse-employees-btf.xml" id="browse-employees-btf" type="task-flow-definition" uses-page-fragments="true" library-internal="false" train="false"/>
       <task-flow-descriptor path="META-INF/adfc-config.xml" id="" type="" uses-page-fragments="false" library-internal="false" train="false"/>
    </task-flow-registry>- (q1) How can these not shown task-flows (or its different task-flow-registry.xml file) be explained?
    many thanks
    Jan Vervecken

    Thanks for your reply Chris.
    Chris Muir wrote:
    a) When you say you've "used the deployment profile" I'm guessing you mean within JDeveloper and not via ojdeploy? ...That is correct.
    ... it seems you're doing the ADF Library generation inside JDev, not via ojdeploy via Ant correct? ...That is correct.
    ... (For reference the bug numbers are 10028879, 10028816, 913159). ...On My Oracle Support I have found:
    - bug 10028879, "OJDEPLOY FAILS TO COMPILE/GENERATE TASK-FLOW-REGISTRY.XML WHEN ${USER.DIR} USED" (having "Base Bug 10076058" which does not seem to be published)
    - bug 10028816, "OJDEPLOY FAILS TO GENERATE TASK-FLOW-REGISTRY.XML FOR CASE-INSENSITIVE WIN PATH" (and a patch)
    - for number 913159 I got "No results found" (which might be an unpublished bug, or a wrong number)
    ... by that stage I was sick of logging bugs against ojdeploy. ...Really, where did it hurt. ;-) ... logging bugs should not be a problem ...
    b) Regards the File System Connection in the Resource Palette, are you using an UNC mapping? ...No UNC mapping, just the local file system.
    ... The relating bug numbers are 9340973 and 12940696. ...On My Oracle Support I have found:
    - bug 9340973, "RESOURCE PALETTE FAILURE ON USING NETWORK PATHED FILE CONNECTIONS" (having "Base Bug 12940696" which does not seem to be published)
    - for number 12940696 I got "No results found" (which might be an unpublished bug, or a wrong number)
    So, about "I don't think these are related but let's rule them out", I think those are ruled out.
    regards
    Jan

  • Java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities.
    Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot deploy them.
    I try to create a new SOA domain. However, I get same error message as follow.
    [04:04:48 PM] ---- Deployment started. ----
    [04:04:48 PM] Target platform is (Weblogic 10.3).
    [04:04:48 PM] Retrieving existing application information
    [04:04:48 PM] Running dependency analysis...
    [04:04:48 PM] Building...
    [04:05:14 PM] Deploying profile...
    [04:05:17 PM] Wrote Web Application Module to C:\JdevWorkspace\BPM\initiatorUI\deploy\initiatorUI.war
    [04:05:19 PM] Deploying Application...
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149193]Operation 'deploy' on application 'initiatorUI' has failed on 'AdminServer'
    [04:05:24 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application initiatorUI on AdminServer,BPMJMSServer,SOAJMSServer,UMSJMSServer.: Failed to load webapp: 'initiatorUI.war'.
    [04:05:24 PM] Weblogic Server Exception: weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] Caused by: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet
    [04:05:24 PM] See server logs or server console for more details.
    [04:05:24 PM] weblogic.application.ModuleException: Failed to load webapp: 'initiatorUI.war'
    [04:05:24 PM] #### Deployment incomplete. ####
    [04:05:24 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Thanks Amjad. It worked for me as well!!
    I think the reasoning behind this is: If we deploy it from the Application tab, it deploys the EAR file whereas simply right clicking the project and deploy, deploys the WAR file.

  • TP4 reusing ADF library migration problem

    Hello,
    I have an application containing multiple Business Components and View Controller projects.
    Common functionality is shared as ADF library between view controller projects. The applicatio was created with TP3 and is working just fine. When ported to TP4, it seems that part of the functionality shared as ADF library is not working.
    To be more specific: the login page is using a backing bean to check the authentication details against the database. The following code is working properly:
            appModule =
                    (ApplicationModule)((DCBindingContainer)getBindings()).getDataControl().getApplicationModule();But, when accessing the BC module from a phase listener using the following code:
            DataControl dc = event.getLifecycleContext()
                .getBindingContext()
                .findDataControl("SharedModuleDataControl"); DataControl is null.
    The same phase listener is working properly when used within the project it was created (and not as imported ADF library)
    Once again, this is happening with TP4, with TP3 everything is working fine.
    Thanks,
    Florin Marcus

    Gabrielle,
    The root of the problem is that JDeveloper makes a copy of the adf-faces-impl.jar in the WEB-INF\lib directory in your project directory. So what was happening is the project contained to old version of this library that still referenced the "selected" attribute. When you built and then ran the project against the new runtime libraries that no longer had this "selected" attribute, the error occurred.
    So the solution to this problem would be for JDeveloper to not copy these libraries into your project directory or to detect that the version has changed and warn you or prompt you to copy the libraries again.
    Jim

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • ADF Library problem...

    Hi all,
    I hope someone can help me with this. I'm using JDeveloper 11.1.1.2
    I have an application with three projects, two models and a view controller,
    I have business components (Entity Objects) in the first model project deployed to an ADF library which i added to the second model project by creating a new file connection referencing the jar file. This initially worked fine, and in the second model project, I was able to create view objects using the entity object referenced from the ADF library jar file, with LOV's also referencing view objects which are in the ADF library jar file.
    Once I exit jdeveloper and restart however, any attempt to open the view object xml file in the second model project results in the following errors
    Feb 8, 2010 6:40:22 PM oracle.adfmdt.log
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmland
    Feb 8, 2010 6:40:22 PM oracle.jbo.dt.dependency.xdf.Utils getJboBaseObject
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmlWhich are repeated multiple times in the log at the point of opening the xml file (design time, not at run time) and the entity object can no longer be referenced.
    It's as if jdeveloper "forgets" the ADF library reference once the IDE is closed.
    I looked in the Jar file, and all the objects are actually there. the model.jpx files in all the projects are named differently so there is no conflict there. I have tried multiple ways of adding the ADF library
    From the IDE connections
    From project properties->business components-> import
    From model.jpx properties-> import
    From file menu->import
    and as soon as you reload the ide... all the references to objects in the jar file stop working
    Has this happened to anyone else? Is there a solution to this?
    Thanks

    Found it...
    My Mistake.
    I had created the view object in a package that was used by objects in the ADF library, apparently that's not right. Once a package is used in an ADF library, a consuming project is should not (though nothing stops you, and the error message is not very informative) create objects in the same package. It might help if an warning was raised as soon as the view object was created.
    Thanks

  • Oracle SOA with ADF library

    Hi,
    I am learning Oracle SOA with ADF as mentioned in the below URL:-
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    I want to know what is .jws,.jpr,.jpx files? Whether these are autogenerated files from JDeveloper? What is the purpose of these files? which is not clearly mentioned in the site.
    1) What I found is like, i have "n" number of composite services in "CompositeService" folder with a common .jws file which will hold the configuration (.jpr) of the other composie services, by doing so it does integrate all the services into a single cohesive unit?
    2) There is a "infrastructure" folder which does have .jws with the DB Schema which is commonly used by the composite services? This infrastructure will be referenced in the individual composite services to communicate with the DB?
    3) While deploying it in Oracle WL server, we will create a single .WAR for these composite services and will be deplyed?
    4) The packages javax.xml.ws (for webservices) all these are part of ADF library?
    5) I found that BPEL is the one which orchestrate the services, which is a XML file which will be similalr to common .jws which holds the config for all the composite services? Where exactly it comes to the picture?
    6) Simarly where exactly the SCA and SDO comes to the picture?
    Please clarify in respect to the application, which will be of great help.
    Thanks in advance.

    Guys, no replies. Please respond. Thanks in advance.

  • How to make changes in an existing adf Library

    Hi,
    I am having an adf library, I am looking to make some changes in that adf library and put it back into the project.
    Please let me know how to make a jdeveloper project from the existing adf library,as I not having the original project from which this library was created.
    Please help..
    Thanks

    Hi Timo,
    I have created an adf project and have created an adf library using the same.
    Now when i am creating the adf library using the same project its giving me some errors, so looks like I have done some changes in the original project which might be causing the issue.
    So this is the reason I was looking for an option to rebuild the project using adf library files.
    I need to do some changes in jsf file of the deployed adf library.
    Thanks again for your help

  • Can we configure MDS in an ADF library?

    Hi,
    The goal is that we configure MDS (runtime user customization specifically) in a common ViewController project and export it as an ADF library. So that all the consuming projects will inherit the MDS configuration without the need to configure MDS for each of them. Is this supported or doable? Thanks.
    Oracle JDeveloper 11g Release 2

    Hi
    To send a PDF through mail you don't really need workflows configured.
    This will solve your problem ( 8th page in the following PDF )
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d
    If you want a process to take place you need to use Workflows
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/d0731bbc-810b-2a10-7fb8-900f16fd3c7d
    Abhi

  • How to consume data model adf library in view project?

    Hello,
    I am using Jdev 11.1.1.6.
    I have a Jdev workspace containing business component (entity objects, view objects and application module exposing the VOs). This workspace is deployed to an ADF Library. This library is packaged with DB connection details.
    I have another Jdev workspace that needs to consume this Data Model ADF Library. This workspace is basically just the view layer (no business components at all).
    I have added the Data Model ADF Library to it's view project and it is showing application module and VOs under Data Controls.
    My question is : How is this view project going to connect to DB at runtime?
    Can it use the connection from packaged Data Model ADF Libabry? If yes, how?
    or Do I need to create a business project under this view workspace, just for connection purpose? if yes then what is the use of including connections during ADF Library creation?
    Thanks,
    Jai

    Hi,
    it will use the connection in the ADF library. I recommend though that you not save database connect information in the ADF library. Instead:
    - define the ADF BC model to use JDBC data sources
    - In the ADF library, configure it to only contain the data source name
    - In the view project (the workspace) configure the database connection exposed by the library
    When the library is imported, check Application Resources --> Connections and right click on the imported connection name to configure it
    Frank

Maybe you are looking for

  • How can I make Safari and Firefox remember a password?

    I changed some of my website passwords recently.  In most cases, Safari and Firefox asked me if I wanted them to remember the new password, I said Yes (I'm not on a shared computer), and when I entered my email address or username, it would appear in

  • Boot Windows 7 from USB stick

    I have MBA 2012. I would like to install on USB stick Windows 7 and use USB as the exteranal drive. The reason for this is that I don't have enough space on MBA to make partition for Windows. Could you describe steps how to do it? Thank you!

  • "No signal" display with Samsung TV with Apple TV

    Hello, I just purchased a Samsung model code UN39FH5000FXZA TV and attached my new apple tv with HDMI cord. Each time I turn the TV on I get a 'no signal' display when I am on the setting for apple TV. I must unplug the apple TV from the electrical o

  • SCHEDULES: NON PROJECT REVENUE REPORT

    HI GURUS, can you please tell me where to find out the standard reports and Datasources used and Tables related to  <b>NON PROJECT REVENUE</b>. points will be given. Thanks regards

  • Dead Ethernet port ATV, will Apple USB connector work?

    My ethernet port on my ATV died. I have made sure the cable and switch are okay (by connecting to another device). I have done a factory restore since this port worked until a couple of weeks ago. Will the Apple USB ethernet adapter and plug this int