AXIS Tomcat compatibility problem

G

gaurav.sharma1

Hi
I am using the following to get tomcat running with axis,

JDK 1.3.1
tomcat 3.1
axis 1.2.1

I have put in the axis related stuff on the tomcat webapp folder. I am
put in the following jar files as well:

activation.jar
axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
commons-logging-api.jar
jaxrpc.jar
log4j-1.2.8.jar
mail.jar
saaj.jar
wsdl4j-1.5.1.jar
xercesImpl.jar
xml-apis.jar
xmlsec-1.2.1.jar

But when i try to run my tomcat server. I get the following error:

Context log: path="" Adding context path="" docBase="webapps/ROOT"
Context log: path="/test" Adding context path="/test"
docBase="webapps/test"
Starting tomcat. Check logs/tomcat.log for error messages
Starting tomcat install=".." home="C:\JAVA\jakarta-tomcat"
classPath="..\classes
;..\lib\webserver.jar;..\lib\jasper.jar;..\lib\xml.jar;..\lib\servlet.jar;\lib\t
ools.jar;C:\jdk1.3.1_18\lib\dt.jar;C:\jdk1.3.1_18\lib\htmlconverter.jar;C:\JAVA\
JUNIT\junit4.1\junit-4.1.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\act
ivation.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\axis.jar;C:\JAVA\jak
arta-tomcat\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\JAVA\jakarta-tomcat\webapps
\axis\WEB-INF\lib\axis-schema.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\li
b\commons-discovery-0.2.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\comm
ons-logging-1.0.4.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\commons-lo
gging-api.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\JAVA
\jakarta-tomcat\webapps\axis\WEB-INF\lib\log4j-1.2.8.jar;C:\JAVA\jakarta-tomcat\
webapps\axis\WEB-INF\lib\mail.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\li
b\saaj.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\serializer.jar;C:\JAV
A\jakarta-tomcat\webapps\axis\WEB-INF\lib\wsdl4j-1.5.1.jar;C:\JAVA\jakarta-tomca
t\webapps\axis\WEB-INF\lib\xalan.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF
\lib\xercesImpl.jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\xmlsec-1.3.0
..jar;C:\JAVA\jakarta-tomcat\webapps\axis\WEB-INF\lib\xml-apis.jar;C:\JAVA\jakart
a-tomcat\webapps\axis\WEB-INF\lib\xmlParserAPIs.jar"
Context log: path="/admin" Automatic context load
docBase="C:\JAVA\jakarta-tomca
t\webapps\admin"
Context log: path="/admin" Adding context path="/admin"
docBase="C:\JAVA\jakart
a-tomcat\webapps\admin"
Context log: path="/axis" Automatic context load
docBase="C:\JAVA\jakarta-tomcat
\webapps\axis"
Context log: path="/axis" Adding context path="/axis"
docBase="C:\JAVA\jakarta-
tomcat\webapps\axis"
- Unable to find config file. Creating new servlet engine config file:
/WEB-INF
/server-config.wsdd
Exception in thread "main" java.lang.NoSuchMethodError
at
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument
..java:136)
at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java
:65)
at
org.apache.axis.configuration.FileProvider.configureEngine(FileProvid
er.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)
at
org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultA
xisServerFactory.java:109)
at
org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxis
ServerFactory.java:73)
at
org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)
at
org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletB
ase.java:185)
at
org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletB
ase.java:396)
at
org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.j
ava:112)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
org.apache.tomcat.core.ServletWrapper.initServlet(ServletWrapper.java
:315)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java
:276)
at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOn
StartupInterceptor.java:132)
at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java
:227)
at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:201)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:156)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)

Can anyone please let me know what the issue is?? Its not able to find
getLocalName()??

here is the method source from WSDDocument.java file

public void setDocument(Document document) throws WSDDException {
this.doc = document;
Element docEl = doc.getDocumentElement();
if (ELEM_WSDD_UNDEPLOY.equals(docEl.getLocalName())) {
undeployment = new WSDDUndeployment(docEl);
} else {
deployment = new WSDDDeployment(docEl);
}
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

JDK 1.3.1
tomcat 3.1
axis 1.2.1

I have put in the axis related stuff on the tomcat webapp folder. I am
put in the following jar files as well:
Exception in thread "main" java.lang.NoSuchMethodError
at
org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument
.java:136)
at
org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java
:65)

I think Axis 1.2.1 should run on JDK 1.3.1 and Tomcat 3.1
(docs say J2SE 1.3 and Servlet 2.2), but JDK 1.3.1 and
Tomcat 3.1 are so old.

The error indicates that the code was compiled
against a class that has a method being called and at
runtime the class is there but the method is not.

I would recommend upgrade !

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top