While trying to deploy the wsdlsl.jar from the JBI RI examples I hit a problem:

 

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jbi' defined in URL [file:/L:/jboss-4.0.2/server/default/data/ServiceMix/defaultJBI/tmp/wsdlsl.0.tmp/META-INF/jbi.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException: PropertyAccessExceptionsException (1 errors); nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.lang.String] to required type [org.servicemix.jbi.deployment.SharedLibrary] for property 'sharedLibrary']

 

Is this a problem with the handling of the comment in the jbi.xml :

 

<?xml version="1.0"?>

<!-- jbi.xml file for a sample shared library. -->

<jbi

    version="1.0"

    xmlns="http://java.sun.com/xml/ns/jbi"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

    xsi:schemaLocation="http://java.sun.com/xml/ns/jbi ./jbi.xsd">

 

<!-- identification information about this shared library-->

    <shared-library>

        <identification>

            <name>SunWSDLSharedLibrary</name>

            <description>This is a WSDL shared library.</description>

        </identification>

        <shared-library-class-path>

            <path-element>.</path-element>

            <path-element>xbean.jar</path-element>

         </shared-library-class-path>

    </shared-library>

</jbi>

 

Cheers

 

P

 

Reply via email to