init jetty remote jmx with jconsole

31 views
Skip to first unread message

jianwen lou

unread,
Apr 11, 2012, 2:00:51 AM4/11/12
to zo...@googlegroups.com
I install zoin example on remote linux,I want to init index process on local win7,I uncomment the block in jxm.spring:
<bean id="httpAdaptor" class="mx4j.tools.adaptor.http.HttpAdaptor" init-method="start" destroy-method="stop">
<property name="port" value="7777" />
<property name="host" value="192.168.172.29"/>
<property name="processor">
           <bean class="mx4j.tools.adaptor.http.XSLTProcessor"/>
        </property>
</bean>

then execut mvn package and ant example,get error message:
2012-04-11 13:55:41.136:WARN::Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@741b3967{/,/home/work/janwen/zoie/zoie/zoie-example/src/main/webapp}
     [exec] org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [mx4j.tools.adaptor.http.HttpAdaptor] for bean with name 'httpAdaptor' defined in ServletContext resource [/WEB-INF/conf/jmx.spring]; nested exception is java.lang.ClassNotFoundException: mx4j.tools.adaptor.http.HttpAdaptor

Is there something i missed to init remote jetty jmx? thanks 
Reply all
Reply to author
Forward
0 new messages