I see "no endpoint found" errors in the log. Does it have something to do with Jabber Server or it is a problem of my service assembly/unit?
For your information, I am using OpenFire 3.6.3 on Mac OS X 10.4 machine. Here is my xbean.xml file contents, for your reference. ================================================================= <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:xmpp="http://servicemix.apache.org/xmpp/1.0" xmlns:jabberbot="http://hello.com/jabberbot"> <xmpp:component user="[email protected]" password="changeit"> <xmpp:endpoints> <xmpp:privateChatEndpoint service="jabberbot:LSJabberService" endpoint="endpoint" uri="xmpp://[email protected]/[email protected]" > <bean id="lionsharemarshaler" class="org.apache.servicemix.jbi.LSJabberMarshaler" /> </xmpp:privateChatEndpoint> </xmpp:endpoints> </xmpp:component> </beans> ================================================================ Logs follow... DEBUG - WSNComponent - Starting component DEBUG - WSNComponent - Component started INFO - ComponentMBeanImpl - Setting running state for Component: servicemix-xmpp to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-xmpp DEBUG - XMPPComponent - Initializing component DEBUG - XMPPComponent - Component initialized DEBUG - XMPPComponent - Starting component DEBUG - XMPPComponent - Component started INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) started INFO - JDBCAdapterFactory - Database driver recognized: [apache_derby_embedded_jdbc_driver] DEBUG - ManagementContext - Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=JdbcAuditor DEBUG - JBIContainer - Removing listener: class org.apache.servicemix.jbi.audit.jdbc.JdbcAuditor DEBUG - ManagementContext - Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=DotViewService DEBUG - JBIContainer - Adding listener: class org.apache.servicemix.jbi.view.DotViewEndpointListener DEBUG - JBIContainer - Adding listener: class org.apache.servicemix.jbi.view.DotViewFlowListener DEBUG - ManagementContext - Registering system service: org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=LogService DEBUG - LogService - Located logging configuration: file:/usr/local/apache-servicemix-3.3/conf/log4j.xml INFO - LogTask - Logging system reconfigured using file: file:/usr/local/apache-servicemix-3.3/conf/log4j.xml INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed: processing lionshare-jabber-bot-sa-1.0-SNAPSHOT.jar ... DEBUG - AutoDeploymentService - Unpacked archive /usr/local/apache-servicemix-3.3/hotdeploy/lionshare-jabber-bot-sa-1.0-SNAPSHOT.jar to /usr/local/apache-servicemix-3.3/data/smx/tmp/lionshare-jabber-bot-sa-1.0-SNAPSHOT.0.tmp DEBUG - SedaFlow - Called Flow suspend DEBUG - JMSFlow - Called Flow suspend DEBUG - JCAFlow - Called Flow suspend DEBUG - AutoDeploymentService - SA dependencies: [servicemix-xmpp] DEBUG - DeploymentService - Moving /usr/local/apache-servicemix-3.3/data/smx/tmp/lionshare-jabber-bot-sa-1.0-SNAPSHOT.0.tmp to /usr/local/apache-servicemix-3.3/data/smx/service-assemblies/lionshare-jabber-bot-sa/version_2/install DEBUG - DeploymentService - Unpack service unit archive /usr/local/apache-servicemix-3.3/data/smx/service-assemblies/lionshare-jabber-bot-sa/version_2/install/lionshare-jabber-bot-su-1.0-SNAPSHOT.zip to /usr/local/apache-servicemix-3.3/data/smx/service-assemblies/lionshare-jabber-bot-sa/version_2/sus/servicemix-xmpp/lionshare-jabber-bot-su DEBUG - XMPPComponent - Deploying service unit DEBUG - XMPPComponent - Looking for /usr/local/apache-servicemix-3.3/data/smx/service-assemblies/lionshare-jabber-bot-sa/version_2/sus/servicemix-xmpp/lionshare-jabber-bot-su/xbean.xml: true ERROR - XMPPComponent - javax.jbi.management.DeploymentException: <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-xmpp</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg><msg-loc-info><loc-token/><loc-message>No endpoint found</loc-message></msg-loc-info></task-status-msg> </task-result-details> </component-task-result-details> </component-task-result> ERROR - AutoDeploymentService - Failed to update Service Assembly: lionshare-jabber-bot-sa java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-xmpp</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>No endpoint found</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </component-task-result-details> </component-task-result> </jbi-task-result> </jbi-task> at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667) at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) DEBUG - SedaFlow - Called Flow resume DEBUG - JMSFlow - Called Flow resume DEBUG - JCAFlow - Called Flow resume WARN - AutoDeploymentService - Directory: hotdeploy: Automatic install of /usr/local/apache-servicemix-3.3/hotdeploy/lionshare-jabber-bot-sa-1.0-SNAPSHOT.jar failed javax.jbi.management.DeploymentException: Failed to update Service Assembly: lionshare-jabber-bot-sa at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:368) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:667) at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:631) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) Caused by: java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0"> <jbi-task-result> <frmwk-task-result> <frmwk-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> </task-result-details> </frmwk-task-result-details> </frmwk-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"> <component-name>servicemix-xmpp</component-name> <component-task-result-details> <task-result-details> <task-id>deploy</task-id> <task-result>FAILED</task-result> <message-type>ERROR</message-type> <task-status-msg> <msg-loc-info> <loc-token/> <loc-message>No endpoint found</loc-message> </msg-loc-info> </task-status-msg> </task-result-details> </component-task-result-details> </component-task-result> </jbi-task-result> </jbi-task> at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) at org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543) at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) ... 6 more Gert Vanthienen wrote: > > John, > > This component probably hasn't been used very much up to now and I don't > think we have a working example at hand. What problems are you running > into? > Could you try turning on DEBUG logging and sending that information along? > > Let's try to work through this together so we do have a good working > example for the next user that comes along. Btw, if you fancy taking a > look at the code for this component, it's at > http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-xmpp/trunk/ > > Regards, > > Gert > > jwy923 wrote: >> Would someone share a working example of XMPPMarshaler and its >> configuration >> with me? >> >> I have been struggling with building an XMPP service unit to communicate >> with a Jabber client (Instant Messenger) via a Jabber server. >> >> My goal is that the XMPP service unit reply back (or echo) to the Jabber >> client after receiving a message from the Jabber client (Instant >> Messenger), >> of course, via the Jabber server. >> >> Unfortunately, I have made any progress for one month. >> >> Please help me. >> >> John >> > > > > ----- > --- > Gert Vanthienen > http://gertvanthienen.blogspot.com > Quoted from: http://www.nabble.com/Working-XMPPMarshaler-and-Configuration-Examples-tp21418143p21432170.html Gert Vanthienen wrote: > > John, > > This component probably hasn't been used very much up to now and I don't > think we have a working example at hand. What problems are you running > into? > Could you try turning on DEBUG logging and sending that information along? > > Let's try to work through this together so we do have a good working > example for the next user that comes along. Btw, if you fancy taking a > look at the code for this component, it's at > http://svn.apache.org/repos/asf/servicemix/components/bindings/servicemix-xmpp/trunk/ > > Regards, > > Gert > > jwy923 wrote: >> Would someone share a working example of XMPPMarshaler and its >> configuration >> with me? >> >> I have been struggling with building an XMPP service unit to communicate >> with a Jabber client (Instant Messenger) via a Jabber server. >> >> My goal is that the XMPP service unit reply back (or echo) to the Jabber >> client after receiving a message from the Jabber client (Instant >> Messenger), >> of course, via the Jabber server. >> >> Unfortunately, I have made any progress for one month. >> >> Please help me. >> >> John >> > > > > ----- > --- > Gert Vanthienen > http://gertvanthienen.blogspot.com > -- View this message in context: http://www.nabble.com/Working-XMPPMarshaler-and-Configuration-Examples-tp21418143p21463162.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
