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 » Issue in Removing global Cache

Post new topic  Reply to topic
 Issue in Removing global Cache « View previous topic :: View next topic » 
Author Message
mahesh2069
PostPosted: Wed Jul 17, 2013 5:55 am    Post subject: Issue in Removing global Cache Reply with quote

Centurion

Joined: 26 Jun 2013
Posts: 103

Hi All,

For remove global cache ,I use MbGlobalMapSessionPolicy object,I gave timetoLive time as parameter to MbGlobalMapSessionPolicy constructor. I got exception while this object gave input to MBGlobalMap object.

In JCN I write


Code:

   MbGlobalMapSessionPolicy session=new MbGlobalMapSessionPolicy(100);
         // session.setTimeToLive(100);
           MbGlobalMap map=MbGlobalMap.getGlobalMap("myMap",session);
         //MbGlobalMap map=MbGlobalMap.getGlobalMap("myMap");
            
            map.put(1,"Mahi");
            map.put(2, "sai");


I got following excetion

Invalid TTL: 100 Error: ObjectMap.setTimeToLive method can not be used for NONE TTLType


Code:


ExceptionList
   RecoverableException
         File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\ImbDataFlowNode.cpp
         Line:INTEGER:1154
         Function:CHARACTER:ImbDataFlowNode::createExceptionList
         Type:CHARACTER:ComIbmMQInputNode
         Name:CHARACTER:MbGlobalMap_MF#FCMComposite_1_1
         Label:CHARACTER:MbGlobalMap_MF.MQ Input
         Catalog:CHARACTER:BIPmsgs
         Severity:INTEGER:3
         Number:INTEGER:2230
         Text:CHARACTER:Node throwing exception
         RecoverableException
               File:CHARACTER:F:\build\slot1\S800_P\src\DataFlowEngine\PluginInterface\ImbJniNode.cpp
               Line:INTEGER:1267
               Function:CHARACTER:ImbJniNode::evaluate
               Type:CHARACTER:ComIbmJavaComputeNode
               Name:CHARACTER:MbGlobalMap_MF#FCMComposite_1_4
               Label:CHARACTER:MbGlobalMap_MF.Java Compute
               Catalog:CHARACTER:BIPmsgs
               Severity:INTEGER:3
               Number:INTEGER:2230
               Text:CHARACTER:Caught exception and rethrowing
               RecoverableException
                     File:CHARACTER:MbGlobalMapInternal.java
                     Line:INTEGER:130
                     Function:CHARACTER:initialize
                     Type:CHARACTER:
                     Name:CHARACTER:
                     Label:CHARACTER:
                     Catalog:CHARACTER:BIPmsgs
                     Severity:INTEGER:3
                     Number:INTEGER:7165
                     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: 100 Error: ObjectMap.setTimeToLive method can not be used for NONE TTLType

_________________
Thanks & Regards
Mahesh Mediboyina
WMB Developer
Back to top
View user's profile Send private message
iShakir
PostPosted: Thu Jul 18, 2013 12:48 am    Post subject: Reply with quote

Apprentice

Joined: 07 Mar 2013
Posts: 47

Hi,

I'm struggling to immediately reproduce this. You haven't provided line numbers, Is the exception happening on the line below?

Code:
MbGlobalMap map=MbGlobalMap.getGlobalMap("myMap",session);


Also what platform are you running on?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 18, 2013 12:50 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Are you using Broker v8.0.0.2?
Back to top
View user's profile Send private message
mahesh2069
PostPosted: Fri Jul 19, 2013 6:38 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2013
Posts: 103

Yah ,I am Using WMB 8.0.0.2 , in before version which jar file need to add in class path?
_________________
Thanks & Regards
Mahesh Mediboyina
WMB Developer
Back to top
View user's profile Send private message
mahesh2069
PostPosted: Fri Jul 19, 2013 6:42 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2013
Posts: 103

I got execption here

MbGlobalMapSessionPolicy session=new MbGlobalMapSessionPolicy(100);

When instantiate session policy object
_________________
Thanks & Regards
Mahesh Mediboyina
WMB Developer
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 19, 2013 6:56 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Whats the effective level of your runtime?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mahesh2069
PostPosted: Fri Jul 19, 2013 9:18 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2013
Posts: 103

wmb broker 8.0.0.2
_________________
Thanks & Regards
Mahesh Mediboyina
WMB Developer
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Jul 19, 2013 9:34 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mahesh2069 wrote:
wmb broker 8.0.0.2


This is your version. Please post the output of mqsireportbroker.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
iShakir
PostPosted: Mon Jul 22, 2013 12:36 am    Post subject: Reply with quote

Apprentice

Joined: 07 Mar 2013
Posts: 47

mahesh2069 wrote:
I got execption here

MbGlobalMapSessionPolicy session=new MbGlobalMapSessionPolicy(100);

When instantiate session policy object


It's likely that you haven't enabled fixpack function for your broker (as lancelotlinc suggested.) In future to diagnose this run:

Code:
mqsiservice <broker_name> -v


and take a look at the "Fixpack Capability Level".

In order to fix this problem you will need to enable the v8002 function for your broker, which can be done by running:

Code:
mqsichangebroker <broker_name> -f all
Back to top
View user's profile Send private message
mahesh2069
PostPosted: Mon Jul 22, 2013 1:24 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2013
Posts: 103

Hi iShakir,
Thank you.After enabling the v8002 function for broker,It's working fine
_________________
Thanks & Regards
Mahesh Mediboyina
WMB Developer
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Jul 22, 2013 3:15 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mahesh2069 wrote:
After enabling the v8002 function for broker,It's working fine


Which is what we repeatedly told you , even at the very first , but you kept posting on the forum that GlobalCache was not working for you. Don't bother posting here if you refuse to read the InfoCentre, get the training, or listen to people.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Issue in Removing global Cache
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.