Log messages from multiple instances in single file.

Hi!
I have a requirement that i need to log messages from muliple instances of the same object in a file. The new file will be created every day. Likewise, multiple objects might have various instances each.
One class
->multiple instances
-> log message stored in single file.
Note :
I am using the Message driven bean. I need to log from the bean class. JDK 1.3
If u could help me out that would be great.

As long as they are all from the same OS program (a single Java VM), that's OK - you can use Log4j, and use a rotating file logger.
If you point two different virtual machine processes at the same file, one may have it open when the other is trying to rotate it, and your rotation may fail (at best) and/or you may lose the old log (the worst case).
If you need to collect log messages from multiple processes (or even multiple machines), use a syslog-based logger (Log4j has a SyslogAppender) or use Log4j's SocketAppender to write to a log4j-builtin log listener (SocketNode).

Similar Messages

  • Re: Remove log messages from loop

    CURSOR cur_item_rev_child IS
    SELECT ffv.flex_value, --org code
    mp.organization_id
    FROM fnd_flex_values ffv,
    fnd_flex_value_sets ffvs,
    mtl_parameters mp
    WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'EMR Add Spec Org' -- Changed by WIPRO on 01-OCT-12 (SR # 1078990 )--
    AND NVL(ffv.enabled_flag, 'N') = 'Y'
    AND ffv.flex_value = mp.organization_code
    AND mp.master_organization_id = v_num_master_org;
    CURSOR cur_item_rev (i_num_organization_id NUMBER)
    IS
    SELECT /*+ index(xvasd XXINV_VLVS_ADD_SPEC_DETAILS_N1 )*/mirb.inventory_item_id,
    mirb.organization_id,
    MAX(mirb.revision) item_revision,
    msib.segment1, -- Added by Infosys on 19-May-09
    xvasd.spec_revision spec_revision -- Added by Infosys on 19-May-09
    FROM xxinv_vlvs_add_spec_details xvasd,
    xxinv_vlvs_item_add_spec xvias,
    mtl_parameters mp,
    mtl_system_items_b msib,
    mtl_item_revisions_b mirb
    WHERE xvasd.spec_number = xvias.spec_number
    AND xvasd.spec_type = xvias.spec_type
    AND xvias.spec_type = v_chr_spec_type
    AND xvasd.spec_status='ACTIVE'
    AND xvias.inv_item_id = msib.inventory_item_id
    AND mirb.inventory_item_id=msib.inventory_item_id
    AND xvias.organization_id = msib.organization_id
    AND msib.organization_id = mirb.organization_id
    AND mirb.organization_id = mp.organization_id
    AND mp.organization_id = i_num_organization_id
    --AND LPAD (xvasd.spec_revision, 3, 0) LPAD (b.revision, 3, 0)
    GROUP BY mirb.inventory_item_id,
    mirb.organization_id,
    msib.segment1,
    xvasd.spec_revision;
    BEGIN
    o_chr_errbuf := 'Program Completed Successfully';
    o_num_retcode := 0;
    fnd_file.put_line(fnd_file.output,
    fnd_file.put_line(fnd_file.output,
    ' EMR INV Item Revisions Update Program VLVS');
    fnd_file.put_line(fnd_file.output,
    fnd_file.put_line(fnd_file.output, '');
    --Starting the Program
    fnd_file.put_line(fnd_file.LOG,
    fnd_file.put_line(fnd_file.LOG,
    ' EMR INV Item Revisions Update Program VLVS');
    fnd_file.put_line(fnd_file.LOG,
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG, 'Input Parameter');
    fnd_file.put_line(fnd_file.LOG, '---------------');
    fnd_file.put_line(fnd_file.LOG, 'Debug Mode: ' || v_chr_debug_mode);
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    -- Get the value of the spec type from the lookup. If no value is set then display the error message and raise exception
    IF v_chr_spec_type IS NULL
    THEN
    fnd_file.put_line(fnd_file.LOG,
    'Error: Set a value for the profile: XXINV : Additional Spec Type VLVS');
    RAISE excp_user;
    ELSE
    fnd_file.put_line(fnd_file.LOG,
    'Processing for the addition spec item type: ' ||
    v_chr_spec_type);
    END IF;
    -- Select all the eligible records for processing
    FOR rec_cur_item_rev_child IN cur_item_rev_child
    LOOP
    FOR rec_cur_item_rev IN cur_item_rev (rec_cur_item_rev_child.organization_id)
    LOOP
    -- v_chr_spec_rev := NULL;
    -- v_chr_item_number := NULL; Commented by Infosys on 19-May-09
    /* BEGIN --Start of comments by Infosys on 19-May-09
    SELECT segment1
    INTO v_chr_item_number
    FROM mtl_system_items_b
    WHERE inventory_item_id = rec_cur_item_rev.inventory_item_id
    AND organization_id=rec_cur_item_rev.organization_id;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_chr_item_number := NULL;
    fnd_file.put_line(fnd_file.LOG,'Item Number not found in MTL_SYSTEM_ITEMS_B Table for the inv item id '
    ||rec_cur_item_rev.inventory_item_id);
    WHEN OTHERS THEN
    v_chr_item_number := NULL;
    RAISE excp_loop;
    END;*/--End of comments by Infosys on 19-May-09
    /*BEGIN --Start of comments by Infosys on 19-May-09
    SELECT MAX(spec_revision)
    INTO v_chr_spec_rev
    FROM xxinv_vlvs_add_spec_details xvasd,
    xxinv_vlvs_item_add_spec xvias
    WHERE xvasd.spec_number = xvias.spec_number
    AND xvasd.spec_type = xvias.spec_type
    AND xvias.spec_type = v_chr_spec_type
    AND xvias.inv_item_id =rec_cur_item_rev.inventory_item_id
    AND organization_id=rec_cur_item_rev.organization_id
    GROUP BY xvias.inv_item_id,
    organization_id,
    xvias.spec_type;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_chr_spec_rev := NULL;
    fnd_file.put_line(fnd_file.LOG,'Spec Revision not found in Additional Specs Table for the inv item id '
    ||rec_cur_item_rev.inventory_item_id);
    WHEN OTHERS THEN
    v_chr_spec_rev := NULL;
    RAISE excp_loop;
    END;*/--End of comments by Infosys on 19-May-09
    IF LPAD (rec_cur_item_rev.spec_revision, 3, 0) LPAD (rec_cur_item_rev.item_revision, 3, 0)
    THEN
    BEGIN
    v_num_total_cnt := v_num_total_cnt + 1;
    --to take count of the total records processed
    v_chr_error_flag := 'N'; reset the error flag to N before processing each record
    v_num_revision_id := NULL;
    IF v_num_total_cnt = 1
    THEN
    v_chr_output_hdr := 'ORG CODE' ||
    RPAD('|ITEM NUMBER', 51, ' ') ||
    '|ITEM REV' || '|SPEC REV' ||
    '|ERROR REASON';
    END IF;
    -- Check if the revision on the spec is greater that the revision on the item
    IF LPAD (rec_cur_item_rev.spec_revision, 3, 0) > LPAD (rec_cur_item_rev.item_revision, 3, 0)
    THEN
    BEGIN
    SELECT mtl_item_revisions_b_s.NEXTVAL
    INTO v_num_revision_id
    FROM DUAL;
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when getting the new revision id from the sequence MTL_ITEM_REVISIONS_B_S: ' ||
    SQLERRM;
    RAISE excp_loop;
    END;
    -- begin block for assigning values and calling API to update the item revisions
    BEGIN
    v_rec_item_revision.inventory_item_id := rec_cur_item_rev.inventory_item_id;
    v_rec_item_revision.organization_id := rec_cur_item_rev_child.organization_id;
    v_rec_item_revision.revision_id := v_num_revision_id;
    v_rec_item_revision.revision := rec_cur_item_rev.spec_revision;--v_chr_spec_rev;
    v_rec_item_revision.revision_label := rec_cur_item_rev.spec_revision;--v_chr_spec_rev;
    v_rec_item_revision.revision_reason := 'Updated the Item Revision';
    v_rec_item_revision.implementation_date := v_dte_sysdate;
    v_rec_item_revision.effectivity_date := v_dte_sysdate;
    v_rec_item_revision.attribute_category := NULL;
    v_rec_item_revision.attribute1 := NULL;
    v_rec_item_revision.attribute2 := NULL;
    v_rec_item_revision.attribute3 := NULL;
    v_rec_item_revision.attribute4 := NULL;
    v_rec_item_revision.attribute5 := NULL;
    v_rec_item_revision.attribute6 := NULL;
    v_rec_item_revision.attribute7 := NULL;
    v_rec_item_revision.attribute8 := NULL;
    v_rec_item_revision.attribute9 := NULL;
    v_rec_item_revision.attribute10 := NULL;
    v_rec_item_revision.attribute11 := NULL;
    v_rec_item_revision.attribute12 := NULL;
    v_rec_item_revision.attribute13 := NULL;
    v_rec_item_revision.attribute14 := NULL;
    v_rec_item_revision.attribute15 := NULL;
    v_rec_item_revision.description := NULL;
    v_rec_item_revision.creation_date := v_dte_sysdate;
    v_rec_item_revision.created_by := v_num_user_id;
    v_rec_item_revision.last_update_date := v_dte_sysdate;
    v_rec_item_revision.last_updated_by := v_num_user_id;
    v_rec_item_revision.last_update_login := v_num_login_id;
    v_rec_item_revision.request_id := v_num_request_id;
    v_rec_item_revision.program_id := v_num_program_id;
    v_rec_item_revision.program_application_id := v_num_prog_appln_id;
    mtl_item_revisions_util.insert_row(p_item_revision_rec => v_rec_item_revision,
    x_rowid => v_chr_ret_rowid);
    v_num_succ_cnt := v_num_succ_cnt + 1;
    COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when updating the revisions: ' ||
    SQLERRM;
    RAISE excp_loop;
    END;
    ELSE -- LPAD (cur_item_rev.spec_revision, 3, 0) < LPAD (cur_item_rev.item_revision, 3, 0)
    v_chr_temp_msg := 'Item Revision is greater than the Spec Revision';
    o_num_retcode := 1;
    v_num_err_cnt := v_num_err_cnt + 1;
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    'Organization Code: ' ||
    rec_cur_item_rev_child.flex_value); -- added on 05-May-09 by infosys --
    fnd_file.put_line(fnd_file.LOG,
    'Item Number: ' ||
    rec_cur_item_rev.segment1);
    fnd_file.put_line(fnd_file.LOG,
    'Item Revision: ' ||
    rec_cur_item_rev.item_revision); -- v_chr_item_revision_child -- -- added on 05-May-09 by infosys --
    fnd_file.put_line(fnd_file.LOG,
    'Spec Revision: ' ||
    rec_cur_item_rev.spec_revision);
    fnd_file.put_line(fnd_file.LOG,
    'Error: ' ||
    v_chr_temp_msg);
    fnd_file.put_line(fnd_file.LOG,
    v_chr_output_msg := v_chr_output_msg ||
    RPAD(rec_cur_item_rev_child.flex_value, -- added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.segment1,
    50,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.item_revision, v_chr_item_revision_child, added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.spec_revision,
    8,
    ' ') || '|' ||
    v_chr_temp_msg ||
    CHR(10);
    v_chr_mail_body := v_chr_mail_body ||
    RPAD(rec_cur_item_rev_child.flex_value, -- added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.segment1,
    50,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.item_revision, v_chr_item_revision_child added on 05-May-09 by infosys --
    8,
    ' ') || '|' ||
    RPAD(rec_cur_item_rev.spec_revision,
    8,
    ' ') || '|' ||
    v_chr_temp_msg ||
    -- Display the statistics details in the output file
    fnd_file.put_line(fnd_file.output, '');
    fnd_file.put_line(fnd_file.output,
    'Number of items selected for update: ' ||
    v_num_total_cnt);
    fnd_file.put_line(fnd_file.output,
    'Number of items updated: ' || v_num_succ_cnt);
    fnd_file.put_line(fnd_file.output,
    'Number of items not updated: ' || v_num_err_cnt);
    fnd_file.put_line(fnd_file.output, '');
    fnd_file.put_line(fnd_file.output, v_chr_output_hdr);
    * Print out the output message from CLOB variable "v_chr_output_msg"
    * Substr each line whenever we find the separator CHR(10)
    * Print each line with fnd_file.output function
    BEGIN
    v_num_offset := 1;
    v_num_instr := 0;
    LOOP
    EXIT WHEN v_num_offset > dbms_lob.getlength(v_chr_output_msg);
    -- Get the position of CHR(10) when first time appearence.
    v_num_instr := dbms_lob.instr(v_chr_output_msg,
    CHR(10),
    v_num_offset,
    1);
    v_num_line_length := v_num_instr - v_num_offset + 1;
    -- Substr the each line and print it out
    fnd_file.put_line(fnd_file.output,
    dbms_lob.substr(v_chr_output_msg,
    v_num_line_length - 1,
    v_num_offset));
    v_num_offset := v_num_offset + v_num_line_length;
    END LOOP;
    END;
    END IF; -- LPAD (cur_item_rev.spec_revision, 3, 0) < LPAD (cur_item_rev.item_revision, 3, 0) --
    EXCEPTION
    WHEN OTHERS THEN
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG,
    'Porcessing next record as a Error occured in cursor loop cur_item_rev : ' ||
    SQLERRM);
    END;
    END IF;
    END LOOP; -- cur_item_rev --
    END LOOP; -- cur_item_rev_child --
    -- calling the mail procedure --
    IF v_num_err_cnt > 0
    THEN
    BEGIN
    fnd_file.put_line(fnd_file.LOG, '');
    fnd_file.put_line(fnd_file.LOG,
    'Calling send_notification Procedure...');
    send_notification(o_chr_ret_code => v_chr_status,
    o_chr_ret_mesg => v_chr_temp_msg,
    i_chr_subject => 'EMR INV Item Revisions Update Program VLVS - ' ||
    v_dte_sysdate,
    i_chr_body => v_chr_mail_body);
    EXCEPTION
    WHEN OTHERS THEN
    v_chr_temp_msg := 'Error when calling Procedure send_notification .';
    fnd_file.put_line(fnd_file.LOG,
    'Error details : ' || v_chr_temp_msg ||
    ' - ' || SQLERRM);
    RAISE excp_user;
    END;
    END IF;
    EXCEPTION
    /*WHEN excp_loop THEN
    ROLLBACK;
    o_chr_errbuf := o_chr_errbuf ||
    'Program completed with error when getting the max revision';
    o_num_retcode := 2;*/
    WHEN excp_user THEN
    ROLLBACK;
    o_chr_errbuf := o_chr_errbuf || 'Program completed with error';
    o_num_retcode := 2;
    WHEN OTHERS THEN
    ROLLBACK;
    fnd_file.put_line(fnd_file.LOG,
    'Error in Item Revisions Update Program: ' ||
    SQLERRM);
    o_chr_errbuf := o_chr_errbuf || 'Program completed with error';
    o_num_retcode := 2;
    END update_item_revision;

    I need to remove the log messages from loop...As currently log file printing is in loop....Can you please tell how to remove log file messages from loop.

  • Is it possible to integrate multiple instances with single OAM (Oracle Acce

    Hi All,
    Please could anyone clarify,is it possible to integrate multiple instance with single OAM(Oracle Access Manager).
    We have two instance in development environment, Among them one is already integrated with OAM 11g,Now we want to integrate the second one with OAM 11g. For this already configured OAM is enough or we need to configure the another OAM separately.
    Application Version is 12.1.1
    Database Version : 11.1.0.7
    OS : RHEL 5.3 64 bit
    Thanks in advance.

    Hi Hussein ,
    I Ran below script,
    ant -f txkEBSAuth.xml \
    -Dwlshosturl=appora.corp.hexaware.com:7021 \
    -Dwlsuser=weblogic \
    -Dwlspwd=password1 \
    -DuseDefaults=true \
    -DforceDataSource=true \
    -DdataSourceName=DEV \
    -DdataSourceJNDIName=jndi/DEV \
    -DasadminUser=SSO11GLOGIN \
    -DasadminPassword=welcome1 \
    -DdbcFile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/DEV.dbc \
    -DserverName=AdminServer \
    -DdeploymentName=ebsauth_DEV \
    -DfndauthWarFile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/fndauth.war \
    -DplanPath=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/plan/plan.xml \
    -DforceDeployment=true \
    -DSSOServerRelease=11 \
    -DSSOServerURL=http://appora.corp.hexaware.com:14100 \
    -DWebgateLogoutURL=http://appora.corp.hexaware.com:7780/public/oacleanup.html \
    -DlogConfigfile=/u06/oamfmw/Middleware/appsutil/accessgate/DEV/sample/logging.properties
    -bash: ant: command not found
    Thanks in advance

  • WAP371: Log message from AP

    Hi, 
    I constantly have this log message comming from my wifi access point. How can I do to fix this issue.
    Most of the LAN devices are Phone, Tablet that goes in sleep mode. I read previous message that says that the WAP371 device has difficuty to manage those devices (Phone, Tablet...).
    How to desable those messages without giving up log and service continuity?
    Thanks.
    Vandman
    The log are under this message.
    Log Message from AP (IP OF the WAP371 device)
     TIME                Priority  Process Id                Message
    ========================================================================
    Apr 27 2015 09:3       3        hostapd[1757]           trying to update accounting statistics, station (MAC addresse of a device) not found

    Hi Kuba,
    The following works fine for adding messages in the trace, but ONLY when the trace string (the first argument in the trace method) is currently active (see System Administration screen).
    For the example below to show up in your trace files, the active trace section should be (at least) "someTraceString".
    Report.trace( "someTraceString", "some message", e );
    Logging something with Report.info() should write the message to the UCM log files (@ $domain_home/ucm/cs/weblayout/groups/secure/logs/).
    Fabian

  • How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?

    How can a JMS adapter be configured in BPEL to consume messages from multiple queues ?

    If you want to use JMS with AQ as datastore then there is some configuration you need to do to enable this. This is outside SOA Suite per sa, e.g. no adapter required.
    If you want to connect to the AQ direct then use the AQ adapter.
    this blog may be of some help understand the configuration
    http://biemond.blogspot.com/2008/01/oracle-jms-with-esb-and-bpel.html
    cheers
    James

  • How can i import the data from multiple sources into single rpd in obiee11g

    how can i import the data from multiple sources into single rpd in obiee11g

    Hi,
    to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
    tnx

  • Logging into multiple instance using single ID

    We have multiple instances of CRM ONDemand and have login ID for each instance. I have a group of users who are users across multiple instances, the problem is they have to login using ID and Password every time they navigate across instances. Is there a way in which this can be simplified.
    Eg:
    I have 2 countries with different data set and due to nature of business I have to keep the data separate. But I have operational resources who have to access both instances, is there a way in which they can access both instances from single screen.

    Hi, For seemless navigation of users across instances you can thing about implementing SSO. But if you like to see data across instances in one single instance, it may not be possible without using webservices
    -- Venky CRMIT

  • Multiple instances with single DAD

    Hello,
    I need an example on how to configure multiple schemas example i have test1, test2, test3 schemas in one database, In DADS.CONF file how can i configure multiple instances to point to how ever logged in... test1 is used by one user, test 2used by another user etc... how i can acheive this....... please help.

    Somethin like this
    <Location /test1>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername test1
    PlsqlDatabasePassword passfortest1
    PlsqlDatabaseConnectString yourdb
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage PHOTO_ALBUM.VIEW_ALBUM
    PlsqlDocumentTablename PHOTOS_UPLOAD
    </Location>
    <Location /test2>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername test2
    PlsqlDatabasePassword passfortest2
    PlsqlDatabaseConnectString yourdb
    PlsqlAuthenticationMode Basic
    PlsqlDefaultPage PHOTO_ALBUM.VIEW_ALBUM
    PlsqlDocumentTablename PHOTOS_UPLOAD
    </Location>
    And so on for any of your users. if the Default page is the same you wont need to change it, if no change it.
    Greetings.

  • Scanning multiple pages to single file

    I have the HP Officejet Pro 8600.  I use to be able to scan multiple pages to one file.  For some reason now it separates the pages into single files.  Under advanced settings it looks like the option "create a separate file for each scanned page" is checked, however, it is not highlighted so I can't change it or uncheck it. 

    KB-Sales,
    Welcome to the HP Forum.
    Assuming a recent Windows Operating System and that you install the Full Feature Software (printer software), then you may use the Printer Assistant shortcut to access Scan Document or Photo.
    From there, you may be able to use / create a Scan Template to combine files to output to a final, single file.
    The following Dragon Document may help:
    Scan_Multiple_Documents-Combine
    Note the hint about creating your own Shortcut / Template in the instructions.
    Click the Kudos Thumbs-Up to show you appreciate the help and time from our Experts.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    Click Accept as Solution when the Answer is a good Fix or Workaround!
    Kind Regards,
    Dragon-Fur

  • Log Messages from Transaction Event Logger

    I have 4 instances of MII v12.1 and within a transaction I want to add a message to the log when the transaction runs so I can view it through the message logger. All 4 MII instances were installed by the same consultant a few years ago so there "should" be no differences in the log configs. On 3 of the instances this is working fine - I have created a very simple transaction with one Event Logger action configured with a message "Test Message" and when I execute the transaction I see the correct entry in the log viewer. On the fourth however, although the transaction executes without error I am not seeing anything in the viewer for this event. I am using the standard "last 24 hours" log viewer with no filters and no specific log locations selected, and no customisations. I am seeing other system generated messages. I found some documentation about logging and the viewer and I found the Netweaver log config but as far as I can see it looks consistent between the instance which is working and the one which is not working. Is there some other config which needs to be done to enable Event Logging from transactions? My user has the same access across all instances. Any guidance would be appreciated. I attach a screen shot of what I am expecting to see (taken from one of the instances which is working).

    Hi Partha
    Many thanks for your reply. I have tried this and unfortunately it makes no difference. I also checked on the other instances and found they have their tracing levels all set to error, not Info. I have also noticed that on the instance which is working, in the System Configuration section at the bottom of the Log Config page - for Applications and all sub categories I see the entry .\log\applications_00.log in the Pattern column. On the instance which is not working I see that entry for the Applications root but not for any of the sub categories (even after selecting Copy to subtree). I cannot see where I can set this value (there is no modify function available, even under Administrator login).
    Also, when I look at the log messages which have generated when setting the Event Type to Error on the instance which is not working, it shows one entry and the Category and Location columns show <com.sap.xmii.bls.executables.action.logging.LoggingActions>. When I generate an event with type Error on the instance which is working I get 2 log messages, one with the Category and Location <com.sap.xmii.bls.executables.action.logging.LoggingActions> and the other with Category /Applications/XMII/Xacute/Event and Location <com.sap.xmii.bls.executables.action.logging.LoggingActions>.
    I guess that the .\log\applications_00.log should be showing for all subtree items under Applications and because it is not then the messages are not going into any application log. Not sure how to fix this however.
    I have also reset to the default configuration and it does not change the above.
    Best Rgds
    Richard

  • Multiple Formats in Single File

    Hi,
    Can i extract data from Multiple delimiters type in a single text file. Such as
    CUS0000001,Manish Paliwal,9818689349,25
    CUS0000002,Manish Paliwal,9818689349,25
    CUS0000003,Manish Paliwal,9818689349,25
    CUS0000004,Manish Paliwal,9818689349,25
    CUS0000005,Manish Paliwal,9818689349,25
    CUS0000006,Manish Paliwal,9818689349,25
    CUS0000007,Manish Paliwal,9818689349,25
    CUS0000008,Manish Paliwal,9818689349,25
    CUS0000009,Manish Paliwal,9818689349,25
    CUS0000010,Manish Paliwal,9818689349,25
    CUS0000011,Manish Paliwal,9818689349,25
    CUS0000012,Manish Paliwal,9818689349,25
    CUS0000013     Manish Paliwal     9818689349     25
    CUS0000014     Manish Paliwal     9818689349     25
    CUS0000015     Manish Paliwal     9818689349     25
    CUS0000016     Manish Paliwal     9818689349     25
    CUS0000017     Manish Paliwal     9818689349     25
    CUS0000018     Manish Paliwal     9818689349     25
    CUS0000019     Manish Paliwal     9818689349     25
    CUS0000020     Manish Paliwal     9818689349     25
    CUS0000021     Manish Paliwal     9818689349     25
    CUS0000022     Manish Paliwal     9818689349     25
    CUS0000023     Manish Paliwal     9818689349     25
    CUS0000024     Manish Paliwal     9818689349     25
    Above i given a file, which have 2 kinds of delmiters. Can i extract data from these kind of files in ODI.

    RECORD CODES in column definition are used to differentiate between different record types that are put in a same file.
    The premise here is that the file contains records of different record types and a field in the file identifies the record type. eg. A file contains 2 record types with different formats.
    A,101,'CMP', 'IDV
    A,102,'CMP', 'IDV
    B,1001,'GFRV_OCCD', 'GFRV_ID', 'IDVA, 121 ,'CMP', 'IDV'
    A,101,'CMP', 'IDV
    B,2001,'FRV_OGCCD', 'GFRV_ID', 'IDVA, 121 ,'CMP', 'IDV'
    A,101,'CMP', 'IDVHere the first field identifies the record type - A or B. So, in the ODI data store, you use A or B in the record code field of the column definition of the data-store.
    ODI automatically, gets the records matching the record code specified in the definition of the data-store.
    So, you will create 2 data-stores, one with record code = A (4 columns) and other with record code = B (8 columns)
    Hope that helps.

  • Multiple IDocs-XI-Single File Scenario

    Hi All,
       We need to send multiple IDocs from R/3 to XI and then to a single file using File Adapter. Please help us with your suggestions on how to proceed using a simple solution.
    Regards,
    Peter

    I made a program that solved the issue of collecting the IDOC in to one file.
    1.  The partent profile should be setup for collect idocs
    2.  Make a report that will select and dispatch the idocs
    seudo code:
    select tables with select criteria:
    edidc (idoc control)
    edid4 (idoc data)
    one yo have made you selection into internal tables
    it_final_edidc
    it_final_edid4
    *you can apply rules and data tranformations, eg. PEXR2002 batch per payment type.
    CALL FUNCTION 'EDI_OUTPUT_NEW'
               EXPORTING
                    onl_option  = 'B'
                ERROR_FLAG  = ' '
                NAST_RECORD =
               TABLES
                    i_edidc     = it_final_edidc
                    i_edidd     = it_final_edid4
               EXCEPTIONS
                    OTHERS      = 1.
      " EDI mesages dispatched
      IF sy-subrc EQ 0.
        COMMIT WORK.
        CALL FUNCTION 'DEQUEUE_ALL'
           EXPORTING
                _SYNCHRON = ' '
             EXCEPTIONS
                  OTHERS    = 1.
    That work like a charm when writting the IDOC to a single file.
    But when I send the IDOCS to XI like XML-IDOC I still receive one transaction per IDOC.
    if anyone know how to solve that, let me know.
    juan

  • Lots of system log messages from nsurlstoraged, also systemstatsd

    I'm running Yosemite (10.10.2) on an old Mini (details below).  I am not having particular problems with slowness, crashes, etc., but I'm seeing repeated messages in the System Log which seem to be errors:
    nsurlstoraged[300]: ERROR: shrinkDB - shrink of file system cache did not fully complete.  Result: 11
    systemstatsd[1286]: assertion failed: 14C1514: systemstatsd + 3283 [A886B71F-3A31-3324-9B30-5143FDF4ECCB]: 0xb
    For at least the past 2 days, the systemstatsd messages have the exact same values.  When the computer is in active use, I get 2 of them every 3 to 4 minutes.
    The nsurlstoraged messages are a little more frequent but don't have such a clear pattern.  Some other messages from that source which are interspersed with the above message include the following:
    nsurlstoraged[1263]: realpath() returned NULL for /var/root/Library/Caches/ocspd
    nsurlstoraged[1263]: The read-connection to the DB=/var/root/Library/Caches/ocspd/Cache.db is NOT valid.  Unable to determine schema version.
    nsurlstoraged[1263]: ERROR: unable to determine file-system usage for FS-backed cache at /var/root/Library/Caches/ocspd/fsCachedData. Errno=13
    Should I be concerned about resolving these, or can I just ignore them?  I did run the string of commands provided in the forum by Linc which are intended to reset the privileges on everything in my home directory to the default values, and I also ran the password reset process via the recovery partition to reset the ACLs.
    Just a few quick notes about my system:
    - the volume My Mac system (external) is not the system or boot disk.  It has most of my image files (including iPhoto libraries) plus the iTunes Media folder.  I did not run any commands there to reset file/directory permissions.
    - the volume Macintosh HD is the system disk and contains my home directory.
    - I am planning to upgrade from to 4 GB to 8 GB RAM.
    Thanks very much for any insight into these messages!
    Dave
    EtreCheck version: 2.1.8 (121)
    Report generated April 7, 2015 at 9:11:16 PM EDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        Mac mini (Early 2009) (Technical Specifications)
        Mac mini - model: Macmini3,1
        1 2.26 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400 - VRAM: 256 MB
            Acer P191W 1440 x 900 @ 60 Hz
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: one day 22:49:30
    Disk Information: ℹ️
        Hitachi HTS543225L9SA02 disk0 : (250.06 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            disk0s2 (disk0s2) <not mounted> : 249.20 GB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        OPTIARC DVD RW AD-5670S
    USB Information: ℹ️
        Generic Mass Storage Device
        Logitech Trackball
        Newer Tech miniStack Classic 2 TB
            disk2s1 (disk2s1) <not mounted> : 210 MB
            disk2s2 (disk2s2) <not mounted> : 249.25 GB
            My Mac Time Machine (disk2s3) /Volumes/My Mac Time Machine : 1.50 TB (831.73 GB free)
        Canon iP4300
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        OWC Mercury Elite Pro Quad USB 3 800mbit - 800mbit max
            EFI (disk1s1) <not mounted> : 210 MB
            Macintosh HD (disk1s2) / : 319.21 GB (96.14 GB free)
            Recovery HD (disk1s3) <not mounted>  [Recovery]: 650 MB
            My Mac system (external) (disk1s4) /Volumes/My Mac system (external) : 499.46 GB (174.98 GB free)
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/TechTool Pro 7.app
        [not loaded]    com.micromat.driver.spdKernel (1 - SDK 10.8) [Click for support]
        [not loaded]    com.micromat.driver.spdKernel-10-8 (1 - SDK 10.8) [Click for support]
            /Library/StartupItems/BRESINKx86Monitoring
        [not loaded]    com.bresink.driver.BRESINKx86Monitoring (9.0) [Click for support]
            /System/Library/Extensions
        [loaded]    com.microsoft.driver.MicrosoftKeyboard (8.2) [Click for support]
            /System/Library/Extensions/MicrosoftKeyboard.kext/Contents/PlugIns
        [loaded]    com.microsoft.driver.MicrosoftKeyboardBluetooth (8.2) [Click for support]
        [not loaded]    com.microsoft.driver.MicrosoftKeyboardUSB (8.2) [Click for support]
            /Users/[redacted]/Downloads/LCC Installer.app
        [not loaded]    com.Logitech.Control Center.HID Driver (3.5.1 - SDK 10.0) [Click for support]
    Startup Items: ℹ️
        Executor: Path: /Library/StartupItems/Executor
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        [killed]    com.apple.xpc.loginitemregisterd.plist
        9 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.xpc.smd.plist
        [killed]    org.cups.cupsd.plist
        6 processes killed due to memory pressure
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.micromat.TechToolProAgent.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.bombich.ccc.plist [Click for support]
        [running]    com.crashplan.engine.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [running]    com.micromat.TechToolProDaemon.plist [Click for support]
        [failed]    com.nalpeiron.netpro.plist [Click for support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [failed]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.amazon.cloud-player.plist [Click for support]
        [running]    com.amazon.music.plist [Click for support]
        [failed]    [email protected]
        [failed]    com.citrixonline.GoToMeeting.G2MUpdate.plist [Click for support] [Click for details]
        [failed]    com.google.GoogleContactSyncAgent.plist [Click for support]
        [failed]    com.plexapp.helper.plist [Click for support]
        [failed]    com.yahoo.YahooContactSyncAgent.plist [Click for support]
        [loaded]    net.jonstovell.keepMinasTirithdata(external)Spinning.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        MiniUsage    Application  (/Applications/MiniUsage.app)
        Alfred    Application  (/Applications/Alfred.app)
        OpenDNS Updater    Application Hidden (/Applications/OpenDNS Updater.app)
        CrashPlan menu bar    Application  (/Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app)
        OneDrive    Application  (/Applications/OneDrive.app)
    Internet Plug-ins: ℹ️
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Click for support]
        FlashPlayer-10.6: Version: 17.0.0.134 - SDK 10.6 [Click for support]
        EPPEX Plugin: Version: 4.1.0.0 [Click for support]
        Flash Player: Version: 17.0.0.134 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
    User internet Plug-ins: ℹ️
        CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 [Click for support]
        Picasa: Version: 1.0 [Click for support]
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
    Safari Extensions: ℹ️
        feedly
        Add to Google Reader
        FlickrPlus
        Ultimate Status Bar
        Exposer
        Evernote Web Clipper
        InvisibleHand
        Turn Off the Lights
        The New York Times
        Procrastinate
        Better Facebook
        Save to Pocket
        Print Plus
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Microsoft Keyboard  [Click for support]
        TechTool Protection  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            My Mac system (external): Disk size: 499.46 GB Disk used: 324.48 GB
            Macintosh HD: Disk size: 319.21 GB Disk used: 223.07 GB
        Destinations:
            My Mac Time Machine [Local]
            Total size: 1.50 TB
            Total number of backups: 59
            Oldest backup: 2013-12-04 08:43:17 +0000
            Last backup: 2015-04-05 15:12:17 +0000
            Size of backup disk: Too small
                Backup size 1.50 TB < (Disk used 547.55 GB X 3)
    Top Processes by CPU: ℹ️
             4%    top
             2%    WindowServer
             2%    systemstatsd
             1%    Safari
             0%    MiniUsage
    Top Processes by Memory: ℹ️
        266 MB    CrashPlanService
        112 MB    Mail
        86 MB    Finder
        82 MB    Console
        69 MB    Safari
    Virtual Memory Information: ℹ️
        106 MB    Free RAM
        983 MB    Active RAM
        895 MB    Inactive RAM
        870 MB    Wired RAM
        17.28 GB    Page-ins
        506 MB    Page-outs
    Diagnostics Information: ℹ️
        Apr 6, 2015, 08:15:21 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/com.apple.MailServiceAgent_201 5-04-06-201521_[redacted].crash
        Apr 5, 2015, 10:35:53 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/QuickLookSatellite_2015-04-05- 223553_[redacted].crash
        Apr 5, 2015, 10:35:52 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/QuickLookSatellite_2015-04-05- 223552_[redacted].crash
        Apr 5, 2015, 10:16:51 PM    Self test - passed
        Apr 5, 2015, 03:58:09 PM    /Library/Logs/DiagnosticReports/CrashPlanService_2015-04-05-155809_[redacted].c pu_resource.diag [Click for details]

    I switched over to an early 2008 20-inch iMac (booting from same external disk) and the "ERROR:shrink DB" and "assertion failed" messages are continuing, so I doubt that it is related to the hardware unless it's the external drive itself or the Firewire cable.
    Any help would be appreciated...

  • Open Hub - Data from multiple sources to single target

    Hello,
    I am using Open Hub to send the data from SAP BI to Flat files. I have a requirement where I want to create a single destination from multiple sources. In other words in BI we have different tables for attributes and text. I would like to combine the data from attributes  and text into a single file. For eg. I want to have material attributes and text in the same single file as output.
    Is this possible in Open Hub? If yes could you please help me to understand the process.
    Thanks,
    KK

    Hi,
    1. Create the Info Spoke and activate it
    2. Change it and go to transformation
    3. Check the box InfoSpoke with Transf. Using BAdI
    4. You are asked if you want to generate the spoke. Say yes & Simply set some texts and activate here, then return.
    5. You can now change the target structure. Simply create a Z structure with all the attributs & text field in it in the SE11 and enter it here.
    6. Double click on BAdI implementation & then double click again on "TRANSFORM" method of the implementation. It will take you to method  
    "IF_EX_OPENHUB_TRANSFORM~TRANSFORM"
    7. Write a code to select & fill the text field & map other filed with the attribute fields.
    Example:
    ZEMPLOYEE_ATTR_STRU - Target Structure for InfoSpoke EMPLOYEE_ATTR
    EMPLOYEE     /BI0/OIEMPLOYEE     NUMC     8     0     Employee
    DATETO     /BI0/OIDATETO     DATS     8     0     Valid to
    DATEFROM     /BI0/OIDATEFROM     DATS     8     0     Valid from
    COMP_CODE     /BI0/OICOMP_CODE     CHAR     4     0     Company code
    CO_MST_AR     /BI0/OICO_MST_AR     CHAR     4     0     Controlling Area of Master Cost Center
    HRPOSITION     /BI0/OIHRPOSITION     NUMC     8     0     Position
    MAST_CCTR     /BI0/OIMAST_CCTR     CHAR     10     0     Master Cost Center
    TXTMD     RSTXTMD     CHAR     40     0     Medium description
    Note: Text and attribute are in same structure.

  • Multiple Instances on single oracle home

    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    Thanks,
    Mustang

    mustang4455 wrote:
    Hi,
    If i have multiple instances in a single oracle home
    How can i know which instance is running (up)
    to which table i fire query to find instances status
    how to start single instance out of multiple instances
    These questions show a certain lack of knowledge about Oracle - which immediately says that you also do not know what you are doing ito performance and scalability of a Oracle and that server platform by running multiple instances on it.
    In most case, running multiple instances is the wrong thing to do. It degrades performance. It does not and cannot scale. It is an exception to the basic fundamentals of client-server. And not just for Oracle.
    You need sound technical justification for running multiple instances on a server. What is yours?

Maybe you are looking for

  • A VERY IMPORTANT QUESTION !

    In a direcory i want to list files. like you do ls dir_name Suppose in this directory many files are copied after a short interval. ls would show all of them. There are some files larger than expectations and are still in progress of being copied. Ho

  • How do you delete a device in Logic Pro X Control Surfaces Setup?

    How do you delete a device in Logic Pro X > Control Surfaces > Setup?

  • Organising a big project with sub-projects

    So ,I'm laying out my project now, very large. Easily over 1000 topics, about 1000 images, some embedded, some not, variables all over the place etc., and this is for our generic help file. I'm thinking of how to proceed with the other versions of th

  • Drag to resize spacing?

    Say I have a number of objects selected, how can I drag to resize the spacing between them, but without resizing the objects? By default resizing a number of selected objects does resize the spacing but also the objects themselves. Thanks

  • IPhone storage capacity - large "Other" category

    Had 8GB of space taken up by 'Other' (the bar at the bottom of iTunes) and just did a full 'new phone' restore followed by a backup restore from iCloud. I also turned off PhotoStream. Other is now down to 900MB, which feels reasonable (I have quite a