Hello,
A colleague of mine started experiencing JSP compilation problems
on a single page on a previously healthy application. The page
compilation process would hang, eventually causing JRun to begin
logging InterruptedExceptions and requiring a restart. The problem
only occurs on one machine; others with (seemingly) identical JDKs,
JRun patch levels (3.0 SP1) and OS (Red Hat 7.0) process the page
just fine. We've tried SP2 and that doesn't help.
Debug logging isn't that informative. We get something like:
05/08 15:52:20 debug (JRun) Running parser on /product/productDetail.jsp
05/08 15:52:20 debug (JRun) getResourceURL(/product/productDetail.jsp):
/home/developer/cvs/brandx/webapp/product/productDetail.jsp
...many lines snipped...
05/08 15:52:22 debug (JRun) getRealPath(/includes/footer.inc):
/home/developer/cvs/brandx/webapp/includes/footer.inc
05/08 15:52:24 debug (JRun) Running XSL processor on
/home/developer/cvs/brandx/webapp/WEB-INF/jsp/jrun__product__productDetail2ejsp1a.xml
and that's the last we get. We've captured the .xml file that translation
produces; when pulled into an XML editor we get "this file is not
well-formed: Whitespace (Blank, Tab, CR, LF) expected." but that may have
to do with the trip across the network from Linux to Windows. We're
still pursuing that angle.
We've tried using JSPC and cannot; we get (on a different, healthy
machine)
ServletException root cause: allaire.jrun.jsp.ParseException: The taglib
directive on line 3 is not valid. The tag library descriptor
'/brlap_tags' could not be found.
allaire.jrun.jsp.ParseException: The taglib directive on line 3 is not
valid. The tag library descriptor '/brlap_tags' could not be found.
at java.lang.Throwable.<init>(Throwable.java:96)
at java.lang.Exception.<init>(Exception.java:44)
at allaire.jrun.jsp.ParseException.<init>(ParseException.java:62)
at
allaire.jrun.jsp.JSPParser.throwDirectiveException(JSPParser.java:407)
at allaire.jrun.jsp.JSPParser.directive(JSPParser.java:768)
at allaire.jrun.jsp.JSPParser.parse(JSPParser.java:598)
at allaire.jrun.jsp.JSPParser.writeXML(JSPParser.java:151)
at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:123)
at allaire.jrun.jsp.JSPParser.generateXML(JSPParser.java:67)
at allaire.jrun.jsp.JSPServlet.parsePage(JSPServlet.java:409)
at allaire.jrun.jsp.JSPServlet.createServlet(JSPServlet.java:381)
at allaire.jrun.jsp.JSPServlet.main(JSPServlet.java:653)
at JSPC.main(JSPC.java:16)
and cannot find in the documentation (Ch. 10 of developer's guide)
how to get it to pick up web.xml or something else that would get
it to resolve the taglib directive.
Any help on either
1) JSP-to-Java translation that causes JRun (the XML parser portion)
to hang
2) Using JSPC to compile pages with a taglib directory
Thanks much,
Robert Merrill
Software Engineer
Berbee
5520 Research Park Drive Madison, WI 53711
[EMAIL PROTECTED]
608.298.1036 Fax 608.278.8539
Berbee...putting the E in business
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists