Hi,
I’m trying to use the new API in a servlet environment. I’ve managed to get a clean compile.
Then I try to run it and I get this error
java.lang.NoSuchMethodError
at com.softwareag.tamino.db.API.response.dom.TDOMInputStreamInterpreter.setMessageContentItem(TDOMInputStreamInterpreter.java:131)
at com.softwareag.tamino.db.API.response.dom.TDOMInputStreamInterpreter.setResponseInfoContent(TDOMInputStreamInterpreter.java:115)
at com.softwareag.tamino.db.API.response.dom.TDOMInputStreamInterpreter.doInterpret(TDOMInputStreamInterpreter.java:87)
at com.softwareag.tamino.db.API.response.TInputStreamInterpreter.interpret(TInputStreamInterpreter.java:52)
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.doBuild(TResponseBuilderImpl.java:81)
at com.softwareag.tamino.db.API.response.TResponseBuilderImpl.buildForXML(TResponseBuilderImpl.java:60)
at com.softwareag.tamino.db.API.accessor.TXMLObjectAccessorImpl.query(TXMLObjectAccessorImpl.java:228)
at at2.PatientQuery2.readTamino(PatientQuery2.java:274)
at at2.PatientQuery2.performTask(PatientQuery2.java:174)
at at2.PatientQuery2.doGet(PatientQuery2.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:500)
at org.apache.tomcat.core.Handler.service(Handler.java:223)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:448)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:911)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:824)
at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Interceptor.java:195)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:438)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:505)
at java.lang.Thread.run(Thread.java:484)
I’ve imported the jar files into my IDE (VisualAge) and checked it, and it does have the method that the error says it can not find.
I run Apache with Tomcat 3.3
What am I doing wrong? Any help would be appreciated.
Amir.