If you do not see any servicemix mbeans, this may be because servicemix uses
another
mbean server.   I have seen that when using ActiveMQ.
ActiveMQ (unless specifically configured) will create its own mbean server
and remote connector,
but servicemix will create another one.
You have to either disable jmx on AMQ or create your own mbean server and
use it for both AMQ and SMX.
Take a look at the configuration files that come with the latest distrib.

Cheers,
Guillaume Nodet

On 6/9/06, Doug Fischer <[EMAIL PROTECTED]> wrote:

No it does not.

I have been using ServiceMix for a little while now and I have not had any
trouble viewing the Mbeans through Jconsole until I updated my source the
other day.  Now I do not even see the servicemix branch.  Also, I am not
running servicemix statically, maybe that has something to do with it.  I
am
just deploying service assemblies.

Thanks,
Doug


On 6/9/06 12:12 PM, "Alessandro Fredianelli"
<[EMAIL PROTECTED]> wrote:

> does your servicemix.xml contain :
>
>   <import resource="classpath:jmx.xml" />
>    <import resource="classpath:jndi.xml" />
>
> ----- Original Message -----
> From: "Doug Fischer" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Friday, June 09, 2006 6:09 PM
> Subject: Re: jmx problems
>
>
>> I am having this same problem and I do not have
MBeanServer="#mbeanServer"
>> specified.
>>
>> Any ideas?
>>
>> Thanks,
>> Doug
>>
>>
>> On 6/9/06 11:09 AM, "Alessandro Fredianelli"
>> <[EMAIL PROTECTED]> wrote:
>>
>>> this was the problem :
>>> MBeanServer="#mbeanServer"
>>> :)
>>>
>>>
>>> ----- Original Message -----
>>> From: "Alessandro Fredianelli" <[EMAIL PROTECTED]>
>>> To: <[email protected]>
>>> Sent: Friday, June 09, 2006 5:07 PM
>>> Subject: jmx problems
>>>
>>>
>>> connecting with jconsole (mc4j) to
>>> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
>>> i cant get org.apache.servicemix branch. I've attached servicemix.xmland
>>> the log.
>>>
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <beans xmlns:sm="http://servicemix.apache.org/config/1.0";>
>>>
>>>   <import resource="classpath:jmx.xml" />
>>>   <import resource="classpath:activemq.xml" />
>>>   <import resource="classpath:jndi.xml" />
>>>
>>>   <!-- the JBI container
>>>     createMBeanServer="true"
>>>     useMBeanServer="true"
>>>   -->
>>>   <sm:container id="jbi"
>>>                 rootDir="./wdir"
>>>                 MBeanServer="#mbeanServer"
>>>               installationDirPath="./install"
>>>                 deploymentDirPath="./deploy"
>>>                 dumpStats="true"
>>>                 statsInterval="10"
>>>                 flowName="seda"
>>>                 transactionManager="#transactionManager"
>>>                 depends-on="jndi">
>>>
>>>     <sm:activationSpecs>
>>>
>>>       <sm:activationSpec componentName="jdbc">
>>>         <sm:component>
>>>           <bean
>>> class="org.apache.servicemix.components.jdbc.JdbcComponent">
>>>           </bean>
>>>         </sm:component>
>>>       </sm:activationSpec>
>>>
>>>     </sm:activationSpecs>
>>>   </sm:container>
>>>
>>> </beans>
>>>
>>>
>>>
>>>
>>> 17:02:02,812 | WARN  | main       | JmxUtils                 |
>>> framework.jmx.support.JmxUtils   90 | Found more than one MBeanServer
>>> instance. Returning first from list.
>>> 17:02:06,125 | WARN  | main       | MulticastDiscoveryAgent  |
>>> ticast.MulticastDiscoveryAgent  207 | brokerName not set
>>> 17:02:06,328 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Manag
>>> em
>>> entContext
>>> 17:02:06,390 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Envir
>>> on
>>> mentContext
>>> 17:02:06,390 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>>
>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Regist
>> r>
>> y
>>> 17:02:06,406 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Defau
>>> lt
>>> Broker
>>> 17:02:06,437 | INFO  | main       | JBIContainer             |
>>> mix.jbi.container.JBIContainer 1008 | Activating component for:
>>> [container=ServiceMix,name=#SubscriptionManager#] with service: null
>>> component: [EMAIL PROTECTED]
>>> 17:02:06,437 | INFO  | main       | ComponentMBeanImpl       |
>>> i.framework.ComponentMBeanImpl  184 | Initializing component:
>>> #SubscriptionManager#
>>> 17:02:06,453 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Insta
>>> ll
>>> ationService
>>> 17:02:06,468 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Deplo
>>> ym
>>> entService
>>> 17:02:06,484 | INFO  | main       | DeploymentService        |
>>> bi.framework.DeploymentService  683 | Restoring service assemblies
>>> 17:02:06,484 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=AutoD
>>> ep
>>> loymentService
>>> 17:02:06,500 | DEBUG | main       | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  564 | State file doesn't exist:
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\wdir\insta
>>> ll
>>> .xml
>>> 17:02:06,500 | DEBUG | main       | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  564 | State file doesn't exist:
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\wdir\deplo
>>> y.
>>> xml
>>> 17:02:06,500 | DEBUG | main       | ManagementContext        |
>>> i.management.ManagementContext  570 | Registering system service:
>>> org.apache.servicemix:ContainerName=ServiceMix
,Type=SystemService,Name=Admin
>>> Co
>>> mmandsService
>>> 17:02:06,531 | INFO  | main       | JBIContainer             |
>>> mix.jbi.container.JBIContainer  538 | ServiceMix JBI Container
>>> (http://servicemix.org/) name: ServiceMix running version:
3.0-SNAPSHOT
>>> 17:02:06,531 | INFO  | main       | JBIContainer             |
>>> mix.jbi.container.JBIContainer 1008 | Activating component for:
>>> [container=ServiceMix,name=jdbc] with service: null component:
>>> [EMAIL PROTECTED]
>>> 17:02:06,531 | INFO  | main       | ComponentMBeanImpl       |
>>> i.framework.ComponentMBeanImpl  184 | Initializing component: jdbc
>>> 17:02:06,531 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\install
>>> for new or modified archives
>>> 17:02:06,531 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\deploy
>>> for
>>> new or modified archives
>>> 17:02:16,546 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\install
>>> for new or modified archives
>>> 17:02:16,546 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\deploy
>>> for
>>> new or modified archives
>>> 17:02:26,546 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\install
>>> for new or modified archives
>>> 17:02:26,546 | DEBUG | Timer-2    | AutoDeploymentService    |
>>> ramework.AutoDeploymentService  484 | Monitoring directory
>>> C:\work\servers\servicemix\incubating-
servicemix-3.0-SNAPSHOT\bin\deploy
>>> for
>>> new or modified archives
>>> 17:02:35,718 | ERROR | MulticastDiscovery: null |
MulticastDiscoveryAgent
>>> |
>>> ticast.MulticastDiscoveryAgent  262 | failed to process packet:
>>> java.net.SocketException: socket closed
>>>
>>>
>>>
>>
>>
>>
>
>



Reply via email to