Doubt abt Log4j

hi to all.
i have doubt in Log4j. to create log i have done code as follows..
static Category cat = Category.getInstance(LogTest.class.getName());
PropertyConfigurator.configure("../webapps/CSPPS/WEB-INF/classes/CustomLog.properties");
cat.info("Address");
(1) When i compied my LogTest class compile successfully and run too. but when the compile time the msg comes like
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
(2)if i give without full path like above error has come.. hw would i avoid it..
(3)i have to write log file depends upon the day.. ex..if i run march 3 005 then the file name comes like MyLog.2005-03-03 and create another date like MyLog.2005-03-04.... how to do this..
give ur valueable suggestion..
thx n adv..with regards
DJ

i have doubt in Log4j. Me too!

Similar Messages

  • Doubt abt proxies

    hi this is seshagiri.
    i have doubt abt proxies. when u created ABAP server proxy,objects were generated.
        1. ABAP interface
        2.structure for data type
        3. structure for msg type
    WAT IS THE DIFFERENCE BETWEEN DATATYPE STRUCT AND MSG TYPE STRUCT.
    AND ONE MORE THING IS PROXIES ARE RUNNING ON WHICH ENGINE

    Hi,
    To see the deff between DT and MT
    A message type comprises a data type that describes the structure of a message
    More than one message interface can use the same message type. For example, an asynchronous outbound message interface and an asynchronous inbound message interface can reference the same message type because the request message does not need to be mapped.
    ·        When defining a message mapping you can directly reference message types to map messages from an outbound interface to messages from a receiver interface.
    For technical reasons, a data type is not sufficient to describe the instance of a message. In XML schema, data types are defined as abstract types that are not yet fixed to an element. You can only describe an instance of a message when you have specified a data type as an element type. Therefore, a message type defines the root element of a message.
    A message type does not define the direction of the message exchange
    Just go thru following links-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/bfc6373c8fea43bdb3541535bcbd43/frameset.htm
    Regards
    chilla..

  • Doubt abt the EMI and SMI images on 3560 switches

    hi all i have a silly doubt. if i buy a 3560 with the SMI image loaded in it. and then i install a EMI image in it then will it support the EMI images. i mean my main doubt is is it just abt the images or do we need a license on the switch for running a EMI image in it.
    regards
    sebastan

    in short, YES, you can load an EMI on your 3560 as it's currently configured.
    (no license key or such to activate is required)
    if you have an SMI switch that can support EMI image, as in most cases, then you can upgrade to the EMI image with the EMI software downloaded from cisco.com.
    technically, you are required to have purchased an EMI license to be legal to use the image.
    (although you can load an EMI image at anytime)
    the license is NOT installed anywhere, just a piece of paper that confirms you paid for the software.
    if you need further information on licensing please contact cisco licensing at http://cisco.com/go/license (requires CCO login) or call 800.553.2447 and ask for 'licensing'.

  • Nagging doubt abt windows

    Hi People,
    One of my friend says "Windows will not work
    continuously for more than 49.7 days!!!" Is it
    True????????????
    Here is a bit of information, which may surprise you
    all.
    Windows crashes automatically if you don't switch
    off the machine for 49.7 Days. Microsoft accepts this.
    Do you know why? If not read this
    In Windows the Virtual Machine Manager (here after
    referred as VMM) is responsible for creation,
    execution, monitoring and termination of virtual
    machines. This VMM, which is a 32 bit, protected mode
    operating system, provides a number of system services
    at chip level of programming. One of these services is
    "Get_System_Time". This particular service loads the
    EAX register with the time in milliseconds since
    Windows started. This service is accurate to 1 ms. EAX
    is a 32 bit register. So the maximum number of
    milliseconds it can hold is (2^32)-1 = 4294967295
    milliseconds
    = 4294967.295 seconds
    = 71582.79 minutes
    = 1193 hours
    = 49.7 days
    So after 49.7 days the EAX resets to zero. Most of
    the Drivers use this Time Service to keep track of the
    Time out of various services they provide. So after
    49.7 days the drives cannot use the get_System_Time
    function of VMM and they crash.
    Any of u tell me is it true after testing?
    P.S: Sorry for asking abt windows in this java forums. But I have no other source to get help.

    One more reason not to use Winblows. Microsoft itself admits this. See this url.
    http://support.microsoft.com/support/kb/articles/Q216/6/41.asp
    But it seems that it is applicable only to Windows 95/98.

  • Two Doubt abt Area Menu and Conv from C to I

    Hello Guys,
    I have two doubt can some one help me on the same.
    1. I have created one area menu , added all T code in that and it is successfully move to prod. server. problem I am facing is that when user click on the t code
    it give message <b>Transaction does not exist.</b>. Although T code available and user have right to access the same.
    2. I have created one ALV in which I have shown AUSP-ATWRT value, which of type character but in our case we have numeric value over there. I am taking that value . But when End user want to take the Graph from ALV it's show nothing. Because value is character. Now I have change the type of Internal table variable as I. But it creating problem and giving Dump.
    Please provide me valuable suggestion.
    Regards
    Swati..

    Hi,
    Field mentioned by you is char type in DD so it will not be displaye as number in graph.
    So you can convert that field using function like CK_AND_CONVERT_NUMERICS to numeric.
    Hope this will help you.
    Reward all help ful answers.
    Jogdand M B

  • Doubt abt the context that is defined

    hi,
    we do have an option of declaring the nodes in the context of the particular view and also we can define the same in the component controller. my doubt is if we call a node with the meta data usage then we get a declaration like
    DATA lo_nd_aenr TYPE REF TO if_wd_context_node.
      DATA lo_el_aenr TYPE REF TO if_wd_context_element.
    to which context it is pertaining to whether to the context node of the view or to the component controller.
    and please say me wht is the advantage of declaring the nodes in the component controller and then dragging them in to the particular view where it is necessary.
    and if possible say me the differences between declaring the nodes in the component controller and the view.
    thanks and regards
    ibrahim.md

    Hi Ibrahim,
    The attribute wd_context, refers to the current context. If you are using it in the component controller, it means the component controller's context. In the view, it means that particular view's context.
    Declaring context nodes in the comp controller is used when you want to share your data across views. Say you have a use case where you enter some search query in one view, and on clicking search, the results are displayed in a subsequent view. Then the second view will not have your search parameters by default. They have to be made attributes in the comp controller, and mapped in both views. So the data can be shared.
    Otherwise there is no big difference. A comp controller node when mapped to your view just becomes another node in the view context. It will be read as any other node in the view only.
    Hope this helps.
    Regards
    Nithya

  • Doubt abt GL acct

    Hi Gurus, I hav one doubt regarding GL acct.
    Suppose v r using 2 seperate company codes say 1000 & 2000, which r totaly independent. & if using the same chart of account for both the company codes (means using the same GL account numbers for respective function), will it mean that suppose we procure material for plant 1000 & 2000 and its having GL number as 11004400 for that entry then will that GL acct number show cumulative of both plant's purchasing? or shud v use different GL acct numbers to hav transperency in accounting?
    Regards,
    Sarang

    Hi,
    It is not required to maintain different chart of accounts. You can maintain same chart of accounts for both the company codes.
    For reporting purpose, you can get the report with the combination of comapny code and chart of accounts.
    For example, you can get the financial statement with the combination of COA, G/L & comapny code in F.01 t.code
    Regards,
    Prabu
    Edited by: prabu krishnasamy on Jun 15, 2009 12:26 PM

  • Doubt abt validating the domain name

    Hi,
    I have a doubt in authenticating the domain name.
    Before the sendmessage can i verify whether the domain name's correct or not.
    for eg:[email protected] to verify whether test.com is valid or not.
    I'm using javax.mail to send mails in my application.
    I'm not getting how to do this and we dont have any DNS name.
    how do i authenticate this..plez help me in this.
    Thanx&Regards,
    Priya

    Before the sendmessage can i verify whether the domain
    name's correct or not.Not really, no.

  • Doubt using log4j

    Hi there,
    I'm using jboss3.2.5 to access my java applications.
    I would like to make a different log directory to each application. Is this possible using log4j ? (i've never tried it)
    If so, how do i set the log4j properties for each application to use ?
    Thanks,

    Have you tried setting the file parameter to point to a different location?
      <appender name="myAppender" class="org.apache.log4j.DailyRollingFileAppender">
        <param name="DatePattern"    value="yyyy-MM-dd"/>
        <param name="File"           value="./logs/myLogName.log" />
        <param name="Append"         value="false" />
        <layout class="org.apache.log4j.PatternLayout">
          <param name="ConversionPattern" value="%-5p : %d{yyyy/MM/dd : HH:mm:ss} : %l : %x : %m%n"/>
        </layout>
      </appender>

  • Silly doubt abt access-points and bridges

    hi all i have read cisco doc wherein clients connecting to access-points and also where the cisco access-point is working like a bridge and still clients can connect to it .
    then any specific reason why people generally connect clients to access-points.
    i mean is there any benefit of either method over the other.
    any help and guidance would be really helpful.
    regards
    sushil

    In short, it is preferred to have users connect to access points.... 99% of the time. You can use a wireless bridge (that is associated to an AP) that is connected to a switch/hub to supply network connectivity to wired users off the switch/hub. There are also access points that can be used as a bridge for building point to point connectivity.
    Look at the home users with wireless.... it allows then to move from place to place (as long as there is coverage) without having to be wired in.

  • Doubt abt T.C OPKI (Confirmation parameter for collective confirmation)

    Hello Friend,
    In OPKI Transaction,there are by default 3 categories are maintained and for which confirmation parameters are maintained.
    Now my question is , what is meant by third category "Confirmation by Order Information System"? I mean for which transaction (confirmation),this parameter is maintained?
    I hope you understood by question.
    Thanks and Regards,
    Jitendra D  Chauhan

    Confirmation from order info systems:
    It refers that in collective entry the work to be confirmed is calculated proportionally to the quantity and is at once proposed on the entry list. and specifies  that in the collective entry the quantities still to be confirmed are immediately proposed on the entry list.
    Fast data entry:
    in the collective entry the quantities still to be confirmed are not proposed and the work still to be confirmed is not proposed..
    karthick

  • Doubt abt maintaining print control

    Dear All,
    Our requirement is to determine printer based on warehouse number/storage type/storage section
    combination.  So, we are asked to maintain a custom table.
    From Tcode OMLV, I see  that printer determination can be done for warehouse/storgae type.
    I dont think our requirement is met by standard SAP.
    Any ideas on how valid this requirement is?
    Thanks.

    nsp,
    In v/05 find respective table used for your o/p type.
    First search if this field exist in table..
    if not go to additional field by pressing f4 and add the same..(Similar to what we do during pricing condn technique)
    AWARD points if U FINDS THIS AS USEFUL...
    Regds
    MM

  • Doubt abt "Fixing the Orders"

    Hi,
       I know an order can be fixed within therange of  Planned Delivery Time + GR Processing Time ( Procurement Type : F).
    My question is:
    1. I need to fix an order which lies outside the range of Planned Delivery Time + GR Processing Time.I have an custom report for fixing an report.
    2. I know available time of the order is compared with the Planned Delivery Time + GR Processing Time for fixing. When I debugged I saw there was a time stamp with the Planned Delivery Time + GR Processing Time.
    So please let me know how the stamp time is calculated.
    Thanks in advance.
    Best Regards,
    Siva.

    The time stamp is calculated based on PPDS logic. While using time stamp in your development object, use the one that shows up in Product View as a reference. I am not sure the context you are referring to has PPDS implemented. If not them the standard PP strategies are probably used to calculate those time stamps.

  • Doubt abt mail adapter

    hi to all if iam using file to mail scenario means,
    i want to send the data to multiple receivers
    that means different different mail id's
    there may be thousands of mail id's in the receiver side
    then how can i achieve this problem .if any one helps on this means its gr8 to me
    thanks & regards
    giri

    Hi,
    Under To, specify the e-mail address that will receive the message. If you enter more than one address, you must separate them with a semicolon.
    If you have specified an IMAP server under URL, the message is saved in the specified folder but is not sent to the receiver specified under To.
    You can send to mutliple mail ids in <To>multiple mail ids with semicolon </To>
    Also see the below links to get more details on MAIL Adapter.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    Regards
    Chilla..

  • Doubt abt select-option

    select-options : kunnr for kna1-kunnr.
    on the selection screen there is a data base accses for kunnr.
    on the selection screen if i want to have my own selected values like 100
    200
    300
    400
    500.hw to do that.

    Hi,
    You can maintain the Value table for this one, in the Domain just maintain the value table, if this is not posiible then you can maintain programetically.
    In the Initialization event of the program.
    Sel_opt-LOW = 100.
    Append Sel_opt.
    Sel_opt-LOW = 200.
    Append Sel_opt.
    Sel_opt-LOW = 300.
    Append Sel_opt.
    Regards
    Sudheer

Maybe you are looking for

  • WF: mail to user for purchase request and purchase order

    Hi all, I activated the WF for released of purchase request and purchase order and the system correctly send mail to the user, but not only one, seven mail for purchase request released... Is there a possibility for sending mail only time? Thanks! Be

  • Wildcards in Smart Albums

    I found some older posting on the internet for using wildcards in Smart Albums. Been trying to do this without any luck in iPhoto '11. The postings on the internet are for older versions of iPhoto so I'm just wondering if something has changed and th

  • Report Title

    Hi, I have created replacement path variable in the report tiltle description and able to get fiscal period 2011001 but not able to get 001.2011 - 005.2011. I need range to display with query title description name. Like this ABC 001.2011 - 005.2011.

  • Cannot Precalculate workbook. Precalculation in thread 1 failed

    Dear Experts, I have an issue in Infomation Broadcasting. I have scheduled an job to distribute the workbook. In sm37, he job status has been Finished. but no emails have been triggered. I checked in RSRD_LOG and i am able to see the following messag

  • How to move iphone/ipad backups to a new macbook

    I currently have a macbook (2009), on which I backup my iphone, my ipad and my wife's ipad. I bought a new macbook, and want to make my iphone and ipad backups on my new macbook, but leave my wife's ipad backups on the old macbook. Please advise on t