Author |
Message |
08/01/2006 06:16:43
|
sachin
neo
Joined: 07/28/2006 04:22:53
Messages: 9
Offline
|
Hi,
In our application we want a ConcurrentHashMap to be shared across cluster. When we shared this object in tc-config.xml , then it has given the error :
**********************************************************
Attempt to share an instance of a non-portable class referenced by a portable class. This
unshareable class is a JVM- or host machine-specific resource. Please ensure that instances
of this class don't enter the shared object graph.
Referring class : com.geodesiconline.xmpp.Resource
Referring field : com.geodesiconline.xmpp.Resource.directedUsers
Thread : pool-2-thread-9
JVM ID : VM(3)
Unshareable class: java.util.concurrent.ConcurrentHashMap
***********************************************************
To overcome this we added this class to <additional-boot-jar-classes> for pre-instrumentation.
But it leads with giving the warning
********************* WARNING ******************************
* The following set of classes are non-adaptable types and have not been
* included in the boot jar. Please remove them in the
* <additional-boot-jar-classes> section of the terracotta config:
* [java.util.concurrent.ConcurrentHashMap]
****************************************************************************
Does the warning mean that we cannot use ConcurrentHashMap with Terracotta ?
Kindly, revert back regarding this.
Regards,
Sachin.
|
|
|
08/01/2006 08:00:45
|
bchever
journeyman
Joined: 05/24/2006 15:10:55
Messages: 18
Offline
|
Hi, Sachin.
Thanks for writing.
Yes, you are correct. As per page 25 of the TerracottaSessionsQuickStart.pdf;
"The java.util.concurrent package is not supported in this release of Terracotta. However, support for this package will be available in a future release of Terracotta."
Check back online for new releases. I will also see about getting you automatically notified when a new release is available that specifically addresses that package.
Sincerely,
|
Bill Chever
Product Support Manager
Terracotta, Inc. |
|
|
08/01/2006 22:08:09
|
sachin
neo
Joined: 07/28/2006 04:22:53
Messages: 9
Offline
|
thanks for the reply, and i'll appreciate if you'll keep me updated
|
|
|
09/13/2006 12:22:47
|
bchever
journeyman
Joined: 05/24/2006 15:10:55
Messages: 18
Offline
|
Sachin,
Our newest release of the Terracotta product suite , version 2.1, is online and available at:
https://www.terracottatech.com/downloads.jsp
These kits add support for additional classes including java.util.concurrent.ConcurrentHashMap.
Thanks for your patience.
|
Bill Chever
Product Support Manager
Terracotta, Inc. |
|
|
|