Fatal logminer error

Why it is error in the first time ,and no error in the second time.
and in another oracle service there is not this problem.
please tell me why.
====================================================
SQL> execute dbms_logmnr.start_logmnr     
(dictfilename=>'e:\oracle\logs\dict.ora',
     starttime=>to_date('081128 14:00','yymmdd hh24:mi'),
     endtime=>to_date('081128 14:00','yymmdd hh24:mi'),
     options=>dbms_logmnr.continuous_mine);
BEGIN
     dbms_logmnr.start_logmnr     
(dictfilename=>'e:\oracle\logs\dict.ora',
     starttime=>to_date('081128 14:00','yymmdd hh24:mi'),
     endtime=>to_date('081128 14:00','yymmdd hh24:mi'),
     options=>dbms_logmnr.continuous_mine);
END;
第 1 行出现错误:
ORA-01280: Fatal LogMiner error。
ORA-06512: 在 "SYS.DBMS_LOGMNR", line 58
ORA-06512: 在 line 1
SQL> execute dbms_logmnr.start_logmnr     
(dictfilename=>'e:\oracle\logs\dict.ora',
     starttime=>to_date('081128 14:00','yymmdd hh24:mi'),
     endtime=>to_date('081128 14:00','yymmdd hh24:mi'),
     options=>dbms_logmnr.continuous_mine);
PL/SQL succcessful.
SQL>
=======================================================

This forum is for the SQL Developer tool; you'll get more response in e.g. the Database - General forum...
Regards,
K.

Similar Messages

  • ORA-01280: Fatal LogMiner Error in DBA_CAPTURE.

    I setup a downstream real time apply replication with oracle instructions. It works fine for a few days. I changed the mount point (file system) of the database files and redo log files for source database, with a regular shutdown and startup. After that, I got error message at DBA_CAPTURE of downstream database:
    ORA-01280: Fatal LogMiner Error
    And corresponding error in alert log file:
    ORA-00600: internal error code, arguments: [krvxbpx20], [1], [242], [37], [16], [], [], []
    Thu Apr 2 00:39:02 2009
    TLCR process death detected. Shutting down TLCR
    Thu Apr 2 00:39:04 2009
    Streams CAPTURE C001 with pid=35, OS id=21145 stopped
    Thu Apr 2 00:39:04 2009
    Errors in file /oracle/admin/hcarp/bdump/hcarp_c001_21145.trc:
    ORA-01280: Fatal LogMiner Error.
    I am not sure if the source db reboot can cause this. I will appreciate if anybody can let me know
    1. What cause of this?
    2. How to prevent this from happening?
    3. What to do to recover/fix?
    ====================================
    Here is major part of the trace file /oracle/admin/hcarp/bdump/hcarp_c001_21145.trc:
    (source DB: DXP1P. Downstream DB: HCARP)
    Unix process pid: 21145, image: oracle@fx1db01 (C001)
    *** 2009-03-25 17:56:58.472
    *** SERVICE NAME:(SYS$USERS) 2009-03-25 17:56:58.453
    *** SESSION ID:(413.68) 2009-03-25 17:56:58.453
    *** 2009-04-02 00:39:02.554
    knlc.c:2619: KRVX_CHECK_ERROR retval 205
    *** 2009-04-02 00:39:02.566
    Begin knlcDumpCapCtx:*******************************************
    Error 1280 : ORA-01280: Fatal LogMiner Error.
    Capture Name: REAL_TIME_CAPTURE : Instantiation#: 1
    *** 2009-04-02 00:39:02.566
    ++++ Begin KNST dump for Sid: 413 Serial#: 68
    Init Time: 03/25/2009 17:55:35
    ++++Begin KNSTCAP dump for : REAL_TIME_CAPTURE
    Capture#: 1 Logminer_Id: 1 State: CAPTURING CHANGES [ 04/02/2009 00:38:59]
    Capture_Message_Number: 0x0003.8ae9479a [15215445914]
    Capture_Message_Create_Time: 04/02/2009 00:32:46
    Enqueue_Message_Number: 0x0003.8ae27ad3 [15215000275]
    Enqueue_Message_Create_Time: 01/01/1988 00:00:00
    Total_Messages_Captured: 116442
    Total_Messages_Created: 118344 [ 04/02/2009 00:38:59]
    Total_Messages_Enqueued: 1457 [ 03/27/2009 12:33:08]
    Total_Full_Evaluations: 471
    Elapsed_Capture_Time: 55956708 Elapsed_Rule_Time: 17
    Elapsed_Enqueue_Time: 141 Elapsed_Lcr_Time: 864
    Elapsed_Redo_Wait_Time: 6937736 Elapsed_Pause_Time: 0
    ++++End KNSTCAP dump
    ++++ End KNST DUMP
    +++ Begin DBA_CAPTURE dump for: REAL_TIME_CAPTURE
    Capture_Type: DOWNSTREAM
    Version: 10.2.0.4.0
    Source_Database: DXP1P
    Use_Database_Link: YES
    Logminer_Id: 1 Logfile_Assignment: IMPLICIT
    Status: ENABLED
    First_Scn: 0x0003.8adf5aa5 [15214795429]
    Start_Scn: 0x0003.8adf5aa5 [15214795429]
    Captured_Scn: 0x0003.8ae8f942 [15215425858]
    Applied_Scn: 0x0003.8ae8f942 [15215425858]
    Last_Enqueued_Scn: 0x0003.8ae27ad3 [15215000275]
    Capture_User: STRMADMIN
    Queue: STRMADMIN.STREAMS_QUEUE
    Rule_Set_Name[+]: "STRMADMIN"."RULESET$_11"
    Checkpoint_Retention_Time: 60
    +++ End DBA_CAPTURE dump
    +++ Begin DBA_CAPTURE_PARAMETERS dump for: REAL_TIME_CAPTURE
    PARALLELISM = 1 Set_by_User: NO
    STARTUP_SECONDS = 0 Set_by_User: NO
    TRACE_LEVEL = 0 Set_by_User: NO
    TIME_LIMIT = -1 Set_by_User: NO
    MESSAGE_LIMIT = -1 Set_by_User: NO
    MAXIMUM_SCN = 0xffff.ffffffff [281474976710655] Set_by_User: NO
    WRITE_ALERT_LOG = TRUE Set_by_User: NO
    DISABLE_ON_LIMIT = FALSE Set_by_User: NO
    DOWNSTREAM_REAL_TIME_MINE = TRUE Set_by_User: YES
    +++ End DBA_CAPTURE_PARAMETERS dump
    +++ Begin DBA_CAPTURE_EXTRA_ATTRIBUTES dump for: REAL_TIME_CAPTURE
    +++ End DBA_CAPTURE_EXTRA_ATTRIBUTES dump
    ++ LogMiner Session Dump Begin::
    SessionId: 1 SessionName: REAL_TIME_CAPTURE
    Start SCN: 0x0000.00000000 [0]
    End SCN: 0x0000.00000000 [0]
    Processed SCN: 0x0003.8ae947a7 [15215445927]
    Prepared SCN: 0x0003.8ae94897 [15215446167]
    Read SCN: 0x0003.8ae948b1 [15215446193]
    Spill SCN: 0x0000.00000000 [0]
    Resume SCN: 0x0000.00000000 [0]
    Branch SCN: 0x0000.00000000 [0]
    Branch Time: 01/01/1988 00:00:00
    ResetLog SCN: 0x0003.8a502ab3 [15205411507]
    ResetLog Time: 03/06/2009 23:58:56
    DB ID: 1669710455 Global DB Name: DXP1P
    krvxvtm: Enabled threads: 1
    Current Thread Id: 1, Thread State 0x02
    Current Log Seqn: 243, Current Thrd Scn: 0x0003.8ae948b1 [15215446193]
    Current Session State: 0x0, Current LM Compat: 0xa200400
    Flags: 0x3fa102d0, Real Time Apply is On
    +++ Additional Capture Information:
    Capture Flags: 325
    Logminer Start SCN: 0x0003.8adf5aa5 [15214795429]
    Enqueue Filter SCN: 0x0003.8adf5aa5 [15214795429]
    Low SCN: 0x0003.8ae9479a [15215445914]
    Capture From Date: 01/01/1988 00:00:00
    Capture To Date: 01/01/1988 00:00:00
    Restart Capture Flag: NO
    Ping Pending: YES
    Buffered Txn Count: 0
    -- Xid Hash entry --
    -- LOB Hash entry --
    -- No TRIM LCR --
    Unsupported Reason: 14
    --- LCR Dump not possible ---
    End knlcDumpCapCtx:*********************************************
    *** 2009-04-02 00:39:02.569
    error 1280 in STREAMS process
    ORA-01280: Fatal LogMiner Error.
    OPIRIP: Uncaught error 447. Error stack:
    ORA-00447: fatal error in background process
    ORA-01280: Fatal LogMiner Error.
    =====================================================
    Thanks!

    Look up Bug 6022014 at metlink.

  • Is a Disk Utility "fatal hardware Error" Always fatal?

    Help!
    I'm traveling for the next four weeks and have my lap top with me to do work.
    Last night I was working fine on my computer when all of a sudden Photoshop wouldn't open files right. I quite out of Photoshop (slow)
    Then tried to quit out of everything else (slow) and finally shut down holding the Power button down. I waited a few minutes and tried to reboot.
    It was REALLY slow starting back up. (about 15 to 20 minutes). I held the Power key down to turn it off and left it overnight hoping it would figure itself out by morning.
    This am the same start up problem happened. I finally got it opened and manuvered to Disk Utility.
    IT GAVE ME THIS MESSAGE
    This drive has reported a Fatal Hardware Error to Disk utility.
    If the drive has not failed completely, Back up as much as you can and
    then replace it with a working drive.
    HERE IS WHAT I DID EARLIER IN THE EVENING THAT I THINK MADE IT WACKY.
    I hadn't installed SUITCASE X1 yet and was using the program Font Book that comes with the computer. It wasn't satifactory so I went ahead and installed Suitcase X1.
    FONT BOOK kept showing a ton of open faces.
    I carefully (or so I thought) went through Font Books "All fonts" window and got rid of fonts that I didn't see in the system fonts folder. (I think this is where I really may have screwed up)
    FYI I am a graphic designer and use many fonts.
    I store all the design fonts in a folder in USERS > SHARED> FONTS
    I directed SUITCASE to "Manage system fonts"
    Every thing was working fine for a few hours.
    I was working in QUARK 6 easily and listening to a Podcast. No problems.
    When I went to open PHOTOSHOP, it (Photoshop) started running very slow.
    and all the things I mentioned above started to happen.
    I have the OS10.4 install disk with me so I tried to boot from it.
    (I thought maybe it had a utility on it to help fix things or maybe I could copy any important fonts that I accidently trased
    (btw do you hold down OPTION C to boot from a CD or APPLE C?
    I tried them all)
    I couldn't get it to boot from the CD
    Have I really wrecked my computer?
    Do we think it's a font problem.
    Can I fix it. I'm at the beach in NC and there's no techys around!!!!
    I am currently typing this email on the laptop so it's not completely dead.
    Just super slow and threatening to die.
    What should I do??!!!
    Did I mention today is my birthday?
    PowerbookG4   Mac OS X (10.4.6)  

    It's either OPTION or C. Unfortunately, the Install CD doesn't give you much access to file operations (no Finder) as Mac OS 9 and earlier did.
    If you could start it in Target Disk Mode and mount the drive on another Mac, or boot it from an external drive with a Mac OS X installation on it you could try to recover files that aren't already backed up.

  • Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph

    NOTE:  This IS a duplicate post from the Breakpoint.  Text slightly changed.  The post in Breakpoint can be deleted.  All comments should be placed in this thread.
    I resolved the "Fatal Internal Error: "image.cpp", line 13192 when trying to insert a cursor to graph", but would like to share to find out if others have seen this and to determine whether this is a bug, or if it's time to redo my PC, or buy a new one..  
    I have an existing graphs (qt 6) which originally had 2 cursors.  This occurred while trying to add the third cursor. 
    Up until attempting to add the last cursor, the program worked great, and I had been running tests for a while.  However, I do recall seeing this problem when creating the original cursors, but not to this extent.  Plus I don't remember the original error message from that time.
    I needed to add one more cursor to the existing graphs.  As soon as I add a new cursor and set it's properties, I get a nasty error message and without warning LV8.2 simply closes itself (well, the only warning was the error message.  Tried it 3 times, same result.
    Here are the steps:
    Shut down the PC, went for a coffee, rebooted the PC.  Opened the LV project, opened the VI.  Immediately went to the graph properties to add the new cursor by doing the following steps: 
    Right click graph indicator icon on block diagram.
    Select Properties.
    Click on cursor tab.
    Click on Add
    Select Cursor 2 (3rd one, newly created)
    Change color
    Select cursor as a line
    Remove checkmark for "show cursor"
    Click OK
    I need to do this to 3 other graphs, same steps.  And as soon as I get to the step before clicking OK, I get the error message. 
    I managed to get an additional one done, by immediately saving after each step (yep going in & out of the properties).  But I've had this problem before when creating the first two cursors.
    Is it a bug?  Anyone else seen this?  Using LV8.2.  And the message is right about LOOSING ALL unsaved work!!!! 
    Here are more observations:
    Tried creating a new one on the second graph.  As soon as I clicked on the color, it crashed!
    See the error explanation below.  It is really clear, now anyone can solve it    LOL!!...  According to the error log, there's a bad image out there  
    .\manager\image.cpp(13192) : DAbort: bad image in ValidateImage
    $Id: //labview/branches/Europa/dev/source/manager/image.cpp#47 $
    0x007A81E8 - LabVIEW <unknown> + 0
    0x007A7BDB - LabVIEW <unknown> + 0
    0x00829D74 - LabVIEW <unknown> + 0
    0x008546CD - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0081B9C8 - LabVIEW <unknown> + 0
    0x0081EB9A - LabVIEW <unknown> + 0
    0x0084D9D4 - LabVIEW <unknown> + 0
    0x00854663 - LabVIEW <unknown> + 0
    0x00C054E6 - LabVIEW <unknown> + 0
    0x0085F7A1 - LabVIEW <unknown> + 0
    0x00BBACDD - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    0x0085AA46 - LabVIEW <unknown> + 0
    0x00C06A2F - LabVIEW <unknown> + 0
    I observed the title bar after making changes to the properties.  I noticed that 3 out of 4 times, while changing the properties of the graphs to include the cursor, and saving after each & every step, that there were no stars appearing on the title bar to indicate "unsaved changes".  Saving was also much slower than usual.  I suspect, the program never got to placing the star before saving occurred.  However, I am noting everything.
    After creating the cursors, saving was and is normal, and the program runs well..   I have run tests without problems.
    Does anyone have a clue at what causes this?   Has anyone seen this before?
    Thanks,
    RayR

    Hi Donovan,
    I can't remember seeing this elsewhere.  When I get a chance, I'll create a new (blank) vi with new graphs and will repeat the steps. 
    I will let you know if I see this in the new vi.
    Thanks!
    RayR

  • Berkeley db fatal region error detected run recovery

    Hi,
    I have initiated d Berkeley DB object.
    Then, I am using multithreading to put data into the DB.
    Here is how I open the one data handler.
    ret = dbp->open(dbp, /* Pointer to the database */
    NULL, /* Txn pointer */
    db_file_name, /* File name */
    db_logical_name , /* Logical db name (unneeded) */
    DB_BTREE, /* Database type (using btree) */
    DB_CREATE, /* Open flags */
    0644); /* File mode. Using defaults */
    each threads would put data into the same handler when it needs to.
    I am getting "berkeley db fatal region error detected run recovery".
    What is the problem? Does it have anything to do with the way the handler is created or whether multiple threads can put data into the DB?
    jb

    Hi jb,
    user8712854 wrote:
    I am getting "berkeley db fatal region error detected run recovery".This is a generic Berkeley DB panic message that means something went wrong. When do you get this error? Did you enable the verbose error messages? Are there any other warning/error messages reported? By just posting the way you open the database doesn't help much at all. I reviewed the other questions you asked on the forum, and it seems that you are not following the advices and consult the documentation, but you prefer to open new threads. I advice you to first work on configuring Berkeley DB for your needs and read the following pages in order to understand which Berkeley DB Product best suits your application and how it should be configured for a multithreaded application:
    [The Berkeley DB products|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/intro/products.html]
    [Concurrent Data Store introduction|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/cam/intro.html]
    [Multithreaded applications|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/mt.html]
    [Berkeley DB handles|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/program/scope.html]
    On the other hand, if the code that's calling the Berkeley DB APIs is not too big and is not private, you can post it here so we can review it for you and let you know what's wrong with it.
    The procedures you should follow in order to fix a "run recovery" error are described here:
    [Recovery procedures|http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/recovery.html]
    Thanks,
    Bogdan Coman

  • Error c000021a : {fatal system error} while booting laptop M30 series

    I get the following error when starting my laptop.
    "Stop: c00021a {fatal system error} The windows logon process system process terminated unexpectedly with a status of 0x00000080 (0x00000000 0x00000000)
    The system has been shut down"
    I have recovery CD provided to at the time of purchase. I have some data which I need to recover. If anyone knows resolution to this problem , please let me know the procedure.
    Thanking you in advance.
    -YG

    Hi,
    I tried the link said above but didnt help. I was still getting the same error.
    What I tried is loading a OS of different vesion (in my case XP Professional). This loaded succesfully and I could recover some of my data. For some data, I am getting access rights error.
    I am finding out if there is any way I can fully recover my data.
    Thanks for your help,

  • SUN Blade 2000 giving FATAL SCSI Error while booting from CDROM

    Hi,
    SUN Blade 2000 system giving "FATAL SCSI Error at Script address 110 SCSI parity Error Arbitration Complete" while trying to boot from CDROM.
    Thanks in advance.
    Bye
    vijay

    Hi,
    SUN Blade 2000 system giving "FATAL SCSI Error at Script address 110 SCSI parity Error Arbitration Complete" while trying to boot from CDROM.
    Thanks in advance.
    Bye
    vijay

  • Fatal:relocation error: While running JDK1.4 on Sun Sparc Generic_106541-08

    Hi,
    I installed the new jdk1.4 on my Solaris-7 machine. Initially I installed 32-bit jdk1.4 and then installed 64-bit jdk1.4 as indicated on your (sun's) installation page. I used executable binary version of installation for installing the software.
    The installation was successfully completed. But while I run java command then it gave following error
    Error: failed /export/home/j2sdk1.4.0/jre/lib/sparc/client/libjvm.so, because ld.so.1: ./java: fatal: relocation error: file /export/home/j2sdk1.4.0/jre/lib/sparc/client/libjvm.so: symbol __1cG__CrunSregister_exit_code6FpG_v_v_: referenced symbol not found
    Why I am not able to execute any java command with this version? On the same machine I am able to run jdk1.2 and jdk1.3
    Please advise on it. It will be of great help If I get some suggestion.
    Thanks in Advance,
    Ashish

    In particular, patch 106327-14 seems to solve the problem.

  • Disk Utility is reporting a fatal hardware error-S.M.A.R.T. status failing. Is there hope?

    OS 10.5.8 on a 1.8 GHz Power PC G5. Installed Western Digital WD1002FAEX as a second internal hard drive. I also installd the jumper needed to slow HD down for this computer. Initialized and formated the HD was able to back up a large iPhoto file and am still able to acceass the file from the new HD. Now Disk Utility is reporting a fatal hardware error-S.M.A.R.T. status failing. Is there hope?

    Is that on your first drive or the new one???
    Only experience I had with SMART warning was that in less than 48 hrs it was dead for good.

  • Disk Utility Reporting Fatal Hardware Error

    Hello all,
    I woke up this morning to the flashing folder with a question mark in it on my MacBook. I know that that means the system can't find the OS so I assumed that my hard drive had magically failed overnight. So I turned my computer off and then rebooted and everything loaded properly. I went into Disk Utility and my main hard drive that has OS X on it is highlighted in red and when I click on it, Disk Utility only displays "This drive has reported a fatal hardware error to Disk Utility. If the drive has not failed completely, back up as much data as you can and then replace it with a working drive."
    I have noticed EXTREMELY sluggish performance by my computer in these past two days which has required me to force quit programs and force shut down the system more times than I've had to in the whole time I've had this computer. Could this be a side effect of the failing drive?
    I'm backing everything up right now, but I'm wondering how accurate Disk Utility is. The drive that I have in here is a non-Apple-installed 250 GB Western Digital that's been in here for nearly a year. Is it possible that the drive is failing beyond repair already? If so, is there any way to see the full extent of the damage and attempt to repair it before I go out and buy a new hard drive to replace it with?
    Thanks for all the help and the fast responses!

    Mateo wrote:
    Hello all,
    I woke up this morning to the flashing folder with a question mark in it on my MacBook. I know that that means the system can't find the OS so I assumed that my hard drive had magically failed overnight. So I turned my computer off and then rebooted and everything loaded properly. I went into Disk Utility and my main hard drive that has OS X on it is highlighted in red and when I click on it, Disk Utility only displays "This drive has reported a fatal hardware error to Disk Utility. If the drive has not failed completely, back up as much data as you can and then replace it with a working drive."
    I have noticed EXTREMELY sluggish performance by my computer in these past two days which has required me to force quit programs and force shut down the system more times than I've had to in the whole time I've had this computer. Could this be a side effect of the failing drive?
    yes, it could.
    I'm backing everything up right now, but I'm wondering how accurate Disk Utility is. The drive that I have in here is a non-Apple-installed 250 GB Western Digital that's been in here for nearly a year. Is it possible that the drive is failing beyond repair already?
    yes, it's quite possible.
    If so, is there any way to see the full extent of the damage and attempt to repair it before I go out and buy a new hard drive to replace it with?
    check the SMART status in disk utility as suggested. if it says anything but "verified" it means that the drive is expected to fail completely and you shouldn't try to repair it. If it says "verified" It's possible that reformatting will fix it so you can try that. this will wipe all the data on it so clone it off first as gbullman suggested. BTW, most drives come with manufacturers warranty longer than a year and you should be able to replace the drive. that's what I would recommend.
    Thanks for all the help and the fast responses!

  • Help with Error:  PANIC: fatal region error detected; run recovery

    Here's what I'm trying to do:
    I am trying to us BDBXML in a webapp using tomcat 5.5. I have a class that is responsible for opening and closing the db. This class is accessed by a servlet for some AJAX RCP stuff and it also serves as an access point for a Web Service (Apache Axis). This class looks like this:
    public class DG implements Serializable {
    private javax.xml.datatype.DatatypeFactory datatypeFactory;
    private Environment environment;
    private EnvironmentConfig environmentConf;
    private XmlContainer xmlContainer = null;
    private XmlManager xmlManager = null;
    private XmlManagerConfig xmlManagerConfig;
    public DG() {
    try {
    File envHome = new File("C:\\bdbxml\\database");
    environmentConf = new EnvironmentConfig();
    environmentConf.setAllowCreate(true);
    environmentConf.setInitializeCache(true);
    environmentConf.setInitializeLocking(true);
    environmentConf.setInitializeLogging(true);
    environmentConf.setRunRecovery(true);
    environmentConf.setTransactional(true);
    environmentConf.setLockDetectMode(LockDetectMode.MINWRITE);
         //tried the following with default and 10000
         environmentConf.setMaxLockers(100000);
    environmentConf.setMaxLockObjects(100000);
    environmentConf.setMaxLocks(100000);
    environmentConf.setTxnMaxActive(100000);
    environment = new Environment(envHome, environmentConf);
    CheckpointConfig cpc = new CheckpointConfig();
    cpc.setKBytes(500);
    environment.checkpoint(cpc);
    xmlManagerConfig = new XmlManagerConfig();
    xmlManagerConfig.setAdoptEnvironment(true);
    xmlManager = new XmlManager(environment, xmlManagerConfig);
    XmlContainerConfig xmlContainerConfig = new XmlContainerConfig();
    xmlContainerConfig.setIndexNodes(true);
    xmlContainerConfig.setTransactional(true);
    xmlContainerConfig.setNodeContainer(true);
    xmlContainer = xmlManager.openContainer("container.dbxml", xmlContainerConfig);
    xmlContainer.sync();
    datatypeFactory = javax.xml.datatype.DatatypeFactory.newInstance();
    } catch (FileNotFoundException e) {
         e.printStackTrace();
    } catch (DatabaseException e) {
         e.printStackTrace();
    } catch (DatatypeConfigurationException e) {
         e.printStackTrace();
    public void close() {
    try {
    if (xmlContainer != null) {
    xmlContainer.close();
    if (xmlManager != null) {
    xmlManager.close();
    } catch (DatabaseException e) {
    e.printStackTrace();
    public String getDocument(String docId) {
    try {
    XmlDocument doc = xmlContainer.getDocument(docId);
    String docString = doc.getContentAsString();
    doc.delete();
    return docString;
    } catch (XmlException e) {
    e.printStackTrace();
    public Result[] search(Search search) {
    try {
         //normally I construct the query string using the Search object
    StringBuffer q = new StringBuffer("subsequence(collection('container.dbxml')/metadata[contains(./idinfo//title, 'Ecology')], 1,10)");
    XmlQueryContext xqc = xmlManager.createQueryContext();
    XmlQueryExpression xqe = xmlManager.prepare(q.toString(), xqc);
    XmlResults xr = xqe.execute(xqc);
    int i = 0;
    Vector<Result> vec = new Vector<Result>();
    while (xr.hasNext()) {
    XmlValue xv = xr.next();
    XmlDocument xd = xv.asDocument();
    Result r = new Result();
    r.setMetadata(xd.getContentAsString());
    r.setDocumentId(xd.getName());
    XmlValue groupVal = new XmlValue(XmlValue.STRING);
    xd.getMetaData("", "group", groupVal);
    r.setGroup(groupVal.asString());
    XmlValue ownerVal = new XmlValue(XmlValue.STRING);
    xd.getMetaData("", "owner", ownerVal);
    r.setOwner(ownerVal.asString());
    XmlValue createdVal = new XmlValue(XmlValue.DATE_TIME);
    xd.getMetaData("", "created", createdVal);
    r.setCreated(createdVal.asString());
    XmlValue updatedVal = new XmlValue(XmlValue.DATE_TIME);
    xd.getMetaData("", "updated", updatedVal);
    r.setModified(updatedVal.asString());
    r.setPosition(search.getStartPosition() + i);
    updatedVal.delete();
    createdVal.delete();
    ownerVal.delete();
    groupVal.delete();
    xd.delete();
    xv.delete();
    vec.add(r);
    i++;
    xr.delete();
    xqe.delete();
    xqc.delete();
    return vec.toArray(new Result[vec.size()]);
    } catch (XmlException e) {
    e.printStackTrace();
    // PLUS SOME OTHER METHODS, BUT USING ONLY THESE TO TEST
    The Servlet looks like this:
    public class DGServlet extends javax.servlet.http.HttpServlet implements javax.servlet.Servlet {
    private DG dg;
    private final XPathFactory xpf = XPathFactory.newInstance();
    private final XPath xp = xpf.newXPath();
    private final SimpleDateFormat df = new SimpleDateFormat("EEE MMM d HH:mm:ss z yyyy");
    public DGServlet() {
    super();
    @Override
    public void destroy() {
    try {
    dg.close();
    } catch (Exception e) {
    log(e.getMessage());
    e.printStackTrace();
    super.destroy();
    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    String action = request.getParameter("action");
    if (action != null && !action.equals("")) {
    if (action.equals("search")) {
    response.setContentType("text/xml");
    Result[] result = null;
    try {
    result = dg.search(constructSearch(request));
    } catch (Exception e1) {
    log(e1.getMessage());
    e1.printStackTrace();
    if (result==null || result.length==0) {
    response.getWriter().print("0");
    return;
    StringBuffer sb = new StringBuffer("<results>");
    for (int i = 0; result != null && i < result.length; i++) {
    try {
    sb.append("<result"
    + " title='"
    + xp.evaluate("/metadata/idinfo//title", new InputSource(new StringReader(result[i]
    .getMetadata()))));
    sb.append("' northbc='"
    + xp.evaluate("//northbc", new InputSource(new StringReader(result.getMetadata())))
    + "' southbc='"
    + xp.evaluate("//southbc", new InputSource(new StringReader(result[i].getMetadata())))
    + "' eastbc='"
    + xp.evaluate("//eastbc", new InputSource(new StringReader(result[i].getMetadata())))
    + "' westbc='"
    + xp.evaluate("//westbc", new InputSource(new StringReader(result[i].getMetadata())))
    + "' docid='" + result[i].getDocumentId() + "' group='" + result[i].getGroup()
    + "' owner='" + result[i].getOwner() + "' position='" + result[i].getPosition()
    + "' modified='" + result[i].getModified() + "' created='" + result[i].getCreated()
    + "'>");
    NodeList nodes = (NodeList) xp.evaluate("//digform", new InputSource(new StringReader(result[i]
    .getMetadata())), XPathConstants.NODESET);
    for (int j = 0; j < nodes.getLength(); j++) {
    sb.append("<resource download='"
    + StringEscapeUtils.escapeXml(xp.evaluate("//networkr", new InputSource(
    new StringReader(XMLUtil.printDOMTree(nodes.item(j)))))));
    sb.append("' format='"
    + StringEscapeUtils.escapeXml(xp.evaluate("//formname", new InputSource(
    new StringReader(XMLUtil.printDOMTree(nodes.item(j)))))));
    sb.append("'></resource>");
    sb.append("</result>");
    } catch (XPathExpressionException e) {
    e.printStackTrace();
    log(e.getMessage());
    } catch (TransformerConfigurationException e) {
    e.printStackTrace();
    log(e.getMessage());
    } catch (TransformerFactoryConfigurationError e) {
    e.printStackTrace();
    log(e.getMessage());
    } catch (TransformerException e) {
    e.printStackTrace();
    log(e.getMessage());
    sb.append("</results>");
    response.getWriter().print(sb.toString());
    else if (action.equals("details")) {
    response.setContentType("text/html");
    String str = "";
    try {
    str = dg.getDocument(request.getParameter("docId"));
    response.getWriter().print(
    setTranslatePage(str, new java.net.URL(
    "http://localhost:8080/datastream/stylesheets/fgdc/fgdc_classic.xsl")));
    } catch (Exception e) {
    e.printStackTrace();
    log(e.getMessage());
    public void init() throws ServletException {
    super.init();
    dg = new DG();
    It seems to work fine for a while, but then I get errors like the following:
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    PANIC: fatal region error detected; run recovery
    com.sleepycat.dbxml.XmlException: Error: DB_RUNRECOVERY: Fatal error, run database recovery, errcode = DATABASE_ERROR
    at com.sleepycat.dbxml.dbxml_javaJNI.XmlManager_prepare__SWIG_0(Native Method)
    at com.sleepycat.dbxml.XmlManager.prepare(XmlManager.java:586)
    at edu.washington.cev.datastream.api.DG.search(DG.java:935)
    at edu.washington.cev.datastream.servlets.DGServlet.doGet(DGServlet.java:83)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)
    I've set this up on a Window XP machine using tomcat 5.5 and java 5 as well as a Redhat Linux machine with tomcat 5.5 and java 5. I'm using the Web Service point for other servers to access the database. Everything starts up and runs for a little while, but I can't seem to pin down what causes the errors. I've run recovery multiple times as well as started new databases. Any help is appreciated.

    There's a bug in your use of DB XML somewhere. Are you committing or aborting every transaction that you start, and calling delete() explicitly on all the DB XML objects that you use?
    Those errors mean your database has become corrupted somehow.
    John

  • Adcfgclone.pl errored out with  Unzip FAC-50409: Exiting, fatal unzip error

    Hi,
    while i am doing application cloning i got the following error message:
    Beginning application tier Apply - Thu Jul 7 17:03:07 2011
    Log file located at /u02/appl/appltest/preprod/prodappl/admin/preprod_cjb112vsa400/log/ApplyAppsTier_07071703.log
    | 66% completed Unzip Failed:
    / 66% completed AC-50409: Exiting, fatal unzip error; /u02/appl/appltest/preprod/prodcomn/clone/bin/../appl/AT_inderpdbs/stage/java0.zip failed
    ERROR while running Apply...
    ERROR: Failed to execute /u02/appl/appltest/preprod/prodcomn/clone/bin/adclone.pl
    my zip version is 2.31 and OS is RHEL 5.5 but souse OS is on RHEL3
    Please suggest how to resolve this one.

    What is the application release?
    | 66% completed Unzip Failed:
    / 66% completed AC-50409: Exiting, fatal unzip error; /u02/appl/appltest/preprod/prodcomn/clone/bin/../appl/AT_inderpdbs/stage/java0.zip failedCan you find this zip file (java0.zip)? If yes, can you unzip it manually?
    Thanks,
    Hussein

  • Ld.so.1 problem - fatal: relocation error - "referenced symbol not found"

    Hi, I've been trying to compile and run my application non Solaris using CC (detils below) but haven't got luck with running the application because of a linker error :
    ld.so.1: java: fatal: relocation error: file ./libtest.so: symbol __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___J__nullref_: referenced symbol not found
    Here's what I'm trying to do :
    I'm compieing one library to include another shared library whcih uses the "string" class (STL). The compilation of both the libraries proceeds perfectly fine. However, when i preload this library with LD_PRELOAD and run a JAVA application (which will have calls to some function in the preloaded library), the get the above linker error.
    Here's what all I have tries to get thsi wroking : ( I understand that this error is due to a missing library that CC has not linked to and i've no idea what the library is!!!)
    1.> # LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
    # export LD_LIBRARY_PATH - NO LUCK :-(
    2.> linked to /opt/SUNWspro/lib/libCrun.so (found this from another forum on the net), but NO LUCK :-(
    3.> export LD_DEBUG=bindings
    export LD_DEBUG_OUTPUT=/home/log.txt (so that all sysmbols refered are logged!!!)
    i did a grep on the log for the symbol but NO LUCK!!! :-(
    Please can you help me with this? What is the library that is to be linked too, or is there something else?
    Details About my system, compiler and compilation options :
    1.> uname -a output : SunOS sh1sol9 5.9 Generic_117171-12 sun4u sparc SUNW,Sun-Fire-280R Solaris
    2.> CC version : Sun WorkShop 6 update 2 C++ 5.3
    3.> Compilation flags i've used to build the library :
    FIRST LIBRARY : CC -G -xcode=pic32 -I../common/ -ldl ../common/logger.cpp helper_functions.cpp BCPEntries.cpp BCP_class.cpp -o libBCP.so
    SECOND LIBRARY : CC -G -xcode=pic32 -I../common/ test_BCP_construct.cpp -lBCP -L. -o libtest.so
    Please help me out of this,
    Any and every help (or even a hint to it) will be appreciated!!!
    Thanks in advance,
    Madhur Kumar Tanwani

    Refer to the C++ Users Guide that comes with the compiler, the chapter on Building Libraries, which explains these points in more detail.
    When you build a C++ shared library, you must explicitly list all the libraries that it depends on. Unlike building an executable, the CC -G command does not by default create dependencies on system libraries. Although not explained well in the Guide, you should be sure you get the shared (.so) versions of all libraries, not the static (.a) versions.
    All C++ programs require at least libCrun and libc. Programs that use the C++ Standard library (using anything in the std namespace, like std::string) also need to link to the appropriate version of the library.
    The default library is libCstd. If you compile using the optional STLport library, you need the libstlport instead. You cannot use both libCstd and libstlport in the same program.
    In your case, the build command would look something like this, assuming you are using the default libCstd:
    CC -G -o mylib.so ..... -library=Cstd,Crun -lc
    Be sure that any preceeding -Bstaic option is followed by -Bdynamic before listing these system libraries.
    To verify you have picked up the dynamic libraries, run the command
    ldd mylib.so
    to see a list of dependencies. If you don't see the following in the list
    /usr/lib/libCstd
    /usr/lib/libCrun
    /usr/lib/libc (or /lib/libc)
    something is wrong.
    A note about LD_LIBRARY_PATH: don't use it.
    Ideally, the environment variable should never be set. If you must set it to reach vendor-supplied libraries, never put the system directories /lib or /usr/lib on the path, and never put the compiler installation directory, like /opt/SUNWspro/... on the path. You can wind up forcing the runtime loader to seach directories in the wrong order and pick up inappropriate versions of libraries.
    For more on LD_LIBRARY_PATH, read this note in Rod Evans' blog. He's the Sun linker expert. The material here is available in the manuals, but his blog has a nice summary.
    http://blogs.sun.com/roller/page/rie/?anchor=tt_ld_library_path_tt

  • Fatal IO error 11 while configuring X

    i have installed xorg hal xterm xfce4 packages etc.
    but problems come when i run
    xterm
    comes
    xterm xt-error: can't open display: %s
    xterm: DISPLAY is not set
    and when i run
    startx
    i can turn to the ugly simple X windows, but when i ctrl+alt+bs and get back, comes
    xterm: fatal IO error 11 (resources temporarily unavailable) or KillClient on X server '0:0'
    and
    display
    unable to open X server ' '.
    and if i run
    startxfce4
    messag comes like this
    error: cairo 1.4.12 deos not yet support the requested image format:
    Depth: 1
    Alpha mask: 0x00000000
    Red mask: 0x00000000
    Green mask: 0x00000000
    Blue mask: 0x00000000
    xfce4-session: cairo-image-surface.c:199: _cairo_format_from_pixman_format:
    Assertion 'NOT_REACHED' failed.
    /etc/xdg/xfce4/xinitrc: line 84: 15826 Aborted $xfcesm.
    and the following is the xinitrc: line 84
    #Run xfce4-session if installed
    xfcesm= 'which xfce4 session'
    case "x$xfcesm" in         ###here's the line 84
    x|xno*)
    $xfcesm
    so, what's the problem? how can i deal with the display is not set

    Have you actually configured your xorg.conf as per wiki?
    http://wiki.archlinux.org/index.php/Xor … uring_xorg
    http://wiki.archlinux.org/index.php/Beg … Fxorg.conf
    And could you post your xorg.conf and Xorg.0.log using pastebin? (http://pastebin.archlinux.org/)

  • SSLException while handshaking: Peer sent alert: Alert Fatal: decrypt error

    Hello everybody,
    I am tryining to establish a connection from SAP PI 7.0 to an external web service that requires SSL with client authentication. I am using the SOAP adapter for that. The private key of us and the public key of the web service were installed in the VA in the TrustedCAs view. In the corresponding receiver channel configuration I have ticked "Configure Certificate Authetication" and selected appropriate entries in "Keystore Entry" and "Keystore View".
    Whenever I send a message through the channel I am getting though an error during the SSL handshake: Decrypt error.
    Below is the SSL debug log
    ssl_debug(15): Sending v3 client_hello message to services.bloomberg.com:443, requesting version 3.1...
    ssl_debug(15): Received v3 server_hello handshake message.
    ssl_debug(15): Server selected SSL version 3.1.
    ssl_debug(15): Server created new session 81:ED:F8:61:3B:51:8E:70...
    ssl_debug(15): CipherSuite selected by server: TLS_RSA_WITH_AES_256_CBC_SHA
    ssl_debug(15): CompressionMethod selected by server: NULL
    ssl_debug(15): Server does not supports secure renegotiation.
    ssl_debug(15): Received certificate handshake message with server certificate.
    ssl_debug(15): Server sent a 2048 bit RSA certificate, chain has 3 elements.
    ssl_debug(15): ChainVerifier: No trusted certificate found, OK anyway.
    ssl_debug(15): Received certificate_request handshake message.
    ssl_debug(15): Accepted certificate types: RSA, DSA
    ssl_debug(15): Accepted certificate authorities:
    ssl_debug(15):   CN=XXXXXXXXXXXXXXXXXXXXXXXX
    ssl_debug(15):   CN=VeriSign Class 3 International Server CA - G3,OU=Terms of use at https://www.verisign.com/rpa (c)10,OU=VeriSign Trust Network,O=VeriSign, Inc.,C=US
    ssl_debug(15):   CN=VeriSign Class 3 Public Primary Certification Authority - G5,OU=(c) 2006 VeriSign, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign, Inc.,C=US
    ssl_debug(15): Received server_hello_done handshake message.
    ssl_debug(15): Sending certificate handshake message with RSA client certificate...
    ssl_debug(15): Sending client_key_exchange handshake...
    ssl_debug(15): Sending certificate_verify handshake message...
    ssl_debug(15): Sending change_cipher_spec message...
    ssl_debug(15): Sending finished message...
    ssl_debug(15): Received alert message: Alert Fatal: decrypt error
    ssl_debug(15): SSLException while handshaking: Peer sent alert: Alert Fatal: decrypt error
    ssl_debug(15): Shutting down SSL layer...
    My first assumption was that it might be caused by missing public key of other side's server in the TrustedCAs view. Now I have assured that we have this key installed (although I am currious why there is still the "ChainVerifier: No trusted certificate found" message in the log).
    Does somebody have an idea what could cause this SSL handshake failure?
    Best regards,
    Maxim

    The XPI inspector gave more understanding of the situation. It shows which certificates the remote server is sending, which client certificate is used for authentication and many other topics. Interesting enough the XPI inspector shows that PI trusts the server key whereas the NWA log at the very same time tells that it doesn't. I have posted an OSS message asking to explain why there is this discrepancy.

Maybe you are looking for

  • Windows 2008 Server Enterprise R2 x64 and Perc 4/dc SCSI driver issue

    Hello all, this is the first time posting so please forgive me if this has been posted here before.  I did try to search this issue but zero returns. OK, I have a Dell PowerEdge 2900.  I have just put a fresh install of MS Windows 2008 ENT. Server x6

  • How do I get windows to connect to the internet on my iMac

    How do I get Windows 7 Home Premium to connect to my existing internet connection, on my iMac (Lion 10.7.3)?  The installation of the Windows 7 using Bootcamp went fine, up to the point of getting connected to the internet.  My iMac side of the parti

  • Read data from R/3 to Legacy system

    hi 1. Does SAP store its master data in logical databases? 2. Where can i find Bapi's to read data (master data )from R/3 into legacy system? 3. Which is better - Bapi or Idoc? Thanks. Points will be awarded.

  • Cannot get correct print layout for multiple page/booklet printing

    In trying to print a pdf file that is landscape, 2 pages per sheet, booklet format, I cannot get the print preview to show the correct layout.  I have tried all the options in the print menu, but either I get the pages in the incorrect order or I get

  • User defined Function in materlized view???

    Hi All: can we use user defined functions in materlized views. If anybody know about it. Please help me. Thanks Ali