Yes I have the managementContext entry.
My original question was about that. I made the changes, but it still uses 1099. I'm wondering if I have to change something else. I have also tried it with other permutiations with and without connectorPort and createConnector: I've tried this: <broker useJmx="true" brokerName="brokerX" xmlns="http://activemq.org/config/1.0"> <managementContext> <managementContext createConnector="false" connectorPort="1199" /> </managementContext> ... </broker> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DJ Daugherty Sent: Thursday, November 08, 2007 12:40 PM To: Matt Flowers Subject: Re: JBoss JMX port problem i am assuming you are using a broker-config.xml file to control your broker properties... do you have an entry similar to this near the bottom of the file? <managementContext> <managementContext connectorPort="1199" /> </managementContext> On 11/8/07, Matt Flowers <[EMAIL PROTECTED]> wrote: It's a resource adapter in JBoss deployed as a RAR. It's not a separate process. I set it up based on the instructions I found here: http://activemq.apache.org/integrating-apache-activemq-with-jboss.html. Running on windows XP, by the way. Don't think I mentioned that. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DJ Daugherty Sent: Thursday, November 08, 2007 11:54 AM To: users@activemq.apache.org Subject: Re: JBoss JMX port problem how are you starting the activeMQ process? On 11/8/07, Matt Flowers <[EMAIL PROTECTED]> wrote: > > I'm running the resource adapter version of ActiveMQ. As far as I know > there isn't an activemq.xml used in that set up. Is this something I > could add somewhere? > > -----Original Message----- > From: DJ Daugherty [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > Sent: Thursday, November 08, 2007 10:56 AM > To: users@activemq.apache.org > Subject: Re: JBoss JMX port problem > > within the activeMQ directory... the default JMX port will be 1099 > unless > you manually change the port to 1199. > > within the conf/activemq.xml config file... do a search for > connectorPort=1099 > > change the '1099' to '1199' and then make sure you uncomment the > <managementContect> section in order to active the feature. You can > verify > the change when you restart activeMQ... the console output will > indicate > 'JMX consoles can connect...' and the 1199 port value should be listed. > > hope this resolves your issue. > > On 11/8/07, Matt Flowers <[EMAIL PROTECTED]> wrote: > > > > I'm running : > > ActiveMQ RA 4.1.1. > > JBoss 4.0.5. > > > > I've got JBoss binding JMX to port 1199. ActiveMQ binds to 1099. I'm > > doing local messaging only within the app server. No clustering or > > remoting or anything like that. I can't have ActiveMQ using 1099 -- > > another app needs that port. > > > > I've tried this: > > <broker useJmx="true" brokerName="brokerX" > > xmlns="http://activemq.org/config/1.0"> > > <managementContext> > > <managementContext createConnector="false" > > connectorPort="1199" /> > > </managementContext> > > ... > > > > But ActiveMQ still binds to 1099 when it starts up. > > > > Anyone know what I'm missing? > > > > Thanks. > > >