Author |
Message |
04/11/2007 23:26:15
|
vijay
journeyman
Joined: 03/02/2007 06:07:24
Messages: 22
Offline
|
Hi all,
Is it necessary that any class object coming under root needs to be instrumented(i.e that class needs a mention under <instrumented-classes> )?
Is there any way I can prevent classes under root from being instrumented?
Any thoughts.
|
|
|
04/12/2007 07:04:52
|
Gordon
journeyman
Joined: 12/13/2006 00:38:30
Messages: 44
Offline
|
Hi Vijay,
Yes, any object referenced by a shared object needs to be instrumented. If you wish to avoid instrumenting a particular class, you could mark it as transient, such that it is not replicated as part of the shared object graph. But then, of course, you would have to accommodate the fact that the field marked transient would be null on nodes to which the shared object had been replicated. Information on how to do this is provided in the following thread:
http://forums.terracotta.org/forums/posts/list/193.page
|
Regards,
Gordon
Sr. Systems Engineer
Terracotta, Inc. |
|
|
04/12/2007 09:17:38
|
kbhasin
consul
Joined: 12/04/2006 13:08:21
Messages: 340
Offline
|
You will also find this link useful:
http://www.terracotta.org/confluence/display/docs1/Troubleshooting+Guide#TroubleshootingGuide-Iamgettingcom.tc.exception.TCNonPortableObjectException.Whatnext%3F
Regards,
Kunal Bhasin.
|
Regards,
Kunal Bhasin,
Terracotta, Inc.
Be a part of the Terracotta community: Join now! |
|
|
|