You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Anne Noseda <no...@gmail.com> on 2008/08/07 12:28:00 UTC
BC XMPP Open Esb
Hello,
I have deployed the XMPP component from Open ESB on Servicemix.
I try to deploy a SA containing one SU XMPP but I have the following error :
12:08:09,306 | ERROR | Timer-4 | AutoDeploymentService |
ramework.AutoDeploymentService 486 | Failed to update Service Assembly:
SA_XMPP_OPENFIRE_TEST-1.0.0.tmp
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-http</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>SUCCESS</task-result>
</task-result-details>
</component-task-result-details>
</component-task-result>
<component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-lwcontainer</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>SUCCESS</task-result>
</task-result-details>
</component-task-result-details>
</component-task-result>
<component-task-result>
<component-name>gestalt-xmpp-binding</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>Unable to parse result string</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>Failed to deploy the service unit - SU_XMPP_OPENESB_TEST :
Failed to deploy the service unit - no endpoints were found -
SU_XMPP_OPENESB_TEST</loc-message>
<stack-trace><![CDATA[javax.jbi.management.DeploymentException: Failed to
deploy the service unit - SU_XMPP_OPENESB_TEST : Failed to deploy the
service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
at
com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:127)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(AutoDeploymentService.java:482)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: javax.jbi.management.DeploymentException: Failed to deploy the
service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
at
com.gestalt.jbi.component.manager.deployment.AbstractDeployer.deploy(AbstractDeployer.java:137)
at
com.gestalt.jbi.component.manager.AbstractServiceUnitManager.doDeploy(AbstractServiceUnitManager.java:156)
at
com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:125)
... 9 more
]]></stack-trace>
</exception-info>
</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.checkPendingSAs(AutoDeploymentService.java:482)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Here the configuration of my xbean.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<beans xmlns:xmpp="http://com.gestalt/xmpp"
xmlns:ann="http://servicemix.org/xmpp/anne">
<!-- <xmpp:endpoint
service="ann:XmppDeOpenFire"
endpoint="endpointXmpp"
interface="tns:interface"
role="consumer"
targetService="ann:outScreen"
defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
operationName="receiveMessage"
tlsEnabled="false"
saslEnabled="false">
<xmpp:address
domain="localhost"
username="test"
password="test"
resource="resource"
port="5222" />
</xmpp:endpoint>-->
<xmpp:endpoint
service="ann:XmppVersOpenFire"
endpoint="endpointXmpp"
role="provider"
operationName="sendMessage"
tlsEnabled="false"
saslEnabled="false">
<xmpp:address
domain="localhost"
username="test"
password="test"
resource="resource"
port="5222" />
</xmpp:endpoint>
</beans>
Has anyone an idea of the cause of the problem ?
Thanks in advance,
Anne.
--
View this message in context: http://www.nabble.com/BC-XMPP-Open-Esb-tp18867662p18867662.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: BC XMPP Open Esb
Posted by Anne Noseda <no...@gmail.com>.
Gert,
Thanks for your answer, I look into the log file but I don't see any
exception before.
I upload the logfile in attachment (with org.apache.servicemix in DEBUG
mode).
If you want, I can test it again with another class at DEBUG level, just
tell-me which classes.
Anne. http://www.nabble.com/file/p18921127/servicemix.log servicemix.log
Gert Vanthienen wrote:
>
> Anne,
>
> Is there any exception before this one that might explain why the
> endpoints have not been deployed? This one is just about the SU not
> holding any endpoints, but there's likely to be something else that
> prevented endpoint deployment before this.
>
> Regards,
>
> Gert
>
> Anne Noseda wrote:
>> Hello,
>>
>> I have deployed the XMPP component from Open ESB on Servicemix.
>> I try to deploy a SA containing one SU XMPP but I have the following
>> error :
>>
>> 12:08:09,306 | ERROR | Timer-4 | AutoDeploymentService |
>> ramework.AutoDeploymentService 486 | Failed to update Service Assembly:
>> SA_XMPP_OPENFIRE_TEST-1.0.0.tmp
>> 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-http</component-name>
>> <component-task-result-details>
>> <task-result-details>
>> <task-id>deploy</task-id>
>> <task-result>SUCCESS</task-result>
>> </task-result-details>
>> </component-task-result-details>
>> </component-task-result>
>> <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>> <component-name>servicemix-lwcontainer</component-name>
>> <component-task-result-details>
>> <task-result-details>
>> <task-id>deploy</task-id>
>> <task-result>SUCCESS</task-result>
>> </task-result-details>
>> </component-task-result-details>
>> </component-task-result>
>> <component-task-result>
>> <component-name>gestalt-xmpp-binding</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>Unable to parse result string</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>> <exception-info>
>> <nesting-level>1</nesting-level>
>> <loc-token/>
>> <loc-message>Failed to deploy the service unit - SU_XMPP_OPENESB_TEST :
>> Failed to deploy the service unit - no endpoints were found -
>> SU_XMPP_OPENESB_TEST</loc-message>
>> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: Failed to
>> deploy the service unit - SU_XMPP_OPENESB_TEST : Failed to deploy the
>> service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
>>
>> at
>> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:127)
>>
>> at
>> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(AutoDeploymentService.java:482)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
>>
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
>>
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>>
>> at java.util.TimerThread.run(Timer.java:462)
>>
>> Caused by: javax.jbi.management.DeploymentException: Failed to deploy the
>> service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
>>
>> at
>> com.gestalt.jbi.component.manager.deployment.AbstractDeployer.deploy(AbstractDeployer.java:137)
>>
>> at
>> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.doDeploy(AbstractServiceUnitManager.java:156)
>>
>> at
>> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:125)
>>
>> ... 9 more
>>
>> ]]></stack-trace>
>> </exception-info>
>> </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.checkPendingSAs(AutoDeploymentService.java:482)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>>
>> Here the configuration of my xbean.xml :
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!--
>>
>> Licensed to the Apache Software Foundation (ASF) under one or more
>> contributor license agreements. See the NOTICE file distributed with
>> this work for additional information regarding copyright ownership.
>> The ASF licenses this file to You under the Apache License, Version 2.0
>> (the "License"); you may not use this file except in compliance with
>> the License. You may obtain a copy of the License at
>>
>> http://www.apache.org/licenses/LICENSE-2.0
>>
>> Unless required by applicable law or agreed to in writing, software
>> distributed under the License is distributed on an "AS IS" BASIS,
>> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>> See the License for the specific language governing permissions and
>> limitations under the License.
>>
>> -->
>> <beans xmlns:xmpp="http://com.gestalt/xmpp"
>> xmlns:ann="http://servicemix.org/xmpp/anne">
>>
>> <!-- <xmpp:endpoint
>> service="ann:XmppDeOpenFire"
>> endpoint="endpointXmpp"
>> interface="tns:interface"
>> role="consumer"
>> targetService="ann:outScreen"
>> defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
>> operationName="receiveMessage"
>> tlsEnabled="false"
>> saslEnabled="false">
>> <xmpp:address
>> domain="localhost"
>> username="test"
>> password="test"
>> resource="resource"
>> port="5222" />
>> </xmpp:endpoint>-->
>>
>> <xmpp:endpoint
>> service="ann:XmppVersOpenFire"
>> endpoint="endpointXmpp"
>> role="provider"
>> operationName="sendMessage"
>> tlsEnabled="false"
>> saslEnabled="false">
>> <xmpp:address
>> domain="localhost"
>> username="test"
>> password="test"
>> resource="resource"
>> port="5222" />
>> </xmpp:endpoint>
>>
>> </beans>
>>
>> Has anyone an idea of the cause of the problem ?
>>
>> Thanks in advance,
>>
>> Anne.
>>
>
>
>
> -----
> ---
> Gert Vanthienen
> http://www.anova.be
>
--
View this message in context: http://www.nabble.com/BC-XMPP-Open-Esb-tp18867662p18921127.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: BC XMPP Open Esb
Posted by Gert Vanthienen <ge...@skynet.be>.
Anne,
Is there any exception before this one that might explain why the
endpoints have not been deployed? This one is just about the SU not
holding any endpoints, but there's likely to be something else that
prevented endpoint deployment before this.
Regards,
Gert
Anne Noseda wrote:
> Hello,
>
> I have deployed the XMPP component from Open ESB on Servicemix.
> I try to deploy a SA containing one SU XMPP but I have the following error :
>
> 12:08:09,306 | ERROR | Timer-4 | AutoDeploymentService |
> ramework.AutoDeploymentService 486 | Failed to update Service Assembly:
> SA_XMPP_OPENFIRE_TEST-1.0.0.tmp
> 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-http</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>deploy</task-id>
> <task-result>SUCCESS</task-result>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> <component-task-result
> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> <component-name>servicemix-lwcontainer</component-name>
> <component-task-result-details>
> <task-result-details>
> <task-id>deploy</task-id>
> <task-result>SUCCESS</task-result>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> <component-task-result>
> <component-name>gestalt-xmpp-binding</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>Unable to parse result string</loc-message>
> </msg-loc-info>
> </task-status-msg>
> <exception-info>
> <nesting-level>1</nesting-level>
> <loc-token/>
> <loc-message>Failed to deploy the service unit - SU_XMPP_OPENESB_TEST :
> Failed to deploy the service unit - no endpoints were found -
> SU_XMPP_OPENESB_TEST</loc-message>
> <stack-trace><![CDATA[javax.jbi.management.DeploymentException: Failed to
> deploy the service unit - SU_XMPP_OPENESB_TEST : Failed to deploy the
> service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
>
> at
> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:127)
>
> at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.checkPendingSAs(AutoDeploymentService.java:482)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
>
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
>
> at java.util.TimerThread.mainLoop(Timer.java:512)
>
> at java.util.TimerThread.run(Timer.java:462)
>
> Caused by: javax.jbi.management.DeploymentException: Failed to deploy the
> service unit - no endpoints were found - SU_XMPP_OPENESB_TEST
>
> at
> com.gestalt.jbi.component.manager.deployment.AbstractDeployer.deploy(AbstractDeployer.java:137)
>
> at
> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.doDeploy(AbstractServiceUnitManager.java:156)
>
> at
> com.gestalt.jbi.component.manager.AbstractServiceUnitManager.deploy(AbstractServiceUnitManager.java:125)
>
> ... 9 more
>
> ]]></stack-trace>
> </exception-info>
> </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.checkPendingSAs(AutoDeploymentService.java:482)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:293)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:252)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:664)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:628)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
>
> Here the configuration of my xbean.xml :
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>
> Licensed to the Apache Software Foundation (ASF) under one or more
> contributor license agreements. See the NOTICE file distributed with
> this work for additional information regarding copyright ownership.
> The ASF licenses this file to You under the Apache License, Version 2.0
> (the "License"); you may not use this file except in compliance with
> the License. You may obtain a copy of the License at
>
> http://www.apache.org/licenses/LICENSE-2.0
>
> Unless required by applicable law or agreed to in writing, software
> distributed under the License is distributed on an "AS IS" BASIS,
> WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> See the License for the specific language governing permissions and
> limitations under the License.
>
> -->
> <beans xmlns:xmpp="http://com.gestalt/xmpp"
> xmlns:ann="http://servicemix.org/xmpp/anne">
>
> <!-- <xmpp:endpoint
> service="ann:XmppDeOpenFire"
> endpoint="endpointXmpp"
> interface="tns:interface"
> role="consumer"
> targetService="ann:outScreen"
> defaultMep="http://www.w3.org/2004/08/wsdl/in-only"
> operationName="receiveMessage"
> tlsEnabled="false"
> saslEnabled="false">
> <xmpp:address
> domain="localhost"
> username="test"
> password="test"
> resource="resource"
> port="5222" />
> </xmpp:endpoint>-->
>
> <xmpp:endpoint
> service="ann:XmppVersOpenFire"
> endpoint="endpointXmpp"
> role="provider"
> operationName="sendMessage"
> tlsEnabled="false"
> saslEnabled="false">
> <xmpp:address
> domain="localhost"
> username="test"
> password="test"
> resource="resource"
> port="5222" />
> </xmpp:endpoint>
>
> </beans>
>
> Has anyone an idea of the cause of the problem ?
>
> Thanks in advance,
>
> Anne.
>