I think the problem does not come from the SA jbi descriptor, but from one
of the SU jbi descriptor.
ServiceMix does not mandate the existence of the SU jbi.xml, but if present,
the descriptor must
be valid.  For example, an empty descriptor (<jbi />) won't pass the tests.

On 8/11/06, boris <[EMAIL PROTECTED]> wrote:


Sure,

the jbi.xml follows (it's in META-INF):

<?xml version="1.0" encoding="UTF-8"?>
<jbi xmlns="http://java.sun.com/xml/ns/jbi"; version="1.0">

   <service-assembly>
     <identification>
       <name>test</name>
       <description>test</description>
     </identification>

     <service-unit>
       <identification>
         <name>jms</name>
         <description>JMS Component</description>
       </identification>
       <target>
         <artifacts-zip>jms-su.zip</artifacts-zip>
         <component-name>servicemix-jms</component-name>
       </target>
     </service-unit>

     <service-unit>
       <identification>
         <name>test-jsr181</name>
         <description>Contains the service</description>
       </identification>
       <target>
         <artifacts-zip>test-jsr181-su.zip</artifacts-zip>
         <component-name>servicemix-jsr181</component-name>
       </target>
     </service-unit>

     <service-unit>
       <identification>
         <name>test-http</name>
         <description>Contains the service</description>
       </identification>
       <target>
         <artifacts-zip>test-http-su.zip</artifacts-zip>
         <component-name>servicemix-http</component-name>
       </target>
     </service-unit>

   </service-assembly>
</jbi>

Many thanks,

boris


Philip Dodds-2 wrote:
>
> Can you provide a copy of the service assembly jbi.xml that is failing?
>
> P
>
> On 8/10/06, boris <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi,
>>
>> since I compiled the last version of SM-core from SVN, I'm not able to
>> deploy my Service Asembly any more. The problem:
>>
>> "The JBI descriptor is not valid, please correct these violations [The
>> jbi
>> descriptor does not contain any informations]"
>>
>> With the SM-core version that I've used before, everything was running
>> fine.
>> The method "checkDescriptor" in class "DescriptorFactory" has some new
>> features!!! Could you check it?
>>
>> Many thanks,
>>
>> boris
>> --
>> View this message in context:
>>
http://www.nabble.com/Problem-with-SA-deployment-tf2085662.html#a5747645
>> Sent from the ServiceMix - User forum at Nabble.com.
>>
>>
>
>

--
View this message in context:
http://www.nabble.com/Problem-with-SA-deployment-tf2085662.html#a5757649
Sent from the ServiceMix - User forum at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to