ViewObject/Application module with 2 different databases-* URGENT *.

Hi all
I need to get the data of two databases for reading different oracle single table in a jspx page.
It is possible to obtain these data using a single VO and his application module.

If this is not the case, what is the way to go about such a scenario. How can I say VO to get data of different databases.

Both are oracle db, but on different machines, different credentials.


Thank you very much
Amit

No, it is also not possible. However, you can have two modules different app pointing to different databases. EOs / your inside a an appmodule will only be the connection that a single database.

Arun-

Tags: Java

Similar Questions

  • Restore Rman hotback in a different machine with a different database name

    Hi all

    I have 11.2.0.3.0 of oracle in 64-bit version of Windows 2003 R2 server, I have my database of production 'Proddb' in archivelog mode, I took the backup hot RMAN at 09:00 and I want to restore this RMAN backup in a new Machine with the new name of the comic "Testdb" at 13:00, between 09:00 to 13:00 many transactions that happened many archivelogs generated...
    Can someone tell me how to restore the RMAN backup in a different machine with the new name of the data base and how to apply these logs archiving that generated between 09:00 to 13:00.

    Thank you and best regards,
    John of Vikash

    RMAN will go for it, that's the beauty of RMAN that does not require the intervention of the DBA to power each archivelogs per turn. Just to start the recovery and the next is your controlfile which contain information about your archivelogs sequence. The mechanisim of the application of the archivelogs see this link for details

    http://oraware.blogspot.com.au/2009/10/how-much-recovery-required.html
    

    Khurram

  • New search with two different database Page

    Hi all

    I got a new work in which I design a page using OFA where, in two fields (2 boxes) are present that references on behalf of the Organization and values such as LPN...

    ----------------------------------------------------------------------------------------
    Name of organization: (text box with LOV icon)

    LPN values:---(zone de texte avec icône LOV)

    Go cancel


    Table of results

    -----------------------------------------------------------------------------------------


    In this the is organization name text box refers to a database and the Lpn to the other databases values text box...

    In case of employee exercise research I got the name of the employee and the employee number in the same database... But here its different... How do I get this resolved? Is it possible to do so in the OPS?

    Ganesh

    Then no problem. Create two different VO and create messageLovInputs based on these VO. Let us know if you face any problems with it.

    Thank you
    AJ

  • How to run an application associated with 2 different versions of MFC?

    Hello

    I created an application that generates a DLL with an EXE which refers to several delivered runtime DLLS. The DLL and EXE have been built with VS2012, and the DLL of enforcement delivered have been built with VS2010. When I try to run the application, I get an access violation in WinMain (calling AfxGetThread returns null). Just to check the application, if the supplied runtime DLLs were also built with VS2012, the application runs correctly.

    My goal is to run the application without restoring links there.

    Is it possible to use a manifest configuration, using the file and change references to the VS2010 (made by the runtime DLL) to VS2012, so that the application can be run without the restoration of the links?

    Here is the config file that I created, but did not succeed:


      
         
            
               
               
               
               
            

         

      

    I don't know if the assemblies Microsoft.VS100.MFC and Microsoft.VS100.CRT names are actually valid and also don't know if I can redirect between major versions of VS.

    I was not able to find examples of work. Any help would be useful.

    Regards, Rob

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • Studio EN - is there a work around for the problem of referencing data from a grid with a different connection of DB and # different dimensions?

    Hello

    I'm making reference to a column in a different grid with a different database connection. I did some searching in the forums, and it seems that it is a known problem with EN Studio. The problem is that if 2 different database connections have different number of dimensions, then the reference will throw an error.

    For example, what I try to do, is below:

    In grid2.column [A], I have the following formula:

    Grid1. Column [A]

    The result is an error.

    The ultimate goal is to have a base of variance formula in the grid between grid1 and grid2, who have connections to different database with a different number of dimensions. Is there a solution to this bug? The example of the basic formula is less to:

    Grid1. Column [A] - grid2.column [A]

    Any help is very appreciated!

    Thank you

    Tiffany

    Have you tried to change the database connection in a row instead of create a new grid?

  • BAM works with the Oracle database only in the backend.

    Hi, I was wondering if Oracle Business Activity Monitor (BAM) implemented in ADF application works with the Oracle database as Oracle database is one of the databases very little supporting the database change Notification? Or can it be implemented using database of MySQL etc.

    Thank you!

    Published by: 996574 on June 3, 2013 14:06

    As far as I KNOW only Oracle db supports the database change Notification.

    Timo

  • Cannot run the application module in a project of (Model) generic in BPM application

    I use jDeveloper 11.1.1.6 and I want to add a generic or a model for a BPM application project, in order to develop the custom user interface.
    but when I created an application module with associated and then java class do a right click on it to run, I saw the following error message:

    (oracle.jbo.ConfigException) Houston-33001: tester.xcfg Configuration file is not found in the classpath.

    more when I use a merger Web application instead of BPM application, with the projects of model and view controller, there is no problem and I am able to run the module of the application.

    Thank you very much for your contribution.

    Comment the mds-config section in your adf - config.xml temporarily and try. It will work

  • Is it possible to migrate a planing with different database name application?

    Hi gurus,

    is 1] possible to migrate an application planing with different database name via the LCM in EMP 11 utility?

    [2] we can migrate application of planning with different names from DB in sys9 too?

    You must update this table, restart planning. You must also rename the database through the Regional service.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • ADF Code Corder 42: by using a < af:poll > with an Application Module

    Hi all

    With the help of JDev 11.1.2.3.0.

    I worked to solve this puzzle for a while.  I'm trying to implement a simplified version of the ADF Code corner #42 (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf)

    The thing is that my 'business ' service is running in my module of the application.  In short, I take 10,000 rows to view object and run through a few different algorithms.  It would be nice to give a report during this operation.  However, as soon as I start my method of request module, my component < af:poll > end, refusing to update the current page.

    I watched a lot of sites tutorials to try to solve this problem.  I try to stay within the limits of the ADF Essentials which means no ADVERTISING, only of the poll.  Here are some of the best references:

    GEBS | Oracle Fusion Middleware 11g ADF progress indicator

    Refresh the page periodically by using survey components |

    Their service 'business' in the managed bean and the other simply re - runs a page runs a view object.  I can't find a site that will their own business service and surveys it.  Here's what I have:

    Application module

        private long uploadStatus;
    
    
        public void doUpload() {
            long max = this.getMaximum();
            for(this.uploadStatus = 0; this.uploadStatus <= max ; this.uploadStatus += 500){
                System.out.println("@ " + this.uploadStatus);
                try {
                    TimeUnit.SECONDS.sleep(1);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
            }
            System.out.println("Upload Complete");
        }
    
        public long getStatus(){
            return this.uploadStatus;
        }
    
        public long getMaximum(){
            return 10000;
        }
    

    Backing Bean

    public class ProgressBarModel extends BoundedRangeModel {
    
        private long max;
        private long status;
    
        Thread newProgress = null;
    
        public ProgressBarModel() {
            this.getMaximum();
            this.getValue();
        }
    
        @Override
        public long getMaximum() {
            // Not best practice. Should get through page def method operation
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.max = am.getMaximum();
            return this.max;
        }
    
        @Override
        public long getValue() {
            System.out.println("polling ...");
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
            this.status = am.getStatus();
            return this.status;
        }
    
        public void doUpload(ActionEvent actionEvent) {
            if (newProgress != null) {
                newProgress.interrupt();
            }
    
            ProgressUpdater progressSimulator = new ProgressUpdater();
            newProgress = new Thread(progressSimulator);
            newProgress.run();
    
        }
    
        public void stopUpload() {
            newProgress.interrupt();
            newProgress = null;
        }
    
        class ProgressUpdater implements Runnable {
            public void run() {
                AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModule("AppModuleDataControl");
                am.doUpload();
            }
        }
    
        public long getPercentageUploaded() {
            long state = this.status * 10 / 10000;
            if(state >= 100){
                this.stopUpload();
            }
            return this.status * 100 / 10000;
        }
    }
    

    JSPX

    <af:panelFormLayout id="pfl1">
                                    <af:poll id="pollid" interval="1000"/>
                                    <af:outputFormatted value="#{MyProgressRangeModel.percentageUploaded}% completed"
                                                        id="of1" partialTriggers="pollid"/>
                                    <af:commandToolbarButton actionListener="#{MyProgressRangeModel.doUpload}" text="Run"
                                                            id="ctb1"/>
    </af:panelFormLayout>
    

    Give me the result

    polling ...
    polling ...
    polling ...
    @ 0
    @ 500
    @ 1000
    @ 1500
    @ 2000
    @ 2500
    @ 3000
    .... // up to 10000
    Upload Complete
    polling ...
    polling ...
    

    How can I get the survey allows you to control when the method of the module of an application is running?  Use more than one module app, for inclusion in the database and the other for monitoring?

    Thank you

    Will be

    I went with that instead

    How I finally reached updates to asynchronous UI with WebSockets and JMS

  • Multiple instances of oracle with characterset different on the same server database

    Hello

    We are finalizing plans to install Automic (software scheduliong formerly UC4) for our suite of retail applications and replace Uc4.

    The process came to know that Automic does not support AL32UTF8 database characterset.

    At this moment we have RMS and UC4 UC4 supports AL32UTF8 and schema for UC4 running on the same database server is inside the RMS database.

    From now on, it is recommended to have a separate database instance on the same server as the RMS database and with a different characterset which is WE8MSWIN1252.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    The utility Automic we want to use is not compatible AL32UTF8 and manage only a database of character set WE8MSWIN1252.

    Any help and advice would be much appreciated.

    Thank you

    RAM.

    PL post OS and database versions.

    Is it possible to have 2 instances of database running with different charactersets, one with AL32UTF8 and the other with WE8MSWIN1252. ?

    Yes - without any doubt - two databases are independent and have nothing to do with each other.

    There are configuration requirements before implementing instances of database?  THS APPWORX (for UC4) schema will be exported (data pump export) and imported into the new database.

    You may have - to test the export/import process rigorously. If your source is AL32UTF8 and target is WE8MSWIN1252, data loss may occur for those characters that are in the former, but not the last.

    HTH
    Srini

  • two node Oracle RAC with two Oracle databases completely different on each node?

    We currently have two different applications that use Oracle databases.  Current configuration is two different oracle homes dbhome_1, dbhome2 with separate mounting LINUX points containing the Oracle homes and *.dbf files on a single host server.

    Previously, the idea was to set up a second server identical host configured as a 'data guard' for both of these databases.  Now, management wants to implement a cluster of CARS of two nodes, with each node running two databases.  With the Standard edition.

    I only did CARS of high availability and scalability for a single database.  Is it possible to run two completely different databases Oracle on a two-node RAC cluster?  I am inclined to think that they it has divided into

    two clusters RAC to two nodes on four small servers host.  Any suggestions or comments would be appreciated?

    Is it possible to run two completely different databases Oracle on a two-node RAC cluster?

    The short answer is Yes... it is possible.  It will work without any problem, as long as you have the resources available to an additional database.

    I am inclined to think that they it has divided into two clusters RAC to two nodes on four small servers host.

    There is another option.  In the past I have two databases on a RAC cluster that has been implemented for reasons of cost of license / (I don't think that this applies to itself, but you will need to check).

    However having seen on separate hosts that you have only potentially interruptions of service on a database if you decide to do something like upgrading from one of the databases and thus upgrade the GI as well.  This would mean interruptions in service for all your databases using the GI.

  • See the link to view the objects in different application modules

    Hello

    How to create link view (or link if that's the right word) to display the objects belonging to different application modules. Application modules use different database connections. I'm missing something.

    Any help is appreciated.

    Thank you
    VJ

    You can not do this - but maybe a possibility is to have the VO depend on a variable binding - and pass this variable to a VO to another.

  • Test application modules require authentication with JUnit

    Hello
    I just read John Stegemans great article on testing with jdeveloper 11g oracle business components:
    [http://www.oracle.com/technology/pub/articles/adf-development-essentials/part5.html]
    Thank you very much.

    I tried to write a test unit using the [Oracle Fusion order demo Application | http://www.oracle.com/technology/products/jdev/samples/fod/index.html].

    1 import the Fusion order Demo Application
    2. new project created "StoreFrontSerciceTest."
    3. Finally created a Testsuite in Componten new business using the wizard, as described by the blog.

    When I run AllStoreServiceAMTest, all objects view and entity tests fails with 'error', because there is no security context:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS-Anmeldefehler.    
    Authentifizierung nicht erfolgreich.
         at oracle.adf.share.security.authentication.JAASAuthenticationService.doLogin(JAASAuthenticationService.java:122)
         at oracle.adf.share.security.authentication.JAASAuthenticationService.login(JAASAuthenticationService.java:91)
    ..
         at oracle.fodemo.storefront.adfextensions.FODApplicationModuleImpl.prepareSession(FODApplicationModuleImpl.java:23)
    All Tips how I can write application security with extension modul tests?
    In particular, in a real-life project, we'd like to test differnent behavior of the services (application modules) dependend on the role of authentication.

    How to set security information when creating the application module in the device:
    public class StoreServiceAMFixture {
        private static StoreServiceAMFixture fixture1 = new StoreServiceAMFixture();
        private ApplicationModule _am;
    
        private StoreServiceAMFixture() {
            _am = Configuration.createRootApplicationModule("oracle.fodemo.storefront.store.service.StoreServiceAM","StoreServiceAMLocal");
        }
    ..
    }
    See you soon
    Stefan

    Hello Stefan,

    Even though it is a little old, take a look at section 24.8.5 [URL http://database.in2p3.fr/doc/oracle/Oracle_Application_Server_10_Release_3/web.1013/b25947/web_testdebug008.htm] this

    John

  • Urgent: account with a different name for the wire transfer of payment portathon?

    Please help me. I did three apps in last out portathon that is approved and review of the other two is underway.

    Today, I got a Blackberry e-mail form that includes a link to enter data for transfer of my reward. The name on my bank account is slightly different the name with which I am registered as a supplier.

    Can I enter this slightly different name on this page with my bank details wire transfer and get my payment?

    Use the bank details of others to get the payment?

    Please answer quickly. It is urgent that there is no detail on the date deadline for submitting the details.

    Yes, you can use the bank account with a different name.

  • Running Application Module tester with ADF security

    Hi, I use JDeveloper 11.1.1.6 and recently activated ADF security on my request. Now when I try to run the Application Module Tester by right click on the request form and say run I get the following error. I get the JAAS prompt to enter my credentials, but no matter what I put, I get the following.

    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: oracle.adf.share.security.ADFSecurityAuthenticationException, msg = EXC_NO_AUTHENTICATION_SERVICE
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:599)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)
    Caused by: oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    ... 13 more
    # # 0 in detail
    oracle.adf.share.security.ADFSecurityAuthenticationException: EXC_NO_AUTHENTICATION_SERVICE
    at oracle.adf.share.security.authentication.AuthenticationServiceUtil.getAuthenticationService(AuthenticationServiceUtil.java:68)
    at oracle.jbo.common.UserAznUtil.authenticate(UserAznUtil.java:64)
    at oracle.jbo.common.UserAznUtil.authenticateUser(UserAznUtil.java:32)
    at oracle.jbo.jbotester.TesterEnvInfoProvider.getInfo(TesterEnvInfoProvider.java:344)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:65)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2913)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:580)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2473)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2347)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3246)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:572)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:505)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:500)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:523)
    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:869)
    at oracle.jbo.jbotester.binding.TesterBinding.getConnectionInfo(TesterBinding.java:214)
    at oracle.jbo.jbotester.MainFrame.initializeDataControl(MainFrame.java:906)
    at oracle.jbo.jbotester.MainFrame.loadConfiguration(MainFrame.java:632)
    at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:597)
    at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    Also, I have tried to disable the security of the ADF and the request module Tester then works fine but I need to run it with security ADF is turned on. Someone knows how to fix this?

    Thank you.

    I understood the question. It seems that I had to remove the library "ADF generic Runtime ' libraries and Classpath of the project of my model parameters. Does anyone know why having this library referenced in your project settings would cause this issue? I also had to delete this reference from the library to a project to generate a web service proxy in the past, it seems to cause a few problems when they are associated with libraries and Classpath for a project or even associated with a library that depends on another library. Can anyone provide any indication regarding the library and why it causes so many problems? You can recreate this issue on demand by adding the library "ADF generic Runtime ' to your template with ADF security project and then activated by running the module of the application by clicking on it and say run.

Maybe you are looking for

  • Mac OS damaged Sierra install app?

    My system specs are: I tried to download macOS Sierra 7 times now.  Each attempt gave rise to receive this dialog at the end of each download and when a double click on the Setup application: My system works fine.  It passes Apple Hardware Test brill

  • HP ENVY notebook: Headphones not detected on HP ENVY laptop

    Headset/headphones not detected by the laptop when it is inserted into the audio jack. tried several headphones which none were detected despite working on other devices. USB headset is detected. Have updated audio drivers using HP support Assistant

  • RC of Windows 7 / Vista pointer of the ultimate mouse & Windows Update problem?

    Have a Dell XPS 630i and made a new instalation of Vista Ultimate, and Windows 7 RC 64-bit and have the same problem with TWO operating systems after installation. Performance and once installed, Windows Update, the mouse pointer will NOT click on th

  • The installation CD is missing

    I have an old computer with a top label saying it was deliverad with windows. I have therefore a product key is valid, but I don't have an installation CD. Can I get the files to install somewhere and continue to use the computer with Win XP? / Marti

  • Replace cartridge Deskjet 1512

    I am trying to replace the cartridge, but it does not. It rises to 61, which is recommended. No pattern is resumed. I had several before HP printers. I have deskjet 1512