NO , you do not need to start up the RMI Server explicitly.
Oh, the config file's URI is not match with the code (ManagementConsole.java).
So you need to make sure the jmx server and client's URL are same.

Willem.

-----Original Message-----
From: Vespa, Anthony J [mailto:[EMAIL PROTECTED]
Sent: Tue 11/13/2007 1:28
To: cxf-user@incubator.apache.org
Subject: RE: Monitoring CXF Webservices
 
Thank you for these examples but I am not 100% on a couple things - do I need 
to set up an RMI server as below explicitly?  Also when I try to convert the 
command line to a servlet, it doesn't seem to find the URL...from what you sent 
it looks like that the ports in both examples (config and code) should match?
 

-----Original Message-----
From: Willem Jiang [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 10:28 AM
To: cxf-user@incubator.apache.org
Subject: Re: Monitoring CXF Webservices


FYI
You can get the published service name, port name and some performance
metric data from JMX.
Currently there is no sample or doc which talk about it .

You can hack the console code[1] to find some information to write your
own console.
And you can find the configuration which could enable the JMX support on
the server side here[2].

[1]https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/management/src/main/java/org/apache/cxf/management/utils/ManagementConsole.java
[2]https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/management/src/test/resources/managed-spring.xml

Willem.
Vespa, Anthony J wrote:
> That's generally what I'm looking at, I am wondering if there are
> examples or good patterns of use?
>
> -----Original Message-----
> From: Adrian C [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 09, 2007 9:17 AM
> To: cxf-user@incubator.apache.org
> Subject: Re: Monitoring CXF Webservices
>
>
>
> Could you use MBeans i.e. JMX?
>
>
> Vespa, Anthony J wrote:
>  
>> Hello,
>>
>> I am doing some planning for production deployment of the web services
>>    
> I
>  
>> am developing and am wondering about the best way to implement heart
>> beats / diagnostics for the  services themselves.  Is there a way to
>> trivially enumurate through the services, display basic info (basic
>> config info, name etc) and do some trivial test besides just returning
>> the whole WSDL or writing an additional function?  Was just wondering
>>    
> if
>  
>> there was something baked in.
>>
>> I would envison this as something that would run in the same tomcat
>> instance (like a another servlet) that I would access through an admin
>> console I write.
>>
>> Thanks for any help!
>>
>> -Tony
>>
>>
>>    
>
>  


Reply via email to