Jython error

Hello,
I am using the following code in ODI procedure
import os
     scen='#V_GET_SCEN'
     scen_name=scen[5:-7]
     scen_ver=scen[-7:-4]
     file_name='C:/ODI_SCEN_DMP/#V_GET_SCEN'
     odiscen="C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startcmd.bat OdiExportScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -FILE_NAME="+file_name
     if os.system(odiscen) <> 0:
         raise odiscenWhen I execute the procedure I am getting the error
org.apache.bsf.BSFException: exception from Jython:
SyntaxError: ("mismatched input '' expecting EOF", ('<string>', 2, 1, "\tscen='SCEN_AGENCY_SITE_LISTING001.XML'\n"))
     at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
     at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
     at java.lang.Thread.run(Thread.java:662)
Caused by: SyntaxError: ("mismatched input '' expecting EOF", ('<string>', 2, 1, "\tscen='SCEN_AGENCY_SITE_LISTING001.XML'\n"))
     at org.python.core.PyException.fillInStackTrace(PyException.java:70)
     at java.lang.Throwable.<init>(Throwable.java:181)
     at java.lang.Exception.<init>(Exception.java:29)
     ... 1 moreCould you please anyone can help on this error.
Thanks,

Still I am getting the same error as Could not proceed
The error message is
org.apache.bsf.BSFException: exception from Jython:
SyntaxError: ("no viable alternative at input '0'", ('<string>', 7, 22, 'if os.system(odiscen) 0: \n'))
     at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
     at
....Actual code in the command is follows
import os
scen='#V_GET_SCEN'
scen_name=scen[5:-7]
scen_ver=scen[-7:-4]
file_name='C:\ODI_SCEN_DMP\#V_GET_SCEN'
odiscen="C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startcmd.bat OdiExportScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -FILE_NAME="+file_name
if os.system(odiscen) 0:
         raise odiscenAny help would be appreciated.
Thanks,

Similar Messages

  • Jython error while updating a oracle table based on file count

    Hi,
    i have jython procedure for counting counting records in a flat file
    Here is the code(took from odiexperts) modified and am getting errors, somebody take a look and let me know what is the sql exception in this code
    COMMAND on target: Jython
    Command on source : Oracle --and specified the logical schema
    Without connecting to the database using the jdbc connection i can see the output successfully, but i want to update the oracle table with count. any help is greatly appreciated
    ---------------------------------Error-----------------------------
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 45, in ?
    java.sql.SQLException: ORA-00936: missing expression
    ---------------------------------------Code--------------------------------------------------
    import java.sql.Connection
    import java.sql.Statement
    import java.sql.DriverManager
    import java.sql.ResultSet
    import java.sql.ResultSetMetaData
    import os
    import string
    import java.sql as sql
    import java.lang as lang
    import re
    filesrc = open('c:\mm\xyz.csv','r')
    first=filesrc.readline()
    lines = 0
    while first:
    #get the no of lines in the file
    lines += 1
    first=filesrc.readline()
    #print lines
    ## THE ABOVE PART OF THE PROGRAM IS TO COUNT THE NUMBER OF LINES
    ## AND STORE IT INTO THE VARIABLE `LINES `
    def intWithCommas(x):
    if type(x) not in [type(0), type(0L)]:
    raise TypeError("Parameter must be an integer.")
    if x < 0:
    return '-' + intWithCommas(-x)
    result = ''
    while x >= 1000:
    x, r = divmod(x, 1000)
    result = ",%03d%s" % (r, result)
    return "%d%s" % (x, result)
    ## THE ABOVE PROGRAM IS TO DISPLAY THE NUMBERS
    sourceConnection = odiRef.getJDBCConnection("SRC")
    sqlstring = sourceConnection.createStatement()
    sqlstmt="update tab1 set tot_coll_amt = to_number( "#lines ") where load_audit_key=418507"
    sqlstring.executeQuery(sqlstmt)
    sourceConnection.close()
    s0=' \n\nThe Number of Lines in the File are ->> '
    s1=str(intWithCommas(lines))
    s2=' \n\nand the First Line of the File is ->> '
    filesrc.seek(0)
    s3=str(filesrc.readline())
    final=s0 + s1 + s2 + s3
    filesrc.close()
    raise final

    i changed as you adviced ankit
    am getting the following error now
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 37, in ?
    java.sql.SQLException: ORA-00911: invalid character
    here is the modified code
    sourceConnection = odiRef.getJDBCConnection("SRC")
    sqlstring = sourceConnection.createStatement()
    sqlstmt="update tab1 set tot_coll_amt = to_number('#lines') where load_audit_key=418507;"
    result=sqlstring.executeUpdate(sqlstmt)
    sourceConnection.close()
    Any ideas
    Edited by: Sunny on Dec 3, 2010 1:04 PM

  • Jython Error with Standalone Agent when execute by designer

    Hi guys,
    I have a problem when trying to execute scenario by designer via standalone agent
    here are some error that shown in the operator
    ODI-1217: Session TEST_JYTHON (40198001) fails with return code 7000.
    ODI-1226: Step TEST_JYTHON fails after 1 attempt(s).
    ODI-1232: Procedure TEST_JYTHON execution fails.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    File "<string>", line 1, in ?
    ImportError: no module named re
    If I generated this procedure to a scenario and execute by startscen.bat
    there is no error.
    And if run with no agent (local).It will not have a problem too.
    here is the startscen command that i used
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\bin\startscen.bat TEST_JYTHON 001 GLOBAL "-NAME=P_Agent_S1"
    So . I digging to the library folder that contains re.py in the folder Lib
    and copy the whole folder "scripting" from
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\
    then paste to folder
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\lib
    Where should I look for more clue ?
    Thanks in advance.

    Refer
    http://msdn.microsoft.com/en-IN/library/hh231187.aspx
    you can pass parameter like this
    /SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Jython sendmail getPrevStepLog fails

    In this sample Jython
    MessageString = "<%=odiRef.getPrevStepLog("MESSAGE")%>"
    Message="From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s" % (From,To,Subject,MessageString)
    server.sendmail(From,To,Message)
    The MessageString statement fails in both Jython and Python because of embedded newlines.
    The Python error is:
    File "C:\CDS\Aerror.py", line 10
    MessageString = "ODI-1226: Step BASIC_POLICY_STATUS fails after 1 attempt(s)
    ^
    SyntaxError: EOL while scanning string literal
    The Jython error is:
    org.apache.bsf.BSFException: exception from Jython:
    SyntaxError: ('mismatched character \'\\n\' expecting \'"\'', ('<string>', 10, 78, 'MessageString = "ODI-1226: Step BASIC_POLICY_STATUS fails after 1 attempt(s). \n'))
    How can I get <%=odiRef.getPrevStepLog("MESSAGE")%> into Jython so I can send it in an email?

    My efforts to use the getQuotedString() method failed in either the JavaBeanShell parser or the Jython parser.
    However, the following works using the Jython/Python triple quotes.
    import smtplib
    server = smtplib.SMTP('xxxmail')
    From = 'XXX'
    To = '#EMAIL_RECIPIENT'
    Subject = ' '.join(['#Platform'
    ,'<%=snpRef.getSession("CONTEXT_NAME")%>'
    ,'<%=snpRef.getSession( "SESS_NAME" )%>'
    ,'<%=odiRef.getPrevStepLog("STEP_NAME")%>'
    ,'Failed'])
    MessageString = """<%=odiRef.getPrevStepLog("MESSAGE")%>"""
    MessageString = MessageString[:MessageString.find('\tat')]
    if not MessageString:
    MessageString = 'No previous step log message'
    Message="From: %s\r\nTo: %s\r\nSubject: %s\r\n\r\n%s" % (From,To,Subject,MessageString)
    server.sendmail(From,To,Message)
    raise RuntimeError("Fail")
    Edited by: user8351875 on Mar 8, 2012 11:18 AM

  • Jython script error..while invoking odi scenario

    while running the below jython script i am getting the following error..any idea how to resolve this..not able to find any solution in the net
    Jython Script
    ==========
    import os
    scen_name="DVM"
    scen_ver="001"
    odiscen="startcmd.bat OdiStartScen -SCEN_NAME="+scen_name+"-SCEN_VERSION="+scen_ver
    if os.system(odiscen) <> 0:
    raise odiscen
    Error:
    ====
    ODI-1217: Session GetFileNames (412355) fails with return code 7000.
    ODI-1226: Step GetFileNames fails after 1 attempt(s).
    ODI-1232: Procedure GetFileNames execution fails.
    Caused By: org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 6, in <module>
    startcmd.bat OdiStartScen -SCEN_NAME=DVM-SCEN_VERSION=001

    i tried with spaces also..and also added context also in the script..but still getting the same error
    import os
    scen_name="DVM"
    scen_ver="001"
    cont="E1APS"
    odiscen="startcmd.bat OdiStartScen -SCEN_NAME="+scen_name+" -SCEN_VERSION="+scen_ver+" -CONTEXT="+cont
    if os.system(odiscen) <> 0:
    raise odiscen

  • Error when trying to start WLST in Jython 2.5 interpreter

    Hello!
    I try to get WLST working in a standalone jython interpreter.
    What i did:
    - installed Jython 2.5.4 RC1
    - created a startscript for Jython (taken from wlst.sh)
    WL_HOME="/opt/oracle/wlserver_10.3"
    umask 027
    # set up common environment
    WLS_NOT_BRIEF_ENV=true
    . "${WL_HOME}/server/bin/setWLSEnv.sh"
    CLASSPATH="${CLASSPATH}${CLASSPATHSEP}${FMWLAUNCH_CLASSPATH}${CLASSPATHSEP}${DERBY_CLASSPATH}${CLASSPATHSEP}${DERBY_TOOLS}${CLASSPATHSEP}${POINTBASE_CLASSPATH}${CLASSPATHSEP}${POINTBASE_TOOLS}"
    /export/home/weblogic/jython/bin/jython
    - generated the wl.py as mentioned in "http://docs.oracle.com/cd/E13222_01/wls/docs92/pdf/config_scripting.pdf"
    wls:/(offline)> writeIniFile("wl.py")
    This is the generated file (wl.py):
    This is WLST Module that a user can import into other Jython Modules
    @author Satya Ghattu
    Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
    Copyright (c) 2008,2009 Oracle and/or its affiliates. All rights reserved.
    WARNING: This file is part of the WLST implementation and as such may
    change between versions of WLST. You should not try to reuse the logic
    in this script or keep copies of this script. Doing so could cause
    your WLST scripts to fail when you upgrade to a different version of
    WLST.
    from weblogic.management.scripting.utils import WLSTUtil
    import sys
    origPrompt = sys.ps1
    theInterpreter = WLSTUtil.ensureInterpreter();
    WLSTUtil.ensureWLCtx(theInterpreter)
    execfile(WLSTUtil.getWLSTScriptPath())
    execfile(WLSTUtil.getOfflineWLSTScriptPath())
    exec(WLSTUtil.getOfflineWLSTScriptForModule())
    execfile(WLSTUtil.getWLSTCommonModulePath())
    theInterpreter = None
    sys.ps1 = origPrompt
    modules = WLSTUtil.getWLSTModules()
    for mods in modules:
      execfile(mods.getAbsolutePath())
    wlstPrompt = "false"
    - started Jython with the startscript from above
    - imported wl.py into the jython interpreter
    - got this error:
    weblogic@AP4S105# ./start_jython.sh
    Jython 2.5.4rc1 (2.5:723492dbab02, Feb 8 2013, 09:50:55)
    [Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_75
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import wl
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "wl.py", line 17, in <module>
        theInterpreter = WLSTUtil.ensureInterpreter();
            at weblogic.management.scripting.utils.WLSTInterpreter.addModulesFromManifest(WLSTInterpreter.java:252)
            at weblogic.management.scripting.utils.WLSTInterpreter.addModulesFromManifest(WLSTInterpreter.java:246)
            at weblogic.management.scripting.utils.WLSTInterpreter.addWLSModules(WLSTInterpreter.java:220)
            at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:141)
            at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:76)
            at weblogic.management.scripting.utils.WLSTUtil.ensureInterpreter(WLSTUtil.java:157)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
    java.lang.NoSuchFieldError: java.lang.NoSuchFieldError: packageManager
    Does someone know what I can do to fix this?

    Hi guys:
    I got exactly the same error. I recently installed BPEL Process Manager for Developers 10g Release 2 (10.1.2) in windows XP.
    The default setting for BPEL VM memory is Xms512m -Xmx512m -Xmn300m. I tried to set maximum size to 1024 but I had this error.
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    if any body can suggest a solution will be great .
    Thanks.
    Message was edited by:
    user533906
    Message was edited by:
    user533906

  • Error in Jython code

    Dear All,
    I am facing on issue in my jython procedure;
    Getting following error;
    Message:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<string>", line 10, in <module>
    IOError: (2, 'No such file or directory', '/oracle/app/OracleDataLZ/CCO/CIS/CA_TO_CRMoD/Staging/LEADS-HD4 -I.chk')
    Code:
    import string
    import java.sql as sql
    import java.lang as lang
    source_file_name = "#GLOBAL.GV_FILE_SERVER_LOCATION"+"/Staging/"+"#NL_TO_CRMOD.LV_ODL_CSV_FILENAME"
    #raise source_file_name
    source_file_name=source_file_name[:-4]+".chk"
    #raise source_file_name
    source_file = open(source_file_name, 'r')
    number_of_jobs=int(source_file.readline())
    sourceConnection = odiRef.getJDBCConnection("SRC")
    sqlstring = sourceConnection.createStatement()
    curr_line=source_file.readline()
    for x in range(number_of_jobs):
         curr_line=source_file.readline()
         odl_job_id=curr_line[0:string.find(curr_line,",")]
         chunk_file=curr_line[string.find(curr_line,",")+1:string.find(curr_line,".csv,")+4]
         if (odl_job_id == '' or len(odl_job_id)==0):
              odl_job_id="NOT_EXECUTED"
         sqlstmt ="INSERT INTO CZ_NAB_CRMOD_ODL_JOBS_GT (SESSION_NUM,CHUNK_FILE_NAME,ODL_JOB_ID,OBJ_TYPE,STATUS) VALUES ('" + str(#NL_TO_CRMOD.LV_CURRENT_EXECUTION_SESSION_NUMBER) + "','" + chunk_file + "','" + odl_job_id + "','"+"#NL_TO_CRMOD.LV_ODL_OPERATION"+"','Unchecked')"
         #raise sqlstmt
         result=sqlstring.executeUpdate(sqlstmt)
    source_file.close()
    Please help me to resolve this issue;
    Thanks and Regards
    san

    The IOError indicates that file "/oracle/app/OracleDataLZ/CCO/CIS/CA_TO_CRMoD/Staging/LEADS-HD4 -I.chk" does not exist. Please check if it exists or is it visible to ODI agent (file access permissions).

  • Getting error in Jython Procedure

    hi all,
    I m writing this code in ODI procedure with Target technology as Jython and ignore errors checked.
    filesrc = open('D:\MyFile.txt ','r')
    first=filesrc.readline()
    lines = 0
    while first:
    lines += 1
    first=filesrc.readline()
    def intWithCommas(x):
    if type(x) not in [type(0), type(0L)]:     
    raise TypeError("Parameter must be an integer.")
    if x < 0:
    return '-' + intWithCommas(-x)
    result =''
    while x >= 1000:
    x, r = divmod(x, 1000)
    result = ",%03d%s" % (r, result)
    return "%d%s" % (x, result)
    s1=str(intWithCommas(lines))
    s2='\n\n and the First Line of the File is —>> \n\n'
    filesrc.seek(0)
    s3=str(filesrc.readline())
    final=s1 + s2 + s3
    raise '\n\n The Number of Lines in the File are —>> ', final
    but getting this error:
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    (no code object) at line 0
    SyntaxError: ('invalid syntax', ('<string>', 5, 1, 'lines += 1'))
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
         at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    Please help me in this regard..

    hi,
    Thanks for ur reply....
    i tried it using command promt...
    bin>jython D:\My_Jython.py
    but got errror...
    'jython' is not recognized as an internal or external command,
    operable program or batch file.
    then i tried
    bin>startcmd jython D:\My_Jython.py
    Again error::::
    OracleDI: Starting Command jython D:\MyFile.py
    java.lang.RuntimeException: oracle.odi.oditools.InvalidOdiToolException: Error:
    Unrecognized Oracle Data Integrator built-in function: jython
    at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
    lRunner.java:87)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgOb
    jectTemplate.java:193)
    at oracle.odi.oditools.OdiAbstractToolRunner$1.doInTransaction(OdiAbstra
    ctToolRunner.java:77)
    at oracle.odi.core.persistence.transaction.support.TransactionTemplate.e
    xecute(TransactionTemplate.java:119)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
    ToolRunner.java:70)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractTool
    Runner.java:53)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: oracle.odi.oditools.InvalidOdiToolException: Error: Unrecognized Orac
    le Data Integrator built-in function: jython
    at com.sunopsis.dwg.function.SnpsFunctionBase.getOpenToolApi(SnpsFunctio
    nBase.java:939)
    at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
    lRunner.java:83)
    ... 6 more
    oracle.odi.oditools.OdiToolException: java.lang.RuntimeException: oracle.odi.odi
    tools.InvalidOdiToolException: Error: Unrecognized Oracle Data Integrator built-
    in function: jython
    at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
    ToolRunner.java:104)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractTool
    Runner.java:53)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: java.lang.RuntimeException: oracle.odi.oditools.InvalidOdiToolExcepti
    on: Error: Unrecognized Oracle Data Integrator built-in function: jython
    at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
    lRunner.java:87)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgOb
    jectTemplate.java:193)
    at oracle.odi.oditools.OdiAbstractToolRunner$1.doInTransaction(OdiAbstra
    ctToolRunner.java:77)
    at oracle.odi.core.persistence.transaction.support.TransactionTemplate.e
    xecute(TransactionTemplate.java:119)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeOpenTool(OdiAbstract
    ToolRunner.java:70)
    ... 2 more
    Caused by: oracle.odi.oditools.InvalidOdiToolException: Error: Unrecognized Orac
    le Data Integrator built-in function: jython
    at com.sunopsis.dwg.function.SnpsFunctionBase.getOpenToolApi(SnpsFunctio
    nBase.java:939)
    at oracle.odi.oditools.OdiAbstractToolRunner$1$1.doAction(OdiAbstractToo
    lRunner.java:83)
    ... 6 more
    what wrong this time while executing the command....

  • Jython FTP Error in ODI

    Hi All,
    I am using jython code to ftp to a server. When i hard code the username and password it works fine, but when i try to read the username and password from a file, it doesnt work, i get the following error:
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 3, in ?
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\snpsftp.py", line 51, in __init__
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\snpsftp.py", line 79, in login
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 318, in login
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 229, in sendcmd
    File "C:\ODI\oracledi\bin\..\lib\scripting\Lib\ftplib.py", line 202, in getresp
    error_perm: 530 Login Failed for User username
         at org.apache.bsf.engines.jython.JythonEngine.exec(Unknown Source)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    Below is my source code :
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftp = snpsftp.SnpsFTP(fsrc.readline(),fsrc.readline(),fsrc.readline())
    ftp.setmode('ASCII')
    ftp.mput(fsrc.readline(), 'DEBITEUR.dat',fsrc.readline())
    ftp.close()
    fsrc.close()
    My file structure looks like this :
    100.200.3.45
    username
    password
    C:\ODI\oracledi\demo\file
    /ftpfolder/share/
    I tried reading the file and writing the file to verify the data is correct and it is. If i hard code the username and password, it works fine e.g.
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftp = snpsftp.SnpsFTP('100.200.3.45','username','password')
    ftp.mput('C:\ODI\oracledi\demo\file', 'DEBITEUR.dat','/ftpfolder/share/')
    ftp.close()
    fsrc.close()
    Any help on this matter would be much appreciated. I have been struggling with this for the past 2 days. Im new to ODI so any help would be greatful
    Thanks

    One of the best ways of debugging jython code is to use the print statemnent.
    I suggest that you change the code to something like:
    import snpsftp
    fsrc = open('C:\ODI\DebtorInfo_Properties2.txt', 'r')
    ftpserver=fsrc.readline()
    username=fsrc.readline()
    password=fsrc.readline()
    print "ftpserver '%s'" % ftpserver
    print "username '%s'" % username
    print "password '%s'" % password
    ftp = snpsftp.SnpsFTP(ftpserver,username,password)
    ftp.setmode('ASCII')
    ftp.mput(fsrc.readline(), 'DEBITEUR.dat',fsrc.readline())
    ftp.close()
    fsrc.close()
    Run it in an agent, and you will the print statements in the agent log. You may need to strip() what you read from the file.

  • Jython and Odi Error with Colon...

    Hi there's somthing weird with ODI and jithon..
    i create a procedure
    with jython techology .. i dont't know why .. my principal purpose y to make a connection to the BD..
    but it fails
    i'm testing with easy code .. and the same..
    the code is this ..
    s = 'Hello World %d'
    for i in range(4):
    j = i * 2
    print s % j
    and also probe with this one ...
    if fav == “mundogeek.net”:
    print “Tienes buen gusto!”
    print “Gracias”
    i always get the same error:.....
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (innermost last):
    (no code object) at line 0
    SyntaxError: ('invalid syntax', ('<string>', 3, 1, 'j = i * 2'))
         at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
         at com.sunopsis.dwg.codeinterpretor.k.a(k.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
         at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
         at com.sunopsis.dwg.cmd.e.i(e.java)
         at com.sunopsis.dwg.cmd.g.y(g.java)
         at com.sunopsis.dwg.cmd.e.run(e.java)
         at java.lang.Thread.run(Unknown Source)
    I make a debug ... and the intructions without ":"... are correct..!!! for example.. i cant use if():.. while(): .. def func: because they use ":".... I'm desesperating...
    somebody of u Knows how to solve this issue ? ...
    Thanks !!!

    This is really jython issue and there are suitable forums in internet that should address this issue. Your first code should be:
    s = 'Hello World %d'
    for i in range(4):
         j = i * 2
    print s % j
    You missed the tab indentation under for block and forgot to close the for loop with a new line. The second code block should be:
    if fav == “mundogeek.net”:
         print “Tienes buen gusto!”
    print “Gracias”
    The variable "fav" must be declared before hand.
    More edit -> OTN forum is eating the tabs that I provided. Third line in first block and 2nd line in 2nd code block should start with a tab.
    Edited by: siddhartha@eastcoast on Apr 27, 2010 3:04 PM

  • Error Using Send Jython HTML Email

    I have imported the procedure from Oracle Support and tried sending mail using Send Jython HTML Email.
    I receive error as below, pls help.
    org.apache.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
      File "<string>", line 9, in <module>
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 245, in __init__
        (code, msg) = self.connect(host, port)
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 311, in connect
        raise socket.error, msg
    socket.error: (62, 'Connection refused')
      at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
      at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
      at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
      at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
      at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: Traceback (most recent call last):
      File "<string>", line 9, in <module>
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 245, in __init__
        (code, msg) = self.connect(host, port)
      File "C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 311, in connect
        raise socket.error, msg
    socket.error: (62, 'Connection refused')

    The underlying error here is -> socket.error: (62, 'Connection refused')
    Please debug in the jython code in your procedure to see if you are passing correct parameters.

  • Procedure jython mail - import error

    Hello everyone,
    I tried to import the jython procedure in my project, but bumped on this error:
    com.sunopsis.core.SnpsNotConsistentSynonymImport: ODI-10013: This import action has been cancelled because it could damage your repository. This is due to an SNP_TRT object that has object identifier 340001 that is greater than that for the current SNP_TRT id sequence. Importing this object would lead to primary key violations in the future.
         at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6041)
         at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:5650)
         at com.sunopsis.dwg.DwgObject.importFromXmlWithCommit(DwgObject.java:5695)
         at com.sunopsis.graphical.dialog.SnpsDialogImportXml.doImport(SnpsDialogImportXml.java:375)
         at com.sunopsis.graphical.dialog.SnpsDialogImportXml$1.doInBackground(SnpsDialogImportXml.java:1248)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker$1.call(SwingWorker.java:240)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at com.sunopsis.graphical.tools.utils.swingworker.SwingWorker.run(SwingWorker.java:278)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:619)
    Does anyone have any suggestions? Because I don't think changing up the value of the internal identifier of the object is a good idea.
    greetings and thanks

    try importing in duplication

  • ERROR while deploying with Jython tool

    HI,
    I am trying to deploy a BPEL process using joython tool. This is deploying well in one system, in another system its giving some porblem............ any idea.
    validateTask:
    [validateTask] Validation of workflow task definitions is completed without erro
    rs
    compile:
    validating "C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankStatementServices\Cre
    ateBankstatementEbizFinProvABCSImpl\bpel\CreateBankstatementEbizFinProvABCSImpl.
    bpel" ...
    BPEL suitcase generated in: C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankState
    mentServices\CreateBankstatementEbizFinProvABCSImpl\bpel\output\bpel_CreateBanks
    tatementEbizFinProvABCSImpl_1.0.jar
    deployProcess:
    Deploying process C:\workspaces\jdev\deploy\mywork\SNIEbizFinBankStatementServic
    es\CreateBankstatementEbizFinProvABCSImpl\bpel\output\bpel_CreateBankstatementEb
    izFinProvABCSImpl_1.0.jar
    Traceback (innermost last):
    File "scripts/intDeploy.jy", line 77, in ?
    File "scripts/utilIntg.jy", line 27, in processControlFile
    File "scripts/utilIntg.jy", line 117, in processICF
    File "scripts/utilIntg.jy", line 167, in processApplications
    File "scripts/utilIntg.jy", line 229, in deployApplication
    File "scripts/utilSVN.jy", line 68, in deploy
    File "scripts/utilSVN.jy", line 112, in executeAnt
    Error while loading process.
    The process domain encountered the following errors while loading the process "C
    reateBankstatementEbizFinProvABCSImpl" (revision "1.0"): Javac compiler configur
    ation error.
    Failed to execute javac compiler on file(s) "/opt/oracle/soa/bpel/domains/ebizfi
    nsecureasync/tmp/.bpel_CreateBankstatementEbizFinProvABCSImpl_1.0_f1a2ef9de07efd
    8af2d32ee0c013f56d.tmp/BPEL-INF/src/bpel/createbankstatementebizfinprovabcsimpl/
    BPEL_BIN.java". Exception reported is:
    Please verify that javac compiler is installed on this machine and is included i
    n the classpath (check that "tools.jar" in particular is in the classpath).
    classpath: /opt/oracle/soa/bpel/system/classes:/opt/oracle/soa/bpel/lib/j2ee_1.3
    .01.jar:/opt/oracle/soa/bpel/lib/xmlparserv2.jar:/opt/oracle/soa/bpel/lib/orabpe
    l-ant.jar:/opt/oracle/soa/bpel/lib/orabpel-boot.jar:/opt/oracle/soa/bpel/lib/ora
    bpel-common.jar:/opt/oracle/soa/bpel/lib/orabpel-exts.jar:/opt/oracle/soa/bpel/l
    ib/orabpel-thirdparty.jar:/opt/oracle/soa/bpel/lib/orabpel.jar:/opt/oracle/soa/b
    pel/lib/xmlparserv2.jar:/opt/oracle/soa/bpel/lib/orabpel-ant.jar:/opt/oracle/soa
    /bpel/lib/orabpel-boot.jar:/opt/oracle/soa/bpel/lib/orabpel-common.jar:/opt/orac
    le/soa/bpel/lib/orabpel-exts.jar:/opt/oracle/soa/bpel/lib/orabpel-thirdparty.jar
    :/opt/oracle/soa/bpel/lib/orabpel.jar:/opt/oracle/soa/bpel/lib/xmlparserv2.jar:/
    opt/oracle/soa/bpel/domains/ebizfinsecureasync/tmp/.bpel_CreateBankstatementEbiz
    FinProvABCSImpl_1.0_f1a2ef9de07efd8af2d32ee0c013f56d.tmp/BPEL-INF/classes
    If you have installed a patch to the server, please check that the bpelcClasspat
    h domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.j
    ava:285)
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    This is caused when the new security certificates were installed, to resolve this issue I followed the following steps and got resolved.
    1.     Open a cmd window
    2.     Change directory to any directory that is under SVN control
    3.     Run, "C:\Program Files\Subversion\bin\svn" list as is.
    4.     You will be prompted to reject®, accept temporarily(t) or accept permanent (p): type in p
    5.     Try your deployment again
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Jython scripts fails from cmd line Error: no domain or domain template...

    --------------script---------------
    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

    Also, you must put the parameters of the net use command in the correct order.
    C:\>net help localgroup
    The syntax of this command is:
    NET LOCALGROUP
    [groupname [/COMMENT:"text"]] [/DOMAIN]
    groupname {/ADD [/COMMENT:"text"] | /DELETE} [/DOMAIN]
    groupname name [...] {/ADD | /DELETE} [/DOMAIN]
    This help information tells you that you put the group name first after the words
    net localgroup. As Forest brook pointed out, if the group name contains spaces, you must enclose it in quotes.
    After the group name, put the name of the user or group you want to add to (or remove from) the local group. If the user or group name contains spaces, as noted, you must enclose it in quotes. After this group name, put the parameter
    /ADD to add to the local group, or put /DELETE to remove.
    For example, suppose you want to add the domain group FABRIKAM\Account Operators to the local Administrators group. This is the command you would enter:
    C:\> net localgroup Administrators "FABRIKAM\Account Operators" /add
    This command adds FABRIKAM\Account Operators to the local Administrators group.
    In your specific case, it looks like the command would be:
    C:\> net localgroup Administrators "XYZ\Desktop Administrator" /delete
    Bill

  • Error accessing User-Database from Jython CLI

    Hi All,
    once again, we experience a problem, when running udb commands from the Jython CLI, namely one of 'udb.g.la' or 'udb.u.la' (Others may be affected as well).
    Our user is logged on and the application handle works well for any other CLI calls.
    Our code looks something like this:
    app = PyCLUI()
    app.execRaw('udb.login'{...})   # as admin user
    app.execRaw('udb.g.la',{})This fails with a ClientException. I have printed the stack-trace:
    com.sun.n1.sps.model.util.ClientException
         at com.sun.n1.sps.model.util.ClientException.wrap(ClientException.java:96)
         at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:312)
         at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)
         at org.python.core.PyMethod.__call__(PyMethod.java:99)
         at org.python.core.PyObject.__call__(PyObject.java:650)
         at clui$py.execRaw$4(clui.py:46)
         at clui$py.call_function(clui.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:437)
         at org.python.core.PyTableCode.call(PyTableCode.java:333)
         at org.python.core.PyFunction.__call__(PyFunction.java:195)
         at org.python.core.PyMethod.__call__(PyMethod.java:99)
         at org.python.core.PyObject.__call__(PyObject.java:650)
         at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:437)
         at org.python.core.PyFunction.__call__(PyFunction.java:189)
         at org.python.core.PyObject._callextra(PyObject.java:786)
         at org.python.pycode._pyx0.main$44(cli_base.py:556)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:277)
         at org.python.core.PyFunction.__call__(PyFunction.java:174)
         at org.python.pycode._pyx0.f$0(cli_base.py:563)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1211)
         at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)
         at org.python.util.jython.main(jython.java:190)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)
         at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)
    java.lang.ArrayStoreException
         at com.raplix.util.proxy.ProxyManager.privateToPublicInstance(ProxyManager.java:422)
         at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.innerExecute(CommandManagerImpl.java:304)
         at com.raplix.rolloutexpress.ui.api.CommandManagerImpl.execute(CommandManagerImpl.java:170)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:173)
         at org.python.core.PyMethod.__call__(PyMethod.java:99)
         at org.python.core.PyObject.__call__(PyObject.java:650)
         at clui$py.execRaw$4(clui.py:46)
         at clui$py.call_function(clui.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:437)
         at org.python.core.PyTableCode.call(PyTableCode.java:333)
         at org.python.core.PyFunction.__call__(PyFunction.java:195)
         at org.python.core.PyMethod.__call__(PyMethod.java:99)
         at org.python.core.PyObject.__call__(PyObject.java:650)
         at org.python.pycode._pyx0.dumpUsers$36(cli_base.py:327)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:437)
         at org.python.core.PyFunction.__call__(PyFunction.java:189)
         at org.python.core.PyObject._callextra(PyObject.java:786)
         at org.python.pycode._pyx0.main$44(cli_base.py:556)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyTableCode.call(PyTableCode.java:277)
         at org.python.core.PyFunction.__call__(PyFunction.java:174)
         at org.python.pycode._pyx0.f$0(cli_base.py:563)
         at org.python.pycode._pyx0.call_function(cli_base.py)
         at org.python.core.PyTableCode.call(PyTableCode.java:217)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1211)
         at org.python.core.__builtin__.execfile_flags(__builtin__.java:319)
         at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:158)
         at org.python.util.jython.main(jython.java:190)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
         at java.lang.reflect.Method.invoke(Method.java:386)
         at com.raplix.rolloutexpress.node.bootstrap.BootStrap.run(BootStrap.java:254)
         at com.raplix.rolloutexpress.node.bootstrap.BootStrap.main(BootStrap.java:52)I am not able to dig deeper, unfortunately. Is this worth filing a bug?
    Regards,
    Frank

    I believe there was a bug filed on this issue. A patch for this issue has been released.
    I think following solaris patches address this issue for MS/CLI 122989-02, 122990-02, 122991-02, 122992-02.
    hope this helps,
    Aj

Maybe you are looking for