Limit application LOg?

Is there any setting i can limit the size of application log size?i knew we can backup application log by copying & delete appliation log. Instead of this , any other setting we can do , it will delete application log automatically after reaching some size?

Mike, There is no functionality to limit the logfile size. but there are some other options.. 1.CLEARLOGFILE TRUE/FALSE - With this configuration file setting you can set the log file to clear whenever OLAP server is re-started. 2. Run MaxL script to periodically clear log file <alter system> command. hope this helps -Maneesh Hari

Similar Messages

  • Email portlet 9.0.4 shows error message in application.log

    Hi,
    I deployed the email portlet 9.0.4 on 10g portal. It works for some time but since an unknown point in time it shows the following in the portlet area: "Failed to get the ImapClient instance, either you are not authenticated to use the service or session is lost. Logout from portal and login again. ".
    And in the application.log I found the following:
    04/01/05 15:51:39 email: [instance=25024_EMAIL_PORTLET_71546261, id=94025627009,3] ERROR: oracle.portal.integration.email.imap.ImapException: Failed to get the ImapClient instance, either you are not authenticated to use the service or session is lost. Logout from portal and login again.
    oracle.portal.integration.email.imap.ImapException: Failed to get the ImapClient instance, either you are not authenticated to use the service or session is lost. Logout from portal and login again.
    at oracle.portal.integration.email.impl.ImapClient.getInstance(Unknown Source)
    at htdocs.message__header._jspService(_message__header.java:65)
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:251)
    at oracle.portal.provider.v2.render.http.AbstractResourceRenderer.renderBody(Unknown Source)
    at oracle.portal.provider.v2.render.RenderManager.render(Unknown Source)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown Source)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown Source)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    04/01/05 15:51:46 email: [instance=(null), id=(null)] ERROR: Request has exceeded its warning timeout Time[elapsed=1780171ms. Warning timeout=20000ms.] Request[id=(null) providerId=71546261 portletId=(null) portletName=(null) portletInstance=(null) user=PORTAL] Thread[ name=AJPRequestHandler-ApplicationServerThread-30 priority=5 alive=true interrupted=false groupName=main]
    04/01/05 15:51:48 email: [instance=(null), id=(null)] ERROR: Request has exceeded its warning timeout Time[elapsed=180699ms. Warning timeout=20000ms.] Request[id=(null) providerId=71546261 portletId=(null) portletName=(null) portletInstance=(null) user=PORTAL] Thread[ name=AJPRequestHandler-ApplicationServerThread-35 priority=5 alive=true interrupted=false groupName=main]
    04/01/05 15:51:50 email: [instance=(null), id=(null)] ERROR: Request has exceeded its warning timeout Time[elapsed=420954ms. Warning timeout=20000ms.] Request[id=(null) providerId=71546261 portletId=(null) portletName=(null) portletInstance=(null) user=PORTAL] Thread[ name=AJPRequestHandler-ApplicationServerThread-41 priority=5 alive=true interrupted=false groupName=main]
    04/01/05 15:51:52 email: [instance=(null), id=(null)] ERROR: Request has exceeded its warning timeout Time[elapsed=100902ms. Warning timeout=20000ms.] Request[id=(null) providerId=71546261 portletId=(null) portletName=(null) portletInstance=(null) user=PORTAL] Thread[ name=AJPRequestHandler-ApplicationServerThread-48 priority=5 alive=true interrupted=false groupName=main]
    The message "ERROR: Request has exceeded its warning timeout" repeats continually and frequently. The problem stops occuring after I restart the OC4J, but it occurs again after some time. Anybody encounter the same and has solution to it?
    Thanks.

    I found that Email portlet create a new SMTP connection to the SMTP server every time initSession is called(constructor of class Smtp). These increasing number of SMTP connection finally hit the limit of the SMTP server, leading to incomplete execution of initSession, which cause the problem.
    (call path: MailProviderInstance.initSession() -> MailAuthenticationModule.authenticate() -> Smtp())
    One thing to notice is that, when I test it no mail is to be sent. There should not be any open SMTP connection. Thus I wonder if it is a mistake in the program code that makes these unnecesssary SMTP connections.
    If so, would there be a new release of email portlet available?

  • Can I rotate application log in OC4J_Portal_default_island_1?

    My application.log file in %oracle_home%\j2ee\oc4j_portal\application-deployments\portal\oc4j_portal_default_island_1 grows quickly. Can I configure it to rotate every day or when it reaches a certain size? If yes, how?
    TIA
    Edited by: Angrydot on Aug 25, 2008 9:51 PM - what happens if I edit an old post in the new forum?
    Edited by: Angrydot on Aug 25, 2008 9:52 PM - nothing

    To rotate the OC4J log files under $ORACLE_HOME/opmn/logs, there are few parameters you can modify that are not documented in Oracle 9.0.4/10.1.2 documentation.
    [New JVM parameters]
    "stdstream.filesize"
    Max file size limit of each archive. Unit is megabyte.
    "stdstream.filenumber"
    Max number of files that oc4j can keep as archives. The oldest file will be automatically deleted if the limit is exceeded.
    [Usage]
    ex 1: rotate stdout/stderr when the file size is reached to 2.5M byte.
    java -Dstdstream.filesize=2.5 -jar oc4j.jar -out std.out -err std.err
    OraHome\opmn\conf\opmn.xml
    In order to get these parameters in opmn.xml you need to define it as follows:
    <category id="start-parameters">
    <data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless =true -Dstdstream.filesize=0.2 -Dstdstream.filenumber=5"/>
    <data id="oc4j-options" value="-out std.out -err std.err"/>
    </category>
    The new log files will be created under:$ORACLE_HOME\j2ee\home\home_default_island_1\
    The file naming will be like:
    std_2006_02_22_14_01_17.out
    std_2006_02_22_14_16_25.out
    Important notes:
    1. Backup opmn.xml file before any modification.
    2. Modify opmn.xml file to specify stdstream.filesize and stdstream.filenumber. See the example above.
    3. Test and validate this solution in your test system first before implementing in Production.

  • Poor Forms performance - application.log errors

    Hi
    We have an environment that is supporting over 3000 users. The application servers are Win2K using Forms 10.1.2.3.0.
    Users are constantly experiencing poor performance, taking an age to switch from one form to another.
    Ignoring all the other possibilities like network etc the only information I can find is in the $ORACLE_HOME\j2ee\applications-deployments\formsapp\OC4J_BI_Forms_default_island_1\application.log
    The following is a typical error message:
    java.net.SocketException: Connection reset by peer: socket write error
         at java.net.SocketOutputStream.socketWrite0(Native Method)
         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:66)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
         at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
         at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source)
         at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    The following config details are important:
    1. httpd.conf - ThreadsPerChild=150 MaxRequestsPerChild=0
    2. formsweb.cfg - heartBeat=2 FORMS_TIMEOUT=15
    Has anyone come across a similar situation? Does this error message suggest any Oracle configuration issues I could look at?
    Regards
    Andy

    I don't see that parameter.
    Here is my web.zml file:
    /* ***** begin web.xml ***** */
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <!-- $Id: web.xml 19-may-2005.09:25:21 supadhya Exp $
    Name
    web.xml
    Purpose
    Forms web application (WAR) configuration file
    -->
    <web-app>
    <display-name>Forms Services</display-name>
    <description>Oracle AS: Forms Services</description>
    <welcome-file-list>
    <welcome-file>lservlet</welcome-file>
    </welcome-file-list>
    <!-- Forms page generator servlet -->
    <servlet>
    <servlet-name>frmservlet</servlet-name>
    <servlet-class>oracle.forms.servlet.FormsServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <!-- During product installation the configFileName parameter is
    specified in the orion-web.xml file as a context parameter
    override (in iDS), or as a Java system property (in iAS).
    It is set to <oracle_home>/forms/server/formsweb.cfg.
    You can override that value here by editing and uncommenting the
    following servlet parameter setting: -->
    <!--
    <init-param>
    <param-name>configFileName</param-name>
    <param-value><your configuration file name goes here></param-value>
    </init-param>
    -->
    <init-param>
    <!-- Turn on or off sensitive options on the frmservlet/admin page.
    For security reasons this should be set to false for
    production sites.
    -->
    <param-name>testMode</param-name>
    <param-value>false</param-value>
    </init-param>
    </servlet>
    <!-- Forms listener servlet -->
    <servlet>
    <servlet-name>lservlet</servlet-name>
    <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    </servlet>
    <!-- Forms servlet mappings. Allow these paths to the servlets:
    /forms/frmservlet or /forms/frmservlet/*: FormsServlet
    /forms/lservlet or /forms/lservlet/*: ListenerServlet
    -->
    <servlet-mapping>
    <servlet-name>frmservlet</servlet-name>
    <url-pattern>/frmservlet*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>lservlet</servlet-name>
    <url-pattern>/lservlet*</url-pattern>
    </servlet-mapping>
    <!-- Define application specific security roles
    -->
    <security-role>
    <role-name>administrators</role-name>
    </security-role>
    <!-- Define security constraints to limit access to defined url to a
    particular role -->
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>TraceLog</web-resource-name>
    <url-pattern>/frmservlet/trace</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>administrators</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- The following context parameter is only defined here so it can be
    overriden by the (site-specific) value in the orion-web.xml file.
    -->
    <context-param>
    <param-name>configFileName</param-name>
    <param-value></param-value>
    </context-param>
    </web-app>
    /* ***** end web.xml ***** */

  • Custom error message in SAP application log

    Is there a way to add a custom error message to the SAP application log without passing the message variables MSGV1, MSGV2, MSGV3, MSGV4 and the Message class and number. 
    We want to pass a custom message from the BAPIRET2-MESSAGE without giving it a Message class and number.  The reason for this is that  we are using class based exceptions instead of the traditional message class with errors.  When we catch the class based exception, we take the error text of the exception and put in in the BAPIRET2-message and set the BAPIRET2-TYPE as 'E'.  Now we want to add this to the SAP application log.
    The call to 'BAL_LOG_MSG_ADD' takes a structure BAL_S_MSG which is just like BAPIRET2.  However this function builds the entry to the application log use the message variables MSGV1, MSGV2, MSGV3, MSGV4.  There is no provision to pass in the BAPIRET2 message.
    Add message to application log
      CALL FUNCTION 'BAL_LOG_MSG_ADD'
        EXPORTING
         i_log_handle              = app_log_handle
         i_s_msg                   = log_message
    Thanks,
    Jay

    Hi Jay,
    Did you see <b>BAL_LOG_EXCEPTION_ADD</b>?
    This FM is represented by the structure <b>BAL_S_EXC</b>. This can have various versions as described below:
    <b>Data of BAL_S_EXC Structure  /     Use</b>
    <b>EXCEPTION</b>  /                              Exception class from which an exception text 
                                                       is added to the log. This field must be filled.
    <b>MSGTY</b>  /                                     Message type (MSGTY) of a T100 message.
                                                       This field must also be filled for exceptions.
    <b>PROBCLASS,
    DETLEVEL,
    ALSORT, TIME_STMP</b>  /                Message or exception attributes, such as
                                                        problem class (PROBCLASS, for
                                                        example, "very important"), level of detail
                                                        (DETLEVEL, from 1 to 9), sort criterion
                                                        (ALSORT, unrestricted) and timestamp
                                                        (TIME_STMP). These fields can be displayed
                                                        in the log (except TIME_STMP).
    <b>MSG_COUNT</b>   /                            This attribute is not used for exceptions.
    Follow the link below for more details:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/5d7f38f52f923ae10000009b38f8cf/frameset.htm">SAP Help DOc</a>
    Hope this helps.
    Thanks
    Sanjeev

  • Had this error msg in my application log:

    Had this error msg in my application log:
    [21/Feb/2002 10:16:20:7] info: REQ-012: thread add
    [21/Feb/2002 10:16:20:7] info: REQ-012: thread add
    [21/Feb/2002 10:16:20:7] info: ENGINE-ready: ready: 10820
    BASEURL: https://ssunp03.company.com:8081
    strURL: https://ssunp03.company.com:8081/cgi-bin/gx.cgi/AppLogic+EventServerManager
    EventServerHttpInvocation > java.net.MalformedURLException: unknown protocol: https
    **Out of memory, exiting**
    ld.so.1: /pimcreg5/imc/nas/40sp3/nas/usr/java/bin/sparc/native_threads/jre: fatal: /pimcreg5/imc/nas/40sp3/nas/us
    r/java/lib/sparc/native_threads/libjava.so: mprotect failed: Resource temporarily unavailable
    Killed
    Connected to LDAP server on ssunp03.company.com port 1390
    [21/Feb/2002 02:42:49:1] info: ENGINE-class_loader_created: New class loader com.kivasoft.engine.EngineClassLoade
    rNonVersionable@1c14d67f has just been created
    Can anyone share with me his experience about ld.so.1?? What is it and why does it cause my apps server to reboot?

    It looks like you might simply have run out of memory. It just looks like the JRE tried to adjust its memory map and run out space. When mprotect fails the problem probably isn't with the .so itself.
    What are the memory characteristics of your machine? Including the heap and stack space that you allocate for your JVM, as well as the actual physical and swap space available on the server.

  • Any guidelines using RSAL_LOG_WRITE to post message in the application log

    Hi SDN!
    I've programmed a rather complex extractor. As most you will know, the real test is when the extractor goes live in productions;-) So in order to be able to check if everything works as designed - I've customized the extractor in order to post more or less entries in the application logs - This setting can be alterered in the uses system directly.
    I've tested the functionality using RSA3 and the application log is filled as expected. The Application log object is RSFH and everything shows up fine. When tring to use it from BW - The application log gets no entries under object RSAP (Where they normally will end up).
    I'm using the function module RSAL_LOG_WRITE to add entries to the same log as the macroes LOG_WRITE uses.
    Does anybody have any experiance adding entries to the standard application log in the source system when extracting data into BW?
    Best Regards
    Søren Hansen

    Sorry Arkesh,
    I to don't know that how to install the jar files, actually thats the role of BASIS guys.
    Watch the below threads for which jar files we need to deploy and how to deploy the jar files
    Re: Required jar files for using jdbc adapter
    Re: Error in JDBC adapter

  • Error Message in portal application.log

    Hi all,
    There are error messages continually been written to application.log.
    Here is the path.
    $ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log
    We couldn't find out what's wrong.
    Portal Version is 10.1.2.2.0.
    application.log
    07/01/31 16:54:54 portal: [module=RepositoryServlet, ecid=103102642203,1] ERROR: Repository Gateway error: Request Processing Error:
    maxlength.htc: PROCEDURE DOESN'T EXIST
    07/01/31 17:23:44 portal: [module=RepositoryServlet, ecid=133169185626,1] ERROR: Repository Gateway error: Request Processing Error:
    maxlength.htc: PROCEDURE DOESN'T EXIST
    07/01/31 17:23:58 portal: Broken pipe
    07/01/31 17:23:58 portal: Broken pipe
    07/01/31 17:23:58 portal: id=146054097151,1 Exception processing portlet response
    java.lang.ArrayIndexOutOfBoundsException
         at java.lang.System.arraycopy(Native Method)
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:216)
         at com.evermind.server.http.EvermindServletOutputStream.write(EvermindServletOutputStream.java:151)
         at oracle.webdb.repository.service.RepositoryHttpResponseWrapper$RepositoryOutputStreamWrapper.write(Unknown Source)
         at oracle.webdb.page.CharConvertingOutputStream.write(Unknown Source)
         at oracle.webdb.page.v2.BaseDataProcessor.addToOutputStream(Unknown Source)
         at oracle.webdb.page.v2.BaseDataProcessor.includePortlet(Unknown Source)
         at oracle.webdb.page.v2.BaseDataProcessor.parseLayout(Unknown Source)
         at oracle.webdb.page.v2.BaseDataProcessor.assemblePage(Unknown Source)
         at oracle.webdb.page.v2.BaseDataProcessor.process(Unknown Source)
         at oracle.webdb.page.PageBuilder.process(Unknown Source)
         at oracle.webdb.page.Main.doRequest(Unknown Source)
         at oracle.webdb.page.ParallelServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:260)
         at oracle.webdb.portal.servlet.PortalServlet.doGet(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    ----------------------

    $ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log
    os the log of the "parent application". This is rather high level in the container. The message in the logfiles tells you that a procedure doesn't exist.
    This can mean 3 things:
    1. The procedure really doesn't exist
    2. The procedure expects different parameters then passed
    3. In the procedure a specific array member is called (but not found). (don't know how to explain this better in English, sorry for that).
    It has been a while since I touched portal. In the past portal used a DAD (located in your HTTP-Server configuration). By changing the error style of the dad, you might find a more comprohensive error message.

  • How to add custom error message in standard application log of change doc.

    Hi,
    While saving chnage document I need to add raise an error on specific condition. As Error messages is being shown in application log I added custom message in include LCRM_1O_UIF15 by using BAL_LOG_MSG_ADD FM however it is not showing in the screen. What could be the reason? Can anybody please explain?
    Rgds
    Sudhanshu

    Muhammed,
    Have you tried throwing a JboException in your AM code?
    John

  • Log messages for 'auditing' are different in 'general'  and'application log

    Hi,
    From UI, When I audit a file using a profile which comprises of user-defined 'rules/categories/analyzers', I will get log messages at ''File-name(Application) log window' and 'Messages' log window, which are located at bottom of Jdev UI page. One common message in both the log windows is
    " <n1> violations, <n2> exceptions, <n3> documents, <n4> seconds>.
    But here the 'n1,n2,...' numbers are dfferent in two windows though the log output is for a same file. In this the 'file-name' log shows the correct
    Example:-
    In 'file-name' log window ,it shows as:
    3 documents, 8 violations, no exceptions
    In messages window, it shows as
    "Audit starting on EFC.jpr (Default)
    Audit completed: no violations, no exceptions, 3 documents, 1 second"
    If I use the 'pre-existed'(Jdev's) rules profile, I will get similar output in both log windows.
    From this I concluded that there is something missing to register for a new 'rule/category/analyzer'.
    Could you suggest me in this case. Do I forgot anything to do in any files of '<rule-implementation.java>', 'audit.properties', <add-in launcher>.java, extension.xml.
    Actually, I want to use 'ojaudit' executable from command line to my project files. Here I observed that the output of the 'ojaudit' is similar to the above explained 'Message' log window in JDeveloper UI. But where the 'Message' log window output is not correct for user-defined rules.
    Regards
    Madhu

    Romano,
    In the upcoming production release (planned to be released next week), we added caching of authorized roles and permissions in JhsAuthorizationProxy class.
    I suggest you wait for this relase, if the problem persists, it is most likely an ADF issue (as is the logging)
    Steven Davelaar,
    JHeadstart team.

  • Doubt in creating program to display application logs

    Hi,
    I have doubt in creating a program to display application logs.
    The standard transaction code SLG1 has been used to display Application logs till now by the user.
    They came up with the new requirement on this.
    <u>The requirements were:</u>
    1)New custom program shoud be created like SLG1 with limited selection fields( data from, date to, Program name and User)
    2) Detail list should be displyed immediately when this program is executed because SLG1 gives Basic list,Detailed list which is getting displayed when 'Detail view' is selected in the first list.
    I have created one program with limited selection fields as per the requirement using the below function modules .
    BAL_FILTER_CREATE
    BAL_DB_SEARCH
    BAL_DB_LOAD
    and BAL_DSP_LOG_DISPLAY
    <u>Issue :</u> still I am getting the firt list.
    both Basic and Detailled lists are getting triggered at the FM BAL_DSP_LOG_DISPLAY.
    Is it only the way to copy and modify this FM.
    Could you please suggest me?
    Thans in advace,
    babu.
    Message was edited by:
            babu v
    Message was edited by:
            babu v

    Hello All,
    Thanks for your valuable suggitions.
    I have seen most of the demo programs.
    I found one fm'BAL_DSP_PROFILE_NO_TREE_GET' which avoids the tree list which is getting listed above the profile list.
    I have been searching alot to omit the Profile list. I searched alot to find any function modules realted to that.
    The requirement was only the Detail list should only be listed.
    Could you please suggest me to avopid that profile list also?
    Thanks in advance,
    babu
    Message was edited by:
            babu v

  • How to write to application log at BBP_CREATE_BE_PO_NEW

    Dear all,
    I am running in a strange problem. I want to log to application log (SLG1) in BADI BBP_CREATE_BE_PO_NEW. As soon as I call a function from there I get an error at the shopping cart position. Changing values in the given data does work without any problems. In EBP 3.5 we used the BADI BBP_CREATE_PO_BACK and this worked with logging without any problems.
    Thanks for support.
    Regards
    Roman

    Hello , there is an example of application logging usage in report SBAL_DEMO_01.
    You need an application log instance to be created before you can add messages that will be displayed using tx SLG1. Maybe its because you dont have a logging object instance in your badi.
    Hope it helps.
    Regards, Luciano.

  • Write to application log in user exit

    Hi all,
    I want to write a collection messages to the application log in user exit EBIA0003, user exit for transaction EA00, but I only can write one if I just use
    message eYYY(x) with lv_msgv1
                                      lv_msgv2
                                      lv_msgv3
                                      lv_msgv4.
    It will be placed in the log after the exit.
    I've already tried with the BAL functions, but it doesn't seem to work or maybe I'm doing something wrong. Is there a way to write a collection of messages in to the application log in this user exit?
    greetz Pieter

    Hi Pieter,
    you can do using BAL functions if the lop is already opened. Try to find out what parameters the transaction uses for LOG access (handle!). Do the calls in the exit accordingly.
    We append messages to the current log using FUNCTION 'BAL_LOG_MSG_ADD'. If the log handle is not available, you might access it using dynamic assign like
      ASSIGN ('(<program>)<field>') TO <field> .
    Regards,
    Clemens

  • Exporting and Importing Data of Application Log

    Hello,
    We do migrate an application from SAP System A to SAP System B.
    Despite the application logic, we do need to migrate some data, too.
    For this we do write an export report in System A that writes the data of some tables to  files on the app server..
    Another report in system B takes the files and fills the respecting tables.
    So far so good:
    One table (which reports certain actions)  contains the handle to the application log, which was created for this action.
    I do want to extract this application log and later import this log in the other system, but do not know how this can be done in the best way.
    Do you have any suggestion ?
    Best regards
    Michael

    In my experience, it's an unrealistic expectation.
    SAP doesn't provide a straight path to migrate logs the way you plan to do. It's kept in a combination of tables and index files on the system. So even if you were to successfully extract it, when you load the data into system B you will lose the date and time stamp. When you create a log entry, it picks up system date and time. That's what an auditor would look for.
    An alternate solution would be to read the application log and store it in a new custom table in system B.
    Any reporting should be done off that as of a specific date.

  • How do you clear system and application logs in a server?

    Hello all,
    How do you clear system and application logs in a server?
    thanks,
    mike

    go to start button,all programs,assosories, System tools T event viewer. now select application & rt click & clear & do not save.similarly do for sytem too.

Maybe you are looking for

  • Count on a header table including the line data also in the query

    Hi, I have a requirement to develop a report which shows the metrics on supplier. I need to find the total PO's for this supplier that are matched to invoice report has to have toatl#ofpo's, #invoice, total_inv_amt and total_po_amt, total_tax_amt wit

  • Error in CLR assembly after migrating to SQL server 2012

    We moved to SQL Server 2012 from 2008R2 and I am unable to get the CLR assembly working.  I have read several topics about trustworthy setting and a mismatch dbo SID. I checked the SID and everything looks good and the 2008R2 server works fine with T

  • Safari running very slow, freezing and unexpectantly quiting

    Please help!!! this started about a week ago and is driving me mad! I have changed the proxies, turned off extensions and reset safari Here is the EtreCheck Hardware Information:           MacBook Air (11-inch, Late 2010)           MacBook Air - mode

  • ETA for New iTunes?

    I've been looking forward to using the upcoming version of iTunes since September. Now, its release was delayed by a month due to some sort of error and now that the month that Apple claims it's to be released in is almost over, I'm now wondering whe

  • Flash player won't update on my macbook?

    I've tried about two dozen times to get flash player to update on my macbook 10.5.8 and it still won't work. The installation always goes fine, and says it was successful at the end, yet never actually works (yes, i've tried restarting my computer af