Access AM in Model from a different project inside the same applictaion

Hi
I am using JDeveloper 11.1.1.6.0
I am tryiing to create an AM instance in a java class which is inside the a project
The structure of my APP is as shown below
MYAPP
|___Model
|___MyProject
|___ViewController
the Java class is inside the MyProject and I am trying to create an APpp Module insance using
ApplicationModule am = Configuration.createRootApplicationModule("model.AppModule", "AppModuleLocal");  But it is returning an error like
INFO: MDS-00013: no metadata found for metadata object "/model/common/bc4j.xcfg"
Exception in thread "main" oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.ConfigException, msg=JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:529)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1508)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1485)
     at com.myapp.PlanlWithDecisionPointUsingPreloadedDictionary.runWithPreloadedDictionary(PlanlWithDecisionPointUsingPreloadedDictionary.java:67)
     at com.myapp.PlanlWithDecisionPointUsingPreloadedDictionary.main(PlanlWithDecisionPointUsingPreloadedDictionary.java:50)
Caused by: oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
     at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
     at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
     ... 4 more
## Detail 0 ##
oracle.jbo.ConfigException: JBO-33001: Configuration file /model/common/bc4j.xcfg is not found in the classpath.
     at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
     at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
     at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1508)
     at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1485)
     at com.myapp.PlanlWithDecisionPointUsingPreloadedDictionary.runWithPreloadedDictionary(PlanlWithDecisionPointUsingPreloadedDictionary.java:67)
     at com.myapp.PlanlWithDecisionPointUsingPreloadedDictionary.main(PlanlWithDecisionPointUsingPreloadedDictionary.java:50)Why is this happening ?
Thanks
Nigel.

Configuration file /model/common/bc4j.xcfg is not found in the classpath.
is that the full path .. ? ? ? ? model.appModule

Similar Messages

  • Remote devive access and acquiring signals from a different PC in the same LAN

    Well, I'm still interested in knowing if the way to see the DAQ channels from one PC to another located in the same LAN is the Remote device acess RDA?
    If the answer is yes I would appreciate the information from sombody who has done it.
    Thanks

    Please don't create another question. I answered you to a previous one that is the same than this. Here is also the response.
    Hello,
    the only easy way in order to do that is to use RDA ( Remote Device Access ). This is a component that is installed when you install NI-DAQ. Currently, RDA is only supported by Traditional NI-DAQ. So, if you have programmed your application using NI-DAQmx, it might be more dificult because you will have to use networking communication VIs as Datasocket,TCP/IP, ....
    Here you have a link about RDA. There, there is a link to an Application Note called Networking Two PCs for Remote Data Acquisition
    http://digital.ni.com/public.nsf/websearch/5CC9792C6CD4A34C862565BC0072D5DF?OpenDocument
    I hope this helps.
    Regards
    crisR

  • I would like to import two different cf cards from two different cameras into the same project/folder and have them be in order of the times they were taken, is there a trick?

    I would like to import two different cf cards from two different cameras into the same project/folder and have them be in the order of the times they were taken, any ideas on how to do this?

    Just import them normally and sort the project by date. They will fall into place. If you tried this and it isn;t happening then make sure the data and times on the two cameras are identical and make sure you are sorting by date and time and nothing else.

  • HT1473 If I already own a song (from a different album) and the same song is in an album which I want to get, do I still have to pay for the song?

    Other details:
    First album/s- Dookie (Green Day), american idiot (green day)
    and 21st century breakdown (green day)
    Album with same songs in it- international super hits (green day)

    If I already own a song (from a different album) and the same song is in an album which I want to get, do I still have to pay for the song?
    Yes.
    The album which the song has been listed under (on the song's page) is listed in your library under that album. The song is then removed automatically from the first album
    No it's not.
    Purchasing a new song or album will not affect any other song or album in your library.
    In the case of the two albums you mention, if you purchase them both, you will have the same song (different copies) in both albums.

  • How do I view multiple images from different projects at the same time?

    Hello
    I've been trying to find the answer in the user manual, but no luck so far.
    I did find how to open 2 projects at once, but I can only see one image at a time in the viewer and I have to keep going back and forth between projects to compare images. (These are scans of old photos and I want to eliminate the ones that are poorer quality, so need to compare numerous images from 2 sets of scans)
    How can I view an image from one project at the same time as an image from another? I know that it can be done in the same project by apple-clicking the second, third etc image, but this doesn't work if the images are from different projects.
    Thank you
    Elizabeth

    Thank you again Tony
    I've now created an album, independent of the projects, and dragged test images into it and it does just the job I needed. Now i just need to keep my brain sorted with which ones are which while i'm working
    Elizabeth

  • Accessing a private variable from a public method of the same class

    can anyone please tell me how to access a private variable, declared in a private method from a public method of the same class?
    here is the code, i'm trying to get the variable int[][][] grids.
    public static int[][] generateS(boolean[][] constraints)
      private static int[][][] sudokuGrids()
        int[][][] grids; // array of arrays!
        grids = new int[][][]
        {

    Are you sure that you want to have everything static here? You're possibly throwing away all the object-oriented goodness that java has to offer.
    Anyway, it seems to me that you can't get to that variable because it is buried within a method -- think scoping rules. I think that if you want to get at that variable your program design may be under the weather and may benefit from a significant refactoring in an OOP-manner.
    If you need more specific help, then ask away, but give us more information please about what you are trying to accomplish here and how you want to do this. Good luck.
    Pete
    Edited by: petes1234 on Nov 16, 2007 7:51 PM

  • How to Get Choices as a Dropdown from a different Column for the same Item In a Document Library?

    Hello All,
    I was trying to see if there is any way that we can get the choices for a Field from another filed in the same item in a Document Library.
    To be specific.
    I have Created a Project Document Set, Which has a Column called "Project Members" where all the members will be listed. This will be inherited to all the documents in that Project Document Set. This is used to grant Permission using Workflow.
    I also have "Document Members" Column(This is only for Documents) who will be given Edit permissions to that Document using a Workflow. This can be any type of column(choice, People or Group etc) As long as I can select multiple values.
    I am looking for a way to get the "Project Members"(Values or Users) as choices for "Document Members". I know this is possible in the List as you can customize in the InfoPath Form. But not sure in the Document Library.
    Document Members can only be the members from the Project Members, In order to grant granular Permissions for the project And Documents using a Workflow
    Document Library
    Project Document Set Name
    File Name
    Project Members
    Document Members
    Project A
    User1;User2;User3
    Doc1
    User1;User2;User4
    User1;
    Doc2
    User1;User2;User5
    User1;User2;
    Doc3
    User1;User2;User6
    User1;User2;User3;
    Project B
    User5;User6;User7;
    Doc1
    User5;User6;User7;
    User7;User5
    Doc2
    User5;User6;User7;
    User7;User5
    Doc3
    User5;User6;User7;
    User5;User6;User7;
    Thanks for your time.

    >
    Jenny Karunakaran wrote:
    > Hi Jung,
    >
    > Thanks for the reply. But I dont know how to assign value set to this attribute(i.e. Context atribute to which filter value property is bound). Can I use a supply function for this ?
    >
    >
    > Regards,
    > Jenny
    No. A value set and a supply function are two completely different things. You use this Context API to populate the value set for an attribute:
    IF_WD_CONTEXT_NODE_INFO=>SET_ATTRIBUTE_VALUE_SET
    Value Sets are also how ByKey UI elements (like the DropDownByKey) are built.  Here is a help document that discusses value sets - but in the context of the ByKey UI elements.  The process is the same for creating the value set however:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bb/69b441b0133531e10000000a155106/frameset.htm

  • Two different projects in the same machine sharing some objects

    Hello dear all
    I got this scenario:
    Same machine;
    2 clients (70 and 80);
    2 Projects
    -     AR Payment Process (prototype) for an existing company
    -     New company configuration
    Coding Block (e.g.: for experiences in AR - prototype )
    In the end - same Production machine
    Projects running simultaneously
    AR payment project (prototype) > New company configuration (in terms of duration)
    Description
    I got 2 projects running at the same time. At least somewhere in the time they will run simultaneously. One will consist in a new AR-Payment process for an existing company, and another one consisting in a creation of a new company.
    So, Iu2019m afraid that those projects cannot run simultaneously once for payment process we will use coding block for sure.
    We will have to change some standard tables (e.g. SPL Table) with different fields (two, to be more precise) u2026.. We do not have time to make one, and after another one, and then put them together and adjust it.
    So, at this point Iu2019m not pretty sure about the direct influences, and in case of influence occur, what can be the solutions to avoid them.
    Is there any way of controlling all the possible changes that will be made in the shared objects?
    We really need to run these projects.
    Thank you all in advance

    The fastest way I can advice is...
    1. edit your credits sequence (the clips you want to keep going as your credits roll)
    2. nest the clips in a new sequence then you have a timeline with a nested sequence in your track 1...
    3. Select your nested sequence in the track 1 and use the motion tab to scale/rotate/crop/move your image wherever you want in the canvas...
    3. create a second track for your rolling credits...
    4. create your rolling credits
    5. if you have different clips for your rolling credits you may want to nest these too...
    6. select your rolling credits and use the motion tab again to scale/crop/rotate/move your credits wherever you want in the canvas
    Hope this help...

  • HT2534 How can i download from two different store with the same account?

    I live in both countries but my credit card is registered in a french bank, therefore it is not recognised by the Aussie store on itunes. There are apps or music i want to get form the Aussie store as well as music and other apps from the french one...
    Is it possible to have two stores under the same account????? I wish apple could fix this, which could result in more spending as you can buy from different store!

    Wait 90 days
    Why would you start a new account?  Why not just correct the original account?

  • Can I view another page from a different application in the same workspace?

    I'm a newbie and I've searched through the threads and can not find exactly what I'm looking for.
    I do not wish to copy a page from a different APP. What I want to do is create an application where on tab is actually a tab from a different App.
    Like this, I have SCHEDULED_TASKS application that has a calander that is updated weekly. I have another appliction that is used for our Database Testers to track testing on the database.
    I have a Tab in CAS_TESTING named TESTING_SCHEDULE. It is this tab that I want to have referance the SCHEDULED_TASKS Calender so testers can view the schedule for service packs.
    Is there a way that I can do this?
    Thanks,
    Mike Long
    Message was edited by:
    mikedlong

    Mike,
    In terms of the UI and tabs, you can use parent tabs (use a two-level tab page template). Or you could just put links in on app's pages that go to the other app using Lists, for example. In any of these links from one app to the other, you must include the session ID (&APP_SESSION.).
    If the application's are both public (no authentication required), you're done.
    If the apps require authentication, edit each app's authentication scheme and put some name in for cookie name (anything you like), using the same name in both apps. Depending on the authentication method, you then have to figure out who owns the login page, etc.
    That should do it.
    Scott

  • How do I enable opening firefox from two different computers sharing the same home directory without having to delete a lock file (linux).

    I just don't want to have to delete a lock file - which has a purpose - in order to use firefox simultaneously from two locations on the network - where the home directory, i.e. .mozilla directory - is located

    You need to use two separate profiles if you want to have two Firefox instances open at the same time.
    See also http://www.mozilla.org/unix/remote.html

  • How to get a Previously purchased app  from the App Store from a different account on the same computer?

    Recently had to replace my hard drive and some info has gone missing.  An App from the App Store for one.  How can I get it back now that I have a new account?  It wont let me sign on with the old one anymore.

    There's no need to create a new Apple ID just because the hard drive was replaced.
    Apps can only be re downloaded using the same Apple ID they were purchased with originally.
    You will have to re purchase the app using the new Apple ID.

  • Can iTunes from 2 different computer use the same library?  (from wireless data storage device)

    I purchased a wireless data storage device.  My iTunes content will be moved there and I'm planning on moving my wife's iTunes data to the wireless device.  Can both our iTunes share the same library?

    One Apple ID can be shared for store purchases. On the iPhone go to Settings>Store and put in the ID. Then all the songs purchased with that ID can be downloaded from the iTunes store on the phone.
    I hope that is what you were asking?

  • Crazy thing: No dialtone from a SPA 3102 inside the same network.

    Hi folks: We have a couple of SPA-3102 connected to two POTS Bellsouth lines. Both 3102 are registering fine with our SIP server and also register the phone line.
    The crazy thing is this: If we try to get dialtone calling from an IP phone (SPA922) LOCATED IN THE SAME LOCAL NETWORK (I.E: In the office) to the 3102 number, we get no dialtone.
    If i try co call the same 3102 from a softphone (x-lite) also in the office, we still get no dialtone.
    But if i try to call the spa from other network than the office, (I.e: My home), i´m getting the dialtone!!!  I tried it with both the 922 IP Phone and the x-lite softphone and works fine.
    Also, we tried to call the 3102 from other IP phone in our office in Mexico, and also works fine.
    Our network topology in the office:  Motorola´s Netopia 3347-02 with Bellsouth xDSL internet service. Two Linksys EZXS16W swithes, and a mix of laptops, PCs, servers, IPPhones (SPA922 and 942) and printers connected to these switches
    Any idea ??
    Thanks in advance.
    Martin

    If the in-office X-Lite is accessing the SPA-3102 on its private IP, try the public IP, or vice-versa.
    I'm presuming that the SPA-3102 has a static private address, the Netopia is forwarding some UDP ports to the 3102, and that you are accessing the 3102 directly (not through a server such as Asterisk).  In this case, access from the LAN via the public IP may fail, because many routers don't handle 'hairpinning' correctly.  Access via the private IP may fail, because the client is being confused by the NAT mapping being applied by the 3102.  You can use Wireshark on the machine running X-Lite to see what's happening in each case.
    If your situation is other than the above, please provide the details:  Accessed via server?  If so, is server on LAN or outside?  What software?  Do you have administrative control over it?  Does your router have a SIP ALG?  Is it being used in this path?  What port forwarding or other special setup on router?  What NAT mapping parameters on SPA-3102?  What have you seen with Wireshark?  What remedial actions have you tried, with what results?  Do you have multiple static public IPs?  If so, is there a spare one?
    Message Edited by Stew on 05-05-2008 10:48 AM

  • I need help obtaining a number from a previous sheet inside the same workbook...

    I am basically trying to put together a system for tracking the hours I work as a casual against the hours I get paid for.
    I have setup a sheet that allows me to enter in my daily hours for a pay fortnight (plus some other information such as breaks etc.)
    I then enter in the hours I was paid from my payslip and I often have a discrepancy which I have titled OUTSTANDING HOURS.
    (This discrepancy is caused by my wing of the business running on a Thursday to Wednesday week whilst the pay office runs Sunday to Saturday - this overlap is why I wish to track my hours so carefully)
    I have a new sheet for each pay fortnight. Fortnight 1 / Fortnight 2 / Fortnight 3 for example (they are actually titled by the date range of each fortnight)
    What I am hoping to be able to do is automatically bring the previous fortnight's OUTSTANDING HOURS cell into a specific cell on the following sheet.
    I know how to do this using =PRODUCT('Fortnight 1' :: Master :: E27) - where e27 is the OUTSTANDING HOURS total from the sheet titled Fortnight 1
    This however requires the OUTSTANDING HOURS to always come from Fortnight 1.
    When I get to Fortnight 3 I would want the OUTSTANDING HOURS to come from Fortnight 2 sheet.
    Can this be setup so that it takes the info from the previous sheet in the workbook rather than a specifically titled sheet... Or will I have to change this formula everytime I duplicate my MASTER....
    Thanks for any help...

    TIG,
    I suggest that you use the INDIRECT(ADDRESS()) form of addressing. The last parameter in the ADDRESS function is the TableName. Use a table cell reference in TableName's position and in that cell, type the table name from which the data is to come. This way all your equations stay the same from Sheet to Sheet, but the name of the previous sheet is entered into a cell as data, self documenting and easy to edit.
    Jerry

Maybe you are looking for

  • How can I make my Contact Form send info to my email?

    Greetings! I have below a contact form that i have creaed with some help but I can't seem to make it send the information to my email address after it is submitted. That is my most important issue right now. A secondary issue is, can I make it so onc

  • Charging with Bose SoundDock [ipod 2g]

    Ok, I know it doesnt work, and I am so ****** off about it you have no idea, paid $450 for it. Its still in warranty, if i take it back, is there any chance they will replace it with the new Bose speakers that do work?

  • Need a way to merge two mail accounts

    I have a small problem that I hope someone can help me fix. I have cross posted this in the OD services forum as that is the service that I have the 'user' problem with. Some time back I made a mistake and deleted a user using WM. This user had mail

  • Mac Book Pro (OS 10.4.11) WILL NOT SHUT DOWN UNLESS FORCED! HELP!!!

    My Mac Book Pro 15", 2.33 GHz, 3 GB memory - runninfg Mac OS X 10.4.11 WILL NOT SHUT DOWN UNLESS FORCED! HELP!!! When I use the SHUT DOWN command in the Apple Menu - programs close, the screen goes to a blue screen with a revolving time indicator and

  • ' REUSE_ALV_GRID_LAYOUT_INFO_SET' problem (+)

    Hello, I'm using REUSE_ALV_GRID_LAYOUT_INFO_SET to change filter values in ALV grid, which is displayed using REUSE_ALV_GRID_DISPLAY. In spite of specifying all the values in table IT_FILTER, filter values do not change. If I try to change values man