Problem during implementation of log4j in portal

Hi,
I am quite new to portal. I am trying to customize the com.sap.portal.runtime.logon.par file. Everything is perfect. But while I am trying to incorporate my own logging using log4j, the log file is not getting generated. Can you please suggest me how can I incorporate log4j in this par file and generate my own log file in my desired location?

Hi,
Visit this link (using Log4j )
Use Log4j in J2EE Project
Look at how to config and use log4j and a sample application
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36085e78-0801-0010-678d-8b4e89ddff3c
check for the same problem of your
Log4j setup in WEB AS
Hope that helps

Similar Messages

  • Problems during implementation........

    Can anyone please send me some problems faced during implementation at the five stages interacting with the client?Please send me to my mail [email protected]

    The major problem during implementation is gaps in AS-IS Study. If we do not study the peocess to the minute bit, then we tend to miss out critical requirement & this is realized during testing. Then the redo takes a longer time, compared to doing it correct initially. Ofcourse, Things will not be correct in first attempt, but if the number of things to redo is leasser, it becomes more convienent, as during testing phase, we are already overloaded with many activities to be taken care of.
    We should be very clear what is not possible in SAP or even if possible with development, but the particular development is not in scope of project, we require to say a clear NO to it.
    It is difficult to pin point the problems. If I share one of my experience, one of my project was fot service industry & the basic scenarios were periodic billing, mile stone billing & resource related billing & all three I had no prior experience. I had clue of Milestone & Periodic, but no clue of resouce related billing. I had to stuggle hard to get the scenario configured & configuring to the requirement of client. But finally I could do it successfully.
    Regards,
    Rajesh Banka
    Reward suitable points.

  • Problem during implementation of SP5 in PI 7.1 EHP 1

    Hi,
    we try to implement SP5 in our new installt PI System (7.1 EHP1) with the JSPM. The validation phase aborts and in the  JSPM_MAIN_1_01.LOG there is the following enty:
    Aug 16, 2010 9:59:28 AM [Error]: Validation finished with error. See log /usr/sap/PIE/DVEBMGS32/j2ee/JSPM/log/log_2010_08_16_09_43_22/deploy_2010-08-16_09-58-49.log for details.
    Aug 16, 2010 9:59:28 AM [Warning]: Undeployment of component sap.com/com.sap.aii.ibrep.deployservice is rejected because undeployment of other component it depends on is rejected; detailed message is $(2)
    Aug 16, 2010 9:59:28 AM [Error]: Detailed message: The item is skipped as there are items which depend on it. The items which depend on are: (name: 'com.sap.xi.repository', vendor: 'sap.com')
    In the second lof-file mentioned, there are no further description concerning the error (there only "infos").
    Any ideas?
    Regards
    Ulrike

    Hi Ulrike,
    in PI 7.11 there is a dependency between SAPXIESR and SAPXIGUI ,
    ie., see
    [1335523 FAQ: Deployment PI Patches in Release 7.1 and higher|http://service.sap.com/sap/support/notes/1335523 ]
    Regards
      Kenny

  • Problem during implementing SAP note manually

    HI
    I am implementing a note manually, which have instruction like below
    Manual Pre-Implement.
    VALID FOR
    Software Component   SCMSNC                         Supply Network...
    Release 700          Until SAPK-70006INSCMSNC
    Release 701          Until SAPK-70101INSCMSNC
    o  Open BAdI /SCF/CSV_SETTINGS in SE18
    -  Add the following 2 methods to interface  /SCF/IF_EX_CSV_SETTINGS:
    CHANGE_INPUT_ENCODING
    CHANGE_OUTPUT_ENCODING
    But when I go till point I can able to add the method as it is grayed out
    Is there any reason or different way of implementing the note manually?
    Regards
    Dev

    To implement note manually you need to get the access key. Once you give the access key you can apply the note corrections.

  • What problems faced during implementation BW projects few eg:  Please

    Hi BWers,
    Please, can you give me some examples regarding
    " what problems you faced during implementation of BW projects.
    Thanks
    points will be given with big heart.
    Again Thanks
    Regards
    Mubeen.

    Hi,
    Implementation issues
    Lifecycle Implementation
    http://help.sap.com/bp_biv170/documentation/SolutionScope_EN.doc
    http://help.sap.com/bp_biv235/BI_EN/documentation/BWProjectPlan_EN.mpp
    Details on the Implementation Phase
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/36177e645911d395fe00a0c94260a5/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • Problem during hierarchy load from ECC 6.0 to BW

    Hello,
    I encountered a problem during hierarchy loads from ECC to BW:
    I get the following in BW:
    Error when updating Idocs in Source System
    Diagnosis
    Errors have been reported in Source System during IDoc update:
    Once I go into ERP and look at the IDocs I get the following message:
    Idoc Error 26:
    EDI: Syntax error in IDoc (segment cannot be identified)
    Message no. E0078
    Diagnosis
    The segment E1RSSH does not occur at the current level of the basic type (extension ).
    This error can have several reasons:
    The segment E1RSSH is assigned to a group whose header segment does not occur.
    The segment E1RSSH does not exist in the syntax description of the basic type  (extension ).
    The sequence of segments in the group in which the segment appears is incorrect.
    Previous errors ('mandatory' segment or group missing) may be due to this error.
    Procedure
    Please check the IDoc or the syntax description of the basic type  (extension ).
    Can anyone help?

    The most basic setting in a BW system is its connectivity with the R/3 system (which is a basis team activity, but BI consultant can always help).
    Issue: While creating source system, I am getting an error "Segment E1RSSH does not exist".
    Diagnosis
    Segment E1RSSH is in the syntax description, but it does not exist.
    The issue was that some of the entries in the table EDISEGMENT were missing.
    As this a standard table, it is recommended to restore the table from Backup or from another BI system. (Please ask your basis team to do it.)
    Now, the significance of the segments: We all know that we require 3 message types in total to communicate with R/3 system. RSRQST, RSSEND and RSINFO.
    Now each of the message types has some segments which help in communication.
    You can see this segment types in the t-code we30. Just enter the basic idoc type and click on display.
    This error is not a common error, but can be useful if at any stage of implementation or support, the table gets disturbed and you have issues with source system connectivity.
    Thanks
    SM

  • CO-PA problem during Go-Live

    Hi experts,
    I have a problem during go-live related to posting to co-pa
    I have scheduling agreement. I don't want to post it in co-pa.
    I excluded my code for this order type (E), but when the user goes to create the scheduled lines, SAP posts to co-pa the document.
    I already implemented UE ZXKKEU11 and ZXKKEU03... I don't know if others must be implemented...
    Help me if possible urgently.
    Thanks.

    Thanks Sridhar for your reply.
    Only first note you mentioned could be help me. The others aren't related to my release. (ECC 6.03).
    According to you, why clearing co-pa structure (when data must not be posted) SAP posts however the scheduling agreement record?

  • Problems with activity reports on Enterprise Portal

    Hello, we have problems with activity reports on Enterprise Portal. It shows only zeros since certain date.
    We have this error in monitoring of Activity Reports - Status of Activity Reporting: "The database contains non-aggregated data that is more than 2 hours old".
    And we found this exception in logs: "Exception during a Prepared-statement DB update"
    What could be a problem? What should we do?
    Thank you.

    Configurarion of the Data Collection Service is done well, I think:
    Activate portal activity report: true
    First day of the week (e.g., Sunday or Monday): Monday
    Gather iView statistics:true
    Gather page statistics:true
    Gather statistics for remote users of local content (global portal): true
    Number of days for daily data retention: 90
    Number of days for hourly data retention: 30
    Number of days for monthly data retention: 730
    Number of days for quarterly data retention: 1460
    Number of days for weekly data retention: 365
    Objects to exclude from reports
    Pages for which to gather user data
    Save interval (minutes): 60
    What should we do then?

  • Problem during login

    Hi all,
    I am experiencing a strange problem during login. I have installed a portal application
    ( very similar to the example stockportal application) , but when I attempt to
    login , I get redirected to the portal main page, and the login button is still
    visible.
    The strange part is that every once in a while, the login will work correctly,
    and I see new skins, templates etc. I have looked at some previous postings here
    which suggest the problem lies with the cookie path setting in the weblogic.xml
    file. I have made sure that is set properly ( to the name of the portal app) ,
    but the problem persists.
    Any help will me much appreciated..
    thanks.
    Vic

    Hi Vic,
    Sounds like you are losing your session (I guess that's pretty obvious =)).
    What is your cookie domain set to (in weblogic.xml)? If it has a setting (for
    example, ".beasys.com"), it must match your domain and you must include the domain
    in the url you request in your browser. For example, if your server name is "myserver"
    and your domain is ".mycompany.com" you must request "http://myserver.mycompany.com:<port-number>".
    Using "http://myserver:<port-number>" won't work. The browser uses both the
    cookie domain and the cookie path to decide whether to send the cookie with a
    particular request. You can also experiment with commenting out the cookie domain.
    Are you using a proxy server? There can be issues getting proxies configured
    correctly.
    Have you tried getting your browser to prompt you to accept session cookies?
    Short of a sniffer this is an excellent way to see what the server is sending
    to your client. You can verify that the cookie name, path, and domain are correct
    and are getting sent to your browser when you expect them to be.
    If you are familiar with a sniffer you can use it to see that the requests and
    responses and see what is happening with the cookies. I really like Ethereal
    (www.ethereal.com).
    Are you seeing the cookie name in the urls generated by webflow more than once
    per session? That would indicate that the browser is not sending the cookie back
    to the server and indicate a configuration error.
    What browser are you using?
    If you can't get it to work, can you attach your web.xml and weblogic.xml?
    -John Bimson
    Software Engineer
    BEA Systems
    "vic siddiqi" <[email protected]> wrote:
    >
    Hi all,
    I am experiencing a strange problem during login. I have installed a
    portal application
    ( very similar to the example stockportal application) , but when I attempt
    to
    login , I get redirected to the portal main page, and the login button
    is still
    visible.
    The strange part is that every once in a while, the login will work correctly,
    and I see new skins, templates etc. I have looked at some previous postings
    here
    which suggest the problem lies with the cookie path setting in the weblogic.xml
    file. I have made sure that is set properly ( to the name of the portal
    app) ,
    but the problem persists.
    Any help will me much appreciated..
    thanks.
    Vic

  • "Program files" directory problem during Microsoft Office Customization Installer in non-English versions of Windows

    We have a document-level customization solution for Word and are experiencing problems during deployment in an environment running on terminal services. The OS (Windows 2012) is English and Word (2013) is non-English (German). 
    Installation is done into the "Program Files" folder correctly. But when trying to start a word document linked to the specific template. The "Microsoft Office Customization Installer" pops up with the error.
    "There was an error during installation"
    From: file:///C:/Programme/[CompanyName]/[Productname]/[Productname].vsto
    Downloading file:///c:/Programme/[CompanyName]/[Productname]/[Productname].vsto did not succeed.
    Exception: ....
    System.Deployment.Application.DeploymentDonwloadException: Download file:///C:/Programme/[Companyname]/Productname]/[Productname].vsto did not suceed. ---> System.Net.WebException: Could not find a part of the path 'C:\Programme\[Companyname]\[Productname]\[Productname].vsto'.
    ---> System.Net.WebException: ...... ---> System.IO.DirectoyNotFoundException......
    The problem seems to be that the installer is looking for C:\PROGRAMME instead of C:\PROGRAM FILES. C:\PROGAMME is the German localized name of PROGRAM FILES (http://en.wikipedia.org/wiki/Program_Files).
    The installer installs the solution correctly deployed into c:\program files, but when the later a user tries to start it and the Microsoft Office Customization Installer is called, it tries to access the non-existing "c:\programme" folder. This
    doesn't exist, because Windows is English.
    Is there any thing related to deploying solutions on a platform which has different languages (mixing/matching of OS language and Office language?)
    Thank you for your help

    Hello,
    1. First, I would confirm with you whether you dealt with the localization for your document-level add-in?
    2. Did you use this way to define the Create a class that defines the post-deployment action part of Put the document of a solution
    onto the end user's computer (document-level customizations only) and did you get the path with Environment.SpecialFolder enum?
    To handle this, I would recommend you consider using Environment.SpecialFolder to set that property.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem During Installation of ECC 6 on Windows 2003

    <b><b>Here I am facing problem during Import ABAP Phase.
    It is throwing Error like that::
    CJS-30022 Program 'Migration Moitor' exists with return code 103.
    After completeing 9 stages, it's getting problem in Import packages and installation get stucked.
    My Server is like that:
    OS: Windows Server 2003
    Hardware: HP Itanium IA64
    Database: Oracle 10.2g
    SAP Release : 2004s ECC 6
    I have configured Java with j2sdk 1.4.2_12:
    JRE 1.5 is not available for IA64 .
    I reconfigured the parameter "shared_pool_size" (to 400MB)in init<sid>.ora at \oracle\<sid>\database.
    Also adjusted another parameter which is "shared_pool_reserved_size" i.e. 10% of the shared_pool_size.
    What to do now.
    Please send me feed backs.
    Regards,
    Sumanta Chatterjee
    </b></b> <b></b>

    run 'ls -lrta' in /tmp/sapinst_instdir/.... (whatever the lowest path is there, where all the log files are).  You should see something like sap<something>.tsk and sap<something>.log.  Look at the most recently updated sap<something>.log file for the specific error.  One problem I've seen is that if you configure the advanced oracle config to turn off AUTOEXTEND on the tablespaces, the abap load will bomb because it runs out of space.  Also, make sure your SYSTEM tablespace has at least 500M.
    Posting the relevant contents of the log with the detailed error description would help us provide a better answer as well.
    Rich

  • How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1

    How do I get facetime on a MacBook Pro to work?  I keep getting a " server encountered problem during registration.." message.  I have FaceTime ver. 1.1.1
    Thanks

    Icapper wrote:
    I will end up getting something other than Logitech speakers, since I'm just weird like that.
    Your not weird, your a audiophile.
    https://en.wikipedia.org/wiki/Audiophile
    Good sound costs money. And with a 5.1 system your usually doing surround sound decoding for BlueRay movies etc. for home theater purposes.
    The PC 5.1 surround sound systems require a audio card in a PC tower and mainly used for playing 3D games so that won't work for any Mac at all. So don't buy a PC 5.1 surround sound system for your Mac.
    Harmon Kardon has the GoPlay, it's a portable stereo with awesome sound (not as good as their theater systems) and you can hook up a analog male/male stereo mini cable to it from the Mac.
    $200 and it has a iPod dock and also takes like 8 batteries so it's portable.
    http://www.amazon.com/dp/B002GHBTNC
    There is also the Bose Wave clock/radio, you will need a stereo mini to RCA break out cable for that.
    http://www.bose.com/controller?url=/shop_online/wave_systems/index.jsp
    The GoPlay has much better sound than the Bose, I think the Bose are overpriced.

  • I face a problem  while making a confirmation on portal.

    Hello ,
    Can anyone help me I am facing a problem while making confirmation in the portal.
    the system pops up an error as mentioned below. Please help
    •     Folgender Fehlertext wurde im System SRP prozessiert: Speicherungsform der Produkt-ID ist im Customizing noch nicht definiert
    •     Der Fehler trat auf dem Applikationsserver eccprd-srp_SRP_50 und im Workprozess 3 auf.
    •     Die Abbruchart war: TH_RES_FREE
    •     Die ABAP-Aufrufhierarchie war:
    Form: READ_SETTINGS of program SAPLCOM_PR_CONVERSION
    Function: CONVERSION_EXIT_PRID1_INPUT of program SAPLCOM_PR_CONVERSION
    Function: BBP_PDH_PRODUCT_READ_BUFFER of program SAPLBBP_PDH
    Form: GET_LOCAL_PRODUCT of program SAPLBBP_ECI
    Form: APPLY_OLD_MAPPING of program SAPLBBP_ECI
    Function: BBP_PRODUCT_MAP of program SAPLBBP_ECI
    Function: B31I_PO_GETDETAIL of program SAPLBBP_BD_DRIVER_31I
    Function: META_PO_GETDETAIL of program SAPLBBP_BD_META_BAPIS
    Function: BBP_BE_PO_GETHISTORY of program SAPLBBP_PDH_HISTORY
    Function: BBP_PDH_SEARCH_PO_SUBLIST of program SAPLBBP_PDH_SEARCH
    Best Regards,
    Sairam

    Hi,
    Pls see if the foll notes are useful.
    <b>Note 911217 - Copy vendor product number from contract search help to PO</b>
    1047769 - No returns for search by Product ID in Monitor Shopping Cart
    Note 1023012 - BBPSC: Long product ID triggers short dump
    BR,
    Disha.
    Pls reward points for useful answers.

  • A problem while implementing a file to file senario

    hi all :
         There is some problem while implement a file to file senario. the file couldn't be sent or recieved.
          and as I try to check Check the Sender File Adapter Status  via
         Runtime Workbench -> Component Monitoring -> Communication Channel Monitoring ,
         It is found that Adapter Engine has error status with red light.  Is it why the file couldn't be sent?
        Could you please tell me how to make Adapter Engine  available?
        Thank you very much!!!

    Hi Sony
    Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for EC1.SystemHome.cnbjw3501 found
    No access to get JPR configuration
    Along with what experts suggested
    What is the type of Business system is this. Standalone Java?
    JPR can have problem if you have a business system thats not ABAP/Java type if this system is not having a SAP TS in landscape then create Java type.
    Thanks
    Gaurav

  • Problem during creation of shipment document and shipment cost document

    Hi
    My client  facing problem during creation of shipment document and shipment cost document at the time of Batch Job
    Delivery no 897654: goods issue on 30.11 at 13:22. Shipment on 30.11 (VT01N).
    Shipment costs on 1.12 (VI01).
    the problem is the shipment document get created on 30.11.2010 but the shipment cost document get created on 1.12.2010
    pleas advice.

    Hi,
    Please check the batch job processing log.
    As per my understanding, business requires to generate the Shipment & Shipment cost documents immediatley.
    However there is some time between the documents creation time. I dont see any issue in the data or problem in the delivery docs Because system will not generate the shipment docs after 1 or 2 days if there is an issue with the data . There must be problem in the Batch Job.
    Analyse the batch jobs and timing of the job process.
    Let us know your feedback...
    Best Regards,
    MKumar

Maybe you are looking for