File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes VerifyError on servlet running under tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "VerifyError on servlet running under tomcat" Watch "VerifyError on servlet running under tomcat" New topic

VerifyError on servlet running under tomcat

Lucas Franceschi
Ranch Hand

Joined: Nov 10, 2008
Posts: 106

hey there fellows,

it's been a while since my last visit to you guys, but you know we always remember the ranch when we need some help...
well, you guys are awesome, I can always count on you, right?

first, I posted this on servlets only because my app is a servlet, I dont even know where's the problem.

okay, done with introductions, I need some information (and maybe the possible solution) from you guys, as I am getting mad with this exception

annybody know this? right, by googling java.lang.verifyerror: Incompatible object argument for function call, i noted that this might be only a feature in java, that i dont know, that kind of, verifies the code (am I right?) and throws this exception if the code is insecure... the thing is that, if you look to the stacktrace, the code that is getting the exception is from an engine I use, jasperReports, and there's no way for me to edit its code.

what I need to know is: i use tomcat, from commandLine, we know that we can set the -noverify option, but when using tomcat, there's anyway for me to set this option??
also, this app runs on many servers, is there anyway that i can disable code verifying through the code? it would be an incovenient if i need to set this option on all the servers that run this.


Lucas Franceschi

Lucas Franceschi
Software Developer for SGI Sistemas,
I agree. Here's the link:
subject: VerifyError on servlet running under tomcat
It's not a secret anymore!