You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by chang su <ch...@yahoo.com> on 2001/04/24 20:52:37 UTC

an option for servletrunner

Hi,

I'm using JSDK2.0. I want to find an option for
servletrunner when running a servlet using
servletrunner. I'm trying to ignore JIT warning
message during running time. I need use Sun JAXP1,1
which is a XML parser and transformer in my coding. 
Some warning message always show up in the output
during running time:


A nonfatal internal JIT (4.00.010(x)) error
'Structured Exception(c0000005)' has occurred in:
	'org/apache/crimson/parser/Parser2.maybeComment
(Z)Z': Interpreting method.
            Please e-mail this message along with
reproduciable sample to jit-bugs@itools.symantec.com


Sun support told me that if I can use java
-Djava.compiler=NONE  <classname>  or JDK1.3 this
warnning message won't show up. 

However I'm using servlet JSDK2.0 and jdk1.2. Is there
an option I can use to avoid this warnning message?

Thanks,

Chang 




__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Re: an option for servletrunner

Posted by Steve Ruby <st...@rubysolutions.com>.
chang su wrote:
> 
> Hi,
> 
> I'm using JSDK2.0. I want to find an option for
> servletrunner when running a servlet using
> servletrunner. I'm trying to ignore JIT warning
> message during running time. I need use Sun JAXP1,1
> which is a XML parser and transformer in my coding.
> Some warning message always show up in the output
> during running time:
> 
> A nonfatal internal JIT (4.00.010(x)) error
> 'Structured Exception(c0000005)' has occurred in:
>         'org/apache/crimson/parser/Parser2.maybeComment
> (Z)Z': Interpreting method.
>             Please e-mail this message along with
> reproduciable sample to jit-bugs@itools.symantec.com
> 
> Sun support told me that if I can use java
> -Djava.compiler=NONE  <classname>  or JDK1.3 this
> warnning message won't show up.
> 
> However I'm using servlet JSDK2.0 and jdk1.2. Is there
> an option I can use to avoid this warnning message?
> 
> Thanks,
> 
> Chang


Turn off JIT like sun told you, put the -Djava.compiler=NONE
in your tomcat.sh something like so

TOMCAT_OPTS=-Djava.compiler=NONE

And/or switch to JDK1.3 :)