ESB DB adapter and error logging

Hi !
I need a DB adapter in ESB to read records from a table and do a logical delete (update a status column) .
I can get it to work om my laptop, but not in our dev machines.
I noticed that if I change the the 'mcf-properties' in the wsdl-file for the READ function like this
mcf.DriverClassName="oracle.jdbc.OracleDriver" mcf.PlatformClassName="oracle.toplink.platform.database.oracle.Oracle10Platform"
mcf.ConnectionString="jdbc:oracle:thin:@localhost:1521:ORCLAAAAAA"
mcf.UserName="soatest" mcf.Password="A932C53E63FFDE3D4A8267B2FCE4A0044C1B70BFD42DD194"
so that is wrong I never get any error in any log-file I found.
This makes is very tiresome to debug.
Is there a log where I can find an error message ?
If not , what should I do ?

Hello Everyone,
I am stuck with the ESB's "logging" behavior. Due to some problems we had increased the Logging level to FINEST for some and as a result there were too many messages - mainly "Traces" -generated in /../oc4j/log.xml Now the problem is that i am seeing that ESB maintains only 10 to 12 log files.
My query is does it archives the older log files somewhere- if yes then which location?
-Or does it simply overwrites the files (that doesnt seems likely)?
For example: While searching the OC4J Diagnostic Logs from Enterprise Manager Console it is showing that there are 10 selected log files.
But where are the older log files. We need those badly as there are some issues we are trying to fix hinged on the Error Messages.
Thanks
--debashis                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Where is HTTP access and error log when using Embedded PL/SQL Gateway?

    Hello,
    I am using Embedded PL/SQL Gateway to run stored procedures.
    I can't find access log and error log (something like Oracle HTTP Server has).
    In listener.log are only simple data and there are no usernames and procedure names...
    Thanks.
    Marian

    You might be better off asking this on the Apex forum: Oracle Application Express (APEX)

  • Issue with trigger, multi-table insert and error logging

    I find that if I try to perform a multi-table insert with error logging on a table that has a trigger, then some constraint violations result in an exception being raised as well as logged:
    <pre>
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> create table t1 (id integer primary key);
    Table created.
    SQL> create table t2 (id integer primary key, t1_id integer,
    2           constraint t2_t1_fk foreign key (t1_id) references t1);
    Table created.
    SQL> exec dbms_errlog.create_error_log ('T2');
    PL/SQL procedure successfully completed.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    0 rows created.
    SQL> create or replace trigger t2_trg
    2 before insert or update on t2
    3 for each row
    4 begin
    5 null;
    6 end;
    7 /
    Trigger created.
    SQL> insert all
    2 into t2 (id, t1_id)
    3 values (x, y)
    4 log errors into err$_t2 reject limit unlimited
    5 select 1 x, 2 y from dual;
    insert all
    ERROR at line 1:
    ORA-02291: integrity constraint (EOR.T2_T1_FK) violated - parent key not found
    </code>
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?

    Tony Andrews wrote:
    This doesn't appear to be a documented restriction. Does anyone know if it is a bug?Check The Execution Model for Triggers and Integrity Constraint Checking.
    SY.

  • Access and Error Log Rotation

    When turning on Archive for the logs. cron style. The log gets archived with the date etc, but the new files access and error do not get created. I have ns-cron on and the rotation occurs, but the files name only changes and it never create the new files and only keeps changing the file names with the new name.

    You may be running into Problem 4684892 mentioned in the release notes:
    http://docs.sun.com/source/817-5170-10/rn60sp7.html
    The Administration Server and the cron daemon must be run as root for cron-based log rotation to function properly. You may have to modify your cron.conf user to run as root.
    Thanks,
    Manish

  • Message and Error Logging

    Version : TimesTen Release 11.2.1.4.0 (32 bit NT)
    In C:\TimesTen\tt1121_32\srv\info we have 2 TimesTen log files : tterrors.log and ttmesg.log
    Based on C:\TimesTen\tt1121_32\srv\info\ttendaemon.options I expected these files to grow to a maximum of 1Mb each, then retain 10 copies of each. However I find they grow to unlimited size, e.g. ttmesg.log was 1.2 Gb last week before I manually renamed it. Am I missing a setting somewhere? This functionality was working correctly last month, and as far as I am aware I have not intentionally changed anything.
    Contents of
    C:\TimesTen\tt1121_32\srv\info\ttendaemon.options
    # By default, turn verbose logging on
    -verbose
    # Commented values are default values
    #-supportlog C:\TimesTen\TT1121~1\srv\info\ttmesg.log
    #-maxsupportlogfiles 10
    #-maxsupportlogsize 0x100000
    #-userlog C:\TimesTen\TT1121~1\srv\info\tterrors.log
    #-maxuserlogfiles 10
    #-maxuserlogsize 0x100000
    -tns_admin C:\oracle\product\111~1.0\db_1\NETWORK\ADMIN
    -server 53385
    Also included is directory listing to show it used to work.
    Directory of C:\TimesTen\tt1121_32\srv\info
    12/11/2007 18:32 470 snmp.ini
    19/11/2009 22:50 3,244 cluster.oracle.ini
    06/01/2010 15:17 378 ttendaemon.options
    06/01/2010 15:18 <DIR> crs_scripts
    08/01/2010 16:11 3,996 DBI4b475916.1~
    12/01/2010 15:47 1,048,430 ttmesg.log.9
    15/01/2010 01:55 1,048,605 ttmesg.log.8
    17/01/2010 09:28 1,048,882 ttmesg.log.7
    26/01/2010 01:03 1,048,610 ttmesg.log.6
    26/01/2010 01:03 1,048,670 ttmesg.log.5
    29/01/2010 21:37 1,048,500 ttmesg.log.3
    29/01/2010 21:57 1,048,490 ttmesg.log.2
    29/01/2010 22:17 1,048,483 ttmesg.log.1
    29/01/2010 22:37 1,048,146 ttmesg.log.0
    29/01/2010 23:47 1,048,977 tterrors.log.9
    30/01/2010 03:08 1,052,803 tterrors.log.8
    30/01/2010 06:39 1,048,725 tterrors.log.7
    30/01/2010 09:50 1,048,851 tterrors.log.6
    30/01/2010 13:09 1,048,633 ttmesg.log.4
    01/02/2010 19:26 1,052,682 tterrors.log.5
    22/02/2010 08:22 1,051,629 tterrors.log.3
    22/02/2010 11:43 1,048,943 tterrors.log.2
    22/02/2010 15:04 1,049,926 tterrors.log.1
    22/02/2010 18:25 1,048,968 tterrors.log.0
    23/02/2010 01:04 1,048,934 tterrors.log.4
    01/03/2010 18:24 135,615,162 ttmesg.log.20100301
    01/03/2010 18:24 2,135,473 tterrors.log.20100301
    01/03/2010 18:26 6 timestend.pid
    07/03/2010 19:42 <DIR> ..
    07/03/2010 19:42 <DIR> .
    08/03/2010 12:32 138,266,337 tterrors.log.20100307
    08/03/2010 12:32 1,306,793,217 ttmesg.log.20100307
    16/03/2010 06:05 31,213 tterrors.log
    16/03/2010 06:45 3,996 DBI4b4b6484.0
    16/03/2010 08:23 1,933,865 ttmesg.log
    32 File(s) 1,605,773,244 bytes
    3 Dir(s) 34,267,926,528 bytes free
    C:\TimesTen\tt1121_32\srv\info>

    This sounds like this bug:
    Bug 9442841: AFTER MAXSUPPORTLOGFILES IS REACHED TTMESG.LOG CONTINUES TO GROW
    This is published so you should be able to see the details of a potential workaround for it.
    I believe this is unique to TT on Windows, and from the internal bug also logged for it, it states it has been fixed in 11.2.1.5 which has just been released (available on Windows 32-bit and 64-bit) from here:
    http://www.oracle.com/technology/software/products/timesten/index.html

  • Adapter Module Error Log

    Hi all,
    I am doing an IDOC to File Scenario. In the File adapter i am using the Module tab to configure the file adpater to call conversion agent service(CMTransform Bean). When there is any error while processing the bean in adapter module the error is logged in the Java stack but in SXMB_MONI it shows checkered flag. Will it be possible to log the same error in SXMB_MONI so that we can know if there was any problems while processing?
    Thank you.
    Suman

    No this will not be possible.
    SXMB_MONI allows you to monitor messages in the Integration Engine and the Business Process Engine.
    In this case the error has occured in the Adapter Engine after the message has been successfully transmitted by the Integration Engine to the Adapter Engine and so there is success in MONI.
    Solution : Use XI Alerts, get automatic intimations of error in both IE and AE.
    Regards
    Bhavesh

  • Bulk insert and error logging

    Hello,
    I am trying to upload data from an excel file to database, using ADF Business components (11g) view objects. I have 2 questions related to this.
    1- What is the best practice for inserting large amount of bulk data? Should i commit after every insert or after some batch size defined by me reached?
    2- I want to log every unsuccessful upload attempt of a row, to database.. As i am rolling back the transaction after an error occurs, i need to make this logging process in another transaction. How can i open another transaction in AM Impl?
    Thanks a lot for helps and ideas.

    Deniz, you may want to consider ADF Desktop Integration (ADFdi) for integrating your ADF-based application with MS Excel.
    More info: http://download.oracle.com/docs/cd/E12839_01/web.1111/e10139/toc.htm
    ADFdi handles bulks uploads, validation failure reporting, and more.
    Alex

  • ESB/DB adapter and use of sequence,,,

    I've tried to implement a DB adapter - for inserting data into one table with a PK.
    In addition, I've created a sequence (start with 1).
    I've checked use native sequecing, preallocation set to 1, attached the rigth sequence to the right table/pk.
    Now, I keep getting the error "preallocarion size doesn't match..." - except if i change the start with clause to 51 - then it works!
    What's my problem??
    regards, Henrik

    I've tried to implement a DB adapter - for inserting data into one table with a PK.
    In addition, I've created a sequence (start with 1).
    I've checked use native sequecing, preallocation set to 1, attached the rigth sequence to the right table/pk.
    Now, I keep getting the error "preallocarion size doesn't match..." - except if i change the start with clause to 51 - then it works!
    What's my problem??
    regards, Henrik

  • IDoc Adapter and Error Management

    Hi Experts,
    I don't understand tha management of business logic error.
    My External System communicate with SAP ERP via SAP PI IDOC Adapter (HTTP protocol, asynchronous mode).
    SAP ERP sends an IDOC via PI to my system, my system receives IDoc, an error occurs during business operation in my system.
    What should I do?
    In my scenario there are not message of error or IDOC to communicate a problem.
    Thanks,
    Marco Genova
    Edited by: m.genova on May 21, 2009 6:41 PM

    Hi,
    For the same wrong rfc destination i've got
    in sxmb_moni : <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
    <SAP:P1>FM NLS_GET_LANGU_CP_TAB: Could not determine code page with ARS Name or password is incorrect. Please re-enter FM NLS_GET_LANGU_CP_TAB</SAP:P1>
    OR
    in sm58 : XIAFUSER     IDOC_INBOUND_ASYNCHRONOUS     ARS           17.02.2006 15:57:33 Name or password is incorrect. Please re-enter
    It's so strange ?
    Regards,
    Vincent

  • Back ground batch input processing error log handling

    Dear Friends,
    Currently im am scheduling job for batch processing of goods receipt through bapi, now after the succesfull run of this program im appending all the success and error logs in one internal table and sending this table to spool for future reference.
    Is there any other way to handle the error logs??
    bcoz in the method im using every time user has to run transaction sp01 to access that spool request to check the error logs.
    Kindly suggest ....
    Regards,
    Sunny V

    Best way will be creating Application Logs of the reports log.This will be forever in the system unless you delete it.
    Few one time settings are required. After that you can use tcodes
    SLG1 (Analyze application log) and
    SLG2 (Application Log: Delete expired logs).
    For more info take the help from below link:
    [Create Application Log|http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa0216493111d182b70000e829fbfe/frameset.htm]
    Let me know if you find any difficulty in doing this.

  • Ttcwerrors.log and ttcwmesg.log file locations

    Is there an option we can set in the ttcrsagent.options file to change the location of the ttcwerrors.log and ttcwmesg.log files?
    We can change the location of the daemon user and error log files by setting the -supportlog and -userlog options in ttendaemon.options, so we were hoping we could do the same in ttcrsagent.options.
    Thanks,
    -Jules

    Unfortunately, no. The ttcw log file location is not configurable
    Simon

  • SRFC-adapter  and file adapter with error: no adapter found

    Hello,
    we have two scenarios here in an XI 3.0 SP12:
    First scenario connects two R/3 systems via RFC adapter (outbound / inbound) for an RFC in a standard R/3 function module SUSR_ZBV_GET_REMOTE_PROFILES.
    The RFC is synchronous.
    Second scenario uses file adapter to send file from A to B.
    When starting the RFC call from the sender system the error message in area "call adapter" for XML message in the trace is "exception while reading from SLD:Property sap_xiadapterservice.adapterType does not exist".
    Message in RWB:
    "Transmitting the message using connection http://abc038.ceu.test.com:8077/sap/xi/engine?type=entry failed, due to: XIServer:AE_DETAILS_GET_ERROR:Property sap_xiadapterservice.adapterType does not: Unable to find any Adapter Engines."
    Same problem for file adapter!
    Here is the message from the file adapter error log entry in SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.kx1.test038</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>Property sap_xiadapterservice.adapterType does not: Unable to find any Adapter Engines</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.kx1.test038</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Looks like an identical problem for both adapter.
    What we have done (checked) so far:
    - SLD connection is working
    - Vis.Admin.: no problems found
    (SAP RFC adapter active, file adapter active)
    - Component monitoring: no errors, adapters are fine
    - all rfc connections checked: ok
    - have checked user and pwd and replaced to be sure
    - cache refresh: ok
    - reimport of SWCV to IR for RFC: done, no result
    Does anybody have an idea, how to get rid of that?
    Best regards
    Dirk

    Hello Udo,
    in Adapter monitoring all adapters are listed and per adapter (here RFC and FILE) all adapter entries from the scenarios are available (sender / receiver comm. channel entries - in green)!
    Pipeline URL in SLD Bus. Syst. is fine ( and an IDOC adapter scenario is running successfully) !
    I think this is a really tricky one!
    Best regards
    Dirk

  • Where to find adapter engine runtime/error logs?

    Hello there,
    Wheere can I find the complete (i.e. not only the details of a message delivery via the runtime workbench ) error/runtime logs of the AFW engine?
    Im having some problems with the file/FTP adapter and would like to take a closer look of the logs generated by the adapter.
    Thanks!

    Hi,
    >>m having some problems with the file/FTP adapter and >>uld like to take a closer look of the logs generated by >>e adapter.
    Using Visual adminsitrator you can view detailed logs of various components. IN VA->server->services you will find log cnfiguration, which lets u to change logging more of the components of interest from error to debug.
    for better trouble shoting of problems set the logging mode to debug.
    test ur scenarios and in log viewer you should be able to see the detailed log.
    cheers,
    Naveen

  • ORA-12535 error but TNSPing Works and listener logs connection

    We recently migrated our firewall and then started seeing this problem for users outside of our own subnet. However, although the user gets this error when launching the application, the workstation is able to TNSPing the server successfully and listener.log does log the connection.
    I was hoping someone might have some ideas or suggestions as to what might be causing the error despite the apparent connectivity to the database.
    Thanks in advance.

    Thanks so much for the suggestions.
    1. telnet <host> 1521 connects
    2. sqlplus <username>/<pwd>@<instance> returns the ORA-12535 error
    Finally, the sqlnet.log on the client side doesn't log anything when launching the application so I have no information as to what exactly is occurring at that point. However, the sqlplus command above logged the following:
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 26-JAN-2007 08:43:41
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    I've been doing more research on this -- please note that I'm not an Oracle dba so I am just getting familiar with lots of things -- and have learned that user connect requests come in through 1521 but are then randomly redirected to other ports. Given the new firewall, I'm wondering if it's an issue that the random ports being selected aren't open for the users outside of our subnet. Does this sound like a plausible explanation? If so, how do administrators generally handle this -- by opening the necessary ports on the firewall? Is there some other standard approach?
    Again, thanks so much for any assistance you can provide.

  • Single record in Export Error log - Essbase Adapter

    We are using FDM to load data to Essbase cubes. Currently in the export.err log file, we are getting the kickout details for a single record at a time. Is there any setting that would give us the entire list of kickouts in a sinlge log?
    Thanks.

    Use a load rule to load a data and you will get a error log listing all errors up to the max errors specified in the Essbase configuration. To use this method from FDM instead of the standard Adapter load check the Enable String Load option in the Adapter configuration settings and specify the name of the Load Rule you wish to use. Personally I would always go for the Load Rule option when loading Essabs from FDM

Maybe you are looking for

  • I have lost all my movies, t.v.shows and music, how do I get them back

    My computer shot down a couple of times, so I went to have it repaired. The technician needed to reboot the whole system so he save my movies, t.v. shows, apps, music and all on another harddrive. While he was at it I requested to have him installed

  • ORDER BY for alphanumeric

    I need an 'ORDER BY' that sorts this format ABC-1001 ABC-200 so that it sorts like this: ABC-200 ABC-1001 Here's a script that works:   SELECT ItemNumber,   (SELECT SUBSTRING(Items.[ItemNumber],1,CHARINDEX('-',Items.[ItemNumber],1)-1 ))  as ItemNumbe

  • Http 500 internal server error exchange server 2013

    Hello Everyone Here is my little scenario. i have a domain named contoso.com i then installed exchange server 2013 in my environment.  cas and mailbox server are on seperate box. switched of my exchange servers for a week, during that period i change

  • Slow MacbookPro 2011 15 inch i7

    My Macbook pro (2011 i7 2.22GHz QuadCore) is being very slow. Normally when I boot up the computer it takes around 30 seconds or show to display the desktop but after installing Microsoft office 2011 the start up became very slow and the overall perf

  • Can I use the transform tool to resize individual text?

    I just installed Illustrator CS6 trial. I have been on Illustrator 9 for years. I am used to clicking on the type tool, then clicking on the artboard and typing a single word. I am not using actual text boxes. When I do that in CS6 I cannot get a bou