Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

VerifyError on servlet running under tomcat

 
Lucas Franceschi
Ranch Hand
Posts: 106
Mac Mac OS X Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Cheers!

APTS,
Lucas Franceschi

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic