Wlst obiee restart .py script errors when cmd line; ok if type cmds

I pulled the scripts that are posted at http://obiee101.blogspot.com/2011/08/obiee-wlst-useful-scripts.html to automate some admin tasks. I downloaded and installed the zip version of wl s106_dev on my desktop. When I start wlst from command line and type commands they work just fine. When I try to run them from the cmd line as "java weblogic.WLST RestartOBI.py" I get error message shown below...???
Thanks
------------script start---------------------
connect('weblogic','welcome1','t3://obi5.mnapps.state.mn.us:7101',adminServerName='AdminServer');
print 'Connecting to Domain ...'
try:
domainCustom()
except:
print 'Already in domainCustom'
cd('..\..')
print 'Go to biee admin domain'
cd('oracle.biee.admin')
print 'Go to coreapplication_obips1 Mbean'
cd('oracle.biee.admin:oracleInstance=EPM91TD,type=BIDomain.BIInstanceDeployment.BIComponent,biInstance=coreapplication,process=coreapplication_obis1,group=Service')
------------script end---------------------
---works fine if it start wlst and type commands
when runing "java weblogic.WLST RestartOBI.py"
-----------------------------output from command line execution--------------------------
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Error: No domain or domain template has been read.
Connecting to Domain ...
You will need to be connected to a running server to execute this command
Go to biee admin domain
Error: No domain or domain template has been read.
Go to coreapplication_obips1 Mbean
Thanks

Finally found a solution: removing the import of the wlstModule and calling the wlst commands directly works.
When using the wlstModule, I was in the wrong namespace, where there was no theInterpreter.

Similar Messages

  • Still having a problem with Firefox going to "restart a session" even after re-installing Firefox. Keeps giving me "script error" when closing down. How do I fix this?

    As stated previously...I have removed and re-installed Firefox, but am still getting "script error" when shutting it down and going to "restore session" when opening. Please advise what to do about this problem. Thank you.

    Firefox 21 and Firefox 22 running on Windows 7 have been reported to take a long time to "wake up" from sleep. I realize hibernation is different than sleep, but... this is the closest match for your description.
    Some users have reported that this problem is resolved in Firefox 23 (currently in beta). Others have had inconsistent luck with minimizing Firefox before letting Windows sleep and other measures.
    Please check out this (very long) thread for more information: [https://support.mozilla.org/questions/961898 browser freezes after resuming from sleep]
    Or jump to the part about Firefox 23: https://support.mozilla.org/questions/961898?page=3#answer-457321
    The fact that this just started recently suggests perhaps it is related to another program or update, but I don't think anyone has confirmed the exact interaction that causes the problem.

  • Scripting error when opening Interactive Form

    Hi all,
    I'm experimenting with adobe interactive forms (in web dynpro), but things aren't going as expected. I'm getting scripting errors when clicking (in Internet Explorer) on a link that opens a view with an interactive form. Please see below for details.
    I've found a similar error description /thread/80059 [original link is broken], but the context is different. It seems to be related to namespaces, but I have no idea what I'm doing wrong.
    Any help is greatly appreciated!
    line 59: 'sapUrDomainRelaxing' is undefined
    line 109: Object expected
    line 113: Object expected
    line 137: 'SSR' is undefined
    line59
    ur_system = {<<SNIP>>, domainrelaxing: sapUrDomainRelaxing.MINIMAL, <<SNIP>>};
    line 109
    sapUrMapi_init();
    line 113
    sapUrMapi_Focus_RegisterCreate('');
    if( SSR && SSR.windowManager) SSR.windowManager.hideEventBlocker();
    sapUrMapi_initLinkStatus();
    line 137
    if (SSR.showInfo){ <<SNIP>> }

    Hello Jeroen and welcome to the SDN!
    It seems like an error in the WebDynpro-part, not in the Adobe forms-part. Please check if all your elements (views, windows, controllers, etc.) are in valid namespaces.
    Could you try to create an application for the WebDynpro-project in the NDS, and try to <i>deploy new archive and run </i>? Does this work?
    Perhaps you could even copy the project, and replace the Adobe Inter Form element by a static text, to test if it is in the WebDynpro part or that it really has something to do with the Adobe.
    Good luck,
    Jan-Willem Kaagman

  • Script Error when Loading CR XI

    Post Author: ray3280
    CA Forum: General
    I just upgraded to SP4 and now when I launch CR XI I get a script error that says:
    Line 481 - Position 41
    if g3()=True then main=True : Exit Fun
    Any ideas?

    Post Author: SKodidine
    CA Forum: General
    http://technicalsupport.businessobjects.com/cs/forums/permalink/10605/10605/ShowThread.aspx

  • Script Error when I Publish Movie

    I am getting a script error when i Publish a Movie.But when
    run the movie i dont get any error.
    I get the error message window as follows
    Symbol expected
    <Void>
    Script Error. Continue?
    and the options "YES" and "NO"
    What could be the possible reason for this.
    I have draged a combo behaviour onto a bitmap.I think there
    is something wrong in that behaviour as it conatins many functions.
    Please highlight on this issue as it is really very urgent
    for me.
    Thanks

    Hi Ajeet,
    You've left out an xtra. It's impossible to tell which one
    from your
    description. I'll guess that its a scripting xtra, possibly a
    third
    party xtra.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Slow script error when opening websites

    I'm getting a slow script error when opening websites

    Safari > Preferences > Advanced > Show Develop menu in menu bar
    Safari > Develop > Disable Runaway JavaScript Timer

  • Scripting error when I save an Office 2003 document on a sharepoint 2007 infrastructure

    Hi,
    We have a local intranet based on a sharepoint 2007 where we store office 2003 documents. When we want to save changes on these documents, a scripting error appears like :
    Line : 11727
    Char : 12
    Error : Unable to get value of the property 'length' : object is null or undefined
    Code : 0
    URL : https://intranet/_layouts/1036/bform.js
    Do you want to continue running scripts on this page ?
    We need to click several times on Yes  button to be able to save the document.
    We have been able to fix this problem by repairing Office 2003 client, but when a new user logs on the computer, the problem gets back on his profile (then a new repair from this profile fixes the issue).
    We want to know if there is another solution, because we have 600+ clients which will encounter this issue and it will bother us to repair each Office 2003 client on each computer, specially during a Windows 7 migration process.
    Our environment :
    Windows 7 / Internet Explorer 9 / Office 2003 Std / Sharepoint 2007 
    Thanks

    I figured out a method to finally install Office 2010 bypassing the error stated in the title, by manually removing all the keys that included the term "Office 2003" from the Windows registry.
    I share my fix with more details and pictures step by step here :
    Link
    Please note that you need to be very careful when manually editing the Windows registry as it may cause problems to your operating system and even cause a massive failure requiring you to re-format your disk.
    Feel free to use my fix at your own risk. I will not be held responsible for any damage caused or data loss.

  • I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script

    I keep getting script errors when accessing Amazon Seller merchant pages. I get the following A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: chrome://spautofill/content/spOverlay.js:150, I also get js210 as well. I have cleared all cookies and history and unistalled Firefaox and reinstalled. Been thru my AVS and set the site as trusted in every possible place. Still get the problem. Do not get it with IE on same PC.
    == URL of affected sites ==
    https://sellercentral.amazon.co.uk

    Same problem but with a different vendor site:
    https://www.webvitamins.com/myfavorites.aspx
    Not only does the page hang, but the other tabs also hang.
    I contacted the vendor and their reply was "we were told that this looks like a script that is used by "Sticky Password", third-party software that must have been installed on your browser. However, our website did not install it and does not have anything to do with it." As far as I can tell, "Sticky Password" is not installed on my Firefox.
    Same problem as above occurs, but with IE 8.0.6001.18702. Therefore, it is not unique to Firefox.
    CAUSE DETERMINED: Have determined that this problem only occurs when Kaspersky Password Manager is installed. In Firefox, if the "Password Manager Autofill Engine" add-on is disabled, the problem goes away.

  • Unresponsive Script Error when Saving Changed Set in Flickr Organizer

    I'm getting an unresponsive script error when saving a changed set in the Flickr organizer.
    The problem started when using Firefox 3.6.8 or maybe an earlier version. It persists in Firefox 3.6.12
    I've noticed the error only appears in the Organizer and only when saving a changed set or saving after deleting a set.
    It does indeed save the changed set correctly before crashing.
    It is not intermittent and happens every time I perform this save.
    The error does not occur in Chrome or Safari.
    Examples of the error messages can be found at
    http://www.flickr.com/photos/blazer8696/4897580573/
    and
    http://www.flickr.com/photos/blazer8696/4897656175/

    Upgrading to 4.0.1 has corrected this problem.

  • Script error when in Facebook

    I keep getting the following script error message when on Facebook:
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
    Script: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/browser/extensions/%7B82AF8DCA-6DE9-405D-BD5E-43525BDAD38A%7D.xpi!/bootstrap.js -> resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/commonjs/sdk/loader/sandbox.js -> resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/jquery-2.1.0.min.js:26
    What do I do to correct the error referred to in this message?

    Scripts are running on background when you clicks on any website to open them. They are process the data by executing themselves. In this case same thing happens .
    A [https://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages Script] Might be busy is the generally shown as a message window.
    So,let them continue untill unless they are executed fully. Type '''about:config''' into url and click yes when prompting "Next time,I will be careful" .
    Now type '''dom.max_script_run_time''' and change its integer value to 20 .
    PS: you can reset it anytime by doing the same except changing value to Reset.
    Else you can Stop the script from running which cause not properly loading of page.
    if this happens only with Facebook then Install [https://addons.mozilla.org/firefox/addon/4922 YesScript] after that restart Firefox.
    type '''about:addons''' in url box and press Enter.
    here in addon tab open YesScript and add an entry into its '''YesScript Blacklist ''' by typing the url of Facebook.
    This will add them in blacklist of running script and they are no longer to run.

  • Java Script Errors when clicking on several opened documents

    All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    Later , when I open two or more documents I get an error when
    I click on the document in the background.
    A series of dialog boxes come after eachother and say the
    following:
    1. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    2. While executing Browse_back enabled in toolbars.xml, a
    java script error occurred
    3. While executing Browse_forwrad enabled in toolbars.xml, a
    java script error occurred
    4. While executing Browse_stop enabled in toolbars.xml, a
    java script error occurred
    5. While executing get current value in AddressURL.htm
    enabled in toolbars.xml, a java script error occurred
    I have uninstalled and reinstalled the program several times
    and it did not help. I have also installed Dreamweaver MX 6.1
    updaters with no change.

    You can try this simple fix -
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    or on Mac -
    Library/Application Support/Macromedia/Dreamweaver
    8/Configuration/MacFileCache-*.dat
    and delete it.
    Restart DW. Works better?
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "anabelapinto" <[email protected]> wrote in
    message
    news:emh6hq$ke5$[email protected]..
    > All of a sudden I started having problems shutting down
    Dreamweaver MX 6.1
    > Later , when I open two or more documents I get an error
    when I click on
    > the
    > document in the background.
    >
    > A series of dialog boxes come after eachother and say
    the following:
    >
    > 1. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 2. While executing Browse_back enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 3. While executing Browse_forwrad enabled in
    toolbars.xml, a java script
    > error
    > occurred
    >
    > 4. While executing Browse_stop enabled in toolbars.xml,
    a java script
    > error
    > occurred
    >
    > 5. While executing get current value in AddressURL.htm
    enabled in
    > toolbars.xml, a java script error occurred
    >
    > I have uninstalled and reinstalled the program several
    times and it did
    > not
    > help. I have also installed Dreamweaver MX 6.1 updaters
    with no change.
    >
    >

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • Script Error when I try to Preview a report

    Dear Experts, I have this issue when I try do a open a report by clicking Preview in CMC,  I get a parameter screen where I have to plug the values. When I try to click on the calendar icon to pick up the dates I get this error message:
    Internet Explorer Script Error
    Line: 251
    Char: 1
    Error: Object expected
    URL: .... prompting1.html
    I imported the same report in the test server and I can select the calendar dates on the parameter screen just fine.
    I'm on BOXI R2, Windows Server 2003.
    I followed the instruction of un-checking the and checking the "Disable Script Debugging" in Internet Options Advanced tab. That did not help.  I also made sure that the preferences in CMC has "ActiveX" under Crystal Report Viewer.
    Kindly help me fix this issue.
    Edited by: SAPman on Nov 9, 2009 12:36 PM

    >
    Sebastian Wiefett wrote:
    > Hi,
    >
    > this looks for me as an error from the IE.
    >
    > Try to delete your Cache please. Is the URL of your BO Server in your Trusted Sites list ?
    >
    > Regards
    > -Seb.
    I too feel it is something with IE itself. I can open the calendar on the parameter screen after I migrated the report in the test environment with IE7.0. My dev system has IE6.0 and I was unable open the calendar. So I thought maybe it is the version. But when I open the dev CMC on my workstation (with IE7.0), I still was unable to open the calendar in the parameter screen. So that rules out IE version.
    URL is also listed under Trusted sites. Moreover, if I type the dates manually, then report works fine too. But if I click on the calendar icon to select the dates, then I get this error.
    Any help is appreciated.

  • ABAP Webdynpro Development - Script Error when Accessing Visual Elements

    I am encountering a strange error at my client .  I can't use the Abap Webdynpro visual elements to build views .
    To reproduce the error :
    - T-code SE80
    - Open up any ABAP webdynpro component .
    - Open up one of the view  and go on Tab Layout .
    Normal Screen : You would see many WYSIWYG items ( buttons, radiobutton , text elements etcu2026. ) at the left side u2026 these elements are used to build the view .
    Here : No elements displayed and when we click on that area we get an error   . 
    Instead of the elements to get displayed .. lines are displayed and when you try to open up ( click ) the lines , an internet explorer script error stating the following occurs ( although the abap wendynpro is edited in SAP Gui ) :
    An Error has occured in the script on this page .
    Line : 1
    Char : 25
    Error : Object Required
    Code: 0
    URL : http://hdrerpdev05.bchydro.bc.ca:8100/sap/bc/wdvd/toolbar.html?_vdrespkey=4KE8FGJO3P88DO8K5XCEYHTEA&_vdframe=toolbar&usedynp=&usepat=&sap-client=100
    Anybody had had the same kind of error before ^^????
    Thanks and Best Regards !

    Hi,
    we are getting the some what related errors in SE80 -> Web Dynpro Layout
    An Error has occured in the script on this page .
    Line : 1
    Char : 1
    Error : Object Expected
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd/painting.html?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=painting&sap-client=230
    An Error has occured in the script on this page .
    Line : 110
    Char : 2
    Error : Could not complete the operation due to error 80020101
    Code: 0
    URL : http://<FQDN>:8000/sap/bc/wdvd?_vdrespkey=4KZ4LYLFQA2I7X53H3CRICKFC&_vdframe=no_add_ui_lib&sap-client=230
    Recently, we have upgraded our ERP system (SAP ECC 6.0 SPS17) with EHP4 SPS8. SAP_BASIS and SAP_ABA patch level same on 701_0008.
    FQDN is mantianed at icm/host_name_full parameter in system as well as in /etc/hosts file with associated system IP address.
    As suggested by  Ted Dinh,  we do not find any duplicate MIME files in our MIME Repository (SE80) and we cleared/invalidated  ICM cache many times in problem analysis.
    As suggested by  Thierno Diarra , in our affected system domain WDY_MD_UI_ELEMENT_CATEGORY is well maintained in value ranges.
    We have raised SAP OSS Message for the same, they told us to check dns server connectivity/settings with the affected system. we did the suggested DNS settings in affected system. But  still the same error message is occuring. They have suggested same sap notes like #979039 and #1009930 & #1483210 , but all the corrections/suggections/SICF service status as mentioned, are found OK in our system.
    Regards,
    Bhavik G. Shroff

  • Get a Script error when trying to print

    I installed originally my HP LaserJet 1018 on Windows XP. Later on I downloaded the print drivers from the HP support site for Windows 7 Professional ( not sure if it's 32 or 64 bit). The print function does work from within Word 2007 but not in Internet Explorer or Windows Live Mail. The following error message appears in a window when pressing the OK-button in the print dialog window
    En error has occurred in the script on this page
    Line:  2107
    Char: 1
    Error:  Unexpected call to method or property access
    Code:  0
    URL    res://ieframe.dll/preview.js
    How can this be solved ? Thanx in advance.

    Hi there,
    Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

Maybe you are looking for

  • When I sync my iPhone5 to iTunes, the songs in my playlists don't show up in order, and I can't reorder them on the phone.

    This is a real problem for me, since I listen to a lot of Original Broadway Cast albums, and the songs need to be ordered correctly.  What am I doing wrong, and how can I fix it?  When I sync to my iPad, the songs all sync in the correct order!

  • Unable to clear documents using F-44

    Hi We have created  a journal entry using FBS1 and the same was reversed using F.81 We are able to view these balance in this vendor account when we run FBL1N When we try clear this vendor using F-44 and enter document number..We get the following er

  • AT New in smartform

    Hi all, I have a internal table, in that there are the following fields      STAX      SNO      NAME      NOINV       I want to write a header text when  AT NEW STAX* is triggred. how to achive this in smartforms. Thanks in advance, Mahi.

  • Change font in Document

    Hi there. I have a rtf file in which I am inserting string using Java: FileInputStream fis= new FileInputStream(exampleFile); RTFEditorKit rtf = new RTFEditorKit(); Document doc = rtf.createDefaultDocument(); rtf.read(fis, doc, 0); doc.insertString(5

  • How to play/copy a movie from a usb drive in itunes

    How do I play/copy a movie from a usb drive in itunes?