axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Bull <anthony.b...@bcsoft.co.nz>
Subject Re: NoSuchMethodError error while engagin rampart
Date Fri, 22 Jun 2007 01:56:10 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I just had this same problem while engaging the addressing module. <br>
<br>
The issue was I was using Axis 1.2 and the Addressing 1.0 module.&nbsp;
Upgraded the addressing to 1.2 and it fixed it.<br>
<br>
Chad DeBauch wrote:
<blockquote
 cite="midb20dfe880706211836u43a285d3v76f43c238b3010e0@mail.gmail.com"
 type="cite">Some code that is executing is calling the method
isEngaged(QName) but with the latest release of Axis2 if you look at
the java docs the only isEngaged method accepts a String.&nbsp; Make sure
you don't have any code that calls the method isEngaged(QName) and that
you are using the latest 1.2 jars of both Rampart and Axis2.&nbsp; You also
might want to check that you don't have duplicate jars, that is an
older version is loaded before your newer version jar.<br>
  <br>
Chad<br>
  <br>
  <div><span class="gmail_quote">On 6/21/07, <b
 class="gmail_sendername"><a href="mailto:evandrocontato@hotmail.com">evandrocontato@hotmail.com</a></b>
&lt;<a href="mailto:evandrocontato@hotmail.com">evandrocontato@hotmail.com</a>&gt;
wrote:</span>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;">Hi
Chad,<br>
    <br>
    <br>
I made download of the archive however still the error occurs<br>
java.lang.NoSuchMethodError:
org.apache.axis2.context.MessageContext.isEngaged(Ljavax/xml/namespace/QName;)Z<br>
    <br>
some idea of as I can decide?
    <br>
    <br>
Link download<br>
    <a href="http://www.apache.org/dist/ws/rampart/1_2/">http://www.apache.org/dist/ws/rampart/1_2/</a><br>
    <br>
thanks,<br>
    <br>
Evandro P. Contato<br>
Curitiba - Paran&aacute; - Brasil<br>
    <br>
    <br>
Chad DeBauch wrote:
    <br>
&gt;<br>
&gt; You need to be using rampart-1.2.mar with axis2-1.2.<br>
&gt;<br>
&gt; Chad<br>
&gt;<br>
&gt; On 6/19/07, Shantaram Nadkarni &lt;<a
 href="mailto:snadkarni@copyright.com">snadkarni@copyright.com</a>&gt;
wrote:
    <br>
&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp;Hi<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp; I am trying to engage rampart module. I get the following
error<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; org.apache.axis2.AxisFault: java.lang.NoSuchMethodError
: boolean<br>
&gt;&gt;
org.apache.axis2.context.MessageContext.isEngaged(javax.xml.namespace.QN<br>
&gt;&gt;<br>
&gt;&gt; ame)<br>
&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at<br>
&gt;&gt;<br>
&gt;&gt; org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
(Utils.java<br>
&gt;&gt;<br>
&gt;&gt; :434)<br>
&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at<br>
&gt;&gt;<br>
&gt;&gt;
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper<br>
&gt;&gt;<br>
&gt;&gt; ation.java:373)<br>
&gt;&gt;<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
at<br>
&gt;&gt;<br>
&gt;&gt;
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO<br>
&gt;&gt;<br>
&gt;&gt; peration.java:294)<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I am using rampart-1.1.mar and axis2-1.2<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I have included the module in the service.xml as well as
axis2.xml<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Please advice.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Shantaram<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
Quoted from:<br>
    <a
 href="http://www.nabble.com/NoSuchMethodError-error-while-engagin-rampart-tf3947792.html#a11200135">http://www.nabble.com/NoSuchMethodError-error-while-engagin-rampart-tf3947792.html#a11200135</a><br>
    <br>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Anthony
-------------------------------------
Anthony Bull
Senior Developer
Black Coffee Software Ltd
PO Box 10-192 The Terrace
Wellington, New Zealand

<a class="moz-txt-link-abbreviated" href="mailto:anthony.bull@bcsoft.co.nz">anthony.bull@bcsoft.co.nz</a>
Ph  +64 4 472 8818
Fax +64 4 472 8811
Mobile 021 303 692
-------------------------------------
<a class="moz-txt-link-abbreviated" href="http://www.bcsoft.co.nz">www.bcsoft.co.nz</a>
---------------------------------------------------------------
This email may contain confidential or privileged information,
and is intended for use only by the addressee, or addressees.
If you are not the intended recipient please advise the sender
immediately and do not copy, use or disclose the contents to
any other person or organisation.
Black Coffee Software Ltd accepts no responsibility for viruses
received with this email, or to any changes made to the original
content. Any views or opinions expressed in this email may be
personal to the sender and are not necessarily those of Black
Coffee Software Ltd.
---------------------------------------------------------------
</pre>
</body>
</html>


---------------------------------------------------------------------
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