Getting errors when trying to execute CRUD programs

Hi All
I am trying to execute one of the CRUD programs for creating , updatying or deleting data in MDM server and a m getting a few errors .Could anybody advise.
Created on Jun 6, 2007
package com.sap.nw.mdm.rig;
import com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram;
import com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram;
import com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram;
import com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram;
import com.sap.nw.mdm.rig.programs.data.search.SearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram;
import com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram;
import com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram;
import com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram;
import com.sap.mdm.data.RegionProperties;
import com.sap.nw.mdm.rig.repository.Repository;
import com.sap.nw.mdm.rig.server.Server;
This class is the starting point to execute all sample programs.
To see a description of the various programs you can execute, please have a look at the
documentation for the following classes.  There are static variables in each of these
classes that point to the various programs that can be executed with a description of
what the program does.
<ul>
<li>{@link com.sap.nw.mdm.rig.programs.data.blobs.BLOBDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.checkout_checkin_rollback.CheckOutCheckInRecordsProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.CRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.crud.bulk.BulkCRUDDataProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.keymapping.KeyMappingProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.SearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.attribute.AttributeSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.search.field.FieldSearchProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.syndication.SyndicationProgram}
<li>{@link com.sap.nw.mdm.rig.programs.data.workflow.WorkflowProgram}
</ul>
@author Richard LeBlanc
public class Application {
     private Application() {
Starts the application and executes a program
@param args - not required
     static public void main(String[] args) {
          System.out.println("876876");
          Application app = new Application();
          System.out.println("11111");
          Program program = null;
          System.out.println("22222");
Simply uncomment the line that contains the program you wish to execute and run this class.
Blob Programs
//          program = BLOBDataProgram.RETRIEVE_AND_WRITE_IMAGE_TO_FILE;
//          program = BLOBDataProgram.RETRIEVE_AND_WRITE_PDF_TO_FILE;
Checkout/Checkin Data Programs
//          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_CHECK_IN;
//          program = CheckOutCheckInRecordsProgram.CHECK_OUT_NEW_ROLLBACK;
//          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_CHECK_IN;
//          program = CheckOutCheckInRecordsProgram.CHECK_OUT_EXISTING_ROLLBACK;
Create Read Update Delete (CRUD) Data Programs
//          program = CRUDDataProgram.CRUD_HIERARCHY_TABLE;
          program = CRUDDataProgram.CRUD_MAIN_TABLE;
//          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_FLAT_AND_HIERARCHY_LOOKUP_FIELDS;
//          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_QUALIFIED_LOOKUP_FIELD;
//          program = CRUDDataProgram.CRUD_MAIN_TABLE_WITH_TAXONOMY_LOOKUP_FIELD;
//          program = CRUDDataProgram.CRUD_TAXONOMY_TABLE_WITH_ATTRIBUTES;
          System.out.println("333333");
Bulk Create Read Update Delete (CRUD) data programs
(many records at once)
//          program = BulkCRUDDataProgram.BULK_CRUD_MAIN_TABLE;
KeyMapping Programs
//          program = KeyMappingProgram.RETRIEVE;
Search Programs
//          program = SearchProgram.DRILL_DOWN_SEARCH;
//          program = SearchProgram.KEYWORD;
//          program = SearchProgram.MASK;
//          program = SearchProgram.NAMED_SEARCH;
//          program = SearchProgram.QUALIFIER;
Attribute Search Programs
//          program = AttributeSearchProgram.COUPLED_NUMERIC;
//          program = AttributeSearchProgram.NUMERIC;
//          program = AttributeSearchProgram.TEXT;
Field Search Programs
//          program = FieldSearchProgram.BOOLEAN;
//          program = FieldSearchProgram.CURRENCY;
//          program = FieldSearchProgram.LITERAL_DATE;
//          program = FieldSearchProgram.LOOKUP;
//          program = FieldSearchProgram.TEXT;
Syndication Programs
//          program = SyndicationProgram.SYNDICATE_PORT;
Workflow Programs
//          program = WorkflowProgram.EXECUTE;
          //TODO enter MDS name
          String mdsName = "172.18.139.200"; //the name of the Master Data Server
          String repositoryName = "GDS_1"; //make sure this is the name you use when unarchiving
                                                       //the repository otherwise change it to reflect the name
                                                       //of your repository
          String regionName = "English [US]";
          String userName = "Admin"; //there is an admin user with no password in the provided repository
          String password = ""; //there is an admin user with no password in the provided repository
          System.out.println("67r86587");
          app.start(mdsName, repositoryName, regionName, userName, password, program);
Establishes a connection to the given server and logs in to the given repository
with the given logon information and executes the given program
     private void start(String serverName, String repositoryName, String regionName,
                              String user, String password, Program program) {
          //Create an instance of the MDS
          Server server = Server.getInstance(serverName);
          System.out.println("444444");
          //Get the list of running repositories from the server
          Repository[] repositories = server.getRepositories();
          System.out.println("5555");
          Repository repository = null;
          //Go through the list of repositories and see if any match the
          //given repository name
          for(int i=0, j=repositories.length; i<j; i++){
               System.out.println("666666bbye");
               if(repositories<i>.getIdentifier().getName().equals(repositoryName)) {
                    System.out.println(" hello" +repositoryName);
                    repository = repositories<i>;
                    System.out.println(" hi"   + repository);          
          //Get the list of regions for the repository
          RegionProperties[] regions = repository.getRegions();
          RegionProperties region = null;
          //Go through the list of regions and see if any match the given
          //repository name
          for(int i=0, j=regions.length; i<j; i++){
               System.out.println(" hello");
               if(regions<i>.getName().equals(regionName)) {
                    region = regions<i>;
                    System.out.println(" 99999" +region);
          //Login to the repository as you would using the Data Manager
          //This creates a user and repository session that are available using
          //repository.getSession()
          repository.login(region, user, password);
          //execute the program from the list above
          program.execute(repository);
          System.out.println(" finally");
          //destroy the session (destroys the repository and user sessions)
          repository.getSession().destroy();
          //close the connection to the MDS
          repository.getServer().closeConnection();
I am getting the following errors:
Exception in thread "main" java.lang.IllegalArgumentException: Table with Code 'Products' does not exist in the repository 'GDS_1'
     at com.sap.mdm.internal.schema.RepositorySchemaImpl.getTableSchema(RepositorySchemaImpl.java:136)
     at com.sap.nw.mdm.rig.programs.data.crud.CRUDMainTableRecordProgram.execute(CRUDMainTableRecordProgram.java:33)
     at com.sap.nw.mdm.rig.Application.start(Application.java:211)
     at com.sap.nw.mdm.rig.Application.main(Application.java:157)

Hi Stephen,
I assume that a super admin user does not get these error messages, right? If so, this behaviour might come due to missing permissions on PCD objects for the user rubinmd. Please apply note 792370 which explains how to set end user permission on the pcd folder com.sap.ip.collaboration/Rooms
Kind regards,
Roland

Similar Messages

  • Getting error when trying to create Exchange Connector in System Center Service Manager 2012

    Getting error when trying to create Exchange Connector in System Center Service Manager 2012
    The connection to the server was unsuccessful. Please check the server name and/or credentials entered.
    Additional Information: The server URL is not accessible or the user does not have permission to access it (message: The request failed. The remote server returned an error: (401) Unauthorized.
    Warm Regards, Pramod Kumar Singh Manager-IT

    Someone sorted out this issue by installing API 1.2 and copying the dll files to the service manager server ,service folder and replacing it with API 2.0 dll files.
    Also, your question is related to SCSM, please post at SCSM forum if you have further question.
    Juke Chou
    TechNet Community Support

  • Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.

    Currently using Flash Pro CS5,  getting error when trying to open CS4 file.  Error is "Slides and Forms documents are not supported in this version of Flash. Please open in previous version.  Has there been a fix or patch to this issue or do I have to convert back to CS4 to open the file?

    Having the same problem in CS6.  I can tell you that converting back to CS4 will NOT solve the problem.  It seems when support for backward compatibility is discontinued, there's just no way to get
    any help at all?  Absolute failure to provide any user support so far...

  • Getting error when trying to open Job Manager

    Hi List
    we are getting the below error when trying to open the Job Manager,which worked fine until yesterday.
    [nqs error 46105] Error executing Process: "C:\Program Files\Java\jdk1.6.0\bin\javaw.exe" - Xmx1024m -cp D:\OracleBI\server\Bin\JobManager\startup.jar org.eclipse.core.launcher.Main -data D:\OracleBIData\jobmanager -configuration C:\OracleBIData\jobmanager The system cannot find the path specified
    Please advice.
    Thanks..

    Did you change your JDK path by any chance? Also you are getting a strange error message. It is trying to point to both D:\OracleBIData\jobmanager and C:\OracleBIData\jobmanager. Is there anything that you changed prior to doing this?
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Getting Error when trying to connect to the Primavera database. PPM V7 SP3

    Hi Guys,
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService' defined in class path resource [com/primavera/bre//com/primavera/bre/integration/intgconf.xml]: Invalid destruction signature; nested exception is org.springframework.beans.factory.support.BeanDefinitionValidationException: Couldn't find a destroy method named 'destroy' on bean with name 'mailService'
    I have looked into the intgserver.jar under P6IntegrationAPI/lib and looked the com.primavera.infr.srvcs.MailServiceImpl.java and can see that there is no destroy method whereas it is defined in the com.primavera.bre.intergration.intgconf.xml as below
    <!-- provides mail services -->
    <bean id="mailService" class="com.primavera.infr.srvcs.MailServiceImpl" init-method="init" scope="singleton" destroy-method="destroy"*+>
    <property name="adminManager"><ref bean="adminManager"/></property>
    <property name="threadPool"><ref bean="threadPool"/></property>
    <property name="settingsManager"><ref bean="settingsManager"/></property>
    </bean>
    I get the above error when trying to connect to the Primavera database. I use PPMV7 SP3 and I have installed the Integration API from EPPMV7 bundle.
    My demo's are working fine.
    Any help would be appreciated.
    Thanks,
    Kajal.

    Hi Marc,
    I am using a userid (is an admin)
    Using global login method and provided userid & password in integration settings.
    In the machine profiles, provided userid, password and domin.
    Not providing domain in weblogin.
    With all the above I am still getting error "Could not authenticate the specified user. %0" for HFM application
    And with the same settings I am not getting any error to connect to essbase cube.
    Any suggestions?
    Thanks
    Krishna

  • Getting error when trying to update apps

    I'm getting this error when trying to update CC apps on my iMac:
    Update Failed
    Unable to write to file/folder. You may exit now, try after disabling your anti-virus, or contact customer support.
    Has anyone experienced/resolved this issue?

    Ggallowaycb it would appear that your current User account's file permissions have become compromised and you are unable to write/modify a specific directory.  Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your file permissions.

  • Getting error when tried to learn the documents in OFR Designer

    Hi All,
    As per project requirements, I have to create Classification and Verification LearnSets in Oracle Form Recognition Designer depending on three Invoice Types-- PO,Non-PO and Pre-Approved.
    First I created three derived classes under Generic Class -- PO,Non-PO and Pre-Approved.
    I can add documents in Classification and Extraction LearnSet, analyze them, but getting error when click on the Learn button, I couldn't make the engine ready in learned state from the Definition Mode.
    Always getting the below two errors:-
    1) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot learn the BrainwareView : DefaultView
    SERbrainware : Learn, learning error (7)
    2) Cannot compile. May be not enough classes defined or too few documents assigned to the classes.
    Cannot create Brainware Dictionary for BrainwareView : DefaultView
    SERbrainware : Create/AppendDictionary, preprocessing error (3)
    Thanks in advance,
    Moumi.

    Hi All,
    The below mentioned error were resolved after adding documents in Void Class.
    Thanks,
    Moumi.
    Edited by: 903667 on Jan 31, 2013 8:34 PM

  • Runtime error when trying to execute transaction OB58

    Hi all,
    We have upgraded from SAP system 4.6c to ECC 6.0 . We are facing one error in the FI transaction OB58.
    When trying to delete any finanicial version or trying to create any new financial version , we are getting a runtime error which
    states that " Error when attempting to IMPORT object "X011F". and its giving short dump at this point .The description of the error is :
    Short text
        Error when attempting to IMPORT object "X011F".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLFAGL_FSV" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
         not caught in
        procedure "FSV_POSITIONS_CONVERT" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        When importing the object "X011F", the component 1 in the dataset
        had a different length from the corresponding component of the
        target object in the program "SAPLFAGL_FSV".
        The length is 4 in the dataset, but 32 in the program.
    Thanks,
    Sumit

    Hi Sumit,
    We Upgraded our system from 4.6C to ECC 6.0 and
    I am facing same error. We applied note 1544367. After applying not also we are facing issue during
    import x011p to lt_x011p
             i011z to lt_x011z
             x011v to lt_x011v
             x011s to lt_x011s
             x011f to lt_x011f   
    from database rfdt(bs) client p_mandt
                                   id p_versn
                            accepting padding
                             ignoring conversion errors.
    You faced same issue after applying note or if you have any solution please let me know.
    Regards,
    Mahesh

  • Error when trying to execute .class file.

    Hello,
    I downloaded jdk 1.5 from the official java website and have installed it properly. I tried compyling my java program and it gets compilde. But when I try to execute it I keep getting the error "Exception in thread "main" java.lang.NoClassDef Found Error". Please help me .........

    It's because java can't find one (or more) of your .class files. You have to tell it by passing the correct classpath to java.exe.
    Read about the classpath and java launcher here:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
    Message was edited by:
    Loko
    Because:
    Something is definitely wrong with the formatting

  • Always getting errors when trying to control YOKOGAWA 7651 power supply on Labwindows/CVI

    Hi,
    I'm trying to set the voltage on the YOKOGAWA 7651 power supply through labwindows/cvi. I've set up a numeric slide on my userinterface with callback function "yoko7651dcvolts" and constant name "YOKO7651DCVOLTS".
    I always get this error when I run my program:
    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C: Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    This error points to the third argument of the GetCtrlVal function below. The program/compiler wants me pass the variable "yoko1volts" as integer, but I want to (and should) be able to set voltages as floating numbers.
    Plus, even when I declare "yoko1volts" as integer, it stills doesn't work. All I get is zero, zero, and zero...on the power supply meter everytime I press the numeric slide.
    This is the section of the C code that is problemic:
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    This is the related h-file:
    #define YOKO7651_1 4
    #define YOKO7651_1_YOKO7651SWITCH 2 /* control type: binary, callback function: yoko7651switch */
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    Please help, how can I fix this issue?
    All the drivers (including the YOKOGAWA 7651 power supply) are properly installed and mounted. As a matter of fact, I can successfully turn the power supply on and off with the code below:
    int CVICALLBACK yoko7651switch (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int yoko7651switchstate;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);
    SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);
    yk7651_output (yoko76511Panel, !yoko7651switchstate);
    break;
    return 0;
    It's just setting the voltage on the power supply that is very problematic. Any help is appreciated...Thanks.
    Solved!
    Go to Solution.

    I second Al opinion of a disconnection between the UIR and the variable that holds the panel handle.
    As a side note, I noted that the problematic line is reading the value of the controll whose callback is executed:
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    In a situation like this, I would try using GetCtrlVal (panel, control, &yoko1volts); instead, that should get rid of all problems in panel handle / control ID.
    Despite this solution is working, in any case I would deep into the problem as an incorrect panel handle can lead to erratical behaviour in other places of the program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • URGENT:  ERROR when trying to execute ssoexp.csh script

    Hello,
    I am trying to execute the ssoexp.csh script and I keep getting an error. Here is some background info:
    I am running the ssoexp.csh (UNIX) script from the production server.
    Steps:
    - Set the environment to the source <Portal_home>
    - cd to the directory where the script is located
    - set the ORACLE_SID to my development database (because I previously received an error that indicated to set the ORACLE_SID)
    - ssoexp.csh -s portal30_sso -p ****** -d sspexp.dmp -c oracle.database
    I get the following error:
    SP2-0642: SQL*Plus internal error state 2165, context 4294967295:0:0
    Unable to proceed
    SP2-0642: SQL*Plus internal error state 2166, context 4294967294:2:0
    Unable to proceed
    SP2-0642: SQL*Plus internal error state 2166, context 4294967294:2:0
    Unable to proceed
    SP2-0642: SQL*Plus internal error state 2166, context 4294967294:8:0
    Unable to proceed
    SP2-0642: SQL*Plus internal error state 2166, context 4294967294:3:0
    Unable to proceed
    SP2-0152: ORACLE may not be functioning properly
    LRM-00109: could not open parameter file 'so_export.par'
    LRM-00113: error when processing file 'so_export.par'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    PLEASE HELP!!!
    Thank you,
    Claudia Zanni

    Hi Priya,
    1.The entries for the initialization in the BW system are contained in the RSSDLINIT table for the DataSource/source system combination. Compare these with the entries in the ROOSPRMSC table in the OLTP system.
    2. If there are NO entries in the RSSDLINIT table in BW, use transaction RSA7 to delete the delta queue for this DataSource/BW application combination in the source system (OLTP).
    3.Once you deleted all the entries,In Infopackage scheduler option,delete all the init selections to proceed further.
    In which system u r going to do this.....Quality or production.(Better,you check with basis to delete the entries.)
    Regards
    Kumar

  • Error when tried to execute ODI interface for Essbase

    Hi,
    I am trying to load metadata from a file to Essbase. Bur when i am trying to execute the interface, i am getting an error. It reads as follows
    Cannot start execution
    The sourcedatatype is null for the column : ParentName and the technology: Hyperion essbase.

    Hi John,
    I have gone ahead and deleted the Hyperion essbase technology and imported it similar to Hyperion Planning. Now i am able to see only 3 datatypes. Date, String and Numeric.
    I have setup all the connections and created the interface also.
    But when i executed it i got the following error
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 35, in ?
    AttributeError: class 'com.hyperion.odi.common.ODIConstants' has no attribute 'READER_TYPE'
         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.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.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(Thread.java:595)
    What is the mistake i have done. Please let me know

  • Error when trying to execute ODI Interface

    Hello,
    I receive the following error when I try to execute an ODI interface. The interface contains two models trying to load a .csv file into an Oracle table. The models seem to be working and I can right click on the source file and "View Data". I have specifed LKM File To Oracle (SQLLDR), IKM Oracle Incremental Update, and CKM Oracle. But still receive this error on the fourth step of the execution "Loading - SS_0 - call sqlldr via Jython"
    org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
    File "<string>", line 3, in ?
    OS command has signalled errors
         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.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.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)
    Thank you for your help

    Almost...
    You need the sql loader where the "OS command" will execute it means where the agent is installed (once you will execute it from an agent when at production).
    AND that machine where the agent is, need to "see" the target database through the Oracle Listener (tnsnames)....
    Is just like to execute a Sql Loader from you own machine, but who write the command will be ODI.
    Does it make any sense to you?
    Message was edited by:
    Cezar Santos

  • Getting error while trying to execute a external job using dbms_scheduler

    Hello,
    I create a job using alpha account.
    begin
    dbms_scheduler.create_job(
    job_name => 'jps_test_executable',
    job_type => 'EXECUTABLE',
    job_action => '/usr/bin/ksh',
    number_of_arguments => 2
    dbms_scheduler.set_job_argument_value (
    job_name => 'jps_test_executable',
    argument_position => 1,
    argument_value => '/tmp/abc.sh'
    and when I execute the job in the schema using alpha account it works fine.
    BEGIN
    DBMS_SCHEDULER.run_job (job_name => 'jps_test_executable',
    use_current_session => FALSE);
    END;
    Works fine.
    But if I try to execute the same job using some other account say beta in the same schema , I am getting error
    ORA-27476 :”SMS.RUN_SMS_JOBS Does not exist ORA-06512 at “SYS.DBMS_ISCHED” line 2793 ORA-06512 :at “SYS.DBMS_SCHEDULER”,line 1794
    even I give the fill qualifier, still I am getting the error.
    BEGIN
    DBMS_SCHEDULER.run_job (job_name => 'alpha.jps_test_executable',
    use_current_session => FALSE);
    END;
    Any help will be appreciated.
    Thank you,
    Raj

    It's the expected behavior:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHHBGGI
    RUN_JOB requires that you be the owner of the job or have ALTER privileges on that job. You can also run a job if you have the CREATE ANY JOB privilege.So, you need to grant the required privilege:
    aplha@orcl> grant alter on alpha.jps_test_executable to beta;HTH
    Enrique
    PS If your problem was solved consider marking the question as answered.

  • Getting error when trying to login to CR XI server on suse linux server

    http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_21747694.html
    Hello,
    I'm getting the above error when I try to login as administrator (blank password).
    This did work until I rebooted the linux server.
    I checked there are no port conflicts (nothing is using port 6400).
    I restarted the services manually, I even rebooted server and then restarted ccm services manually but no luck. I did find this is a known problem with linux crystal reports server but nothing stated about how to resolve it.
    Finding solutions in the SAP portal is difficult! This is about as user friendly as the Cisco support website. Cisco portal is AWEFUL.
    I'm in process of getting a support contract from SAP but it's taking a long time.
    I have to state the support from SAP is a big step DOWN from the business objects support. We were able to call and speak to engineers in a few minutes.
    With SAP support I was able to talk to some foreigner (asian or indian) to tell me that there is no phone support with SAP. This after being redirected at least 4 times between departments.
    Wow! So what do the other business objects customers have to say about the SAP support?
    I can't help but wonder about moving on to another solution for publishing reports.
    A vendor who actually gives a damn about the customers.
    Oskar

    this worked until I rebooted the server.
    I'm getting error showing it's trying to connect to a mysql database 'BOE115'.
    This server does have a mysql db running on it, but that db has no instance of BOE115.
    It also shows it's trying to connect as a user that isn't on the database.
    Where can I see the script with user/password that is trying to run and connect to the mysql db?
    Also, why didn't the install create the instance and user?
    Why did this work until I rebooted?
    There is no firewall on this server, that has been disabled.
    Thank you,
    Oskar

Maybe you are looking for