Bugs item #582005, was opened at 2002-07-15 16:51
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=582005&group_id=22866

Category: JBossMQ
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Elias Ross (genman)
Assigned to: Nobody/Anonymous (nobody)
Summary: org.jboss.mq.pm.rollinglogged

Initial Comment:

According to the documentation regarding rollinglogged PM:

http://www.jboss.org/online-manual/HTML/ch06s07.html

I should be able to run the rollinglogged PM:

  <!-- The PersistenceManager is used to store messages to disk. -->
  <mbean code="org.jboss.mq.pm.rollinglogged.PersistenceManager"
         name="jboss.mq:service=PersistenceManager">
    <attribute name="DataDirectory">/tmp/db/jbossmq/file</attribute>
    <depends 
optional-attribute-name="MessageCache">jboss.mq:service=MessageCache</depends>
  </mbean>

However, it fails:

16:45:36,151 INFO  [PersistenceManager] Starting
16:45:36,159 ERROR [PersistenceManager] Starting failed
ReflectionException: null
Cause: java.lang.NoSuchMethodException: Unable to locate method for: getInstance()
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:288)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
        at 
org.jboss.mq.pm.rollinglogged.PersistenceManager.startService(PersistenceManager.java:268)

Apparently, the getInstance method now takes no parameters:


Changes (not tested):

      messageCache = (MessageCache)
         getServer().getAttribute(messageCacheName, "Instance");

      /*
      messageCache = (MessageCache)
         getServer().invoke(messageCacheName,
                            "getInstance",
                            new Object[0], new String[0]);
      */




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=582005&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing 
real-time communications platform! Don't just IM. Build it in! 
http://www.jabber.com/osdn/xim
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to