Posted By:
Viswa_Arun
Posted On:
Friday, September 10, 2004 05:06 AM
I have a problem while integration of one of our modules. The module is a Query handling system through which users can ask questions and will get the answers from the system. The questions posted are written into an XML file. We have a method 'addNewQuery()' for writing the query into the xml file. The return type is void and passing no arguments. The method is perfectly working in the development server. But when we tried to integrate it into the main server it is showing some error. The error is : Internal Servlet Error: javax.servlet.ServletException: (class: iiitmk/edugrid/queryans/QueryDao, method: addNewQuery signature: ()V) Incompatible argument to function at org.ap
More>>
I have a problem while integration of one of our modules. The module is a Query handling system through which users can ask questions and will get the answers from the system. The questions posted are written into an XML file. We have a method 'addNewQuery()' for writing the query into the xml file. The return type is void and passing no arguments.
The method is perfectly working in the development server.
But when we tried to integrate it into the main server it is showing some error.
The error is :
Internal Servlet Error:
javax.servlet.ServletException: (class: iiitmk/edugrid/queryans/QueryDao, method: addNewQuery signature: ()V) Incompatible argument to function
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
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:536)
Root cause:
java.lang.VerifyError: (class: iiitmk/edugrid/queryans/QueryDao, method: addNewQuery signature: ()V) Incompatible argument to function
at edugrid.postquery._0002fedugrid_0002fpostquery_0002fSaveQuery_0002ejspSaveQuery_jsp_0._jspService(_0002fedugrid_0002fpostquery_0002fSaveQuery_0002ejspSaveQuery_jsp_0.java:81)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
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.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
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:536)
Our main server configurations are:
OS:SOLARIS, java version:j2sdk1.4.1_03, Tomcat varsion: 3.2.3
development server configuration:
OS: Windos2000, java version:j2sdk1.4.2_04, Tomcat varsion: 4.1.30
We are not able to find out the reason for this error. How can we avoid this error to integrate the module in our main server.
Thanks and Regards
Arun
<<Less