[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]
[Solved] Is ConcurrentLinkedQueue a non portable class?  XML
Forum Index -> General
Author Message
neochu19

journeyman

Joined: 06/05/2008 04:05:59
Messages: 26
Offline

Hi all,
I'm using TC 2.6.2.
I got this exception in launching my application.
Code:
Unshareable class     : java.util.concurrent.ConcurrentLinkedQueue
 
 Action to take:
 
 1) Change your application code
    * Ensure that no instances or subclass instances of java.util.concurrent.ConcurrentLinkedQueue
      are assigned to the DSO root: com.lingway.tc.proto.MyRoots.queryQueue

I thought this class is supported in TC 2.6 version.
Can somebody please confirm this fact for me?
Thanks in advance.
Chu
gbevin

praetor

Joined: 07/04/2007 09:09:42
Messages: 210
Offline

Hi Chu,

ConcurrentLinkedQueue isn't supported yet. You can find more information here:
http://terracotta.org/confluence/display/docs1/Non-portable+Classes

Afaik, the list for v2.5 is still appropriate for v2.6.

Best regards,

Geert

Want to post to this forum? Join the Terracotta Community
neochu19

journeyman

Joined: 06/05/2008 04:05:59
Messages: 26
Offline

Hi Geert,
Thanks for your quick reply.

I was misunderstading because of this phrase "Unsupported Classes in Terracotta v. 2.4 and 2.5".
Moreover, the list is not totally exact. For instance, the java.util.concurrent.LinkedBlockingDeque is figured there. But I see a recipe to use it : http://www.terracotta.org/confluence/display/howto/Recipe?recipe=linkedblockingqueue

So if you can update the list, it would be useful.
Regards,
Chu
gbevin

praetor

Joined: 07/04/2007 09:09:42
Messages: 210
Offline

Hi Chu,

I filed a task in Jira to update that documentation page.

However LinkedBlockingDeque is really not portable, the example you refer to uses LinkedBlockingQueue which is another class.

Best regards,

Geert

Want to post to this forum? Join the Terracotta Community
neochu19

journeyman

Joined: 06/05/2008 04:05:59
Messages: 26
Offline

Hi Geert,
My mistake! Thanks for helping me again!
Regards,
Chu
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.7 © JForum Team