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

Similar Messages

  • OWB 10.1 get sid and serial from running mapping

    I have a mapping that's executing way to long.
    I know how to kill a kill a session with alter system kill session <psid>, <serial> immediate.
    In OWB 10.2 these parameters are visible when you look at running mappings, in 10.1 you don't see them .
    I can get some info on the running mapping from the table wb_rt_audit_executions but this does not contain sid nor serial.
    Does anybody know the link between this table and sid an serial or another way to get them so I can kill the session?

    I have no owb 10.1 at hand, but can you just stop the execution in the design center?
    Or I think you can get the job id of the execution, then you can just use "OMBSTOP <job_id>" to stop that...
    Thanks,
    Shawn

  • I have problom to running maps.when i put any direction route a massage popup. Direction could not be found between these location. I am ussing ios 6. Any body plz help me

    I have problom to running maps.when i put any direction route a massage popup. Direction could not be found between these location. I am ussing ios 6. Any body plz help me

    Read here, as such is not supported everywhere:
    http://www.apple.com/ios/feature-availability/

  • Running MAP on Windows Server 2003

    Hi, 
    Need to run MAP on a domain with AD on Windows Server 2003.
    Is there an older version of MAP that I can run? Seems to be around v5 that supported WS 2003... But I cant find download link. 
    We also tried running MAP from a domain with AD on WS 2012 but there is no trust relationship between WS 2003 domain and WS 2012 domain. However, we can ping the devices from WS 2012 domain and the ping is successful. When we try running MAP, we get an
    error saying "Wizard cant connect to AD. Specify diffferent domain...". Domain creds is not an issue.. 
    Any help would be appreciated. 
    Thanks! =) 

    Hi Pankaj Dhoot,
    Based on current situation, please let me confirm when the task schedule runs twice one time, did both runs
    successfully?
    Meanwhile, please refer to the following article and check if you can get some related log. It may help us
    to narrow down this issue.
    View a log of past scheduled tasks
    http://technet.microsoft.com/en-us/library/cc783861(v=ws.10).aspx
    Hope this helps.
    Best regards,
    Justin Gu

  • Error in Running map from Jdeveloper Weblogic -MAPVIEWER-05523--06036

    Hi,
    I have deployed Mapviewer.ear on an integrated weblogic server and loaded mvdemo sample dataset into my db, and made required changes in map_data_source in mapViewerConfig.xml.
    Now, I am able to run all the demo apps and tutorial. However, when I run the map code(basic map) in a jspx from Jdeveloper, I am getting the below error in a pop-up in the browser.
    "[MVGlobalVariables.getMapCacheConfig]*MAPVIEWER-05523*:Cannot process response from MapViewer server.(MVDEMO.DEMO_MAP:MAPVIEWER-06036: MapTileServer is not read. Please try again later.)"
    In the log, error is "<CacheInstanceConfig> <loadCacheStorageDef> Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory."
    I am using Jdeveloper version 11.1.1.4.
    What could be the issue, esp when demos are running successfully on the same server.

    Ok, so the error comes cause the application is trying to get the tile layer from the server while the Mapviewer server is not ready.
    So make sure you run your application once mapviewer server is up and running.
    Now, for the problem that you get a blank page it is propably a javascript error as mapviewer gives no errors.
    I have made a mistake in the previous post in the HTML section of my code. Give it a try now.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>testMap1</title>
    <script language="Javascript" type="text/javascript" src="/mapviewer/fsmc/jslib/oraclemaps.js"> </script>
    <script type="text/javascript">
    var basemap1 = new MVMapTileLayer("mvdemo.demo_map");
    function showMap()
    //maybe formating is taking away the plus symbols. just make sure the base url is formatted correctly
    var baseURL = "http://" + document.location.host + "/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    var mapZoom = 5;
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(basemap1);
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("EAST");
    mapview.display();
    </script>
    </head>
    <body onload="showMap()">
    <div id="map"
    </div>
    </body>
    </html>
    if you still get a blank page. Try using firefox with firebug and see what errors rise up in firebug. You should be able to find out what goes wrong with javascript.
    Edited by: P.T on 17 Μαϊ 2011 5:11 πμ
    Edited by: P.T on 17 Μαϊ 2011 5:15 πμ
    Edited by: P.T on 17 Μαϊ 2011 5:15 πμ

  • Long running mapping execution...?

    I have a mapping that selects from a 40+ milion row table over a database link but with the FILTER Operator I'm using it should only bring back about 20,000 rows.
    The mapping has been executing for over 2 hours :-(
    In checking the remote system, there are no active sessions from my target server although there is one (1) INACTIVE one. I looked at the previous SQL that was run based on the info in V$SESSION and it was part of my selection. This was verified by looking at the Runtime Audit Browser and seeing the initial set of rows inserted into my table.
    In looking at my target server I see several (about 10) processes belonging to my target schema user all with an ACTIVE status.
    My mapping is still executing in Deployment Manager.
    I am the only one on this system at the moment and the four (4) CPU's are running at about 40% idle so the system is working pretty hard at something.
    My question is, what is it doing?????
    I am able to run a very similar query to see the counts of rows that should be returned and the queries come back in less than one (1) minute.
    The mapping basically selects all rows within a list of document types where a flag column is not a 'P' in this case OR where the flag is a 'P' and the row was updated within the past three (3) days based on a date column that is updated whenever the row is modified.
    I have a FILTER operator that splits the above two populations, two (2) standard transformations that do a TRIM and a TO_NUMBER on two (2) columns and then I TRUNCATE/INSERT into table #1 and an UPDATE/INSERT into table #2.
    I have a view defined over the two resultant tables to present the entire population to the user.
    I initially had the view being INSERTED into in the mapping but flash came to dawn that I didn't need to do that since the view was defined already as the UNION ALL of the two table pieces. I changed the update type to NONE but left the view operator in the mapping for documentation.
    The performance of this mapping is totally unacceptable so it's important for me to learn what is going on so I don't do it again and so I can fix this one.
    As usual any help is greatly appreciated.
    Gary

    Please disregard.
    I had taken out the INSERT into the view but left in the SETOP operator that was doing the UNION ALL in to my view object but with an insert mode set to NONE.
    It appears the process was spinning.
    If anyone has an explanation or a method of safely killing the job that was (and still is) spinning but not apparently doing anything, I'd greatly appreciate hearing about it.
    The sessions I looked at in OEM didn't tell me much as I wasn't sure who was actually running the process. Was it my Runtime Repository user, my Runtime User user or my Target Schema owner?
    I wasn't sure which one(s) I could safely kill if any of them.
    Thanks for any help.
    Gary

  • Problem in running mapping in OWB using an expert

    Hi All,
    My requirement is to run the mapping in OWB using an expert.I created an expert using OWB and associated the mapping with the expert using Add/Remove expert option.I validated and generated the expert.But when i run the expert through start option in design center then my target table in the mapping does not get loaded.This shows that i am unable to associate my expert with mapping.
    In expert editor, i linked start_task with custom_dialog_task which is again linked with the end_task.It seems i am missing some steps.Please let me know what all steps need to be followed in expert editor interface to run the mapping.Response is awaited.
    Thanks in advance....

    Hi,
    Thanks ggainey and stevejluke for your suggestions.And Sorry for my faults.I am sending the corrected code.Also I am new to this java fields and forums.So please consider that also
    Code:
    import java.io.*;
    import java.lang.*;
    public class AddToVersionControl
    public static void main(String[] args)
    Process pro =null;
    String result="";
    Runtime rt = Runtime.getRuntime();
    try{
    String cmnd ="sh version.sh";
    System.out.println("the command is"+cmnd);
    pro=rt.exec(cmnd);
    String results = null;
    OutputStream os=pro.getOutputStream();
    InputStream is = pro.getInputStream();
    StringBuffer bfstr = new StringBuffer();
    int ch=0;
    while ((ch=is.read()) != -1)
    bfstr.append((char)ch);
    results = new String(bfstr.toString());
    is.close();
    System.out.println(results);
    catch(Exception e)
    e.printStackTrace();
    }

  • Long running mapping when using Mapping Transformations

    Hi,
    I have a source table with 8,000 records which I would like to merge using the update/insert operator into my target table. This simple operation takes 15 sec which I am very happy with. The problem I have is when I try to call a series of Functions using Mapping Transformations - when I do this the performance of the mapping is dire - it now takes longer than 40min!!!
    The strange thing is that when I generate the intermediate result and run the code (not including the Merge in to my Target table) in TOAD, the results come back quickly? So I am not sure if there is a problem with the fact that I am using Mapping Transformations or if I am using a Merge on the Target Table...
    I have taken off Parrallel hints on the target table and applied the relevant indexes.
    I am really lost and any help would be most appreciated.
    Regards
    Mitesh

    If you could let us know what kind of functions you are using? I had experienced the same problem while calling a function using a Mapping Transformation. The functions used a cursor and for every source record these function were getting called and the cursor was opened and closed, which caused a performance bottleneck.
    Better write the functions with direct SQLs and no cursors, if possible or use a temporary table, joiner operator or look up operator to achieve the task.
    This should reduce the execution time considerably.
    Regards
    Arnab

  • Auto run mapping

    Hi all,
    Pls help me.
    I have a mapping in OWB. I want it will be run auto each day at 5hAM. How to do that?
    Pls help me
    Thank you very much

    Hi Nguyen,
    Don't know all the possibilities here, but one thing you can try is to define a job in which you call the mapping.
    You have to be able to run the mapping in PL/SQL though, this needs some additional code (see topic "Execute a mapping outside OWB" at
    Execute a mapping outside OWB or go to the sample code page of the Oracle Warehouse Builder Documentation page and look for run_my_owb_stuff).
    Job definition and handling can be done from OEM (oracle Enterprise Manager), or some other tool (TOAD or something similar).
    Hope this helps.
    Good luck, Patrick
    ps To the Oracle OWB-team, I'm using OWB 9.2.0.2.8 and I have not been able to find a nice chapter on running (executing) OWB-mappings in the OWB User Guide Release 9.2 (Part No. B10996-01) either. Chapter 14 is closest but only discusses running mappings from within OWB. Is there a document that describes all possibilities in running mappings?

  • N85 crash! won't run maps, and ovi and themes

    so,
    i've got n85, had it for about 6 months, no problem, love this phone, 2 days ago after synching my phone to my laptop, my phone's theme changed, it was in pc suite mode, i didn't think much of it, then after disconnecting it, i realized all my  applications are gone, they're still on the memory card but don't show in the menu, ovi maps dont run at all, i click on it nothing happens, when i try to connect to ovi, it says "packet data connection not available" and doesn't connect, when i run gmaps or opera it says this "maximum number of connections in use. close an active connection first." **bleep**? i have had for 6 months no problems and now...doesn't connect to phone's browser either and i just don't know what to do
    here is what i did:
    1.soft reset
    2.factory settings
    3.hard reset
    4.memory card reformat
    nothing works....nokia support sucks

    Using your install DVDs do an Archive and Install. This will install a new OS without deleting the old one or any of your pre exiting data.
    In defense of the MacBook, I have had mine for a bit over 2 years and have had no trouble at all. If power supplys burning up was any issue to speak of there would be lawsuits galore as this is one area (safety) that will not be accepted by any company due to liability. Apple actually discontinued using LiIon batteries in one laptop model years ago because one single battery caught on fire, and this was in an Apple lab, not in a users computer.
    That all of your friends and you have all had your power supplies catch on fire seems extremely unlikely.
    It also seems unlikely that an Apple rep would tell you that crashing twice a day is normal. It is not.
    As far as lost data due to a bad hard drive, every computer user should always have and use an external backup hard drive. It is foolish to assume that your hard drive will never fail. All hard drives, any brand computer, are going to fail unless their use is simply discontinued before they fail. Hard drives have a 100% failure rate. that is the nature of the beast. However, most people operate as though the drive cannot fail and anything on it will never be lost. This is just not reality.
    Apple has replaced many cracked cases even if the warranty has expired. You should ask an Apple rep about this, however, don't ask the rep that told you it is normal for your MacBook to crash three times a day.
    My case has never cracked or warped or bulged or anything else in two years time. I cannot help but wonder what it takes for this to happen.
    (End of my venting)

  • IPhone drops network when running maps/gps!!

    I have a Verizon iPhone 4S and ive recently noticed that when im running google maps or anything that requires a gps lock, my iphone's signal drops. I get a searching message And loose my connectivity. If i leave maps running in the background and try to place a call, my phone drops the call and looses signal. I understand that i can't talk and surf at the same time. But i when running any app that requires a gps signal my phone looses all connection. I cannot place a call cause it drops the signal. The only way for me to place a call is to close maps all together. Faulty gps chip?!! Phone has been restored and called verizon to reactivate my phone. No difference. Help!!

    One more update:
    No help from the Genius Bar.  They wanted to swap the phone, but I couldn't see the logic in it, based on having read reports on here of others with the same problem.  I don't think it's a hardware issue.
    So, last night, I disabled Siri, and a couple of the other non-critical Location Services features, and while that didn't seem to fix it last night, this morning everything is working properly (minus Siri).  That's new behavior, considering that I didn't have to do a system restore to toggle the behavior.
    I expect a new version of iOS 5.x will be coming soon...

  • OWB Run mapping of another project in the current project

    I have to projects (one for the Phase 1 and one for the Phase 2 area).
    In every project I have one process flow for each mapping.
    Now I want to create a process flow in the first project which calls a process (contains a simple mapping)of the second project.
    How can this be achieved?
    Regards
    Thanach

    ... we do a trick. We copy a mapping from project 1 and paste it to project 2. Than we edit it and delete all unnecessary operators exept the table we want to reuse in the project 2. After this we add the necessary operators and deploy this mapping into the same target as project 1.
    I think this approach will work for processflows too. It'S a workaround because you can not choose an object from one project in another without this trick.
    We have one project for each version, so project 2 should only includes the deltas to the version in project 1 and use the other objects from project 1.
    Regards,
    Detlef

  • Depreciation run :Map depreciation expense line with acc. depreciation line

    Dear all my friends,
    after execute Depreciation run, i don't know which line items are matched together.
    i mean, can you show me which depreciation expense line match to which acc. depreciation line.
    many thanks !

    Hi
    start the depreciation log AFBP ... that´ll provide you this information.
    Regards,
    Markus

  • "Map is Offline"  I Cannot Run Map

    I cannot open Map in LR 5.6  I'm using a Dell 8500 with Win7 .  With LR 4, I could open Map and plot images.  With 5.6, when I click on Map, I get "Map is Offline," with the rotating circle.
    I am online, with cable connection to broadband.  I can get everything else except LR Map, including Google Earth and Google Maps.  I have reinstalled LR and Adobe Air and restarted the computer.

    Hi Jerryc41,
    It might help to accept the Application "Lightroom 5" in your Firewall.
    Sometimes Security programs will not allow activity from other application trying to connect to the internet.
    You can also try with a different Connection (Switching from Wifi to Cable connection)
    Hope this helps!

  • How to run a mapping from plsql procedure in some common group?

    Hi,
    I have a Workflow process, when I running him from OWB I saw in OWB Browser first the name of this process and under this process mappings that in this process.
    In one mapping I have some pre-mapping procedure that doing something and prepare some parameters for other mapping and run it (steps for running a mapping I take from sqlplus_exec_template.sql script) and I can't put this mapping into Workflow process for some reasons.
    But in OWB browser this mapping doesn't belong to my Workflow process, they located on the one level.
    How to modify steps for running mapping so that my mapping is located under this Workflow process in OWB Browser?

    Hi,
    It sounds like what you are trying to do, is run one mapping in a pre-mapping process of another mapping. You use a wrapper that implements sqlplus_exec_template.sql in PL/SQL. Is that correct?
    I don't think that by the way you execute this mapping, it ends up in the context of the process flow. The reason is because according to Warehouse Builder the mapping is being invoked standalone (through the wrapper that implements the template). As a result, the context in which Warehouse Builder would log the messages is lost.
    What I suggest you do (assuming I understand the problem correctly), is run the mapping as a separate mapping in the process flow. Because in the current release we do not support passing output parameters in the process flow, you will have to (temporarily) store the results of the first mapping in a table and pick it up from there in the other mapping. In the next major release (autumn 2004) we will support passing parameters between activities.
    Thanks,
    Mark.

Maybe you are looking for

  • Desktop wallpaper on external drive not retained after reboot

    Hi all, On rebooting my Late '12 iMac, the desktop wallpaper always reverts back to the default Yosemite one. The wallpaper is stored in a folder on my USB 3.0 ext drive, and when the desktop appears the icon is there for the external drive and ai ca

  • Message interface not exist in any software components on business system

    Hi Experts, In development-environment we have an interface (SAP->XI->3rd party system) with a conditional receiver determination (based upon a fieldvalue in RFC that comes from SAP,  "CONTROL_RECEIPE_DOWNLOAD"). This functions properly in developmen

  • How to use keys(f1,f2 etc)

    hi experts , i have a senario . i want to do some logic,  based on keyboard keys ( like f1 , f2 etc )in our basic list . can u help me with some example ?. advance wishes , sumanth

  • Exchange Queue issues

    Hi we have 2 Exchange 2010 servers out of which one has a Mail Queue issue. whenever we view queue viewer through console or through shell with Get-queue, we get error like "Exchange can't connect to the mail queue check the transport service is star

  • Where are Grapher Examples stored?

    Grapher.app has several examples of equations listed in the Toolbar. After opening one, modifying it, and changing the name, I accidentally left the default location set in the Save File window which saves to the Examples list. Now the file appears a