ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Exception in global cache after applying fix pack 8.0.0.5

Post new topic  Reply to topic
 Exception in global cache after applying fix pack 8.0.0.5 « View previous topic :: View next topic » 
Author Message
raviwmbprofile
PostPosted: Thu Aug 20, 2015 1:12 am    Post subject: Exception in global cache after applying fix pack 8.0.0.5 Reply with quote

Newbie

Joined: 19 Aug 2015
Posts: 2

We have applied fix pack 8.0.0.5 on the windows machine and encountered exception while storing content in global cache.
the exception we encountered is

Text:CHARACTER:Error setting TTL
Insert
Type:INTEGER:5
Text:CHARACTER:myMap
Insert
Type:INTEGER:5
Text:CHARACTER:WMB
Insert
Type:INTEGER:5
Text:CHARACTER:Invalid TTL: 3600 Error: ObjectMap.setTimeToLive method can not be used for NONE TTLType


even after changing the fix pack capability level, unable to get rid of the issue . this is happening while invoking the below java statement

MbGlobalMapSessionPolicy session=new MbGlobalMapSessionPolicy(3600);

in one of the lower environment (SIT), the issue got resolved after setting the fixpack capability to 8.0.0.5 but in UAT we are not able to solve the issue setting the fixpack capability to 8.0.0.5.

need your help in resolving this.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Aug 20, 2015 5:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What's the code for adding data to the cache?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
raviwmbprofile
PostPosted: Mon Aug 24, 2015 11:18 pm    Post subject: Reply with quote

Newbie

Joined: 19 Aug 2015
Posts: 2

Apologies for late response, below is the code..

public static void storeProductInfo(String strProductName,
MbElement referenceName,String keepAliveTime) {



try {

Integer aliveTime = new Integer(keepAliveTime);
MbGlobalMapSessionPolicy sessionPolicy = new MbGlobalMapSessionPolicy(aliveTime);
// Create a global map or retrieve the existing one
MbGlobalMap globalMap = MbGlobalMap.getGlobalMap("Map",sessionPolicy);


Immediately after this statement, we are getting the exception..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Exception in global cache after applying fix pack 8.0.0.5
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.