How can I localize the alert "error: PANIC: fatal region error detected..."

My application may corrupt and the operations therefore may fail and post the alert "error: PANIC: fatal region error detected; run recovery ...", and this alert is directly printed in the main process's window.
My question is how can I do to localize this alert in my thread which just deals with the Berkeley DB database?
Thanks

Hi,
You can configure an error callback function. See the run-time error configuration section of the Reference Guide here:
http://www.oracle.com/technology/documentation/berkeley-db/db/ref/debug/runtime.html
It sounds like DB_ENV->set_errcall is what you want:
http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_set_errcall.html
Regards,
Alex Gorrod, Oracle

Similar Messages

  • 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

  • PANIC: fatal region error detected

    i encoutered this error for stress testing.
    in the project, we used the transaction and cursor. when the application is runing for a long time, i will receive the err about "PANIC: fatal region error detected". i change the max numbers of transaction, the same error also occurs. when this error occurs, the application can't create any transaction and open any cursor.
    somebody can solve this problem? any suggestion appreciated.
    thanks

    This error should only occur after some message is sent to the error stream (configured with DB_ENV->set_errfile). Can you please post that output?
    What operation causes the error (is it during open, or on some read/write)?
    Have you tried looking at the output from running "db_stat -e" to see whether some resource is being exhausted?
    Are multiple processes (including the Berkeley DB utilities) accessing the environment when the error occurs? Is it possible that any of those processes are using a different version of Berkeley DB than your application?
    Regards,
    Michael Cahill, Oracle Berkeley DB.

  • PANIC: fatal region error detected; run recovery  - How Can I resolve it?

    PANIC: fatal region error detected; run recovery
    Error loading files into container null.dbxml
    Message: DB_RUNRECOVERY: Fatal error, run database recovery
    com.sleepycat.db.RunRecoveryException: DB_RUNRECOVERY: Fatal error, run database recovery: DB_RUNRECOVERY: Fatal error, run database recovery
         at com.sleepycat.db.internal.db_javaJNI.DbEnv_open(Native Method)
         at com.sleepycat.db.internal.DbEnv.open(DbEnv.java:240)
         at com.sleepycat.db.EnvironmentConfig.openEnvironment(EnvironmentConfig.java:714)
         at com.sleepycat.db.Environment.<init>(Environment.java:30)
         at dbxml.gettingStarted.CopyOfexampleLoadContainer.createEnv(CopyOfexampleLoadContainer.java:144)
         at dbxml.gettingStarted.CopyOfexampleLoadContainer.loadXmlFiles(CopyOfexampleLoadContainer.java:157)
         at dbxml.gettingStarted.CopyOfexampleLoadContainer.main(CopyOfexampleLoadContainer.java:78)
         at dbxml.gettingStarted.Imagem.actionPerformed(Imagem.java:174)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
         at java.awt.Component.processMouseEvent(Component.java:5488)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
         at java.awt.Component.processEvent(Component.java:5253)
         at java.awt.Container.processEvent(Container.java:1966)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1778)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    You will need to know about recovery. I suggest you read up on it in the Berkeley DB reference guide:
    http://www.oracle.com/technology/documentation/berkeley-db/xml/ref/transapp/put.html
    http://www.oracle.com/technology/documentation/berkeley-db/xml/ref/transapp/recovery.html
    John

  • How can I decouple the pagination for a global region?

    I was having a delightful time using a common region defined on a global page when I determined that pagination setting was begin carried from one page to the next.  Arghhhh!  So for example, if I have paged to the second set (page) of rows (11-20) on Page 1 and then I go to Page 2, the second set (page) of rows (11-20) is displayed there.   If I go to a page which only has a first set of rows (1-10), I get the pagination error "Invalid set of rows requested, the source data of the report has been modified. Reset Pagination".  And when I click to reset, it just repeats the error.  [I suppose it tries to display the second set or rows (11-20) again -- which doesn't exist.  What's that saying about insanity?]  
    How can I decouple the pagination for a global region? I want it to operarate just as it would if it were not sharing a common region.  So if I'm looking at rows (11-20) on page 1, I can go to any other page beginning with rows 1-10 there.  Then return to page 1 where I left off with rows 11-20 displayed.  One solution is NOT to paginate but that's not my preferred solution.
    Howard

    Howard(...inTraining) wrote:
    I was having a delightful time using a common region defined on a global page when I determined that pagination setting was begin carried from one page to the next.  Arghhhh!  So for example, if I have paged to the second set (page) of rows (11-20) on Page 1 and then I go to Page 2, the second set (page) of rows (11-20) is displayed there.   If I go to a page which only has a first set of rows (1-10), I get the pagination error "Invalid set of rows requested, the source data of the report has been modified. Reset Pagination".
    The fact that there are different numbers of rows returned on different pages implies that the reports have some local page dependencies, so why try to use a global component? What's the actual requirement? How many pages does the report have to appear on? (Please say it is a report and not a tabular form...)
    How can I decouple the pagination for a global region? I want it to operarate just as it would if it were not sharing a common region.
    The point is that a global region is just that: a single region that happens to be displayed on multiple pages. It does not create multiple instances of a region on different pages. (Specifically, a region has a single region ID, and this is used to reference it whether it appears on one page or all of them. The region ID is used by the report for the purposes of AJAX refresh, pagination etc.)
    A similar situation was discussed a long time ago. I'm rather surprised that Scott regarded it as a bug: the fact that it doesn't seem to have been "fixed" or have a bug number attached may indicate that the others on the APEX team disagreed with him? I haven't tried the workaround he suggested, however I don't think it's likely to be prove a useful line of attack for your issue, as (1) it resets pagination rather than preserving it; and (2) it doesn't appear to be compatible with the AJAX PPR pagination used in more recent versions of APEX.
    I can't see any straightforward "solution" (largely because I don't think there's really a problem: the exhibited behaviour is exactly how I expect/want global regions to behave). Pagination processing is undocumented. The current 4.2 apex.widget.report.paginate JS method is specifically annotated as "for internal use only". Search the forum for custom pagination techniques. Messy looking hacks for IRs have previously been suggested.
    So if I'm looking at rows (11-20) on page 1, I can go to any other page beginning with rows 1-10 there.  Then return to page 1 where I left off with rows 11-20 displayed.  One solution is NOT to paginate but that's not my preferred solution.
    Assuming that there aren't too many pages involved, the other obvious option is to create unique regions on the required pages. You can achieve some level of reusability by creating SQL Query (PL/SQL function body returning SQL query) reports based on an external function so that there's only a single SQL source to be maintained.
    Explain the requirement in more detail. Pagination is not the only option for reducing the quantity of displayed information. Often it's better to display some of all of the data, rather than all of some of it...

  • Db_verify: PANIC: fatal region error detected; run recovery

    We have an application that is using bdb. On one of the instances it frequently hits a panic condition. db_verify reports the following:
    # db_verify -o file.db
    db_verify: PANIC: fatal region error detected; run recovery
    db_verify -VSleepycat Software: Berkeley DB 4.3.29: (June 16, 2006)
    Quitting the application and removing the __db.001 file will allow a clean restart. How do I debug where this problem might be coming from?
    thanks,
    kevin

    Hi Kevin,
    user11964780 wrote:
    # db_verify -o file.db
    db_verify: PANIC: fatal region error detected; run recoveryThis is a generic error message that means the region files are corrupted. This is most often a problem in the application.
    user11964780 wrote:
    How do I debug where this problem might be coming from?Reference Guide - Chapter 24: [ Debugging Applications|http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/debug.html]
    Bogdan Coman

  • Problem sqlite+berkeley PANIC: fatal region error detected.

    Excuse for my English and if this wrong place to explain the problem
    I'm checking to replace Berkeley DB and SQLite for testing the stability against involuntary interruptions of program I have encountered the following error:
    Berkeley DB trust in knowing his rnedimiento and stability with Subversion, but I doubt the API bridge SQLITE
    I'm testing the Berkeley DB database using the API Berkeley DB SQLITE and I did a small test program:;
    /* Open database. */
    sqlite3 *db;
    sqlite3_open("data/basedatos.db", &db);
    sqlite3_exec(db,"CREATE TABLE [test] ([key] INTEGER, [dat] varchar(64), PRIMARY KEY ([key]))",NULL,0,NULL);
    err_code = SQLITE_BUSY;
    while (err_code != SQLITE_OK ) {
         sqlite3_exec( db, "delete from test", NULL, 0, NULL );
         err_code = sqlite3_errcode( db );
    sqlite3_exec( db, "BEGIN", NULL, 0, NULL );+
    for( int i=0; i<_numCartones; i++ ) {
         char buf[1024];
         sprintf_s( buf, sizeof(buf), "insert into test( key, dat) values ( %d, 'test%d' )", i, i );
         sqlite3_exec( db, buf, NULL, 0, NULL );
    sqlite3_exec( db, "COMMIT", NULL, 0, NULL );
    sqlite3_close(db);I launched the program and insert about 150000 records in 17 seconds. Perfect!
    I created a file basedatos.db and basedatos.db-journal subdirectory with files: log.0000000016, __db.001, __db.002, __db.003, __db.004, __db.005, __db.006 and __db.register.
    Open it and prove the usefulness dbsql
    c: dbsql basedatos.db
    select count(*) from test;
    150000          ← Ok.
    Without closing the program again dbsql run the test program and this will get stuck in the call:
    sqlite3_exec( db, "delete from test", NULL, 0, NULL );I close dbsql and automatically releases the "delete from" and the test program again inserted 150,000 records
    While this by inserting 150,000 records run it again
    c: dbsql basedatos.db
    select count(*) from test; [WAIT]
    and select count (*) remains locked until you finish the test program, normal thing locks.Once you finish the select TEST responds to 150,000
    150000          ← Ok.Without closing the program again dbsql run the test program and this will get stuck in the call:
    sqlite3_exec( db, "delete from test", NULL, 0, NULL );I close dbsql and automatically releases the "delete from" and the test program again inserted 150,000 records
    while inserting test rerun:
    c: dbsql basedatos.db
    select count(*) from test;
    Error: database disk image is malformed
    and in my test program : PANIC: fatal region error detected; run recovery.
    Reviewing the files are only: badatos.db, log.0000000031, log.0000000032, log.0000000033, log.0000000034, log.0000000035, log.0000000036, __db.register.
    and __db*.* files?

    Had accidentally opened the program dbsql.exe while doing speed tests data insertion.
    While in a shell to make a select count (*) and I realized that was blocked waiting for the COMMIT release, normal thing in a process BEGIN / COMMIT.
    In one test was corrupt database which reduced the test software and simplify the test to repeat the problem.
    Today I repeated the test and the situation has changed
    1) Run test (all OK, inserted in 18 seconds 150000 entries)
    2) DBSQL run and I make a select count (*) (All Ok)
    3) DBSQL unsealed test run and stay lock on DELETE FROM
    4) DELETE FROM I close DBSQL and not released as yesterday.Repeat several times and I have the same behavior
    Move in the test code from "delete from..." begin and commit
    sqlite3_exec( db, "BEGIN", NULL, 0, NULL );
    err_code = sqlite3_errcode( db );
    err_code = SQLITE_BUSY;
    while (err_code != SQLITE_OK ) {
    sqlite3_exec( db, "delete from test", NULL, 0, NULL );
    err_code = sqlite3_errcode( db );
    for( int i=0; i<_numCartones; i++ ) {Repeat tests
    1)Test run, everything ok in 25 seconds. While inserting test this, I run realizao dbsql and a select count (*) and remains lock until test ends. Everything ok, 150000 records
    2)Dbsql unsealed test run it again and stay lock on delete until you close the program dbsql.
    3)I close dbsql and releasing the lock of seconds to delete the test the error "PANIC ..." like yesterdayRepeat several times and the behavior is the same, except that no desparencen db files.
    If I can not run dbsql test run multiple times without problems.
    Could be the problem dbsql and simultaneous access to the database?
    I'm going to migrate an application in production since SQLITE to Berkeley DB for testing.
    I have confidence in the performance of Berkeley DB and I know the proper functioning it does with subversion, but the subversion server on a server is protected with uninterrupted power.
    If I avoid using dbsql while the test software that I have that theoretical security operation will be correct when using Berkeley DB SQLITE layer and especially with unexpected off the machine?
    Thanks again for your help

  • How can I edit the Alert Description for a SQL Agent Job monitor, specifically Job Duration.

    I'm setting up some sql agent job monitoring, I need to monitor for Job Duration. 
    This is easy enough, I just create the overrides and set the parameters and it alerts as expected, however there is no alert text. The alert does me no good with out an alert description. How can I change this?
    Paul Arbogast

    Paul
    It is not an easy way for your just copy that monitor and modify it. If you has interest, you may use MP2XMLDumper tool to export SQL server monitoring MP , modify relate moniotr and import it into SCOM.
    You can download  MP2XMLDumper tool  from
    http://blogs.technet.com/b/cliveeastwood/archive/2007/08/22/mp2xmldumper-version-2-0-export-opsmgr-mp-s-to-xml-using-mp-name-export-criteria.aspx 
    Roger

  • How can you disable the alerts for find my phone app

    I have one iPad and 3 iPhones on my account. 2 of those are my kids. When I Use the find my phone App, one of my kids gets an alert that say I just tracked her, the other 2 phones don't or the iPad. How can I disable this? And why is that happening? If a phone was stolen I wouldn't want to alert the thief I was tracking them..

    I'm not sure if you can change the meesage but try here.

  • How can I localize the text of process names, task names and user actions within a process?

    I'm very interested in using the capabilities of Adobe LiveCycle Process Management for my project, however I have one rather large concern...   I hope someone here can tell me whether there's a way to address it.
    Since I work for the Government of Canada, I have to meet certain requirements relating to bilingualism of the user interface.  It's my understanding that the Workspace portion of LiveCycle has already has support for French.
    But what about the design of my processes?  How can I display text to a user in the language of their choice when they're interacting with my processes? ... in particular, I'm thinking about the process name, task names, and user actions.
    I hope that this is possible without too much pain.  I imagine this must be a pretty common requirement!
    Thanks in advance to all who respond.

    You can completely change the content of whole pdf by using "renderPDFForm" operation under service "FormsService". in this operation there is Template category where you can set the Locale.
    And if you need to change the other workspace options like Complete, Save as Draft , you can then import workspace ui project and then change apppropriate values.
    Thanks,
    Prashast

  • How can I display the last items of a region from other Oracle Portal page?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    create a stored procedure (f.e. in schema myschema create a stored proc named renderAsHTML)
    code for the procedure :
    PROCEDURE renderAsHTML(p_itemId varchar2,p_pageId varchar2,p_siteId varchar2) IS
        l_displayName  portal.wwsbr_all_items.display_name%type;
        l_name         portal.wwsbr_all_items.name%type;
        l_publishDate  varchar2(10);
        l_url varchar2(250);
    BEGIN
         -- Looking for item datas
         select display_name, name,   to_char(publish_date,'dd/mm/yyyy')
         into l_displayName,l_name, l_publishDate
         from portal.wwsbr_all_items
         where id =p_itemId and language=portal.wwctx_api.get_nls_language;
         -- getting the URL og the item
         l_url := portal.wwpob_page_util.get_page_url(p_pageId, p_siteId);
         -- HTML rendering
    htp.p('<.a href="'||l_url ||'/'|| l_name ||'">' ||  l_displayName ||'</.a><.br/>');
    htp.p('Published on ' || l_publishDate ');
    EXCEPTION
        WHEN others THEN
               htp.p('<.div>Somme error occured , code is ' || SQLCODE || '.</.div>');
    END renderAsHTML;
    please notice that I've added a dot in HTML tags to avoid this forum to interpret them
    note : make sure that you granted "execute" for the public user on teh procedure you've just created.
    go to item properties (navigator>shared objects>item types>modify the one you want
    go to tab3 (procedures)
    set the following options :
    type : PL/SQL
    call proc : myschema.renderAsHTML
    link text : render as HTML
    icon : keep blank
    select the "display proc results with the item" option
    pass the following parameters :
    attribute1 : item ID as p_itemId
    attribute1 : page ID as p_pageId
    attribute1 : pagegroup as p_siteId
    Now, in your custom search portlet, go to results rendering, remove all attributes and add the "associated function" attribute.
    Now, all the HTML generated by the stored proc will be rendered instead of the item.

  • How can I solve the problem of panic.ips in my iphone 5?

    Hi to all. I'm new on this kind of communities. I've updated my Iphone 5 to IOS 7.1.1, my problem is that since a did this updated mi iphone began to restart automatically no matter wich aplication im working.
    I've revised the use diagnostice and it shows a text about panic.ips.  Somebody can help me to know if this is a hardware problem or software problem and if it can be solve?
    Thank you.

    Hi Odragde,
    Thanks for visiting Apple Support Communities.
    If your iPhone is restarting unexpectedly after updating the iOS software, start with step 5 in this troubleshooting guide:
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/TS2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Best,
    Jeremy

  • How can I display de last items of a region from other page in Portal?

    I want to display de last five items (f.e.) included in a region (with attributes created) from other page. I've tried using custom search, but it also shows the attribute names, and I want show the attribute values (I don´t know how can I format these attributes).
    Thanks a lot.

    How can I display the last items of a region from other Oracle Portal page?

  • I need help!!how can i resolve the error message?

         Security.addProvider(new com.sun.crypto.provider.SunJCE());
    KeyGenerator kg = KeyGenerator.getInstance("DES");
    Key key = kg.generateKey();
    Cipher cipher = Cipher.getInstance("DES");
    byte[] data = "Hello World!".getBytes();
    out.println("Original data : " + new String(data));
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] result = cipher.doFinal(data);
    out.println("Encrypted data: " + new String(result));
                   String temp=new String(result); //error occure here!
    cipher.init(Cipher.DECRYPT_MODE, key);
    byte[] original = cipher.doFinal(temp.getBytes()); //if replace temp.getBytes() to result,that's ok��
    out.println("Decrypted data: " + new String(original));
    error message��
    javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at javax.crypto.Cipher.doFinal(DashoA6275)
    and how can i post the key and Encrypted data to columns whose type is varchar in a table in my database,and next time to get the values from my database and translate to key to Decrypte the Encrypted data ?
    thanks!!

    I presume the no-padding error is happening when you attempt to do the decryption. This means, that in some way, you've modified the encrypted data, and the size of the data is not what the cipher object expects. You don't show all your code here, but most likely, you tried to put result into a string (temp?) and when you do your temp.getBytes(), the array of bytes you're getting back is not the same as the array called result in your post.
    Steve

  • How can i start the Admin server? may be this will be like clue: "When i try to start the iplanet suite with the start-admin script, i receive the following error:

    bash-2.03# ./start-admin
    AdmInit: Failed to perform security initialization for communicate with LDAP in SSL mode (error code = -1) Exit
    so i can not login to console (./startconsole) because the "admin-serv" is not up: "Can not connect to the Admin Server "http://myserver.com:myportnumber/" The URL is not correct or the server is not running." any ideas..."
    ---------------------Seumas Froemke on 1/15/2002 said: ----------------
    "I'm not familiar with the error, but I'll throw in my two cents and hope it leads you somewhere.
    First, be sure you start things in the correct order. LDAP->Admin->Console.
    Be sure you've set nsadminservaccessaddresses and nsadminaccesshosts.
    Do you have problems starting everything up when you aren't using SSL mode?
    You can put startconsole into debug mode with startconsole -D 9 but I don't think there is a start-admin debug mode. You'd have to settle for a truss.
    All in all, you should ask this in the LDAP (User Management & Policy) forum."
    --------------------and i wrote: -------------------------------------
    Homero Borgo Valdez on 1/18/2002 said:
    "I start things in the correct order.
    how can i check the nsadminservaccessaddresses and nsadminaccesshosts settings (i'm new on this suite as you can see).
    if i moved some checkbox when the console was ok how can i view that settings in text mode?
    by the way i have another server that can sun console well (port 2125) so what file can i compare to change some wrong settings?
    thanks anyway, another idea?"
    --------------------so following the commnets i put this history here ----
    help please!!

    jvm file is in your system file folder.so you can delete that jvm file and to run as it is.

Maybe you are looking for

  • ALV TO EXCEL Using 'ALV_XXL_CALL'

    Hi, This is very urgent. you will reward points. We are trying to convert ALV TO EXCEL using this FM 'ALV_XXL_CALL' we are getting' Type conflict Error'.   i_fieldcat TYPE slis_t_fieldcat_alv. " Field catalog w_fieldcat TYPE slis_fieldcat_alv. Column

  • Photoshop CC "locks down"

    PC; When I launch Adobe Photoshop CC, that I bought, the app "locks" down. It disables my power to create new files, etc. I have contacted multiple times, and all technicians failed to fix it. Any ideas? P.S. Happy Holidays.

  • I can´t dowload Mountain Lion from App store

    Could you help me?

  • Docking my hard drive and reading PC files on a Mac

    I just removed my PC hard drive and put it into a hard drive dock that connects to a PC via a USB plug.  I plugged it into a USB port on my new MacBook Pro.  I was surprised that the files seemed to be able to be read.  I thought that the formatting

  • BW WAD is giveing java error due to duplicate user mapping

    Hi, In BW WAD is opening with some user IDs successfully.But for some user IDs it is giving jav error. BW and portal integration is correct and SSO also configured properly.The problem is duplicate usermapping.How to find out ABAP ID is mapped to use