Groovy Script error - launch of workload dynamically

Hi all

I'm trying to plan kickoff to load dynamically to help after the groovy script

com of the packaging. LoadPlan.OdiTool;

Import oracle.odi.core.OdiInstance;

Import oracle.odi.core.config.MasterRepositoryDbInfo;

Import oracle.odi.core.config.OdiInstanceConfig;

Import oracle.odi.core.config.PoolingAttributes;

Import oracle.odi.core.config.WorkRepositoryDbInfo;

Import oracle.odi.core.persistence.transaction.ITransactionStatus;

Import oracle.odi.core.persistence.transaction.support.DefaultTransactionDefinition;

Import oracle.odi.core.security.Authentication;

Import oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker;

Import oracle.odi.domain.runtime.loadplan.OdiLoadPlan;

Oracle.odi.domain.runtime.loadplan.OdiLoadPlan import. *;

Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStep;

Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepContainer;

Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanStepSerial;

Import oracle.odi.domain.runtime.loadplan.finder.IOdiLoadPlanFinder;

Import oracle.odi.domain.runtime.loadplan.OdiLoadPlanSchedule;

Oracle.odi.runtime.agent.invocation import. *;

Oracle.odi.runtime.agent.invocation.StartupParams import. *;

Import oracle.odi.runtime.agent.invocation.LoadPlanStartupParams;

import java.util.HashMap;

import java.util.Map;

public class CustomLoadPlan {}

Public Shared Sub main (String [] args) {}

String Master_User = 'Master_User;

String Master_Pass = "Master_Pass";

String WorkRep = "WORKREP";

String Odi_User = "myuser";

String Odi_Pass = 'mypass ';

MasterRepositoryDbInfo masterInfo = new MasterRepositoryDbInfo (Url, driver, Master_User, Master_Pass.toCharArray (), PoolingAttributes()) new;

WorkInfo WorkRepositoryDbInfo = new WorkRepositoryDbInfo (WorkRep, new PoolingAttributes());

OdiInstance odiInstance is OdiInstance.createInstance (new OdiInstanceConfig(masterInfo,workInfo));.

Authentication auth = odiInstance.getSecurityManager () .createAuthentication (Odi_User, Odi_Pass.toCharArray ());

odiInstance.getSecurityManager () .setCurrentThreadAuthentication (auth);

ITransactionStatus trans = odiInstance.getTransactionManager () .getTransaction (new DefaultTransactionDefinition());

Officer of RemoteRuntimeAgentInvoker = new RemoteRuntimeAgentInvoker ("http://localhost", "myuser", "mypassword".toCharArray ());

Map paramsValues = new HashMap();

LpProps properties = new Properties ();

LoadPlanStartupParams startupParams = new LoadPlanStartupParams (paramsValues);

         

LoadPlan research

OdiLoadPlan odiLoadPlan = (odiInstance.getTransactionalEntityManager () .getFinder (OdiLoadPlan.class)) .findByName (planName) (IOdiLoadPlanFinder);

Implementation of the Plan of care

ExecutionInfo res = agent.invokeStartLoadPlan (planName, 'GLOBAL', startupParams, "," WORKREP", lpProps, 1);

}

And get the following error

org.codehaus.groovy.runtime.InvokerInvocationException: oracle.odi.runtime.agent.invocation.InvocationException: http://host.com:port/OracleDIAgent:org.apache.commons.httpclient.ProtocolException: The Host of the server.com has not responded to a valid HTTP response

at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:95)

at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:233)

at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1302)

at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:759)

at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:271)

at groovy.lang.GroovyShell.run(GroovyShell.java:513)

at groovy.lang.GroovyShell.run(GroovyShell.java:170)

at oracle.odi.ui.groovy.GroovyScriptRunInstance.run(GroovyScriptRunInstance.java:228)

Caused by: oracle.odi.runtime.agent.invocation.InvocationException: http://host:port2/OracleDIAgent:org.apache.commons.httpclient.ProtocolException: The Host of the server.com has not responded to a valid HTTP response

Any idea a pointer what is wrong in the script. Please note that my Agent is up and running, I am able to launch the studio ODi LoadPlan. I am also able to join annex to load the plan through the groovy script. So looks like something wrong in the script.

Any help is greatly appreciated.

Thanks and greetings

I was able to solve the issue myself. It was two minor problems.

(1) agent was running over HTTPS not http like I was trying in the script.

(2) the name of the agent must be column of the Web Application context, rather than the column name set Agent screen.

After the correction of these two options, I was able to launch the Plan of loading of the groovy script.

7 regards thanks

Tags: Business Intelligence

Similar Questions

  • Whenever I am trying to find information about the album in Windows Media Player I get Script error

    Original title: tagging music in WMP

    Whenever I try to find information about the album in WMP, I get an error message that says:

    An error has occurred in the script on this page

    Line: 1

    Tank: 243

    Error: Automation server can't create object

    Code: 0

    URL: http://fai.music.metaservices.microsoft.com/FAI/scripts/default.js

    Do you want to continue?   Yes or no

    (Sorry, didn't know how to do the screenshot)

    This has happened for several weeks now

    Hi,

    ·         What operating system do you use?

    ·         What version of Windows Media Player do you use?

    Method 1:

    Follow these steps and check if that helps:

    (a) launch Windows MediaPlayer

    (b) click on the file-> tools-> Options-> tab security->

    Uncheck the box c) the following

    (d) to run the command script when it is present

    (e) the script commands and rich media streams runs when the player is in a Web page

    Method 2:

    If the problem persists, disable script debugging in Internet Explorer, and then check the issue.

    a. open Internet Explorer, click Tools and then click Internet Options.

    b. in the Internet Options dialog box, click the Advanced tab.

    c. Click to select the script turn off debugging (Internet Explorer) and disable script debugging (other) check boxes, and then click to clear the display a notification of every script error box.

    d. click OK to close the Internet Options dialog box.

    Review the links below, I'm sure that this will help solve your problem better:

    How to fix script errors in Internet Explorer on Windows computers?
    http://support.Microsoft.com/kb/308260

  • couldn't update for windows XP / IE Script errors

    My OS is XP Professional 2003 and there has never been an automatic priority update Windows do not install so far. The update is KB981793. I looked and it is essentially an update of time thingy for the computer, however, since the first failure to load it keeps loading in my bar, next to my clock and tells me that the updates are ready for my computer and it is constantly the same one that fails. So no matter how many times I try to install it, 5 min later, he's back and I cannot make install or get out. My computer has all the current updates and SP3 is installed.
    My second problem now, I hope that when you know what you are doing, is a simple explanation and fix. I'm getting now constantly an "IE Script error" on virtually every Web page I'm opening.  A few pages that I must accept the run script 2 to 10 times button to clear all the Script error pop up that took place on this page. I do not understand what a script error is actually or where it is produced or, more importantly, how messed up he tells me my computer or a program is. 6 months ago I maybe got 1 or 2 errors per week, in the last days 4-6, it is multiplied by experience of script. The current pop-up reads "an error has occurred in the script on this page." Then he asks "do you want to continue running the script on this page? Yes or no, and of course you say yes, so you can continue then within 5-10 seconds later, a small pop up in the corner said "IE has encountered a problem and needs to close", then he said "this tab has been recovered. A problem with this webpage caused IE to close and reopen the tab. "That is usually held twice in a row. Then you're almost through with Internet Explorer running and you will need to re launch.  Can you give me pls advise on what I should do. TYVM

    A1. See the section "Updates since the previous cumulative Windows time zone update" on this page:http://support.microsoft.com/kb/981793

    If you do NOT live in one of these zones, you can hide this update optional, not security.

    A2. You will find support for IE in this forum: http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/threads

    That being said...

    IE tools | Internet Options | Advanced | Disable the debug script)<=check nable="" this="" option);="" display="" a="" notification="" about="" every="" script="" error=""><=uncheck isable="" this="" option)="" |="" ok="" your="" way="">

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • Script error when you try to install Flash Player 18.

    , I get a script error when you try to install Flash Player 18. The error box says "line of Script error 202 tank 13 Unable to set property"innerHTML"undefined or null references code 0 URL C://.../Downloads/flashplayer18ax_ra_install.exe/160" and "undefined" is on the screen of the installer after I closed the error box.  I'm on a Dell Inspiron, IE 11.0.9600.17843, Windows 7 Home Premium Svc Pack 1.

    I get this same error box any installer that I use for Flash Player 18.  The error box appears immediately after I launch the installer. I reinstalled flash player 17 successfully two days without problem, but of course Flash Player 17 does not now work on web sites.  I ran the Adobe flash player Uninstaller a couple of times between tries - same result, same script error box.  I've lost count of how many times I tried to install it and my fingers are raw...

    Roughly the same time the error box appears or a second or later, my Norton Insight pops up a box that says that Norton has not enough information about this program (the installation program, I guess), to recommend this program, but I don't think that it prevents the installation program to run. Or maybe it is?

    This problem seems to come from the installer of Flash Player, but I don't see anything from Adobe on this matter.  I tried running as administrator, I disabled the parts of Norton to see if it is this error source - I've searched for hours on the internet and I can't find answers.  I've never had a Flash Player update problem so far.  Anyone can understand this or point me in the right direction?   Thank you.

    Hi all

    Installer online team was interested in to this yet and the DPI setting as the culprit.  If the DPI setting is not set to 100%, 125%, 150% or 200% returns the script error.  If you are DPI setting is set to something else, assign him one of them please and Setup online should work.  The team is working on a fix for this.

    To check/change the DPI setting:

    1. Start the control panel and go to Control Panel\All Control Panel Items\Display
    2. In the left menu, select set size custom text (PPP)
    3. In the Windows Setup custom DPI select 100%, 125%, 150% or 200% in the menu drop-down
    4. Click OK
    5. Select apply
    6. Open a session/disable
    7. Online installer should now run without displaying the script error.

    --

    Maria

  • Problem installing VmWare Player Vista slot "in IE script error."

    Hi all

    Forum of the I'm new in and I'm already bothered...

    I want to install VmWare Player and the big problem when I run

    installing the launch goes well I aux.1 location

    installation and the!

    A dialog box opens and says "internet explore the script error" (error vmware image)

    So I say yes or no and the window grey (grey on vmware image)

    Comment do pour installation...?

    I said that I was running VISTA ULTIMATE EDITION and I did the updates of windows...

    I'm at Court of imagination... sniiiiif!

    Thanks in advance for your help

    Kind regards

    Denis

    OK, I'm back to zero:

    -creates "c:\temp".

    -copy of VMware-player - 3.1.2 - 301548.exe in c:\temp

    -executes the command "c:\temp\VMware-player-3.1.2-301548.exe/e c:\temp\player".

    -executes the command "c:\temp\player\vmware player.msi".

    This should settle down.

  • Redraw tons of Script errors and slow

    Recently, I set CS 5.5 with Bridge 4.1.0.54 on a new MacBook Pro.

    When I launch Bridge I get the following messages:

    screenshot 2012-03-01 at 9.52.34 PM.jpg

    screenshot 2012-03-01 at 10.05.04 PM.jpg

    screenshot 2012-02-29 at 3.11.44 PM.jpg

    I am confident of a few things. First of all, it is obviously somewhat related to this issue:

    http://forums.Adobe.com/message/3083307

    Secondly, it has nothing to do with the CFS or Samba share.

    Finally, the error has something to do with the output module script - if I start without it, no errors.

    Currently I have my MBP installation with two drives. SSD for the system software and a second SATA drive for content. All software from my system are on the boot SSD drive, however, my users folder is divided between the two. All except ~/users/xxx/library is symbolicly linked on the second disc.

    If you look carefully at the above referenced thread, all errors are the same except for the error "could not create. In the thread, it lists a specific user, my error lists the Volumes/Null /...

    Here's what I've tried so far:

    Reset the app

    Trashed the prefs.

    Start without scripts

    reinstalled all of the CS Suite 5.5 after uninstalling and using the cleaning tool

    To add insult to injury, when the output script is disabled and bridge does not charge, it makes it very slow to the point where it is not usalbe. It should also have a ton of redraw problems.

    Any advice?

    I think I can find a workaround.

    I've been racking my brain over the past days to understand it. I've tried at least a dozen patches permsissions, through the apple utility and manually. I reinstalled the bridge and CS 5.5 three times using the cleaner script and a new installation. NOTHING.

    So, I went back to the original error message:

    One thing I noticed was that whenever bridge began, it created a folder in /volumes called 'null '. I checked three different installation program for Mac that it the same mine and NONE of them has created this folder when you start bridge.

    I still don't understand why my laptop does this.

    However, I looked at the error and it seemed to me that the bridge was looking for a path that does not exist, which was null/volumes / / Adobe/Adobe Bridge CS5.1/Adobe Output Module/Mediagallery

    the path of Adobe/Adobe Bridge CS5.1 /... is the same way that my folder ~/library/application support /... for adobe.

    First, I created a regular alias in this folder to create the false path. No dice. Then I tried a symlink to creat the fake/volumes/null/Adobe/Adobe Bridge CS5.1 road / Adobe Output Module / Mediagallery

    Voila. Worked like a charm. I can now start Bridge without errors, script errors, etc. I have also all the features of my exit sign back and I am able to use it without having the disk space error.

    Now to understand why bridge creates a folder "Null."

  • Script error - how to insulate?

    I have published a number of Cap 3 movies that initially as imported PowerPoint slides. No problems encountered with these until today. After the publication of my last such film, when I try to run it, I get the following Adobe Flash Player 10 error message:

    "A script in this movie is causing Adobe Flash Player 10 to run slowly. It continues to run, your computer may become unresponsive. You want to cancel the script? »

    If I choose to cancel it, the film ends. I'm afraid to try not abandonment.

    What appears on the screen is the typical launch without problem sequence and the skin with no apparent problems, but the movie freezes at the beginning of the first slide and the slide image is gray.

    Is it possible for me to isolate the script error so that I can correct my mistake?

    I would prefer not to have to rebuild this movie from scratch.

    Additional information:

    3, Windows XP, Microsoft PowerPoint 2007 slides import captive running. When I publish the movie, I put the Flash Player 7 because we have registered who are extremely low.

    If I saw the project as a whole before publishing, I encounter the same problem. However, if I went through the cycle of the preview, preview only five slides at once, everything seems to work as I expect.

    Any help will be greatly appreciated.

    Thank you!!

    Yoann chaudanson

    Rick,

    Thanks a lot for the quick response. Not exactly what I was hoping, but at least I know what my options are.

    Very much appreciated.

    Yoann chaudanson

  • Script errors

    How can I fix it

    Please post a screenshot of this script error message.

    https://support.Mozilla.org/en-us/KB/how-do-i-create-screenshot-my-problem

    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    
    Then use the Browse .... button below the Post a Reply text box to upload the screenshot.
    
  • I get script error java application "too much recursion" and they come in 4. This happened after the upgrade to firefox

    Hello

    I've recently upgraded to firefox 35, after this upgrade, whenever I log on tumblr, I get this "java script application error too much recursion" and they come in 4 (I have to click on each one on top of the other). I am able to connect and do my normal stuff, but whenever I move to another page inside of tumblr, the same java script error appears and I have to click again to make them disappear.
    This seems to happen only on this website (tumblr).

    any help will be appreciated.
    Thank you

    for anyone else having this problem... Fixed it got...
    Xensemble app for tumblrto tumblr users, if the application that is causing the prob ' java script application error too much recursion ".
    Xensemble has finally solved the extension of the application and all what you need to do is to download the fixed xensemble extension on their site.

    Thank you

  • script error &lt; button id = "abp-notification-Yes" label = "" &amp; notification.button.yes; "/ &gt; appear at the bottom of my browser Firefox." How can I get rid of this?

    When I open Firefox, I get a script error in the bottom of the browser (not in the status bar or of the 'frame', but in the current window. He cut my pages right there and just reads

    <button id="abp-notification-yes" label="&notification.button.yes;"/>
     _ _ _ _ _ _ ^
    

    My Firefox is updated (according to the site). I even deleted and reinstalled just to reappear after re installation. I tried 3 times with 'fresh' facilities (Nothing saved from the previous installation. Please help me get rid of this problem. Thank you

    It was in fact TrueBlock 2.0.2. I disabled it and my problem is now gone. I re-enabled it and it pops up. Thanks for the reply. He started me in the right direction.

  • script error

    script error? Try open http://happygift.uniqlo.com/app/m/ or http://happygift.uniqlo.com/app/ and choose "Tokyo" option button, it won't work. other browsers can do.

    the problem is the flash player, not firefox. To solve the problem:

    1. to go to a site with a flash video, such as youtube
    2. right click on the video and select "Global settings", this will open the configuration flash drive Manager
    3. click on the advance tab
    4. under 'data navigation and settings', click 'clear all '.

    That's it, you'll notice wil firefox run smoothly once more. If after a while firefox slow to respond again, just do the same thing to fix. Good luck!!!

  • 16.0.2 does not correctly load due to the AVG script error

    I upgraded 16.0.2 about half an hour ago (had no internet access for 3 weeks, so end update of Firefox) and found I get a script error: "a script on this page error is busy..." Chrome://AVG/content/js:532'). I guess that this refers to the installation of taskbar and search for AVG SafeSearch. The only way I can use Firefox is with the default settings, which disables the AVG SafeSearch. Can I get the taskbar of the AVG and 16.0.2 to work together? Any help, greatly appreciated.

    I got the below info earlier with Firefox default setting as the tab would not load with the taskbar enabled.

    http://forums.Avg.com/ww-en/AVG-forums?sec=thread & Act = Show & ID = 206731

    We regret to inform you that the AVG Safe Search add-on will not be available for Mozilla Firefox 13 (and newer) browser.
    
    So verdict icons rating websites will no longer be available in Firefox 13 and newer.
    
    AVG Surf-shield and AVG Secure Search (isearch.avg.com) component's support for Firefox Browser will continue. Security level of Firefox user will not decrease.
    
  • Script error does not YouTube HTML5

    With the YouTube HTML5 (http://www.youtube.com/html5 ) mode is activated, any video that is played with the HTML5 player will give me a script error does not respond on "" Script: http://s.ytimg.com/yt/jsbin/html5player-vflGWJljH.js:58".

    Note that not all videos play on the HTML5 player. Try this video: http://www.youtube.com/watch?v=cdgQpa1pUUE

    Howard Forum Wiki gives me unresponsive script error as well. Go in http://www.howardforums.com/showwiki.php?title=Android+Wiki: on and click on the Discussion tab and I get an error of "Script: http://www.howardforums.com/clientscript/vault/reset.js?v=3014:285"script. "

    Google knows about the issue, and they should be updating the Web site later today.

  • I get script errors repeated, especially because of YouTube videos.

    Since updating to 10.0.2 I get a ridiculous amount of script errors. It happens usually when you try to load a video from YouTube, even if not on YouTube and embedded on a forum. The browser everything will freeze for about 40 seconds and then a script error will pop up saying a script on the page is not responding and stop script or continue. No matter who I choose, the browser will then freeze for another 40 seconds, then the YouTube video will load... slow and ended up playing. He does this with a few other things too, such as Facebook, as the buttons on some sites. I have not had any problems before the update yesterday.

    Finally, I fixed that by running the uninstall program flash from Adobe, I have downloaded, restart and then reinstall the latest version of flash.

  • "svchost" and "script" error on my Tecra S2

    I have a Tecra S2. When I boot, I get a svchost.exe error and (sometimes) an on toshiba pc health script error. Can someone help me with this problem?
    Its really bugging me.

    Hello

    Have you checked the operating system to viruses?
    Did you use an anti-virus program?
    Well, I found information that could be a horse of TROJAN TOFGER-AP.
    http://www.pcreview.co.UK/startup/Svchost.exe.php

    In my opinion, you need to update your antivirus program and do a full scan of your device.

    Best regards

Maybe you are looking for