>> I tried just dropping the jar file that is made when I compile the
>> MyTest-su-se into the deploy dir, but I get errors, so I assume that is
>> not
>> the correct way to fix my problem.
>>
>> My error says "Unable to find jbi descriptor:
>> deploy/MyTest-su-se-1.0-SNAPSHOT.jar"
>>
>> Any ideas on how to fix my problem of the SA not deploying?

>Does the JAR file contain a directory named META-INF that contains a
>jbi.xml file? Based on the error above, it cannot find such a file.
>The META-INF/jbi.xml file is created for you by the jbi-maven-plugin
>when building with Maven. Are you building the project with Maven? If
>so, please post the <build> section from the pom.xml.

It doesn't look like there is a jbi.xml in the META-INF directory.  Here is
the build section from the pom.xml.


<build>
    <plugins>
      <plugin>
        <groupId>org.apache.servicemix.tooling</groupId>
        <artifactId>jbi-maven-plugin</artifactId>   
        <version>${servicemix-version}</version>     
        <extensions>true</extensions>
        <configuration>
          <type>service-engine</type>
         
<bootstrap>org.apache.servicemix.samples.MyTest.MyBootstrap</bootstrap>
         
<component>org.apache.servicemix.samples.MyTest.MyComponent</component>
          <deployDependencies>false</deployDependencies>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.xbean</groupId>
        <artifactId>maven-xbean-plugin</artifactId>
        <version>${xbean-version}</version>
        <executions>
          <execution>
            <configuration>
             
<namespace>http://org.apache.servicemix.samples.MyTest/1.0</namespace>
            </configuration>
            <goals>
              <goal>mapping</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
-- 
View this message in context: 
http://www.nabble.com/How-to-send-messages-between-service-units-tf3555183s12049.html#a10186369
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to