Hi,
I'm porting a Tomcat app to JRun and have found that my <%@
include file=..> tags are throwing a 500 error - Null Pointer
Exception (partial stack trace below). The tags are pointing to
files located in the same directory as the caller. I know the
included files are found because if I change the path definition
I get a File Not Found error. If I change the tag to a
<jsp:include page=.../> the include works, but that of course has
different effects (such as the included file not having access to
the caller's variables).
Can anyone point me to a solution?
Also, how can I get the stack trace displayed in the browser? All
JRun seems to send back to the browser is the error code (e.g.
"500 Null") and I have to go to the log file to see the stack
trace, which is a pain. Do I have to set up a error page to trap
errors or is there a default setting somewhere?
Thanks,
Dave Jones
NetEffect / OnTarget
Partial stack trace:
07/16 08:36:02 error
java.lang.NullPointerException
at sun.io.Converters.getConverterClass(Converters.java:78)
at sun.io.Converters.newConverter(Converters.java:138)
at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:67)
at java.io.InputStreamReader.<init>(InputStreamReader.java:78)
at jrun.jsp.parser.JSPParserBase.parse(JSPParserBase.java:37)
at jrun.jsp.parser.IncludeVisitor.includeDirective(IncludeVisitor.java:43)
at jrun.jsp.parser.JSPVisitor.directive(JSPVisitor.java:29)
at jrun.jsp.parser.SimpleNode.visit(SimpleNode.java:202)
at jrun.jsp.parser.JSPParser.directive(JSPParser.java:118)
at jrun.jsp.parser.JSPParser.jsp(JSPParser.java:40)
at jrun.jsp.parser.JSPParserBase.parse(JSPParserBase.java:38)
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists