Map Deployments

Hello.
As part of our Disaster Recovery plan, we go to an alternate site and run our applications (including Warehouse Builder) on a server that is replicated from our shop, but with a different name. Because the server names are different, our Data Warehouse Admin spends a considferable amount of time redeplying the maps one by one at the DR site before we can test with them.
I am a OWB novice and our OWB admin is away, but my boss asked me to find out if there is a way through Warehouse builder (or any other means) to "batch up" the maps and redeploy them in bulk? Our database is Oracle EE 10.2.0.4 and OWB 10.2.0.5.0 running on an Oracle/Solaris SPARC 64bit OS.
Thansk in advance for your input.

Hi,
cloning a database with a repository is not that simple.
Check the forum, e.g.
Re: OWB 10g R2 - Migrate Back-end Database from Windows to Unix - Need Help
How to update OWB after cloning 11.1..0.7 db???
If the database is just used as target (not for design metadata), just drop the repository and recreate it. Then redeploy all mappings and process flows with the correct locations.
All this can be scripted using OMB*Plus, but that also takes some time and effort.
Regards,
Carsten.

Similar Messages

  • Mapping Deployment Has Error:  Duplicate Database Link Exists

    Hi everyone,
    This is hopefully a simple question. I've been working with OWB 10GR2 for awhile now with no problems. My project finished and I moved on to another OWB environment, still 10GR2 and now my mapping deployments are having errors during the deployment. Each time I try to deploy the mapping, OWB also tries to create the database link, regardless of the fact that it already exists. It fails to deploy the database link but the mapping successfully deploys nonetheless. If I drop the database link and then deploy a mapping there is no error but then if I deploy a second mapping it comes back again (no real surprise here).
    I tried to deploy the connector by setting it to "replace" and hit deploy. That was fine, but according to, OWB,even though I just replaced the exisiting DB link, it still didn't see that it was created. OWB still considered this connector as "New".
    Does anyone know what I need to do to get OWB to stop trying to deploy the DB link with every mapping? How can I tell it that the DB link exists and is correct?
    Thanks!
    -Joe

    Hi there,
    I experienced same issue a few days ago ... I'll tell you how I solved it.
    I think the real problem is that the link gets never marked as deployed => so, it's deployed with every single mapping which is using it!
    You can even try to deploy it on its own, and deploying process ends with no errors, but it is not marked as deployed ...
    Why can't the link be marked as deployed? Where does the db_link come from?
    The link is pointing to a location where you dragged from a table (or any object) to your mapping.
    In my case, the location was first created and registered by another user before starting project development (with a new user).
    I unregistered the location with the original user and registered it again with my user, than I could deploy it and got it marked accordingly.
    It's never again apperead within my mapping deployments.
    Hope I've been clear enough ... and helpfull!
    Joan.

  • Unable to open Information Map from planning web Help menu

    Unable to open Information Map from planning web Help menu
    The error is :
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Hi,
    It should be accessing :- http://<planning server>:8300/HyperionPlanning/help/en/hp_information_map/hp_information_map.html
    Can you access that address on the machine hosting planning?
    The file structure on the web server depending on which app server you use should be something like \Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning\help\en\hp_information_map\hp_information_map.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to map a resource-ref in Jdev11 deployment plan editor

    Hi all,
    I have a ADF/BC web application where the BC4J application module does connect to a JNDI data source.
    The ViewController project does declare the Datasource as needed resource in its web.xml:
    <resource-ref>
    <res-ref-name>jdbc/wlogDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    Now i need to map that resouurce-ref to an actual data source that exist in the application container at deploy time.
    As already in JDev 10.1.3 the deployment-plan editor provided during deployment from JDeveloper does not provide any means to enter the deployment mapping for that resourc-ref (When clicking on the node (which is named resouce-ref - that becomes very confusing in case you have defined three resource-refs in your web.xml) the right pane shows a gray pane without any edit controls) So I cannot enter the resource-ref-mapping unsing the Jdev UI.
    My workaround in 10.1.3 was to save the deployment plan to disk and manually edit it, adding
    <resource-ref-mapping name="jdbc/wlogDS" location="jdbc/wlogTestEnvDS">
    </resource-ref-mapping>
    to the orion-web-app document for that webapp
    But in Jdev 11 the deployment plan file format changed (including some binary inline checksums???)and when doing exactly the same thing, the loading of the manually edited file into Jdev Deployment plan editor fails with
    oracle.oc4j.admin.deploy.spi.exceptions.ExtendedConfigurationException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:1002)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:240)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         ... 33 more
    Caused by: java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         ... 35 more
    oracle.oc4j.admin.jmx.shared.exceptions.JMXRuntimeException: invalid entry size (expected 1886413103 but got 846 bytes)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:240)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Caused by: java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         ... 35 more
    ---- Embedded exception
    java.util.zip.ZipException: invalid entry size (expected 1886413103 but got 846 bytes)
         at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:368)
         at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
         at java.util.jar.JarInputStream.read(JarInputStream.java:171)
         at java.io.FilterInputStream.read(FilterInputStream.java:90)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.copy(JarTool.java:1343)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readEntry(JarTool.java:255)
         at oracle.oc4j.admin.jmx.shared.util.JarTool.readJar(JarTool.java:232)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.parseDeploymentPlan(DeplConfiguration.java:1464)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:761)
         at oracle.oc4j.admin.deploy.spi.DeplConfiguration.restore(DeplConfiguration.java:738)
         at oracle.jdevimpl.deploy.jsr88.ConfigModel.loadConfig(ConfigModel.java:201)
         at oracle.jdevimpl.deploy.jsr88.Jsr88ConfigurationPanel.actionPerformed(Jsr88ConfigurationPanel.java:212)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
         at java.awt.Dialog$1.run(Dialog.java:515)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    So no chance here to add a resource-ref-mapping. The alternative way of specifying a resource-ref-mapping using the web-based deployment proces of the Enterprise manager is impossible because the 11g preview OC4j does not include an enterprise manger web-application.
    So how do I deploy the application correctly other that manually modifying the deployed orion-web-app.xml file in j2ee/home/application-deployments/earName/warName/orion-web-app.xml after deploying the app without a resource-ref-mapping? Because doing that step manually each time is quite annoying.
    Greetings,
    Thomas

    Seems i'm slowly answering my own questions :-) I finally got my RMI service, even using several methods. But ...
    It doesnt help me as the lookups are not done on the context classloader it seems. That means i need to add all my service jars to the global class path causing massive sealing issues with the war contained jars. Pretty useless. All the needed stubs etc are in the war.
    But as it seems that the web app needs to contain deployment site info (sun-web.xml) anyway, i could just as easy read my own web xml from the context and resolve the services myself. But i do wonder how this is supposed to work with EJB and CORBA stuff. The samples actually also needed to add stuff to the global class path.
    I'm probably not the easiest customer as i write this kind of middle ware for a living but i really like sjsws. It makes my own one partly obsolete as it is almost as fast and has all the fancy deployment stuff (in my case i use an in-house mobile agent frame work and agents that travel the various networks ) and infinitely easier to learn to work with and understand In case anyone is wondering i wrote Uhura because 1. i needed speed so it is a servlet based webserver and not a web server with a servlet module. 2. could not wait on ibm to fix bugs in webspere and we only used the servlet bit. 2. i needed full J2EE security and 3. i needed it to run on many OS'es
    That is why i still need the same war files to be able to be deployed in both systems as i still need my systems going on IBM iservers etc.
    Again i would welcome some feed back on such and related issues
    Cheers,
    Peter

  • Need help with Resource Mapping from Application Deployment to VC:virtualMachine

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

  • How do I deinstall the Map Viewer service

    I have a client who downloaded the map viewer quick start package for 11g.
    He was supposed to deploy the map viewer on web logic but ran some sort
    of batch file that he found in the root of the unzipped package.
    MapViewer "seemed" to install fine but never asked him where Web logic
    was installed. Furthermore if I have him look at the current deployments
    on web logic mapviewer does not show up.
    How he can bring up the mapviewer page and admin console is
    beyond me. Perhaps it was installed on IIS (I haven't checked
    that yet) ?
    What I'd like to do is have him deinstall map viewer and then
    reinstall it correctly so that it gets deployed to web logic this time.
    The problem is that I don't know where the heck his version
    is installed at yet and I'm not sure how do deinstall it.
    Any ideas ?

    When you run start.bat it will start a standalone OC4J that runs mapviewer. So long as that batch file is still running then mapviewer is still running. If you close/ctrl-C the batch file then mapviewer stops. There is no installer/uninstalller, you just need to delete the whole folder containing the quickstart files.
    As for deploying, the quick start can't be used for deploying to a web logic, you need to download the other mapviewer install that contains the mapviewer.ear file.
    Edited by: RDB on Nov 13, 2009 10:15 AM

  • Orion-ejb-jar: cmp-field-mapping specs REMOTE home

    In the tech. preview documentation, in the EJB dev. guide, and in the section which details the orion-ejb-jar, I noticed something odd about the "cmp-field-mapping" element. It has an attribute called "ejb-reference-home", which is supposed to be "the JNDI location of the fields remote EJB-home if the field is an entity EJBObject or EJBHome".
    I would assume this would only be set if this field was specified as a CMR field in the ejb-jar.xml file.
    The odd thing is, it specifies the REMOTE home, not the LOCAL home. Is this just a typo?

    I believe that it is not JDeveloper issue but OC4J one. It does not pick up new orion-ejb-jar.xml if you re-deploy bean(s). It should deploy your orion-ejb-jar.xml when you're deploying yor application for the first time (so there is not orion-ejb-jar.xml in deployments directory). If you want OC4J to pick changes up remove orion-ejb-jar.xml from $OC4J_HOME/application-deployments/<application>/<Bean>.jar/ and then deploy it either manually or with JDeveloper. I hope it will help.

  • Point Toplink map to exactly same schema but differnt schema

    Hi all,
    We want to point our Toplink mapping which is generated using a test schema to "real data schema" which has exact same structure.
    Is it possible to do it.?
    May be it will make more sense if I say, we want to edit WSDL of Database adapter and expect same adapter to go to the new schema connection (which we put there after editing the wsdl).
    I hope I explained and its the right place to ask the question.
    thanks in advnace

    Hi there,
    the best place to ask DBAdapter questions is probably Integration - Adapters.
    Integration - Adapters
    If in design time you create your database connection with one username but import tables belonging to a second username, then the toplink-mappings.xml will contain explicit schema references. This can cause troubles switching from development to production.
    At this point best thing you can do is edit toplink_mappings.xml and search and replace i.e. "SCOTT." with "". That will reduce any qualified table references in that file with unqualified ones, i.e. SCOTT.EMP -> EMP.
    If your (subsequent) problem is at runtime logging in as one user but wanting to interact with tables belonging to a second user, then in application-deployments/default/DbAdapter/oc4j-ra.xml, and in connectors/DbAdapter/DbAdapter/META-INF/ra.xml you could configure the property tableQualifier="<secondUserName>". However you will still need to make sure there are no explicit schema references in toplink_mappings.xml before this advanced 'tableQualifier' setting can take effect. This 'tableQualifier' setting was what Doug was referring to.
    Thanks
    Steve

  • Logical to phycal data source mapping

    Hi,
    I am new to OracleAS. Every other server I worked with has this and it seems like it's a big part of J2EE, but I can't seem to find anywhere how to do this in OracleAS.
    I am trying to find a place to map my logical JNDI name that would be specified, say in web.xml in <resource-ref> tag to a physical JNDI name in the server.
    Where is the place to tie these two?
    Thanks,
    Yaakov.

    By default, the files are generated into the
    j2ee/home/application-deployments/<app-name>/<module-n&gt;
    &gt; > me>
    directory of your OC4J instance.
    They will be named along the lines of
    orion-web.xml
    orion-ejb-jar.xml
    orion-application.xmlSo, you are saying that it takes the contents of
    <resource-ref> from web.xml and BYITSELF maps it to
    the physical JNDI name. Hmm... How would it know
    WHICH JNDI name I want to map a particular logical
    JNDI??? Sounds a bit strange to me.
    For resource-ref entries, it doesn't do a default mapping. What is does is provide the XML tags that need to be filled in. You just need to specify the actual JNDI location as an attribute of one of the XML tags.
    It will endeavour to lookup and find a physical resource of the same name if no explicit mapping is provided.
    >>
    You can also provide copies of these files withthe
    settings you with to give to OC4J at deploymenttime
    by placing the orion-*.xml file in the samedirectory
    as it's corresponding J2EE standard deployment
    descriptor file.Well, that's what I was asking... Where in these
    files is the place to map the logical JNDI to the
    physical. For <resource-ref> in web.xml, I assume the
    place to do this would be in orion-web.xml. However,
    I can't find any normal documentation where it would
    tell me where to do this. In Weblogic, for example,
    there is a clear way to map your logic JNDI names you
    use in your web.xml to your physical JNDI names that
    are stored on the server. The place to do this in the
    web component is in weblogic.xml.
    Lets get to an example:
    If you put the following resource-ref in your web.xml file:
    <resource-ref>
    <description>Default DataSource</description>
    <res-ref-name>jdbc/MyDefaultDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    then when the application gets deployed, the auto-generated deployment descriptor orion-web.xml contains the following line
    <resource-ref-mapping name="jdbc/MyDefaultDS" />
    If you want to map this to the physical datsource jdbc/ThePhysicalDS then you'd just need to add a location attribute to the tag as follows:
    <resource-ref-mapping name="jdbc/MyDefaultDS"
    location="jdbc/ThePhysicalDS" />
    That will then complete the the mapping.
    If you don't provide the location details, then OC4J will try and locate a physical datasource of the same name as the logical one that was supplied. If jdbc/MyDefaultDS exists as a physical datasource within the namespace of the application, it will use that.
    I'd recommend that you just deploy the Web application, then go and look in the orion-web.xml that gets generated to see specifically what happens to your files.
    One nice thing about OC4J is that you don't need to provide these files to do the initial deployment -- OC4J will detect what needs to be mapped and include thos elements within the files it generates. You just need to fill them in.
    >>
    I'd recommend having a quick flick through the
    OC4J/J2EE documentation which is available on OTN--
    the various developer guides and user's guidestouch
    on this.I looked through all of it and it doesn't say a
    thing. So, I was hoping the developers knew this.
    The J2EE Services guide on OTN does cover this type of information.
    A quick look at the index showed:
    For JMS mappings -- http://download-west.oracle.com/docs/cd/B10464_02/web.904/b10326/jms.htm#1037919
    For Datasource mappings --
    http://download-west.oracle.com/docs/cd/B10464_02/web.904/b10326/datasrcs.htm#1005963
    The EJB and Servlet Developer's Guides also have some coverage of this.
    I have an example which does doing security logical role-name mapping on my blog, see http://radio.weblogs.com/0132383/stories/2004/04/23/usingFormBasedAuthentication.html
    Also, we ARE talking about the regular Oracle AS, not
    the standalone one, right? Because I read in the docs
    that only the standalone one allows you to use
    "expert mode" where you modify those xml files
    yourself. The regular server wants you to use the
    Enterprise Manager to do this. In any case, this is
    supposed to be a J2EE server and there has got to be
    a way to map logical names to physical.
    It's basically the same model irrespective of which way you actually specify the mappings.
    The final source of truth always comes from the same orion-*.xml file.
    If you are using OracleAS installation with Enterprise Manager, you can directly edit the configuration files. You just need to be aware that you must inform the server that the files have been updated using the dcmctl command.
    dcmctl -updateConfig In the EM console, we're working on making this more task oriented, so you can actually specify the physical mappings as you run through the deployment wizard. I'm sure the 904 release has some support for this today.
    Hope someone can help me with this.
    I hope this information I've provided here helps you with the questions you have.
    -steve-

  • What is the advent of writing xml mapping for servlet in tomcat4.1

    what is the adventage of writing xml mappings for servlet in tomcat4.1? why dont we write in tomcat 3.1?

    what is the adventage of writing xml mappings for
    servlet in tomcat4.1? why dont we write in tomcat 3.1?Tomcat 3.1 doesn't support it because it was not a common practice then. Tomcat 4.1 deployments were made J2EE compliant. Mapping in XML has an advantage of having a proper DTD for validation, which would be known to all. It serves as a common standard irrespective of the server you use.

  • CAPWAP Mesh AP (MAP) Losing BGN on Reboot

    Working on getting an ethernet bridge configured and all is good, but after doing some testing I've found that if my MAP loses power, it will not connect back to the RAP and can't find the WLC.  From my understanding, even though these are LWAPP APs, they should still save the BGN somewhere on the AP in a file.  In my test scenario, I have the AP connected to a switch that is not connected back to the network the WLC or RAP is on (this way I can replicate my intended design).
    I'm just looking for some insight from someone who's "been there" with this issue.  I doubt my remote site will have a power outage, but I need to be prepared.
    Thanks in advance!

    What equipment do you have and what code. I run indoor mesh and notice the same thing, but it's code dependent for some reason.  Never seen that issue in any outdoor mesh deployments I have had. 
    -Scott

  • Golden Gate functionality during new deployments

    Hi can anybody tell me what can be done during deployment activity is performed for Active-Active(bi-directional) Golden Gate configuration?
    In our case during new deployments we fail-over complete traffic from once Data centre to another active data centre.
    After traffic fail-over we perform deployment work on Database. Which might insert/add columns etc.....
    Adding columns and inserting data on once database makes Golden Gate to replicate them to target database which is not desired for a running database.
    Anybody suggest what can be done in such scenario?
    Also if we try to ignore those tables, we have seen a situation where Golden Gate will fail saying parent keys not found.
    Any suggestion on handling such situation will help me a lot.
    Thanks in advance.

    Hello,
    Maybe a late reply, but have you thought of creating an extract process specif to the deployment (active data center)?
    You could use the extracted trails and pump them over to the other data center and run the trails/changes as a batch job.
    I recently had a similar scenario, and create a specific extract(active center) and batch replicat(passive center). The parameter nodbcheckpoint tell Oracle GG that you are running a batch job.
    Here is an example:
    GGSCI> ADD REPLICAT LOADDRP, EXTTRAIL ./dirdat/tx nodbcheckpoint
    GGSCI> EDIT PARAMS LOADDRP
    REPLICAT LOADDRP
    SETENV (NLS_LANG = "AMERICAN_AMERICA.WE8MSWIN1252")
    EXTTRAIL ./dirdat/tx
    HANDLECOLLISIONS
    --END RUNTIME
    USERID GGATE@MYDB01, PASSWORD *******
    ASSUMETARGETDEFS
    DISCARDFILE ./dirrpt/loadtemppassive.dsc, purge
    STATOPTIONS RESETREPORTSTATS
    DDL INCLUDE ALL
    DDLERROR DEFAULT IGNORE RETRYOP MAXRETRIES 5
    REPORT AT 00:01
    REPORTROLLOVER AT 00:01
    REPORTCOUNT EVERY 60 SECONDS, RATE
    DDLOPTIONS REPORT
    MAP I_S_L_2.*, TARGET I_S_L_2.*;
    ETC......Hope this gets you on the right track.
    Sincerely
    Jan S.

  • Scripting Enterprise Groups-Application Roles mapping

    Hi All,
    For my WebCenter Portal, I have local Application Roles that need to be mapped to Enterprise Groups. I know this can be done from the Portal Administration console using "Add Groups". This doesn't seem to persist across re-deployments.
    I tried doing this via the Security Editor in JDeveloper. For this I had to first create the same Enterprise Roles in jazn-data and then map them to the Application Roles. However, on deployment, this causes the existing users on weblogic to lose their respective Enterprise Groups assignments.
    Is there a way to script the group-role mapping using WLST or other so that I can run the script as a deployment step?
    Best Regards,
    Bijesh

    Hi,
    The following links explains different ways to achieve your desired goals.
    1)http://weblogic-wonders.com/weblogic/2010/11/10/wlst-script-to-add-users-groups-and-modify-roles/
    2)http://www.orastudy.com/oradoc/selfstu/fusion/core.1111/e10043/apadvadmin.htm
    3)http://middlewaremagic.com/weblogic/?p=4981
    Hope it helps you.
    Regards,
    Hoque

  • Running mapping

    I wanted to start my mapping with a PLSQL procedure so, I reproduced "sqlplus_exec_template.sql" in my package
    now, I successfully start my mapping with :
         id_Audit_Execution := wb_rt_api_exec.open('PLSQL','MY_MAPPING','MY_LOCATION');
         Audit_Result := wb_rt_api_exec.execute(id_Audit_Execution );
    I also wanted to abort my mapping, so I wrote something equivalent to "abort_exec_request.sql"
    In my procedure, I call
         wb_rt_execution_control.abort(id_Audit_Execution);
    And then I wait for the end with
         wb_rt_notification.wait(l_stream_id, :l_event_type, :l_notify_id, :l_focus_id);
    but my mapping is not aborted, and it runs until the normal end while wb_rt_notification.wait never returns;
    is this the good way to run my mapping ?
    do I use the good function(s) to execute it
    Where could I find the documentation for the runtime owner packages ?
    PS : I'am using OWB 10gr1
    Message was edited by:
    Jean-Loïc

    hi,
    I'm facing similar issue while i am try to deploy a mapping. If I run twice the deployment of the same object ("replacing it") the first end succesully, the second does not end and the only things I see on the DB are:
    a) the job is active and running the notification_wait;
    b) from the wb_rt_audit and wb_rt_deployments I see the status = Busy_Deploy
    but..nothing is happening.
    I am running all on DB: 10.2.0.1 and OWB is 10.2.0.2 installed on a GNU/Linux.
    The same versions on windows XP work fine. If try to deploy from Linux to Windows..it works fine for each deployments. Said that, it seems the deplyment on Linux is not stable.
    Do you have an idea?
    cheers,
    Paolo

  • Auto-creating tables with CMP Explicit Mapping

    Hello.
    I am trying to migrate a working CMP EJB Jar from Weblogic to OC4J, using the admin.jar deploy utility. I believe my orion-ejb-jar.xml deployment descriptor (shown at the bottom) is set up properly, but OC4J attempts to auto-create tables for my entity beans anyway. (see messages that follow).
    Can anybody tell me why it tries to create these tables? Is something missing from my deployment descriptor?
    Thanks,
    David
    Auto-creating table: create table User_passwords_Passwor__fqeml6 (User_SEC_USER.
    SEC_USER_ID NUMBER not null, Password_SEC_USER_PASSWORD_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table User_userRoles_UserRol__guatbv (User_SEC_USER.
    SEC_USER_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table Permission_RolePermiss__768cc0 (Permission_SEC
    FUNCTIONID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
    Error creating table: ORA-00972: identifier is too long
    Auto-creating table: create table Role_UserRole_role_User_39lzhp (Role_SEC_ROLE.
    SEC_ROLE_ID NUMBER not null, UserRole_SEC_USER_ROLE_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    Auto-creating table: create table Role_rolePermissions_Ro_4ocmz1 (Role_SEC_ROLE.
    SEC_ROLE_ID NUMBER not null, RolePermission_SEC_ROLE_FUNCTION_ID NUMBER null)
    Error creating table: ORA-01748: only simple column names allowed here
    orion-ejb-jar.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-ejb-jar PUBLIC "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN" "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar deployment-version="9.0.3.0.0" deployment-time="e6e55808e4">
    <enterprise-beans>
    <session-deployment name="SecurityComponent" >
    </session-deployment>
    <session-deployment name="ServerSecurityContext" >
    </session-deployment>
    <session-deployment name="SecurityComponentSecurityFilter" >
    </session-deployment>
    <entity-deployment name="User" table="SEC_USER" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="userId" persistence-name="SEC_USER.SEC_USER_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="partyId" persistence-name="PARTY_ID" />
    <cmp-field-mapping name="officeLocation" persistence-name="OFFICE_LOCATION" />
    <cmp-field-mapping name="defaultLocation" persistence-name="DEFAULT_LOCATION" />
    <cmp-field-mapping name="districtVvid" persistence-name="DISTRICT_VVID" />
    <cmp-field-mapping name="userName" persistence-name="SEC_USER.USER_NAME" />
    <cmp-field-mapping name="accountActivationDate" persistence-name="SEC_USER.ACCOUNT_ACTIVATION_DATE" />
    <cmp-field-mapping name="defaultBranchVvid" persistence-name="SEC_USER.DEFAULT_BRANCH_VVID" />
    <cmp-field-mapping name="unitVvid" persistence-name="UNIT_VVID" />
    <cmp-field-mapping name="sectionVvid" persistence-name="SEC_USER.SECTION_VVID" />
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    <cmp-field-mapping name="failedLoginAttempts" persistence-name="SEC_USER.LOGIN_ATTEMPTS_CNT" />
    </entity-deployment>
    <entity-deployment name="Permission" table="SEC_FUNCTION" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="permisssionId" persistence-name="SEC_FUNCTION_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="permission" persistence-name="FUNCTION_NAME" />
    </entity-deployment>
    <entity-deployment name="Role" table="SEC_ROLE" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE.SEC_ROLE_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    <cmp-field-mapping name="roleDescription" persistence-name="SEC_ROLE.ROLE_DESC" />
    <cmp-field-mapping name="roleName" persistence-name="SEC_ROLE.ROLE_NAME" />
    </entity-deployment>
    <entity-deployment name="Password" table="SEC_USER_PASSWORD" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="passwordId" persistence-name="SEC_USER_PASSWORD_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="password" persistence-name="PASSWORD" />
    <cmp-field-mapping name="activeInd" persistence-name="ACTIVE_IND" />
    <cmp-field-mapping name="expirationDate" persistence-name="EXPIRATION_DATE" />
    <cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
    <cmp-field-mapping name="lastUpdateTimestamp" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_DT" />
    <cmp-field-mapping name="lastUpdateSystemUserId" persistence-name="AUD_SYSTEM_OBJECT.LAST_UPDATE_SEC_USER_ID" />
    </entity-deployment>
    <entity-deployment name="UserRole" table="SEC_USER_ROLE" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="userRoleId" persistence-name="SEC_USER_ROLE_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
    <cmp-field-mapping name="userId" persistence-name="SEC_USER_ID" />
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
    </entity-deployment>
    <entity-deployment name="RolePermission" table="SEC_ROLE_FUNCTION" data-source="datasource-ecmsOraclePool">
    <primkey-mapping>
    <cmp-field-mapping name="roleFunctionId" persistence-name="SEC_ROLE_FUNCTION_ID" />
    </primkey-mapping>
    <cmp-field-mapping name="functionId" persistence-name="SEC_FUNCTION_ID" />
    <cmp-field-mapping name="roleId" persistence-name="SEC_ROLE_ID" />
    <cmp-field-mapping name="sequenceNum" persistence-name="SEQUENCE_NUM" />
    </entity-deployment>
    </enterprise-beans>
    <assembly-descriptor>
    </assembly-descriptor>
    </orion-ejb-jar>

    Hi David,
    The "autocreate-tables" attribute is defined in the DTD for the "orion-application.xml" file. This file is usually generated automatically by OC4J, from your application's "application.xml" file when you deploy your application. (Note that subsequent [re-]deployments of your application will not change the "orion-application.xml" file.)
    The default value for this attribute is 'true', and the default is defined in the "application.xml" file that is located in the "j2ee/home/config" subdirectory of the OC4J installation.
    Hope this answers your question.
    Good Luck,
    Avi.

Maybe you are looking for