Hmmm.  Maybe there was a bug with the changing of JSP compilers in JRun
3.0 gold master?  I can't remember.  I'm guessing the JSPs that work OK
were already compiled so they weren't invoking the compiler.  Is that
true?

Remember the problem with Jikes was with regard to that particular
ArithmeticException.  It's not a common problem.  Just if you have a
divide by zero in your code you will run into it.  Other than that,
Jikes works well for JSPs.

If you send me your section of global/local.properties with the JSP
compiler config I can verify it.  But I think it might have had some
problem that was fixed in JRun 3.0 SP1.

Scott

On 16 Jan 2001 07:10:34 -0500, Marc Garrett wrote:
> Scott,
> 
> Thanks for your help.
> 
> I changed the compiler manually per Allaire KB 16311. Using the javac
> compiler seems to cause a new problem, however -- if I browse illegal.jsp my
> CPU Usage jumps to 100% and the page never loads. If, however, I run a
> simple getHeaderNames() page like the one contained in JSP App. Dev.
> appendix C it loads right away.
> 
> My system config: Win 2000 Professional, 384 MB RAM, JRun 3.0 Enterprise,
> JDK 1.3, IIS 5.0. Tomcat is not installed.
> 
> Any ideas why illegal.jsp won't load using javac instead of jikes? How do
> JRun servers implement simple exception handling?
> 
> Thanks,
> 
> Marc Garrett
> 
> ----- Original Message -----
> From: "Scott M. Stirling" <[EMAIL PROTECTED]>
> To: "JRun-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, January 16, 2001 1:02 AM
> Subject: Re: Exception Handling: Still Can't Get it to Work. Please Help
> 
> 
> > I should have added (I know I mentioned this in a draft of that chapter,
> > but it appears to have been removed by me or an editor at some point --
> > I don't remember why) -- to get around this problem with Jikes (which
> > isn't much of a problem other than for a cooked example lilke this, but
> > just the same), you'd have to change the compiler for JRun's jsp
> > compiler service.  You have to edit local or global.properties to do
> > this.  There's a K.B. on it at the Allaire Knowledge Base.  Changing to
> > Javac will make the problem go away.
> >
> > Scott Stirling
> >
> >
> > > On 15 Jan 2001 21:50:14 -0500, Marc Garrett wrote:
> > > > 500 Internal Server Error
> > > > /JSPAD/illegal.jsp:
> > > >
> > > > javax.servlet.ServletException: Compilation error occured:
> > > >  Found 1 errors in JSP file:
> > > > D:\\Program
> > > > Files\\Allaire\\JRun\\servers\\default\\JSPAD-app\\illegal.jsp:6:
> Error:
> > > > Attempt to divide by zero.
> > > >
> > > > allaire.jrun.scripting.DefaultCFE:
> > > > Errors reported by compiler:d:/Program
> > > >
> Files/Allaire/JRun/servers/default/JSPAD-app/WEB-INF/jsp/jrun__illegal2ejspc
> > > > ..java:38:9:38:13: Error: Attempt to divide by zero.
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to