3 Replies Latest reply on Sep 14, 2010 11:16 PM by jessica leahy

    bridge-camel example

    Richard T Newbie

      hi,

      I was able to get the "bridge-camel" example to work for fuse 4.2. I made a copy of it and wanted to change the ingest point from "http" to use the file-poller.  I now get the following error in the log:

       

      16:39:29,661 | ERROR | use-01-00/deploy | ServiceAssemblyInstaller         | er.impl.ServiceAssemblyInstaller  212 | Error deploying SU bridge-http-su

      javax.jbi.management.DeploymentException: <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>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>Configuration problem: Bean class not found

      Offending resource: file

      Bean ''; nested exception is java.lang.ClassNotFoundException: org.apache.servicemix.file.FilePollerEndpoint in classloader org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1573f80</loc-message>

                                              <stack-trace><![CDATA[org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Bean class not found

      Offending resource: file

      Bean ''; nested exception is java.lang.ClassNotFoundException: org.apache.servicemix.file.FilePollerEndpoint in classloader org.apache.xbean.spring.context.FileSystemXmlApplicationContext@1573f80

       

      I copied the info from the fuse documentation (which seems to match the servicemix documentation) but to no avail. Oh I did update the pom from using org.apache.servicemix:servicemix-http:${servicemix-http-version} to use org.apache.servicemix:servicemix-file:${servicemix-file-version}.

       

      I am finding that the projects in the "examples" directory work, but unfortunately, they don't seem to "mix" very well, as I haven't been able to get modified projects work.