How do you get Data Controls to work!

I am having a very rough time with ADF Data controls.
I have a bunch of code that works great. I can run it from the command line, my unit tests work, etc. I make a Data Control and hardly anything works. I tried to include my data control library (I exported it as an ADF Library Jar) into a web app and it never worked. I wasn't even sure if the Data Control itself was working so I made a simple swing app and it worked...kind of. I noticed that if I had 2 data controls and called a function in each from my swing app then it would fail. But, if I included the methods in one data control and only used that one, it worked (kind of).
This looks like a bug.
Anyway, is there a dependency problem with the ADF Library Jar I'm exporting to my web project? I included all the dependent libraries in the classpath section of the project properties. The web app sees the data controls in the data control panel. When I drag the data control method onto my JSFx page it creates the table just fine. The problem is when it runs, no data comes back even though I KNOW it is working because of the unit tests and I got it working with the swing app. The swing app was in the same project as my data control code however.
Please help!

BTW, if I hard code some simple data object with some values and return that, it works, just not when I do anything 'real'. Like I said, I use this data control in a swing app in the project itself for testing. My code has unit tests and works.
I am importing the exported ADF Library Jar into my web app, click refresh on the data controls, and I can see the data controls. I drag the functions over to my jsfx page and it paints the table in the editor just fine.
I import all the 3rd party jars in the classpath of the project. Then I get that 'cant find so and so DataControl'. But it CAN find the data control for simple, hard coded data.
All I see in the logs is this from the default server log;
[2009-03-06T08:30:02.104-05:00] [DefaultServer] [NOTIFICATION] [] [oracle.adf.share.config.ADFConfigFactory] [tid: 15] [APP: Application2] Cleaning up application state
[2009-03-06T08:30:32.964-05:00] [DefaultServer] [WARNING] [ADF_FACES-30145] [oracle.adfinternal.view.faces.partition.FeatureUtils] [tid: 12] [APP: Application2] [arg: AdfDvtGraph] [arg: zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 3] [arg: zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 3] A duplicate definition for the feature "AdfDvtGraph" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
[2009-03-06T08:30:32.979-05:00] [DefaultServer] [WARNING] [ADF_FACES-30145] [oracle.adfinternal.view.faces.partition.FeatureUtils] [tid: 12] [APP: Application2] [arg: AdfDvtGauge] [arg: zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 7] [arg: zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 7] A duplicate definition for the feature "AdfDvtGauge" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
[2009-03-06T08:30:32.979-05:00] [DefaultServer] [WARNING] [ADF_FACES-30145] [oracle.adfinternal.view.faces.partition.FeatureUtils] [tid: 12] [APP: Application2] [arg: AdfRichPivotTable] [arg: zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 11] [arg: zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml] [arg: 11] A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:D:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/Application2/57btp0/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:D:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
[2009-03-06T08:30:42.948-05:00] [DefaultServer] [WARNING] [ADFC-54008] [oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl] [tid: 16] [APP: Application2] [arg: oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder] ADFc: Replacing the ADF Page Lifecycle implementation with 'oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder'.
[2009-03-06T08:30:43.386-05:00] [DefaultServer] [NOTIFICATION] [J2EE JMX-46010] [oracle.as.jmx.framework.PortableMBeanFactory] [tid: 16] [APP: Application2] [arg: class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl] JMX Portable Framework initialized with platform SPI "class oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl"
[2009-03-06T08:30:43.417-05:00] [DefaultServer] [NOTIFICATION] [ADFC-60000] [oracle.adfinternal.controller.util.model.AdfmInterface] [tid: 16] [APP: Application2] ADFc: BindingContext is present, using ADFm APIs for DataControlFrames.
[2009-03-06T08:30:43.448-05:00] [DefaultServer] [NOTIFICATION] [ADFC-50009] [oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider] [tid: 16] [APP: Application2] ADFc: Controller caching of MDS metadata resources ENABLED.
[2009-03-06T08:30:43.542-05:00] [DefaultServer] [NOTIFICATION] [ADFC-52039] [oracle.adf.controller.internal.metadata.MetadataService] [tid: 16] [APP: Application2] [arg: /WEB-INF/adfc-config.xml] ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
[2009-03-06T08:30:44.667-05:00] [DefaultServer] [ERROR] [] [oracle.adfm.adapter.bean] [tid: 16] [APP: Application2] Failed to load the provider: oracle.documaker.ids.IDSDataControl

Similar Messages

  • How do you get the radio to work ?? - says no radio signal but headphones are plugged in ??

    How do you get the radio to work?  Is another app or download required?  Its a new Ipod nano - 8G, box doesn't say anything about "generation" ?? Appreciate any help
    cr8tivsolutions

    ok, I see now the plug has to be pushed in really tight until the white is flush with the nano

  • How do you get gif's to work on a mac

    how do you get gif's to work on a mac

    Here yah go.
    Install the software at the link below
    This will allow you to view animated gifs in preview
    click on the gif to select it and then press the spacebar
    http://sourceforge.net/projects/animgifqlgen/

  • For OS X 10.3.9 Panther how do you get Flash 9 to work after downloading it?...

    For OS X 10.3.9 Panther how do you get Flash 9 to work after downloading Flash 9 ?... for the link at
    http://www.universalhub.com/node/24494
    "To watch this video you need Flash 9
    You have an old version of Flash. Fortunately we can upgrade
    your computer to Flash 9 without without any hassle. Just click on the
    upgrade button - you don't even need to leave the page!
    [ Upgrade now! ]
    After Flash 9 is downloaded, you'll need to restart your browser.
    [ Download and install manually. ]"

    Hello Again Don,
    It appears you have been struggling with this issue since November of 2008.
    Have you considered upgrading to a newer version of OS X instead?
    11/20/08 What workarounds are there for OS X 10.3.9 users on websites with flash
    4/12/09 How do you get the current Flash to work with OS X 10.3.9 ?...
    5/25/09 After downloading Flash 9, how do you get it to work with OS X 10.3.9 ?...
    8/9/09 How can OS X 10.3.9 users view Flash on websites?...
    8/9/09 How do you get Flash 9 to work with OS X 10.3.9 ?...
    ali b

  • How do you get Oracle 8i to work with j2sdkee 1.3 B

    I had the j2sdkee1.2.1 working with Oracle 8i and I had the following line in the ~conifg/default.properties files
    Here's what worked:
    jdbcDatasources=jdbc/EstoreDB|jdbc:oracle:thin:@localhost:1521:ORCL|jdbc/InventoryDB|jdbc:oracle:thin:@localhost:1521:ORCL|jdbc/jcampDB|jdbc:oracle:thin:@localhost:1521:ORCL
    In the j2sdkee1.3 beta 2, the resource configuration file format seem to have changed and I am not sure how to get oracle to work. I have tried modifying the new format but it does not seem to work. Can anyone tell me where set drivers for Oracle 8i or any place I can look to figure how to.
    jdbcDataSource.5.name=jdbc/Oracle
    jdbcDataSource.5.url=jdbc:oracle:thin:rmi:??;create=true
    jdbcDriver.0.name=COM.cloudscape.core.RmiJdbcDriver
    jdbcXADataSource.0.name=jdbc/XACloudscape
    jdbcXADataSource.0.classname=COM.cloudscape.core.RemoteXaDataSource
    jdbcXADataSource.0.dbpassword=
    jdbcXADataSource.0.dbuser=
    jdbcXADataSource.0.prop.createDatabase=create
    jdbcXADataSource.0.prop.databaseName=CloudscapeDB
    ==============
    Any pointers on how to get Oracle 8i to work with j2sdkee1.3 b2 will be appreciated. thanks.
    --pvt

    You are right. It seems the format has changed.
    However, now there is and admin tool that comes with J2EE SDK 1.3 Now you don't have to touch the config file by hand.
    You can use this tool to get the configuration done.
    To add JDBC driver the command is...
    j2eeadmin -addJdbcDriver oracle.jdbc.driver.OracleDriver
    and to add a data source the command is...
    j2eeadmin -addJdbcDatasource jdbc/Oracle jdbc:oracle:thin@rtc:1521:acct
    Read details about this and other configuration you can do using this toll in the file %J2EE_HOME%/doc/release/ConfigGuide.html

  • How can you get a java program working on a cell phone?

    I was thinking of making some stuff for cell phones so i was wondering how you get a normal java program to work on cells.

    its all j2me - midlet package....Huh? The jsr-118 MID profile alone has 11 packages, one of which is javax.microedition.midlet. Notj2me - midlet.
    works best on nokia phones.Sez who? You seem to be confusing Java ME with Symbian C.
    you can use net beans midlet packge add-on.Only it's called the NetBeans Mobiliity Pack.
    Its easy to use and has lots of tutorials.Ditto for the Wireless toolkit for CLDC.
    just search on google.Yes, but with which keywords?
    @OP:
    NetBeans mobility pack comes with a short tutorial and several samples, you also need to download the latest WTK as the ver. 2.2 which comes bundled with NetBeans is just too buggy to work with. Then there are the manufacturer-specific SDKs from Nokia, Motorola, Sony Ericsson and (maybe) others.
    If and when you get started in Java ME aka j2me, it will be appropriate to post any questions you might have on the mobility forums, not here.
    Google "j2me tutorial" for many good hits.
    luck, db

  • How do I get voice control to work in iphn4s

    cant get voice controlm to work inm 4s, mand also with bt headset

    As far as the phone is concerned, Voice Control is always active unless you use Siri which will work instead.
    As far as the Bluetooth is concerned, you need to check the user guide for the Bluetooth to see if it supports voice dialing, and if it does, then see what you have to do to activate your phone's voice dial.

  • CP5.5 - How do you get video controls on your inserted video?

    I have an AVI file I inserted onto a slide in CP5.5.
    How do I get controls on the embedded AVI file (converted using the Adoble media encoder) so that the person going through my CBT has control over watching the video?

    Technically, Captivate should be the video controls. You can allow certain functions for the viewer using the Skin Editor. If you want to be able to slide the playbar from beginning to end without encountering any other elements, just put the video into its own slide. 

  • How do you get face time to work with shared email adress

    I have 2 computers sharing the same email address. I recieved for xmas a new i touch with face time. I can connect with the thrid computer not using the same email address as mine. How do I get the other 2 to accept the incoming calls?

    You have to add a unique calling email addres to Settings>Facetime and delete the common email address.  Yu need to do the same thing for Messages.

  • HT4623 How do you get your phone to work again after the iTunes update?

    I did an update on my iPhone from iTunes and now the I only have one screen on my phone that has a picture of the iTunes app and the USB cord.  I have plugged and unplugged my phone.  I have tried to turn it off.  I have turned off my computer, but I only get the same screen.  What can I do to get my phone to work properly again?

    That app should have a video on how to do that.  IF not look at their support site.

  • How do you get your volume to work on video?

    Please help! I can't get my volume to work on video or listening to a video but it works every where else?

    Did you set it up correclty? Have a look - this is for iMessage.
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    for FaceTime
    http://www.trickyways.com/2011/04/set-up-facetime-on-the-ipad-2/

  • How do you get distributed destinations to work ?

              Hi all,
              I'm trying to getting to work Distributed JMS Destinations. But
              still without success. This is the sitation:
              Node1---->JMS Server1------>Queue1 [Distributed destination1]
              Node2---->JMS Server2------>Queue2 [Distributed destination1]
              I have a cluster with 2 Nodes.
              I have created 2 JMS Servers each one targetted on one Node.
              Then I have created 2 Queues and added them to a Distributed Destination as member.
              Now I start the QueueSender (pointing to the Distributed Destination's JNDI)
              I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
              The problem is that when one of the two nodes, let's say Node1, fails
              messages aren't dispatched to the JMS Server2.
              So I wonder: Is it possible that if one of the 2 JMS Server fails
              the message is redirected to the other JMS Server ?
              Thanks a lot
              Francesco
              

    Receivers only load-balance once - when
              they are first created. The JMS Performance
              Guide explores the implications of this.
              Keep in mind that the distributed destination
              feature was optimized for the case where
              receivers (generally MDBs) run on the same
              servers as the distributed destination
              instances, which simply load balances each
              receiver to its local destination instance.
              Otherwise, if the receivers
              are not co-located with distributed destination
              instances, load-balancing
              configuration requires special care to prevent
              physical destinations from not getting served
              by receivers.
              One solution for the latter problem, as you
              already wrote below, is to receive directly from the
              physical destinations - which removes the
              load balancing decision all-together.
              Francesco wrote:
              > Hi,
              > thanks a lot for your clean answers.
              > Ps has anybody got an answer about my last question (That is, should I lookup
              > the JNDI
              > of the single Queue or of the Distributed Destination in order to get distributed
              > destination to work ?)
              > Thanks a lot
              > Francesco
              >
              > Tom Barnes <[email protected].bea.com>
              > wrote:
              >
              >>It is normal for a sender to get an exception
              >>when its connection's host server goes down.
              >>The client connection's host server does
              >>not change for the life of the connection,
              >>and does not automatically fail-over.
              >>Even when the client's connection host stays up
              >>but the JMSServer hosting the current
              >>distributed destination instance goes down, the sender
              >>may still get an exception. Such an exception
              >>can indicate that there is ambiguity as to
              >>whether or not the JMS server received the
              >>message from the send().
              >>
              >>The standard way to handle
              >>such exceptions is to re-establish the connection,
              >>session, and producer on the client (usually
              >>using the exact same code that initialized
              >>these resources to start with.)
              >>
              >>In addition, it is highly recommended
              >>for the client to register exception listeners
              >>on both the connection and on the WLSession.
              >>
              >>Tom
              >>
              >>Francesco wrote:
              >>
              >>
              >>>"Barry Myles" <[email protected]> wrote:
              >>>
              >>>
              >>>>Hi Francesco
              >>>>
              >>>>Try creating a connection factory that has Load balanced ticked and
              >>
              >>server
              >>
              >>>>affinity
              >>>>unticked
              >>>>
              >>>>now make sure that the distributed destinations load balancing property
              >>>>is set
              >>>>to Round Robin
              >>>>
              >>>>
              >>>>
              >>>>>I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
              >>>>
              >>>>Also when the QueueRecievers are running do you see one consumer attached
              >>>>to each
              >>>>physical queue?
              >>>>
              >>>>HTH
              >>>>
              >>>>
              >>>>"Francesco" <[email protected]> wrote:
              >>>>
              >>>>
              >>>>>Hi all,
              >>>>>I'm trying to getting to work Distributed JMS Destinations. But
              >>>>>still without success. This is the sitation:
              >>>>>
              >>>>>Node1---->JMS Server1------>Queue1 [Distributed destination1]
              >>>>>Node2---->JMS Server2------>Queue2 [Distributed destination1]
              >>>>>
              >>>>>I have a cluster with 2 Nodes.
              >>>>>I have created 2 JMS Servers each one targetted on one Node.
              >>>>>Then I have created 2 Queues and added them to a Distributed Destination
              >>>>>as member.
              >>>>>
              >>>>>Now I start the QueueSender (pointing to the Distributed Destination's
              >>>>>JNDI)
              >>>>>I start 2 QueueReceivers (pointing to the JNDI of the 2 Queues).
              >>>>>
              >>>>>The problem is that when one of the two nodes, let's say Node1, fails
              >>>>>messages aren't dispatched to the JMS Server2.
              >>>>>
              >>>>>So I wonder: Is it possible that if one of the 2 JMS Server fails
              >>>>>the message is redirected to the other JMS Server ?
              >>>>>Thanks a lot
              >>>>>Francesco
              >>>>
              >>>Hi Barry,
              >>>I have tried to modify the connection factory as you said but
              >>>I'm still stuck. Basically when I shut down one of the two Nodes, the
              >>
              >>Sender
              >>
              >>>receives an exception "IllegalStateException: Producer is closed".
              >>>
              >>>Could you tell me if it's basically correct that :
              >>>
              >>>Sender----->looks up the Distributed Queue
              >>>Receivers---->look up the single Queues (which belong to the Distr.
              >>
              >>Queue)
              >>
              >>>Thanks again
              >>>Francesco
              >>
              >
              

  • HT1414 how do you get i cloud to work

    how to you make i cload work

    Maybe instead of being so vague you could try asking a specific question... or better yet, search for the issue that you are trying to resolve.
    There is a lot of information about iCloud, Apple writes a lot of helpful articles and you can always read the User's Guide to answer many if not all of your questions.

  • How Do I get data merge to work without creating duplicate pages in a single page native file?

    I've called Adobe about this and they indicated it was some kind of setting that needed to be changed in InDesign, but wouldn't tell me how to do it unless I paid for an "incident pack" and talked with technical support.
    Problem: I have a single page document in InDesign CS5. It's a direct-mail postcard with large high-res images and complicated graphics on it. I want to merge a list of recipients names/addresses from Excel with this single-page design. Excel document has 2,000 names in it.
    I successfully create the merge using InDesign's data merge feature, but it creates a new InDesign document with 2,000 pages in it. Each page is a duplicate of my original file, but with different addresses on each page. Because of the multiple records and the high res images it has created 2,000 duplicates of - InDesign crashes. It also took about 4 hours to do the merge.
    There has got to be a better way to merge data w/o it created the same page over and over again.
    I can't make a pdf to solve this problem becasue I have to work with an in-house printer and they do a poor job of printing from pdf. So, I always send them native files. This printer does not have variable data software. However, if that is the fast and easy solution to this problem - I will force them to purchase it.
    Any advise or solution to this problem would be appreciated. Is there a setting in InDesign that needs to change so it doesn't repeat the single page design 2,000 times and cause InDesign to crash?
    Thank you.

    That's exactly how Data Merge works. If it's on the page, it gets duplicated. 2000 records is a lot, so I'm not sure if the images or the sheer number is what's slowing things down.
    One thing you can try is to moove everything EXCEPT the merge placeholders to a master page, then assign the [None] master to the page with the placeholder anbd do the merge. Change the master to the one with your static content after the merge. That might speed up the merge, but it won't do anything for the file being 2000 pages that each has to RIP for printing. The best way to deal with this is to find a printer who can do VDP printing and give him the template file and your data file, and let him do the merge in the print stream.

  • How do you get your picture messaging work on my Iphone 3gs?

    I bought my phone from Iwireless and this Iphone 3gs was unlock and I cant get my picture messaging to work? So I was wondering if you could help me figure it out to make it work so I can send picture and recieve them

    If you have Cellular Data and MMS Messaging enabled on the iPhone, you need to contact your carrier to ensure MMS messaging is provisioned properly for your account.

Maybe you are looking for

  • Error while log in to amconsole

    please tell a solution of the following error while log in to amconsole A serious error has occured in the Desktop. This may have been caused by a mis-configuration on the server. Please report this problem to your administrator. Possible cause: * Yo

  • Read local path from UIelement FileUpload

    Is it possible to read the local path from the "inputfield" of the UIelement FileUpload (f.e. c:/book.txt)

  • Flatten to/Unflatten from XML on ARM

    Using LV 9 with the ARM module on an EK-LM3S8962. I want to use XML on the embedded target. The data to be converted is a group of arrays in a cluster. The cluster is a type def in the embedded project. The Flatten to/Unflatten from XML VIs from the

  • Delivering plant determination in delivery

    hello, within our deliveries packing items (palets) are created from packing instructions (POP/POF). Usually the delivering plant is determined (as i've now checked in standard from customer master or material master) automatically. I've a situation

  • 4s speaker one not working

    one speaker not working