|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Exception in global cache after applying fix pack 8.0.0.5 |
« View previous topic :: View next topic » |
Author |
Message
|
raviwmbprofile |
Posted: Thu Aug 20, 2015 1:12 am Post subject: Exception in global cache after applying fix pack 8.0.0.5 |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Aug 20, 2015 5:04 am Post subject: |
|
|
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 |
|
 |
raviwmbprofile |
Posted: Mon Aug 24, 2015 11:18 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|