2014-10-23 20:52 GMT+02:00 fortislee <[email protected]>:
> I think a little example of the problem might help to clarify the situation a
> bit better.
> Here's what I'm seeing in the jconsole:
>
> org.apache.cxf:
>     bus.id=cxf413565925,instance.id=413565925,type=Bus
>
> bus.id=openejb.cxf.bus,instance.id=730337300,port="SomeService",service="{http://services.abc.com/}SomeService",type=Bus.Service.Endpoint
>
> This would be correct if  "SomeService" is the only webservice deployed, but
> since I've dozens of other webservices deployed to tomee, I'm expecting to
> see all of them listed here, each one as a separate instance of type
> "Bus.Service.Endpoint". Supposed if I'd deployed 2 webservices to tomee
> namely "SomeService" and "AnotherService", I would expect to see the
> following from Jconsole :
>
> org.apache.cxf:
>     bus.id=cxf413565925,instance.id=413565925,type=Bus
>
> bus.id=openejb.cxf.bus,instance.id=730337300,port="SomeService",service="{http://services.abc.com/}SomeService",type=Bus.Service.Endpoint
>
> bus.id=openejb.cxf.bus,instance.id=574985479,port="AnotherService",service="{http://services.abc.com/}AnotherService",type=Bus.Service.Endpoint
>
> Is this a valid expectation ?
>

Hi, once again endpoint = servlet. You have a *single* endpoint by
jaxrs application and the fact it shows SomeService is just the
default CXF naming strategy I enhanced today. Now you should see
something like:
bus.id=openejb.cxf.bus,instance.id=574985479,port="mywar",service="jaxrs-application",type=Bus.Service.Endpoint

You should get all endpoints in openejb jmx tree:
openejb.management:j2eeType=JAX-RS,J2EEServer=openejb,*

What did you expect from these endpoints you can't do?

>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/1-7-0-and-cxf-monitoring-tp4671227p4672601.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to