axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nisha Menon" <nisha.me...@wipro.com>
Subject error using SignedSOAPEnvelope.java
Date Wed, 14 May 2003 10:01:35 GMT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META
HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"></HEAD><BODY><DIV>hi
all,</DIV><DIV>&nbsp;</DIV><DIV>i am using axis + tomcat currently
and trying to run 
xml security digital signatures.</DIV><DIV>&nbsp;</DIV><DIV>i
get an error during runtime at the following line in 
my SessionHanlder.java file which references SignedSOAPEnvelope.java (have 
attached this file. it came as a part of axis code samples)</DIV>
<DIV>&nbsp;</DIV>
<DIV>SignedSOAPEnvelope signedEnvelope = new SignedSOAPEnvelope(context, 
unsignedEnv, "<A href="http://xml-security">http://xml-security</A>", 
filename);</DIV>
<DIV>&nbsp;</DIV>
<DIV>error i get is:</DIV>
<DIV>&nbsp;</DIV>
<DIV>Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.log4j.Categor<BR>y.getInstance(Ljava/lang/String;)Lorg/apache/log4j/Logger;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.xml.security.Init.&lt;clinit&gt;(Init.java:97)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
SignedSOAPEnvelope.&lt;clinit&gt;(SignedSOAPEnvelope.java:99)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
SessionHandler.doClient(SessionHandler.java:133)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
SessionHandler.invoke(SessionHandler.java:96)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg<BR>y.java:71)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:156)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.SimpleChain.invoke(SimpleChain.java:126)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.AxisClient.invoke(AxisClient.java:169)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.Call.invokeEngine(Call.java:2376)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.Call.invoke(Call.java:2365)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.Call.invoke(Call.java:2062)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.Call.invoke(Call.java:1986)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at 
org.apache.axis.client.Call.invoke(Call.java:1509)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

at AddFunctionClient.main(AddFunctionClient.java:14)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>i guess it's a log4j version error.... could someone please please help me 
out??</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>nisha</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>
Mime
View raw message