Trap CalcMgrCmdLineLauncher.cmd errors?

Hello,
I was wondering if there is a way to trap errors in rules launched by the CalcMgrCmdLineLauncher.cmd utility.  It seems to return stdout messages no matter how successful or unsuccessful the rule actually is.
Thanks,
-Ben

Big thanks, John! The great job! Very useful work!
Interestingly, I got the correct result:
OdiOSCommand "-OUT_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_out.txt" "-ERR_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_err.txt" "-FILE_APPEND=NO" "-WORKING_DIR=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1" "-SYNCHRONOUS=YES" "-COMMAND=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:password.txt /A:nbkr /U:admin /D:bdr /R:Alloc"
Without word *"-COMMAND..."* ODI procedure does not work.
So, thank you again.
P.S. I would like to expand this issue. Consider a situation:
EPM System 11.1.2 is installed on Solaris on one server, ODI 11 is installed on another server Windows 2008 Server. Can I solve the same problem with two servers that are in the same network?
Edited by: Zhura on Feb 8, 2012 4:35 PM

Similar Messages

  • CalcMgrCmdLineLauncher.cmd and ODI

    Hello!
    I am using EPM System 11.1.2.1.0 and ODI 11.1.1.
    I work with CalcMgrLineLauncher.cmd for launching business rules (created with Calculation Manager) from the command prompt.
    When I work with command prompt (for example, cmd D:\Oracle\Middleware\user_project\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:passwordFile /A:planapp /U:admin /D:db /R:Alloc), I have sucessfully execution of business rule and my values are recalculating - i see that in hyperion planning data form.
    But my task is: launching business rules with ODI.
    I follow the instruction of John Goodwin blog (http://john-goodwin.blogspot.com/2009/07/odi-series-executing-hyperion-business.html with CmdLineLauncher.bat):
    I create procedure in ODI with command: cmd /d CalcMgrCmdLineLauncher.cmd -f:passwordFile /A:planapp /U:admin /D:db /R:Alloc.
    Then I execute this procedure (The Operator of ODI shows the successful execution of procedure), but rule does not work (not recalculate values).
    John and other hyperion's guru, What I need to change in CalcMgrLineLauncher.cmd file to make my result???
    The structure of CalcMgrLineLauncher.cmd:
    @echo off
    SET EPM_PLANNING_INSTANCE=D:\Oracle\Middleware\user_projects\epmsystem1/Planning/planning1
    call "%EPM_PLANNING_INSTANCE%\setHPenv.bat"
    "%JAVA_HOME%\bin\java" %HP_JAVA_OPTIONS% %JAVA_OPTIONS% com.hyperion.planning.calcmgr.cmdlnlauncher.HspCalcMgrCmdLineLauncher %* /COMMAND:CalcMgrCmdLineLauncher.cmd
    P.S. When I work with CmdLineLauncher.bat (f.e. c:\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas\console\bin\CmdLnLauncher.bat -p:passwordFile -Sserver -Uadmin -rAlloc -f1.xml)
    I give the error: "2012-02-02 04:25:27,860 WARN main com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher - Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules."
    I would appreciate any help! Thanks!

    Big thanks, John! The great job! Very useful work!
    Interestingly, I got the correct result:
    OdiOSCommand "-OUT_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_out.txt" "-ERR_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_err.txt" "-FILE_APPEND=NO" "-WORKING_DIR=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1" "-SYNCHRONOUS=YES" "-COMMAND=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:password.txt /A:nbkr /U:admin /D:bdr /R:Alloc"
    Without word *"-COMMAND..."* ODI procedure does not work.
    So, thank you again.
    P.S. I would like to expand this issue. Consider a situation:
    EPM System 11.1.2 is installed on Solaris on one server, ODI 11 is installed on another server Windows 2008 Server. Can I solve the same problem with two servers that are in the same network?
    Edited by: Zhura on Feb 8, 2012 4:35 PM

  • CalcMgrCmdLineLauncher utility Error

    Hi All,
    I am facing issues while running a CalcMgr Rule via CalcMgrCmdLineLauncher.cmd.
    *Message 1200315, Level 4, Log [Thu Apr 18 14:12:37 2013] XXXXX/Error(1200315), Message Error parsing formula for [REGION DEFINITION] (line 0): invalid object type*
    - Failed to evaluate function D.Shared_Services for dimension YYYYY
    Where D.Shared_Services is a member under dimension YYYYY. This is a RTP called by /F option.
    Note: The same rule works fine is run from Planning app or from workspace.
    Can anyone tell me the issue and how to fix it?
    Kind Regards.

    Allright, I got it working.
    From the PLANNING SERVER I copied (keeping everything else intact) to the FDM server the following directories.
    D:\Oracle\Middleware\EPMSystem11R1\products\Planning
    D:\Oracle\Middleware\EPMSystem11R1\common\planning
    D:\Oracle\Middleware\EPMSystem11R1\common\calcmgr
    and everything fell in place.
    ciao
    Andrea Leandri
    I am still left with an unanswered question...how can i have this utility log properly its activity. At the moment my calcmgrlog is completely empty and nothing gets its content updated!! terrible.

  • SNMP trap on OutOfMemory Error Log record

    I would like to implement SNMP trap on OutOfMemory Error Log record.
    In theory SNMP LogFilter with Severity Level "Error" and Message Substring "OutOfMemory" should do the trick.
    In reality it does not work (doh)(see explanations below), I wonder if someone managed to make it work.
    Log entry has following format:
    ----------- entry begin ----------
    ####<Nov 12, 2003 3:09:23 PM EST> <Error> <HTTP> <ustrwd2021> <local> <ExecuteThread: '14' for queue: 'default'> <> <> <101020> <[WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception>
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    ------------ entry end ------------
    Notice that java.lang.... is NOT part of the log record, yep it seems that exception stack trace is not part of log record! Thus filter could be applied only to "<[WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception>" string, which is really useless.
    Here is fragment of trap data (i had to remove Message Substring in order to get Error trap to work)
    1.3.6.1.4.1.140.625.100.50: trapLogMessage: [WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception

    Andriy,
    I dont think you could do much here, since Outofmemory is not part of
    log record SNMP agent cannot filter on this. I would be curious to hear
    if anyone got it to work using SNMP.
    sorry,
    -satya
    Andriy Potapov wrote:
    I would like to implement SNMP trap on OutOfMemory Error Log record.
    In theory SNMP LogFilter with Severity Level "Error" and Message Substring "OutOfMemory" should do the trick.
    In reality it does not work (doh)(see explanations below), I wonder if someone managed to make it work.
    Log entry has following format:
    ----------- entry begin ----------
    ####<Nov 12, 2003 3:09:23 PM EST> <Error> <HTTP> <ustrwd2021> <local> <ExecuteThread: '14' for queue: 'default'> <> <> <101020> <[WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception>
    java.lang.OutOfMemoryError
         <<no stack trace available>>
    ------------ entry end ------------
    Notice that java.lang.... is NOT part of the log record, yep it seems that exception stack trace is not part of log record! Thus filter could be applied only to "<[WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception>" string, which is really useless.
    Here is fragment of trap data (i had to remove Message Substring in order to get Error trap to work)
    1.3.6.1.4.1.140.625.100.50: trapLogMessage: [WebAppServletContext(747136,logs2,/logs2)] Servlet failed with Exception

  • Last Trap: Data Access Error

    Hello,
    I don't know what the appropropriate forum to ask this would be; please
    suggest another one if this is not the best one.
    We have a PCI-Express board (that we developed) that we're attempting to
    use in a Sparc system. It is an Ultra 25 (also says Ultra SPARC IIIi).
    We've attempted to use both Solaris 9 and 10.
    With our board in an x8 slot, the system will not boot. If our board
    is in an x16 slot, the system boots okay and the system can access
    the board properly. Our board is an x1 board.
    The following error message is seen during boot attempts:
    "ERROR:/pci@e,600000/pci@1/pci@0/usb@1c,1: Last Trap: Data Access Error"
    In addition, systems are able to boot and access our boards properly when the
    boards are in x4, x8, and x16 slots of x86 systems running Windows and other
    operating systems.
    Could anyone suggest what might be wrong?
    Thanks,
    Nathan

    Hello Sane,
    I'm seeing a wierd problem on a new v890 server...
    Record the current OBP settings, then issue set-defaults.
    If the problem persists, open a service case.
    Michael

  • Boot Panic: trap type d, error 0 at 8fa7

    Hi
    I am trying to install Solaris 10 on x86 machine:
    Mother Boad : K7S41GX
    Socket :A(462 pins)
    Bios Version :3.3a AMI Bios dated 7/19/2004
    Processor :AMD Sempron 2200+ (1.5 Ghz)
    Monitor :Samsung Sync Master 753DF
    Hard Disk :1 WDC WD1200 JB-00GVA0 (Westren Digital)
    2 Maxtor 6L040J2
    CD : EIDE CD-ROM 52X/AKH
    DVD :Lite-On DVDRW SOHW-812S
    chipset :SIS 7S41
    I have checked the MD5 sums of all the five files and found them in order.
    After making a single large file I again cheked the DVD iso file and found
    the sum to match with the one on solaris server.
    After burning the Solaris 10 DVD again at 2x speed . Now I have been
    able to boot from CD. But I can get to only the following prompt and after
    that the installation stops:
    <<<staring interactive text installation, console session>>>
    booting kernel/unix....
    Boot:Panic: trap type d , error 0 at 8fa7
    I might mention here that I did go through the various solaris 10 installatin
    manuals and sun.doc but have not found anything like this or similar.
    any vetren would care to give tip
    cheers
    and thanks for reading.

    Hi
    I am trying to install Solaris 10 on x86 machine:
    Mother Boad : K7S41GX
    Socket :A(462 pins)
    Bios Version :3.3a AMI Bios dated 7/19/2004
    Processor :AMD Sempron 2200+ (1.5 Ghz)
    Monitor :Samsung Sync Master 753DF
    Hard Disk :1 WDC WD1200 JB-00GVA0 (Westren Digital)
    2 Maxtor 6L040J2
    CD : EIDE CD-ROM 52X/AKH
    DVD :Lite-On DVDRW SOHW-812S
    chipset :SIS 7S41
    I have checked the MD5 sums of all the five files and found them in order.
    After making a single large file I again cheked the DVD iso file and found
    the sum to match with the one on solaris server.
    After burning the Solaris 10 DVD again at 2x speed . Now I have been
    able to boot from CD. But I can get to only the following prompt and after
    that the installation stops:
    <<<staring interactive text installation, console session>>>
    booting kernel/unix....
    Boot:Panic: trap type d , error 0 at 8fa7
    I might mention here that I did go through the various solaris 10 installatin
    manuals and sun.doc but have not found anything like this or similar.
    any vetren would care to give tip
    cheers
    and thanks for reading.

  • [SOLVED] CMD Error: CMD cannot start. Low on memory ...??

    Dear developers,
    Greetings!!
    As, I have selected command processor and console window from the catalog item that is necessary to run the command prompt on the WinCE platform. But, when I run the command prompt I got the following error :
    CMD Error
      CMD cannot start. Low on memory or too many console window open. Please close the some console application and try again.
    But, I only got this error when I try to open the console window second time. First time when I click, nothing appears on the screen and I try to open in second time and then I got the above error. 
    Any one knows the reason for the occurrence of this error??? 

    Hi Partap,
    Try changing the console output to '0' instead of COM port in registry as below.
    HKey_LOCAL_MACHINE\Drivers\Console\OutputTo to 0
    Let me know the result.
    rakesh

  • Trace/trap all ORA- errors?

    Hi,
    Oracle 9.2, Solaris.
    Is it possible to trace/trap all ORA- error events.
    I can turn tracing on for a particular event, as such...
    alter system set events='942 trace name errorstack forever, level 8'
    However, what if I want to trap every ORA- ( < 10000 ) errors? Is this possible?
    Thanks.

    Check database trigger on SERVERERROR.
    However never have used it myself, so you should test it carefully.
    Oops forgot the link
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adg14evt.htm#998000
    Gints Plivna
    http://www.gplivna.eu
    Message was edited by:
    gintsp

  • How do you run CalcMgrCmdLineLauncher.cmd for a ruleset that runs rules in multiple databases?

    Hi all,
    Just having recently upgraded to 11.1.2.2, I'm just trying to update our batch files to automate the running of some business rulesets using CalcMgrCmdLineLauncher.cmd. I can get business rules working ok, and rulesets that only run rules within the same database working, but I can't seem to get the rulesets running where the rules are running against multiple databases.
    I know the syntax is CalcMgrCmdLineLauncher.cmd -f:%PWD% /A:%PlanAPP% /U:%RUNUSR% /D:%EssbCapexDB% /S:%BR%
    but for the /D: argument, putting one of the databases in there doesnt work.
    The batch runs, it even says its successful in the log but its too quick and looking at the job console it didnt run.
    I can run the ruleset manually no problems.
    Anyone know how to fix this?
    Thanks

    One stated to "search cmd, right click, and run as admininstrator" but where is this?
    In the search field in your Vista start menu, type cmd
    Next, right-click on the cmd that comes up and select "Run as administrator".

  • Trapping jsp compilation errors

              I'd like to trap jsp compilation errors and have an error page displayed instead,
              but I am currently having difficulty doing this using 6.1 sp1. I've tried a number
              of things in the web.xml file:
              1) using the error-page directive to trap error code 500
              2) using the error-page directive to trap weblogic.servlet.jsp.JspException
              3) using the error-page directive to trap java.lang.RuntimeException
              4) using the error-page directive to trap java.lang.Exception
              In all cases, an error code of 500 is returned to the client instead of my error
              page being called.
              Any suggestions or insights?
              Thanks...
              Steve...
              

              Unfortunately, this isn't an option for us because the pages are created on demand,
              so our only chance to capture compilation errors is during the fulfillment of
              the client's request. We do not anticipate any compilation errors, but then again,
              you can't anticipate everything.
              Steve...
              Nils Winkler <[email protected]> wrote:
              >Hi,
              >
              >this might not be what you're looking for, but how about precompiling
              >the jsp files before they are deployed? This way you will hit
              >compilation before deploying the JSP files to the server.
              >
              >Nils
              >
              >Steve Gamble wrote:
              >>
              >> To trap the 500 error:
              >>
              >> <error-page>
              >> <error-code>500</error-code>
              >> <location>/internalerror.do</location>
              >> </error-page>
              >>
              >> To trap exceptions:
              >>
              >> <error-page>
              >> <exception-type>javax.servlet.ServletException</exception-type>
              >> <location>/internalerror.do</location>
              >> </error-page>
              >>
              >> where similar blocks for
              >> - javax.servlet.jsp.JspException
              >> - java.lang.Exception
              >> - java.lang.RuntimeException
              >> - weblogic.servlet.jsp.JspException
              >>
              >> If I modify my code to deliberately throw a ServletException, then
              >the error-page
              >> is used correctly. If I modify a jsp so that it has a syntax error,
              >then the
              >> compilation exception is not caught by any of the error-page directives.
              >>
              >> Thanks in advance...
              >> Steve...
              >>
              >> "Bob Lee" <[email protected]> wrote:
              >> >Can you post the directive you are using?
              >> >
              >> >Bob
              >> >
              >> >"Steve Gamble" <[email protected]> wrote in message
              >> >news:[email protected]...
              >> >>
              >> >> I'd like to trap jsp compilation errors and have an error page displayed
              >> >instead,
              >> >> but I am currently having difficulty doing this using 6.1 sp1.
              >I've
              >> >tried
              >> >a number
              >> >> of things in the web.xml file:
              >> >>
              >> >> 1) using the error-page directive to trap error code 500
              >> >> 2) using the error-page directive to trap
              >> >weblogic.servlet.jsp.JspException
              >> >> 3) using the error-page directive to trap java.lang.RuntimeException
              >> >> 4) using the error-page directive to trap java.lang.Exception
              >> >>
              >> >> In all cases, an error code of 500 is returned to the client instead
              >> >of my
              >> >error
              >> >> page being called.
              >> >>
              >> >> Any suggestions or insights?
              >> >>
              >> >> Thanks...
              >> >> Steve...
              >> >
              >> >
              >
              >--
              >============================
              >[email protected]
              

  • Trapping Run-Time Errors

    We have defined a Setup Function in a sequence we are running. When a 'FAIL'
    is returned from this function a run-time error is generated and a run-time
    error window is displayed. Is it possible to trap this error and not display
    the window in certain circumstances? The function generating the error is
    TX_RunSeqOrTest().
    We are running LabWindows 5.0 and TestExecutive 2.0.1.
    We would appreciate any help.
    Joe Colson

    You can prevent LabWindows from breaking on library
    errors with SetBreakOnLibraryErrrors(). I don't know if
    this will work for TestExecutive functions.
    Regards,
    Reed.
    Reed Blake
    Beta Technology
    Industrial and Scientific Computing
    example:
    int break_state, status
    break_state = SetBreakOnLibraryErrors (0); // Disable break on library
    errors
    status = GetFileSize (name, &file_size); // Labwindows library
    function
    SetBreakOnLibraryErrors (break_state); // Restore break state.
    Joe Colson wrote in message <[email protected]>...
    >
    >We have defined a Setup Function in a sequence we are running. When a
    'FAIL'
    >is returned from this function a run-time error is generated and a run-
    time
    >error window is displayed. Is it possible to trap this error and not
    display
    >the window in certain circumstances? The function generating the error is
    >TX_RunSeqOrTest().
    >We are running LabWindows 5.0 and TestExecutive 2.0.1.
    >
    >We would appreciate any help.
    >
    >Joe Colson

  • Adautoconfig.cmd error "Error: Context value Management Failed."

    Starting Autoconfig at wed Nov 10 16:38:56 2010
    using adconfig.pl version 115.82
    classpath :c:\jdk13\jre\lib\rt.jar;c:\jdk13\jre\lib\i18n.jar;c:\jdk.........more jdk files locations
    Starting utility to Report version conflicts at wed Noc 10 16:38:57 VET 2010
    Using VersionConflictListGenerator.java version 115.4
    All driver files processed.
    No version conflict encountered.
    using Context file :F:\oracle\prodappl\admin\TEST_XXXXX.xml
    Attempting to create a back up of the Context file
    Create back up file of name :
    f:\oracle\prodappl\admin\TEST_XXXXX\our\11101638\TEST_XXXXXXdb.xml
    Starting synchronization of file system context file and its templates with those in the database.
    Error: Context value Management Failed.
    Terminated.
    The logfile for this session is located at :
    xxxxxxxlocationxxxxxxxxxxxxxxxxxx
    Dear all , the above log file created after adcfgclone in appsTier, is any one tel me what is the problem,, where what may went wrong,, am not getting any clear idea about this,,

    This is the excate error while running adautoconfig*
    Context Value Management will now update the Context file
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/Savepoint
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
    +6)+
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:551)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:172)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingSID(DBUtil.java:253)
    at oracle.apps.ad.util.DBUtil.getConnection(DBUtil.java:410)
    at oracle.apps.ad.util.DBUtil.getConnectionUsingAppsJDBCConnector(DBUtil
    +.java:590)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.getDBConnection(
    FileSysDBCtxMerge.java:760)
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.initializeParams
    +(FileSysDBCtxMerge.java:147)+
    at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.setParams(FileSy
    sDBCtxMerge.java:128)
    at oracle.apps.ad.context.CtxValueMgt.mergeCustomInFiles(CtxValueMgt.jav
    a:1762)
    at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:15
    +79)+
    at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:709)
    Error returned from java. Context Value Management was aborted
    ERROR: Context Value Management Failed.
    Terminate.
    The logfile for this session is located at:
    f:\oracle\prodappl\admin\TEST_ppclone5db\log\11110958\adconfig.log
    F:\oracle\prodcomn\admin\scripts\TEST_ppclone5db>
    Previously while running the adcfgclone.pl in appsTier we faced error...
    Tail details of the ApplyAppsTier_xx.log
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Script Success, Profiles set.
    ERRORCODE = 0 ERRORCODE_END
    .end std out.
    .end err out.
    Product Top Drivers executed : AD_TOP FND_TOP ICX_TOP IEO_TOP ABM_TOP ECX_TOP BIS_TOP GL_TOP AMS_TOP CCT_TOP WSH_TOP CLN_TOP OKE_TOP OKL_TOP OKS_TOP CSF_TOP XNC_TOP IGS_TOP IBY_TOP PA_TOP JTF_TOP MWA_TOP CN_TOP CSI_TOP WIP_TOP CSE_TOP EAM_TOP IMT_TOP FTE_TOP ONT_TOP AR_TOP AHL_TOP OZF_TOP IES_TOP CSD_TOP IGC_TOP
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adgendbc.cmd INSTE8_SETUP 1
    [APPLY PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adsvalsn.cmd INSTE8_APPLY -1
    adsvcm.cmd INSTE8_APPLY 1
    Directory: f:\oracle\prodora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\5.00503\lib -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86 -I f:\oracle\prodora\iAS\Apache\perl\site\5.00503\lib -I f:\oracle\prodappl\au\11.5.0\perl f:\oracle\prodcomn\admin\install\TEST_ppclone5db
    adadmat.pl INSTE8_APPLY 256
    AutoConfig is exiting with status 4
    RC-50014: Fatal: Execution of AutoConfig was failed
    Raised by oracle.apps.ad.clone.ApplyApplTop
    Completed ApplyApplTop.
    ERROR: AutoConfig completed with errors. Check logfile at f:\oracle\prodappl\admin\TEST_ppclone5db\log\ApplyAppsTier_11101111.log for details.
    # Checking the status of AutoConfig run of ApplyApplTop
    Warning : AutoConfig has completed with errors .
    Please review the AutoConfig section in the logfile. If required, you can re-run AutoConfig from command line after fixing the problem
    Dear Kindly let me know what is the mistake we have done in this
    Edited by: user9111553 on Nov 11, 2010 8:15 AM

  • How to trap Command Line errors

    Sigh.  I have searched for 3 hours to the answer for my question.  I'm new to scripting, so perhaps this is the problem in my not finding a solution.
    In a nutshell, I simply want to gracefully trap command line usage of a script.  I want to have my script accept a parameter (ie. a value) and a switch.
    Example:  <script> -path <path> -set
    The problem is that i cannot trap incorrect usage.  I would prefer <path> to be position one, and -switch to be position 2 of the parameters passed to the script.  I have not tried this "outside" of PS v2.0 ISE (ie. Powershell.exe). 
    Of course, I would love it to work in both environments.
    I KNOW that the ISE will prompt for missing mandatory parameters.  Great.  But incorrectly specified parameters causes Powershell ISE to "bomb-out".  That is, displaying error messages to an uninformed user whom views it as unintelligible.
    Example of incorrect usage:  <script> -pat <path> -set
    Again, I would LOVE to trap this, and display correct USAGE to the screen.  Unfortunately, this produces a Powershell error message which has proved unintelligible to "simple" users.
    Perhaps I must accept that this is not possible in Powershell v2.0.  I simply want to program my script to CATCH this error and take the desired action.
    HELP!!!  To the knowledgeable and generous Scripting Professionals.
    If the directions say go straight, but I turn left, then right: Will I still get there?

    Okay, I stripped down the script:
    <#
    ===============================================================================
    PQSC PowerShell Source File
    NAME   :
    AUTHOR : PQSC.Programmer
    DATE   :
    COMMENT: Expects -->U:\Users\Public\Public Programs\PQSC\Scripts<-- appended to Execution Path
             CommandLine to Test=powershell -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-FilesWithArchiveBitSet.ps1" -x
    ===============================================================================
    #>
    <# ---------------------------------------------
    # Param1 is mandatory, Param2 is optional.
    # Param1 should be:  -path <path>
    # Param2 should be:  -Set
    #>
    [CmdletBinding()]
    Param(
        [parameter(Mandatory=$true,Position=1)]
        [AllowNull()]
        [AllowEmptyString()]
        [String]
        $Path,
        [switch]
        $Set_Archive
    PRODUCES THIS ERROR in PowerShell v2.0 ISE when invoke with:
    powershell -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-FilesWithArchiveBitSet.ps1" -x
    powershell.exe : Missing expression after unary operator '-'.
    At line:1 char:11
    + powershell <<<<  -debug -command "U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Get-untitled2.ps1" -x
        + CategoryInfo          : NotSpecified: (Missing express...y operator '-'.:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
    At line:1 char:2
    + - <<<< debug -command U:\Users\PQSC.Programmer\Documents\WindowsPowerShell\Ge
    t-untitled2.ps1 -x
        + CategoryInfo          : ParserError: (-:String) [], ParentContainsErrorR
       ecordException
        + FullyQualifiedErrorId : MissingExpressionAfterOperator
    If the directions say go straight, but I turn left, then right: Will I still get there?

  • Adautocfg.cmd error

    Hello Everyone,
    Getting errors on running autoconfig on W2003 (which is our secondary app node, which does forms and web services). We have applied the latest TXK (8217898). The following are the excerpts from the logfile:
    Here is the end of the logfile:
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: c:\oracleapp\devcomn\admin\install\DEV_oracledev
    afcpnode.cmd INSTE8_SETUP 3
    Directory: c:\oracleapp\devora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe -I c:\oracleapp\devora\iAS\Apache\perl\5.00503\lib\MSWin32-x86 -I c:\oracleapp\devora\iAS\Apache\perl\5.00503\lib -I c:\oracleapp\devora\iAS\Apache\perl\site\5.00503\lib\MSWin32-x86 -I c:\oracleapp\devora\iAS\Apache\perl\site\5.00503\lib -I c:\oracleapp\devappl\au\11.5.0\perl c:\oracleapp\devcomn\admin\install\DEV_oracledev
    adunzip.pl INSTE8_SETUP 1
    AutoConfig is exiting with status 2
    Here are the error details:
    c:\oracleapp\devcomn\admin\install\DEV_oracledev\afcpnode.cmd
    script returned:
    Mon 11/02/2009
    01:43 PM
    Enter the APPS Username/Password: ECHO is off.
    ECHO is off.
    "The environment settings are as follows ..."
    " ORACLE_HOME : c:\oracleapp\devora\8.0.6"
    " ORACLE_SID : "
    " LOCAL : DEV"
    " PATH : c:\oracleapp\devappl\au\11.5.0\bin;c:\oracleapp\devappl\fnd\11.5.0\bin;c:\oracleapp\devappl\ad\11.5.0\bin;c:\oracleapp\devcomn\util\jre\1.1.8\bin;c:\oracleapp\devora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\;c:\oracleapp\devcomn\util\unzip\unzip;c:\oracleapp\devora\8.0.6\bin;C:\jdk1.3.1_20\bin;c:\oracleapp\devora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\vc98\msdev98\BIN;C:\VC98\BIN;C:\vc98\TOOLS\WINNT;C:\vc98\TOOLS;c:\oracleapp\devappl\au\11.5.0\bin;c:\oracleapp\devappl\fnd\11.5.0\bin;c:\oracleapp\devappl\ad\11.5.0\bin;c:\oracleapp\devcomn\util\jre\1.1.8\bin;c:\oracleapp\devora\iAS\Apache\perl\5.00503\bin\MSWin32-x86\;c:\oracleapp\devcomn\util\unzip\unzip;c:\oracleapp\devora\8.0.6\bin;C:\jdk1.3.1_20\bin;C:\mks\mksnt;C:\WINDOWS;C:\WINDOWS\system32;"
    "Running SQL script "
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Nov 2 13:43:33 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected.
    Register a node ...
    declare
    ERROR at line 1:
    ORA-01407: cannot update ("APPLSYS"."FND_NODES"."PLATFORM_CODE") to NULL
    ORA-06512: at "APPS.FND_CONCURRENT", line 1531
    ORA-06512: at line 1
    ORA-06512: at line 103
    ORA-01407: cannot update ("APPLSYS"."FND_NODES"."PLATFORM_CODE") to NULL
    ORA-01407: cannot update ("APPLSYS"."FND_NODES"."PLATFORM_CODE") to NULL
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ERRORCODE = 3 ERRORCODE_END
    .end std out.
    .end err out.
    Thanks everyone

    Here is the result from the grep command:
    C:\oracleapp\devappl\admin>grep -i platform DEV_oracledev.xml
    <platform oa_var="s_platform" osd="NT">NT</platform>
    <PLATFORM oa_var="s_oraPlatform" osd="NT">WIN_NT</PLATFORM>
    <PLATFORM_STUB oa_var="s_platStub" osd="NT">nt</PLATFORM_STUB>
    The contents of fnd_nodes:
    There are 8 rows in the table:
    1 row is authentication
    4 rows relate to apple servers that have nothing to do with oracle financials (platform_code=46)
    1 row is for our Unix node (runs the DB and primary application tier) (platform_code=2)
    1 row is for oracleprod (this is our secondary application tier for oracle financials production) (platform_code=912) This is the source environment during cloning).
    1 row is for oracledev (this is our secondary application tier for oracle financials development - the one that I am trying to resolve our issue) (platform_code=912) This is the target environment during cloning.
    autoconfig ran successfully on our DB tier and primary application tier (both on unix)
    Thanks...Colin
    Edited by: CJJ on Nov 2, 2009 4:31 PM

  • Trap FM Exception Error MEssage

    Can anyone tell me how I can trap an error message
    which is triggered in a fm I am calling.
    e.g. 
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            SRC_SPOOLID                    = spoolno
            NO_DIALOG                      = ' '
          DST_DEVICE                     =
          PDF_DESTINATION                =
          IMPORTING
            PDF_BYTECOUNT                  = numbytes
            PDF_SPOOLID                    = pdfspoolid
          LIST_PAGECOUNT                 =
            BTC_JOBNAME                    = jobname
            BTC_JOBCOUNT                   = jobcount
          TABLES
            PDF                            = pdf
          EXCEPTIONS
            ERR_NO_ABAP_SPOOLJOB           = 1
            ERR_NO_SPOOLJOB                = 2
            ERR_NO_PERMISSION              = 3
            ERR_CONV_NOT_POSSIBLE          = 4
            ERR_BAD_DESTDEVICE             = 5
            USER_CANCELLED                 = 6
            ERR_SPOOLERROR                 = 7
            ERR_TEMSEERROR                 = 8
            ERR_BTCJOB_OPEN_FAILED         = 9
            ERR_BTCJOB_SUBMIT_FAILED       = 10
            ERR_BTCJOB_CLOSE_FAILED        = 11.
      case sy-subrc.
      when 0.
        WRITE: / 'Error 0'(006)          COLOR COL_POSITIVE.
      when 1.
        WRITE: / 'Error 1'(002)          COLOR COL_negative.
      when 2.
        WRITE: / 'Error 2'(003)          COLOR COL_negative.
    The error is occuring in the actual FM itself. My program
    does not reach the case sy-subrc statement above. Can
    this be forced in anyway???
    Cheers

    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
      EXPORTING
        src_spoolid                    =
    *   NO_DIALOG                      =
    *   DST_DEVICE                     =
    *   PDF_DESTINATION                =
    * IMPORTING
    *   PDF_BYTECOUNT                  =
    *   PDF_SPOOLID                    =
    *   LIST_PAGECOUNT                 =
    *   BTC_JOBNAME                    =
    *   BTC_JOBCOUNT                   =
    * TABLES
    *   PDF                            =
    * EXCEPTIONS
    *   ERR_NO_ABAP_SPOOLJOB           = 1
    *   ERR_NO_SPOOLJOB                = 2
    *   ERR_NO_PERMISSION              = 3
    *   ERR_CONV_NOT_POSSIBLE          = 4
    *   ERR_BAD_DESTDEVICE             = 5
    *   USER_CANCELLED                 = 6
    *   ERR_SPOOLERROR                 = 7
    *   ERR_TEMSEERROR                 = 8
    *   ERR_BTCJOB_OPEN_FAILED         = 9
    *   ERR_BTCJOB_SUBMIT_FAILED       = 10
    *   ERR_BTCJOB_CLOSE_FAILED        = 11
    *   OTHERS                         = 12
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    <b>CALL FUNCTION 'TB_MESSAGE_BUILD_TEXT'
           EXPORTING
                LANGU = SY-LANGU
                MSGID = P_SY_MSGID
                MSGNO = P_SY_MSGNO
                MSGV1 = P_SY_MSGV1
                MSGV2 = P_SY_MSGV2
                MSGV3 = P_SY_MSGV3
                MSGV4 = P_SY_MSGV4
           IMPORTING
                TEXT  = P_L_ERR_MSG.</b>
    ENDIF.

Maybe you are looking for

  • Cannot run camtasia studio 6 in firefox but will run in IE and Chrome.

    I am trying to view a camtasia studio 6 video file and it will not run. It runs fine in IE and Chrome!

  • How do I do a cleanup on my Macbook to get rid of Junk and duplicates?

    How do I do a cleanup on my MacBook, to get rid of junk and duplicates?

  • Open note to Verizon

    I think people who are grandfathered in with unlimited data are foolish to upgrade and take the shared plan.  I've read what many post about cost savings, etc...but if ATT (despite the throttling argument) can allow their grandfathered people to keep

  • Distorted Web Gallery Images

    I have had a strange problem when I create a web gallery. Some of the vertical images are distorted into a horizontal format. They look fine in the other modules and Photoshop. I appreciate any suggestions! Thank.

  • IPhoto Thumbnails Cannot Display BW

    I started importing pics to iphoto and noticed that some b/w pics came up as black icons and when i open them the image it is not correct. These pics have been changed to b/w in photoshop 3 on my pc but saved as jpeg. Does anyone know a solution for