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

Kathey Marsden updated DERBY-4588:
----------------------------------

    Attachment: DERBY-4588_quickfix_diff.txt

Attached is a quick fix for this issue.  I verified it basically works but have 
not run tests. A couple of things to note.
1) The "boot trace" and "shutdown trace"  messages are not localized. I don't 
think derby.log entries need to be or do they?

2)I thought it would also be nice to print a stack trace on shutdown, so added 
that too, but left the property name at derby.stream.error.logBootTrace.

I have not run tests and will be out for a week, so if someone wants to pick 
this up, run tests,  and get it committed that would be great.

Kathey 

> Provide a diagnostic property that will print a stack trace on successful 
> boot to help diagnose dual boot issues after the DERBY-700 fix
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4588
>                 URL: https://issues.apache.org/jira/browse/DERBY-4588
>             Project: Derby
>          Issue Type: Improvement
>          Components: Services
>    Affects Versions: 10.1.3.1, 10.2.2.0, 10.3.3.0, 10.5.3.0
>            Reporter: Kathey Marsden
>            Assignee: Kathey Marsden
>         Attachments: DERBY-4588_quickfix_diff.txt
>
>
> Now that DERBY-700 has been fixed, some users upgrading to the 1.6 JVM are 
> seeing an error on dual boot where they did not before (which is of course is 
> a very good thing).  They  do however at that time need to diagnose where the 
> dual boot is coming from which is sometimes harder than one might think with 
> a complex system and legacy code.  It would be helpful to have a property 
> that they could set which would print a stack trace on any boot attempt, even 
> if successful,  to help diagnose the application error, maybe:
> derby.stream.error.logBootTrace=true

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to