JMX enabling in CXF 2.2.6
Hi, I am trying to enable JMX instrumentation in CXF 2.2.6 sample (wsdl_first_rpclit) but when I try to connect to server using JConsole I don't see any CXF MBeans. Do I need to do anything in addition to configuring Instrumentation manager? Here is my cxf.xml that I am using to enable instrumentation. I am not updating any implementation to collect endpoint statistics just want to see cxf stats first like Bus. http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:cxf="http://cxf.apache.org/core"; xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";> Regards, Ulhas Bhole
Re: JMX enabling in CXF 2.2.6
Ulhas, How are you picking up the config file? For example, if you're running the server via ant, you'd need to change the server target defined in $CXF_HOME/samples/wsdl_first_rpclit/build.xml from: to: Alternatively, you could change the $CXF_HOME/samples/wsdl_first_rpclit/src/demo/hwRPCLit/server/Server.java to use the SpringBusFactory to explicit identify the config file when creating the Bus. But obviously you must make the connection to the config in *some* way, otherwise the intrumentation config will have no effect. BTW I just confirmed that the CXF MBeans appear as expected with this demo using your config file and the first approach described. Cheers, Eoghan On 18 March 2010 17:24, Ulhas Bhole wrote: > Hi, > I am trying to enable JMX instrumentation in CXF 2.2.6 sample > (wsdl_first_rpclit) but when I try to connect to server using JConsole I > don't see any CXF MBeans. Do I need to do anything in addition to > configuring Instrumentation manager? > > Here is my cxf.xml that I am using to enable instrumentation. I am not > updating any implementation to collect endpoint statistics just want to see > cxf stats first like Bus. > > http://www.springframework.org/schema/beans"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xmlns:jaxws="http://cxf.apache.org/jaxws"; > xmlns:cxf="http://cxf.apache.org/core"; > > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd > http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd";> > > > class="org.apache.cxf.management.jmx.InstrumentationManagerImpl"> > > > > > value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" /> > > > > > class="org.apache.cxf.management.counters.CounterRepository"> > > > > > > Regards, > > Ulhas Bhole >
[VOTE] Release CXF 2.2.7
Once again, there have been a bunch of bug fixes and enhancements that have been done compared to the 2.2.6 release. Over 55 JIRA issues are resolved for 2.2.7. List of issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12314534&styleName=Html&projectId=12310511&Create=Create The Maven staging area is at: https://repository.apache.org/content/repositories/orgapachecxf-006/ The distributions are in: https://repository.apache.org/content/repositories/orgapachecxf-006/org/apache/cxf/apache-cxf/2.2.7/ This release is tagged at: http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.7 The vote will be open for 72 hours. Here is my +1. -- Daniel Kulp dk...@apache.org http://dankulp.com/blog signature.asc Description: This is a digitally signed message part.
Re: [VOTE] Release CXF 2.2.7
+1 Sent from my iPhone On 2010-03-18, at 6:21 PM, Daniel Kulp wrote: Once again, there have been a bunch of bug fixes and enhancements that have been done compared to the 2.2.6 release. Over 55 JIRA issues are resolved for 2.2.7. List of issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12314534&styleName=Html&projectId=12310511&Create=Create The Maven staging area is at: https://repository.apache.org/content/repositories/orgapachecxf-006/ The distributions are in: https://repository.apache.org/content/repositories/orgapachecxf-006/org/apache/cxf/apache-cxf/2.2.7/ This release is tagged at: http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.7 The vote will be open for 72 hours. Here is my +1. -- Daniel Kulp dk...@apache.org http://dankulp.com/blog
Google Summer of Code ideas.....
The Google Summer of Code program is starting up. Last year, we had a very good project completed (SOAP/JMS Spec) and significant work started toward the SOAP/TCP stuff. At this point, it would be good to start collecting ideas that students may be interested in tackling. So, what really cool ideas do people have? :-) -- Daniel Kulp dk...@apache.org http://dankulp.com/blog
Re: Javascript generation
On Thursday 18 March 2010 1:44:08 am Demetris wrote: > Hi all, > > where would the server-side javascript code generotion be located in > the baseline? Should be in: http://svn.apache.org/repos/asf/cxf/trunk/rt/javascript and the command line tool that would wrapper it: http://svn.apache.org/repos/asf/cxf/trunk/tools/wsdlto/frontend/javascript/ > I don't seem to be able to locate it. Is there documentation as to who > this generation > works? Is it derived from the service's WSDL file or does the user > navigate how this > generation should work? It's based on the WSDL I believe. Or, more approriately, our service model that would hold onto the wsdl information. > One of the responses I got from Benson as while ago read: > > "you can create a 'dynamic client' that can talk to moderately > complex services. This requires the entire CXF stack on the client" > > Are there any examples I can look at of such a 'dynamic client'. And > to what capacity is it 'dynamic'? > > I have http servers that return WSDL 2.0 files (either REST or SOAP > sevices) and I would like to utilize them to generate javascript > clients for those services. From what I gathered so far, CXF and > WSO2 are the only mature projects doing this. If you do know of any > other ones please let me know. It seems to me that CXF can offer > such tools for me to build these clients so I wanted to find a bit > more about them. I have already started going over the online info. Well, CXF doesn't support WSDL 2.0. Thus, that could be an issue. Dan > > Thanks very much in advace -- Daniel Kulp dk...@apache.org http://dankulp.com/blog
Re: [VOTE] Release CXF 2.2.7
+1 David On 18 March 2010 18:21, Daniel Kulp wrote: > > Once again, there have been a bunch of bug fixes and enhancements that > have been done compared to the 2.2.6 release. Over 55 JIRA issues > are resolved for 2.2.7. > > List of issues: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12314534&styleName=Html&projectId=12310511&Create=Create > > The Maven staging area is at: > https://repository.apache.org/content/repositories/orgapachecxf-006/ > > The distributions are in: > https://repository.apache.org/content/repositories/orgapachecxf-006/org/apache/cxf/apache-cxf/2.2.7/ > > This release is tagged at: > http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.7 > > > The vote will be open for 72 hours. > > Here is my +1. > > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog >
Re: [VOTE] Release CXF 2.2.7
+1 Christian Am 19.03.2010 02:21, schrieb Daniel Kulp: Once again, there have been a bunch of bug fixes and enhancements that have been done compared to the 2.2.6 release. Over 55 JIRA issues are resolved for 2.2.7. List of issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12314534&styleName=Html&projectId=12310511&Create=Create The Maven staging area is at: https://repository.apache.org/content/repositories/orgapachecxf-006/ The distributions are in: https://repository.apache.org/content/repositories/orgapachecxf-006/org/apache/cxf/apache-cxf/2.2.7/ This release is tagged at: http://svn.apache.org/repos/asf/cxf/tags/cxf-2.2.7 The vote will be open for 72 hours. Here is my +1. -- Christian Schneider --- http://www.liquid-reality.de