1 XMLP Enterprise instance, multiple environments (databases) - Datasources

Hi
We are trying out XML Publisher Enterprise 5.6.2 (stand-alone) in an OracleAS 10.1.2.0.2 environment (OC4J).
In our "pre-Production" environment we have four separate instances.
(instance -in this case- means combination of DB instance + front-end apps deployed in OracleAS OC4J)
Our aim is to have an XMLP server (OC4J) per major environment, i.e. DEV, pre-PROD and PROD.
The XMLP reports will mostly be run via URL from a bespoke application.
The problem is that the data source (either data source defined in XMLP or JNDI data source defined in container) is specified in the XMLP Report. Notably as the "Default Data Source".
We cannot find a way of dynamically (runtime) specifying the data source to be used or to override the "Default Data Source".
(this is the data source as a connection definition to a schema in a database)
We need to achieve this in order to avoid having to have an XMLP server per instance, where our goal is to only have an XMLP server per environment.
Can anybody please help us on how to dynamically specify (override) the data source used by the XMLP report?
Thank You & Regards

Hi Tim
Understood that by setting up the appropriate data sources one can point to many databases from on XMLP.
Our situation is that our SDLC prescribes that (in the case of reports):
- the report be developed and unit tested in Dev.
(In Dev we plan to have one XMLP that developers can use at will)
- once unit tested the report shall be deployed to pre-PROD environment, system test instance
(DB=bugfix, OC4J for bespoke app=bugfix_fe, OC4J for XMLP=xmlpub)
- once system tested the report shall be deployed to final UAT and sign-off
(DB=final, OC4J for bespoke app=final_fe, OC4J for XMLP=xmlpub)
- once signed off, deployed into PROD
The 'movement' of the report from Dev to Bugfix to Final to Prod should all happen without again editing the report. Thus, if Developer created report with default data source being 'opsi' and this points to e.g. the opsi schema in dev db, this presents the issue that there can only be one data source named 'opsi' in the pre-PROD XMLP.
Thus we would like to find a way of overriding that 'opsi', e.g. with 'opsi_bug' and then with 'opsi_fin' so that the respective data source can then point to the opsi schema in bugfix and final databases respectively.
I trust this clarifies the matter some.
Regards

Similar Messages

  • How to create multiple instance on same database

    Hi ,
    I would like to know how to create multiple instance on same database . I know that some people use database configuration assistant to do this but i could not figure out how they did it.
    Any how if some one can help me with this and can give me links of this it would be great help for me.
    Thank you for reading my problem and helping me !
    Amil
    please if possible mail me on [email protected]

    How to create multiple instance?????Do you mean multiple instances on the same database, or multiple databases on the same machine ?
    I m new to this field....
    Willin to learn a lot about oracle....Then it wouldn't be bad reading a bit of Database Concepts

  • Create multiple instance in a database

    is it possible to create multiple instance in a database.if possible then is it possible to activate many instance at a time.(in personal edition)

    Instance in Oracle refers to the Oracle database "engine" - a collection of processes using a shared memory area, accessing a physical Oracle database.
    Multiple instances are possible on the same platform for different physical databases. But not a Good Idea..
    Multiple instances on different platforms are for the same physical database using Oracle Real Application Clusters, aka Oracle RAC.
    Thus your question does not make a lot of sense. My guess is that you are in fact refering to an Oracle session instead as this is "in the database" as you refered to.
    Each client that connect to Oracle, creates/establishes an Oracle session. A single client uses one (usually the default) or more sessions (usually used by a multi-threading client).
    By default, the Oracle Instance supports multiple Oracle (client) sessions. Including Personal Oracle. In the past, Personal Oracle limited (via the Listener) the number of remote clients (i.e. clients on other platforms) that can connect. I would assume that this is still the case. I however do not recall that there were a limit imposed on the number of local sessions that could be created - the limiting factor here is afterall the power and resources available by the PC. It's very unlikely that a common PC will be able to support a Personal Edition Oracle instance and 100's of local client sessions at the same time.
    If you do mean instance as per the strict Oracle definition - why would you want to create two Oracle instances (each with its own physical database) on a PC? That does not make sense on a large db server platform. It makes even less sense on a small PC platform.
    Each Oracle instance has overheads (processing and memory). Each physical Oracle database has overheads (system space, temp space, redo, logs, etc). Why duplicate these overheads?
    On a single platform - what can two Oracle instances (less capable because of reduced resources availability) do what a single Oracle instance cannot do faster and better and more effectively? Thus is it not a Good Idea to run multiple instances on a single platform. (exceptions acknowledged)

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Can I able to install many instances in one database. If yes please let me

    Hi,
    Can I able to install many instances in one database. If yes please let me how to do in Oracle 10g and *9i*.
    Thanks,
    Senthilnathan.

    Can you clarify what you trying to accomplish please? An instance consists of the memory structures, while a database consists of the memory structures and data files. Hence a RAC is a single database, with a instance per node (since each node will have the memory structures but all nodes access the same, single database).
    If you are referring to multiple schemas or applications inside the same database then yes, that is perfectly fine and done generally.

  • Multiple tempdb databases

    Is it possible to create multiple tempdb databases in SQL Server 2012 enterprise edition 64 bit on windows server 2012 data center edition 64 bit.

    Hello,
    You should create 4 or 2 tempdb file per core/processor as explained on the following article:
    http://www.sqlskills.com/blogs/paul/a-sql-server-dba-myth-a-day-1230-tempdb-should-always-have-one-data-file-per-processor-core/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • RE : Multiple environments on NT

    Hello Veronika,
    I have just tested on NT4 a multiple configuration with 2 environments
    On one user session NT : it works very well.
    I also use multi-version (R2 and R3) on the same PC.
    I use the next command :
    "C:\forteR3\install\bin\nodemgr.exe -e TstEnv1 -fnd Node1 -fns
    HOSTNAME:5000" for the first environment
    "C:\forteR3\install\bin\nodemgr.exe -e TstEnv2 -fnd Node2 -fns
    HOSTNAME:5010" for the second one
    I don't need any re-installation of Forte only one FORTE_ROOT.
    You should be able to to the same with NT services using the
    srvcinst.exe
    utility on FORTE_ROOT/install/bin.
    Hope this helps.
    Daniel Nguyen.
    Freelance Forte Consultant.

    Dan,
    The problem you are describing with the system agents and partitions not
    being visible sounds like a problem with how you are starting the
    partitions. In configurations such as these, you need to specify which
    node manager the partition is being started under. This is done
    automatically when you start an application from the environment, but from
    the command line, you should use something like:
    ftexec -fi ... -fnd node_name -ftsvr 0 .....
    Don
    At 09:46 AM 1/13/98 +0100, Daniel Nguyen wrote:
    Hello Ray,
    You are right : I didn't explain enough.
    The aim is to define different context for each environment.
    One solution is to make (just as on Unix) a command file (.bat) to
    define Forte environment variable and to use it in other command files
    to start an environment for instance. This is very usefull for testing
    but I think that it is difficult to manage. The other solution is to
    define a specific account on NT for each context redefining in the
    registry the FortesoftwareInc entries for each account (especially
    FORTE_NS_ADDRESS).
    These are two ways to obtain the same result, but using the registry
    I only use one system referential and I don't have to redefine each
    Forte command which has to become a service.
    For the second part, I start my partitions using ftexec -fi command
    (with -ftsvr option for server partition).
    It seems that Forte nodemgr reuses the environment variables of
    the context of the process and not the options you used and
    in that case the System Agents aren't well refreshed. The nodes are
    visible, but the processes on the nodes you start by hand aren't
    visible. I have the same problem with Repository agent on multiple
    environments on Aix : some agents , may be, aren't well instanciated.
    On Aix, I used standard solution : defining specific user and specific
    fortedef.sh for each environment.
    Happy new year.
    Daniel Nguyen.
    Freelance Forte Consultant
    Ray(mond) Blum wrote:
    Daniel Nguyen wrote:
    Hello,
    After discussing about it with Forte and making new tests,
    beware on the solution you choose :
    if you use the same login for your services, you will have some
    problems to start your applications. You need to use different
    logins(NT accounts) for earch nodemgr.Ummm.... I do not think that this is right. We have had (under Forte
    R2) several nodemgrs on one machine and (under R3) several launch
    servers all started from the same NT (4.0) login. All they needed to
    differentiate themselves was different environments.
    If you don't, Forte wont start your application properly.
    Then if you start your partitions by hand (using DOS),
    the application starts well, but the Forte agents don't
    see the application partitions (even ftexec processes).
    What do you mean by the above? Forte System agents? Our client
    machines described above have always been visible in EConsole/EScript.
    Hope this helps.
    Daniel Nguyen
    Freelance Forte Consultant.--
    ---Raymond Blum
    [Yet Another Forte Consultant]
    Hurry Star Force!
    Planet Earth has just 164 days left!!!
    Name: vcard.vcf
    Part 1.2 Type: text/x-vcard
    Encoding: 7bit
    Description: Card for Raymond Blum
    ============================================
    Don Nelson
    Regional Consulting Manager - Rocky Mountain Region
    Forte Software, Inc.
    Denver, CO
    Phone: 303-265-7709
    Corporate voice mail: 510-986-3810
    aka: [email protected]
    ============================================
    "We tigers prefer to inflict excitement on others." - Hobbes

  • How to config a shared cache for multiple environments with C API

    How to config a shared cache for multiple environments with C API?  Just like Java edition. Chapter 2. Database Environments
    I want to open large number of databases, at least 10,000. But as the counts of databases opened increase, the db->open operation become very slow. It almost cost 2 hours to 10,000 databases.
    So I try to distribute these databases to multiple environments ( for example, 5 envs ). And in order to improve the efficient of memory use, I want to share cache between envs.

    Hi,
    It is not clear what you meaning about multiple environments. Do you mean these environments are in different directories or  in the same directory ? If you mean environments in different dirs share the same cache, it is interesting why you need that.
    If you do not use DB_PRIVATE to open the environment, the created cache will be on disk, in the environment directory, so it can be shared by multiple processes and multiple threads. Currently, the cache file is in the environment directory, and we do not support specifying a separate directory for cache only.
    Regards,
    Oracle Berkeley DB.

  • Load Data from a table on one server's database, to the same table structure in multiple server databases

    Hi,
    I have a situation where i have to load data from one server/database table to multiple servers/databases.
    Example:
    I need to load data from dbo.TABLE_A  (on Server: Server_A & Database: Database_A)  to the same table on the list of server databases like
    Server: Server_B , Database: Database_B
    Server: Server_C , Database: Database_C
    Server: Server_D , Database: Database_D
    Server: Server_E , Database: Database_E
    Server: Server_F , Database: Database_F
    Server: Server_G , Database: Database_G
    Server: Server_H , Database: Database_H
    so on and so forth on 250 such server database combinations.
    The table structure is the same on all the servers.
    If i make the source or destination dynamic, it throws an error while mapping ?
    I cannot get Linked server permissions and SQL Server Config thing doesn't work as well.
    Please suggest on how to load data from one source to multiple server/databases.
    Thank you.

    I just need to transfer one table's data. its like i have to use a query to pick data for
    the most recent data. So i use something like, select A, B, C, D from dbo.table where ETL_TIMESTAMP > (the max(etltimestamp) in the destination on different server). There are no foreign key relationships and the data should not be truncated. it just had
    to append the new records.

  • Error while invoking bean "finder": Instance not found in datasource

    Hi All
    I am facing Error while trying to execute a BPEL processing using Notification service for sending out mail .
    Following is the Error Stack :
    <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "finder": Instance not found in datasource.
    The process domain was unable to fetch the instance with key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" from the datasource.
    Please check that the instance key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" refers to a valid instance that has been started and not removed from the process domain.
    ORABPEL-02152
    Instance not found in datasource.
    The process domain was unable to fetch the instance with key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" from the datasource.
    Please check that the instance key "677c0310e56e2b26:26d607:10dca65e80a:-7ffc" refers to a valid instance that has been started and not removed from the process domain.
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:314)
         at com.collaxa.cube.engine.data.AdminFinder.__lookupInstanceMetaData(AdminFinder.java:262)
         at com.collaxa.cube.engine.data.AdminFinder.lookupInstanceByConversationId(AdminFinder.java:235)
         at [b]com.collaxa.cube.ejb.impl.FinderBean.lookupInstanceByConversationId(FinderBean.java:177)
         at IFinderBean_StatelessSessionBeanWrapper42.lookupInstanceByConversationId(IFinderBean_StatelessSessionBeanWrapper42.java:669)
         at com.oracle.bpel.client.Locator.lookupInstance(Locator.java:420)
         at displayInstance.jspService(_displayInstance.java:111)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
         at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    <2006-09-20 14:55:44,109> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error in sending e-mail message.
    <2006-09-20 14:55:44,119> <ERROR> <default.collaxa.cube.services> <PCException::<init>> Error in sending e-mail message.
    The understanding formed till now is that the service is trigged using a stateless session bean wrapper and the lookup for the same is failing.
    One option will be to write the java code for performing the lookup using method
    lookupInstanceByConversationId(String convId, DomainAuth auth)
    but certain information e.g DomainAuth is not available.
    I have tried locating information about the dynamic wrapper which is being created.
    Any inputs/comments/direction for the above problem are welcomed
    Cheers

    Thanks Marc.
    I checked the domain log (ORA_BPEL_HOME\bpel\domains\default\logs\domain.log) for information. It repeats the same error displayed in the bpel server window.
    I have now put some SOPs in my Java embedding activity to see if the process gets instantiated or not. On the BPEL server window, I am able to see these SOPs upto the point where I invoke a method invocation on my remote Java class. Which clearly means the BPEL process is instantiated, contrary to the information in the error (that the BPEL instance cannot be found) I am getting.

  • Having multiple environments open in the same thread.

    Dear Sir,
    I have a question about the concurrency model inside the bdbje. I read the documents and faqs and wrote some simple
    programs using it.
    Here is my question, from my understanding, one can open an environment in multiple processes assuming that only
    one of the environments is opened for writing. I would like to know how can I open one read environment
    and one write environment in the same process. Since in my application, reads and writes can be initiated from
    multiple processes [assuming that always having at most one writer]. In my tests when a process receives
    a read requests it creates an environment for reading, and if during the reading process the process receives
    a write request, it create a new environment to handle the write request. This simple thing throws the following exception:
    je.env.isReadOnly is set to false in the config parameter which is incompatible with the value of true in the underlying environment
    It seems like I can't have multiple environments with different configurations open at the same time in the same process, i would like
    to know if this is really the case, are there any option that I can tweak to fix this.
    Thanks,
    AliS

    hello,
    An immutable property of an Environment can not be changed
    at runtime. The ReadOnly property for an environment is one of
    the few immutable environment properties. Hence, the IllegalArgumentException
    was thrown when your application tried to open an environment handle as
    ReadWrite when a handle had already been opened ReadOnly. All environment
    handles opened by a single process must have the same value for immutable
    properties.
    You can find some additional information is at:
    http://www.oracle.com/technology/documentation/berkeley-db/je/java/index.html
    under: EnvironmentConfig
    thanks,
    Sandra

  • Multiple Stickies databases? Open a few Stickies only per application?

    I love Stickies, but I hate having so many open at the same time. It's always the case that I need only a few stickies at a time, depending on the other apps I'm working on. For example, I might have a few "tips" stickies I created for myself when I am Photoshopping, or a couple other brainstorm stickies when I am trying to do some writing. I might have a dozen subsets of stickies that need to be opened up only when the relevant application is also open. I will never need all my stickies open all the time.
    My questions are whether it's possible to:
    a) create multiple Stickies databases which each contain only a small set of Stickie notes; and/or
    b) to have only a few Sticky notes opened up automatically depending on the app I am using. (Is there some sort of Applescript that could help with this?)
    As it is now my screen is far too cluttered, and that discourages any use of Stickies at all.
    Perhaps I've been ignoring some obvious feature, but in fact, I couldn't find this issue mentioned anywhere else.
    Any ideas? Thanks!

    Hi,
    For question 1, by using powershell:
    http://blogs.msdn.com/b/rslaten/archive/2013/07/21/get-all-overrides-in-a-scom-2012-management-group-using-powershell.aspx
    How to get overrides that are in a particular management pack for a group
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/fb1893ff-a88f-4758-81f0-5a3c3f702ba2/how-to-get-overrides-that-are-in-a-particular-management-pack-for-a-group?forum=operationsmanagerextensibility
    For question
    2: we can use powershell command Get-SCOMNotificationSubscription, below is a similar thread:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/28d9595a-6de3-4a12-a0fa-b794f60a5a48/scom-how-to-get-a-report-or-file-with-all-subscription-criteria?forum=operationsmanagerreporting
    Regards, Yan Li

  • Multiple source databases

    Hello,
    I need to load data into dimensions and cube from multiple source databases. We have separate transaction databases for each country, but data must be loaded into common target schema. At the moment we have created mappings which loads data from one source database.
    What is the best way to populate, for example customers dimension from customers transaction tables (located in multiple source databases) if business identifiers can overlap?

    I would break this up into two pieces: the load from the source systems into the staging area, and then the load from the staging area into the target table, which you mentioned was a dimension.
    There is no reason you would have to use views or synonyms if you don't want to. You could approach this either with a SET operator, in this case a union, that brought all the sources together into the staging table. However, I would likely create multiple mappings for each source system. I would create a mapping for each table that you have to pull data from, and then create a separate process flow that controls all the tables being pulled from a particular source database. This allows you to schedule the extractions from the source systems independently of each other in case they need to run at different times. The end result of all of this will be a series of staging tables that are loaded from source tables from all the different locations. For each of the singular mappings, I would create a constant that defined the source of the data for this mapping, and load that constant into a column called SOURCE_SYSTEM, or perhaps COUNTRY, as you mentioned. Then, this SOURCE_SYSTEM/COUNTRY column + SOURCE_SYSTEM_ID would serve as the natural key.
    You can choose to persist these tables (as an ODS of sorts) or not... that is up to you and your requirements.
    Finally, I would create a single mapping that loads the final target table from the single staging table.
    Let me know if this doesn't make sense.
    Regards,
    Stewart Bryson

  • Multiple Archive databases

    I can split out multiple archive databases just like I split out multiple primary databases on Exch 2013, correct?
    Thank you.

    Hi,
    Do you mean you want to split one archive database into multiple archive databases? If so, you can move some archive mailboxes from one archive database to another archive database using the New-MoveRequest command.
    If I have misunderstood your concern, please feel free to let me know. For more details about the New-MoveRequest command, please refer to
    New-MoveRequest.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • 9300 synchronization of multiple contact databases...

    I currently use multiple Contact databases on my 9300, such as "professional" and "personal" databases. The default one is systematically synchronized through the PC Suite into my outlook/contact database, but I know how to synchronize the other and make it go to outlook/contact2 database. Any hint would be welcome. Thanks

    Hi nadjibnet,
    According to your description, you want to use SQL Server replication to sync the SQL Server Express database and LocalDB database. From the comparison of SQL Server Express and LocalDB, LocalDB is the full SQL Server Express engine, but invoked directly
    from the client provider. It not support subscriber for merge replication. However, you need to sync database in both directions. Only merge replication can merges incremental data changes that occurred at the Publisher or Subscribers after the initial snapshot
    was created, and detects and resolves any conflicts according to rules you configure.
    So personally, I recommend you use synchronize among SQL Server Express , LocalDB databases by using Microsoft Sync Framework.
    Sync Framework includes classes that can be adapted to synchronize between a SQL Server database and any other database that is compatible with ADO.NET. For detailed documentation of the Sync Framework database synchronization components, see
    Synchronizing Databases. For a comparison between Sync Framework and Merge Replication, see
    Synchronizing Databases Overview.
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • Help needed in Support rollout

    Hello all, I am Harish having experience in ABAP/4. From next months I am going to be assigned on CRM rollout support project. I have worked on SAP ERP Upgrade projects only yet. Also I have worked on Support project. But unfortunately I have not wor

  • Hyperlinks in linked Word documents don't work

    Hello All, I'm having a problem with hyperlinks and I'm hoping you can help me. I have a RoboHelp HTML 8 project built out of Word 2007 linked files. There's a dozen Word files right now, but I'm hoping to scale up the project eventually. Each file i

  • Input Tax code

    Hello How to define Input tax code for I/P ED 5.15% & CST2% regards

  • Retrieving triggers messages

    Hi! I came across this problem the other day. I have created triggers in my SQL. The triggers are stating appropriate message for any worng data entry. But I cannot catch this message from front end either by servlet or swing. Can any of you please h

  • LinkBuilder to Action convert error in CRS 10.1.2 MediaBanner.jsp

    Hi, we are now trying to build MediaBanner.jsp on CRS 10.1.2, based on the similar one in discover. We have put following on MediaBanner.jsp, and get following error: ++<c:url value="${util:getUrlForAction(contentItem.link)}" var="hrefUrl"></c:url>++