Crazy Idea

java.lang.VerifyError in a tomcat 7.x webapp
April 25, 2012, 11:46 pm
Filed under: Uncategorized | Tags: , , ,

Ahoy there! 

I have a webapp(built using maven 3.0.3) deployed into Tomcat 7.0.23. After I log into the app, I get this error

javax.servlet.ServletException: java.lang.VerifyError: (class: org/apache/jsp/ChLogin_jsp, method: _jspService signature: (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V) Inconsistent stack height 0 != 1

Just to be sure, the WAR/web-inf/lib folder does not contain either servlet/jsp/jstl libraries. I also don’t precompile any of the JSP files.

Here’s the sequence 

1) user goes to login.jsp page using a GET request . This works just fine

2) user enters credentials and submits it to jsp2 using a POST request

3) java.lang.VerifyError happens when jsp2 constructor is being invoked by the servlet engine.

What is the problem ? what should I be checking for ?

Just so you know, this webapp works just fine if I deploy it into Tomcat 5.5 (I just have to add jstl to the dependencies)

Thank you,


How to view certificate(s) details of a LDAP server?
March 20, 2008, 6:32 pm
Filed under: 1 | Tags: , , ,

hi there,

if I connect to a https server, I can click on the icon(status bar) and find out which certificate(SSL/TLS) is installed on the server.

How can I do the same with a LDAP server ? Which (free/opensource) client can show me the certificate information to the connected LDAP server ?

I googled for any clues — Not much help. Found some source code on novell’s site :

Do users have any tips/favorite clients that they use which has such features ?

Even if you have some source code that might do the trick (java/C++/C), will work for me.

Thank you very much for the info.