Posting errors through Log4j in weblogics log file

I am running portlet application , if i want to print all error messages inside weblogic's Log file how can i do it , please explain me full procedure

Step 1. Copy log4j-1.2.9.jar & wllog4j.jar under domain_root/lib folder.
Step 2. Create log4j.xml and drop it under domain_root folder. If you have log4j.xml inside the application(EAR/WAR), I would recommend to move outside EAR/WAR as
changing severity (log level) would require re-deployment. To avoid this, we can move log4j.xml into domain root folder but again the server needs to be bounced.
But there is a fix.
Step 3. Login to weblogic server console. Go to Servers -> Admin Server-> Logging.
Click on advanced mode. Change the logging implementation from JDK to Log4J.
Click save.
Step 4. Activate changes. Re-start the admin server.
This should enable log4j and should write logging into log file mentioned in log4j.xml or properties file.
Hang on! There is a catch here. Say now I want to change the log level from DEBUG into WARN or ERROR.
How do i do?
We go to log4j.xml and change the level.
Now how does this change take into effect? It needs bouncing of the server.
I have given below sample log4j.xml for your reference...
log4j.xml:
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE log4j:configuration SYSTEM
"log4j.dtd">
<log4j:configuration>
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d [%t] %-5p %c - %m%n"/>
</layout>
</appender>
<appender name="FILE" class="org.apache.log4j.RollingFileAppender">
<param name="File" value="/log/myApp.log"/>
<param name="Append" value="true"/>
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d{ISO8601} %t %-5p %c{2} - %m%n"/>
</layout>
</appender>
<logger name="org.apache">
<level value="WARN"/>
</logger>
<logger name="org.springframework">
<level value="WARN"/>
</logger>
<root>
<level value="DEBUG"/>
<appender-ref ref="FILE"/>
<!-- <appender-ref ref="CONSOLE"/> -->
</root>
</log4j:configuration>
I have disabled log4j to write int
I Followed all these steps , but finally i am getting an empty file myApp.log at specified destination , i want all log messages inside that file when WEBLOGIC starts , so what needs to be done for that

Similar Messages

  • I am geting errors in my database alert log file ora-12012 and ora 44003

    Hi all,
    I am using oracle 10g ...10.2.0.1.0 and OS is solaris 10.......
    i am geting these errors in my database alert log file last two days..i am not geting why it is coming?
    ORA-12012: error on auto execute of job 8887
    ORA-44003: invalid SQL name
    and trace file is i got i am posting here please help any one is aware about this....
    System name: SunOS
    Node name: obrmzone1
    Release: 5.10
    Version: Generic_137111-06
    Machine: sun4v
    Instance name: ------
    Redo thread mounted by this instance: 1
    Oracle process number: 144
    Unix process pid: 26874, image:--------- (J000)
    *** ACTION NAME:(AUTO_SPACE_ADVISOR_JOB) 2011-06-10 22:00:49.372
    *** MODULE NAME:(DBMS_SCHEDULER) 2011-06-10 22:00:49.372
    *** SERVICE NAME:(SYS$USERS) 2011-06-10 22:00:49.372
    *** SESSION ID:(110.7114) 2011-06-10 22:00:49.372
    *** 2011-06-10 22:00:49.372
    ORA-12012: error on auto execute of job 8887
    ORA-44003: invalid SQL name
    thank you in advance,
    Dav

    I just google with "ORA-44003: invalid SQL name" and found below link:
    http://www.oracle-base.com/articles/10g/dbms_assert_10gR2.php
    SIMPLE_SQL_NAME
    The SIMPLE_SQL_NAME function checks the input string conforms to the basic characteristics of a simple SQL name:
    The first character of the name is alphabetic.
    The name only contains alphanumeric characters or the "_", "$", "#"
    Quoted names must be enclosed by double quotes and may contain any characters, including quotes provided they are represented by two quotes in a row ("").
    The function ignores leading and trailing white spaces are ignored
    The length of the input string is not validated.

  • DNSService error and self expanding console.log file

    Just like misskool, I had a problem with self-expanding console.log files. As suggested by roam, I erased the com.apple.iTunes.plist file to fix the issue. Unfortunately, 2 days after, the same problem started again. I noticed it happened soon after I tried (without success) to establish a mac OS 10.3.9 to mac OS 10.4.9 wireless network - either that or the re-activation of AppleTalk on my iBook. The error message in the console.log file is a repeated one-liner :
    DNSServiceProcessResult() returned an error! -65537
    The original advice from roam worked until I tried to network my two macs. In his idea, iTunes was the probable origin of the problem. Is it ?

    The mDNS error message was associated with an iTunes update, though that is not to say it is caused by iTunes though it may well have. The error is from the mDNS service, a system wide network service, which looks for available services on the network.
    I don't know what is causing this error but it has been known about since 2005, evidenced by this thread. It is a highly technical discussion,
    http://lists.apple.com/archives/Bonjour-dev/2005/Jul/msg00023.html
    which talks about the error occurring when two ethernet interfaces are active, but does not err when only with one. It is possible this observation is linked to your experience trying to network two Macs.
    Click on the Next Threads on that page to read more.
    Another thing to note is that the error code given is general and undescriptive, where one poster writes " Normally when you see that error it means that mDNSResponder (mdnsd) crashed." ... but there is no specific meaning given to the error code as to why it did.
    So it's a bug but I cannot explain why it occurs or what role the iTunes update played in bringing it to the fore.
    If it continues to be a problem with the same error message printing in the console, open Activity Monitor and mDNS should be active there and kill that mDNS Process.
    As i have no iTunes updated, and do not want to try and create this error, I'll leave it up to you to try and determine some causes and effects regarding the renegade process of mDNS.

  • Bursting Program Ends in Error with nothing in the Log file

    Hi All
    I have a RDF which calls a bursting program in After report trigger, the problem i'm facing is that the bursting program is completing successfully for a set of parameters and when again the program is run for the same set of parameters the bursting program is ending in error, i have checked the log file but nothing in the log file
    below is my log file
    +---------------------------------------------------------------------------+
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 15:11:15
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 574533
    All Parameters: Dummy for Data Security=N:ReportRequestID=574532:DebugFlag=Y
    Report Req ID: 574532
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:T1DEVEBSAPP1
    Preparing parameters
    null output =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574533.out
    inputfilename =/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Data XML File:/u01/oracle/CRP2/inst/apps/CRP2_t1devebsapp1/logs/appl/conc/out/o574532.out
    Set Bursting parameters..
    Temp. Directory:/tmp
    [093013_031118656][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [093013_031118657][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=574532, user-variable:cp:language=en, user-variable:cp:responsibility=20678, user-variable.OA_MEDIA=http://t1devebsapp1.travelzoo.com:8001/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=574532, user-variable:cp:locale=en-US, user-variable:cp:user=SETUPUSER, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=574533, user-variable:cp:org_id=81, user-variable:cp:reportdescription=Travelzoo Invoice Print Selected Invoices-Child, user-variable:cp:Dummy for Data Security=N}
    Start bursting process..
    Bursting process complete..
    Generating Bursting Status Report..
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    602
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 30-SEP-2013 15:11:41
    +---------------------------------------------------------------------------+
    and the output says..
    "Error!! Could not deliver the output for Delivery channel:null "
    Wondering What might be the issue, any help on this is greatly appreciated.
    -Ragul

    Ram,
    Is this a custom or standard concurrent program?
    Was this working properly before? If yes, what changes have been done recently?
    Did you try to relink the concurrent program executable file and see if this helps? Also, you could enable trace/debug and submit the request again and see if more details are collected in the logs -- See (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    Regards,
    Hussein

  • Internal error has occurred. Check log files for details.

    While configuring software library on OEM 11g grid control, i get the error as Internal error has occurred. Check log files for details.
    On checking emoms.trc i see the following error
    2011-08-08 22:15:13,298 [EMUI_22_15_13_/console/provision/admin/admin] ERROR em.provis
    ion checkAllSoftwareLibLocs.216 - AdminUtil:checkAllSoftwareLibLocs: No software libra
    ry locations configured.
    2011-08-08 22:15:13,320 [EMUI_22_15_13_/console/provision/admin/admin] ERROR em.provis
    ion handleValidateLocsSoftwareLib.1754 - AdminController:handleValidateLocsSoftwareLib
    : ComponentException while fetching all software library locations from repostiory.
    oracle.sysman.emgc.provision.component.ComponentException: Software Library location i
    s not configured.
    at oracle.sysman.emgc.provision.ui.model.admin.AdminUtil.checkAllSoftwareLibLo
    cs(AdminUtil.java:218)
    at oracle.sysman.emgc.provision.ui.model.admin.AdminUtil.checkAllSoftwareLibLo
    cs(AdminUtil.java:146)
    at oracle.sysman.emgc.provision.ui.controller.admin.AdminController.handleVali
    dateLocsSoftwareLib(AdminController.java:1746)
    at oracle.sysman.emgc.provision.ui.controller.admin.AdminController.handleEven
    t(AdminController.java:397)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleRequest(AbstractProvisioningPageHandler.java:235)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:738)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:329)
    at oracle.sysman.eml.app.Console.doGet(Console.java:352)
    at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubS
    ecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelp
    er.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntim
    eExceptionFilter.java:58)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.jav
    a:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.ja
    va:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:10
    2)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.
    java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
    WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubje
    ct.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServlet
    Context.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext
    .java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:14
    32)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2011-08-08 22:24:58,397 [EMUI_22_24_58_/console/provision/admin/edit_sw_lib_dir_config
    uration] ERROR svlt.PageHandler handleRequest.640 - java.lang.NoClassDefFoundError: Co
    uld not initialize class oracle.sysman.oii.oiip.osd.unix.OiipuUnixOps
    java.lang.NoClassDefFoundError: Could not initialize class oracle.sysman.oii.oiip.osd.
    unix.OiipuUnixOps
    at oracle.sysman.oii.oiip.oiipg.OiipgFileSystem.getVolumeName(OiipgFileSystem.
    java:615)
    at oracle.sysman.eml.swlib.bitstore.FileBitStore.getFreeSpaceInKB(FileBitStore
    .java:1044)
    at oracle.sysman.eml.swlib.LibraryServiceImpl.getFreeSpaceInKB(LibraryServiceI
    mpl.java:1572)
    at oracle.sysman.emgc.provision.impl.component.SoftwareLibraryImpl.getFreeSpac
    eInKB(SoftwareLibraryImpl.java:2582)
    at oracle.sysman.emgc.provision.impl.component.ComponentManagerImpl.getFreeSpa
    ceInKB(ComponentManagerImpl.java:664)
    at oracle.sysman.emgc.provision.ui.model.admin.SoftwareLibContext$OkButton.han
    dleClickEvent(SoftwareLibContext.java:860)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleEvent(AbstractProvisioningPageHandler.java:427)
    at oracle.sysman.emgc.provision.ui.controller.admin.SoftwareLibController.hand
    leEvent(SoftwareLibController.java:53)
    at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:578)
    at oracle.sysman.emgc.provision.ui.controller.AbstractProvisioningPageHandler.
    handleRequest(AbstractProvisioningPageHandler.java:235)
    at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:738)
    at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:329)
    at oracle.sysman.eml.app.Console.doGet(Console.java:352)
    at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubS
    ecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelp
    er.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:311)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.exception.EMRuntimeExceptionFilter.doFilter(EMRuntim
    eExceptionFilter.java:58)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.jav
    a:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.ja
    va:122)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:10
    2)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:502
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.
    java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(
    WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubje
    ct.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServlet
    Context.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext
    .java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:14
    32)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi, I followed all the steps correctly and also the owner of the directory is correct.
    But i have not installed the patches which is listed at the bottom of the link page.
    I had done this on RHEl and i had no problem but now i am getting problem on solaris.

  • ERROR   OGG-00446  No valid log files for current redo sequence 142

    2011-02-03 14:26:41 ERROR OGG-00446 No valid log files for current redo sequence 142,
    thread 1, error retrieving redo file name for sequence 142, archived =0,
    use_alternate = 0Not able to establish initial position for begin time 2011-02-03 14:25:17.
    Is this an error finding the redo logs or is this an error finding the archive redo logs.

    Yes. It depends - is that sequence number in the current log group, or is it in an archived redo log?

  • Internal Error has occured, Check the log file

    Hello all,
    After i login to my OEM grid console, i get the message
    "Internal Error has occured. Check the log file for details."
    once i press the OK button, i directs me to the home page as if noting has occured. I was happening rarely previosly and now its a regular thing.
    Which log file am i supposed to check?
    TIA,
    Jj

    Hey:
    I know it was a month ago when you posted. I'm getting the same messages now. Win 2K3, SP2 + all patches. Walked through basic install with Oracle's help. They're interested in emoms.trc/log and the alert log (although the alert log has been clear).
    Thx
    Tony

  • FlexBuilder Startup Error - An error has occurred. See log file.

    Hello Everyone. This one baffles me. When I try to load
    FlexBuilder, I get a popup message advising the following:
    "An error has occurred. See the log file
    c:\Program Files\Adobe\Flex Builder
    2\configuration\1201413244722.log"
    note that the log file name changes. Also note that this file
    doesn't exist. I can't find it anywhere on my computer. Also note
    that I am running Vista in 32 bit mode. The error of course is not
    very descriptive, especially since I don't have the log file. I
    think that this may be due to a corrupt workspace but I'm not sure.
    I have uninstalled and reinstalled the software several times, and
    it will work for a while, but then it will come back.
    Any ideas?
    Also, does anyone know of a configuration file I can change
    the workspace without loading FlexBuilder? If it's a corrupt
    workspace I would like to try and get around it by pointing
    FlexBuilder to a different workspace (i have several).
    Thanks,
    Amanda

    I've purchased a new drive, installed Xp and now things are
    working much better. Still had the Flex issue pop up now and then.
    I solved the last occurance with a fresh re-install. However, since
    then, I've come across the following:
    ======================
    When using Flex Builder 3 Beta 3 with a workspace from a
    previous beta, please clean and reinitialize the workspace. Note
    that this operation does not remove or alter Eclipse projects
    residing the workspace in any way.
    Windows:
    Go to the install directory; drive:\Program Files\Adobe\Flex
    Builder 3, or the root of the Eclipse install directory if using
    the Flex Builder Plug in
    Edit FlexBuilder.ini or Eclipse.ini in a text editor
    Add the following to the top of the file (not the bottom)
    -clean
    Launch Flex Builder or Eclipse
    Remove –clean after exiting Flex Builder or Eclipse
    ======================
    Try this and let everyone know if it works. Thanks.
    Wayne

  • How to be notified for all ORA- Errors recorded in the alert.log file

    based on Note:405396.1, I Changed the Matches Warning from the default value ORA-0*(600?|7445|4[0-9][0-9][0-9])[^0-9] to ORA-* in order to receive an warning alert for all ORA- errors.
    but I just recieved the alert like the following:
    Metric=Generic Alert Log Error
    Time/Line Number=Mon Feb 25 23:52:21 2008/21234
    Timestamp=Feb 26, 2008 12:06:03 AM EST
    Severity=Warning
    Message=ORA-error stack (1654, 1654, 1654) logged in /opt/oracle/admin/PRD/bdump/alert_PRD.log.
    Notification Rule Name=Alert Log Error
    Notification Rule Owner=SYSMAN
    as you can see, the message only indicate the ORA-1654, nothing else.
    How to set in 10g grid control to get the details alert that in the alert log like:
    "ORA-1654: unable to extend index ADM.RC_BP_STATUS by 1024 in tablespace PSINDEX"
    I can't believe Oracle 10g Grid control only provide the ORA- number without details

    Go to your database target.
    On the home tab, on the left hand side under Diagnostic Summary, you'll see a clickable date link next to where it says 'Alert Log'. Click on that.
    next click on Generic Alert Log Error Monitoring Configuration (its at the bottom)
    In the alert thresholds put:
    ORA-0*(600?|7445|4[0-9][0-9][0-9])[^0-9]
    I believe that will pick anything up but experiment, its only perl.
    If you want to test this use the DBMS_System.ksdwrt package but I would advise you only do so on a test database. If you've never heard of it, google it. Its a way of writing to your alert log.
    Make sure you have your emails sent to long format as well.

  • Why is there no error when checkpointing after db log files are removed?

    I would like to test a scenario when an application's embedded database is corrupted somehow. The simplest test I could think of was removing the database log files while the application is running. However, I can't seem to get any failure. To demonstrate, below is a code snippet that demonstrates what I am trying to do. (I am using JE 3.3.75 on Mac OS 10.5.6):
    public class FileRemovalTest {
    public static void main(String[] args) throws Exception
    // Setup the DB Environment
    EnvironmentConfig ec = new EnvironmentConfig();
    ec.setAllowCreate(true);
    ec.setTransactional(true);
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CLEANER, "false");
    ec.setConfigParam(EnvironmentConfig.ENV_RUN_CHECKPOINTER, "false");
    ec.setConfigParam(EnvironmentConfig.CLEANER_EXPUNGE, "true");
    ec.setConfigParam("java.util.logging.FileHandler.on", "true");
    ec.setConfigParam("java.util.logging.level", "FINEST");
    Environment env = new Environment(new File("."), ec);
    // Create a database
    DatabaseConfig dbConfig = new DatabaseConfig();
    dbConfig.setAllowCreate(true);
    dbConfig.setTransactional(true);
    Database db = env.openDatabase(null, "test", dbConfig);
    // Insert an entry and checkpoint the database
    db.put(
    null,
    new DatabaseEntry("key".getBytes()),
    new DatabaseEntry("value".getBytes()));
    CheckpointConfig checkpointConfig = new CheckpointConfig();
    checkpointConfig.setForce(true);
    env.checkpoint(checkpointConfig);
    // Delete the DB log files
    File[] dbFiles = new File(".").listFiles(new DbFilenameFilter());
    if (dbFiles != null)
    for (File file : dbFiles)
    file.delete();
    // Add another entry and checkpoint the database again.
    db.put(
    null,
    new DatabaseEntry("key2".getBytes()),
    new DatabaseEntry("value2".getBytes())
    {color:#ff0000} *// Q: Why does this 'put' succeed?*
    {color}
    env.checkpoint(checkpointConfig);
    {color:#ff0000}*// Q: Why does this checkpoint succeed?*{color}
    // Close the database and the environment
    db.close();
    env.close();
    private static class DbFilenameFilter implements FilenameFilter
    public boolean accept(File dir, String name) {
    return name.endsWith(".jdb");
    This is what I see in the logs:
    2009-03-05 12:53:30:631:CST CONFIG Recovery w/no files.
    2009-03-05 12:53:30:677:CST FINER Ins: bin=2 ln=1 lnLsn=0x0/0xe9 index=0
    2009-03-05 12:53:30:678:CST FINER Ins: bin=5 ln=4 lnLsn=0x0/0x193 index=0
    2009-03-05 12:53:30:688:CST FINE Commit:id = 1 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:690:CST FINEST size interval=0 lastCkpt=0x0/0x0 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:703:CST FINER Ins: bin=8 ln=7 lnLsn=0x0/0x48b index=0
    2009-03-05 12:53:30:704:CST CONFIG Checkpoint 1: source=recovery success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:705:CST CONFIG Recovery finished: Recovery Infonull&gt; useMinReplicatedNodeId=0 useMaxNodeId=0 useMinReplicatedDbId=0 useMaxDbId=0 useMinReplicatedTxnId=0 useMaxTxnId=0 numMapINs=0 numOtherINs=0 numBinDeltas=0 numDuplicateINs=0 lnFound=0 lnNotFound=0 lnInserted=0 lnReplaced=0 nRepeatIteratorReads=0
    2009-03-05 12:53:30:709:CST FINEST Environment.open: name=test dbConfig=allowCreate=true
    exclusiveCreate=false
    transactional=true
    readOnly=false
    duplicatesAllowed=false
    deferredWrite=false
    temporary=false
    keyPrefixingEnabled=false
    2009-03-05 12:53:30:713:CST FINER Ins: bin=2 ln=10 lnLsn=0x0/0x7be index=1
    2009-03-05 12:53:30:714:CST FINER Ins: bin=5 ln=11 lnLsn=0x0/0x820 index=1
    2009-03-05 12:53:30:718:CST FINE Commit:id = 2 numWriteLocks=0 numReadLocks = 0
    2009-03-05 12:53:30:722:CST FINEST Database.put key=107 101 121 data=118 97 108 117 101
    2009-03-05 12:53:30:728:CST FINER Ins: bin=13 ln=12 lnLsn=0x0/0x973 index=0
    2009-03-05 12:53:30:729:CST FINE Commit:id = 3 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:729:CST FINEST size interval=0 lastCkpt=0x0/0x581 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:735:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x193 newLnLsn=0x0/0xb61
    2009-03-05 12:53:30:736:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x820 newLnLsn=0x0/0xc3a
    2009-03-05 12:53:30:737:CST FINER Ins: bin=8 ln=15 lnLsn=0x0/0xd38 index=0
    2009-03-05 12:53:30:738:CST CONFIG Checkpoint 2: source=api success=true nFullINFlushThisRun=6 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:741:CST FINEST Database.put key=107 101 121 50 data=118 97 108 117 101 50
    2009-03-05 12:53:30:742:CST FINER Ins: bin=13 ln=16 lnLsn=0x0/0xeaf index=1
    2009-03-05 12:53:30:743:CST FINE Commit:id = 4 numWriteLocks=1 numReadLocks = 0
    2009-03-05 12:53:30:744:CST FINEST size interval=0 lastCkpt=0x0/0xe32 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:746:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0xb61 newLnLsn=0x0/0x1166
    2009-03-05 12:53:30:747:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0xc3a newLnLsn=0x0/0x11e9
    2009-03-05 12:53:30:748:CST FINER Ins: bin=8 ln=17 lnLsn=0x0/0x126c index=0
    2009-03-05 12:53:30:748:CST CONFIG Checkpoint 3: source=api success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:750:CST FINEST Database.close: name=test
    2009-03-05 12:53:30:751:CST FINE Close of environment . started
    2009-03-05 12:53:30:751:CST FINEST size interval=0 lastCkpt=0x0/0x1363 time interval=0 force=true runnable=true
    2009-03-05 12:53:30:754:CST FINER Mod: bin=5 ln=4 lnIdx=0 oldLnLsn=0x0/0x1166 newLnLsn=0x0/0x14f8
    2009-03-05 12:53:30:755:CST FINER Mod: bin=5 ln=11 lnIdx=1 oldLnLsn=0x0/0x11e9 newLnLsn=0x0/0x15a9
    2009-03-05 12:53:30:756:CST FINER Ins: bin=8 ln=18 lnLsn=0x0/0x16ab index=0
    2009-03-05 12:53:30:757:CST CONFIG Checkpoint 4: source=close success=true nFullINFlushThisRun=4 nDeltaINFlushThisRun=0
    2009-03-05 12:53:30:757:CST FINE About to shutdown daemons for Env .

    Hi,
    OS X, being Unix-like, probably isn't actually deleting file 00000000.jdb since JE still has it open -- the file deletion is deferred until it is closed. JE keeps N files open, where N is configurable.
    We do corruption testing ourselves, in the following test by overwriting a file and then attempting to read back the entire database:
    test/com/sleepycat/je/util/DbScavengerTest.java
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Bursting program errors and last info on log file is: Start bursting proces

    Hi,
    I am new to bursting concepts. I created bursting file for the invoice and invoice program runs and calls the burst program and burst program errors.
    Can you help? I have set the temp directory as /var/tmp
    XML/BI Publisher Version : 5.6.3
    Request ID: 16757790
    All Parameters: ReportRequestID=16757789:DebugFlag=Y
    Report Req ID: 16757789
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:ODBTST
    Preparing parameters
    null output =/u01/oracle/devcomn/admin/out/DEV_odbtst/o16757790.out
    inputfilename =/u01/oracle/devcomn/admin/out/DEV_odbtst/o16757789.out
    Data XML File:/u01/oracle/devcomn/admin/out/DEV_odbtst/o16757789.out
    Set Bursting parameters..
    Temp. Directory:/var/tmp
    [102110_093551746][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
    [102110_093551752][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {burstng-source=EBS, font.3 of 9 Barcode.normal.normal=truetype./usr/local/oracle/fonts/3OF9.TTF, system-temp-dir=/u01/oracle/devcomn/temp, user-variable:cp:parent_request_id=16757789, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=16757790, user-variable.OA_MEDIA=http://oapdev.pdcorp.com:8001/OA_MEDIA, font.GnuMICR.normal.normal=truetype./usr/local/oracle/fonts/GnuMICR.ttf, user-variable:cp:org_id=81, user-variable:cp:DebugFlag=Y, user-variable:cp:responsibility=50290, user-variable:cp:user=NATHANV, user-variable:cp:reportdescription=PD Invoice Burst, user-variable:cp:language=en, user-variable:cp:ReportRequestID=16757789, font.Free 3 of 9 Extended.normal.normal=truetype./usr/local/oracle/fonts/FRE3OF9X.TTF, user-variable:cp:locale=en-US, user-variable:cp:territory=US}
    Start bursting process..
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    ---------------------------------------------------------------------------

    i have few BG jobs running at backend, but i dont think that could be a problem. I have these jobs running
    ESH_IX_PROCESS_CP_20100621051308
    EU_PUT
    EU_REORG
    RPTMC_CREATE_CHANGEPOINT_AUTH
    i cancelled  the last one and first job is for trex indexing for changed object i SAP hR master data. middle two i dont know the purpose.
    do you think these could be problem?
    Mani

  • Extending Log4j for mulitple log files

    Hi,
    I need to use Log4j logging utilities and log to different files depending on some set parameters. In a simplistic example, based on a passed parameter, the EJB must log to different files for different invokeations of the same method.
    Any help would be greatly appreciated.
    Thanks
    B K Adarsh

    Create double categories for the same class. category1.debug("Logging to one file");
    if(shouldIUseTheOtherCategoryToo == true){
      category2.debug("Logging to the other file");
    }/Michael

  • An Unexpected Error -4062 has occured - a log file has been created.

    EBS R12.1
    Linux x86-64
    i face this problem when :
    purchase super user > Purchase order summary > find > purchase order headers
    when i go to the lines and click "catalaog" and find my suppliers.
    when i select items there's any alerts "ORA-01403: No data found" this for detail :
    ORA-01403: no data found
    FRM-40735: WHEN-BUTTON-PRESSED trigger raised unhandled exception ORA-04062.
    can somebody help me?

    Have you completed all the required functional steps as per http://docs.oracle.com/cd/B53825_08/current/html/doclist.html#Purchasing_p ?
    I do not see any similar issue reported in MOS website, so you may need to log a SR for this issue.
    Thanks,
    Hussein

  • Error in Tomcat catalina.out log file -

    What do i need to do to recover from the error below:
    INFO: Server startup in 83095 ms
    17-12-10 11:04:40:432 - [/InfoViewAppActions].[jsp] Thread [http-443-Processor24];  Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at org.apache.jsp.jsp.InfoView_005fListing.infoviewListing_jsp._jspService(infoviewListing_jsp.java:253)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)

    Please check if you have multiple versions of java/JRE installed on your BOBJ server. Which OS did you install the BOBJ server on?
    Regards,
    Stratos

  • Cannot Find Errors in Log File

    I can't seem to find where the Errors are stored in the Log File, I am trying to write a DataPlugin in VBS, and I'm getting runtime errors at the end of my script. It says to refer to the log file, but there isn't anything in the log file about my error. Where is the error log that this is referring to? Someone help.....

    Hi Garett,
    You can view the log file directly in DIAdem-SCRIPT, it's the bottom-most window with the gray background. I always have to scroll up a few lines to see the error, and usually there are two or three error events stored in the log file each time the DataPlugin fails to load. The last event, located at the bottom, almost always contains no useful information for DataPlugin debugging. You have to find the first event by scrolling up to find a reference to a line number in the DataPlugin which caused the error.
    Also note that the DataPlugin will throw an error if it runs through just fine but does not load any data. In other words, if you are building up your DataPlugin step by step (as you should), and are just at the early stages where you parse a few items in the file and look at their values, you can easily forget to create at least 1 group or channel. If the DataPlugin does not create at least 1 group or channel when it runs through, it will throw an error that the data loading failed, when really there is no error in the DataPlugin beyond that it loaded nothing.
    I like to output metadata values I'm parsing from the binary or header file as group properties when I'm building up the DataPlugin step by step, like this:
    Set ThisGroup = Root.ChannelGroups.Add(ThisGroupName)
    ThisGroup.Properties.Add MetaDataName, MetaDataValue
    Then I can look at a long list of metadata values in the Data Portal, and I never forget to load at least 1 group or channel in order to avoid that pesky error that nothing was loaded by the DataPlugin. You can also do the same thing with channel properties, of course:
    Set ThisChannel = ThisGroup.Channels.AddImplicitChannel(Name, 0, 1, 2, eI32)
    ThisChannel.Properties.Add MetaDataName, MetaDataValue
    Let us know if this doesn't help with your current issue,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for

  • Anyone seeing form field display glitches in Safari 6?

    Things like text that disappears as you type (but it's really still there) in heavily styled form fields. Might be a CSS issue. It seems to crop up after running the app for several hours and can be helped by restarting.

  • Audio with the hp 2310M MONITOR

    Do I need a cable for audio with the hp 2310M MONITOR when I call someone they can't hear me.

  • HT1535 How can I get rid of duplicates on my iPad.

    How can I get rid of duplicate songs on my iPad

  • With 10% inspection lot has to be created

    HI after procurement of rawmaterial against the purchase requisitionby posting with 101 mvt type lot has to be created with 10% (ex:if 100 kgs we procured lot has to created in quality with 10 kgs what is the way explain thank u in advance

  • ID has been disabled

    My daughter tried to enter the password to many times to download updates.  This caused the Apple ID to be disabled.  I've followed directions to go to settings and sign out and then back in with the username and password; however it did not work.  H