Error parsing French characters

Hi,
I'm trying to parse an xml document containing some French-Canadian characters.
I do set the locale but still get the error message.
Here's a code excerpt:
URL url = conn.getURL();
DOMParser parser = new DOMParser();
parser.setValidationMode(false);
parser.setLocale(Locale.CANADA_FRENCH);
parser.parse(url);
Any ideas?
Thanks.
null

I solved the problem by specifying the character encoding in the source xml filea as follows:
<?xml version="1.0" encoding="ISO-8859-1"?>
null

Similar Messages

  • Parse exception with french characters

    My parsing program throws a SaxParseException upon the parse of some french characters; in particular a "�" character. These characters are enclosed in a CDATA tag, so I'm not sure why its being parsed. My file is encoded in UTF-8. How can resolve this problem? Thanks
    org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
         at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
         at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)

    Your file is not encoded in UTF-8, although the XML
    prolog claims it is.Meaning the sender/creator of the file is at fault?
    If not UTF-8, then probably ISO-8859-1, correct?Most likely the creator of the file is at fault. But it's possible that it has been through some transformation between them and you that rewrote it in a new charset.
    Sure, the real encoding could be ISO-8859-1. Or it could be windows-1252. Other encodings are possible but unlikely, I suppose.

  • Error in parsing special characters

    We are getting the following error when we parse a clob with special characters like \226(- special dash char), \231(the "TM"-Trademark logo), \256(the "R"-Registered logo )
    "Invalid char in text" when the parser is loaded in the db.
    But when we tried to parse this xml file as a file input (parser is now outside the db), it parses the file fine and inserts the data into the db.
    We are wondering if there is a difference in parser parsing special characters between inside and outside the db.
    We are running xml parser version 2.0.2.7 and if this is a bug and being fixed in later version, is there a workaround for this version

    Please try our latest 9.0.1 version

  • Error in displayed french characters

    Hello,
    I'm using a DB 11g configured with NLS_LANG=FRENCH_FRANCE.US7ASCII
    I have a WLS_FORMS server, the .env file has NLS_LANG=FRENCH_FRANCE.US7ASCII
    FMX files are compiled in an environment having NLS_LANG=FRENCH_FRANCE.US7ASCII in its registry.
    When I open the application, all specific characters can't be properly displayed (I have an ugly square instead).
    Where do I miss something ?

    christian erlinger wrote:
    So your french characters are stored in a database with US7ASCII database characterset? Somehow I doubt that. Or did you just set the NLS_LANG environment variable on your database server (which doesn't influence the database characterset at all) to US7ASCII?The database was created with the US7ASCII characterset, so yes the characters are stored with this characterset.
    In any case: US7ASCII is not the correct characterset for you, as it won't allow you to store your french characters. Take a look:
    http://docs.oracle.com/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref1958
    Thanks for the link
    >
    So if you really have US7ASCII as database characterset you'd need to change that to something that fits your needs. The ultimate characterset where you shouldn't have problems storing any characters would be AL32UTF8, and as it is a superset of US7ASCII you should be able to change it with csalter
    cheersSo I have to migrate the DB character set, right ?

  • French characters in run time parameter values doesn't show up in emails

    We have a custom workflow with configurations to send email when a request is assigned to a person and also to send email on request rejections.
    We are encountering following issues with respect to French characters that are available in the message body and message subject.
    Issue 1:Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. Since the message body contains French characters we have used ISO-8859-1 encodings to render the message properly to the user. The message body also has some run time content from the task payload.
    For e.g. &#192; titre de responsable fonctionnel, une demande d''approbation pour un acc&#232;s informatique vous est assign&#233;e.
    Acc&#232;s informatique demand&#233; : <%/task:task/task:payload/ns1:ObjectDetails/ns1:name%>
    In this case all static text values are rendered properly to the end user in his email. However the French characters in run time parameter values doesn't show up properly and has some weird characters.
    Issue 2: Unable to change the default subject shown in the approval task emails i.e. Notifications are configured in Human Task (ApprovalTask.task) when a task is assigned. By default it shows Action Required: Approval. How can this default value be changed?
    Issue 3: We have an Email Activity in Bpel process that follows a task rejection. The emailpayload is ISO-8859-1 encoded and works for the message body. However the email subject shows up with ISO-8859-1 encodings itself and doesn't convert to proper string in the end user's email. Is there any specific setting required for french characters in subject?

    Hi Kulwinder,
    Thanks for your reply.
    In fact I do, I've follewed the "Using SAP HANA Variables with SAP BusinessObjects BI4.0" guide.
    Please note, when I use a fix value to parameter is working fine, for example:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$','20130530'))
    But when I set prompt of the DataFoundation parameter I get and error, this is my sentence:
    SELECT *
    FROM "_SYS_BIC"."prueba-concepto/CV_TEST_VAR_II" ('PLACEHOLDER' = ('$$FECHA$$',@Prompt(FECHA)))
    To me is very curious that I can't enter a value in the DataPreview in Hana Studio, because is not requested, even when the input parameter have been set as mandatory
    Have you idea of what could be happening?

  • Problem with French characters with updateContent

    I have this problem with Spry, (had it also with YUI a few
    months ago) with special french characters
    (éèçàù). I use encoding UTF-8, but
    iso-8859-1 isn't working either. I put some examples here:
    http://www.eventsonholiday.com/test_loadurl.asp
    As long as it is static content, no problem. But when I get
    content from a recordset from an Access database: trouble.
    In IE7 the french characters are even worse, and I get the
    error: null is empty or not an object

    I think I found a solution. I found a few resources on the
    internet that said: xmlhttprequest always sends data as utf-8 by
    default. So when all the other pages use iso-8859-1, there's a
    problem. It can be solved this way: when retrieving recordset
    fields from ASP I use
    HTMLEncoding like this:
    <%=Server.HTMLEncode(RSevents.Fields.Item("event_location").Value)%>.
    I have to do this for each field in the page, what means some extra
    work.
    For PHP it should be done with
    htmlentities
    If anyone has a solution without using the Server.HTMLEncode
    method, tell me...

  • Error parsing report

    Hi all,
    I'm having trouble getting the Ant task working in Linux.   The swf runs, but there seems to be an issue communicating back the test results.  I pasted a full dump of the ant output below.  I've tried it in both Fedora 8 and OpenSUSE 11.2, and with both the FlexUnit4SampleCIProject and my own project.   I also tried the updated .jar and .swc mentioned in this post.  I'm using Ant directly without Hudson or anything.
    I'm also having a hard time running headlessly, but I'm assuming that's a separate issue.
    Any help would be greatly appreciated.
    - Shane
    shane@linux-idnf:~/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject> ant clean package
    Unable to locate tools.jar. Expected to find it in /usr/lib/jvm32/jre1.6.0_18/lib/tools.jar
    Buildfile: build.xml
    clean:
       [delete] Deleting directory /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target
    init:
        [mkdir] Created dir: /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target
        [mkdir] Created dir: /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/bin
        [mkdir] Created dir: /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/report
        [mkdir] Created dir: /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/dist
    compile:
        [mxmlc] Loading configuration file /usr/lib/flex_sdk/frameworks/flex-config.xml
        [mxmlc] /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/bin/Main.s wf (326989 bytes)
    test:
        [mxmlc] Loading configuration file /usr/lib/flex_sdk/frameworks/flex-config.xml
        [mxmlc] /home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/bin/TestRu nner.swf (852432 bytes)
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings:
    [flexunit] haltonfailure: [false]
    [flexunit] headless: [false]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] port: [1024]
    [flexunit] swf: [/home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/bin/TestR unner.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [/home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/report]
    [flexunit] verbose: [true]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] OS: [Linux]
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Launching player:
    [flexunit] Executing 'gflashplayer' with arguments:
    [flexunit] '/home/shane/Download/flexunit-flexunit-91fcfdd/FlexUnit4SampleCIProject/target/bin/TestR unner.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Client connected.
    [flexunit] Setting inbound buffer size to [262144] bytes.
    [flexunit] Receiving data ...
    [flexunit] Sending acknowledgement to player to start sending test data ...
    [flexunit]
    [flexunit] <testcase classname="org.flexunit.demo::EchoPanelTest" name="testEventWasNotDispatchedWithoutClick" time="0" status="success" />
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Error parsing report.
    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: Error parsing report.
    at org.flexunit.ant.FlexUnitSocketThread.parseReport(Unknown Source)
    at org.flexunit.ant.FlexUnitSocketThread.processTestReport(Unknown Source)
    at org.flexunit.ant.FlexUnitSocketThread.parseInboundMessages(Unknown Source)
    at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: org.dom4j.DocumentException: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory Nested exception: org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory
    at org.dom4j.io.SAXReader.read(SAXReader.java:484)
    at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:278)
    ... 9 more
    Total time: 15 seconds

    @legrosb Only one line shows up in flashlog.txt:
    <testcase classname="org.flexunit.demo::EchoPanelTest" name="testEventWasNotDispatchedWithoutClick" time="0" status="success" />
    I'm sure I made some changes to the sample project yesterday, so I set up a fresh copy just now (which didn't help).
    I do have an Ubuntu box handy if you think it'd be worth a try there.  Headless on the Fedora box is the ultimate goal, though.
    I'm using the flash player 10 standalone debugger (I tried the standalone standard player, too).  I do have all the dependencies listed for Flash Player 10 on the page you linked.
    When I try running headlessly, the ant task hangs for a while and then quits with the message "Socket timeout waiting for flexunit report" (Ant dump below).  As far as I can tell, the flash player is never actually being launched.  No flashlog.txt is generated, and I don't see gflashplayer show up in "top".  I tried attaching vncviewer to :99, but it goes up and down so quickly it's hard to attach and see what's going on.
    I'm not seeing any gtk errors in the Ant output. Is there a log file I should be looking at?
    Interesting.  If start a build of the sample project, then open up a separate terminal, set DISPLAY=:99, and run gflashplayer within the second or so that the vnc server is actually running, I get:
    shane@linux-idnf:~/Download/flexunit-clean/FlexUnit4SampleCIProject> gflashplayer
    WARNING: environment variable G_FILENAME_ENCODING set and it is not UTF-8
    Xlib:  extension "RANDR" missing on display ":99.0".
    gflashplayer: Fatal IO error 11 (Resource temporarily unavailable) on X server :99.0.
    Segmentation fault
    The Fedora box is a headless server, but I installed X Windows and vnc-server on it for this.  The OpenSUSE box is a normal desktop machine.
    "Were you using Xvnc, xvfb, or the built in support for the Ant task?"
    I'm not sure.  I set headless="true" in the <flexunit /> task, which causes it to call vncserver (which calls Xvnc, I think?).
    Aha.  I found a workaround.  I set headless="false" in the build.xml, and before calling ant, I ran:
    $ vncserver :150
    $ DISPLAY=:150
    And everything works beautifully (until it gets to the other error, that is).
    Another issue I ran into that others might want to watch out for is if your vnc server is using twm, twm might be configured to wait for the user specify the window position with the mouse, which means flash will never launch on a headless server.  The fix is to add the line "RandomPlacement" to your ~/.twmrc, or specify a different window manager in ~/.vnc/xstartup.
    - Shane
    ####Broken headless Ant dump#####
    shane@linux-idnf:~/Download/flexunit-clean/FlexUnit4SampleCIProject> ant clean package
    Unable to locate tools.jar. Expected to find it in /usr/lib/jvm32/jre1.6.0_18/lib/tools.jar
    Buildfile: build.xml
    clean:
      [delete] Deleting directory /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target
    init:
        [mkdir] Created dir: /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target
        [mkdir] Created dir: /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/bin
        [mkdir] Created dir: /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/report
        [mkdir] Created dir: /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/dist
    compile:
        [mxmlc] Loading configuration file /usr/lib/flex_sdk/frameworks/flex-config.xml
        [mxmlc] /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/bin/Main.swf (326985 bytes)
    test:
        [mxmlc] Loading configuration file /usr/lib/flex_sdk/frameworks/flex-config.xml
        [mxmlc] /home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/bin/TestRunner.swf (852432 bytes)
    [flexunit] Validating task attributes ...
    [flexunit] OS: [Linux]
    [flexunit] Generating default values ...
    [flexunit] Using the following settings:
    [flexunit] haltonfailure: [false]
    [flexunit] headless: [true]
    [flexunit] display: [99]
    [flexunit] localTrusted: [true]
    [flexunit] player: [flash]
    [flexunit] port: [1024]
    [flexunit] swf: [/home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/bin/TestRunner.swf]
    [flexunit] timeout: [60000ms]
    [flexunit] toDir: [/home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/report]
    [flexunit] verbose: [true]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] OS: [Linux]
    [flexunit] Starting xvnc
    [flexunit] Attempting start on :99 ...
    [flexunit] Launching player:
    [flexunit] Executing 'gflashplayer' with arguments:
    [flexunit] '/home/shane/Download/flexunit-clean/FlexUnit4SampleCIProject/target/bin/TestRunner.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit] Terminating xvnc on :99
    <<<Hangs here for about a minute>>>
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    BUILD FAILED
    java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
    at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
    at java.util.concurrent.FutureTask.get(Unknown Source)
    at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:357)
    at org.apache.tools.ant.Target.performTasks(Target.java:385)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    at org.apache.tools.ant.Main.runBuild(Main.java:758)
    at org.apache.tools.ant.Main.startAnt(Main.java:217)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
    Caused by: Socket timeout waiting for flexunit report
    at org.flexunit.ant.FlexUnitSocketServer.start(Unknown Source)
    at org.flexunit.ant.FlexUnitSocketThread.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.SocketTimeoutException: Accept timed out
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(Unknown Source)
    at java.net.ServerSocket.implAccept(Unknown Source)
    at java.net.ServerSocket.accept(Unknown Source)
    at org.flexunit.ant.FlexUnitSocketServer.openClientSocket(Unknown Source)
    ... 7 more
    Total time: 1 minute 13 seconds

  • Error parsing xml licence file

    I just get a weblogic server 4.5.1 evaluation version CD. I get this errorweblogic.common.LicenseCorruptException: Error parsing XML license file. [java.util.EmptyStackException        at java.util.Stack.peek(Stack.java:70)        at weblogic.xml.license.Handler.characters(Handler.java:63)        at weblogic.xml.license.BaseParser.sendCharacters(BaseParser.java:120)        at weblogic.xml.license.BaseParser.eatComment(Compiled Code)        at weblogic.xml.license.WEBLOGICLICENSESParser.parse(Compiled Code)        at weblogic.xml.license.BaseParser.parse(Compiled Code)        at weblogic.common.internal.LicenseInfo.loadXML(Compiled Code)        at weblogic.common.internal.ServerUtil.initLogging(Compiled Code)        at weblogic.common.internal.ServerUtil.initLogging(ServerUtil.java:82)        at weblogic.common.internal.ServerUtil.<clinit>(ServerUtil.java:75)        at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:851)        at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:790)        at weblogic.Server.startServerDynamically(Server.java:87)        at weblogic.Server.main(Server.java:61)        at weblogic.NTServiceHelper.run(NTServiceHelper.java:19)        at java.lang.Thread.run(Thread.java:466)]I also have installed the jdk1.3can anyone tell me the cause ? thanks a lot !

    Is there anybody can help. It is urgent. I need to setup the development server ASAP.

  • Error parsing XML license file

    i need assistance while installing WebLogic 5.1 Evaluation version on my NT Server and i also registered and downloaded the key for that but still my server is not functioning as it gives me a license file error in java.....
    The error is as follows....
    *****Start********
    weblogic.common.LicenseCorruptException: Error parsing XML license file. [java.util.EmptyStackException
    at java.util.Stack.peek(Stack.java, Compiled Code)
    at java.lang.Exception.<init>(Exception.java, Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java, Compiled Code)
    at java.util.EmptyStackException.<init>(EmptyStackException.java, Compiled Code)
    at java.util.Stack.peek(Stack.java, Compiled Code)
    at weblogic.xml.license.Handler.characters(Handler.java:63)
    at weblogic.xml.license.BaseParser.sendCharacters(BaseParser.java:120)
    at weblogic.xml.license.BaseParser.eatComment(BaseParser.java, Compiled Code)
    at weblogic.xml.license.WEBLOGICLICENSESParser.parse(WEBLOGICLICENSESParser.java, Compiled Code)
    at weblogic.xml.license.BaseParser.parse(BaseParser.java, Compiled Code)
    at weblogic.common.internal.LicenseInfo.loadXML(LicenseInfo.java, Compiled Code)
    at weblogic.common.internal.ServerUtil.initLogging(ServerUtil.java, Compiled Code)
    at weblogic.common.internal.ServerUtil.initLogging(ServerUtil.java:82)
    at weblogic.common.internal.ServerUtil.<clinit>(ServerUtil.java:75)
    at weblogic.t3.srvr.T3Srvr.checkAccess(T3Srvr.java:883)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:822)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    *****End******
    The License file i downloaded was from the website as i was told to do so...
    I would really appreaciate your help in the above error to solve my problem as i am trying to learn weblogic and am stuck at the very bigenning..
    Thanx a lot...

    If you can, upgrade your jdbcKona/MSSQLserver4 driver to
    at least version 4.5.1.2.
    Branka Billante wrote:
    >
    I am trying to debug my code in VisualCafe and I get the following
    error:
    java.sql.SQLException: java.sql.SQLException: License Problem:
    The following applies to holders of standard BEA/WebXpress licenses:
    weblogic.d.h: Error parsing XML license file. [java.lang.Exception:
    java.lang.ClassCastException: weblogic.xml.license.WEBLOGICLICENSES
    at weblogic.i.g.a(Unknown Source)
    at weblogic.i.b.i(Unknown Source)
    I am running the exect code in a non-debug enviroment and it works
    fine. Does anybody know what the problem could be?
    Thanks,
    Branka Billante
    Moai Technologies, Inc.--
    Chuck Karish BEA Systems
    [email protected] San Francisco, CA
    (415) 317-0182 (cell) (415) 402-7692

  • French characters and CFXML

    Hello people, I'm having a problem and I'm not sure what I'm
    doing wrong.
    I have created a CMS for a kindergarten in Montreal. They
    speak French.
    In this CMS they can create new photo galleries and upload
    their photos.
    In order to do this, I have a form that creates the gallery
    and write it into a mySQL database. Then, once all the images for
    this gallery have been uploaded, an XML file is created, which will
    feed a flash gallery.
    The problem occurs when the name of the gallery they enter
    has special French characters. It is being written properly to the
    DB, but at the time the CFXML creates the XML code or at the time
    cffile writes the xml file itself, those characters get corrupted.
    I'm attaching the code that queries the DB and creates the
    XML code and file.
    Any hint will be appreciated.
    Thanks a lot.

    Hi Dani,
    I was also facing one issue with forming an xml using cfxml tag. There is a sybmol yen ¥ (start of a LIN tag in below example) which is there in the xml and when i try to dump the xml variable it shows one more character Latin capital letter A (Â) automaticall added in the variable and my request to the webservice fails due to the same reason.
    <cfxml variable="request1">
            <?xml version="1.0" encoding="ISO-8859-1"?>       
            <peticion>
                <nombre>Request</nombre>
                    <observaciones>2 CONNECTING ROOMS </observaciones>
                    <num_expediente>522687</num_expediente>
                    <forma_pago>25</forma_pago>
                    <telefono/>
                    <res>                   
                        <lin>2¥#1#SS#84.87#0#HB#OK#20120713#20120714#EU#1-2#D01#</lin>
                    </res>
                </parametros>
            </peticion>
        </cfxml>
    Cfdump or xml parse will add one more character (Â) to the xml string. 
    Your comments/answers are welcome.

  • Shell Script -french characters are converting to junk in PLSQL

    Hi All,
    I have plsql package. I have included few french word in it for validation purpose.
    When i compile this package from SQL Developr it is compiling properly.
    but when i run shell script from putty and try to comppile this package the package is errorring out.
    The reason for error out is it is converting few french characters into some junk characters. is there any setting for this.?
    Thanks
    Bharat

    Bharat wrote:
    Hi All,
    I have plsql package. I have included few french word in it for validation purpose.
    When i compile this package from SQL Developr it is compiling properly.
    but when i run shell script from putty and try to comppile this package the package is errorring out.
    The reason for error out is it is converting few french characters into some junk characters. is there any setting for this.?
    Thanks
    BharatYour problems are in the are called globalization ( was called NLS)
    This can cause many problems, and is it extremely common for systems/applications/databases not be set up properly.
    Your script in SQLDeveloper is probably being held in the UTF8 characterset .... though I emphasize probably, and your file is probably saved as such.
    The oracle database, in whatever characterset that is in, let us call it CHARSET-DB, has however probably determined your sqlplus client is running a different characterset CHARSET-CLI and will perform a conversion from CHARSET-CLI to CHARSET-DB.
    Obviously if the Oracle Database has been led to falsely identify CHARSET-CLI then unwanted conversions can take place, however usually most (all?) charactersets are the same for most/all of 7-bit ASCII characters, so it is only things outside this that get affected. e.g. £, é, ó and lots of others.
    From a linux viewpoint the locale command and "LC*" variables may exert influence. However from an Oracle Client perspective the NLS_LANG variable is more effective.
    I suspect setting your NLS_LANG to UTF8 (e.g. NLS_LANG=AMERICAN_AMERICA.UTF8 ) and locale to US.UTF-8 or similar is likely to solve your issue.
    See below for a good document from OTN and a more specialist forum for this problem ( though there are some you use this forum who may be able to help you as well)
    http://www.oracle.com/technetwork/database/globalization/nls-lang-099431.html
    {forum:id=50}

  • 8859-1  PDF does not show french characters.

    Hi All,
    I am stuck in this issue for 2 days now and finally i decided to post it here.
    I have created a custom oracle report(10G) with BI to open in PDF. The XML prolog Value is defined as <?xml version="1.0" encoding="iso-8859-15"?>
    Now when i run the report in R12 the pdf file shows junk character for french characters(É shown as "%o"). These characters are displayed properly if i look at the XML file. When we run that output from the server we get the weird characters but if we take the same output (XML) file and run it locally using desktop publisher the PDF document shows the French characters
    I check the nls_characterset and it is defined as AL32UTF8(which supports french)
    I read some articles they advise to copy fonts from *$FND_TOP/resource* to *$OA_JRE_TOP* and *$AF_JRE_TOP(lib/fonts)* , but it does no work.
    Also, one of the article says to add files in $JAVA_HOME. But i was not able to find JAVA_HOME and the dba says we have $JAVA_TOP and we are not suppose to change anything here.
    we are using EBS R12.1.3
    oracle reports : 10.1.2.0.2
    Any help on this will be appreciated.
    Regards,
    K

    I believe your only option is to setup Pasta
    How to Setup Pasta Quickly and Effectively [ID 356501.1]
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    HTH
    Srini

  • Need some help with DNG and error parsing the files

    Ok, so I found out that I can't open NEF files with CS2 from my Nikon D3100 - unless I upgrade to CS6, or use the DNG converter.  I did download the DNG converter that came with the Camera RAW 3.7 (for CS2) in one of Adobe's links, but when I try to convert the NEF files, the DNG converter says "There is an error parsing the file".   If it helps, I have Windows 7.  Is there a different version of the DNG converter I should be using?  Thanks!

    A simple Google search will find it.  For some reason it isn't on the Adobe website.  If you upgrade to CS6 you'll find much improvement in your raw conversions.
    http://blogs.adobe.com/lightroomjournal/2012/12/camera-raw-7-3-and-dng-converter-7-3-now-a vailable.html

  • Error parsing recording file

    Hi,
    I am trying to open JRockit recorded xml file with JRA tool. Getting message ' Error parsing recording file'.
    Thanks
    ranga

    For older versions of JRockit, you had to use exactly the same version of JRockit when you created the recording as when you opened it.
    With more recent versions (R26.0 and later iirc) it is sufficient if the JRA reader version is >= the version of JRockit producing the recording. Or in other words, make sure you are running the latest version of JRockit on your developer workstation.
    -- Henrik

  • Error parsing PLV file

    I get an error message attempting to use the 'Plan Visualizer'. I posted a question on this subject already and got the feedback from one of SAP's own HANA gurus that it probably is due to a bug ( Error parsing PLV file  ).
    Since I have not seen anybody else raising the same issue and there are others (my assumption) using the same set-up as I am (HANA SP8 on BW740 SP8) I suppose that it is very possible that it is not a real bug (since IF it indeed is a bug, others must have had the same problem).
    Is there anyway to get a confirmation if this is a bug (requiring a fix by e.g. OSS) or a problem specific to my installation/set-up/configuration that I might be able to fix (myself or with help).
    As you can imagine I am keen on solving this since it is quite a handicap to not be able to analyze the performance in the system.
    Thanks.

    For older versions of JRockit, you had to use exactly the same version of JRockit when you created the recording as when you opened it.
    With more recent versions (R26.0 and later iirc) it is sufficient if the JRA reader version is >= the version of JRockit producing the recording. Or in other words, make sure you are running the latest version of JRockit on your developer workstation.
    -- Henrik

Maybe you are looking for