navigator09 wrote:
>
> Hi,
>
> This example needs some component of openESB to run in servicemix. First
> you have to install that component and then deploy the example. The error
> msg mentions that the component is required to deploy the serviceunit
> "'Simple file flow" . Hotdeploy that component first.
>
> Hope this helps
>
> Regards,
> Ganesh
>
>
> FreshAir wrote:
>>
>> Hi
>> I am trying to use openESB BC in ServiceMix3.2.1. And I have been told
>> that "The Sun OpenESB is based on JBI and provides many JBI compliant
>> components that can also be used in ServiceMix." so I assumed that it
>> should work.
>> But when I followed the example provided in the article
>> http://opensourceesb.blogspot.com/2007/10/using-openesb-smtp-components-inside.html
>>
>> Using openESB SMTP components inside ServiceMix I came across some
>> exceptions. Those were when I tried to deploy the sa-exmaple-smtp.zip to
>> hotdeploy dir as follows:
>>
>> INFO - AutoDeploymentService - Directory: hotdeploy: Archive
>> changed:
>> processing sa-example-smtp.zip ...
>> 2008-7-6 10:12:15 com.sun.jbi.smtpbc.SMTPBindingDeployer deploy
>> 信息: Deploying service unit: Mail-SU from
>> D:\work\apache-servicemix-3.2.1\data\
>> smx\service-assemblies\MailServiceAssembly\version_1\sus\sun-smtp-binding\Mail-S
>> U.
>> 2008-7-6 10:12:15 com.sun.jbi.smtpbc.ServiceUnitImpl deploy
>> 信息: SU_Called_SU_deploy
>> java.lang.NullPointerException
>> at
>> com.sun.jbi.smtpbc.packaging.EndpointConfiguration.newConfiguration(E
>> ndpointConfiguration.java:60)
>> at
>> com.sun.jbi.smtpbc.ServiceUnitImpl.initializeEndpointConfig(ServiceUn
>> itImpl.java:430)
>> at
>> com.sun.jbi.smtpbc.ServiceUnitImpl.deploy(ServiceUnitImpl.java:413)
>> at
>> com.sun.jbi.smtpbc.SMTPBindingDeployer.deploy(SMTPBindingDeployer.jav
>> a:108)
>> at
>> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAs
>> sembly(DeploymentService.java:508)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServi
>> ceAssembly(AutoDeploymentService.java:350)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchi
>> ve(AutoDeploymentService.java:253)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDire
>> ctory(AutoDeploymentService.java:647)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(
>> AutoDeploymentService.java:60)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoD
>> eploymentService.java:611)
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.ServiceUnitImpl deploy
>> 严重: Failed to deploy service unit Mail-SU due to: null
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.ServiceUnitImpl stop
>> 信息: Stopping Service unit: Mail-SU.
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.ServiceUnitImpl stop
>> 信息: Successfully stopped service unit: Mail-SU.
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.ServiceUnitImpl shutdown
>> 信息: ServiceUnit shutdown method called.
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.ServiceUnitImpl shutdown
>> 信息: Successfully shutdown service unit: Mail-SU.
>> 2008-7-6 10:12:16 com.sun.jbi.smtpbc.SMTPBindingDeployer deploy
>> 严重: Failed to deploy service unit due to: null
>> ERROR - AutoDeploymentService - Failed to update Service
>> Assembly: Mail
>> ServiceAssembly
>> 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-file</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 find suitable deployer for Service Unit 'Simple
>> file flow
>> '</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(Managem
>> entSupport.java:125)
>> at
>> org.apache.servicemix.jbi.framework.ManagementSupport.failure(Managem
>> entSupport.java:111)
>> at
>> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAs
>> sembly(DeploymentService.java:543)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServi
>> ceAssembly(AutoDeploymentService.java:350)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchi
>> ve(AutoDeploymentService.java:253)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDire
>> ctory(AutoDeploymentService.java:647)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(
>> AutoDeploymentService.java:60)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoD
>> eploymentService.java:611)
>> at java.util.TimerThread.mainLoop(Timer.java:512)
>> at java.util.TimerThread.run(Timer.java:462)
>> WARN - AutoDeploymentService - Directory: hotdeploy: Automatic
>> install
>> of D:\work\apache-servicemix-3.2.1\hotdeploy\sa-example-smtp.zip failed
>> javax.jbi.management.DeploymentException: Failed to update Service
>> Assembly: Mai
>> lServiceAssembly
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServi
>> ceAssembly(AutoDeploymentService.java:365)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchi
>> ve(AutoDeploymentService.java:253)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDire
>> ctory(AutoDeploymentService.java:647)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(
>> AutoDeploymentService.java:60)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoD
>> eploymentService.java:611)
>> 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-file</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 find suitable deployer for Service Unit 'Simple
>> file flow
>> '</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(Managem
>> entSupport.java:125)
>> at
>> org.apache.servicemix.jbi.framework.ManagementSupport.failure(Managem
>> entSupport.java:111)
>> at
>> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAs
>> sembly(DeploymentService.java:543)
>> at
>> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServi
>> ceAssembly(AutoDeploymentService.java:350)
>> ... 6 more
>>
>> I was so frustrated since everything before that seemed fine(the
>> component deployed successfully).My OS is windows xp.
>> Would someone please give me a hand?
>>
>> Best Regards
>>
>>
>>
>
>
Hi,
But I think the problem is not that I didn't deploy the component since it
was packaged as a su in that sa.
--
View this message in context:
http://www.nabble.com/Question-about-Using-openESB-BC-in-ServiceMix-tp18298418p18352570.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.