• Post Reply Bookmark Topic Watch Topic
  • New Topic

JspRuntimeLibrary error  RSS feed

 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I'm a week away from getting my webapp to test, and someone's slipped a newer version of jasper-runtime.jar into the install. As soon as my jps call <jsp:include I get this error:

HTTP ERROR: 500
org.apache.jasper.runtime.JspRuntimeLibrary.include(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljavax/servlet/jsp/JspWriter;Z)V

So, I thought the reasonable solution was to compile with the newer version of the jasper jars (compile and runtime). But I still get the error - anyone seen this? I've tried taking out the 'buffer=true', because that looks like the parameter that was taken out, but still no joy.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you embedding tomcat into your app?
If not, why not just download and re-install the version of Tocmat that you plan on running with?
 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We actually run it from jetty. The jasper jars are included in our build machine and are packaged with the app.

I've built with the newest versions of the jasper jar, which I would think would help when using those versions in runtime, but it doesn't seem to like my include calls.
 
Tom Katz
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, it looks like what I was doing was building with an older version of the jasper*jars then the one I was running with. However our jspc taskin ANT no longer works with the new version of the jetty/jasper jars. Until I figure out how to precompile them with the new version, I'm compiling with the old version and running with the new. Just got rid of any jsp:include calls and things worked. THis is really shaky tho, and I want to figure out how to precompile with the new libraries. I've seen a couple taskdef ANT hacks that are supposed to precompile for you, but haven't gotten any to work yet.

Anyone ran into this problem before?

thanks,
tOm
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!