Hi,

the only thing in my classpath for tomcat is : "D:\produits\Tomcat 6.0\bin\bootstrap.jar"

Did you think that the jaxb-api was include in the bootstrap.jar ?

Thank you
Fabien

sumedha rubasinghe a écrit :
Hi,
I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat 6.0.16 .
It works fine. So this must be due to an additional jar file in your system classpath.

Try printing contents of classpath variable just before tomcat starts.
axis2.war contains jaxb-api-2.1.jar file. There must be an older version of the same jar file in your classpath, which gets loaded before 2.1 jar.

/sumedha




On Fri, Jun 27, 2008 at 1:21 PM, Fabien Couvert <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    I use Jdk1.5.0-14

    Did you think that is the problem ?

    keith chapman a écrit :

        Should be an issue with the JDK you are using not with Tomcat.
        What is your JDK version?

        Thanks,
        Keith.

        On Fri, Jun 27, 2008 at 12:02 PM, Fabien Couvert
        <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>> wrote:

           Thank you for your answer

           I did a mistake in the lib name ...

           But now I have another error, is there an incompatibility
        between
           Axis2 1.4 and Tomcat 6.0.16 ?

           The error :
           Impossible to call remote service with url.
           Caused by: org.apache.axis2.AxisFault: java.lang.LinkageError:
           JAXB 2.0 API is being loaded from the bootstrap
        classloader, but
           this RI (from
jar:file:/D:/produits/Tomcat%206.0/webapps/axis2/WEB-INF/lib/jaxb-impl-2.1.6.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
           needs 2.1 API. Use the endorsed directory mechanism to place
           jaxb-api.jar in the bootstrap classloader. (See
           http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

           Thank you

           sumedha rubasinghe a écrit :

               Hi,
               Do you have XmlSchema-1.4.2.jar in your classpath?

               /sumedha

               On Thu, Jun 26, 2008 at 5:46 PM, Fabien Couvert
               <[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
               <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
               <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>>> wrote:

                  Hi all,

                  I try to upgrade Axis2 to 1.4 version but I get this
        exception
                  when I try to createConfigurationContextFromFileSystem :

                  Exception in thread "main"
        java.lang.NoClassDefFoundError:
                  org/apache/ws/commons/schema/resolver/URIResolver
                    at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)


                  Anyone have an idea please ?

---------------------------------------------------------------------
                  To unsubscribe, e-mail:
        [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
               <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>
                  <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
               <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>>

                  For additional commands, e-mail:
               [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
        <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>
                  <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
               <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>>




---------------------------------------------------------------------
           To unsubscribe, e-mail: [EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>
           <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>
           For additional commands, e-mail:
        [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
           <mailto:[EMAIL PROTECTED]
        <mailto:[EMAIL PROTECTED]>>




-- Keith Chapman
        Senior Software Engineer
        WSO2 Inc.
        Oxygenating the Web Service Platform.
        http://wso2.org/

        blog: http://www.keith-chapman.org



    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to