New API and Servlets Problem

Hello!
I cannot run any servlet with new Tamino API. It seems that this is similar response like old API and Tomcat 4.0.
This problem occures with Tomcat 3.2 and 4

java.lang.NoSuchMethodError
at com.softwareag.tamino.db.API.response.jdom.TJDOMInputStreamInterpreter.initialize(TJDOMInputStreamInterpreter.java:120)
at com.softwareag.tamino.db.API.response.jdom.TJDOMInputStreamInterpreter.

(TJDOMInputStreamInterpreter.java:72)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.newInputStreamInterpreter(TResponseBuilderImpl.java:124)
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.(TResponseBuilderImpl.java:47)
at com.softwareag.tamino.db.API.response.TResponseBuilderFactory.newResponseBuilder(TResponseBuilderFactory.java:52)
at com.softwareag.tamino.db.API.connection.TConnectionImpl.(TConnectionImpl.java:49)
at com.softwareag.tamino.db.API.connection.TConnectionFactory.newConnection(TConnectionFactory.java:49)
at portal.Access.(Access.java:23)
at portal.Servlet2.data(Servlet2.java:36)
at portal.Servlet2.doGet(Servlet2.java:23)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

[This message was edited by Tadeusz Chelkowski on 12 Sep 2001 at 10:32.]

Tadeusz,

I did not extensively try the new API, just a few exercises but I ran in a similar problem when I used another JDOM version than the one supplied with API.

Make sure your servlet has the jar files for jdom and xerces that were delivered with the API package in its classpath and not those that came with Tomcat.

Johann!

Thank you. It was a very good idea to check this jars.
It’s working. I’ve removed the jaxp.jar and parser.jar. This classes exist in new API.
Here is the list of jars giving coverage of XML/DOM manipulation, Tamino API, Tomcat 3.2. and Xalan for transformation purposes all included in //TOMCAT-HOME/lib. The most important - they are working togheter. Similar problem occures with X-Application 0.5

tomcat/lib:
ant.jar
jasper.jar
jdbc2_0-stdext.jar
jdom.jar
jta-spec1_0_1.jar
log4j-core.jar
servlet.jar
TaminoAPI4J.jar
webserver.jar
WL61SAXBuilderBug.jar
xalan.jar
xerces.jar