How to create logs in to diff files for apps deploy on same OC4J instance?

I am using OC4J 10.1.3.5 App server on Windows. I have deployed 2 web applications on the same instance of OC4J where I have defined the shared library. Both applications use Struts, Spring, iBatis, apache commons libraries which I have defined as a shared library. Part of the apache loggins library I had to add log4j jar as well. So indirectly log4j-12.16.jar is declared as a shared-lib as well.
I have log4j.properties for both application pointing to different log file. But still when both applications are deployed and running, the logs are getting populated on only one file. During the deployment, I did check on webapp-classpath-first="true" setting to explicitly have log4j.properties of each individual application being load first. But nothing makes difference.
Please help.
Thanks
Jasmin

Jasmin,
Dependent on where the log4j library is installed it will use either one or separate configuration files. Placed in WEB-INF/lib then the log4j logger is initialized separately for the applications using separate configuration files. This is not the case when the log4j library is placed under home/applib.
regards,
Bernhard Jongejan
http://bernhardjongejan.spaces.live.com

Similar Messages

  • How to create HTML fragment and PHP file for CONTACT FORM?

    Hello!
    I need to add a contact form to my website.
    I don't want to use wufoo or similar.
    Can someone write a code to have a form:
    NOME:
    MAIL:
    MESSAGGIO:
    and file .php ?
    Regards.
    Thanks a lot.

    Where are you publishing your site to? If MMe, then MobileMe does not support php and you don't need php to create a contact form - just good old html.
    If you are uploading to a server/host such as GoDaddy, then you can use the FormMail option too, but you still need to write your own html code - others will not do it for you.
    I would suggest that you visit this site - http://www.w3schools.com. This site tells you about how to write html code for most things, including contact and feedback forms. Look at this and then write your own code from this.
    If you can't manage to do it, then I would suggest that you need to use something like http://www.wufoo.com or GoogleDocs - Google Docs is a good alternative.
    Also, do a search of this forum for contact or contact and feedback forms where you will find lots of questions on this and where you will then find code examples that have been linked to.
    If you try it yourself, you will learn more quickly rather than asking others to do it for you.

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • How to create Inbound Idoc from XML file-Need help urgently

    Hi,
    can any one tell how to create inbound Idoc from XML file.
    we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml'  we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
    Please let me know the process to trigger inbound Idoc with out using  XI and any other components.
    Thanks in advance
    Dora Reddy

    Hi .. Did either of you get a result on this?
    My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
    I see lots of mention of using a Function Module.
    Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
    Or is there something tht can be done with Standard SAP?
    Thanks
    Lee

  • How to create a custom task in SRM for the standard task

    Hi Gurus,
    How to create a custom task in SRM for the standard task  eg: TS10407929
    regards,
    George.

    from PFTC itself. Same.

  • How To Create A Technical And Business Systems For Web AS ABAP ???

    Hi Experts,
    How To Create A Technical And Business Systems For Web AS ABAP ???
    Please Let me Know All the Step-By-Step Process to Create ????
    Points Will be Given
    Regards
    Khanna

    Hi Sumit,
    When U Told the thing that first time to execute the RZ70 and All i Did this in XI System
    So I got An Entry for the Technical System for XI System.
    Now i Deleted that and Executed RZ70 in R/3.
    When I Executed RZ70, I got this Error.
    <b> "RFC Call failed: Error Opening an RFC Connection "</b>.
    Now I am Unable to see Any Technical System  Under Web As ABAP. It's Showing Empty Now.
    Please Let me know
    Regards
    Khanna

  • Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Sorry I'm new to Final Cut Express. How do you make an image (jpeg file for example) move across the screen slowly as I've seen in many films.

    Neil from bristol wrote:
    … How do you make an image … move across the screen …
    by setting KEYFRAMES
    (read, what FC/e's built-in Help-feature tells about it)
    resize and set pic to start position
    set keyframe
    move playhead in timeline to desired length
    set pic to end position
    set keyframe …

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • How to create Characteristic group in CO-PA for assessment purpose

    Hi,
    Can anybody guide me as how to create Characteristic group in CO-PA for assessment of cost center balance to CO-PA?
    Thanks,
    Bijay

    You need to be more specific in your request - are you looking for a sender, or a receiver grouping? Which characteristic? Is it to be all the values in a characteristic, or is it to be groups of those characteristics.
    Have a look at the setting up of hierarchies for characteristics in COPA master data.

  • How to create new requisitioner in sap mm for raising purchase requisition?

    How to create new requisitioner in sap mm for raising purchase requisition?

    Hi Dear,
    There is some link will help you to create Purchase Requisition and other MM Documents.
    http://www.docstoc.com/docs/11307932/SAP-MM-Manual-Create-Purchase-Requistion
    http://www.r3.duke.edu/training/stepbystep/#purch
    http://sapdocs.info/sap/materials-management-2/download-sap-purchasing-user-training-ppt-material/
    Regards
    Aamir

  • How to create a single 'not null ' validation for all the items in a page ?

    Hi everyone ,
    how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
    Thanks & Regards
    Umer

    Nice1 wrote:
    bob , as u said I have done the following :
    1) under create button , there are 9 items and for each item I have set Required to 'Yes'
    2) under delete button , there is 1 item and have set Required to 'Yes' for the item
    3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
    4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
    now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
    The best solution is as the reply a couple replies up
    Create 2 page type validations as a PL/SQL with code
    1st validation
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    Set the When Button Pressed to the CREATE button
    2nd validation
    :P1_ITEM10 IS NOT NULL
    Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
    Edited by: Bob37 on Apr 27, 2012 12:02 PM

  • How to create external content type in sharepoint for salesforce account

    Can anybody help me on How to create external content type in sharepoint for salesforce account.
    I wanto upload documents to a document library which should sync with accounts in saleforce.
    thanks in advance

    Hi,
    The following materials would be helpful:
    Tutorial: Access Salesforce Leads in SharePoint through an External List
    http://geekswithblogs.net/dataintegration/archive/2014/02/03/tutorial-access-salesforce-leads-in-sharepoint-through-an-external-list.aspx
    Salesforce SharePoint Integration – Best Practices
    http://rainforce.walkme.com/salesforce-sharepoint-integration-best-practices/#.VFxra3mKAeE
    If you want to upload documents to SharePoint document library from the Saleforce, we can also customize your own web service using SharePont .Net Client Object Model or REST to achieve it.
    Best Regards 
    Dennis Guo
    TechNet Community Support

  • How fast does Apple produce new RAW files for new cameras? I want to buy a D7100 wich is not supported in the present version?

    How fast does Apple produce new RAW files for new cameras? I want to buy a D7100 wich is not supported in the present version?

    Jeannot7 wrote:
    I'm interested in seeing who gets the D7100 support first? Apple or Adobe!! I will go with the one that gets it out first.
    FWIW,
    Adobe keeps a quarterly release schedule for RAW updates. The current Lightroom 4.4 RC expires on 5/31/2013 which typically is an indication that the official release will be close to that date. According to the current list of new supported cameras, the Nikon D7100 is not slated to be supported (but that could change on release).
    http://labs.adobe.com/technologies/lightroom4-4/?tabID=details#tabTop
    The most likely time frame for Adobe support of the D7100 will be sometime in August or September 2013 (although there will probably be a Lightroom 4.5 RC available prior to that for testing purposes).

  • How and where to modify the BAI File for Electronic Bank Statement

    HI,
    Can anybody explaing me How and where to modify the BAI File for Electronic Bank Statement.
    thanks
    Sap Guru
    kischowdary--gmail.com

    Hi
    Actually there were two formats BAI & BAI2, BAI2 format is latest one.
    Please ask for the latest file from bank and try to process.
    Thanks
    Kalyan

  • How do I export v-card formatted files for use with either Numbers or Excel?

    How do I export v-card formatted files for use with either Numbers or Excel?

    Did you open Automator and just look around?
    Actions are listed in the left pane.
    You drag them into the workflow on the right in the order you need to process the items that you want.
    If this is a on-off requirement, just make a Workflow. If you plan to use it often, make it an Application.
    If you want to select the contacts you want to export, use a get Selected action. You'd then select the contacts in Contacts App before running the workflow.
    I'm not on a Mac to take screenshots, so you'll have to look at Automator's help or google for more info.

Maybe you are looking for

  • Keeping my BT Yahoo Premium Mail Account, I am hav...

    I cancelled my BT Broadband Option 3 subscription around Nov 20th 2011 and I discovered on the internet that my BT Yahoo Premium mail would be terminated 90 days after my BT Broadband was cancelled, I've had my bt email account for around 10 years so

  • Access via a network to an external hard disk ?

    Hello, My wife can access with her PC (vi$ta) my Mac's Public folder through our router but she can not see my external hard disk, an alias does not help. So each time I have to move files from my external HD to the Mac. The inverse solution, me drop

  • How to improve the performance of Swing Application?

    My project is a Swing based application which uses java 1.2.1 API. The problem is my application is very slow and gets hung many times, inspite of the system configuration being good ( 256 Mb RAM, 733MHz processor). Do give me some suggestions to imp

  • How can we create a table with more than 64 fields in the default DB?

    Dear sirs, I am taking part in the process of migrating a J2ee application from JBoss to SAP Server. I have imported the ejb project. I have an entity bean with 79 CMP fields. i have created the bean and created the table for the same also. but when

  • JPEG Option Disappeared from Save As

    In the middle of scanning old photos into Photoshop Elements and saving them as JPEG, suddenly the JPEG option was no longer in the Save As Format dropdown. How can I get it back?