dcsimg
java.lang.VeryfyError:
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

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

Re: java.lang.VeryfyError:

Posted By:   tiger_ibrahim  
Posted On:   Thursday, December 9, 2004 02:43 PM

I'm have the same crapy error, i did a google search, and none of them were convincing, i appreciate some-one's step step help ,reply greatful at tiger_ibrahim@yahoo.com, does this post inform me thru email, after someone replies?

My XML outputs fine on the win xp/using WSAD
but when deployed on AIX it has the error

[12/9/04 11:15:05:845 EST] 2c2bc752 WebGroup E SRVE0026E: [Servlet Error]-[
(class: com/xxza/cpua/xml/GenerateClientTOXML, method: convert signature:
(Lcom/xxza/cpua/client/ClientTO;)Lorg/jdom/Document;) Inc
ompatible argument to method]: java.lang.VerifyError: (class: com/xxza/cpua/x
ntTO;)Lorg/jdom/Document;) Incompatible argument to method
at com.xxza.cpua.client.ClientService.findClientById(ClientService.jav

And wat is the PARENT_FIRST and PARENT_LAST concept?
About | Sitemap | Contact