RE: Expose MBeans in CXF

2011-06-13 Thread Shenglin Qiu
mail update with src. Regards: Shenglin Qiu > Date: Thu, 9 Jun 2011 13:17:49 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: dev@cxf.apache.org > > Hi Shenglin > > One thing which you are doing well is introducing subresources, giv

Re: Expose MBeans in CXF

2011-06-13 Thread Sergey Beryozkin
*    http://localhost:8080/services/jmx/port/CustomerServiceImpl >>  *    http://localhost:8080/services/jmx/port/SoapPort >>  * >>  *    Search by domain >>  *    http://localhost:8080/services/jmx/domain/org.apache.cxf >>  * >>  *    Function 4: >>  *   

Re: Expose MBeans in CXF

2011-06-09 Thread Sergey Beryozkin
g.apache.cxf >  * >  *    Function 4: >  *    http://localhost:8080/services/jmx/list >  * >  * */ > > Source is also attached. > Thank you very much on the reviewing, I am very dedicated to what you have > mentioned. Though there was a time in last 2 days, I reformatted the

RE: Expose MBeans in CXF

2011-06-08 Thread Shenglin Qiu
mentioned. Though there was a time in last 2 days, I reformatted the code a little too much:) Regards: Shenglin Qiu > Date: Wed, 8 Jun 2011 10:23:58 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: dabaip...@hotmail.com > CC: dev@cxf.apache.org &

Re: Expose MBeans in CXF

2011-06-08 Thread Sergey Beryozkin
ices/jmx/property/port/SoapPort >  * >  *    Function 4: >  *    http://localhost:8080/services/jmx/list >  * >  * */ > > I will ping you tomorrow morning. > > Thank you. > Regards: > > Shenglin Qiu > > >> Date: Wed, 1 Jun 2011 15:32:30 +0100 >> Su

RE: Expose MBeans in CXF

2011-06-07 Thread Shenglin Qiu
> Date: Wed, 1 Jun 2011 15:32:30 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: dev@cxf.apache.org > > Hi Shenglin > > It's a step in the right direction, thanks, but JMXServer still needs > to be cleaned up quite a bit. >

Re: Expose MBeans in CXF

2011-06-01 Thread Sergey Beryozkin
> > Git address: > https://dabaip...@github.com/dabaipang/services.git > or > g...@github.com:dabaipang/services.git > > > Thank you. > > > Regards: > Shenglin Qiu > > > >> From: dabaip...@hotmail.com >> To: sberyoz...@gmail.com >> CC: dev@cxf.apache.or

RE: Expose MBeans in CXF

2011-05-31 Thread Shenglin Qiu
beryoz...@gmail.com > CC: dev@cxf.apache.org > Subject: RE: Expose MBeans in CXF > Date: Tue, 31 May 2011 11:23:38 -0400 > > > Hi Sergey: > > > > Function 1: (0 - 5 is continuous, no gap) > > > Jmx Server: > > > sub-resource locator > > > http://

RE: Expose MBeans in CXF

2011-05-31 Thread Shenglin Qiu
ons once, currently I am still 'throws' -ing them out, I will make the try catch block. Should I also add a new object which display the error or simply return empty? Thank you very much. Regards: Shenglin Qiu > Date: Tue, 31 May 2011 10:35:36 +0100 > Subject: Re: Expose MBeans

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
I've no problems with Shenglin using svn or git. Does not matter. AFAIK he already has a github account where his demo code is located. The reason we've been asking CXF GSOC students to work with the sandbox is that all those subscribed to the cxf-commits email can get the immediate notifications.

Re: Expose MBeans in CXF

2011-05-31 Thread Willem Jiang
That is why I suggest to use the github. He doesn't need anyone to approve :) BTW, it is more easy to try and test implementation codes with help of git. On 5/31/11 9:14 PM, Sergey Beryozkin wrote: Hi Shenglin submitted ICLA for him be able to start working in the sandbox, he probably didn't g

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
Hi Shenglin submitted ICLA for him be able to start working in the sandbox, he probably didn't get it approved yet Cheers, Sergey On Tue, May 31, 2011 at 2:00 PM, Willem Jiang wrote: > Hi Shenglin, > > Did you have a chance to use the SCM the manger your source code? > I don't think it is a goo

Re: Expose MBeans in CXF

2011-05-31 Thread Willem Jiang
Hi Shenglin, Did you have a chance to use the SCM the manger your source code? I don't think it is a good practice to send the source code directly to the mailing list. You can use the github[1] to hold a fork a version of CXF[2] , and attach the patch to the JIRA[3] which we can trace. It w

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
Hi Shenglin Good progress, some comments below > > Function 1: (0 - 5 is continuous, no gap) > Jmx Server: > sub-resource locator > http://localhost:8080/services/jmx/mbean/0 > http://localhost:8080/services/jmx/mbean/1 The id allocation (0, 1, etc) has to be thread safe > > > Function 2: > Note

Re: Expose MBeans in CXF

2011-05-27 Thread Sergey Beryozkin
rServiceImpl"; >   Bus.Service.Endpoint >      > org.apache.cxf:bus.id=cxf32436715,port="CustomerServiceImpl",service="{http://server.gsoc.apache.org/}CustomerServiceImpl",type=Bus.Service.Endpoint > org.apache.cxf

RE: Expose MBeans in CXF

2011-05-21 Thread Shenglin Qiu
es/jmx/mbean/6";> MBeanServerDelegate JMImplementation:type=MBeanServerDelegate JMImplementation 6 I will clean up my code a little for the next step. Thank you. Regards: Shenglin Qiu >

Re: Expose MBeans in CXF

2011-05-21 Thread Sergey Beryozkin
t; > > > Thank you. > > > Regards: > Shenglin Qiu > > > >> Date: Fri, 20 May 2011 11:39:55 +0100 >> Subject: Re: Expose MBeans in CXF >> From: sberyoz...@gmail.com >> To: dabaip...@hotmail.com >> CC: dev@cxf.apache.org >> >> Hi S

RE: Expose MBeans in CXF

2011-05-20 Thread Shenglin Qiu
x27;s fields, remove > NPE declaration > Done. I will do a fewer more rounds of testing, and put up the source code again. Thank you. Regards: Shenglin Qiu > Date: Fri, 20 May 2011 11:39:55 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: d

Re: Expose MBeans in CXF

2011-05-20 Thread Sergey Beryozkin
Exception, NullPointerException{ >     >    } > > Please have UriInfo injected in one of the JMXServer's fields, remove NPE declaration Cheers, Sergey > > Thank you. > > Regards: > Shenglin Qiu > > >> Date: Thu, 19 May 2011 17:02:36 +0100 >> Sub

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
t; > http://localhost:8080/services/jmx/mbean/*** > Thank you. > > Regards: > Shenglin Qiu > >> Date: Thu, 19 May 2011 15:03:03 +0100 >> Subject: Re: Expose MBeans in CXF >> From: sberyoz...@gmail.com >> To: dev@cxf.apache.org >> >> HI Shenglin

RE: Expose MBeans in CXF

2011-05-19 Thread Shenglin Qiu
alhost:8080/services/jmx/mbean/*** Thank you. Regards: Shenglin Qiu > Date: Thu, 19 May 2011 15:03:03 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: dev@cxf.apache.org > > HI Shenglin > > On Thu, May 19, 2011 at 2:54 PM, Shenglin Qiu wrot

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
HI Shenglin On Thu, May 19, 2011 at 2:54 PM, Shenglin Qiu wrote: > > Yes Sergey, will have these following pattern: > > http://localhost:8080/services/jmx/mbean/0  -> CXF Bus > > http://localhost:8080/services/jmx/mbean/01   -> UserService > > http://localhost:8080/services/jmx/mbean/0123   -> Cu

RE: Expose MBeans in CXF

2011-05-19 Thread Shenglin Qiu
ean/01234 -> GreeterService (Soap) http://localhost:8080/services/jmx/mbean/012 -> JMXServer will be hidden to user. Regards: Shenglin Qiu > Date: Thu, 19 May 2011 14:19:13 +0100 > Subject: Re: Expose MBeans in CXF > From: sberyoz...@gmail.com > To: dabaip...@hotmail.com > CC: dev@c

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
nd the key is a simple value like 1 or 23, etc. Do you see what I mean ? Cheers, Sergey > > Thank you. > > > Regards: > Shenglin Qiu > > > >> Date: Thu, 19 May 2011 10:20:19 +0100 >> Subject: Re: Expose MBeans in CXF >> From: sberyoz..

RE: Expose MBeans in CXF

2011-05-19 Thread Shenglin Qiu
nt? http://localhost:8080/services/jmx/list/mbean/0/mbean/1 -> restful UserService http://localhost:8080/services/jmx/list/mbean/0/mbean/1/mbean/2/mbean/3 -> restful CustomerService http://localhost:8080/services/jmx/list/mbean/0/mbean/1/mbean/2/mbean/3/mbean/4

Re: Expose MBeans in CXF

2011-05-19 Thread Sergey Beryozkin
HI Shenglin >> >> String href = builder.path("mbean").path(someUniqueKey).build().toString() > > > Here is my progress, I use  UriBuilder uriBuilder = > uriInfo.getAbsolutePathBuilder().path(this.getClass(), "list"); and >     String uniqueKey = Integer.toString(index++); >     St

RE: Expose MBeans in CXF

2011-05-18 Thread Shenglin Qiu
rvice.Endpoint org.apache.cxf http://localhost:8080/services/jmx/list/0/1/2";> cxf33425430 "CustomerServiceImpl" "{http://server.gsoc.apache.org/}CustomerServiceImpl"; Bus.Service.Endpoint org.apache.cxf:bus.id=

RE: Expose MBeans in CXF

2011-05-18 Thread Shenglin Qiu
stage, > will have *only*a single @GET resource method with @Path("{key}") and > which will return the above MBean representaion only, without MBeans wrapper: > GET http://localhost:8080/soapdemo/jmx/mbean/1 @Todo: subresource locator, with @Path("mbean") and without

Re: Expose MBeans in CXF

2011-05-18 Thread Sergey Beryozkin
Hi Shenglin Well done, you are progressing well. Note that you don't have to start formatting the updates to the dev list, it's just the work as usual, keep it simple please :-). And don't CC to the secretary :-) Some comments below. > I am fully upgrade it to 2.4.0, I have some testing phase e

RE: Expose MBeans in CXF

2011-05-15 Thread Shenglin Qiu
I will remove it very fast, the reason I put here is you have mentioned do things like > > ? ? > ? ? ? ? > ? ? ? ? ? ?{http://users.com/rs}UserService > ? ? ? ? ? ?{http://users.com/ws}UserService > ? ? ? ? > ? ? > ? ? > But right now, it looks injecting is good eno

Re: Expose MBeans in CXF

2011-05-15 Thread Sergey Beryozkin
se try to drive it yourself. Review the > JMX/REST related documentation linked from the JIRA, and have some > opinion on how to make sure CXF MBeans can be searched using a number > of queries, so that users could easily get to a collection of Mbeans > or an individual MBean as needed. Th

RE: Expose MBeans in CXF

2011-05-13 Thread Shenglin Qiu
lanning to use this weekend, clean this config and code up, and make Rest request url shorter as you mentioned. I need your suggestions and ideas. and I think I am ready for a big surgery on the demoserver. Code is still in https://dabaip...@github.com/dabaipang/demoserver.git Also, I will go to supermark

Re: Expose MBeans in CXF

2011-05-13 Thread Sergey Beryozkin
Hi On Fri, May 13, 2011 at 1:19 AM, Shenglin Qiu wrote: > > Hi Sergey: > > Here is the todo list which you have assigned: > > 1. Have one JAX-WS and JAX-RS endpoints > 2. Have your JMXServer as a separate endpoint > 3. Injecting a bus reference and registering a listener > > Your Tips: > 1. > In

RE: Expose MBeans in CXF

2011-05-12 Thread Shenglin Qiu
ce such as {http://impl.service.ws.gsoc.cxf.apache.org/}CustomerServiceImpl -> impl.service.ws.gsoc.cxf.apache.org Thank you. Regards: Shenglin

Re: Expose MBeans in CXF

2011-05-12 Thread Sergey Beryozkin
Hi Shenglin Thanks for the update. Can you please copy the summary from the previous email, where one possible approach going forward was discussed and describe what you've done so far in context of that summary ? Looks like you are progressing well, however I'm not exactly sure what exactly you a