db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4598) Print class loader used to boot and shutdown derby in derby.log
Date Fri, 26 Mar 2010 19:20:27 GMT

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

Kathey Marsden updated DERBY-4598:

    Attachment: DERBY-4598_withmasters_diff.txt

Attaching a patch for this issue which I will commit in a bit DERBY-4598_withmasters_diff.txt
which includes the master updates needed for the expanded error message.  I just changed Sed.java
to mask out the class loader object and hash code instead of making  a bunch of new sed files.

 I noticed I accidentally attached the first patch to DERBY-4588.  I will just delete that
one.  This is the right patch for this issue. I will commit in a bit.

> 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:
>            Reporter: Kathey Marsden
>            Priority: Minor
>         Attachments: 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 - 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.

View raw message