Display log IN WD application

Hi all,
I want to display the logs for a particular application in the same application.
The problem is that to view logs I should use the Administrator user (and to know its password) in all possible cases I thought of: remote connection to the machine where the application server runs, configure remote connection to Visual Admin of the remote machine where the server runs using Standalone Log Viewer, trying to see the logs through the web interface of the server. In all cases the problem is the same: the application user should not have rigths to Administrator credentials and to see log he should have such.
So, how could I read and display the log of my application IN my application? The log is written in different file, it's not in the defaultTrace.trc.
Please, don't redirect me to any link, except if it's about the same (not similar) question and have real solution!
I've already tried to find something that will help, but I couldn't.
Thanks,
Ogniana

Hi,
I assume that, the messages are retunrd from a BAPI .
DATA: es_message type bapret2 or any strcutre of your type or message manager messages table type.
(Refer IF_WD_MESSAGE_MANAGER).
loop at lt_msg into ls_msg.
    MESSAGE ID 'DEMO' TYPE 'E' NUMBER '139'
    WITH liv_id INTO es_messages-message.
    es_messages-id         = 'DEMO'. "Mesage class
    es_messages-type       = 'E'.
    es_messages-number     = '139'.
    es_messages-message_v1 = liv_id.
or
if ls_msg-type eq 'E'.
lv_str = "Success ful'.
endif.
es_message-id = ls_msg-id.
es_message-message = lv_str.
endif.
Maintain the messages in the Se91.
By defalut as per the message type the framwork handles
the Icon.
But if you want some specific icon  to be displayed then you
need have your own table that shows these meesages with custom icons.
Regards,
Lekha.
Edited by: Lekha on Sep 3, 2009 3:17 PM

Similar Messages

  • Best practices on how to implement logging in custom application

    In the Enterprise Manager it is possible to display/browse the content of different log files generated by the application server modules.
    I have some custom web applications which currently use the log4j framework to write to log files. Is it possible to make these log files accesible for the Enterprise Manager ?
    Or what is the best practice on how to implement logging in custom applications which can be browsed in the Enterprise Manager (I do not want to use system.out)

    I thought that this could be done. An ex- colleague did this - but he didn't tell me how to solve this.
    But as it just took 10 minutes to solve this I believe it's fairly easy.
    cu
    Andreas

  • OC4J: log level for application deployment?

    Hi,
    i have a application that can be deploy to co4j in window xp but not in AIX, and
    the error message print is not so helpful.
    i want to get more detail information about the error. (print more detail debug message)
    Is there something like -Dxxx=debug to set the log level for application deployment?
    thank you.

    Most likely application is trying to display a prompt, run your app in full visibility mode and see if it goes through.
    Sometimes, when app is receiving incorrect license key it will also hang like that. The only way it's going to fail is once you run out of time, which by default is 120 minutes I think.
    Other times, app needs mapped drive etc, there might be many more reasons.
    SCCM logs will show you what is received from app. If nothing is received, then logs are useless and you need to use application level logging or take a look at windows logs (system and application) - they might be useful too.
    As a last resort, you can use psexec and run installer as system account to mimic what SCCM is using and see if app installs or also takes its sweet time.

  • APEX 4.2.2 - ORA-6502 when logging in to application with anything other than Firefox!

    If I try to log into my application through anything other than Firefox I get the following message on the screen:
    Error
    Error processing request.
    ORA-06502: PL/SQL: numeric or value error
    OK
    If I try to access the APEX Builder through a browser other than Firefox, I get no HTML returned.
    Last night I upgraded from 4.1 to 4.2.2 and ran the patch that dealt with missing developer toolbars...
    Of course, I only ever use Firefox, but my users are using IE...
    Any ideas?
    Message was edited by: AndyH
    Clarified that this is a 4.2.2 issue.

    Hi,
    I do not know if this relating bug 16760897
    Oracle Application Express 4.2.2 - Known Issues
    Regards,
    Jari

  • How to remove all log files at application end ?

    I need to remove all log files from database dir.
    Just the data file must be in database diretory after the application ends.
    I´v tried:
    1 - set_flags(DB_LOG_AUTOREMOVE, 1);
    2 - txn_checkpoint(0, 0, DB_FORCE);
    But ways one log file reminds.
    Any bory nows how remove all log files at application end ?
    I really need this. How can i do that in C++ ?
    Thanks,
    DelNeto

    Here's how I solved it
    // At end of app.
    // Commit tables.
    pdbParam     ->sync(0);
    pdbUser     ->sync(0);
    // Close tables.
    pdbParam     ->close(0);
    pdbUser     ->close(0);
    // Delete table objects.
    delete     m_pdbParam;
    delete     m_pdbUser;
    // Commit all changes to the database.
    penvDbEnv->txn_checkpoint(0, 0, DB_FORCE);
    penvDbEnv->close(0);
    delete penvDbEnv;
    // Remove all logs files comes here.
    DbEnv *penvDbEnv;
    penvDbEnv = new DbEnv(0);
    ui32EnvFlags = DB_CREATE |
    DB_PRIVATE |
    DB_INIT_LOCK |
    DB_INIT_LOG |
    DB_INIT_MPOOL |
    DB_THREAD |
    DB_INIT_TXN;
    // Open the environment with full transactional support.
    iResult = penvDbEnv->open("..\\database", ui32EnvFlags, 0);
    // Get the list of log files.
    char **pLogFilLis;
    char **pLogFilLisBegin;
    iResult = penvDbEnv->log_archive(&pLogFilLis, DB_ARCH_ABS | B_ARCH_LOG);
    // This line resets the log sequence numbers from the database file.
    // No actual log file is associated with the database.
    iResult = penvDbEnv->lsn_reset("..\\database\\DATABASE.db", 0);
    // Remove the log files.
    if(pLogFilLis!= NULL)
    // I don´t now how put spaces and tabs here, sorry about the "___".;-).
    __for(pLogFilLisBegin = pLogFilLis; *pLogFilLis != NULL; ++pLogFilLis)
    ____iResult = remove(*pLogFilLis);
    __free(pLogFilLisBegin);
    // At this point no more log files exists at database directory.
    penvDbEnv->close(0);
    delete penvDbEnv;
    // If i need remove the environment files, do this.
    penvDbEnv = new DbEnv(0);
    penvDbEnv->remove(("..\\database", 0);
    delete m_penvDbEnv;
    Thanks to Bogdan Coman for show me the way
    DelNeto.

  • Use SAP logging in my application

    HI,
    I would like to use SAP logging in my application. i have written a web application on KM. i would like to enable SAP logging on it.
    can anybody point me t useful resources to use SAP logging in  application.
    Any help appreciated.
    Thanks,
    Dipti

    Hi,
    You can use SAP Logging APIs for the same, please refer the below link for more information.
    http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm
    Regards,
    Smita.

  • DISPLAYING IMAGES IN WEB APPLICATIONS

    When we store images in a column, we are having problems reading and displaying it on web applications.
    can somebody help?
    Thomas

    What version of Oracle do you use? What is the datatype of the column where images are stored? What are you using to read and display the images on web applications? Do you get any errors?

  • Pass the username and password in URL to auto log in the application from SharePoint List

    how to Pass the  username and password in URL to auto log in the application from SharePoint List  
    I have a link  in my SharePoint list  when user try to open the link its asking username and password .i want to put username and password in URL to auto log in into that external URL from sharepoint
    please help me it is possible

    Check out
    http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • How to add log to an application

    Hi,
    Can anyone give me the procedure for how to add logs to my application
    Regards
    Padma

    Padma. My understanding is that logging is the same way in Web Dynpro as in a normal J2EE app.
    Maybe this section in sap.help will be of use to you.
    http://help.sap.com/saphelp_nw04s/helpdata/en/fe/4f5542253fb330e10000000a155106/frameset.htm
    I haven't personally used SAP's logging because we ported our apps from WebSphere and we were already using log4j. We evaluated SAP's logging and didn't find that the work involved to switch or bridge log4j to SAP's logging was worth it.
    Good luck

  • Registering log statements with application.log

    Hello,
    I'm struggling with how to direct my log statements to application.log. If I just initialize a logger via java.util.logging within my application, its log messages are routed to the opmn log (unless I add a filter redirecting them to a file). Likewise, if I use System.out, they go to opmn. What's the best practice for directing your application log statements to application.log (note, I'm deploying to oc4j). Any help would be appreciated.
    Thanks.

    ^ ...specifically, how do I print to application.log from the EJB app.

  • How to view logs of web application deployed in oc4j

    Hi,
    I have my oc4j server running, I have deployed a web application under instance DCG.
    Please let us know, where can I find the logs of my application.
    Thanks,
    Nagesh.

    Usually while deploying a application through "Oracle Enterprise Manager 10g Application Server Control" we specify the log and configuration path needed for developed application provided developer has developed the application to store the logs. by default all logs will be there in opmn logs.
    you can have a look on following locations
    +$ORACLE_HOME/opmn/logs/DCG~OC4J* <OC4J name>+
    or
    +$ORACLE_HOME/j2ee/<OC4J>/log/<OC4J>/oc4j/log.xml+
    Hv a good day!
    Edited by: KuldeepSingh on 16-Jan-2012 19:40

  • What is the Tcode for displaying on the FI application?

    Hi Sir/Madam,
    I wanted to know how can we display only the "Accounting" application area in the SAP Easy Access screen, by entering which TCode?
    Thanks in advance.
    Regards
    Satya

    Hi,
    Check BF11.
    Regards

  • Unable to OPen Forms in a DR environment after logging in to Applications

    Hi,
    We are testing our DR(XP machines are part of the VMWare environment and the AIX OSes are on LPARs ) scenario and we were able to recover DB on DR database from production and had Application Code trees from prod...(Environment:AIX 64 BIT Powersystems, 11.5.10.2, 10.2.0.4)
    We are able to startup DB,Applicaiton services on DR site. After logging in to applications environement...we are able to open up Applicaiton manager/portal based responsibilities but not able to open forms. I dont see the jinitiator popup wizzard when opening the forms...(we ensured that there is java installed on the machine,no popup blockers)...
    Would appreciate your help and suggestions.
    Thanks,
    Hari

    Hi Hussein,
    Fyi, the Apache log had errors when run in configtest
    Syntax error on line 17 of /.../iAS/Apache/modplsql/cfg/plsql_pls.conf:
    Cannot load /..../iAS/Apache/modplsql/bin/modplsql.so into server: 0509-130 Symbol resolution failed for /..../iAS/lib/libclntsh.a(shr.o) because:
    0509-136 Symbol pw_post (number 261) is not exported from
    dependent module /unix.
    0509-136 Symbol pw_wait (number 262) is not exported from
    dependent module /unix.
    0509-136 Symbol pw_config (number 263) is not exported from
    dependent module /unix.
    0509-136 Symbol aix_ora_pw_version3_required (number 264) is not exported from
    dependent module /unix.
    0509-022 Cannot load module /..../iAS/Apache/modplsql/bin/modplsql.so.
    0509-026 System error: Cannot run a file that does not have a valid format.
    0509-192 Examine .loader section symbols with the
    'dump -Tv' command.
    adapcctl.sh: exiting with status 8
    This issues got resolved after running rootpre.sh
    Appreciate your quick response and all the help.
    Thanks,
    Hari

  • Can't log into Oracle Application Manager

    I just finished installing Oracle Apps 11.5.9 on Windows 2K Advanced Server with the Vision database. The install went without any problems. However, when I tried to log into OAM I get an Internel Server Error. The error.log file for Apache has the following error:
    [error] [client 192.168.0.16] Filename is not valid: h:/oracle/prodcomn/portal/prod_ora-apps/redirecturl$url=$|servlets$|weboam$|oam$|oamapps$$target$=prod
    In the jserv log file (mod_jserv)
    (ERROR) ajp12: Servlet Error: <blockquote><b><br>java.lang.NullPointerException
    <br></b> at oracle.apps.oam.servlet.ui.handlers.systems.CriticalActivityHandler.doHGridEvent(CriticalActivityHandler.java:87)
    <br> at java.lang.reflect.Method.invoke(Native Method)
    <br> at oracle.cabo.servlet.event.MethodEventHandler.handleEvent(Unknown Source)
    <br> at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    <br> at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source)
    <br> at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    <br> at oracle.apps.oam.servlet.ui.oamPageFlowEngine.handleRequest(oamPageFlowEngine.java:370)
    <br> at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    <br> at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    <br> at oracle.cabo.servlet.event.BasePageFlowEngine.processForwardRequest(Unknown Source)
    <br> at oracle.cabo.servlet.event.TrivialPageFlowEngine.getPage(Unknown Source)
    <br> at oracle.apps.oam.servlet.ui.oamPageFlowEngine.getPage(oamPageFlowEngine.java:128)
    <br> at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source)
    <br> at oracle.apps.oam.servlet.ui.oamPageFlowEngine.handleRequest(oamPageFlowEngine.java:370)
    <br> at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source)
    <br> at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source)
    <br> at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source)
    <br> at oracle.apps.oam.servlet.ui.OAMServlet.doGet(OAMServlet.java:215)
    <br> at oracle.apps.oam.servlet.ui.OAMServlet.doPost(OAMServlet.java:159)
    <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
    <br> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    <br> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
    <br> at org.apache.jserv.JServConnection.run(JServConnection.java:294)
    <br> at java.lang.Thread.run(Thread.java:479)
    <br> </blockquote>
    (ERROR) an error returned handling request via protocol "ajpv12"
    (INFO) balance: continuing to ora-apps.world:16000
    (ERROR) balance: 852 internal servlet error in server ora-apps.world:16000
    (ERROR) an error returned handling request via protocol "balance"
    Any ideas on this problem. Any help would be greatly appreciated.
    Thanks!

    Thanks for your reply Mylenium.
    OK, now I can log into my Adobe (website) account and see my purchases, serial numbers, etc. .... AND ..... I am now able to log into my Applications Manager!!
    I did not do anything different from the other past few days; didn't load or download any software, nothing. Strange, but I'm glad it's back to normal now.
    Figures; when I go and seek out assistance ... it fixes itself.
    Thanks again ... and I hope this does not re-occur!!

  • Singleton class for logging in the application, and setting the flag

    Hi Friends,
    I have a singleton class for logging in the application, and setting the flag once logged. can some one help me in doing this.
    with regards,

    rtfm, for example here - http://www.javacamp.org/designPattern/

Maybe you are looking for

  • Laptop problem - screen or graphics card

    Hello there, my sister has a problem with her laptop that I'm having trouble getting my head around. She told me last week that the screen on her laptop had started going black unexpectedly, not having the thing with me I thought maybe it was just go

  • My options are not being saved/updated?

    I have, for example, enabled smooth scrolling, but I don't see its effect. I have also enabled to remember some passwords, but it's not happening. It also doesn't keep me logged into sites such as Hotmail once I close the browser without signing out.

  • Espon scanner not supported in lion

    I have been using Snow Leopard with my 2010 i5 Quad Core 27 inch iMac.  With rosetta I still could use Appleworks 6, my Espon Perfection 1200 scanner, iMovie HD, File Maker Pro, and other Photoshop applications. When I try to open up the scanner, it

  • Gather stats

    Hi All, I want to add DBMS_STATS.gather_table_stats on table command to my scripts. Just got confuse on the position. Consider as follows step and sequences 1. Table ABC is created without a record. 2. Table ABC is inserted with data 3. Table ABC is

  • Why does my iphone 4 cut calls short for no apparent reason

    I have an Iphone4 on the O2 network in Scotland and it often cuts calls off for no apparent reason. Has anyone else experienced this and if si did you find a solution?