hi ,

Thanks  bsnyder for your solution i could resolve the issue which in
xbean.xml.
i could deploy it.itz working fine but i couldnt understand the flow of the
example(uniting file-su,eip-su,jms-su).
reference:(B) http://servicemix.apache.org/26-beginner-exercise.html

i am putting a xml file in folder My-poller the file to copied to the folder
My-sender.
can any one explain the flow of this  example because i couldnt find the
differnce between the tutorial
((A)http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html)which
is creating only 1 SU(tutorial-file-su) and assembling into tutorial-sa.here
also the same process is taking place.
i could not understand the difference between these two i.e A & B.
so please clarify me the the atcual process taking place.

Thanks & Regards,
J.MAHESH


bsnyder wrote:
> 
> On Tue, Mar 25, 2008 at 6:54 AM, Mahesh_w <[EMAIL PROTECTED]> wrote:
>>
>>  hi,
>>
>>  i am doing the tutorial execercise the link is
>>  http://servicemix.apache.org/26-beginner-exercise.html
>>
>>  i have built an SA with three
>>  SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
>>  when i am deploying i am getting the  error in log file.
>>  i am attaching the log file.
>>
>>  15:30:10,446 | INFO  | main       | JBIContainer             |
>>  mix.jbi.container.JBIContainer  642 | ServiceMix JBI
>>
>>  Container (ServiceMix) started
>>  15:30:11,900 | INFO  | main       | JDBCAdapterFactory       |
>>  icemix.jdbc.JDBCAdapterFactory   45 | Database driver
>>
>>  recognized: [apache_derby_embedded_jdbc_driver]
>>  15:30:12,087 | INFO  | main       | LogTask                  |
>>  servicemix.jbi.logging.LogTask   58 | Logging system
>>
>>  reconfigured using file:
>>  file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
>>  15:31:42,448 | INFO  | Timer-5    | AutoDeploymentService    |
>>  ramework.AutoDeploymentService  646 | Directory: hotdeploy:
>>
>>  Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
>>  15:31:43,682 | INFO  | Timer-5    | DeploymentService        |
>>  bi.framework.DeploymentService  683 | UnDeployed ServiceUnit
>>
>>  tutorial-file-su from Component: servicemix-file
>>  15:31:43,916 | INFO  | Timer-5    | DeploymentService        |
>>  bi.framework.DeploymentService  683 | UnDeployed ServiceUnit
>>
>>  tutorial-jms-su from Component: servicemix-jms
>>  15:31:44,213 | ERROR | Timer-5    | AutoDeploymentService    |
>>  ramework.AutoDeploymentService  364 | Failed to update
>>
>>  Service Assembly: tutorial-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-file</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-jms</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-eip</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>Could not deploy xbean service unit</loc-message>
>>  </msg-loc-info>
>>  </task-status-msg>
>>                         <exception-info>
>>                                 <nesting-level>1</nesting-level>
>>                                 <msg-loc-info>
>>                                         <loc-token/>
>>
>> 
>> <loc-message>org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>>
>>  Line 20 in XML document from file
>>
>> 
>> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>>
>>  ip-su\xbean.xml] is invalid; nested exception is
> 
> The error above clearly states that the problem is in the xbean.xml
> file for the tutorial-eip-su. Please paste that file in a reply to
> this message so we can see its contents.
> 
> Bruce
> -- 
> perl -e 'print
> unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
> 
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
> 
> Blog: http://bruceblog.org/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/getting-error-when-deploying-sa..-tp16274458s12049p16296287.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to