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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2010/03/26 01:38:27 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 ]

Kathey Marsden updated DERBY-4598:
----------------------------------

    Issue & fix info: [Patch Available]

I noticed even when I shut down just one database I get a message like:

2010-03-26 00:04:03.109 GMT:
Shutting down instance a816c00e-0127-97c8-0469-00000020efb0 with class loader sun.misc.Launcher$AppClassLoader@45804580 

I thought you saw the database name in this context and Derby itself was still loaded.

Anyway, I think only the three changes are needed to show the class loader on boot, shutdown and failed boot attempt. Running tests now and marking patch available.

> 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
>            Priority: Minor
>
> 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.
-
You can reply to this email to add a comment to the issue online.