Hi,
Good to hear the JMX part works.
I read you're making a "JAR" file, when using CXF, you need to make a
"WAR" or a "WAB" file.
I think you should first read and learn about spring (this link for
example : http://www.tutorialspoint.com/spring/) and since this is not a
Apache karaf problem anymore, you should ask your question on the Apache
CXF mailing-list.
You can find the CXF mailing-list here :
http://cxf.apache.org/mailing-lists.html
Regards,
Morgan
On 9/06/2015 1:45, sditlinger wrote:
OK, this is my cxf.xml file for one of my services - it is in the root of the
jar file that is deployed into Karaf
I deploy the service with no error, but when I look at it in JConsole, it
appears no different than the other services that do not have this config
file set up - what step am I missing?
cxf.xml contents:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean id="org.apache.cxf.management.InstrumentationManager"
class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">
<property name="bus" ref="cxf" />
<property name="enabled" value="true" />
<property name="createMBServerConnectorFactory " value="false" />
<property name="server" ref="mbeanServer" />
</bean>
<bean id="CounterRepository"
class="org.apache.cxf.management.counters.CounterRepository">
<property name="bus" ref="cxf" />
</bean>
</beans>
--
View this message in context:
http://karaf.922171.n3.nabble.com/JMX-Karaf-2-4-1-tp4040782p4040819.html
Sent from the Karaf - User mailing list archive at Nabble.com.