Different encoding platform error

I found a simple problem when stepping through the basic WS tutorial (http://e-docs.bea.com/workshop/docs70/help/index.html).
STEP 4 says "click the start button to build your project ... to display your test
form." Unfortunately I get the error:
"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. This error was reported by the java compiler."
I found no hint concerning encoding in the newsgroups, and I dont's see any way to
configure the java-compiler used by Workshop to pass an encoding flag.
Can you give me a hint?

Hi Stefan,
I could never get the chance to hear back from you regarding this issue. I
was curious to know if you were able to resolve the problem.
Regards,
Anurag
Workshop Support
"Anurag Pareek" <[email protected]> wrote in message
news:[email protected]..
Hi Stefan,
Could you please let me know your source file's encoding and your platform
encoding. You could find your platform's encoding by using the following
utility:
c:\> java utils.getProperty
This utility gives you details about your Java setup and your system.Please
refer to the following documentation for details
http://e-docs.bea.com/wls/docs70//adminguide/utils.html.
Your platform encoding would very likely turn out to be different fromyour
source file's encoding. I would suggest you to specify the
parameter -Dfile.encoding=<source file's encoding> in thestartWebLogic.cmd
script, and restart the server.
Please do let me know how it goes.
Regards,
Anurag
Workshop Support
"Stefan Edlich" <[email protected]> wrote in message
news:3cf35e7c$[email protected]..
I found a simple problem when stepping through the basic WS tutorial
(http://e-docs.bea.com/workshop/docs70/help/index.html).
STEP 4 says "click the start button to build your project ... to displayyour test
form." Unfortunately I get the error:
"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. This error was reported by the java compiler."
I found no hint concerning encoding in the newsgroups, and I dont's seeany way to
configure the java-compiler used by Workshop to pass an encoding flag.
Can you give me a hint?

Similar Messages

  • Adobe Media Encoder Unknown Error

    I'm trying to export an Adobe Premier Pro file on Adobe Media Encoder. Each time I try, it gets about halfway through, then this error message comes up:
    - Source File: /Users/A25/Library/Caches/TemporaryItems/Incubus Trailer Rough Cut.prproj
    - Output File: /Users/A25/Desktop/Odyne Theatrical Trailer.mp4
    - Preset Used: HDTV 1080p 25 High Quality
    - Video: PAL, 1920x1080, 25 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:07:07
    Mon Apr 15 12:48:21 2013 : Encoding Failed
    Error compiling movie.
    Unknown error.
    I've tried different video presets (1440x1080, 1920x1080 etc), but this message has appeard every time. Any ideas how to export it?
    Thanks

    Please read here:
    "Error compiling movie" when rendering or exporting with Premiere Pro CS3, CS4, CS5, CS5.5, CS6
    and here:
    Adobe Forums: FAQ: What information should I provide when asking a question on this forum?
    Jeff

  • Received Platform error, process stuck in Trace?

    On Friday, one of my linux 2.6.11 systems running JRockit triggered a "platform error." After receiving the error, one of the processes is stuck in Trace mode (as reflected by top, ps, etc), which means none of the processes will die using "kill" either (which means the system won't cleanly reboot).
    The error was:
    [JRockit] Platform error is: Cannot allocate memory (12)
    ===================
    JROCKIT FATAL ERROR
    Failure to map memory (mmap) (70)
    ===================
    The process that triggered the failure (from /proc/X/status):
    Name: java
    State: T (stopped)
    SleepAVG: 93%
    Tgid: 25143
    Pid: 25143
    PPid: 25142
    TracerPid: 0
    Uid: 1000 1000 1000 1000
    Gid: 1000 1000 1000 1000
    FDSize: 256
    Groups: 4 10 20 32 101 1000
    VmSize: 2196916 kB
    VmLck: 0 kB
    VmRSS: 2177784 kB
    VmData: 2190740 kB
    VmStk: 84 kB
    VmExe: 56 kB
    VmLib: 5488 kB
    VmPTE: 2156 kB
    Threads: 1
    SigPnd: 0000000000000100
    ShdPnd: 0000000000004101
    SigBlk: 0000000000000000
    SigIgn: 8000000000000000
    SigCgt: 1000004380405a8f
    CapInh: 0000000000000000
    CapPrm: 0000000000000000
    CapEff: 0000000000000000
    Running:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
    BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-linux-ia32, R25.0.0-75, GC: System optimized over throughput (initial strategy singleparpar))
    If I see this again, what's the best way to remedy it?

    When a process dies its parent gets a notification. However, the parent
    must explicitly poll for this notification using wait().
    If a process (JRockit) dies and its parent (whatever) doesn't do wait(),
    the JRockit process will become "zombie". This means that the process
    won't ever do anything else, but it doesn't go away either. It won't go
    away until the parent wait()s for it or the parent dies.
    If by "traced" you mean that JRockit's process state is "T", it means
    somebody (most probably gdb or strace) has called ptrace() on JRockit.
    That turns the ptrace() caller into JRockit's parent. And JRockit won't
    go away until the parent either dies or calls wait().
    So next time (if there is one), try killing JRockit's parent process.
    That said, I have seen cases where zombie processes have init (the first
    process) for parent, and I don't have any explanation for that.
    Also, if JRockit turns the whole system to mush, that's (at least) the
    kernel's fault. The kernel shouldn't let that happen under any
    circumstances, regardless of what JRockit does (either by design or by
    being broken).
    Regards //Johan
    Nicole Pauls wrote:
    It's a custom 2.6.11 kernel, but it is debian (and based on debian kernel sources). Good guess :)
    The "not responding to -9" was definitely weird. I would expect the system to not respond to signals very quickly in a high load situation, but it's strange that after I passed many signals of differing value (ending with 23) that it suddenly died. It had sat for about 12 hours after severla -9s before I got around to passing the sequential signals to it.
    I have seen OutOfMemoryErrors and other inside-the-JVM problems and been able to send -9 signals, so it was definitely related to the state the "Platform Error" put the system in.
    Thanks for your thoughts -- I've asked a few other linux people out there for theirs as well and so far come up with nothing other than "must have been coincidence that it responded to -9 at the same time I was passing other signals" :)
    Also, I am testing and then planning on migrating to 1.5.0_02, but since this is the first time I've seen the issue, I don't expect to see it again. If the system does reproduce the issue in a timely fashion, I'll update the JVM and see if that resolves the strangeness.

  • Trying to purchase trial period in different email address - error message "Error in Your Order The account was registered for a different country. Please sign out and sign in using an existing account for this country. Ok"

    Trying to purchase trial period in different email address - error message "Error in Your Order The account was registered for a different country. Please sign out and sign in using an existing account for this country. Ok"@

    Hi boags2014,
    Please refer this link and know the work-arounds for the same:
    How do I complete a purchase when I get an incorrect "country" error?
    Regards,
    Anubha

  • Encoding sequence error

    Hi Experts,
      We are having a synchronous scenario Websphere to PI. We are getting this error while parsing,
    "Encoding sequence error"
       Some special characters coming into PI box and they are unable to Parse by PI. This message is failing in Message Mapping with this error. The xml is of "UTF-8" codepage only.
    Now we need to get this mapping succesfull with out removing those special characters. Can you please help us in this?
    Thanks,
    Anudeep.

    Hi Raj,
      Websphere team is sending it in UTF-8 format only.

  • "Unsupported platform" error message  while installing J2EE ref impl

    Hi,
    OS of my m/c is windows 2000. I downloaded the windows version of Sun Java System Application Server Platform Edition 8.1 2005Q1. When I tried to install this executable then "Unsupported platform" error messge is reported with a warning that aplication may not behave properly after installation.
    Please suggest the remedy.
    Thanks,
    Hari

    What is the SP level of that system? Installer will issue this message if SP2 or higher is not installed on the Windows 2000 system. So, one way to resolve this is to install current SP.
    As for the remedy, this is just a warning - you can still choose to proceed with installation when this screen shows up and everything is likely to be fine even if you don't update the system.

  • Signal analysing program faces different signal processing errors while the mentioned settings in the error solutions are correct!!

    I am trying to get 4 signals from my bluetooth  which is connected to a sensor. later on I need to analyze the signals for calculating heart beat and blood oxygen saturation. when the labview reads the data it has no errors but anyway the peak detecor doesnt work. my sampling rate is 100. anyway I get different signal processing errors like 20023 and 20037 and 20041, 20015. but when i check the solutions for the errors, they dont help me at all. like error 20023 complains about low and high cut of frequency while mine is set correctly could you please check it for me
    Attachments:
    shift final - Copy.vi ‏458 KB

    Mistaken wiring here- after BD Cleanup (Ctrl-U)
    Error -20037 occurred at an unidentified location
    Possible reason(s):
    Analysis:  The number of data points in the Y value array must be greater than the order value.
    Jeff

  • Separate Sections of a Sequence with different encoding settings

    Hi!
    Is it possible to set different encoding settings for different parts of a Final Cut sequence? If yes, what must I do?
    Take care,
    Christian

    All I want to change is the quality setting of the h.264 codec.
    It's all about the movies you will find at:
    http://www.teachers-corner.org/feeds/TC_RSS.xml
    (beware, large files)
    All these movies start off with an intro, which needs a quality setting of 75% to look good. The rest of the screencast looks good enough with a setting of 50%.
    All other parameters shall remain unchanged.
    Did that help?
    Take care,
    Christian

  • Unknown linux platform error

    I'm creating a DLL on a Red Hat flavor of linux.  However when i'm
    running into the error "Unknown Linux platform" from
    platdefines.h.  I don't know why its throwing this error or idea
    of how to fix this problem.  If anyone could help it will be
    greatly appriciated.

    Hello Mess88,
    I noticed in your first post you mentioned that you are trying to create a
    DLL.  I would assume that you are actually trying to create .so file as
    Linux is unable to handle DLLs.  I noticed that LabVIEW will still have a
    default name of My DLL but it will actually be a .so file.
    After looking through the platdefines.h file I was able
    to determine the section that yields this error:
      #if defined(i386)
            #define ProcessorType   
    kX86
            #define NI_BIG_ENDIAN   
        0
        #elif defined(__alpha)
            #define ProcessorType   
    kDECAlpha
            #define NI_BIG_ENDIAN   
        0
        #elif defined(powerpc)
            #define ProcessorType   
    kPPC
            #define NI_BIG_ENDIAN   
        1
        #elif defined(sparc)
            #define ProcessorType   
    kSparc
            #define NI_BIG_ENDIAN   
        1
        #elif defined(mips)
            #define ProcessorType   
    kMIPS
            #define NI_BIG_ENDIAN   
        1
        #elif defined(arm) || defined(__arm__)
            #define ProcessorType   
    kARM
            #define NI_BIG_ENDIAN   
        0
        #elif defined(__x86_64__)
            #define ProcessorType   
    kX64
            #define NI_BIG_ENDIAN   
        0
        #else
            #error "Unknown Linux platform"
        #endif
    So it looks like it checks to see the type of processor that you have and if
    it is not one of the types listed in the "if else" statements then it
    will eventually get to the "Unknown Linux Platform" error.  Can
    you verify what processor you are using?
    Also, is this the first time that you have tried to implement a solution
    like this before?  Did it ever work in the past or would you get this
    error no matter what you tried to do.  Please just let me know if you have
    any further questions!  I hope this helps!
    Thanks!
    Bob H
    Applications Engineer
    National Instruments

  • (261229964) Q MSGC-7 Can you give an example of chosing different encoding styles?

    Q <MSGC-7> Can you give an example of chosing different encoding styles?
    A <MSGC-7> I will refer you to the online documentation for the encoding information
    at:
    http://e-docs.bea.com/wls/docs61/webServices/develop.html#1036286
    And the JavaDocs for the weblogic.soap.codec.CodecFactory class which describes the
    register method you must use to identify which encoding style you want:
    http://edocs.bea.com/wls/docs61/javadocs/weblogic/soap/codec/SoapEncodingCodec.html

    What is that post supposed to be?

  • Kde/dolphin and thunar - different encoding settings?

    Hi,
    I'm using unison to keep my files synchronized between the different machines I'm working at.
    On all I use thunar except for one on that I'm running kde.
    What I've noticed it that thunar and kde seem to use a different encoding when mounting an usb flashdrive because unison wants to sync files that weren't changed because of umlauts. So for unison they seem to be different because of their name.
    Where's the place to look at for setting up the same encoding  (I assume utf8?) for all systems/DEs?
    Thanks!
    Last edited by Barghest (2010-07-24 08:06:35)

    Yes, it's a FAT filesystem (need it for file exchange with other OS).
    So, one of the bot filmanagers is using utf8 by default? I don't know which one because I see the umlauts with both, only unison says the files are differently named.
    Where can I put the utf8 option in dolphin/thunar? I don't want to use a fstab entry for flash drives.
    As you can see, flash drives aren't my best friends ;b Tried udev rules several time but with no success.

  • Differance bitween Tickets & Errors

    Hi All,
    Can any one tell the differance bitween Tickets & Errors
    Plz reply back me at [email protected]
    Regards,
    Kiran

    Hi Kiran
    <u><b>In support environment</b></u>
    <b><u>
    Tickets :</u></b> If the user face any problems like the duplication in the out put in
    report or any misamatches or errors in totals .Not updating the latest data or what
    ever he will raise a ticket according to the business effect he will make the
    seveirity 1-4 1 is the high priority and 4 is the low priority .
    <u><b>Erros:</b></u> Coming to the errors we can broadly speak this eroors r like
    load monitoring issues as wellas failures .
    <u><b>In Develop ment environt ment</b></u>
    <u><b>Tickets:</b></u> New requirements like report preparations are datatarget
    requirements .
    <u><b>Errors:</b></u> Typically they are like data mis matches when we compare
    with source and bw systems .transportation errors and even routins tooo.
    Regards
    RMK
    ***Assigning pointz is the only way of saying thanx in SDN**

  • MEDIA ENCODER crash error: c:ame820_win\releases\external\adobe\mediacore\mediafoundation\api\  PLEASE HELP

    WORKSTATION HP Z600
    XEON E5645 12GB RAM NVIDIA QUADRO 2000 WIN 8.1 64bit
    BLACKMAGIC DESIGN ULTRASTUDIO SDI
    good morning,
    I have some problems with premiere pro cc 2014 release 2
    the most important is that Media Encoder crashes and the following error:
    c:ame820_win\releases\external\adobe\mediacore\mediafoundation\api\
    The second problem is that when I open the software you group all the windows on one side.
    Does anyone know what I need to do to solve these two problems?
    please help
    Andrea

    I do have a 64 bit OS - Win 7. The RAM does provide a noticable difference in performance - things are much more "snappy" now, which I'm enjoying, but hasn't eliminated my problem.
    The encoder does not stop at the same point, it seems to be quite random. I can view the files that I've exported (up until the point they cut off) and there's nothing going on in the clip that would be any sort of red flag - in other words, it is not stopping the coding at a point where a new color correction or title is being introduced, it had all happened previously. This is my first large project on CS4, and I don't have anything else to export at the moment!
    I'm not running premiere in multi-monitor mode: I've got a 24" widescreen monitor that is my sole monitor.
    I have COMBED the interwebs trying to find a resolution to this issue, and I am no where... I'm currently installing CS4 on a XP machine that I have that is pretty robust, and am going to try encoding on that, just to see if I get a different result.
    Any suggestions at all would be MOST appreciated!
    Thanks!

  • TFS Integration Platform Error while Syncing - Caught and converted, The request was aborted: The request was canceled

    Hello,
    We are doing a 2-way version control sync between TFS 2013 servers. 
    TFS A - Project A is getting synched with TFS B - Project A.
    TFS A - Project A has got all the code and files, whereas TFS B - Project A is empty.
    Previously we have synced TFS 2013 projects across servers with out any error or issues. Today we came across an issue (check log at end of post) and hope Microsoft can
    provide some guidance on this. Following is the problem we are facing today:
    We have configured the TFS Integration platform tool for VC - 2 way sync and started the migration. Current
    status is that the discovery, analysis is complete and migration is half way when I started to get such errors
    (check log at end of post) .
    Note that the migration has not stopped...
    After doing some research and googling I understand that the reason for this error is that by default if
    an individual file transfer cannot complete 16MB in 5 minutes, the operation will fail. And the solution to this is to modify
    chunk size in the file of "TfsMigrationShell.exe.config". I have few questions regarding this...
    Question 1:Is
    above understanding and solution correct? I also notice that this error appears for every huge file (approx >30MB), is there any timeout setting at the target server? Is this something to be changed at the Tool level config or the Target IIS level
    config?
    Question 2: Suppose
    I do not change the config setting, then huge files are skipped due to this error. However, after the migration of the other files is finished, then, will the tool retry to sync the skipped (huge) files? Or has it skipped them forever?
    Question 3:
    Suppose I modify
    chunk size in the file of "TfsMigrationShell.exe.config", then, which of the following do I need to do (give me the best solution among the 3 below)
    a) Do I need
    to restart the migration (by deleting and recreating the project on the 2nd TFS Server and re-starting migration)? 
    b) Do
    I need to create a new configuration and restart migration?
    c) Do I need to restart the sync service?
    The concern here is that we have got 3 more jobs (TFS
    Integration tool configurations) running parallelly that
    is syncing Work Items & VC of other TFS projects and want to make sure that restarting the TFS Integration Job Service will not have any negative impact on the other jobs as well as no negative impact on the current migration job...
    Microsoft, Please advice. Thanks!
    Log:
    [1/21/2015 10:55:39 AM] AsyncUploadFileState.Completed -- caught and converted:
    [1/21/2015 10:55:39 AM] Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: C:\TfsIPData\10\ications\MDM Folder\Binaries\v9.5\DMS Web Service Release 1.5.zip: The request was aborted: The request was canceled. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.IO.IOException: Cannot close stream until all bytes are written.
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.Dispose(Boolean disposing)
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Close()
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Dispose()
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.FileUploader.UploadChunk(FileStream fileContentStream, Int64 end)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.EndUploadFile(IAsyncResult asyncResult, PendingChange& pendingChange, Byte[]& uploadedContentBaselineFileGuid, Int64& uncompressedLength)
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.AsyncUploadFileState.Completed(IAsyncResult asyncResult)

    Hi Charles,
    I have been doing in depth research and testing of this and here are my findings:
    Replies to your points:
    1) It failed with UploadChunkSize value change. Tried 1MB, 500KB, even 100KB. Fails with same error! Is there any other setting we can change for the timeouts at the target TFS server also?
    2) The huge files are not skipped. The migration loops on the failed files and doesn't continue to process the next lot of files. So the migration is blocked on the huge files.
    3) OK. Thanks. 
    Please see below the finding on when migration succeeds and when it fails:-
    Scenario 1:
    a) Where Migration fails:
    TFS A is in India and TFS B is in UK. Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is a firewall that allows the access from TFS A machine to TFS B machine. The migration tool fails to work in this scenario
    when it encounters a file size approx > 8MB. I tried setting the UploadChunkSize value to 100KB. Yet it failed!
    b) Where Migration works:
    However, if the files are approx less than 3MB then the migration works without any errors.
    Scenario 2 where TFS migration tool works:
    TFS A is in India and TFS B is also in India (located closeby). Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is no firewall in this case. No changes were made to UploadChunkSize value and files with size
    of 10's and 100's of MBs got synced without any issue.
    Questions
    Question 1: Can we conclude now that there is some issue with the firewall or network in case of scenario 1? As mentioned above Scenario 1 works if file size is less then approx 3MB.
    Question 2: Is there any timeout setting on the Target TFS server which can be set so that it waits for the file without timing out?
    Thanks for any help...

  • Wrong character encoding in error messages

    The Java compiler can be adjusted to source file encoding with the option javac -encoding ...
    The Java runtime can be adjusted to terminal encoding with java -Dfile.encoding=...
    While this appears somehow inconsistent, it works and can be used e.g. when running the tools from Cygwin (the POSIX layer on Windows) which uses UTF-8 by default, while Java, following the Windows mechanism, uses some other character encoding by default (this works more seemlessly on Unix/Linux, by the way).
    Now if I compile UTF-8 source with non-ASCII characters, and there is an error message related to them, the error message printed to the console will not be UTF-8 encoded, resulting in mangled text output.
    (Arguably, source and terminal encoding could be different, but then there is no option available to the compiler to adjust this;
    it does not accept -Dfile.encoding=....)
    Example: Error message looks like this:
    FM.java:1: error: class, interface, or enum expected
    b▒h
    While the string is actually "bäh" in the source.
    This is a bug. Any proper place to actually report a bug?
    Edited by: 994195 on 15-Mar-2013 09:42

    I'll ignore you just blatantly assuming it is a bug because you say so, you did not think to type "java report bug" into Google?

Maybe you are looking for

  • Kt4v possible problem with bios 1.8 and hd

    Any Idea anyone with this one. system running well till the other day when hd went very slow even after defrag, install bios 1.8 and reset the bios and adjusting it for my setup. Come to check my harddrive with maxtor powerdiag 3.04 and could not fin

  • How to create a table in SAPscript

    Hello, I am quite new at SAPscript, and cannot figure out how to create a table in my main window. I have read this forum post : Script: tabs, boxes, tables but am having problems with the way to fill in tabs, so if someone could help me understand b

  • Adapter engine field blank in RFC Comm channel (Sender)

    Hi Friends, I am not getting any value in drop-down list of adapter engine in RFC adapter sender communication channel.System is allowing me to save the comm channel , system is giving me following error No adapter engine specified I m getting values

  • GW7 in mixed enviroment - NW and SLES

    Hi All, I might be crazy - but I could've sworn that I read that if WebAccess was run on SLES, then all your POAs must run on SLES. Is this the case? -or- am I confusing this with NetStorage? Thanks, Matt

  • Why is the latest ISO7 not holding new notes?

    I have update my iPad and the new operating system is not saving the notes I now wish to add as new, I can update existing notes and they save?