Should we be creating a minimal Geronimo "Instance" server, which creates the RMI Registry on 1099 and then provide JMX and cmdline commands to start/stop, create/delete server instances? That way, we could still support the current single-server setup and behavior, but provide an advanced horizontal scaling feature for user who want it.....

-Donald

Anita Kulshreshtha 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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to