I don't believe this was the cause of the failures I was receiving. In order for the tests I was working with to function, the two servers needed to agree on the RMIRegistry. There's no mechanism that allows me to change the value in the other server, and I found I was unable to force the Geronimo configuration back to 1099 with that change in place.
Rick

Anita Kulshreshtha wrote:
    Some more information:
When this warning occurs the following MBeans are not created: org.apache.activemq:
      Queue -
org.apache.activemq.JMSQueueSendReceiveTwoConnectionsStartBeforeBrokerTesttestSendReceive

      Topic -   ActiveMQ.Adivisory.Queue
ActiveMQ.Adivisory.Consumer.Queue.org.apache.activemq.JMSQueueSendReceiveTwoConnectionsStartBeforeBrokerTesttestSendReceive This might have caused some failures when the port was changed to
1098. Does anyone know if making this port configurable is the answer?
If yes, how?

Thanks
Anita

--- Anita Kulshreshtha <[EMAIL PROTECTED]> wrote:

Kevan,
  Thanks again! The information you provided saved me a lot of time..
I
found that ManagementContext [1] is using ConnectorPort set to 1099.
Should we wrap this in a GBean to be able configure this port?

[1]

https://svn.apache.org/repos/asf/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/jmx/ManagementContext.java
Thanks
Anita

--- Kevan Miller <[EMAIL PROTECTED]> wrote:

On Apr 13, 2007, at 11:59 AM, Anita Kulshreshtha wrote:

David B,
The activemq-core jar is being used by openejb-activemq. I looked at
BrokerServer, but nothing jumped at me.. Any help will be greatly
appreciated.
Anita, it's the ActiveMQ GBean that's being started. It's being created during the start of the OpenEJB module, but it's just a dependency. OpenEJB isn't doing anything directly...

FYI, here's a stack trace:

Thread [main] (Suspended (breakpoint at line 382 in
ManagementContext))     
        ManagementContext.createConnector(MBeanServer) line: 382        
        ManagementContext.findMBeanServer() line: 301   
        ManagementContext.getMBeanServer() line: 154    
        ManagementContext.start() line: 78      
        BrokerService.start() line: 391 
        BrokerServiceGBeanImpl.doStart() line: 95       
        GBeanInstance.createInstance() line: 986        
        GBeanInstanceState.attemptFullStart() line: 267 
        GBeanInstanceState.start() line: 102    
        GBeanInstance.start() line: 529 
        GBeanDependency.attemptFullStart() line: 111    
        GBeanDependency.addTarget(AbstractName) line: 146       
         ...

Not sure if (or how) the ManagementContext behavior can be
altered...
Can I assume you'll look into this? :-)

--kevan

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Reply via email to