First of all, thanks for your help. I appreciate it. It is not in the actual code, it is being generated. It looks like the generated java is quite different in 4.0.4 and 4.2.2. In 4.2.2, it generates two additional methods, _jspInit() and _jspDestroy(). The problem is in the _jspInit() method, which is:
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
This is where the bad method call is. Do you think there might be a missing class, or some version conflict?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165415#4165415
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165415
Thank you, Clebert. It works.
A follow up question is when I benchmark JBM 2.0.0.Alpha1, the throughputs for persistent delivery and non-persistent delivery are close. You know generally persistent delivery should be much slower than non-persistent one.
Then I go back to your documentation. I am wondering whether persistent delivery is non-blocking by default. What's blocking and non-blocking? How to configure it?
Test 5. Persist/Blocking/NonTX/AutoAck 1,265
Test 6. Persist/Non Blocking/NonTX/AutoAck 12,056
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165412#4165412
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165412
Is the call to getJspApplicationContext in the original JSP file or was it generated when the JSP was converted to servlet source? Also, is this being done at deploy time, or are you attempting to precompile the JSP? If precompiling, are you using 4.2.2 to precompile?
Also, I looked at JspFactory in 4.0.3 and 4.0.5 (I don't have a 4.0.4) and in neither case does JspFactory have that method, and JspFactory is an abstract class that does not extend anything.
If none of the above helps, then post the generated servlet source file (or at least the first 40 or so lines) - it should be in the work directory somewhere.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165407#4165407
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165407