Monday, January 17, 2011

Odd NumberFormatException w/ Halogen eAppraisal

Halogen suddenly stopped working for us recently with tons of errors in the logs saying stuff like

[ERROR] [TP-Processor23] (108) EXCEPTION java.lang.NumberFormatException
java.lang.NumberFormatException: For input string: "jsp1.2"
  
.....
[ERROR] [TP-Processor26] (113) EXCEPTION org.apache.jasper.JasperException
org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP


Not sure what caused it.  Either the latest version of tomcat somehow or having Jasper Server on the same tomcat.  Jasper and Halogen have been coexisting happily for a while though.  Neither was upgraded recently and it's not like I put the jasper jars in the global lib folder so I'm really not sure. 

Anyways, the solution was to edit WEB-INF/*.tld and change all occurrences of "jsp1.2" to "1.2" then restart tomcat.  Good as gold.  

No comments: