0 Replies Latest reply on Jan 21, 2005 8:59 AM by jarva55

    Mbean persistence problem

    jarva55

      I was trying to provide persistence to one of my MBeans, but it seems it doesn't go. My xml is like that:

      <mbean code="org.jboss.cache.TreeCache"
       name="jboss.cache:service=TreeCache" xm-bean-dd="resource:TreeCache-xmbean.xml">
      
       <depends>jboss:service=Naming</depends>
       <depends>jboss:service=TransactionManager</depends>
      
       <!-- XMBean Descriptor BEGIN -->
       <xmbean>
       <description>TreeCache</description>
       <descriptors>
       <persistence persistPolicy="OnUpdate"/>
       <persistence-manager value="org.jboss.mx.persistence.DelegatingPersistenceManager"/>
       </descriptors>
      
       <class>org.jboss.cache.TreeCache</class>
      
       <!--
       Number of milliseconds to wait until all responses for a
       synchronous call have been received.
       -->
       <attribute access="read-write" getMethod="getSyncReplTimeout" setMethod="setSyncReplTimeout">
       <name>SyncReplTimeout</name>
       <type>long</type>
       <value>5555</value>
       </attribute>
       </xmbean>
       <!-- XMBean Descriptor END -->
      
      ...........
      

      Where is the problem?