The source file encoding may be different with this platform encoding.

I got the below error after I have upgraded my Iplanet from 4.1 SP3 to 6.0 SP5 so what seems to be the problem here ? The code is working perfect under 4.1 SP3.
[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 w
ith this platform encoding. Please use -encoding option to adjust file encoding,
or apply native2ascii utility to make source file ASCII encoding.

Looks like the file has been save in a non-ascii format. Perhaps someone opened and saved the file as a Word document and the compiler is unable to re-compile it. Try opening the file in Wordpad and resaving it in TextFormat.

Similar Messages

  • Source file encoding

    Hi all,
    Here is my problem :
    Page 1:
    <%@ page contentType="text/html;charset=UTF8" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </head>
    <body>
    ����@�
    </body>
    </html>
    All the special characters display fine.
    If I write:
    Page 1:
    <%@ include file="/page2.jsp" %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </head>
    <body>
    ����@�
    </body>
    </html>
    Page 2 : <%@ page contentType="text/html;charset=UTF8" %>
    The display is ugly !!
    Why ??
    I understand that the directive
    <%@ page contentType="text/html;charset=UTF8" %> defines the source file encoding but obviously the include directive does something I don't understand. Any help appreciated.
    Thanks in advance,

    The server/compiler you're using may need to see the content type of the source file you're using BEFORE it is able to process any of the code. Basically, when it gets to the<%@ include file="/page2.jsp" %> line, it doesn't know what content type it's supposed to be using yet (because it's in that separate JSP), and it pukes. You probably have to declare the content type before you can do anything else.

  • Windows Easy Transfer (WET) Issues with External Hard Drive - "Can't read from the source file or disk"

    I work for Office Depot, in the tech department. Basically, one of our associates was supposed to do a data backup, and re-install Windows 7, then transfer the files back. He used Windows Easy Transfer and compacted everything into a 163 GB file. 
    Now comes the hard part. When we try to put it back on his computer ((drag-and-drop to the desktop) which has been wiped back to factory settings using the recovery partition), it stops at 79.5 GB remaining (you know how it doesn't give you a % of completion,
    it just shows how many GB are remaining) and then says "Can't read from the source file or disk" and gives you an option to try again, or cancel. It gets hung up on the same point each time.
    Normally, this wouldn't be a huge issue, but the contents on the drive are his wife's architect blueprints and interior design stuff, along with wedding photos, etc, which are the only copies they have. On top of those, they have court documents and other
    important files that we are unable to access now.
    I wasn't involved with this transfer, so I'm trying to clean up the mess as best I can. I remembered that the customer's wife was Russian, and had some files typed with a Russian keyboard, so on and so forth. I wonder if that's the issue? If not, I really
    have no idea how to manually extract things from a ".mig" file, or how to diagnose what area is potentially corrupted.
    In light of this situation, we tried using "Recuva" to recover the files post-wipe, but everything was corrupted or unable to be opened, and it also extracted and recovered all of the "useless" photos, such as the skype logos, up and
    down arrows for browsers, etc (it was 160,000+ photos).
    Trying to avoid a potential lawsuit, unhappy customer, and costing the company lots of money to see if professionals can get into this external hard drive.
    Other relevant information:
    We used a Toshiba 500 GB (465 GB) external hard drive.
    Customer's computer is an HP Pavilion P6000 Series (Model No. p6520y) running Windows 7 Home Premium 64-bit Service Pack 1.
    Any other information that is needed can be provided, thanks in advance, and hopefully we can find a solution to this issue quickly!
    -John

    I think there's a lack of understanding somewhere.
    "If you even can't start the process, please unplug it from your new PC. Then head back to your new computer and plug
    the external drive back in to your new computer. "
    Unplug from new, head back to new, plug it back in? That doesn't make much sense! Haha.
    I knew what you meant though, somewhat. When I search through the drives after clicking yes (Has windows easy transfer
    already saved your files blah blah blah) I click on the transfer file and it says "Windows Easy Transfer could not open the file".
    Rather than drag-and-drop the file to the desktop, I now tried to double-click on the file itself while it was plugged
    into the computer. It opened, and it started transferring until it was about 70% completed, and then an error popped up saying "WET can't open the easy transfer file, make sure your USB device is plugged in or check your internet connection". 
    I checked, and the USB hard drive's light wasn't on. Now, I unplug it and plug it back in, and the light comes back on,
    so I click Retry, and it resets the bar back to nothing and says "Transfer time: 1 minute".
    Rather than continue trying, I clicked "Cancel" instead of Retry, and it says "Your transfer did not complete successfully."
    It says to click "view report" for more information, but there's no "view report button".
    At the moment, I am scanning the External Drive for bad sectors using the check disk tool in properties. It's frozen
    at "0 USN bytes processed".

  • Where does Lightroom put HDR in the grid view? Is there anyway to have Lightroom stack the HDR file with the source files?

    I can't decipher where (and why) the program is putting the HDR image in the grid. I stack all of my HDR source images so they are easy to track and manage. Other apps/plugins allow you to stack resulting images with their source image. That would be great if there's a way to set that in LR preferences.

    Thanks, but this doesn't really answer the question about stacking the HDR file with the source files. Yes, it does put the file in the same folder, however many of my folders have 100s of images (that often look similar) and as far as I can tell, LR places them randomly in the sort order. It doesn't appear to put them at the beginning or end of the sort (usually by date), but somewhere randomly in the middle. Even if it could be made clear what method it is using to sort them, that would help locate one file among hundreds.
    Ideally, however it should allow you to stack with the stacked source files. Is there anyway to do this? If not, is it a feature that could be requested?

  • How do I save PDF files by default to the folder of the source file?

    How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?

    I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
    Maybe one of the settings in about:config controls that?
    pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

  • Dynamic File Name depending on the Source File name

    Hi Experts,
    I have a problem like Dynamic File name depending on the Source File Name. I will explain with example as follwos
    Source File name                 Targer Folder/Filename
    NK01.VR59.L2007030         VR59/Rec.l200
    NK01.VR71.L2017030         VR71/Rec.l201
    NK01.VR77.L2027030         VR77/Rec.l202
    See above the exaple, Depending on the Source file name, I am deciding where i need to place my file and what name i need to name it.
    So please suggest me the solution and How can i do this with a single communication channel ? Do i need to create multiple CC for each folder??
    Points will be rewarded for Valuable anwer.
    Thanks in Advance,
    Best Regads,
    Vijay

    Hi VIjay,
    Thanks for quick reply. But i am getting error in End to End Scenarios only. If i remove the Return " "  statement from the UDF, while activating it is showing the error saying like missing return statement. I also mapped to the top most node to this UDF.
    I am getting the following error in End to End error Scenarios:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_Target_File_determined_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_Target_File_determined_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • XML tag  need to  be change in the sorce file (ENCODING)

    Hi
         my source file XML format.. in this file I'm getting as a first tag as  like this..   <b><?xml version="1.0" encoding="ISO-8859-1"?>..</b> but actually in my Message mapping source code i have starting tag is like this...
    <b><?xml version='1.0' encoding = 'UTF-8" ?></b>
    so, som encoding  is    different.. for this how can   solve the problem.. wether i need to change in the source file itself.. or is there any solution to change  that in our scenario itself..
    plz clarryfy this..
    Thanks
    babu

    Hi Babu,
    Check out my answers in this Link
    Re: How to change the incoming xml to a different namespace
    this way you can modify the XML tags which are beyond the reach of mapping
    Regards
    Vishnu

  • Creating multiple records from 1 record in the source file for Import DM

    Hi Experts,
    Today I am working on an interface/import where I want to get the following result:
    Source file contains a records like:
    Account, Entity, DriverX
    Sales,EntityA,ZZ
    The BPC appset contains the 2 dimensions Account and Entity next to CostCenter dimension. The DriverX field in the source file is just additional information in the source file. However based on this DriverX we need to determine what CostCenter to choose but we also need to have the same record assigned to a second record in BPC.
    Following my example, based on DriverX value I need to create 2 records:
    Account, Entity, CostCenter,
    Sales,EntityA,CC1
    Sales,EntityA,CC2
    I don't have a problem assigning the record to 1 CostCenter based on DriverX value but I have a problem creating my second record. Does any of you have had the same "challenge" and if so would you like to share the solution for this?
    Best regards,
    Johan
    PS: I am working on SAP BPC, version 7.0 Microsoft version.

    Hi Greg,
    Many thanks for your answer. And yes this would be a solution. However I just simplified my case as the decision to create an second record and where to post is depending on more than 1 field in the source.
    But I will keep it in mind, because I also can opt for a solution to store data differently in BPC fac-tabels which will help me to use script logic.
    If it is not possible to create multiple records from a single records in the standard functionality in the Transformation and/or Conversion file, I have to create a custom DTSX or change my way of storing data.
    Anyone else who is having an alternative idea like Greg came up with?
    Please let it know!
    Best regards,
    Johan

  • Where the source files for examples of FLASH of the manual (flash_as3_programming.pdf)

    Good, I wanted to know where to find the source files for examples of FLASH programming manual with Adobe ActionScript 3.0 (flash_as3_programming.pdf), each sample has a link that had to change and send me the Adobe Developer Center. Thanks,.

    Hi,
    I had the same problems with the samples. But I got different message. but, instead of typing "ant build", I entered only "ant" on the prompt and I was able to built it.
    So, in the comamnd prompt goto your example directory and enter only ant .
    The ant will read the build.xml file and you should be able to get it.
    bye

  • In trying to update I received this message: Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.

    In trying to download an update I first received: "There were problems checking for, downloading, or installing this update. Firefox could not be updated because: No data was received (please try again)" It also gave a link to download manually. When I tried from the Firefox website I got: /Users/(deleted for privacy)/Desktop/Firefox 3.6.3(2).dmg.part could not be saved, because the source file could not be read.
    Try again later, or contact the server administrator. I tried this 3 times.
    == This happened ==
    Not sure how often
    == Mon around 11 am, central time, May 17, 2010

    I have tried downloading the file several times and get the same message: "No data received." I have no other system problems, I navigate well to other sites, but I'm unable to download this upgrade. Any suggestions?

  • How can I change the source file so it is direct from external hard drive?

    I am trying to make a movie on imovie of a snowboarding trip that I went on, there is around 80 to 100 gig of mp4 movies that will not fit on my computer that I have stored on my external harddrive. I had the movie half finished then found I could do no more as I had no space left in my mac. I had to delete everything and start again but I'm not doing this until I can find a way of changing the source file so I can take them direct from my external hard drive as to not use up all my computers available space. I have moved imovie to my external hard drive but it still tries to read from a movie file on my mac, how can I change that so it will read from a source file on my external hard drive, is it possible?? Can someone help me??

    Hi Bengt, Thanks for your input, much appreciated.
    I have a WD 1TIG hard drive and are using usb connection, is it possible to use fire wire with these? I have had trouble with a lot of the videos I Imported, once they downloaded the file in the viewer window showed up blank and when I mouse over them it places a picture of another file in the window and wont drag and drop into the movie window, like their corrupted or something? Had to delete just about all of them and start again. Also is it possible to select a bunch of videos in the viewer window as to change the dates to the correct dates? All I have been able to do is "select all" which is no help.

  • How do I stream purchased movies to my Macbook Pro if I've already downloaded them and moved the source files to an external desktop hard drive and I'm away from home?

    I recently added a number of movies to my iTunes library by redeeming digital copeis that came with Blu-rays. Due to limted disc space on my MacBook Pro, and for safe keeping, once I downloaded the movies, I moved the source files to an external desktop hard drive. When I'm home and I'm able to access that external HD via my home network, I'm able to watch the movies without an issue. However, if I'm away from home and I want to watch them, I'm not sure how to do that. I thought I could "stream" purchased movies from within iTunes  - even after downloading them - using "iTunes in the Cloud" but can't figure out how to do that, or it simply isn't possible.
    What are my options?

    I understand that I can't play my downloaded movies when my external HDD is not connected becuase iTunes is looking for the downloaded files. This is not the issue. The issue is that because my HDD is not connected (as in when I'm away from home) I'd like to be able to stream the movies via the cloud.
    If I hadn't downloaded the movies when I redeemed my codes, would I have been able to keep the movies online via Apple iCloud and watched them anytime by streaming them or must the movies be downloaded in order to be viewed on my MacBook?  I read that Apple allows movies purchased (or redeemed) via iTunes to be stored in the cloud via Apple iCloud so that they can be viewed any time, on any device.  IF this is the case, how does it work? From what I can see, it looks like movies can only be "streamed" from the cloud when useing Apple TV; on my iPhone and MacBook Pro, it looks like they need to be downloaded in order to be viewed.
    Can someone clarify this for me?
    Also - Michael - when you said that If I've already downloaded the film but I'm away from my external HDD I should "Delete the entry from the iTunes library so iTunes only sees the iTunes in the Cloud version", what exactly would this mean? Would this mean that I could then stream the movie from the cloud or would I have to re-download it to my Mac's internal HDD in order to watch it?
    Many thanks!

  • How do I relink my video files when the source files are located in an AVCHD folder structure?

    I am using FCP X 10.1.1 and I was completely done with editing a simple multicam video for a choir track and when I was exporting it it failed. I re-opened FCPX and found that there are several missing files, when I had just been working with them just a second ago! I know about relinking video files, but when I try to locate the source files (knowing where they are), the browser will not let me select ACHD file contents to get at the video files. Also, I cannot open the Library file for my project either.
    Here is a snap shot:

    If it comes down to it, use clip wrap to carve your .mov files out of the SD. I am confused tho - if you were originally able to import all you needed and still have the original media ? Why can't you do it again to add other clips? To "get in" to your Library, control click on it>show paskage... but do NOT MOVE anything only copy.
      Perhaps soeone else can shed light on this?

  • Could not be saved because the source file could not be read.

    I tried to download and after a while, this error message: ''[filename] could not be saved because the source file could not be read.'' I've been on google searching but I could not find the answer can someone PLEASE help me. it happened when downloading a game and I've already seen a few times before but it was less important.
    sorry for the bad english I used a translator.

    This problem isn't only happening with Firefox 4, for windows, as the System Details, and Tags indicate.
    I'm using a Mac laptop (OS X 10.5.8 -- Leopard), using Firefox 6, and have been having this problem with large files for quite a while ... possibly since FF 4, but definitely with FF 5. The large files I've had the problem with are in the 500 - 900 MB range, and from commercial sites as well as most recently with a zip file containing photos from a friend which he uploaded to dl.dropbox.com ... attempted it numerous times, after trying the various suggested "fixes", and each time at around 255 MB, the download quits, with the error that file cannot be read from the server.
    The various proposed solutions I've found on the web -- resetting the user configured options connected to downloads in FF config (about:config); deleting the compreg.dat file in the FF profile folder, don't pause the download (never have done this) etc.
    Others have opined that the problem is flaky intermittent WiFi, or Security/Anti Virus software interfering with FF's accessibility to the file during the download; or a caching problem at one's ISP -- HOWEVER Safari doesn't experience this problem at all. Each time that I've experienced it in FF, I launch Safari, and can download the file completely without any errors.
    Would really like to see someone from Mozilla respond to this ... lots of us are experiencing it.
    Whatever happened to Netscape's ability to recover from download interruptions and resume a download at the point where it had been interrupted (like when a dial up modem dropped the line in the middle of the download) -- sure would be useful to see that feature come back in FF.
    Thanks,
    Muiz

  • I am having trouble dating to version 3.6.14. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    I am having trouble dating to version 3.6.14 or updating to the Beta testing. I am running Linux/Ubutu OS and I get this error message:/tmp/p7x3vko2.part could not be saved, because the source file could not be read. Please help. Thank you , Deb

    Solved for me.
    I set the owner/permissions of my profile's mozilla folder's (and all the files in it) to read/write access, and the problem disappeared.
    in linux:''
    * cd /home/myusername/.mozilla
    * chown -cR myusername:mygroup ./
    * chmod -cR +rw ./
    '''Never do that with root privs (nor with sudo)'''

Maybe you are looking for

  • No photos on icloud! help! lost all baby photos.

    hello, i've been paying £28 a year to icloud for extra storage thinking that i would store my photos as they are precious ones of my babies first year. i managed to lose my phone and wasn't able to recover it so bought a new handset and plugged it in

  • Drag and Drop Movie Clips onto Plugin

    Hi All, We've built a plugin for Adobe Flash CS5.5, with a tree control in the plugin. We wish to be able to drag and drop movie clips from the canvas onto the plugin. Wondering if anyone could point me in the right direction? regards, -amit

  • IDOCS : Use standard FM replacing the custom FM

    Hi friends,                   As a part of redesigning a material interface, I have been assigned a job of replacing the current inbound custom functional module by the standard inbound functional module 'IDOC_INPUT_MATMAS01'. So, the code which was

  • Foreign language spell check in Pages

    With Appleworks I downloaded French and Spanish spell check dictionaries and could switch to them when needed. Can I do anything similar with Pages?

  • Help compiling jar (will pay for help)

    Hello I have all the source code for a project. I need the project compiled. I will any one t o help.