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 "Lily Wei (JIRA)" <ji...@apache.org> on 2010/04/15 17:54:50 UTC

[jira] Updated: (DERBY-4598) Print class loader used to boot and shutdown derby in derby.log

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

Lily Wei updated DERBY-4598:
----------------------------

    Attachment: DERBY-4598_withmasters_10.5_diff.txt

Port the same patch to 10.5. Everything looks safe and good. Derbyall passed. I am running suites.all test suite.

> Print class loader used to boot and shutdown derby in derby.log 
> ----------------------------------------------------------------
>
>                 Key: DERBY-4598
>                 URL: https://issues.apache.org/jira/browse/DERBY-4598
>             Project: Derby
>          Issue Type: Bug
>          Components: Services
>    Affects Versions: 10.5.3.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: DERBY-4598_withmasters_10.5_diff.txt, DERBY-4598_withmasters_diff.txt
>
>
> It would be good to print the class loader used to boot and shutdown derby.   When using class loaders, it is important to use the same class loader when shutting down or it doesn't really shutdown at all.  Doing this will make it easier to diagnose such problems.  I think it is ok to just leave it as the normal behavior as it does not add too much bulk to the log.
> 2010-03-25 20:57:57.781 GMT:
>  Booting Derby version The Apache Software Foundation - Apache Derby - 10.6.0.0 alpha - (927552M): instance a816c00e-012
> 7-971d-fe59-000000107bb8
> on database directory C:\kmarsden\repro\DERBY-4588\wombat   with class loader sun.misc.Launcher$AppClassLoader@42ed42ed
> Database Class Loader started - derby.database.classpath=''
> 2010-03-25 20:58:10.109 GMT:
> Shutting down instance a816c00e-0127-971d-fe59-000000107bb8 with class loader sun.misc.Launcher$AppClassLoader@42ed42ed
> ----------------------------------------------------------------
> Note it is important to set derby.infolog.append=true or the different class loaders will clobber the log.

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