You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Porter <ma...@hotmail.com> on 2002/01/04 18:32:16 UTC

Fwd: Configuring Jaspers Compiler Options

Hello All,

I posted this message to the 'user' list and didnt get much 'satisfaction'.
Can anyone here be of any help? Here is a copy of the exact error message:

Error: 500Location: /examples/jsp/num/numguess.jspInternal Servlet Error:
org.apache.jasper.JasperException: Unable to compile jsp->javac: invalid
flag: -encoding
use: jsp->javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-d dir] file.java...

       at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
       at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown
Source)
       at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.processRequest(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.service(Unknown Source)
       at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
       at java.lang.Thread.run(Thread.java:484, Compiled Code)

Any help would be appreciated ... right now this problem is holding us back
from using Tomcat as out primary web container so I'd like to see this
resolved.

Thanks

Mark

 >From: <ma...@hotmail.com>
>To: <to...@jakarta.apache.org>
>Subject: Configuring Jaspers Compiler Options
>Date: Thu, 3 Jan 2002 21:15:53 -0500
>
>Hey Folks!
>
>Sorry if this is a repost ... sent it out earlier but still hasnt shown up 
>on the list.
>
>I'm setting up tomcat 3.2.3 on an Irix6.5 box (java sdk1.3.1) and am having 
>problems compiling any jsp code. Jasper fails with an Error 500 and the 
>requisite JSPException stack trace complaining that javac was passed in 
>invalid flag ( -encoding ). Is there any way to configure the options that 
>are passed to jasper? Why am I having this problem on Irix and not other 
>platforms in my shop (linux and HPUX). I'd appreciate any help if anyone 
>has seen this before!
>
>Thanks
>
>Mark
>
>



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Configuring Jaspers Compiler Options

Posted by Martin van den Bemt <mv...@mvdb.com>.
Using jikes compiler ? (read something about it not supporting -encoding
parameter anymore).

Mvgr,
Martin

-----Original Message-----
From: Mark Porter [mailto:mark_d_porter@hotmail.com]
Sent: Friday, January 04, 2002 18:32
To: tomcat-dev@jakarta.apache.org
Subject: Fwd: Configuring Jaspers Compiler Options


Hello All,

I posted this message to the 'user' list and didnt get much 'satisfaction'.
Can anyone here be of any help? Here is a copy of the exact error message:

Error: 500Location: /examples/jsp/num/numguess.jspInternal Servlet Error:
org.apache.jasper.JasperException: Unable to compile jsp->javac: invalid
flag: -encoding
use: jsp->javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath
path][-nowrite][-d dir] file.java...

       at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
       at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown
Source)
       at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.processRequest(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
       at org.apache.tomcat.core.ContextManager.service(Unknown Source)
       at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
       at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
       at java.lang.Thread.run(Thread.java:484, Compiled Code)

Any help would be appreciated ... right now this problem is holding us back
from using Tomcat as out primary web container so I'd like to see this
resolved.

Thanks

Mark

 >From: <ma...@hotmail.com>
>To: <to...@jakarta.apache.org>
>Subject: Configuring Jaspers Compiler Options
>Date: Thu, 3 Jan 2002 21:15:53 -0500
>
>Hey Folks!
>
>Sorry if this is a repost ... sent it out earlier but still hasnt shown up
>on the list.
>
>I'm setting up tomcat 3.2.3 on an Irix6.5 box (java sdk1.3.1) and am having
>problems compiling any jsp code. Jasper fails with an Error 500 and the
>requisite JSPException stack trace complaining that javac was passed in
>invalid flag ( -encoding ). Is there any way to configure the options that
>are passed to jasper? Why am I having this problem on Irix and not other
>platforms in my shop (linux and HPUX). I'd appreciate any help if anyone
>has seen this before!
>
>Thanks
>
>Mark
>
>



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>