Jco trace enabling

Hi Experts,
How to enable Jco trace and SLD connection trace for Portal 7.0 system.
Please let me know the procedure.
Thanks in advance

Hi Daniel,
Please refer below documentation on activating JCO trace in Portals
SAP Library - BC Server Administration
Java Connectivity - Application Server Infrastructure - SCN Wiki
Note 628962 - How to switch on the SAP JCo trace
Regards,
Deepak Kori

Similar Messages

  • Name of trace file from trace enabled concurrent program

    Hi all,
    I am looking for a sql script or method to find the name of a trace file in udump for trace enabled concurrent programs. I know the trace files show 11i logon (user_name from fnd_user) in the name of the trace file but I am looking for a sql that would give the exact name of the raw trace file with request id as input.
    I have 11.5.10.2.
    Any help?
    Thanks,

    Please see these docs.
    11i-How to find the Trace file generated for a concurrent program [ID 270446.1]
    How to find the Trace file generated for a concurrent program? [ID 967966.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Trace enabled, but no trace file generated

    I have enabled trace (Application Developer -> Concurrent -> Program, find the report, tick 'Enabled Trace', save), then i execute the report, but no trace file is generated, check the fnd_concurrent_requests table, the record has oracle_process_id=null.
    what can I do to have trace generated?

    Hi,
    I have enabled trace (Application Developer -> Concurrent -> Program, find the report, tick 'Enabled Trace', save), then i execute the report, but no trace file is generated, check the fnd_concurrent_requests table, the record has oracle_process_id=null.
    what can I do to have trace generated?Please enable trace from Apps 11i form -> Help -> Diagnostic -> Trace ( Here u can select the option like Regular trace, trace with bin etc) as per your requirement. But for this trace profile option should be enabled for your user.
    Regards,
    X A H E E R

  • JCo Client Trace in B2B Application (CRM 4)

    hi,
    does anyone know how to activate the Jco Trace in the b2b application of CRM 4?
    In our B2B Shop with CRM 7 there is an option in xcm to turn on "JCo.client.trace". This option is not available in the crm4 shop.
    Can i activate the trace somewhere else?
    best regards
    Tobias

    Hi Tobias,
    The ways to activate the JCo traces are all explained in note 628962.
    I hope it helps.
    Thanks,
    Anderson

  • Enable JMS - Queue/Topic Trace on console

    Hi everyone,
    I want to enable weblogic QUEUE/Topic trace enable so i could view the messages on the console can anyone please help!
    i already have logging enable for queues in the weblogic admin console but all the logs are going to jms.logging file which is not that helpful!
    IN MQ i use to add additional parameter trace=true in front of each queue defined, please tell how i can enable it in weblogic!
    TIA
    sall0

    To manage a queue's messages:
    1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
    2. In the Administration Console, navigate to the queue resource that you want to configure:
    * Navigate to JMS Resources in System Modules
    * Navigate to JMS resources in an application module
    3. Click the Monitoring tab.
    4. Select the check box next to the queue, and then click Show Messages to access the queue's JMS Messages table. You can then
    perform the following administrative procedures on a specific message or selected messages:
    Click a message in the queue to open the View Contents page, where you can view the contents of a JMS message. For more information :-
    Link : [http://download.oracle.com/docs/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/jms_modules/queues/ManageQueues.html]

  • JCO Error in leave request.

    Dear Experts,
    When i open the leave request application, when we select date & leave type & go futhure ...i am facing below mentioned error in my portal.This is after upgradation of EHP5
    JCO$Abap Exception
    com.sap.mw.jco.JCO$AbapException: (126) NOT_FOUND: NOT_FOUND
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3486)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:20965)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:21367)
    at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20990)
    at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:21094)
    Regards,
    *Nisha K

    Dear Nisha,
    Hope you are doing good.
    The below link gives the reason for this issue:
    http://help.sap.com/erp2005_ehp_05/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    Can you please download the latest patch level of the RFC library for your release as well. Please see note 413708 on how to download the RFC library.
    Make sure that the JDK being used is supported and if the issue persists, enable the below JCo trace as per:
    628962 - How to switch on the SAP JCo trace
    Then reproduce the issue and check the latest logs for more info..
    Thank you and have a nice day :).
    Kind Regards,
    Hemanth
    SAP AGS

  • Creating trace file in oracle 10g forms

    hii there,
    I have developed an application in oracle 10g. but it's too slow . Now i have to trace forms . How can trace oracle forms.
    please send it in details as early as possible. I don't know about this trace file generation.
    -----Sachin

    Hi,
    To run SQL trace for a form :
    a. Get to the point in the form where you want to turn trace on.
    For example, if the problem occurs on the commit, wait until you are
    ready to commit, THEN turn trace on.
    b. Turn tracing on. In GUI versions: Help - Tools - Trace, enable tracing.
    c. Execute the steps you want to trace.
    d. Turn tracing off. In GUI versions: Help - Tools - Trace, disable tracing.
    The trace file will be written to the subdirectory specified in the
    'user_dump_dest' parameter in the INIT.ORA file.

  • Web dynpro sld / jco setup

    hi,
    i have an erp system installed. on my local computer i installed the netweaver developer studio. i build the flights example from sap. after building and running the application an error occures:
    The initial exception that caused the request to fail, was:
       com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to resolve JCO destination name 'WD_RFC_METADATA_DEST' in the SLD. No such JCO destination is defined in the SLD.
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.resolveConnectionParameter(JCOClientConnection.java:467)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.init(AbstractJCOClientConnection.java:233)
        at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.<init>(AbstractJCOClientConnection.java:218)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.JCOClientConnection.<init>(JCOClientConnection.java:129)
        at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.getJCOClientConnection(SystemLandscapeFactory.java:150)
    so, i want to configure the jco. but on the page where i can do it, it says that my sld could not be open. in the visual administrator i set the http settings. and i tried to open the sld in browser, but it says that i have no authority for this.
    but i logged in with the j2ee admin, which i gave the sap_sld_administrator rights too.
    do you know what went wrong?

    Hi Marcus,
    If you are using UID/PWD mapping for JCO destination please check wether you have provided correct uname and password.
    If you are using SSO instead of UID/PWD mapping then check wether SSO is working properly between portal and ECC.
    Mostly this problem is due to authorization failures during the logon phase.
    Please check if the SAP user-id & password you are using to connect to the SAP system are correct.
    Get the logon data from the JAVA application or JCo trace
    for the error description visit,
    http://help.sap.com/saphelp_nw04/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    Have a look at the solution provided in the below threads :
    1>Re: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Incomplete log
    2>JCO Error
    Hope this helps you.
    Regards,
    Saleem Mohammad.

  • Numerous trace files are generating every minute causing space issue

    Hi All,
    numerous trace files are generating every minute <SID>_<PID>_APPSPERF01.trc  format.
    entry in trace file will be like..
    EXEC #10:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1734896627,tim=1339571764486430
    WAIT #10: nam='SQL*Net message to client' ela= 6 driver id=1952673792 #bytes=1 p3=0 obj#=34562 tim=1339571764491273
    FETCH #10:c=0,e=0,p=0,cr=2,cu=0,mis=0,r=1,dep=0,og=1,plh=1734896627,tim=1339571764486430
    WAIT #10: nam='SQL*Net message from client' ela= 277 driver id=1952673792 #bytes=1 p3=0 obj#=34562 tim=1339571764491806
    EXEC #11:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=2638510909,tim=1339571764486430
    FETCH #11:c=0,e=0,p=0,cr=9,cu=0,mis=0,r=0,dep=0,og=1,plh=2638510909,tim=1339571764486430
    WAIT #11: nam='SQL*Net message to client' ela= 6 driver id=1952673792 #bytes=1 p3=0 obj#=34562 tim=1339571764493265
    *** 2012-06-13 03:16:14.496
    WAIT #11: nam='SQL*Net message from client' ela= 10003326 driver id=1952673792 #bytes=1 p3=0 obj#=34562 tim=1339571774496705
    BINDS #10:
    Bind#0
    oacdty=01 mxl=32(21) mxlc=00 mal=00 scl=00 pre=00
    oacflg=00 fl2=1000001 frm=01 csi=871 siz=2064 off=0
    kxsbbbfp=2b8ec799df38 bln=32 avl=03 flg=05
    value="535"
    Bind#1
    oacdty=01 mxl=32(21) mxlc=00 mal=00 scl=00 pre=00
    oacflg=00 fl2=1000001 frm=01 csi=871 siz=0 off=32
    kxsbbbfp=2b8ec799df58 bln=32 avl=04 flg=01
    value="1003"
    SQL> show parameter trace
    NAME TYPE VALUE
    tracefiles_public boolean TRUE
    log_archive_trace integer 0
    sec_protocol_error_trace_action string TRACE
    sql_trace boolean FALSE
    trace_enabled boolean TRUE
    tracefile_identifier string
    Profile options like "FND:Debug Log Enabled" and "Utilities:SQL Trace" are set to No
    Can some one help me to stop these trace generation.
    is there any way to find the cause for these trace?
    Thanks in adv...

    Hi;
    Please check who enable trace. Please see:
    How to audit users who enabled traces?
    check concurrent programs first
    *from the screen
    *F11, then select the trace, then Ctrl+F11
    Concurrent > program > define
    open the form, press F11 (query mode), select the trace, then (ctrl + f11) this should return all concurrent programs which have trace enabled
    Regard
    Helios

  • Trace files ( .trc ) for Explorer

    Hi,
    We have trace enabled for our polestar servers and the traces are getting created.
    but, the trace files are in .trc format.
    i am not sure how to read that format..Can somebody explain  me how to read .trc files ?

    If webi isn't working either, then its definitely a security issue outside of Explorer.  You'll need to check into your authorizations set within BW.  I believe the authorizations can be set at different levels, so its possible on field is causing the error.  Maybe try to create the report in webi one field at a time until it breaks again.  If it doesn't work with any, then there's a higher level authorization that needs to be corrected in BW.
    The Information Space is "owned" by the user that created it.  However just like a webi or CR document, you can assign security to the object within the CMC.  If you go into the properties of the InformationSpace under Manage Spaces > Configure, you'll find the Enterprise folder the Information Space is saved into.  By default, I believe they get saved to a favorites folder for the user that created it.  But this can be changed to a public folder.  Once in a public folder, the users that have rights to view this object will be able to see the Information Space within the Explorer ui.

  • JCO3 How to set trace path or catch trace message

    In old Jco can setTracePath
    http://help.sap.com/javadocs/NW04/current/jc/com/sap/mw/jco/JCO.html#setTracePath(java.lang.String)
    but in JCO 3 how can do that ?
    I found http://help.sap.com/saphelp_nw70ehp1/helpdata/en/f6/daea401675752ae10000000a155106/content.htm
    JCO trace
    name
    JCO*.trc
    location
    directory j2ee/cluster/server* or defined path
    how to switch on and off
    set JVM options for the server via the Config Tool and restart server: -Djco.trace_level=[0-10],-Djco.trace_path=[defined_path]
    any other methods?

    Hey Jacky,
    Please browse the API of class com.sap.conn.jco.JCo. There is a method call setTrace.
    public static void setTrace(int level,  java.lang.String path)
    Turns on the JCo trace. Allowed levels are [0 .. 10]. The common used are:
    0 - nothing
    1 - errors and warnings
    2 - execution path, errors and warnings
    3 - full execution path, errors and warnings
    4 - execution path, info messages, errors and warnings
    6 - full execution path, info messages, errors and warnings
    7 - debug messages, full execution path, info messages, errors and warnings
    8 - verbose debug messages, full execution path, info messages, errors and warnings
    As path value null, stdout, stderr or an existing path are allowed. If path is equals null or stdout or stderr JCo will trace out to the standard output (error) stream. If at least one JCoTraceListener is registered, the trace output will be sent to the listener only. To redirect the JCo trace into a file, the path value has to be set to an existing directory.
    Parameters:
    level - [0 .. 10]
    path - null, stdout, stderr or an existing path

  • JCO 3 environment's threads can not be stopped

    I have an adapter to accept the xml message from sap, I encounter the issue, when I stop the server and notifiy the ServerDataProvider to delete the connection resource, and unregister the provider too. but the following exception will be throw in jco trace. my EAI server cannot be stopped gracefully.
    JCoTimeoutChecker [15:48:39:294]: [JCoAPI] unexpected exception in wait java.lang.InterruptedException
         at java.lang.Object.wait(Native Method)
         at com.sap.conn.jco.rt.AutoJobRunner.run(AutoJobRunner.java:107)
         at java.lang.Thread.run(Thread.java:595)
    Hope from the reply from you guys.:)

    Hi guys,
    I don't know if this is the right place to report the problem but I searched for a similar topic and found this one so I place it here:
    I have a similar requirement to SAP JCo and encounter the same problem that quan tang has. I want to use JCo within an Apache Tomcat web application and need to be able to gracefully undeploy the classes of the web applications class loader. Therefore it is necessary to terminate all threads that have the web applications' context class loader otherwise we will have a memory leak when stopping the web application because the web application class loader cannot be freed by the garbage collector as the JCoTimeoutChecker thread still holds a reference to it via the context class loader member variable.
    If someone wants to reproduce the problem just create a simple web application which initializes the SAP JCo 3 by calling
    Environment.registerDestinationDataProvider(DestinationDataProvider)
    Start Tomcat, restart the web application through the Tomcat Manager and Tomcat will output an error message like the following one:
    As a work around you can move the SAP JCo from the web applications library folder to Tomcats shared library folder. Then you are able to apply Tomcats shared class loader and you will be able to restart you web application without getting that error.
    But in my opinion this is not the cleaniest way to handle this and I also think that every thread should terminate upon an Interruption event (like an InterruptedException) to be able to terminate gracefully.
    SCHWERWIEGEND: The web application [/test] appears to have started a thread named [SoftReferenceMapCleanThread] but has failed to stop it. This is very likely to create a memory leak.
    Hope for a fix one day.

  • Gather Schema Statistics produces HUGE oracle trace file

    Hi
    I am running gather schema stats on my E-Biz 12.1.3 / 11.2.0.3 system
    Each week we run Gather Schema Stats
    I have noticed that when the job completes a 3g trace fuile is produced under the Oracle RDBMS home
    I have tried un-checking the box when the COnc Request is submitted to DO NOT SAVE OUTPUT FILE but it is still procuced.
    I dont want it and do not understand why it is produced. Anyone out there have a resolution?

    I have noticed that when the job completes a 3g trace fuile is produced under the Oracle RDBMS homeWhat is the file name/location? What is the contents of this trace file?
    I have tried un-checking the box when the COnc Request is submitted to DO NOT SAVE OUTPUT FILE but it is still procuced.Do you have any debug/trace enabled on HRMS schema?
    I dont want it and do not understand why it is produced. Anyone out there have a resolution?Was this working before? If yes, any changes been done since then?
    What are the parameters you use to run "Gather Schema Statistics" concurrent program?
    Thanks,
    Hussein

  • Fix not working to disable http trace in iPlanet 6.0 SP5

    Hello.
    I'm running iPlanet web server 6.0 SP5 on Solaris 8. A recent security compliance scan disclosed a number of vulnerabilities, among them the fact that I have HTTP TRACE enabled. I applied the fix to obj.conf described at http://sunsolve6.sun.com/search/document.do?assetkey=1-26-50603-1&searchclause=security
    stopped and restarted the server, but the TRACE did not disable. The way I test this is
    <code>
    telnet server-name http-portnum
    TRACE / HTTP/1.1
    HOST:hostname
    </code>
    Rather than generating an error (501?) as it should it comes back with
    <code>
    HTTP/1.1 200 OK
    Server: Netscape-Enterprise/6.0
    Date: Fri, 13 Aug 2004 20:31:44 GMT
    Content-length: 36
    Content-type: message/http
    </code>
    In addition if , instead of TRACE / HTTP/1.1 I use the command
    <code>
    OPTIONS * HTTP/1.1
    </code>
    I get
    <code>
    HTTP/1.1 200 OK
    Server: Netscape-Enterprise/6.0
    Date: Fri, 13 Aug 2004 20:32:03 GMT
    Content-length: 0
    Allow: HEAD, GET, PUT, POST, DELETE, TRACE, OPTIONS, MOVE, INDEX, MKDIR, RMDIR
    </code>
    So clearly it's not disabled.
    Here is a snippet of the obj.conf file showing the inserted "fix" :
    <code>
    # Sun Netscape Alliance - obj.conf
    # You can edit this file, but comments and formatting changes
    # might be lost when the admin server makes changes.
    <Object name="default">
    <Client method="TRACE">
    AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="cont
    ent-length: -1" error="501"
    </Client>
    NameTrans fn="NSServletNameTrans" name="servlet"
    NameTrans fn="document-root" root="$docroot"
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-index" index-names="index.html,home.html"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain"
    Service type="magnus-internal/jsp" fn="NSServletService"
    Service method="(GET|HEAD)" type="magnus-internal/imagemap" fn="imagemap"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="index-common"
    Service fn="shtml_send" type="magnus-internal/parsed-html" method="(GET|HEAD)"
    Service method="(GET|HEAD|POST)" type="*~magnus-internal/*" fn="send-file"
    AddLog fn="flex-log" name="access"
    </Object>
    </code>
    Can anyone suggest why this isn't working? I've beaten this one to death. Thanks. Peter.

    1) Why would TRACE and OPTION request specifying HTTP 1.0 vs. 1.1 yield such different results?
    Web Server 6.0 only implements the TRACE and OPTIONS methods for HTTP/1.1, not HTTP/1.0. This is reasonable as TRACE and OPTIONS are part of the HTTP/1.1 protocol and not the HTTP/1.0 protocol.
    In other words, TRACE is always disabled for HTTP/1.0 requests, even if you don't use the set-variable work around.
    2) Is the OPTIONS command a legitimate test of whether this fix works? If it is, has anyone managed to have the command return an "Allow:" line MINUS the TRACE?
    Nope, not in Web Server 6.0. OPTIONS will always list TRACE. (Note that in Web Server 6.1, TRACE is not as tightly integrated into the server core. As a result, OPTIONS will conditionally list TRACE in 6.1.)
    3) Has anyone managed to generate a 501 error message after specifying TRACE / HTTP/1.1 instead of 1.0?
    Nope, not in Web Server 6.0.
    4) Does this fix really work?
    I wouldn't call it a fix; it's a work around. However, it does effectively disable TRACE. The work around is a bit of a kludge, resulting in the odd 413 status code.
    The real "fix" appears in Web Server 6.1 where you can disable TRACE simply by commenting out the Service method="TRACE" fn="service-trace" line in obj.conf.

  • Java JCo Error

    I have a J2EE servlet I wrote for use in EP 7.0 using JCO.createClient methods.  The code works but every now and then there seems to be a connection issue with the backend R/3 system.  This issue also appears to be occuring randomly and no speific event seems to cause the error.  Has anyone run into something like this before, and can offer advice?

    Hi Eric
    Try to switch on SAP JCO trace, that will probably give you more information.
    You can see how to do it in SAP Note 628962
    Hope that helps
    Peter

Maybe you are looking for

  • Error while updating the status record of IDOC in SAP

    Hi All, I am facing this problem. I have done outbound processing and IDOC was sent successfully from SAP to EDI system and it was processed in EDI and now EDI system wants to send the status back to SAP with a status message and the status number th

  • Tns problem with Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools

    I installed the full Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio now I am at the good old "[ORA-12154: TNS:could not resolve the connect identifier specified]" error. I copied the same tnsnames.ora as used on the db serv

  • How to show Grand total values in Chart view....

    Hi, I have a crazy req. like i need to show grand totals values also on the chart view along with the normal metrics. column Metric1 Metric2 AAA 10 20 BBB 30 15 CCC 20 15 TOTAL 60 50 so here i need the values 60 and 50 also also to be displayed in a

  • Font probs transferring iweb to a new computer?

    I transferred my iweb site to a new computer and a lot of the fonts are messed up? (note, I used standard ariel fonts) I copied over the entire domain folder. the original site was made on version 1.1.2 and i am now running iweb 2.0.3 could someone t

  • Log and Transfer - XDCam to Pro-Res

    Does anyone know a way to transfer XDCam footage directly to Apple Pro-Res using Log and Transfer? Thanks, M