You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "GU Lei (JIRA)" <ax...@ws.apache.org> on 2004/11/28 14:54:18 UTC

[jira] Created: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
-----------------------------------------------------------------------------------------------------------------------

         Key: AXIS-1686
         URL: http://nagoya.apache.org/jira/browse/AXIS-1686
     Project: Axis
        Type: Bug
    Versions: 1.2RC1, 1.2RC2    
 Environment: tomcat 4.1.x + jdk 1.4.2
    Reporter: GU Lei
    Priority: Blocker


Soap request with
<?xml version="1.0" encoding="UTF-8"?>
<SOAPEvnelope>
...
</SOAPEnvelope>
if only with
<SOAPEvnelope>
...
</SOAPEnvelope>
there is no error
I modify the implementation of this method to

          org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
          text.setOwnerDocument(getOwnerDocument());
          appendChild(text);

it does work for me.
I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1686?page=comments#action_57028 ]
     
Dominik Kacprzak commented on AXIS-1686:
----------------------------------------

GU, 

I suggested that you check if there are no conflicting saaj definitions in your classpath  based on your original comment.  If you still think that this could be an issue, you can download a nightly build.  I modified happyaxis.jsp to detect conflicts caused by incorrect saaj definition.

Going back to your problem, can you please explain what you are trying to accomplish?  I'm not sure how we got from the original bug report to implementing custom providers.

Looking forward to your response,

- Dominik

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "GU Lei (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1686?page=comments#action_57011 ]
     
GU Lei commented on AXIS-1686:
------------------------------

I tried to implements a new Provider, use only the jars shipped with axis. the code in the provider's processMessage method like this:
  public void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv,
                             SOAPEnvelope resEnv, Object obj) throws java.lang.
      Exception {
    Service service = new Service();
    Call call = (Call) service.createCall();
    call.setTargetEndpointAddress(new java.net.URL(endpoint));

    resEnv = call.invoke(reqEnv);
  }

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1686?page=history ]

Dominik Kacprzak reassigned AXIS-1686:
--------------------------------------

    Assign To: Dominik Kacprzak

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Lila Agishtein (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1686?page=comments#action_65718 ]
     
Lila Agishtein commented on AXIS-1686:
--------------------------------------

I have experienced the same problem
I just downloaded axis distribution and was trying to run the samples provided.
Trying to run CalcClient in example2 I got this exception.
I have a tomcat distribution 4.1.29 

Any comments?


> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://issues.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Ole-Martin Mørk (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-1686?page=comments#action_12320560 ] 

Ole-Martin Mørk commented on AXIS-1686:
---------------------------------------

Is the fix in axis-1.2.1?
Which files were changed?

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://issues.apache.org/jira/browse/AXIS-1686
>      Project: Apache Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1686?page=comments#action_56364 ]
     
Dominik Kacprzak commented on AXIS-1686:
----------------------------------------

GU,

Is it possible that you have any jar files from Java Web Services Developer Pack Version 1.0 in your CLASSPATH or tomcat's library? 
Could you provide a sample code to reproduce this issue?

thanks,

- Dominik

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Priority: Blocker

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1686?page=all ]
     
Davanum Srinivas resolved AXIS-1686:
------------------------------------

    Resolution: Fixed

Fixed in latest CVS.

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://issues.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC2, 1.2RC1
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Assignee: Dominik Kacprzak
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-1686) java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)

Posted by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1686?page=history ]

Dominik Kacprzak updated AXIS-1686:
-----------------------------------

    Priority: Minor  (was: Blocker)

I'm reducing priority on this issue as we are awaiting more information from GU.  I'm also reassigning this issue to myself, at least till we can reliably reproduce it and figure out what to do next.

- Dominik

> java.lang.IncompatibleClassChangeError for org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1388)
> -----------------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1686
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1686
>      Project: Axis
>         Type: Bug
>     Versions: 1.2RC1, 1.2RC2
>  Environment: tomcat 4.1.x + jdk 1.4.2
>     Reporter: GU Lei
>     Priority: Minor

>
> Soap request with
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> if only with
> <SOAPEvnelope>
> ...
> </SOAPEnvelope>
> there is no error
> I modify the implementation of this method to
>           org.apache.axis.message.Text text = new org.apache.axis.message.Text(s);
>           text.setOwnerDocument(getOwnerDocument());
>           appendChild(text);
> it does work for me.
> I guest it's because javax.xml.**.java in axis are incompatible with saaj.jar/jaxrpc.jar in axis/lib

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira