Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding. or apply n


Message #1 by "Frank" <chocobofrank@h...> on Thu, 2 Jan 2003 08:27:52
I got the below error with some of my JSP after I have upgraded from IWS 
4.1 SP3 to IWS 6.0 SP5 on my "MACHINE A". It seems that the below error 
will be gone when I rolled back my JDK from 1.3.3_01 or 1.3.3_06 to 
1.2.2_10. I have already applied the SUN Recommended patch on 24 Dec and 
also the J2SE Recommended patch on around the same day. Besides, It runs 
perfect on another machine "MACHINE B" (completely same configuration) 
with both JDK 1.2.2_10 and 1.3.3_06.

The only difference between MACHINE A and MACHINE B is, on MACHINE B I 
have uninstalled both JDK 1.2.2_10 and JDK1.3.3_01 that is bundled with 
the Solaris and then install :jdk-1_2_2_14-solaris-sparc.tar.Z: under 
the link :SolarisTM SPARCTM (Production - English) tar.Z : and then 
applied :jdk-1_2_2_14-solaris-sparc-l10n.tar.Z; under the link :Solaris 
SPARC (Production - all languages) tar.Z;. After extracting the :jdk-
1_2_2_14-solaris-sparc-l10n.tar.Z; there are 10 different folders which I 
have only applied the patch under the folder zh and zh_TW. Coz I cannot 
locate detailed instruction here what they are (I guess each folder for 
each langage) so I just applied what It seems to be.

While I have only uninstalled the JDK 1.3.3_01 and then reinstall JDK 
1.3.3_06 on MACHINE A only. So what seems to be the problem ? Is that 
because of the JDK 1.2.2_14 or the all languages tar.Z ?


[02/Jan/2003:00:01:35] info (10457): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for 
JSP/software/data/stage/mainBean/printParser2.java:1: The source file 
encoding may be different with this platform encoding. Please use -
encoding option to adjust file encoding, or apply native2ascii utility to 
make source file ASCII encoding.

  Return to Index