axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabien Couvert <fabien.couv...@bull.net>
Subject Re: Axis2 1.3 to Axis2 1.4
Date Tue, 08 Jul 2008 06:45:41 GMT
Hi,

Another idea please ?

I'm completely blocked.


Fabien Couvert a écrit :
> Fabien Couvert a écrit :
>
> I checked the system classpath and it doesn't containt any jar. Only a 
> .zip file for quicktime.
> Where tomcat can find Jaxb2.0 ?!
>
> here is the error server side :
> [ERROR] AxisServlet.doPost() - 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 :
>>> Well... then how about your system classpath?
>>> Open up a new command window and check what jars are in your classpath.
>>>
>>> /sumedha
>>>
>>>      rubasinghe a écrit :
>>>
>>>         Hi,
>>>
>>>         I tested axis2-1.4 war with java version "1.5.0_14" & Tomcat
>>>         6.0.16 .o
>>>         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
>>>         <fabien.couvert@bull.net <mailto:fabien.couvert@bull.net>
>>>         <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>>> 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
>>>                <fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>         <mailto:fabien.couvert@bull.net 
>>> <mailto:fabien.couvert@bull.net>>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>>>> 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
>>>                       <fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>         <mailto:fabien.couvert@bull.net 
>>> <mailto:fabien.couvert@bull.net>>>
>>>                       <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>>
>>>                       <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>
>>>                <mailto:fabien.couvert@bull.net
>>>         <mailto:fabien.couvert@bull.net>>>>> 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:
>>>                axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>
>>>                       <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>>
>>>                          <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>
>>>                       <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>>>
>>>
>>>                          For additional commands, e-mail:
>>>                       axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>>
>>>                          <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>
>>>                       <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>>>
>>>
>>>
>>>
>>>
>>>                                
>>> ---------------------------------------------------------------------
>>>                   To unsubscribe, e-mail:
>>>         axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>
>>>                   <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>                <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>>
>>>                   For additional commands, e-mail:
>>>                axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>         <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>
>>>                   <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>
>>>                <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>>
>>>
>>>
>>>
>>>
>>>                --        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: axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>
>>>            <mailto:axis-user-unsubscribe@ws.apache.org
>>>         <mailto:axis-user-unsubscribe@ws.apache.org>>
>>>            For additional commands, e-mail:
>>>         axis-user-help@ws.apache.org 
>>> <mailto:axis-user-help@ws.apache.org>
>>>            <mailto:axis-user-help@ws.apache.org
>>>         <mailto:axis-user-help@ws.apache.org>>
>>>
>>>
>>>
>>>
>>>     
>>> ---------------------------------------------------------------------
>>>     To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>     <mailto:axis-user-unsubscribe@ws.apache.org>
>>>     For additional commands, e-mail: axis-user-help@ws.apache.org
>>>     <mailto:axis-user-help@ws.apache.org>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message