You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kim Haase (Closed) (JIRA)" <ji...@apache.org> on 2011/11/03 15:15:32 UTC

[jira] [Closed] (DERBY-4727) Document derby.stream.error.logBootTrace=true diagnostic property

     [ https://issues.apache.org/jira/browse/DERBY-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kim Haase closed DERBY-4727.
----------------------------


Fixes appeared in 10.8.1 documentation, so closing.
                
> Document derby.stream.error.logBootTrace=true  diagnostic  property
> -------------------------------------------------------------------
>
>                 Key: DERBY-4727
>                 URL: https://issues.apache.org/jira/browse/DERBY-4727
>             Project: Derby
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 10.7.1.1
>            Reporter: Kathey Marsden
>            Assignee: Kim Haase
>            Priority: Minor
>             Fix For: 10.8.1.2
>
>         Attachments: DERBY-4727.diff, DERBY-4727.stat, DERBY-4727.zip
>
>
> With the fix for DERBY-4588, the diagnostic property derby.stream.error.logBootTrace can be used to diagnose dual boot issues.  Typically when two jvm's or class loaders attempt to boot derby the error message below will appear:
> ERROR XJ040: Failed to start database 'testdb' with class loader sun.misc.Launch
> er$AppClassLoader@481e481e, see the next exception for details.
> ERROR XSDB6: Another instance of Derby may have already booted the database C:\derby\testdb
> and will show the stack trace and class loader of the failed boot attempt. It is sometimes also useful to see the stack trace when the first successful boot attempt occured. To see the stack trace of successful boots and shutdowns, set derby.stream.error.logBootTrace=true to trace the successful attempt.  If you think that both attempts should be from the same class loader context, check also the class loader information for boot and shutdown attempts and make sure they all come from the same class loader context.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira