[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: danielnb  XML
Profile for danielnb -> Messages posted by danielnb [2]
Author Message
Siyer,

Thank you for the reply. Your answers are very helpful. I am still confused about one point. If hash maps are shareable in DSO, why am I getting the logically managed class error? Is there some special configuration that needs to be added to the tc-config.xml to make the hash maps work?

Thanks in advance,
Daniel
Hi,

I'm trying to get our web application running under Terracotta and am running into some stumbling blocks.

Now, I am getting this error and I can't seem to figure out what the problem is:

[02 Jun 2006 13:05:17,005] [TP-Processor3] WARN [runtime] Non Portable Object com.determine.definition.DefinitionSubMap@f6dc90 is added to the Shared graph.
com.tc.exception.TCNonPortableObjectException:
**********************************************************************************************
Attempt to share an instance of a non-portable class referenced by a portable class. This
unshareable class has a logically-managed superclass. Subclasses of logically-managed
classes cannot be shared. Please either modify the class hierarchy or ensure that instances of
this class don't enter the shared object graph.

Referring class : java.util.Hashtable
Thread : TP-Processor3
JVM ID : VM(7)
Unshareable class : com.determine.definition.DefinitionSubMap
Logically-managed superclass names: java.util.LinkedHashMap
**********************************************************************************************

at com.tc.object.ClientObjectManagerImpl.throwNonPortableException(ClientObjectManagerImpl.java:428)
at com.tc.object.ClientObjectManagerImpl.checkPortabilityOfTraversedRefernce(ClientObjectManagerImpl.java:370)
at com.tc.object.ClientObjectManagerImpl.access$500(ClientObjectManagerImpl.java:55)
at com.tc.object.ClientObjectManagerImpl$NewObjectTraverseTest.checkPortability(ClientObjectManagerImpl.java:605)
at com.tc.object.Traverser.addReferencedObjects(Traverser.java:44)
at com.tc.object.Traverser.traverse(Traverser.java:78)
at com.tc.object.ClientObjectManagerImpl.addToManagedFromRoot(ClientObjectManagerImpl.java:579)


Here are my questions.

1) Why am I getting the above error?
2) What is a logically-managed class?
3) Can LinkedHashMaps be shared?
4) Can ConcurrentHashMaps be shared?
5) Will Terracotta DSO run properly under Tomcat 5.5?
6) Will Terracotta Sessions run properly under Tomcat 5.5?

We would be very interested in talking with you guys more. Is there anyone available to give a presentation of your technology to our engineering team?

Regards,
Daniel Barbosa
 
Profile for danielnb -> Messages posted by danielnb [2]
Go to:   
Powered by JForum 2.1.7 © JForum Team