2 Model projects in one ADF Application?

Hello,
I want to create an ADF application that connects to 2 databases. For both databses I create a seperate Model project. But when I drop a Data Control from the 2nd Model Project on the jsp I get an exception:
oracle.jbo.ConfigException: JBO-33005: Configuration Model2ServiceLocal is not found.
When I t
Do I need to configure something extra to get this working or is this not possible?
Joost

Instead of creating two separate Model project you can create two application module in a model project.
Steps:
1. Create EO VO AM for the first connection.
2. Open Model.jpx and create another db connection. Then create EO VO AM etc for the second connection.
Hope this solves your problem
~Abhijit

Similar Messages

  • How to move ADF HumanTask (ADF Project) from One BPM Application to ANother

    Good DAy!
    Problem
    We've created huge Project on ADF with difficult form and now we have to create the same (95%) form in another BPM Application
    Is it possible to migrate ADF Project from one BPM Application to Another???

    Hi,
    You can deploy the ADF Project as an ADF Library Jar file and reuse the taskflow from that jar file in another BPM Application.

  • Multi Model project but one view object

    Hi Gurus,
    I would like to fetch data from multiple database base tables and display them in one table. Is this possible to create multiple model project and have just one View object that is fed by
    model objects?
    Thanks,
    Jai.

    Hi Chris,
    I have multiple database/schemas, all the schemas have the same table, I want to display the table buit one of the field value (say creation date) differes in each of these schema tables.
    I want to display table information with the creation date(one for each schema) in a ADF table. I was wondering if we could converge multi-model in to one view object which has the creation_date1,2,3 (one for each
    model).
    Thanks,
    Jai.

  • Multiple ADF Business Components projects for one ADF project

    I have an ADF project where I have my own ADF Business Components Model, with View Objects, etc. Can I add another ADF Business Components from another project - they access a different database than I do with queries that I could use.

    I see two options:
    1. rename one of your Model.jpr to somthing else and then try again to add a dependency.
    2. create a jar out of the second model project and import the applcation module out of the jar into the other project. To import use file->import and select 'Business Components' from the list. Check tho docs ("Importing Business Components Created by Someone Else")

  • Want to integrate multiple adf applications in one adf application

    Hi,
    I am using jdeveloper 10.1.3.3
    I had developed 3 independent adf applications.now i want to create one application above all 3 applications,such that once a person log in can access all three application according to its role.
    please help.Thanks in advance

    If you switch to JDev 11g, you can use taskflows to fairly easily integrate applications together.
    We are doing it and seems to be working so far.
    Mark

  • Unable to run application module in a generic(Model) project in BPM applica

    I use jDeveloper 11.1.1.6 and i want to add a generic or a model project to a BPM application, in order to develop the customized user interface.
    but when i created an application module with the associated java Class, and then right clicking on it to run, i saw the following error:
    (oracle.jbo.ConfigException) JBO-33001: Configuration file /tester.xcfg is not found in the classpath.
    additionally when i use an Fusion Web application instead of BPM application, with Model and View Controller projects, there is no problem and i am able to run the application module.
    thank you very much for your contribution.

    thank you very much indeed
    one more question.
    will i face any problem by comment that tag?
    can i remove mds-config section in any SOA and BPM application permanently? or its just for test and i should undone my comment later?

  • ADF Application Architecture

    Hi All,
    I am new to ADF and working with some vendor to transform our in-house Oracle Form Application to ADF Application and we have more than 300 Oracle Forms to translate.
    Basically after the login page, we will have a main menu, and then from the main menu, user can access to different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..). One of the critical point is that there will different shared variable pass from the main menu to each module and from each module back to the main menu.
    We have successfully translate a few Oracle Form to ADF JSF Application. However, before continue the project, we would like to confirm the application architecture.
    Checking on Oracle Website / different ADF forum, basically they will packaging all their ADF program in 2 different approach.
    Approach (1):
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different Bounded Task Flow Workspace with its corresponding Model and View Controller for different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..) and then export as an ADF Library
    iii) Create a master workspace with View Controller to contains an Unbounded Task Flow to tier all the different modules together as an EAR file.
    Approach (2)
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different workspace with its corresponding Model and View Controller for different modules (e.g. Main Menu / Customer Profile / Supplier Profile / Order Processing etc..) and then export as an EAR file
    From Approach (2), when I need to pass parameter from Main Menu to Customer Profile, since they are from different application, I can only pass it through URL or database. But it seems to be not a very approach. May I know is there other way to passing parameter between different ADF Application ?
    From Approach (1), it seems that the parameter can be passed using the bean since they are under one master workspace. However, from some of the forum said, if there is too many modules (my case is ~ 300 modules, there will be a problem on the CPU, RAM and JVM may not be able to start.
    May I know is it correct from my assumption ? Also may I know which approach should I use ? Thanks !!
    Best Regards,
    Eric

    Hi Timo,
    Thanks for your reply. Yes I have watch the ADF Architecture TV Episode too. But I still cannot figured out which approach I should using. From the video, it said that sum of the parts may risk from the start up of JVM when you have too many application. Pillar architecture can solve that problem however parameter may need to pass through different ADF application since they are compiled as different EAR file. But passing the parameter through URL / database package seems not an excellent idea.
    Moreover, since all those ~300 modules are different and may not related from each other, so it may not be a suitable case to put multiple forms into one ADF application in my case. Also our system have frequently change request from the user and those request are usually handled by different developer. So I guess it may be better to put it in different ADF application instead of putting in a single one.
    Any advice ?  Thanks !
    Eric

  • Jdeveloper remove some Jar files while create deployable of ADF Application

    Hi,
    i am using JDeveloper11.1.1.5 with weblogic server 10.3.5
    i have created one ADF application.
    it works fine with integrated server.
    now i want to create the Deployable EAR file for this application to deploy it on another server (Other Than IntegratedWeblogic Server)
    when i try to create the EAR following trace would be printed on Deployment-Log
    [05:39:40 PM] ---- Deployment started. ----
    [05:39:40 PM] Target platform is (Weblogic 10.3).
    [05:39:40 PM] Running dependency analysis...
    [05:39:40 PM] Building...
    [05:40:12 PM] Deploying 3 profiles...
    [05:40:16 PM] Wrote Web Application Module to D:\PIAF_ADF v1.0\ViewController\deploy\PIAF_v0_ViewController_webapp1.war
    [05:40:16 PM] Wrote Archive Module to D:\PIAF_ADF v1.0\Model\deploy\PIAF_v0_Model_adflibPIAF_v0.11.jar
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-api.jar --------------------------------------------------------------- @
    [05:40:17 PM] Removing the following prohibited entry from the EAR: lib/trinidad-impl.jar --------------------------------------------------------------- @
    [05:41:01 PM] Wrote Enterprise Application Module to D:\PIAF_ADF v1.0\deploy\PIAF_v0_application1.ear
    [05:41:01 PM] Elapsed time for deployment: 1 minute, 21 seconds
    [05:41:01 PM] ---- Deployment finished. ----
    if you see the lines highlighted by @
    here it removes the trinidad-api.jar and trinidad-impl.jar from my EAR saying that "Removing the following prohibited entry from the EAR: lib/trinidad-api.jar "
    so why this happen ?
    this EAR file creates problem while deployment.
    if i manually put both Jars in EAR, it works fine..
    can anybody please help on this ?
    thanks in advance...

    hi timo,
    thanks for quick reply..
    but i don't think so it is present on weblogic because i not put that files in EAR it gives me some classDefNotFound or classNotFound exception.
    and when i put those files, my application is deployed and workes fine..
    thanks,

  • Portelize ADF application

    Hi all,
    I just want to know how to portelize ADF application in JDeveloper.I created one ADF application by using Portlet producer application template but after deploying the portlet,I am unable to get it displayed on the webcenter application.
    Pls help me out.Its urgent .

    There is a webcenter forum here: WebCenter Portal The topic should be posted there.
    When you have deployed a portlet producer, you should register it with webcenter by using the WSRP1.0 or WSRP2.0 URL of your producer. The WSRP URL of your producer has following pattern:
    http://<server>:<port>/<context root>/portlets/wsrp2?WSDL
    This URL is used to register the producer in webcenter. This can be done in JDeveloper or in the EM.
    If you already have done this, do you get errors when showing the portlet on your page?

  • Invalidating the ADF application if not used for 20mins?

    Hi Everyone,
    My Jdev Version is 11.1.1.5.0.
    i have developed one ADF application of 7 pages(navigation is provided in between the pages).
    Even after closing the ADF application session is not being closed its still opened in background.
    so i want to close the session if user don't perform any operation for 20 mins.
    How can i achieve this?
    what code should i include in my page?
    where should i include?
    if i need to include any code should i include in all my 7 pages?
    please give suggestions to get me out of this issue.

    Hi Frank,
    Thanks for your response.
    As i have never tried this can u please tell me where i can get "web.xml"? and setting parameter?
    i mean i need the navigation.
    thanks for your support.
    Thanks.

  • Two web Applications targeting one model project, missunderstand

    Hi sirs;
    Does two web application can use the same applicationModule Pooll Instance ? like the cenário below;
    Or
    Each web application must have it's own model Project ?
    JDev 11g, WebLogic Server Version: 10.3.1.0
    The simpliest way to explain my doubt;
    1. Lets create one Fusion ADF Application;
    1.1 ViewProject_One
    1.2 ViewProject_Two
    1.3 Model_Shared
    One index.jspx in each viewProject and one adfTable targeting the same AppModule ( here I tried also to create a second appModule extending the original )
    When we run ViewProject_One it works ok;
    When we Run ViewProject_Two it worsk ok;
    Whe we Runnig viewProject_two tried to browse ViewProject_One index.jspx whe crash into
    29/09/2009 09:52:52 UNEXPECTED_CLIENT_OBJECT_TYPE oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    SEVERE: oracle.adf.controller.internal.metadata.xml.MetadataResourceXmlImpl
    29/09/2009 09:52:52 org.apache.myfaces.trinidadinternal.agent.AgentFactoryImpl _populateUnknownAgentImpl
    WARNING: O User-Agent "mAgent" é desconhecido, criar um agente com atributos de agente "desconhecido".
    This post is an try-and-error of this original post Deploy Enterprise application with 2 modules ( web applications )
    Thank's for any help
    Thanks
    Edited by: Marcos Ortega on Sep 29, 2009 6:07 PM
    Edited by: Marcos Ortega on Oct 1, 2009 5:00 PM

    My question actually was not about compile time dependencies, but about run-time dependencies between two projects app1.jpr and app2.jpr.
    First project has J2EE context root /app1 and the second one has context root /app2.
    First project runs as http://localhost:8887/app1/login.jsp where user can login. After successful login it renders page with link to the page in the second project, e.g. http://localhost:8887/app2/welcome.jsp
    When user clicks on this link it is supposed to transfer control to the second web application app2.
    The problem is the first root context does not recognize the /app2 context. Only if you execute second project first it will start in its own root context which is /app2, but then it is not possible to use application app1, which must be executed first!?
    I guess application.xml, orion.xml, web.xml etc. must be configured but don't know how

  • How to build projects of ADF application

    I need to use ANT to deploy EAR file to weblogic 10.3.5. I download source code from SVN. Then, in the Jdev 11.1.1.4, I create build.xml and build.properties for Model and ViewController using Jdev .
    Then, I delete all this application and re download source code from SVN. After that, I add build.xml and build.properties to Model and ViewController. I use ant to build these 2 projects. Then, I use ojdeploy to create EAR file.
    However, this EAR file is not correct and smaller than the EAR file created by Jdev.
    If I rebuild Model and ViewController using Jdev, I can use ojdeploy to create correct EAR file.
    <ora:parameter name="nocompile" value="false"/> does not rebuild the 2 projects
    How to use ANT or ojdeploy to rebuild ADF application?

    chk this
    http://vtkrishn.wordpress.com/2011/06/21/ojdeploy-how-to-include-taskflow-related-files-to-include/
    you have remove the entry in the ojdeploy snippet
    <ora:parameter name="nocompile" value="true"/>
    http://one-size-doesnt-fit-all.blogspot.com/2010/11/using-ojdeploy-and-ant-for-creating-adf.html

  • Merging Two JSF, ADF BC Web Applications into One web application

    What would be the best way to take two JSF, ADF BC web applications written by two developers and merge them into one web application. Any place to start would be greatly appreciated. I'm using Oracle JDeveloper - 11.1.1.4.0
    Edited by: Sunanda on Jul 26, 2011 4:13 AM

    Take a look at this thread:
    Merging Two JSF, ADF BC Web Applications into One...
    Although the thread is old, but it provides about the types of contents you would need to take into consideration while merging.
    With the knowledge from the above thread, you could use refactor option in the JDeveloper menu to move the contents from one project to another.
    Thanks,
    Navaneeth

  • Application Resources into Model Project

    Hi everyone!
    I'm writing to yours, because I'm working in a project witch ADF Faces/JSF/EJB 3.0./TopLink/BPEL technology.
    I have Session Beans which implement business rules and business logic. I want to centralize the messages that the user will view due to execution of logic methods. I was thinking to implement an Application Resources Boundle in Model project like a ViewController project. I think that is a good idea to centralize the messages and I will get better maintein of this into the application.
    What do you think about this?.
    I'll be waiting your responses.
    Greetings.

    Hi,
    sure. Using message bundles alway makes good sense, especially for applications that should be localized.
    Frank

  • OBE : ADF Faces in Model project

    hi
    The tutorial "Examining ADF Business Components New Features"
    at http://www.oracle.com/technology/obe/obe11jdev/11/adfbc_new_features/adfbc.html
    says, in its "Create a New Application and Project" section, to "... set the project name to Model, and in the Project Technologies tab, shuttle ADF Faces into the Selected pane ..."
    The screenshot ADFFacesInModelProject.png shows how both ADF Business Components and ADF Faces are part of the Model project.
    - (q1) Why would it be a good idea to have both ADF Business Components and ADF Faces in the same JDeveloper project?
    many thanks
    Jan Vervecken

    The screenshot ADFFacesInModelProject.png shows how both ADF Business Components and ADF Faces are part of the Model project.Can't see any valid reason why. For what the article is trying to do , there isn't any valid reason to add Faces libs to the model project.
    Not that there's a technical limitation to this - but looks like a mistake (also causes deployment issues).
    - (q1) Why would it be a good idea to have both ADF Business Components and ADF Faces in the same JDeveloper project?if it's some ugly throaway test code.
    Not in production code anyway.

Maybe you are looking for

  • Delete a single message in messaging server

    Is it possible on command line for an administrator to delete a single message in a mailbox? Without knowing their password (only mailbox name) and just using CLI. Kind Regards, Nicole

  • Axis DIME attachments

    Hi everybody... I'm sending a PDF file as response from an axis (1.3) web service using SOAP with attachments, however *.NET* clients won't be able to read it. So i was wondering if there is a way to send the attachments as DIME (supported by microso

  • Unicode in url-cmd in web

    Hi, we have migrated to BW 3.5 with Unicode. I have an item in a web template which caption is set via URL command. This caption contains some special german characters. But they were not correct displayed. My URL looks like: http://myserver:8007/sap

  • DESCRIBE command

    Hi I am using oracle 10g and facing this problem. I want to overcome this problem. desc empName Null? Type empno not null number The name column is too long so that I have to move a cursor long time to right side. what changes should i made to displa

  • Safari 4 (PPC)

    Well, just installed new version, went to the problem site (My Yahoo) to see if they fixed the hang problems I was having in Beta. Answer, No! Still hangs! Guess I will have to wait for version 4.5, or if that is not the answer, then until I upgrade