[IN] and [OUT] log messages coding [ URGENT REPLY NEEDED ]

currently doing struts project in eclipse by generated code by hibernate
and i want every method having facility for log
IN and OUT log facility
so could u please give me code that thing
like : log.debug("[IN] MyClass::myMethod() );
log.debug("[OUT] MyClass::myMethod() );
so is it right or wrong, please anyone know quick reply me i need URGENT

Don't double post.
http://forum.java.sun.com/thread.jspa?threadID=712601&tstart=0

Similar Messages

  • [IN] and [OUT] log messages in Hibernate generated code in Eclipse

    Currently i have to make a code for generating log messages for the [IN] and [OUT] event of the methods, so i can trace the error easily
    ex.\\
    log.debug([IN]MyClass::myMethod() );
    log.debug([out]MyClass::myMethod() );
    what should i write to trace the inbound events and outgoing event tracing and i m new to struts, so above code is right or wrong i don't konw , please reply me immediately
    i m working on STRUTS..

    Don't double post.
    http://forum.java.sun.com/thread.jspa?threadID=712601&tstart=0

  • Count and timestamp logging messages: disabled

    Hi ,
    what does this setting "Count and timestamp logging messages: disabled" mean ? in "show logging" output.
    I do not see the number of message lines logged ( syslog ) increasing under the "show logging" output,
    Same is the case with the numbers in "Trap logging: level notifications, xxxx message line logged"
    This is happening on IOS , any idea why ?
    Thanks,

    Hello Vikram,
    If you do not have the time-stamp configured it would be more difficult to troubleshoot, lets explain this with an example:
    -One of your interfaces went down at 13:30 your local time, you have logging enabled without the time-stamp so you go to your syslog server and you look for that problem, in that case you will need to go to all the syslog messages database ( witch might be huge and the message you are looking for could be imposible to find) so if you have timestamp enable you will go directly to the 13:30 messages and find it so much easier.
    Here is another explanation I found for you:
    logging timestamp
    This command causes the firewall to add a time stamp to each Syslog message before it is sent. The firewall should have its clock set and time synchronized to a known and accurate source.
    Please rate helpful posts,
    Kind regards,
    Julio

  • Error stopping and undeploying java applications and View Log Messages link

    I was redirecting to this forum by instant chat JCS Support.
    Have a few issues with my JCS account:
    1) I am getting the following error when clicking View Log Messages hyperlink - Failed to get messages for service - java.
    2) Have 2 applications: Branding and Connectivity which I tried to stop or undeploy and getting errors for both.
    Could you help to resolve the both issues?

    Sorry, it was unfortunate that C2C could not help you. We had an issue last week with our console. Its now fixed, and you should not see this issue anymore. If you do continue to see an issue, post here and I will investigate.

  • Suppress [Adobe CAPS DEBUG] and epic_core log messages

    Is there any way to suppress the [Adobe CAPS DEBUG] and epic_core messages that appear in the debug log? All those messages make it easy to miss asserts and other error messages.

    I switched over to an early 2008 20-inch iMac (booting from same external disk) and the "ERROR:shrink DB" and "assertion failed" messages are continuing, so I doubt that it is related to the hardware unless it's the external drive itself or the Firewire cable.
    Any help would be appreciated...

  • Marking in and out only selects audio.  I need both

    I'm sure this is very fundamental but I can't figure it out.
    I've been editing a lot of home movies this weekend when suddenly my IN and OUT buttons are behaving differently in the time line. They are only selecting (affecting) the two audio tracks and not affecting the video track. Why?

    Make sure the VIDEO tab is connected in the Timeline patchbay for the track where you want the video to go.
    -DH

  • Locking Transcation and customized log messages

    Hi
    I wanna to lock a specific transcation and if users are executing the transaction code then a customized log meesage should popup or display and the transaction should terminate. Is there a way to do by std way instead of handeling it in coding? I dont wanna to create authroization objects as it is not a time to experiment with that considering the system landscape complexity.
    thkx
    Prabhu

    Hi,
    Use Authority Check statement.If the authority check fails raise an message.
    Regards
    Krishna

  • URGENT Reply Needed: 9iAS Rel2 and Database

    I have been asked about the 9i Database installation usuage with the 9iAS. We run Forms/Reports with the application server.
    1) Does the database need to be up and running while the mid-tier is running and to be used?
    2) Does the database need to be archived/logging?

    Do you refer to the 9i AS Metadata Repository / iasdb?
    then,
    1) yes, if mid-tier components (like Reports) metadata is stored there
    2) do you consider your apps important?
    Also note that Infra. and Mid-tier installs should be backed up sync'd (both at same time). There is a paper on OTN about this.

  • Hyper V out of space. Urgent help Needed

    He guys,
    I use hyper v to build images and my hyper v terminal has run out of space and I can even delete snap shots. If I do it removes it from the tree but doesn't free any space.
    Is their away to urgently free up space. I really have nothing else on the machine apart from hyper V and a few checkpoints.
    Thanks

    when  you delete snapshots it will take some time to merge the results before the files remove, if you don't have enough disk space to perform the merge you will have additional problems. You may have to copy all the snapshots and parent disk
    and do a manual merge using hyperv on another disk. Use the inspect and edit disk to check and merge them, make sure you have all the snapshots with inspect before attempting the merge.

  • Video with JWPlayer does load, but won't play and no error message (as plug-in needed) apear. What's the problem?

    video's with JWPlayer start loading but won't play and stay black with a rolling wheel. The player is shown and even full screen can be activated.
    There is no message for a missing plug-in.

    Do you see an error message about this in the Web Console (Firefox/Tools > Web Developer;Command+Shift+K)?
    Is there a shield or other extra icon on the left end of the location bar indicating that content is blocked?

  • IPad cannot be restored unknown error 1; I tried to update my iPad 1 to new os5 by syncing to new version of iTunes and found a message that my iPad needs to be restored.  I tried several times and continue to get same error code unknown 1; how to fix?

    When trying to sync my ipad to latest version of itunes, it appears the ipad identity was lost and a message in itunes says to restore the ipad.  However, multiple attempts to do this continue to provide the "This ipad cannot be restored. Unknown error 1"  I have tried resetting my ipad which just brings back the screen to connect it to itunes.  I have updated all software on my computer and restarted.  No luck!.  Please help!!

    Thank goodness for this thread! 
    I installed iOS5 last night and was having the same problems described above with my iPad 1 32 GB + 3G.  Unknown Error (1) and was unable to restore. 
    I took my ipad to the local Apple Store today and was told by the genius that it was a hardware issue, and because the warranty had expired, there was nothing the Store could do.  He suggested that I try calling AppleCare.  Then I asked to speak with a manager.  He apologized again and said there was just nothing the Store could do.  I was close to leaving, when I asked a second time if it would be possible to see a Manager. 
    After asking a second time, he called a manager.  After explaining my issue to her, she immediately authorized him to give me a new iPad !   Anyone with this problem should definitely go to the store and be polite but adamant.  You should get a new iPad.

  • Urgent Reply Needed

    I wanted to know does dv6t quad edition has a built in mic???? and what is frequency or fsb of 4GB ddr3 memory or RAM provided in dv6t quad edition??
    Pls rply by today...
    Thanks in Advance

    ok that makes sense but the pics are all different sizes, so if you told the ap to make all pics near 720x480, cropping or distortion would occur.
    instead, I put an ocean scene in the background, soften up the edges of the pics on top, this way, they can be larger or smaller bu they all look like they have the ocean background - unless they fit the canvas.
    -- ok I just got an error message saying that one of my pics is open and being used in another application - but I have nothing else open.
    the render stopped.
    whats up with that?
    Message was edited by: M-323

  • Congiguring jsps with oracle8i,urgent reply needed

    Beginner for oracle8i ---need ur help
    I have installed oracle8i database server8.1.5 on winNT workstation which has Jserver to run java components.
    Please tell me how to run jsps with oracle8i.
    Ihave written certain jsp files but don't know where to put them and how to start the server to test them.This is an urgent requirement for my client,if anybody can help.
    A great thanks in advance.
    null

    Do you refer to the 9i AS Metadata Repository / iasdb?
    then,
    1) yes, if mid-tier components (like Reports) metadata is stored there
    2) do you consider your apps important?
    Also note that Infra. and Mid-tier installs should be backed up sync'd (both at same time). There is a paper on OTN about this.

  • WriteToFile(doc DOMDocument,File varchar2) error-Urgent reply needed

    The problem description in our environment:-
    A xmldom package in the oracle 8.1.7 is trying to create an xml file from a DOMdocument. We are creating this DOMdocument by using an xmlparser. The input to the xmlparser is a file on the unix space.We are able to read the values ,display them. The error happens when the writeToFile method is used to update the xml file after changing the node values in the dom document. The environment seems to be okay or is there any problem with it.
    To check our logic, a sample code from the web page http://www.akadia.com/services/ora_gen_xml.html was run.It gave the same error description(ORA-20000).It had also used the same function and the error occured at the same line number.The code from the web page reads as:-
    DECLARE
    doc sys.xmldom.DOMDocument;
    main_node sys.xmldom.DOMNode;
    root_node sys.xmldom.DOMNode;
    user_node sys.xmldom.DOMNode;
    item_node sys.xmldom.DOMNode;
    root_elmt sys.xmldom.DOMElement;
    item_elmt sys.xmldom.DOMElement;
    item_text sys.xmldom.DOMText;
    CURSOR get_users(p_deptno NUMBER) IS
    SELECT empno
    , ename
    , deptno
    , rownum
    FROM emp
    WHERE deptno = p_deptno;
    BEGIN
    doc := sys.xmldom.newDOMDocument;
    main_node := sys.xmldom.makeNode(doc);
    root_elmt := sys.xmldom.createElement(
    doc
    , 'EMPSET'
    root_node := sys.xmldom.appendChild(
    main_node
    , sys.xmldom.makeNode(root_elmt)
    FOR get_users_rec IN get_users(10) LOOP
    item_elmt := sys.xmldom.createElement(
    doc
    , 'EMP'
    sys.xmldom.setAttribute(
    item_elmt
    , 'num'
    , get_users_rec.rownum
    user_node := sys.xmldom.appendChild(
    root_node
    , sys.xmldom.makeNode(item_elmt)
    item_elmt := sys.xmldom.createElement(
    doc
    , 'EMP_NO'
    item_node := sys.xmldom.appendChild(
    user_node
    , sys.xmldom.makeNode(item_elmt)
    item_text := sys.xmldom.createTextNode(
    doc
    , get_users_rec.empno
    item_node := sys.xmldom.appendChild(
    item_node
    , sys.xmldom.makeNode(item_text)
    END LOOP;
    sys.xmldom.writeToFile(doc , '/user/sb8066\docSample.xml');
    sys.xmldom.freeDocument(doc);
    END;
    The table emp was created with values in it.
    Oracle error code:-
    ORA-20000: An internal error has occurred: Permission denied
    ORA-06512: at "SYS.XMLDOM", line 37
    ORA-06512: at "SYS.XMLDOM", line 1784
    ORA-06512: at line 61
    The priveleges that were required for the above code were:-
    GRANT javauserpriv to scott;
    GRANT javasyspriv to scott;
    GRANT EXECUTE ON xmldom TO scott;
    These were also existing for our code and database user.NO clue is there about any possible environmental setting errors.
    This code was trying to do the same job that we did but created a document object and not used an existing document object(from a parsing operation).Please advice about possible solutions.It is urgent.
    with Regards
    gopal

    Hai kevin
    I tried both of what you have said .I had also some suggestions from an oracle dba.Can you please help me any idea you have about it.It's regarding the encoding of the xml file.The suggestion was:-I have enclosed the my try for the first solution he suggested.
    "ora-2000 is a very generic error ( mostly with intermedia/text/context/apps)
    but may occur in regular stuff tooo..
    in MOST OF CASES, it does not have any INDIVIDUAL IMPORTANCE at all.
    its is resultant of ANOTHER ERROR.
    in your case it is
    ORA-06512 which is numeric or value error.
    somedata is not GOOOD or unwanted character in unwanted place.
    so these would be my LOOKOUTS (though, it may not relevent, as my knowledge on XML is very less.
    I DONT DO ANY DEVELOPMENT at all. But just support lots n lots n lotsa developers).
    1. as per your posting,
    > > > sys.xmldom.writeToFile(doc ,
    --->-- > > > '/user/temp\docSample.xml');
    > > > sys.xmldom.freeDocument(doc);
    in general terms, this would be wierd naming(line 2).
    for unix '/user/temp/docsample' should do
    (beware of file system permissions and case sensitivity in UNIX)
    for windows '\usr\temp\docsample' should be used.
    except IF U ARE USING UNC / MAPPED DRIVES ( THERE IS A SPECIAL CONSIDERATION
    TO USE directory/direcotry\filname..THAT IS DIFFERENT CASE).
    check this ( this may lead to error PERMISSION DENIED ( the clasical words from UNIX)
    2. to deal with ora-6512, this may posssibly be th reason.
    The default character set for XML is UTF8 - special characters indicated would
    have an ASCII value > 127. Any character with an ASCII value > 128 is
    interpreted as being the leading byte of a multi-byte character in UTF8.
    To get around this you need to explicitly specify the character set you are
    using. For example:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    This tells the XML parser to read the file as ISO-8859-1. If you are using
    another character set, substitute the ISO name of the character set in this
    line."
    Kamal , i tried giving the '/' slash instead of '\' .The oracle reported a error,description as follows.
    63 sys.xmldom.writeToFile(doc , '/user/temp/docSample.xml',sys.xmldom.getCharset(doc));
    64 sys.xmldom.freeDocument(doc);
    65 END;
    66 /
    UTF8
    DECLARE
    ERROR at line 1:
    ORA-20000: An internal error has occurred: No such file or directory
    ORA-06512: at "SYS.XMLDOM", line 37
    ORA-06512: at "SYS.XMLDOM", line 1826
    ORA-06512: at line 63
    It reported error and when i revert back to the previously used slash,it had the old error.You must have read the dba's suggestions.Do you know about how to go about this.Anyway thaks for the help.Will be waiting for your advice.
    The UTF8 ouput you must be seeing is the document's charset after me setting it,previously i tried to get the default value after parsing ,it had the same report.
    regards
    gopal

  • Compatibility of Weblogic 6.1 Oracle Thin Driver for Oracle 9i. - URGENT Reply Needed..Thanks.

    Hi, We are using Weblogic 6.1. We are currently using JDBC Oracle Thin Driver (ClassName
    : oracle.jdbc.driver.OracleDriver) that is built into Weblogic 6.1 (weblogic.jar).
    Our database is Oracle 8.1.7.4. We want to upgrade to Oracle 9i (Oracle version
    9.2.0.4). I would like to know the compatibility of this built-in Driver for Weblogic
    6.1 with Oracle 9i (9.2.0.4) and can I continue to use the same JDBC driver. Also
    we have plans to upgrade our Weblogics to 8.1 version. Can we continue to use
    the same Oracle Thin driver that comes as part of WLS 8.1, for Oracle 9.2.0.4.
    I need this reply ASAP. I appreciate any help in this regard.
    Thanks, Venkatesan.

    Thank you very much for your reply.
    Joe Weinstein <[email protected]> wrote:
    Hi. The driver we shipped will still work with the later DBMS, but there
    have been many improvements and fixes to Oracle's dirver since then,
    so I highly recommend that you download Oracle's latest appropriate
    thin driver, and make sure it gets into the -classpath argument that
    the weblogic startup script creates for the server.
    Every release of weblogic will tend to include the latest oracle
    thin driver available at the time, so the 8.1 will contain a newer one
    than
    the 6.1.
    Joe
    Venkatesan wrote:
    Hi, We are using Weblogic 6.1. We are currently using JDBC Oracle ThinDriver (ClassName
    : oracle.jdbc.driver.OracleDriver) that is built into Weblogic 6.1(weblogic.jar).
    Our database is Oracle 8.1.7.4. We want to upgrade to Oracle 9i (Oracleversion
    9.2.0.4). I would like to know the compatibility of this built-in Driverfor Weblogic
    6.1 with Oracle 9i (9.2.0.4) and can I continue to use the same JDBCdriver. Also
    we have plans to upgrade our Weblogics to 8.1 version. Can we continueto use
    the same Oracle Thin driver that comes as part of WLS 8.1, for Oracle9.2.0.4.
    I need this reply ASAP. I appreciate any help in this regard.
    Thanks, Venkatesan.

Maybe you are looking for