How to configure the logging and tracing in J2EE-Server

Hi,
when I've been using the SAP Logging and Tracing Framework before from more or less "standalone" Applications I always used a property file which configured the levels of severity  etc.. During application startup I've read this file and configured the logging properly.
In a J2EE-Environment (SAP WEB AS JAVA) I cannot read a file from a file - system. So I'm wondering where are those handlers and severity levels are configured ?
Any help is greatly appreciated.
Thanks in advance,
Frank

Hi Frank,
well, first of all, your application provides log configuration information using an XML file at deployment time. This file is called log-configuration.xml (you can see the DTD description here: http://help.sap.com/saphelp_nw04/helpdata/en/48/ef8748caed894bb4b3ae953a60c592/frameset.htm). There you can set configure log controllers, which could be two types: location and category. So, you can specify your location and severity there. This is described here: http://help.sap.com/saphelp_nw04/helpdata/en/35/671c0136b4714c9e1b16b68211287b/frameset.htm.
Then, after the application is deployed, the log configurations you provided for it are registered with the Log Configuration tool I mentioned about. Using this tool you can later on modify your configurations at runtime (for example, change the severity level) without having to redeploy the application.
I hope it's clearer now? I guess it was me not getting your first question correctly that caused your confusion.
Greetings,
Ivo

Similar Messages

  • How to configure the runtime and consolidation for a track in CMS.

    How to configure the runtime and consolidation for a track in CMS.
    I can see the track exists in CMS but the same doesnt pull up in the NWDS in the development configuration perspective.
    I compared the given track with the one which gets pulled up in NWDS. Theres something called runtime system and consolidation which isnt defined for the track which is invisible.
    Please advise , what are these required for. And how can we configure the same.

    The runtime systems are defined for a track to setup the Transport path for any code changes....the Consolidation system is usually defined as a Virtual system for the track and used for comparison and fixing any broken or Dirty DC's ....that means it's not used as a Runtime System for Deployment as compared to DEV,QAT and PROD used for Deployment...
    Hope it helps..
    Regards,
    Shikhil

  • How to configure the ESS portal in ehp 6 server?

    Dear All,
    Pls advice me how to configure the ESS portal in my client server?
    I want to create new iviews ,pages,workset and link them all to R/3,with total configuration steps please.
    Thanks and Regards,
    Pradip

    hi pradeep ,
    which version r u using wdjava or abap ? ......if ur using java you have to do all in home page framework and if you are using with launchpad from   EHP5 better you can create it from launchpad by going to t -code LPD_CUST and select the ROLE:ESS and INSTANCE: MENU
    REFER Below............
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e09b3304-07d8-2b10-dbbf-81335825454f?QuickLink=index&overridelayout=true&38388417774934
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/21eb036a-0a01-0010-25a3-b2224432640a?QuickLink=index&overridelayout=true&5003637159921
    http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=31476&bc=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?overridelayout=true

  • How to configure the XI  and PLM in discovery box

    How to configure the XI (SLD, Integration repository, Integration Builder ) in  SAP discovery system.
    And also i want to configure the PLM and xRPM within R/3 of discovery box.
    Regards,
    Nilesh Damle

    Hi Frank,
    well, first of all, your application provides log configuration information using an XML file at deployment time. This file is called log-configuration.xml (you can see the DTD description here: http://help.sap.com/saphelp_nw04/helpdata/en/48/ef8748caed894bb4b3ae953a60c592/frameset.htm). There you can set configure log controllers, which could be two types: location and category. So, you can specify your location and severity there. This is described here: http://help.sap.com/saphelp_nw04/helpdata/en/35/671c0136b4714c9e1b16b68211287b/frameset.htm.
    Then, after the application is deployed, the log configurations you provided for it are registered with the Log Configuration tool I mentioned about. Using this tool you can later on modify your configurations at runtime (for example, change the severity level) without having to redeploy the application.
    I hope it's clearer now? I guess it was me not getting your first question correctly that caused your confusion.
    Greetings,
    Ivo

  • How to configure the sort and port of a SOAP address dynamically

    Hi All,
    In the “wsdl” we have the SOAP Address defined but in practice we would like to configure the host and the port. As the server on which the service resides may/will change.
    For example:
    http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
    We would like to configure the proxy to point to say:
    http://<host>:<port>//sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003
    What we see in the Proxy Code is:
    port.setSOAPAddress(new com.sap.flex.ws.runtime.SOAPAddress("http://usciq74.wdf.sap.corp:50077/sap/bc/srt/rfc/sap/CPM_PLANNING_HISTORY?sap-client=003"));
    How could this be achieved.
    Please help.

    Hi Sumit,
    Thanks for the quick response. However, I do not want to change the host and the port in the wsdl. I want it to be so, that it will pick the host and port dynamically(as you have mentioned). However, in out case, the web service has the SOAP address hardcoded as <b>http://usciq74.wdf.sap.corp:50077</b>.
    We would want to write something as http://host:port and then let it pick the host and port dynamically. How is that possible.
    Best Regards,
    Debashree.

  • Adobe Document Services - http Response 500 - How to configure the logging?

    We are building an application in Web Dynpro Java that fetches data from an R/3 system via an RFC connection and is then supposed to show said data in a pdf within an iview. For that task we want to use the InteractiveForm UIElement. We bind the data to its pdfSource in the iViewu2019s context. Currently the form only consists of a text field bound to one attribute element of the pdfSource context node.
    The ADS webservice is configured according to the manuals found here:
    http://help.sap.com/saphelp_nw70/helpdata/en/fa/0b700d6cfd4e03a8ec2186ba6ff4af/frameset.htm
    and tested successfully under the following link
    http://<portal_host>:<port>/AdobeDocumentServices/Config?style=document
    However, when we execute the application, an error occurs in the webservice generating the pdf, namely Invalid Content-Type:text/html. The error occurs when the iView containing the form is shown for the first time, even before the attributes of the pdfSource context are filled with data (we expect to see an empty form).
    As it seems the webservice is expected to return a MIME type of either application/pdf or text/xml (we donu2019t know for sure since the SAP manuals and forums are inconclusive here), but instead we get text/html. This seems to be due to the fact that the webservice exits with an http response 500 Internal Server Error (we used several network monitoring tools to confirm that such a response is sent). Since such http responses are but html files with an empty body, yet not xml or pdf, the aforementioned error does make sense to us, but we do not know what Internal Error has caused it.
    The only help that SAP seems to provide for an error u201CInvalid Content-Type:text/htmlu201D in context with ADS points to an expiring password or otherwise poor configuration of the ADSUser, which (most certainly) is not our case here since, and as said above, the configuration was and can be tested successfully.
    We then tried to view the logs for this error on the machine where the J2EE engine is running with ADS installed according to this (not very comprehensible) guide:
    http://help.sap.com/saphelp_nw70/helpdata/de/97/ccfc3f0ac2c642e10000000a1550b0/frameset.htm
    We cannot find anything relevant in the server.log of the Visual Administrator except this message (it is generated exactly when our error occurs u2013 the trace severity is set to ALL for all Adobe application elements according to manual):
    Date , Time , Message , Severity , Category , Location , Application , User
    12/08/2010 , 13:50:46:511 , application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to  GENERATEPDF
    Exception id: [0800274DA7ED00850000005B00000900000496E5919E28BA] , Error , /System/Server/WebRequests , com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl , sap.com/tcwddispwda , Guest
    There is no error.pdf to be found on the file system and since neither have we known nor are we told by the error message, whether the underlying cause is is a render error or connection error or configuration error or what not, we donu2019t know whether the error.pdf is supposed to be generated at all.
    Or could there be any other reason why generation didnu2019t take place?
    Furthermore we canu2019t seem to be able to find any logs more verbose or detailed about this issue - at least not within the Visual Administrator or the portalu2019s nwa.
    How is it possible to properly debug the webservice for pdf-generation or at least to retrieve a fully detailed log containing all notifications and exception stack traces etc.?
    I am assuming that we are making some basic mistakes regarding the logging configuration - but what?
    Our goal is to know what causes the 500 Internal Server Error response that causes the Incorrect Content-Type exception.
    We are using a NetWeaver 7.01 portal installation with Adobe Document Services 7.01 installed on a Windows Server 2003 platform.
    Any help is highly appreciated!
    Serg

    Have you tried restarting the Java PDF object in Visual Administrator?  Once you do all of your config, you have to restart the PDF object (sao.com/tcwdpdfobject) for the changes to take place.  I am assuming you've run all of the test programs in SAP (FP_TEST_00, FP_TEST_03, etc.).  Is there any chance that the ADSUSER is locked somehow?

  • How to configure the KMC and Business packages in trail version 7.0

    Hi Experts,
    I have installed the Sneak Preview version 7.00 SP9 from the sdn.
    If i want to start working on the KMC
    What i need to install and configure for KMC and collabrations.
    If i need to install, where i will get the installables and documentaion.
    In the same . I would like to install the business packages also in the same server. where i will get the insallables and related dcoumentation.
    R/3 version is ECC6
    Regards
    Vijay
    Regards
    Vijay

    Dear Samuli,
    Thanks for the Replay,
    We are using HTTPS and SSL confined but man in the middle types of attack is happening here there using one tool based one there taking the Request and Response.The below given cookie are available in that request.
    According to this , set-cookie: JSESSIONMARKID , JSESSIONID and MYSAPSSO2 values are user login time it will change every time  are not.
    After  capturing above response HTTP/1.1 302 etc , when user gives valid credentials and logs in ,
    and now ill give wrong password and wrong user id and on click of log on button, i can intercept the request and response coming from the server and when i replace this valid response stil i am able to loggin in to the portal , which should not happen as JESSIONMARKID is changed , server should not allow , but it is loggin in.Standard Login page also allowing to login in this case.
    My server version is EP 7.0 SP 12.
    Please suggest a solution so that if we restric the hacker at this stage , no matter he can never hijack the sesiona and login  with invalid username and  password.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao.

  • How to configure the ST03N and ST06 for displaying the correct data?

    Hello guys,
    I have just finished a internal project installation following the installation guide.
    Our R/3 System can run correctly. However, when I type st03n, it displays some strange data instead of the real server information. and also in st06, I cannot get the real OS information.
    The OS collector said that saposcol is not running because of no process id found.
    But in the OS level, I've checked the server and saposcol -s said that the saposcol is running correctly.
    I searched some notes and modify the processor of the SAPOSCOl service, too. But nothing changes.
    I think the ST06 issue is the root cause of the ST03N.
    I just wonder that how I could configure the system to make the ST03N or the ST06 display the correct statistics?
    Thanks in advance.

    I got the answer myself.
    I didn't know there were some standard jobs that are required to scheduled for a live R/3 System.
    In SM36, find the standard jobs and input 'bc' in sap components and select the jobs scheduling job and set it as periodly run jobs(hourly).
    then release the schedule.
    And note 16083 has all the information.

  • How to read the Domain and Port of our server

    hi guru,
    Is there any method to get the portal Domain and Port .
    http://<domain>:<port>/irj/portal
    http://<Domain><port>  /irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=NIB_Aliase&SAP_TCode=se80
    in our project  we are hard coded the Domain and port .
    if we transfer the application is some other server again we want to change.
    So is there any solution for that.Please help me in this situation
    Advance thank's
    Regard's
    Vivekanathan.S

    Hi,
    import com.sap.tc.webdynpro.services.sal.deployment.api.WDDeployableObjectPart;
    import com.sap.tc.webdynpro.services.task.TaskBinder;
      WDDeployableObjectPart d = wdComponentAPI.getDeployableObjectPart();
      String hostName = TaskBinder.getCurrentTask().getProtocolAdapter().getServerName();
      int port = TaskBinder.getCurrentTask().getProtocolAdapter().getServerPort();
    With the above code you can get the host name, and port.
    If your problem is solved, award me the points.
    Thanks,
    Srini

  • How to configure the network and access to the Extender

    I have the Philips Wifi router of Belgacom and le LED of LINK of the Extender stay red. When I use the software on PC, it doesn't find the Extender.. 
    How are parameters to configure router for the Extender can configure it? On my Extender, I can't connect a cable, this is the first model.... Thanks for help

    try to reset the extender...
    look for its default SSID which is linksysRxxxx on yOur wireless computer then connect to it...
    after connecting set staticIP on yOur wireless computer and then try to access the extender frOm there(192.168.1.240)....
    hOpe this helps...  

  • Deactivating Logging and Tracing

    Deactivating logging and tracing for single Interface in XI Box
    Could some one guide me on this.
    We have an Interface in which the log file generated due to XSLT Mapping+ Value Mapping is of huge size. So we want to deactivate the logging and tracing of the same.
    Regards
    Abhishek Mahajan

    If you want to change the Trace for value mappings then there is an option for it in Visual Admin....but again it will disable the Trace for all value mappings.....
    http://help.sap.com/saphelp_nw04/helpdata/en/42/52f7415e639c39e10000000a155106/content.htm
    From the link:
    In addition, value mappings can be traced (log configuration XIRUN.com.sap.aii.ibrun.server.valueMapping)
    so just check it out if you can change the above field to disable Trace....
    Regards,
    Abhishek.

  • How to configure the fixed cost

    Dear all,
    When i am working the product cost in CK13N i got the cost for both fixed and variable.I want to know how to configure the fixed and what are the facors are considered? which Tcode is most suitable to view the same?
    Can any one help me in this regard
    P.Selvakumar

    Hi
    The Material cost from BOM is usually variable cost
    Activity cost - can be fixed or variable depending on your price in KP26
    Overheads from costing sheet can be fixed or variable - depending on how you define the BASE key in the costing sheet
    br, Ajay M

  • When i try to add DownloadHelper it comes up with unexpected installation error review the error console log for more details - 203, how to it check the log and how do i fix this problem?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    When i tried to install DownloadHelper this happened Firefox could not install the file at
    https://addons.mozilla.org/en-US/firefox/downloads/latest/3006/addon-3006-latest.xpi?src=addondetail
    because: Unexpected installation error
    Review the Error Console log for more details.
    -203
    , how do i check the log and how do i resolve this problem? thank you
    == This happened
    ==
    Just once or twice
    == today
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Ask Toolbar for Firefox
    2.1.0.5
    true
    AVG Safe Search
    9.0.0.783
    true
    {3f963a5b-e555-4543-90e2-c3908898db71}
    Java Console
    6.0.17
    true
    Microsoft .NET Framework Assistant
    1.1
    true
    {20a82645-c095-46ed-80e3-08825760534b}
    BitDefender Antiphishing Toolbar
    2.0
    true
    [email protected]
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    general.useragent.extra.microsoftdotnet
    (.NET CLR 3.5.30729)
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1276351876
    print.print_printer
    HP Photosmart D5300 series
    print.printer_HP_Photosmart_D5300_series.print_bgcolor
    false
    print.printer_HP_Photosmart_D5300_series.print_bgimages
    false
    print.printer_HP_Photosmart_D5300_series.print_command
    print.printer_HP_Photosmart_D5300_series.print_downloadfonts
    false
    print.printer_HP_Photosmart_D5300_series.print_edge_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_left
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_right
    0
    print.printer_HP_Photosmart_D5300_series.print_edge_top
    0
    print.printer_HP_Photosmart_D5300_series.print_evenpages
    true
    print.printer_HP_Photosmart_D5300_series.print_footercenter
    print.printer_HP_Photosmart_D5300_series.print_footerleft
    &PT
    print.printer_HP_Photosmart_D5300_series.print_footerright
    &D
    print.printer_HP_Photosmart_D5300_series.print_headercenter
    print.printer_HP_Photosmart_D5300_series.print_headerleft
    &T
    print.printer_HP_Photosmart_D5300_series.print_headerright
    &U
    print.printer_HP_Photosmart_D5300_series.print_in_color
    true
    print.printer_HP_Photosmart_D5300_series.print_margin_bottom
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_left
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_right
    0.5
    print.printer_HP_Photosmart_D5300_series.print_margin_top
    0.5
    print.printer_HP_Photosmart_D5300_series.print_oddpages
    true
    print.printer_HP_Photosmart_D5300_series.print_orientation
    0
    print.printer_HP_Photosmart_D5300_series.print_pagedelay
    500
    print.printer_HP_Photosmart_D5300_series.print_paper_data
    9
    print.printer_HP_Photosmart_D5300_series.print_paper_height
    11.00
    print.printer_HP_Photosmart_D5300_series.print_paper_size_type
    0
    print.printer_HP_Photosmart_D5300_series.print_paper_size_unit
    1
    print.printer_HP_Photosmart_D5300_series.print_paper_width
    8.50
    print.printer_HP_Photosmart_D5300_series.print_reversed
    false
    print.printer_HP_Photosmart_D5300_series.print_scaling
    1.00
    print.printer_HP_Photosmart_D5300_series.print_shrink_to_fit
    true
    print.printer_HP_Photosmart_D5300_series.print_to_file
    false
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_bottom
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_left
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_right
    0
    print.printer_HP_Photosmart_D5300_series.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows Vista
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdivxplayerplugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *6.0.12.732
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *DivX Web Player version 2.0.0.254
    *GEPlugin
    *4.0.50524.0
    *Office Live Update v1.4
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *RealPlayer(tm) HTML5VideoShim Plug-In
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    Mark Leary:
    As TXGuy posted above:
    See:
    https://support.mozilla.com/en-US/kb/Unexpected+installation+error+-203+when+installing+add-ons
    http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox#Unexpected_installation_error_-203
    Also see:
    http://support.mozilla.com/en-US/kb/Profiles#How_to_find_your_profile
    http://kb.mozillazine.org/Show_hidden_files_and_folders

  • I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw

    I would appreciate your help on how to configure a gmail in a way  it  ask  for the password  everytime I connect?. In the only way I can configure it  I have to include the pw when configuring the account  and  after that  it do not ask for pw  so  everyone that shares my iPad can  oppen my mail  with  no pw  required.
    Thank

    The iPad is designed to be a single user device, and there is currently no way to password protect the Mail app - even removing the account password from Settings > Mail, Contacts, Calendars will just prevent new mail being downloaded, it won't hide those that have already been downloaded. There is this work-around for the app : https://discussions.apple.com/message/13127632#13127632 . Also there might be third-party email apps that feature password protecting.

  • How to Configure the Netweaver CE UDDI Server and Registry

    Hi,
    I'm trying to configure the UDDI registry in Netweaver CE (trial version 7.1 SR 1) following the <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/47e8e91587072fe10000000a155369/frameset.htm">SAP Help documentation</a>. But as the help is not detailed not sure whether I'm doing it correctly. I can access the Service Registry by http://<host>:<port>/sr but not sure whether everything is fine. Also I want to publish Enterprise Services in the registry. As it's not possible to do that from ABAP 7.0 WebAS (doesn't not support UDDI v3) I want to do it via the UDDI client. How to configure the UDDI client by providing the Inquiry URL, Publish URL, etc in the settings?
    Please help me if anyone has any information regarding this.
    Thanks,
    Dipankar

    I am working through the same issues and have not found all of the answers.  However, this may get you closer.
    See http://help.sap.com/saphelp_nwce10/helpdata/en/45/635dd614d73bdbe10000000a1553f7/content.htm for some physical destinations that have to be set up for Visual Composer.
    You can also connect to the registry in NetWeaver Developer Studio by launching the Web Services Explorer from the J2EE Perspecive.  See the help for more details.

Maybe you are looking for

  • Changing GR/IR clearing account

    Hi, We are using one Gr/ir clearing account for both Material and Service Entry sheet process. Now for clear process we want to create new account for the Service entry sheet. We have given blank valuation class for Service entry sheet and it has bee

  • Bex Report Designer is not previewing changes in QA

    Hi All, Please help... i am getting an unusual problem with bex report designer. I have created a bex report using report designer. This was then transported in to QA. In QA i opened my created report using report designer and clicked the print versi

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get th

  • Adding standard Text as long text in QC01 of General data Section

    Hi , I want to Append standard text in Certificate Profile Creation(QC01)of General data section. Can you suggest any Exit. Standard Texts created by SO10 Transaction.       Thanks in advance

  • Need help in order to recovery my Satellite L450-16Q

    My laptop had a virus so I used the Product Recovery disk that came with it, thinking that it would fix it but it ended up erasing the whole of my computer even windows 7. So now I have a computer I can't use I have bought windows 7 directly from mic