Hi,
I have a problem of "dangling objects". More specific we have two objects (the same) but are not identical. Some object in the System point to one and other objects point to the other. (OrbeonApplication getAnyApplicationNamed: 'ue') asOop 421403905. (BpmProcessDefinition getLatestProcessDefinitionNamed: 'visa-appliance' in: 'ue') application asOop 114898689. They must be identical (same oop), of course this is a bug in our software. But i want to now when both object were created, is this possible ? i have searched in System and SystemRepository (Repository) classes for method to get this info but so far no luck. regards, bruno -- Sent from: http://forum.world.st/GLASS-f1460844.html _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Bruno, If you still have the tranlogs that were generated when you suspect these objects were created, you can use the $GEMSTONE/bin/searchlogs script to scan the tranlogs for selected oops and print out information about them (creation, changes, gc activity). Another useful script for tranlog analysis is $GEMSTONE/bin/printLogs. Run these with -h for more details on usage. The information printed out by these is *very* low-level (they were originally developed to assist GemTalk Developers in analyzing system behavior and diagnosing bugs) and can be challenging for customers to use, but can be useful once you're familiar with the output they generate. Note that changes to these objects will also appear in the tranlogs, as well as events related to earlier "incarnations" of the same oop and when the oop was garbage collected, so some interpretation and analysis will be needed.Since you're not sure exactly when this happened, you may only be able to *try* and find when it happened by using searchlogs on as many tranlogs as you have available and hoping for the best. Good Luck. ------------------------------ Bill Erickson GemTalk Systems Engineering 15220 NW Greenbrier Parkway #240, Beaverton OR 97006 ------------------------------ On Wed, Dec 6, 2017 at 3:44 PM, BrunoBB via Glass <[hidden email]> wrote: Hi, _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Bill,
Thanks very much for the information. Now reading System Administration Guide chapter: "Object State Change Tracking". Just for the record.. with DevKit we have to define $GEMSTONE variable: export GEMSTONE=/home/gemstone/GsDevKit_home/shared/downloads/products/GemStone64Bit3.3.3-x86_64.Linux/ export PATH=$GEMSTONE/bin:$PATH searchlogs 421403905 Right now analyzing results... Thanks again :) regards, Bruno -- Sent from: http://forum.world.st/GLASS-f1460844.html _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
On Thu, Dec 7, 2017 at 10:13 PM, BrunoBB via Glass <[hidden email]> wrote: Bill, Hi Bruno, that variable export is not needed. All you have to do is: cd $GS_HOME/server/stones/yourStone source stone.env Then you will get $GEMSTONE exported as well as all the rest from stone.env Cheers, Right now analyzing results... _______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
.... and there is a custom_stone.env in each stone directory where you can add custom env vars. custom_stone.env is sourced by stone.env as well .. Dale On 12/8/17 9:04 AM, Mariano Martinez
Peck via Glass wrote:
_______________________________________________ Glass mailing list [hidden email] http://lists.gemtalksystems.com/mailman/listinfo/glass |
Free forum by Nabble | Edit this page |